/* ==========================================================================
   Akiraa Derma – inner pages (loaded on every page except the home page)
   Builds on the tokens and components in app.css.
   ========================================================================== */

/* ---------- Page hero (shared by inner pages) ---------- */
.page-hero {
    background:
        radial-gradient(45% 90% at 92% 10%, rgba(217, 181, 142, .55), transparent 70%),
        radial-gradient(35% 80% at 0% 100%, rgba(228, 199, 160, .45), transparent 70%),
        radial-gradient(25% 60% at 55% 120%, rgba(185, 141, 99, .18), transparent 70%),
        linear-gradient(120deg, #fbf4ea 0%, #f5e6d0 55%, #f0dcc0 100%);
    padding: clamp(28px, 4vw, 48px) 0;
}

.page-hero h1 {
    font-size: clamp(2.8rem, 6vw, 5.2rem);
}

.page-hero .hero__tag {
    margin-top: 20px;
}

.page-hero__lead {
    font-size: 1.05rem;
    padding-left: 28px;
    border-left: 1px solid var(--gold-500);
}

.page-hero__lead strong {
    color: var(--green-800);
    font-weight: 400;
}

.page-hero__ring {
    position: absolute;
    right: -180px;
    top: -240px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(185, 141, 99, .35);
    box-shadow: 0 0 0 60px rgba(185, 141, 99, .07), 0 0 0 120px rgba(185, 141, 99, .04);
    pointer-events: none;
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: clamp(18px, 2.5vw, 28px);
    font-size: .72rem;
    font-weight: 400;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--green-800);
}

.crumbs a {
    transition: color .3s;
}

.crumbs a:hover {
    color: var(--gold-600);
}

.crumbs [aria-current] {
    color: var(--green-800);
    font-weight: 600;
}

/* ---------- Contact cards (overlap the hero) ---------- */
.contact-cards {
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding-top: clamp(28px, 4vw, 48px);
}

.contact-card {
    padding: 38px 30px 34px;
    box-shadow: 0 30px 50px -36px rgba(1, 42, 31, .35);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-card .w-card__ico {
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
}

.contact-card h3 {
    font-size: 1.65rem;
    margin-bottom: 10px;
}

.contact-card__val {
    font-family: var(--serif);
    font-size: 1.28rem;
    line-height: 1.4;
    color: var(--green-800);
    word-break: break-word;
}

.contact-card__val a {
    transition: color .3s;
}

.contact-card__val a:hover {
    color: var(--gold-600);
}

.contact-card__note {
    margin-top: 12px;
    font-size: .92rem;
    line-height: 1.6;
}

.contact-card .link {
    margin-top: auto;
    padding-top: 16px;
    font-size: .72rem;
}

/* ---------- Consultation section ---------- */
.contact-main {
    padding-top: clamp(70px, 8vw, 110px);
}

.contact-intro {
    position: sticky;
    top: calc(var(--header-h) + 30px);
}

.contact-intro>p:not(.eyebrow) {
    margin-top: 22px;
    font-size: 1.05rem;
}

.contact-steps {
    display: grid;
    gap: 14px;
    margin-top: 36px;
}

.contact-steps .step {
    padding: 22px 26px;
}

.contact-steps .step span {
    font-size: 2.3rem;
}

.contact-steps .step p {
    font-size: 1.3rem;
}

.contact-intro .contact-intro__call {
    margin-top: 28px;
    font-size: .98rem;
}

.contact-intro__call a {
    color: var(--green-800);
    font-weight: 500;
    border-bottom: 1px solid var(--gold-500);
    transition: color .3s;
}

.contact-intro__call a:hover {
    color: var(--gold-600);
}

/* ---------- Form card ---------- */
.form-card {
    position: relative;
    overflow: hidden;
    padding: clamp(30px, 4.5vw, 56px);
    background: var(--cream);
    border: 1px solid var(--silver);
    border-radius: 8px;
}

.form-card::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-300), var(--gold-600));
}

.form-card h3 {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
}

.form-card__sub {
    margin: 8px 0 30px;
    font-size: .92rem;
}

/* ---------- Form fields (floating labels) ---------- */
.form-field {
    position: relative;
    margin-bottom: 20px;
}

.form-field input,
.form-field select,
.form-field textarea {
    display: block;
    width: 100%;
    padding: 26px 18px 10px;
    font: inherit;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--silver);
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .3s, box-shadow .3s;
}

.form-field textarea {
    min-height: 130px;
    resize: vertical;
}

.form-field select {
    padding-right: 46px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b98d63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}

.form-field label {
    position: absolute;
    left: 19px;
    top: 18px;
    right: 40px;
    font-size: .98rem;
    color: var(--ink-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    transition: top .25s var(--ease), font-size .25s var(--ease), letter-spacing .25s, color .25s;
}

.form-field input:focus+label,
.form-field input:not(:placeholder-shown)+label,
.form-field textarea:focus+label,
.form-field textarea:not(:placeholder-shown)+label,
.form-field select:focus+label,
.form-field.is-filled label {
    top: 8px;
    font-size: .66rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold-600);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 4px rgba(217, 181, 142, .18);
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
    border-color: #b4533c;
}

.form-error {
    display: block;
    margin-top: 6px;
    font-size: .82rem;
    line-height: 1.4;
    color: #a2432f;
}

.form-consent {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
    margin: 6px 0 30px;
    font-size: .9rem;
    line-height: 1.55;
    cursor: pointer;
}

.form-consent span {
    flex: 1;
}

.form-consent .form-error {
    flex-basis: 100%;
    margin: 0 0 0 32px;
}

.form-consent input {
    flex: none;
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    border: 1px solid var(--gold-600);
    border-radius: 3px;
    background: #fff;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: background-color .25s, border-color .25s;
}

.form-consent input:checked {
    background: var(--green-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23f0dcc0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
    border-color: var(--green-800);
}

.form-consent input:focus-visible {
    outline: 2px solid var(--gold-500);
    outline-offset: 2px;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 26px;
}

.form-actions .btn {
    cursor: pointer;
}

.form-actions .btn:disabled {
    opacity: .7;
    cursor: wait;
    transform: none;
}

.form-actions small {
    font-size: .88rem;
}

/* honeypot */
.form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- Visit / map ---------- */
.contact-visit {
    background: var(--cream);
}

.contact-visit h2 {
    margin-bottom: 26px;
}

.contact-visit address {
    margin-bottom: 18px;
    font-size: 1.08rem;
    line-height: 1.7;
}

.contact-visit address strong {
    color: var(--green-800);
    font-weight: 500;
}

.contact-visit__btns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
    margin-top: 34px;
}

.contact-map {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: var(--silver);
    border: 1px solid var(--silver);
    border-radius: 8px;
    box-shadow: 0 40px 60px -40px rgba(1, 42, 31, .45);
}

.contact-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(.3);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .page-hero__lead {
        padding-left: 0;
        border-left: 0;
    }

    .contact-intro {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .contact-cards {
        margin-top: 0;
    }

    .page-hero__ring {
        width: 380px;
        height: 380px;
        right: -200px;
        top: -160px;
    }

    .contact-map {
        aspect-ratio: 4 / 5;
    }

    .contact-card {
        padding: 28px 24px 26px;
    }

    .contact-card .w-card__ico {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }
}

/* ==========================================================================
   About page
   ========================================================================== */

/* ---------- Story ---------- */
.about-media {
    position: relative;
    padding: 0 12% 12% 0;
}

.about-media__main img,
.about-media__small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-media__main {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 6px;
}

.about-media__small {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 46%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 8px solid var(--ivory);
    border-radius: 6px;
    box-shadow: 0 30px 50px -30px rgba(1, 42, 31, .5);
}

.about-media__tag {
    position: absolute;
    left: 24px;
    top: 24px;
    padding: 12px 20px;
    background: var(--green-800);
    color: var(--gold-300);
    border-radius: 4px;
    font-size: .7rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    box-shadow: 0 20px 40px -20px rgba(1, 42, 31, .6);
}

.about-story__body h2 {
    margin-bottom: 26px;
}

.about-story__body p:not(.eyebrow)+p {
    margin-top: 16px;
}

.about-story__body strong,
.doctor__body strong {
    color: var(--green-800);
    font-weight: 500;
}

/* ---------- Doctor focus areas ---------- */
.about-focus {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 36px;
}

.about-focus li {
    padding: 9px 18px;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: var(--cream);
    font-size: .8rem;
    letter-spacing: .06em;
    color: var(--green-800);
}

.doctor__body p:not(.eyebrow):not(.roles)+p {
    margin-top: 16px;
}

/* ---------- Why (dark) ---------- */
.about-why {
    background: var(--green-900);
    color: rgba(246, 235, 220, .78);
    overflow: hidden;
}

.about-why h2 {
    color: #fff;
}

.about-why h2 em {
    color: var(--gold-400);
}

.about-why__intro {
    position: sticky;
    top: calc(var(--header-h) + 30px);
}

.about-why__row {
    display: grid;
    grid-template-columns: 70px 1fr;
    column-gap: 20px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line-light);
}

.about-why__row:first-child {
    border-top: 1px solid var(--line-light);
}

.about-why__row span {
    grid-row: span 2;
    font-family: var(--serif);
    font-size: 2.4rem;
    font-style: italic;
    line-height: 1;
    color: var(--gold-500);
}

.about-why__row h3 {
    color: var(--gold-300);
    font-size: clamp(1.6rem, 2.4vw, 2rem);
    margin-bottom: 8px;
}

.about-why__row p {
    font-size: 1rem;
}

/* ---------- Approach ---------- */
.about-approach {
    background: var(--cream);
}

.a-step {
    position: relative;
    height: 100%;
    padding: 40px 32px 36px;
    background: #fff;
    border: 1px solid var(--silver);
    border-radius: 4px;
    overflow: hidden;
    transition: transform .5s var(--ease), box-shadow .5s;
}

.a-step::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--gold-300), var(--gold-600));
    transition: width .7s var(--ease);
}

.a-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 34px 50px -30px rgba(1, 42, 31, .4);
}

.a-step:hover::after {
    width: 100%;
}

.a-step__no {
    display: block;
    margin-bottom: 22px;
    font-family: var(--serif);
    font-size: 3rem;
    font-style: italic;
    line-height: 1;
    color: var(--gold-600);
}

.a-step h3 {
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.a-step p {
    font-size: .98rem;
}

@media (max-width: 991.98px) {
    .about-why__intro {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .about-why__row {
        grid-template-columns: 52px 1fr;
        column-gap: 14px;
    }

    .about-why__row span {
        font-size: 2rem;
    }
}

/* Rich text from ACF editors */
.about-rich p+p {
    margin-top: 16px;
}

.about-rich+.about-rich,
.about-rich+.about-focus {
    margin-top: 16px;
}

/* ==========================================================================
   FAQ page (reuses the home FAQ section + accordion)
   ========================================================================== */
.faq-page {
    padding-top: clamp(70px, 8vw, 110px);
}

.faq-page .faq__intro {
    position: sticky;
    top: calc(var(--header-h) + 30px);
}

.faq-page .faq__intro h2 {
    margin-bottom: 22px;
}

.faq-page__text {
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.faq-page__call {
    margin-top: 24px;
    font-size: .98rem;
}

.faq-page__call a {
    color: var(--green-800);
    font-weight: 500;
    border-bottom: 1px solid var(--gold-500);
    transition: color .3s;
}

.faq-page__call a:hover {
    color: var(--gold-600);
}

.acc__inner p+p {
    margin-top: 12px;
}

@media (max-width: 991.98px) {
    .faq-page .faq__intro {
        position: static;
    }
}

/* ==========================================================================
   Blog (listing, categories, single post)
   ========================================================================== */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

.blog-list,
.blog-related {
    background: var(--cream);
}

.blog-list {
    padding-top: clamp(60px, 7vw, 100px);
}

.b-card__noimg {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(140deg, var(--green-800), var(--green-900));
}

.b-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 50px -32px rgba(1, 42, 31, .4);
}

.b-card:hover .b-card__img img {
    transform: scale(1.05);
}

.b-card h3 a {
    transition: color .3s;
}

.b-card h3 a:hover {
    color: var(--gold-600);
}

/* Category filter */
.blog-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: clamp(36px, 5vw, 54px);
}

.blog-filter a {
    padding: 11px 22px;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: #fff;
    font-size: .74rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--green-800);
    transition: background .35s, color .35s, border-color .35s;
}

.blog-filter a:hover {
    border-color: var(--gold-500);
}

.blog-filter a.is-active {
    background: var(--green-800);
    border-color: var(--green-800);
    color: var(--gold-300);
}

/* Pagination */
.pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: clamp(40px, 5vw, 60px);
}

.pager .page-numbers {
    display: grid;
    place-items: center;
    min-width: 46px;
    height: 46px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    font-family: var(--serif);
    font-size: 1.2rem;
    color: var(--green-800);
    transition: background .35s, color .35s, border-color .35s;
}

.pager a.page-numbers:hover {
    border-color: var(--gold-500);
}

.pager .page-numbers.current {
    background: var(--green-800);
    border-color: var(--green-800);
    color: var(--gold-300);
}

.pager .page-numbers.dots {
    border: 0;
    background: none;
}

.arr--back {
    transform: rotate(180deg);
}

.blog-empty {
    max-width: 560px;
    margin: 0 auto;
    padding: 50px 30px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--silver);
    border-radius: 8px;
}

.blog-empty p {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--green-800);
}

.blog-empty .btn {
    margin-top: 26px;
}

/* ---------- Single post ---------- */
.post-hero h1 {
    max-width: 980px;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.05;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-top: 26px;
    font-size: .76rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--green-800);
}

.post-meta a {
    color: var(--green-800);
    transition: color .3s;
}

.post-meta a+a::before {
    content: ', ';
    color: var(--green-800);
}

.post-meta a:hover {
    color: var(--gold-600);
}

.post-meta i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--green-800);
}

.post-cover {
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding-top: clamp(28px, 4vw, 48px);
}

.post-cover__img {
    max-width: 1100px;
    margin: 0 auto;
    aspect-ratio: 16 / 8;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 40px 60px -40px rgba(1, 42, 31, .5);
}

.post-cover__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-body {
    padding-top: clamp(50px, 6vw, 80px);
}

.post-body--nocover {
    padding-top: clamp(70px, 8vw, 110px);
}

/* Article typography (content from the WordPress editor) */
.post-content {
    font-size: 1.08rem;
    line-height: 1.85;
}

.post-content>*+* {
    margin-top: 1.2em;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 1.6em;
    margin-bottom: -.2em;
}

.post-content h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.5rem);
}

.post-content h3 {
    font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}

.post-content h4 {
    font-family: var(--sans);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--green-800);
}

.post-content strong {
    color: var(--green-800);
    font-weight: 500;
}

.post-content a {
    color: var(--green-800);
    font-weight: 400;
    border-bottom: 1px solid var(--gold-500);
    transition: color .3s;
}

.post-content a:hover {
    color: var(--gold-600);
}

.post-content ul,
.post-content ol {
    padding-left: 0;
}

.post-content ul li,
.post-content ol li {
    position: relative;
    padding-left: 30px;
}

.post-content li+li {
    margin-top: 8px;
}

.post-content ul li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: .75em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold-500);
}

.post-content ol {
    counter-reset: item;
}

.post-content ol li {
    counter-increment: item;
}

.post-content ol li::before {
    content: counter(item, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--serif);
    font-style: italic;
    color: var(--gold-600);
}

.post-content blockquote {
    margin-top: 1.6em;
    margin-bottom: 1.6em;
    padding: 6px 0 6px 28px;
    border-left: 2px solid var(--gold-500);
    font-family: var(--serif);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.3;
    color: var(--green-800);
}

.post-content img {
    height: auto;
    border-radius: 6px;
}

.post-content figure {
    margin-left: 0;
    margin-right: 0;
}

.post-content figcaption,
.post-content .wp-caption-text {
    margin-top: 10px;
    font-size: .88rem;
    text-align: center;
}

.post-content .alignleft {
    float: left;
    margin: .4em 1.6em 1em 0;
}

.post-content .alignright {
    float: right;
    margin: .4em 0 1em 1.6em;
}

.post-content .aligncenter {
    margin-left: auto;
    margin-right: auto;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: .96rem;
}

.post-content th,
.post-content td {
    padding: 12px 14px;
    border: 1px solid var(--silver);
    text-align: left;
}

.post-content th {
    background: var(--cream);
    color: var(--green-800);
    font-weight: 500;
}

.post-content::after {
    content: '';
    display: table;
    clear: both;
}

/* Share + prev/next */
.post-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.post-share span {
    margin-right: 8px;
    font-size: .74rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold-600);
}

.post-share a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--green-800);
    transition: background .35s, color .35s, border-color .35s;
}

.post-share a:hover {
    background: var(--green-800);
    border-color: var(--green-800);
    color: var(--gold-300);
}

.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
}

.post-nav__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 26px;
    background: var(--cream);
    border: 1px solid var(--silver);
    border-radius: 4px;
    transition: background .35s, box-shadow .35s;
}

.post-nav__item:hover {
    background: #fff;
    box-shadow: 0 24px 40px -30px rgba(1, 42, 31, .4);
}

.post-nav__item--next {
    text-align: right;
    grid-column: 2;
}

.post-nav__item span {
    font-size: .7rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold-600);
}

.post-nav__item strong {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.25;
    color: var(--green-800);
}

/* Sidebar */
.post-aside {
    position: sticky;
    top: calc(var(--header-h) + 30px);
    display: grid;
    gap: 24px;
}

.aside-cta {
    position: relative;
    overflow: hidden;
    padding: 34px 30px;
    background: linear-gradient(140deg, var(--green-800), var(--green-900));
    border-radius: 8px;
    color: rgba(246, 235, 220, .78);
}

.aside-cta__img {
    width: 76px;
    height: 76px;
    margin-bottom: 22px;
    overflow: hidden;
    border: 2px solid var(--gold-400);
    border-radius: 50%;
}

.aside-cta__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.aside-cta .eyebrow {
    margin-bottom: 12px;
}

.aside-cta h3 {
    color: #fff;
    font-size: 1.9rem;
    margin-bottom: 12px;
}

.aside-cta h3 em {
    color: var(--gold-400);
}

.aside-cta p:not(.eyebrow) {
    font-size: .95rem;
    margin-bottom: 24px;
}

.aside-cta__call {
    display: block;
    margin-top: 16px;
    font-size: .92rem;
    letter-spacing: .04em;
    color: var(--gold-300);
}

.aside-cta__call:hover {
    color: #fff;
}

.aside-box {
    padding: 28px 28px 24px;
    background: #fff;
    border: 1px solid var(--silver);
    border-radius: 8px;
}

.aside-box h4 {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--green-800);
    margin-bottom: 14px;
}

.aside-cats a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: .95rem;
    transition: color .3s;
}

.aside-cats li:last-child a {
    border-bottom: 0;
}

.aside-cats a:hover {
    color: var(--gold-600);
}

.aside-cats span {
    font-size: .78rem;
    color: var(--gold-600);
}

.aside-recent li+li {
    margin-top: 16px;
}

.aside-recent a {
    display: flex;
    gap: 14px;
    align-items: center;
}

.aside-recent__img {
    flex: none;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 4px;
}

.aside-recent__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aside-recent__txt strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--serif);
    font-size: 1.12rem;
    font-weight: 500;
    line-height: 1.25;
    color: var(--green-800);
    transition: color .3s;
}

.aside-recent a:hover strong {
    color: var(--gold-600);
}

.aside-recent__txt time {
    display: block;
    margin-top: 4px;
    font-size: .78rem;
}

@media (max-width: 991.98px) {
    .post-aside {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .post-cover {
        margin-top: 0;
    }

    .post-cover__img {
        aspect-ratio: 4 / 3;
    }

    .post-nav {
        grid-template-columns: 1fr;
    }

    .post-nav__item--next {
        grid-column: auto;
    }
}

/* ==========================================================================
   Book an Appointment page
   ========================================================================== */
.book-main {
    background: var(--cream);
    padding-top: clamp(70px, 8vw, 110px);
}

.book-intro {
    position: sticky;
    top: calc(var(--header-h) + 30px);
}

.book-intro h2 {
    margin-bottom: 22px;
}

.book-intro__text {
    font-size: 1.05rem;
}

.book-steps {
    margin-top: 34px;
}

.book-step {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
}

.book-step:last-child {
    border-bottom: 1px solid var(--line);
}

.book-step__no {
    font-family: var(--serif);
    font-size: 2.3rem;
    font-style: italic;
    line-height: 1;
    color: var(--gold-600);
}

.book-step h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.book-step p {
    font-size: .96rem;
}

.book-call {
    margin-top: 34px;
    padding: 30px 28px;
    background: linear-gradient(140deg, var(--green-800), var(--green-900));
    border-radius: 8px;
    color: rgba(246, 235, 220, .78);
}

.book-call h3 {
    color: #fff;
    font-size: 1.7rem;
    margin-bottom: 8px;
}

.book-call p {
    font-size: .95rem;
    margin-bottom: 22px;
}

.book-call__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.form-card--white {
    background: #fff;
}

/* Date field: label always sits at the top (the browser shows its own date hint) */
.form-field--date input {
    min-height: 62px;
    cursor: pointer;
}

.form-field--date label {
    top: 8px;
    font-size: .66rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold-600);
}

.form-field--date input::-webkit-calendar-picker-indicator {
    opacity: .6;
    cursor: pointer;
}

@media (max-width: 991.98px) {
    .book-intro {
        position: static;
    }
}

/* Call-to-action box inside blog posts (<p class="post-cta">) */
.post-content .post-cta {
    margin-top: 2em;
    padding: 24px 28px;
    background: var(--cream);
    border-left: 3px solid var(--gold-500);
    border-radius: 4px;
    font-family: var(--serif);
    font-size: 1.35rem;
    line-height: 1.45;
    color: var(--green-800);
}

.post-content .post-cta a {
    font-weight: 500;
    color: var(--gold-600);
    border-bottom-color: var(--gold-500);
}

.post-content .post-cta a:hover {
    color: var(--green-800);
}

/* ==========================================================================
   Testimonials listing
   ========================================================================== */
.testi-list {
    background: var(--cream);
    padding-top: clamp(60px, 7vw, 100px);
}

.testi-list .t-quote blockquote p+p {
    margin-top: 12px;
}

.testi-list .t-quote figcaption {
    flex-direction: row;
    align-items: center;
    gap: 14px;
}

.testi-list .t-quote figcaption .t-quote__who {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-size: inherit;
    letter-spacing: normal;
    text-transform: none;
    color: inherit;
}

.testi-list .t-quote figcaption .t-quote__avatar {
    flex: none;
    width: 48px;
    height: 48px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--gold-400);
    border-radius: 50%;
}

.testi-list .t-quote__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Gallery page (reuses the home gallery grid + GLightbox)
   ========================================================================== */
.gallery-page {
    padding-top: clamp(60px, 7vw, 100px);
}

@media (min-width: 992px) {
    .gallery-page .gallery {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .gallery-page .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   Thank you / 404 message pages
   ========================================================================== */
.msg-page {
    padding: clamp(80px, 11vw, 150px) 0 clamp(150px, 16vw, 210px);
    text-align: center;
}

.msg-page__in {
    max-width: 760px;
    margin: 0 auto;
}

.msg-page h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
}

.msg-page__icon {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    margin: 0 auto 30px;
    border: 1px solid var(--gold-400);
    border-radius: 50%;
    color: var(--gold-300);
    box-shadow: 0 0 0 10px rgba(228, 199, 160, .06);
}

.msg-page__code {
    display: block;
    margin-bottom: 10px;
    font-family: var(--serif);
    font-size: clamp(5rem, 14vw, 9rem);
    font-style: italic;
    line-height: 1;
    color: var(--gold-400);
    opacity: .9;
}

.msg-page__text {
    max-width: 600px;
    margin: 24px auto 0;
    font-size: 1.1rem;
}

.msg-page__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
    margin-top: 30px;
    font-size: .76rem;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.msg-page__links a {
    color: var(--gold-300);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, color .3s;
}

.msg-page__links a:hover {
    color: #fff;
    border-color: var(--gold-400);
}

.msg-page__btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 40px;
}

.msg-page__call {
    margin-top: 28px;
    font-size: .98rem;
}

.msg-page__call a {
    color: var(--gold-300);
    border-bottom: 1px solid var(--gold-500);
}

/* The footer CTA expects a light section above it */
.msg-page+* {
    margin-top: 0;
}

/* ==========================================================================
   Default page (Privacy Policy etc.)
   ========================================================================== */
.page-body {
    background: var(--cream);
    padding-top: clamp(28px, 4vw, 48px);
}

.page-body__card {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(32px, 5vw, 64px);
    background: #fff;
    border: 1px solid var(--silver);
    border-radius: 8px;
    box-shadow: 0 40px 60px -45px rgba(1, 42, 31, .45);
}

/* ==========================================================================
   Search
   ========================================================================== */
.search-form {
    display: flex;
    gap: 10px;
    max-width: 640px;
    margin-top: 34px;
    padding: 8px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--line-light);
    border-radius: 100px;
}

.search-form input {
    flex: 1;
    min-width: 0;
    padding: 10px 18px;
    background: transparent;
    border: 0;
    outline: none;
    font: inherit;
    font-size: 1rem;
    color: #fff;
}

.search-form input::placeholder {
    color: rgba(246, 235, 220, .5);
}

.search-form .btn {
    cursor: pointer;
}

.search-count {
    margin-bottom: 26px;
    font-size: .78rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-600);
}

.search-card .b-card__body {
    padding-top: 32px;
}

/* ==========================================================================
   Videos page (reuses the home video cards; click-to-play is in app.js)
   ========================================================================== */
.videos-page {
    background: var(--cream);
    padding-top: clamp(60px, 7vw, 100px);
}

/* Show full titles (up to two lines) instead of one cut-off line */
.videos-page .v-card h3 {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ==========================================================================
   Concerns (listing + single)
   ========================================================================== */
.concerns-page {
    background: var(--cream);
    padding-top: clamp(60px, 7vw, 100px);
}

/* Whole card is clickable */
.c-card__link::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.c-card h3 a {
    color: inherit;
}

.concerns-help {
    max-width: 720px;
    margin: clamp(50px, 6vw, 80px) auto 0;
    text-align: center;
}

.concerns-help h2 {
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    margin-bottom: 14px;
}

.concerns-help p {
    margin-bottom: 28px;
}

.concern-hero__ico {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    border: 1px solid var(--gold-400);
    border-radius: 50%;
    color: var(--gold-300);
}

.concern-treatments,
.concern-faqs {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.concern-treatments h2,
.concern-faqs h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.5rem);
    margin-bottom: 20px;
}

.concern-treatments .about-focus {
    margin: 0 0 16px;
}

.concern-treatments__note {
    font-size: .92rem;
}

.aside-cats span .arr {
    width: 14px;
    height: 14px;
}

/* ==========================================================================
   Treatments (listing + single). Cards reuse the home .treatments section.
   ========================================================================== */
.treatments-page {
    padding-top: clamp(60px, 7vw, 100px);
}

.treatments-related .section-head h2 {
    color: var(--green-900);
}

.treatments-related .section-head h2 em {
    color: var(--green-700);
}

.treatments-related .eyebrow {
    color: var(--green-700);
}

.treatments .btn--outline {
    border-color: var(--green-900);
    color: var(--green-900);
}

.treatments .btn--outline:hover {
    background: var(--green-900);
    color: var(--gold-300);
}

/* Whole card is clickable */
.t-card__link::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
}

.t-card h3 a {
    color: inherit;
}

/* Concern links on a treatment page */
.about-focus--links a {
    display: block;
    transition: color .3s;
}

.about-focus--links li {
    transition: border-color .3s, background .3s;
}

.about-focus--links li:hover {
    border-color: var(--gold-500);
    background: #fff;
}

.about-focus--links li:hover a {
    color: var(--gold-600);
}

/* Quick facts box */
.aside-facts div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: .95rem;
}

.aside-facts div:last-child {
    border-bottom: 0;
}

.aside-facts dt {
    color: var(--ink-soft);
}

.aside-facts dd {
    margin: 0;
    text-align: right;
    font-weight: 400;
    color: var(--green-800);
}

/* Concern page: linked treatment tags vs plain tags */
.about-focus--links li:not(.is-link):hover {
    border-color: var(--line);
    background: var(--cream);
}

.about-focus--links li.is-link {
    border-color: var(--gold-400);
    background: #fff;
}

.about-focus--links li.is-link a::after {
    content: ' →';
    color: var(--gold-600);
}

/* ---------- About: doctor detail buttons + popups ---------- */
.doctor__details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 34px;
}

.doctor .doctor__details .btn {
    margin-top: 0;
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.3;
    padding: 12px 8px;
    letter-spacing: .1em;
}

@media (max-width: 767.98px) {
    .doctor__details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.doctor .doctor__body>.btn {
    margin-top: 56px;
    background: var(--green-800);
    border-color: var(--green-800);
    color: #fff;
}

.doctor .doctor__body>.btn:hover {
    background: var(--green-700);
    border-color: var(--green-700);
    color: #fff;
}

.doctor-modal {
    width: min(620px, calc(100% - 32px));
    max-height: calc(100vh - 64px);
    margin: auto;
    padding: clamp(28px, 4vw, 44px);
    border: 0;
    border-top: 3px solid var(--gold-500);
    border-radius: 8px;
    background: #fff;
    color: var(--ink-soft);
    box-shadow: 0 40px 80px -30px rgba(1, 56, 41, .5);
    overflow-y: auto;
}

.doctor-modal::backdrop {
    background: rgba(1, 42, 31, .55);
}

.doctor-modal h3 {
    margin-bottom: 18px;
    padding-right: 36px;
    font-size: 1.9rem;
    color: var(--green-800);
}

.doctor-modal ul {
    display: grid;
    gap: 12px;
}

.doctor-modal li {
    position: relative;
    padding-left: 20px;
    line-height: 1.55;
}

.doctor-modal li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .65em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold-600);
}

.doctor-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    background: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--green-800);
    cursor: pointer;
}

.doctor-modal__close:hover {
    color: var(--gold-600);
}

/* About: doctor photo matches the height of the text column (desktop) */
@media (min-width: 992px) {
    #doctor:not(.doctor--home) .row {
        align-items: stretch !important;
    }

    #doctor:not(.doctor--home) .col-lg-5 {
        display: flex;
    }

    #doctor:not(.doctor--home) .doctor__frame {
        width: 100%;
        height: 100%;
    }

    #doctor:not(.doctor--home) .doctor__frame img {
        position: absolute;
        inset: 0;
        height: 100%;
        aspect-ratio: auto;
    }

}

/* Concern sidebar: the form sits directly on the green card */
.aside-cta__form {
    margin-top: 6px;
    color: rgba(246, 235, 220, .85);
}

.aside-cta__form .form-error {
    color: #f4b4a5;
}

.aside-cta__form .form-field textarea {
    min-height: 84px;
    height: 84px;
}

.aside-cta__form .form-actions .btn {
    width: 100%;
    justify-content: center;
}

/* The form makes the card taller than the viewport, so the sidebar scrolls normally */
.post-aside:has(.aside-cta__form) {
    position: static;
}
