/* ==========================================================================
   Block-editor pages. The section patterns use core blocks (group, heading, paragraph,
   image, list, buttons) wearing the theme's own classes; these rules map the few places
   where the block's HTML tag differs from the hand-coded layout. Loaded on the site and
   in the editor.
   ========================================================================== */

/* ---- Buttons: the class sits on the block wrapper, the link carries the look ---- */
.wp-block-buttons { margin: 0; }
.wp-block-buttons.btn-row, .wp-block-buttons.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }
.hero__ctas.wp-block-buttons { margin-top: 1.6rem; }
.section-head--split > .wp-block-buttons, .cta-band > .wp-block-buttons, .find__copy > .wp-block-buttons { margin-top: 0; }
.find__copy > .wp-block-buttons { margin-top: 1.2rem; }
.wp-block-button.btn { display: contents; }
.wp-block-button.btn > .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--font-display), sans-serif; font-weight: 700; font-size: 0.95rem; line-height: 1.3;
  width: auto; padding: 0.85em 1.5em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.wp-block-button.btn > .wp-block-button__link:hover { transform: translateY(-1px); }
.wp-block-button.btn--gold > .wp-block-button__link { background: var(--gold); color: var(--brown); }
.wp-block-button.btn--gold > .wp-block-button__link:hover { background: var(--gold-2); color: var(--brown); }
.wp-block-button.btn--dark > .wp-block-button__link { background: var(--brown); color: var(--white); }
.wp-block-button.btn--dark > .wp-block-button__link:hover { background: var(--brown-2); color: var(--white); }
.wp-block-button.btn--outline > .wp-block-button__link { background: transparent; border-color: var(--brown); color: var(--brown); }
.wp-block-button.btn--outline > .wp-block-button__link:hover { background: var(--brown); color: var(--white); }
.wp-block-button.btn--outline-light > .wp-block-button__link { background: transparent; border-color: rgba(255, 255, 255, 0.85); color: var(--white); }
.wp-block-button.btn--outline-light > .wp-block-button__link:hover { background: var(--white); color: var(--brown); }

/* ---- Images in frames ---- */
.hero__photo figure, .hero__seal figure, .page-hero__img figure, .split__img figure, .feature__media figure { margin: 0; }
.hero__photo img, .page-hero__img img, .split__img img, .feature__media img { display: block; }

/* ---- Hero ---- */
.hero h1 strong { color: var(--gold); font-weight: inherit; }

/* ---- Stats ---- */
.stats__grid > p { margin: 0; font-size: 0.95rem; }

/* ---- Section head split ---- */
.section-head--split > .wp-block-group { max-width: 680px; }
.section-head p.muted:last-child { margin-bottom: 0; }

/* ---- Cards with a leading emoji ---- */
.value p.value__icon { font-size: 1.4rem; margin: 0 0 14px; color: inherit; }
.value > p:last-child { margin: 0; }

/* ---- Where to find us list (a core list in place of ul/li + span) ---- */
.find__list li { color: var(--gold-2); font-size: 0.88rem; }
.find__list strong { font-size: 1rem; }

/* ---- Timeline (dot drawn in CSS) ---- */
.timeline > .wp-block-group { position: relative; }
.timeline > .wp-block-group::before {
  content: ''; display: block; width: 22px; height: 22px; border-radius: 50%;
  border: 4px solid var(--gold); background: var(--cream-2); margin-bottom: 14px; position: relative;
}
.timeline p.timeline__step { font-size: 1.4rem; color: var(--gold-deep); margin: 0; }
.link-arrow a, a.link-arrow { color: inherit; text-decoration: none; }
.link-arrow a:hover { color: var(--gold-deep); }

/* ---- Reviews ---- */
.review p.stars { margin: 0; }
.review p.review__text { margin: 10px 0 14px; font-size: 0.95rem; color: var(--ink); }
.review p.review__name { margin: auto 0 0; font-family: var(--font-display), sans-serif; font-weight: 700; color: var(--brown); font-size: 0.9rem; }

/* ---- Our story ---- */
.care > p { background: var(--honey); border-radius: var(--radius); padding: 16px; text-align: center; font-size: 1.6rem; margin: 0; }
.diff > .wp-block-group { position: relative; background: var(--white); border-radius: var(--radius); padding: 20px 20px 20px 56px; border: 1px solid var(--line); }
.diff > .wp-block-group::before {
  content: '✓'; position: absolute; left: 20px; top: 22px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); color: var(--brown); font-size: 0.72rem; font-weight: 800; display: grid; place-items: center;
}
.diff p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.diff strong { display: block; font-family: var(--font-display), sans-serif; color: var(--brown); }
.promise > p.eyebrow:first-of-type { font-size: 0.78rem; font-weight: 700; color: var(--gold-2); max-width: none; line-height: inherit; }
.promise > p.eyebrow + p { font-family: var(--font-display), sans-serif; font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 700; color: var(--white); line-height: 1.4; max-width: 900px; }

/* ---- Find us ---- */
.market-card p.market-card__icon { margin: 0; }
.partners-head { margin-top: 3.5rem; }
.store p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.store strong { display: block; font-family: var(--font-display), sans-serif; color: var(--brown); margin-bottom: 4px; }
.store p.store__link { margin-top: 10px; font-size: 0.88rem; }
.store p.store__link a { font-family: var(--font-display), sans-serif; font-weight: 700; color: var(--brown); text-decoration: none; }
.store p.store__link a:hover { color: var(--gold-deep); }

/* ---- Contact ---- */
.contact-card p { margin: 0; }
.contact-card p.contact-card__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); }
.contact-card p.contact-card__value { margin: 4px 0 0; font-weight: 600; color: var(--brown); overflow-wrap: anywhere; }
.contact-card p.contact-card__value a { color: var(--brown); }
.split__img--sm figure { margin: 0; }

@media (max-width: 640px) {
  .hero__ctas .wp-block-button.btn > a, .page-hero .btn-row .wp-block-button.btn > a, .cta-band .wp-block-button.btn > a { flex: 1 1 100%; width: 100%; }
}

/* The <br> after a bold lead-in is only there so the pair stays one editable paragraph; the bold text is already a block. */
.stats__grid br, .find__list br, .diff br, .store p br:first-of-type, .care br { display: none; }
