/* Anihra content pages: front form contract and page extras, split out of
   commerce.css to restore its 500-line cap. Enqueued immediately after
   commerce.css on the same unconditional condition, so the cascade matches
   the single-file order except where noted below. */
/* Content pages: front form contract (mirrors the search input), how-it-works
   steps, about journey strip. dash-form lives in dashboard.css, which inner
   pages never load. */
.front-form { display: grid; gap: 12px; align-content: start; }
.front-form label { font-weight: 700; font-size: 14px; color: var(--charcoal); }
.front-form input,
.front-form select,
.front-form textarea {
    min-height: 50px;
    border-radius: var(--r-sm);
    border: 1.5px solid var(--line);
    background: var(--white);
    color: var(--charcoal);
    font: 500 16px var(--f-body);
    padding: 10px 16px;
    width: 100%;
}
.front-form textarea { min-height: 120px; resize: vertical; }
.front-form :is(input, select, textarea):focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--tint-gold); }
.front-form .btn { justify-self: start; }
.front-step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.front-step-list li {
    counter-increment: step;
    display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start;
    color: var(--muted); font-size: 15.5px; line-height: 1.6;
}
.front-step-list li::before {
    content: counter(step);
    display: grid; place-items: center;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--tint-gold); color: var(--gold-ink-deep);
    font: 800 15px var(--f-body);
}
.centre-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.journey-grid { grid-template-columns: repeat(3, 1fr); }

/* pages.css loads after commerce.css, so the .journey-grid base rule above
   would out-rank commerce.css's 900px single-column collapse; re-state the
   collapse here to keep the computed behaviour identical to the pre-split
   single-file order. */
@media (max-width: 900px) {
    .journey-grid { grid-template-columns: 1fr; }
}

/* 404 site search: mirrors the .front-form input contract above, tokens only. */
.notfound-search { display: grid; gap: 12px; max-width: 420px; }
.notfound-search input {
    min-height: 50px;
    border-radius: var(--r-sm);
    border: 1.5px solid var(--line);
    background: var(--white);
    color: var(--charcoal);
    font: 500 16px var(--f-body);
    padding: 10px 16px;
    width: 100%;
}
.notfound-search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--tint-gold); }
.notfound-search .btn { justify-self: start; }

/* FAQ band view-all link: lift the hit area to the 48px tap-target gate. */
.page-faq .faq-more a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
}

/* Quiz listing: one card per product-linked quiz, above the inline engine. */
.quiz-list { margin-block: clamp(28px, 3vw, 44px) clamp(8px, 1vw, 16px); }
.quiz-list-head { display: grid; gap: 6px; max-width: 62ch; }
.quiz-list-head .kicker { color: var(--gold-ink-deep); }
.quiz-page .quiz-list-head h2 {
    margin: 0;
    font: 600 clamp(1.5rem, 1.25rem + 1vw, 2rem)/1.15 var(--f-display);
    color: var(--pine-deep);
    letter-spacing: -.01em;
}
.quiz-list-head p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.quiz-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: clamp(16px, 1.2vw, 22px);
    margin-block: clamp(18px, 2vw, 28px) 0;
}
.quiz-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 61, 34, .08);
}
.quiz-card-media { background: var(--cream); line-height: 0; }
.quiz-card-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.quiz-card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: clamp(16px, 1.4vw, 22px); }
.quiz-card-kicker {
    font: 800 11px/1.3 var(--f-body);
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold-ink-deep);
}
.quiz-page .quiz-card h2 {
    margin: 0;
    font: 600 1.3rem/1.25 var(--f-display);
    color: var(--pine-deep);
    letter-spacing: -.01em;
}
.quiz-card-product { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--pine); }
.quiz-card-product span { color: var(--muted); font-weight: 500; }
.quiz-card-copy { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.quiz-card-actions { margin-top: auto; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 6px; }
.quiz-card-link { font-size: 14px; font-weight: 600; text-underline-offset: 3px; }
.quiz-card .btn { min-height: 48px; display: inline-flex; align-items: center; }
.quiz-page .qcontext { margin: 0 0 2px; font-size: 13.5px; font-weight: 700; color: var(--gold-ink-deep); }
.quiz-page .qcontext[hidden] { display: none; }

/* Blog cards + inner-page heads (migrated from the retired legacy base
   stylesheet, retokenized to the storefront palette). */
.page-head h1 { font-size: clamp(2.375rem, 1.9rem + 2.2vw, 3.5rem); margin-block-end: .5rem; }
.page-body { max-width: 64ch; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: clamp(16px, 0.9rem + 0.5vw, 20px); }
.post-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 61, 34, .08);
}
.post-card-thumb img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.post-card-body { padding: clamp(16px, 0.9rem + 0.5vw, 20px); }
.post-card-title a { text-decoration: none; }
.post-card-meta { font-size: 14px; color: var(--muted); }

/* Contact page: the Elementor document lays out a details card beside the
   enquiry form; the shortcode form keeps the same field contract as the
   theme template, so only the notice and fine print need page-level styles. */
.anihra-contact-page .anh-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(24px, 4vw, 44px);
    align-items: start;
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
}
.anihra-contact-page .anh-contact-grid > * { min-width: 0; }
.anihra-contact-page .anh-contact-details,
.anihra-contact-page .anh-contact-form-card { padding: clamp(22px, 3vw, 32px); }
@media (max-width: 900px) {
    .anihra-contact-page .anh-contact-grid { grid-template-columns: 1fr; }
}
.anihra-contact-form .dash-notice {
    margin: 0 0 14px;
    padding: 12px 16px;
    border-radius: var(--r-sm);
    font-size: 14px;
    font-weight: 600;
}
.anihra-contact-form .dash-notice-success { background: #e7f4ea; color: #1f5130; }
.anihra-contact-form .dash-notice-error { background: #fdecec; color: #7a1f1f; }
.anihra-contact-form .anihra-contact-fineprint {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}
