.elementor-kit-7{--e-global-color-primary:#F5C10F;--e-global-color-secondary:#F7F3EC;--e-global-color-text:#1E2B3C;--e-global-color-accent:#1E2B3C;--e-global-color-9b35395:#FFFFFF;--e-global-color-f442c5c:#E3983D;--e-global-color-062a48b:#7A8C5E;--e-global-color-c33c86a:#E87A48;--e-global-color-519bf8e:#6AACB8;--e-global-color-831dfa2:#9474B4;--e-global-color-efa2920:#FF9898;--e-global-typography-0d263b9-font-family:"Klavika Web Basic";--e-global-typography-0d263b9-font-weight:700;--e-global-typography-0d263b9-text-transform:uppercase;--e-global-typography-85e7829-font-family:"Source Serif 4";--e-global-typography-85e7829-font-size:18px;--e-global-typography-85e7829-font-weight:700;--e-global-typography-85e7829-text-transform:uppercase;color:var( --e-global-color-text );font-family:"Source Serif 4", Sans-serif;font-size:18px;font-weight:400;}.elementor-kit-7 e-page-transition{background-color:#FFBC7D;}.elementor-kit-7 a{color:var( --e-global-color-text );font-family:"Source Serif 4", Sans-serif;font-size:18px;font-weight:700;}.elementor-kit-7 a:hover{color:var( --e-global-color-text );font-weight:700;}.elementor-kit-7 h1{color:var( --e-global-color-text );font-family:"Klavika Web Basic", Sans-serif;font-size:48px;font-weight:700;text-transform:uppercase;}.elementor-kit-7 h2{color:var( --e-global-color-text );font-family:"Klavika Web Basic", Sans-serif;font-size:32px;font-weight:700;text-transform:uppercase;}.elementor-kit-7 h3{color:var( --e-global-color-text );font-family:"Source Serif 4", Sans-serif;font-size:28px;}.elementor-kit-7 input:not([type="button"]):not([type="submit"]),.elementor-kit-7 textarea,.elementor-kit-7 .elementor-field-textual{color:var( --e-global-color-text );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1200px;}.e-con{--container-max-width:1200px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-kit-7{--e-global-typography-primary-font-size:36px;--e-global-typography-secondary-font-size:26px;--e-global-typography-accent-font-size:24px;}.elementor-kit-7 h1{font-size:36px;}.elementor-kit-7 h2{font-size:26px;}.elementor-kit-7 h3{font-size:24px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-7{--e-global-typography-primary-font-size:28px;--e-global-typography-secondary-font-size:22px;--e-global-typography-text-font-size:18px;--e-global-typography-accent-font-size:22px;--e-global-typography-0d263b9-font-size:14px;}.elementor-kit-7 h2{font-size:22px;}.elementor-kit-7 h3{font-size:22px;}}/* Start custom CSS *//* ============================================================
   FAN DE CHENIN — CSS global du site
   Elementor &gt; Réglages du site &gt; CSS personnalisé
   Mise à jour : 09/09/2026
   ============================================================ */


/* ============================================================
   1. LISTES
   ============================================================ */

ul,
ol {
  margin-bottom: 20px;
}


/* ============================================================
   2. CHAPEAU DE SECTION
   Classe fdc-chapeau, à poser sur les widgets Éditeur de texte
   placés sous un H1 ou un H2.
   ============================================================ */

.fdc-chapeau {
  font-style: italic;
  font-size: 19px;
  line-height: 1.6;
  color: #1E2B3C;
}


/* ============================================================
   3. TABLEAUX ÉDITORIAUX
   Chaque <td> doit porter data-label="",
   sinon les cartes mobiles s'affichent sans libellé.
   ============================================================ */

.fdc-table-wrap {
  margin: 24px 0;
}

.fdc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.5;
}

.fdc-table th,
.fdc-table td {
  padding: 14px 16px;
  border: 1px solid rgba(30, 43, 60, .15);
  vertical-align: top;
  text-align: left;
}

.fdc-table thead th {
  background: #F5C10F;
  color: #1E2B3C;
  font-weight: 700;
}

.fdc-table tbody th {
  background: #F7F3EC;
  font-weight: 700;
  color: #1E2B3C;
}

.fdc-table tbody td {
  background: #FFFFFF;
  color: #1E2B3C;
}

/* Neutralise le survol et le zébrage du thème */
.fdc-table tr:hover,
.fdc-table tr:hover th,
.fdc-table tr:hover td,
.fdc-table tbody tr:nth-child(odd) th,
.fdc-table tbody tr:nth-child(odd) td,
.fdc-table tbody tr:nth-child(even) th,
.fdc-table tbody tr:nth-child(even) td {
  background-color: inherit;
}

.fdc-table thead th,
.fdc-table thead tr:hover th {
  background-color: #F5C10F !important;
}

.fdc-table tbody th,
.fdc-table tbody tr:hover th {
  background-color: #F7F3EC !important;
}

.fdc-table tbody td,
.fdc-table tbody tr:hover td {
  background-color: #FFFFFF !important;
}

/* --- Tableaux en cartes empilées sous 768 px --- */
@media (max-width: 768px) {

  .fdc-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .fdc-table,
  .fdc-table tbody,
  .fdc-table tr,
  .fdc-table th,
  .fdc-table td {
    display: block;
    width: 100%;
  }

  .fdc-table tr {
    border: 1px solid rgba(30, 43, 60, .15);
    margin-bottom: 16px;
  }

  .fdc-table tbody th,
  .fdc-table tbody tr:hover th {
    background-color: #F5C10F !important;
    color: #1E2B3C;
    border: 0;
    border-bottom: 1px solid rgba(30, 43, 60, .15);
  }

  .fdc-table tbody td,
  .fdc-table tbody tr:hover td {
    background-color: #FFFFFF !important;
    border: 0;
    border-bottom: 1px solid rgba(30, 43, 60, .10);
  }

  .fdc-table tr td:last-child {
    border-bottom: 0;
  }

  .fdc-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #1E2B3C;
    opacity: .6;
    margin-bottom: 4px;
  }
}

/* ============================================================
   4. GRILLE DE FICHES D'APPELLATION
   Classes fdc-grille et fdc-carte, posées sur un widget HTML.
   Trois colonnes en desktop, deux en tablette, une en mobile.
   La variante fdc-carte--igp distingue l'IGP des AOC.
   Ajout : 14/10/2026, pour la page Chenins de Loire et d'ailleurs.
   ============================================================ */

.fdc-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 10px 0 30px;
}

.fdc-carte {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(30, 43, 60, 0.12);
  text-decoration: none;
  color: #1E2B3C;
  transition: transform .18s ease, box-shadow .18s ease;
}

.fdc-carte:hover,
.fdc-carte:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(30, 43, 60, 0.22);
}

.fdc-carte img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.fdc-carte-corps {
  display: block;
  padding: 16px 18px 20px;
  border-top: 4px solid #F5C10F;
}

.fdc-carte-nom {
  display: block;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 6px;
}

.fdc-carte-ligne {
  display: block;
  font-style: italic;
  font-size: 15px;
  line-height: 1.4;
  opacity: .75;
}

/* L'IGP : fond crème et filet sombre, pour la distinguer des AOC au premier
   coup d'œil sans sortir des quatre couleurs de la charte. */
.fdc-carte--igp {
  background: #F7F3EC;
}

.fdc-carte--igp .fdc-carte-corps {
  border-top-color: #1E2B3C;
}

@media (max-width: 1024px) {
  .fdc-grille { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 600px) {
  .fdc-grille { grid-template-columns: 1fr; }
}


/* ============================================================
   5. LIENS DANS LE TEXTE
   Les liens sont en gras et dans la couleur du texte (réglages du
   site) : sans soulignement, on ne les distingue pas d'un mot en gras.
   On souligne donc les liens des widgets Éditeur de texte et des
   tableaux fdc-table, et eux seuls : le menu, les boutons et les
   cartes ne sont pas concernés.
   Ajout : 26/11/2026.
   ============================================================ */

.elementor-widget-text-editor a:not(.elementor-button):not(.button),
.fdc-table a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.elementor-widget-text-editor a:not(.elementor-button):not(.button):hover,
.elementor-widget-text-editor a:not(.elementor-button):not(.button):focus-visible,
.fdc-table a:hover,
.fdc-table a:focus-visible {
  text-decoration-color: #F5C10F;
  text-decoration-thickness: 3px;
}

/* ============================================================
   6. RYTHME VERTICAL DES PAGES
   56 px en haut et en bas de chaque section (40 px sur
   smartphone), et 80 px sous la dernière (56 px sur smartphone),
   avant le pied de page. Le héros, première section, n'est pas
   concerné. La section du fil d'Ariane le garde près du héros, et
   ce qui suit le fil d'Ariane s'en écarte.
   Pages seulement : ni articles, ni fiches produits.
   Un espace réglé à la main dans Elementor reste prioritaire.
   Ajout : 27/11/2026, demande de Sophie (recette). Valeurs
   ramenées de 80 à 56 px le même jour, à la demande de Francis.
   ============================================================ */

:where([data-elementor-type="wp-page"]) .e-parent:where(:not(:first-child)) {
  --padding-top: 56px;
  --padding-bottom: 56px;
}

:where([data-elementor-type="wp-page"]) .e-parent:where(:not(:first-child):last-child) {
  --padding-bottom: 80px;
}

:where([data-elementor-type="wp-page"]) .e-parent:where(:has(.elementor-widget-woocommerce-breadcrumb)) {
  --padding-top: 24px;
}

:where([data-elementor-type="wp-page"]) .elementor-widget-woocommerce-breadcrumb + .elementor-element {
  margin-top: 40px;
}

@media (max-width: 767px) {
  :where([data-elementor-type="wp-page"]) .e-parent:where(:not(:first-child)) {
    --padding-top: 40px;
    --padding-bottom: 40px;
  }

  :where([data-elementor-type="wp-page"]) .e-parent:where(:not(:first-child):last-child) {
    --padding-bottom: 56px;
  }

  :where([data-elementor-type="wp-page"]) .e-parent:where(:has(.elementor-widget-woocommerce-breadcrumb)) {
    --padding-top: 16px;
  }

  :where([data-elementor-type="wp-page"]) .elementor-widget-woocommerce-breadcrumb + .elementor-element {
    margin-top: 32px;
  }
}

/* ============================================================
   7. ESPACE AVANT LES TITRES DANS UNE SECTION
   Un H2 ou un H3 qui suit un texte, un tableau, un bouton ou un bloc à
   l'intérieur d'une section prend 24 px de plus (16 px sur
   smartphone), en plus de l'écart habituel de 20 px. Les titres
   en haut de section relèvent de la section 6 ; les titres des
   cartes, sous une image, ne bougent pas.
   Pages seulement : ni articles, ni fiches produits.
   Ajout : 28/11/2026, demande de Sophie (recette : Fan Zones,
   Accords mets et vins, Le Collectif, À Table, Recettes). Titre après un
   bouton ajouté le même jour (Accords mets et vins).
   ============================================================ */

:where([data-elementor-type="wp-page"]) :is(.elementor-widget-text-editor, .elementor-widget-html, .elementor-widget-shortcode, .elementor-widget-button, .e-child) + .elementor-widget-heading:where(:has(h2, h3)) {
  margin-top: 24px;
}

@media (max-width: 767px) {
  :where([data-elementor-type="wp-page"]) :is(.elementor-widget-text-editor, .elementor-widget-html, .elementor-widget-shortcode, .elementor-widget-button, .e-child) + .elementor-widget-heading:where(:has(h2, h3)) {
    margin-top: 16px;
  }
}


/* Fenêtres sur téléphone et tablette : toujours fixées à l'écran (y compris connecté), titre et croix visibles, contenu qui défile (29/11/2026). */
@media (max-width: 1024px) {
  body .elementor-popup-modal.dialog-type-lightbox { position: fixed !important; top: 0 !important; height: 100% !important; height: 100dvh !important; align-items: flex-start !important; }
  .elementor-popup-modal .dialog-widget-content { margin-top: 12px !important; max-height: calc(100dvh - 24px) !important; }
  .elementor-popup-modal .dialog-message { max-height: calc(100dvh - 24px) !important; overflow-y: auto !important; }
}/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'Klavika Web Basic';
	font-style: normal;
	font-weight: 700;
	font-display: auto;
	src: url('https://fandechenin.com/wp-content/uploads/2026/04/KlavikaWebBasicBold.woff2') format('woff2'),
		url('https://fandechenin.com/wp-content/uploads/2026/04/KlavikaWebBasicBold.woff') format('woff');
}
/* End Custom Fonts CSS */