.wp-block-jetpack-slideshow {
	max-height: 400px;
}

.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container,
.wp-block-jetpack-slideshow .swiper-container {
	height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wp-block-jetpack-slideshow img {
	max-height: 200px;
	width: 100%;
	object-fit: cover;
	object-position: center;
	margin: 0 auto;
	display: block;
}

.wp-block-jetpack-slideshow .swiper-button-prev,
.wp-block-jetpack-slideshow .swiper-button-next {
	top: 50%;
	transform: translateY(-50%);
	margin-top: 0;
}

header .wp-block-icon {
	margin-left: -10px;
}

/* Effet de grossissement au survol - Menu de navigation */
.wp-block-navigation a {
	transition: transform .2s ease;
	display: inline-block;
}

.wp-block-navigation a:hover {
	transform: scale(1.08);
}

/* Effet de grossissement au survol - Icône panier du menu */
header .wp-block-icon {
	transition: transform .2s ease;
}

header .wp-block-icon:hover {
	transform: scale(1.15);
}

/* Effet de grossissement au survol - Images de la boutique / mises en avant */
.wp-block-image img,
.wp-block-columns .wp-block-image {
	transition: transform .3s ease;
	cursor: pointer;
}

.wp-block-image img:hover,
.wp-block-columns .wp-block-image:hover {
	transform: scale(1.05);
}

/* Effet de grossissement au survol - Boutons */
.wp-block-button__link {
	transition: transform .2s ease;
}

.wp-block-button__link:hover {
	transform: scale(1.05);
}

/* Header sticky (reste en haut au scroll) */
header,
.wp-block-template-part[data-type="wp_template_part"][data-slug="header"],
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background-color: white;
	transition: all .3s ease;
}

/* Réduire la largeur du bloc Instagram */
.wp-block-jetpack-instagram-gallery {
	max-width: 1000px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Tenter de limiter la hauteur des images (si ça passe l'iframe) */
.wp-block-jetpack-instagram-gallery img {
	max-height: 400px !important;
	object-fit: cover !important;
	object-position: top center !important;
}
/* ===== BOUTON FAQ FLOTTANT ===== */
#faq-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #203A6A;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 15px 25px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(32, 58, 106, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#faq-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(32, 58, 106, 0.4);
}

#faq-toggle .faq-icon {
  background: white;
  color: #203A6A;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
}

/* ===== POPUP FAQ ===== */
#faq-popup {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 380px;
  max-width: calc(100vw - 60px);
  max-height: 70vh;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#faq-popup.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Header de la popup */
.faq-header {
  background: #203A6A;
  color: white;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.faq-close {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.faq-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Contenu scrollable */
.faq-content {
  padding: 20px 25px;
  overflow-y: auto;
  flex: 1;
}

/* Chaque question en accordéon */
.faq-content details {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E5E9F0;
}

.faq-content details:last-child {
  border-bottom: none;
}

.faq-content summary {
  cursor: pointer;
  font-weight: 700;
  color: #203A6A;
  font-size: 14px;
  padding: 5px 0;
  list-style: none;
  position: relative;
  padding-right: 25px;
  transition: color 0.2s ease;
}

.faq-content summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 5px;
  font-size: 20px;
  color: #203A6A;
  transition: transform 0.2s ease;
}

.faq-content details[open] summary::after {
  transform: rotate(45deg);
}

.faq-content summary:hover {
  color: #2E5A9C;
}

.faq-content details p {
  margin: 10px 0 0 0;
  font-size: 13px;
  color: #5F6B7A;
  line-height: 1.6;
}

.faq-content a {
  color: #203A6A;
  font-weight: 700;
  text-decoration: underline;
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 500px) {
  #faq-toggle {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    font-size: 13px;
  }
  
  #faq-popup {
    bottom: 85px;
    right: 20px;
    left: 20px;
    width: auto;
    max-height: 75vh;
  }
}
/* ===== BANDEAU DE DON ===== */
.bandeau-don {
  display: block;
  background: #203A6A;
  color: white !important;
  text-decoration: none !important;
  padding: 12px 20px;
  font-family: 'Open Sans', sans-serif;
  transition: background 0.2s ease;
}

.bandeau-don:hover {
  background: #2E5A9C;
}

.bandeau-don-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.bandeau-don-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.bandeau-don-text {
  font-size: 14px;
  color: white;
  text-align: center;
}

.bandeau-don-text strong {
  font-weight: 700;
}

.bandeau-don-cta {
  background: white;
  color: #203A6A !important;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.bandeau-don:hover .bandeau-don-cta {
  transform: scale(1.05);
}

/* Responsive mobile */
@media (max-width: 768px) {
  .bandeau-don {
    padding: 10px 15px;
  }
  
  .bandeau-don-content {
    gap: 10px;
  }
  
  .bandeau-don-text {
    font-size: 12px;
  }
  
  .bandeau-don-cta {
    font-size: 11px;
    padding: 5px 12px;
  }
}

/* Cacher les colonnes lundi à vendredi */
th.simcal-week-day-1, th.simcal-week-day-2, th.simcal-week-day-3, th.simcal-week-day-4, th.simcal-week-day-5,
table tr td:nth-child(1), table tr td:nth-child(2), table tr td:nth-child(3), table tr td:nth-child(4), table tr td:nth-child(5) {
    display: none !important;
}

.simcal-calendar,
.simcal-calendar table,
.simcal-default-calendar,
.simcal-default-calendar table,
div[id^="simcal-events-calendar"],
div[id^="simcal-events-calendar"] table {
    width: 100% !important;
    max-width: none !important;
}

.simcal-calendar td, .simcal-calendar th {
    width: 50% !important;
}

th.simcal-week-day {
    font-size: 0 !important;
}
th.simcal-week-day::after {
    content: attr(data-screen-large);
    font-size: 16px;
    text-transform: capitalize;
    color: #ffffff;
    font-weight: 600;
}

.simcal-events-dots {
    display: none !important;
}
ul.simcal-events {
    display: block !important;
}

table th, table td {
    border-color: #203A6A !important;
}
table th {
    background-color: #203A6A !important;
}

.simcal-calendar-nav,
.simcal-calendar-nav * {
    color: #ffffff !important;
}
/* Forcer TOUT le texte de la barre de navigation en blanc, quel que soit le sélecteur exact */
div:has(> button.simcal-nav-prev),
div:has(> a.simcal-nav-prev) {
    color: #ffffff !important;
}

/* Solution plus large : cible tout texte dans la zone bleue du haut */
.simcal-calendar-nav, .simcal-calendar-nav *,
.simcal-nav, .simcal-nav * {
    color: #ffffff !important;
}
table.simcal-calendar-grid {
    width: 100% !important;
}

table.simcal-calendar-grid td,
table.simcal-calendar-grid th {
    width: 50% !important;
}
*:has(> .simcal-calendar) {
    max-width: 100% !important;
    width: 100% !important;
}
*:has(> *:has(> .simcal-calendar)) {
    max-width: 100% !important;
}