/* Éclair Affaire — additive AEO / definition / FAQ components.
   Self-contained (brand hex values, no Tailwind utility dependency) so it never relies on
   the verbatim compiled main.css class coverage. Enqueued AFTER main.css. Additive only —
   never overrides the verbatim design. Brand: teal #3AACA0, plum #5B1F4D/#2D0B3F,
   cream #FAF6EE, gold #C8982E. Headings inherit the theme serif (Georgia) stack. */

/* mobile menu toggle (owned by theme; main.css may not include a `hidden` utility) */
.eclair-hidden { display: none !important; }

/* ---- Tailwind-utility coverage patch ----
   These utilities are used by the NEW page templates (hero/cards/404/blog) but were NOT in
   the verbatim compiled main.css (the original JSX never used them). Exact Tailwind values,
   so typed templates render identically. (Coverage scan 2026-06-26.) */
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-5xl { max-width: 64rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-12 { margin-top: 3rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.-m-8 { margin: -2rem; }
.flex-wrap { flex-wrap: wrap; }
.tracking-\[0\.25em\] { letter-spacing: 0.25em; }
@media (min-width: 1024px) { .lg\:text-5xl { font-size: 3rem; line-height: 1; } }

/* ---- AEO "Quick Answer" block (renders directly below the H1) ---- */
.aeo-answer-block {
  background: #FAF6EE;
  border-left: 4px solid #3AACA0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(45, 11, 63, 0.06);
}
.aeo-answer-block .aeo-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #23786E;
  background: #DAF2EF;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}
.aeo-answer-block p {
  margin: 0;
  color: #3E1255;
  font-size: 1.05rem;
  line-height: 1.65;
}

/* ---- Page food photography — arched teal frame (brand teal #3AACA0) ---- */
.eclair-figure { margin: 2rem auto; max-width: 540px; }
.eclair-figure img,
.eclair-img {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid #3AACA0;
  border-radius: 9999px 9999px 14px 14px;   /* arched top, lightly rounded base */
  box-shadow: 0 12px 32px rgba(45, 11, 63, 0.16);
  background: #fff;
}
.eclair-figure--sm { max-width: 240px; }     /* small decorative (e.g. blog empty state) */

/* ---- Blog placeholder cards (arched thumb + teal category badge + Coming Soon) ---- */
.eclair-card-img { margin-bottom: 0.9rem; }
.eclair-card-img img {
  display: block; width: 100%; height: 200px; object-fit: cover;
  border: 3px solid #3AACA0;
  border-radius: 9999px 9999px 14px 14px;    /* arched top, matches content photo frame */
  background: #fff;
}
.eclair-cat-badge {
  display: inline-block; align-self: flex-start;
  background: #3AACA0; color: #fff;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.25rem 0.7rem; border-radius: 999px;
}
.eclair-coming-soon {
  display: inline-block; align-self: flex-start; margin-top: 0.85rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: #23786E; background: #EEF9F8; border: 1px dashed #BEEAE6;
  padding: 0.25rem 0.7rem; border-radius: 6px;
}

/* ---- Page hero / nav visual separation (FIX3) ---- */
.eclair-pagehero {
  background: #3E1255;                        /* plum-800: lighter than the plum-900 sticky nav */
  border-top: 3px solid #3AACA0;             /* teal rule clearly divides nav from page title */
  padding: 3rem 0;
}

/* ---- Definition block (service pages: "What is choux pastry?" etc.) ---- */
.eclair-definition {
  background: #fff;
  border: 1px solid #F3EAD8;
  border-top: 3px solid #C8982E;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 2px;
}
.eclair-definition .eclair-def-term {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.15rem;
  color: #5B1F4D;
  margin: 0 0 0.4rem;
}
.eclair-definition .eclair-def-body { margin: 0; color: #3E1255; line-height: 1.65; }

/* ---- On-page FAQ section ---- */
.eclair-faq {
  border-bottom: 1px solid #F3EAD8;
  padding: 1.1rem 0;
}
.eclair-faq-q {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.15rem;
  color: #5B1F4D;
  margin: 0 0 0.5rem;
}
.eclair-faq-a p { margin: 0; color: #195A52; }

/* ---- Quotable statement (extractable standalone line) ---- */
.eclair-quotable {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #195A52;
  border-left: 3px solid #C8982E;
  padding-left: 1rem;
  margin: 1.75rem 0;
  font-style: italic;
}

/* ---- Stat-with-context chips ---- */
.eclair-stat {
  display: inline-block;
  background: #EEF9F8;
  color: #0F3D38;
  border: 1px solid #BEEAE6;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  margin: 0.25rem 0.35rem 0.25rem 0;
}
/* visible at-a-glance stat strip (rendered as <data> elements) */
.eclair-stats { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1rem 0 1.75rem; }
.eclair-stats .eclair-stat { margin: 0; font-weight: 600; }

/* Sources & Further Reading (outbound authoritative citations) */
.eclair-sources { margin: 1.5rem auto 0; }
.eclair-sources h2 { margin-bottom: 0.5rem; }
.eclair-sources ul { list-style: disc; margin: 0 0 0 1.25rem; }
.eclair-sources a { color: #23786E; text-decoration: underline; }

/* ---- Contact form (placeholder, action="#", not yet wired) ---- */
.eclair-form { margin-top: 2rem; max-width: 36rem; display: flex; flex-direction: column; gap: 1rem; }
.eclair-form label { display: block; font-size: 0.85rem; color: #5B1F4D; margin-bottom: 0.3rem; }
.eclair-form input, .eclair-form textarea {
  width: 100%; border: 1px solid #3AACA0; background: #ffffff; padding: 12px 16px;
  color: #2D0B3F; font-size: 16px; border-radius: 4px;
}
.eclair-form input:focus, .eclair-form textarea:focus { outline: none; border-color: #5B1F4D; box-shadow: 0 0 0 2px rgba(58,172,160,0.2); }
.eclair-form .eclair-form-note { font-size: 0.8rem; color: #195A52; margin: 0; }

/* ---- Contact Form 7 field styling (for when a real CF7 form is wired; matches the brand) ---- */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #3AACA0;
    border-radius: 4px;
    background: #ffffff;
    color: #2D0B3F;
    font-size: 16px;
    margin-bottom: 16px;
    display: block;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #5B1F4D;
    box-shadow: 0 0 0 2px rgba(58,172,160,0.2);
}

.wpcf7-submit {
    background: #3AACA0;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

/* ---- Default WP editor content rhythm inside page templates ---- */
.eclair-content h2 { font-family: Georgia, serif; color: #2D0B3F; font-size: 1.9rem; line-height: 1.25; margin: 2.25rem 0 0.75rem; }
.eclair-content h3 { font-family: Georgia, serif; color: #5B1F4D; font-size: 1.35rem; margin: 1.75rem 0 0.5rem; }
.eclair-content p { color: #3E1255; line-height: 1.75; margin: 0 0 1rem; font-size: 1.05rem; }
.eclair-content ul, .eclair-content ol { margin: 0 0 1.25rem 1.25rem; color: #3E1255; line-height: 1.7; }
.eclair-content li { margin: 0 0 0.4rem; }
.eclair-content a { color: #23786E; text-decoration: underline; }
.eclair-content a:hover { color: #2D9688; }
