/* =====================================================================
   CONTACT PAGE  (contact-page-template.php)
   Re-uses .hero, .svc-grid/.svc, .appt/.form-card/.field and .loc-* from above.
   ===================================================================== */

/* inner-page banner (eyebrow + heading only) */
.page-banner {
    position: relative;
    display: flex;
    align-items: center;
    height: 40vh;
    padding: 56px 0;
    overflow: hidden;
    background: var(--night) var(--hero) no-repeat right center;
    background-size: cover;
    color: #fff
}

.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(7, 46, 42, .97) 0%, rgba(7, 46, 42, .92) 26%, rgba(7, 46, 42, .62) 46%,
            rgba(7, 46, 42, .18) 64%, rgba(7, 46, 42, 0) 80%);
    backdrop-filter: blur(16px);
}

.page-banner .container {
    position: relative;
    z-index: 2
}

.page-banner .eyebrow {
    margin-bottom: 12px
}

.page-banner h1 {
    color: #fff;
    font-size: clamp(32px, 3.7vw, 50px);
    font-weight: 700;
    line-height: 1.14
}

.page-banner h1 .rd {
    color: var(--orange)
}

/* breadcrumbs (Yoast) - sits under the banner title */
#breadcrumbs {
    margin: 14px 0 0;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(255, 255, 255, .78)
}

#breadcrumbs a {
    color: #fff;
    text-decoration: none;
    transition: color .2s
}

#breadcrumbs a:hover {
    color: var(--teal)
}

#breadcrumbs .breadcrumb_last {
    color: var(--teal);
    font-weight: 600
}

@media (max-width: 575px) {
    #breadcrumbs {
        font-size: 12.5px
    }
}

/* quick contact tiles */
.cc-wrap {
    background: #fff;
    border-bottom: 1px solid var(--line)
}

.svc.cc {
    padding: 40px 24px 46px
}

.svc.cc .cc-val {
    margin-top: 8px;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--ink);
    overflow-wrap: anywhere;
    transition: .28s ease
}

.svc.cc p {
    margin-top: 6px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--muted);
    transition: .28s ease
}

.svc.cc:hover .cc-val,
.svc.cc:hover p {
    color: var(--green-dk)
}

/* enquiry form: placeholder-coloured select until an option is chosen */
.field select option {
    color: var(--ink)
}

.field select:has(option[value=""]:checked) {
    color: #75847E
}

/* emergency reminder next to the form */
.em-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 30px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--red);
    border-radius: 5px;
    box-shadow: var(--shadow)
}

.em-note svg {
    width: 30px;
    height: 30px;
    flex: none;
    margin-top: 2px;
    color: var(--red);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round
}

.em-note b {
    display: block;
    margin-bottom: 3px;
    font-size: 14.5px;
    color: var(--ink)
}

.em-note p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--body)
}

.em-note a {
    font-weight: 800;
    color: var(--red-dk)
}

.em-note a:hover {
    color: var(--orange-dk)
}

@media(max-width:1024px) {
    .page-banner::before {
        background: linear-gradient(90deg, rgba(7, 46, 42, .97) 0%, rgba(7, 46, 42, .9) 40%, rgba(7, 46, 42, .6) 66%, rgba(7, 46, 42, .25) 100%)
    }
}

@media(max-width:760px) {
    .page-banner {
        padding: 44px 0;
        background-position: 76% center
    }
}

/* =====================================================================
   ABOUT PAGE  (about-page-template.php)
   Re-uses .page-banner, .appt-usp, .strip, .why-card, .doc, .tech-item
   and .svc-band from above / app.css.
   ===================================================================== */

/* our story */
.abt-grid {
    --gx: 56px;
    --gy: 40px;
    align-items: stretch
}

.abt-img {
    position: relative;
    height: 100%;
    min-height: 340px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow-lg)
}

.abt-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 25% center
}

.abt-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    max-width: 190px;
    padding: 16px 22px;
    border-radius: 5px;
    background: var(--teal);
    color: var(--ink);
    box-shadow: var(--shadow-lg)
}

.abt-badge b {
    display: block;
    font-family: var(--font-head);
    font-size: 36px;
    line-height: 1;
    color: var(--green-dk)
}

.abt-badge span {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.4
}

.abt-txt p {
    margin-top: 16px;
    font-size: 15.5px;
    line-height: 1.8;
    color: var(--body)
}

.abt-txt h2.sec+p {
    margin-top: 20px
}

.abt-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px
}

/* mission & vision */
.abt-mv {
    background: var(--soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.mv-card {
    height: 100%;
    padding: 40px 36px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--teal);
    border-radius: 5px;
    box-shadow: var(--shadow)
}

.mv-card.vision {
    border-top-color: var(--orange)
}

.mv-card .ico75 {
    width: 64px;
    height: 64px;
    margin-bottom: 18px
}

.mv-card .ico75 svg {
    width: 64px;
    height: 64px
}

.mv-card h3 {
    font-size: 24px;
    margin-bottom: 12px
}

.mv-card p {
    font-size: 15.5px;
    line-height: 1.8;
    color: var(--body)
}

/* values sit on the page background so the white team / facilities sections alternate */
.abt-values {
    background: var(--bg)
}

/* closing call-to-action */
.abt-cta {
    padding: 72px 0;
    background: var(--soft);
    border-top: 1px solid var(--line)
}

.abt-cta .svc-band {
    margin-top: 0
}

.abt-cta .svc-band h3 {
    color: var(--green-dk)
}

.abt-cta .svc-band p {
    color: var(--ink)
}

.abt-cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

@media(max-width:760px) {
    .abt-badge {
        left: 14px;
        bottom: 14px;
        padding: 12px 16px
    }

    .abt-badge b {
        font-size: 28px
    }

    .mv-card {
        padding: 30px 24px
    }

    .abt-cta {
        padding: 56px 0
    }

    .abt-cta .svc-band {
        padding: 28px 24px
    }

    .abt-cta-btns {
        justify-content: center
    }
}


/* =====================================================================
   BOOK APPOINTMENT PAGE  (book-appointment-page-template.php)
   Re-uses .appt / .form-card / .field, .em-note and .jour / .flow from above.
   ===================================================================== */

/* white so the journey ribbon separates from the soft appointment section */
.bk-journey {
    background: #fff;
    border-top: 1px solid var(--line)
}


/* =====================================================================
   BLOG ARCHIVE  (archive-blog.php)
   Card design (.blog-card) lives in app.css; these are archive-only parts.
   ===================================================================== */

/* category filter pills */
.blog-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 44px
}

.blog-filter a {
    padding: 9px 20px;
    border: 1.5px solid var(--line);
    border-radius: 5px;
    background: #fff;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--green);
    transition: .22s ease
}

.blog-filter a:hover {
    border-color: var(--teal);
    background: var(--teal-lt)
}

.blog-filter a.active {
    border-color: var(--teal);
    background: var(--teal);
    color: var(--ink)
}

/* pagination */
.blog-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 52px
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    margin: 0;
    padding: 0 16px;
    border: 1.5px solid var(--line);
    border-radius: 5px;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    color: var(--green);
    transition: .22s ease
}

.blog-pagination a.page-numbers:hover {
    border-color: var(--teal);
    background: var(--teal-lt)
}

.blog-pagination .page-numbers.current {
    border-color: var(--orange);
    background: var(--orange);
    color: #3d2600;
    box-shadow: 0 8px 22px rgba(247, 148, 29, .35)
}

.blog-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent
}

/* nothing to show */
.blog-empty {
    max-width: 520px;
    margin: 0 auto;
    padding: 56px 30px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px
}

.blog-empty h3 {
    font-size: 22px
}

.blog-empty p {
    margin: 10px 0 24px;
    color: var(--muted)
}


/* =====================================================================
   SINGLE BLOG POST  (single-blog.php)
   Re-uses .page-banner, .blog-card / .blog-wrap, .em-note and buttons.
   ===================================================================== */

/* long titles: let the banner grow instead of clipping */
.page-banner-post {
    height: auto;
    min-height: 40vh
}

.page-banner-post h1 {
    max-width: 900px;
    font-size: clamp(26px, 3.2vw, 42px)
}

.post-grid {
    --gx: 48px;
    --gy: 40px;
    align-items: flex-start
}

.post-main {
    min-width: 0
}

/* featured image */
.post-hero {
    margin-bottom: 26px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow)
}

.post-hero img {
    width: 100%;
    height: auto;
    display: block
}

/* meta row */
.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
    margin-bottom: 30px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line)
}

.post-cat {
    padding: 5px 14px;
    border-radius: 5px;
    background: var(--teal-lt);
    border: 1px solid #B7EDE7;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--green);
    transition: .2s
}

.post-cat:hover {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--ink)
}

.post-info {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted)
}

.post-info svg {
    width: 15px;
    height: 15px;
    color: var(--green)
}

/* article body (content added in the WordPress editor) */
.post-content {
    font-size: 16px;
    line-height: 1.85;
    color: var(--body);
    overflow-wrap: break-word
}

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

.post-content>*:first-child {
    margin-top: 0
}

.post-content p {
    margin: 0 0 1.25em
}

.post-content h2 {
    margin: 1.9em 0 .6em;
    font-size: clamp(24px, 2.4vw, 30px)
}

.post-content h3 {
    margin: 1.7em 0 .55em;
    font-size: 22px
}

.post-content h4 {
    margin: 1.5em 0 .5em;
    font-size: 18px
}

.post-content h5,
.post-content h6 {
    margin: 1.5em 0 .5em;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--green)
}

.post-content a {
    font-weight: 600;
    color: var(--green);
    text-decoration: underline;
    text-decoration-color: var(--teal);
    text-underline-offset: 3px;
    transition: .2s
}

.post-content a:hover {
    color: var(--orange-dk)
}

.post-content ul,
.post-content ol {
    margin: 0 0 1.25em;
    padding-left: 1.4em
}

.post-content li {
    margin-bottom: .45em
}

.post-content li::marker {
    color: var(--teal-dk);
    font-weight: 700
}

.post-content strong,
.post-content b {
    color: var(--ink)
}

.post-content img,
.post-content video,
.post-content iframe {
    max-width: 100%;
    height: auto;
    border-radius: 5px
}

.post-content iframe {
    border: 0
}

.post-content figure {
    margin: 1.8em 0
}

.post-content figcaption {
    margin-top: 9px;
    font-size: 13px;
    text-align: center;
    color: var(--muted)
}

.post-content blockquote {
    margin: 1.8em 0;
    padding: 22px 26px;
    background: var(--soft);
    border-left: 4px solid var(--teal);
    border-radius: 0 5px 5px 0;
    font-family: var(--font-head);
    font-size: 19px;
    line-height: 1.6;
    color: var(--green-dk)
}

.post-content blockquote p:last-child {
    margin-bottom: 0
}

.post-content hr {
    margin: 2.2em 0;
    border: 0;
    border-top: 1px solid var(--line)
}

.post-content table {
    width: 100%;
    margin: 1.8em 0;
    border-collapse: collapse;
    font-size: 14.5px
}

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

.post-content th {
    background: var(--soft);
    font-weight: 700;
    color: var(--green)
}

.post-content .wp-block-table {
    overflow-x: auto
}

.post-content pre,
.post-content code {
    font-size: 14px;
    background: var(--soft);
    border-radius: 5px
}

.post-content code {
    padding: 2px 6px
}

.post-content pre {
    margin: 1.6em 0;
    padding: 16px 18px;
    overflow-x: auto
}

.post-content pre code {
    padding: 0;
    background: none
}

.post-content .alignleft {
    float: left;
    margin: 6px 24px 16px 0
}

.post-content .alignright {
    float: right;
    margin: 6px 0 16px 24px
}

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

/* share */
.post-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.post-share .lb {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--green)
}

.post-share .icons {
    display: flex;
    gap: 10px
}

.post-share .icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: var(--teal-lt);
    border: 1px solid #B7EDE7;
    color: var(--green);
    transition: .2s
}

.post-share .icons a:hover {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--ink);
    transform: translateY(-2px)
}

.post-share svg {
    width: 18px;
    height: 18px
}

/* previous / next */
.post-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px
}

.post-nav a {
    flex: 1 1 260px;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px;
    transition: .25s ease
}

.post-nav a.next {
    text-align: right
}

.post-nav a:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow);
    transform: translateY(-3px)
}

.post-nav .dir {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--teal-dk)
}

.post-nav .ttl {
    display: block;
    margin-top: 6px;
    font-family: var(--font-head);
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--green)
}

/* sidebar */
.post-side {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 24px
}

.side-cta {
    padding: 30px 28px;
    border-radius: 5px;
    background: linear-gradient(155deg, var(--green-dk) 0%, var(--green) 60%, var(--green-mid) 100%);
    color: #E6F6EE;
    box-shadow: var(--shadow-lg)
}

.side-cta h3 {
    font-size: 22px;
    color: #fff
}

.side-cta p {
    margin: 10px 0 22px;
    font-size: 14.5px;
    line-height: 1.7
}

.side-cta .btn+.btn {
    margin-top: 12px
}

.side-card {
    padding: 26px 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px
}

.side-card h4 {
    margin-bottom: 14px;
    font-family: var(--font);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--green)
}

.side-cats {
    margin: 0;
    padding: 0;
    list-style: none
}

.side-cats li+li {
    border-top: 1px solid var(--line)
}

.side-cats a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    transition: .2s
}

.side-cats a:hover {
    color: var(--green);
    padding-left: 4px
}

.side-cats em {
    min-width: 26px;
    padding: 1px 8px;
    border-radius: 20px;
    background: var(--teal-lt);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    text-align: center;
    color: var(--green)
}

.post-side .em-note {
    margin-top: 0
}

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

@media(max-width:760px) {

    .post-content .alignleft,
    .post-content .alignright {
        float: none;
        display: block;
        margin: 1.4em auto
    }

    .post-nav a.next {
        text-align: left
    }
}

/* ---------- VERIFIED-BY-EXPERTS STRIP (single-blog.php) ---------- */
.verify-strip {
    background: linear-gradient(90deg, var(--green-lt), var(--teal-lt));
    border-bottom: 1px solid var(--line)
}

.verify-in {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 0
}

.verify-badge {
    position: relative;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    box-shadow: 0 0 0 5px rgba(28, 102, 69, .12)
}

.verify-badge svg {
    width: 26px;
    height: 26px
}

.verify-txt {
    flex: 1 1 auto;
    min-width: 0
}

.verify-txt b {
    display: block;
    font-family: var(--font-head);
    font-size: 18px;
    line-height: 1.3;
    color: var(--green-dk)
}

.verify-txt span {
    display: block;
    margin-top: 2px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--body)
}

.verify-pts {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none
}

.verify-pts li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #fff;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--green-dk)
}

.verify-pts svg {
    width: 14px;
    height: 14px;
    color: var(--teal-dk)
}

@media(max-width:991.98px) {
    .verify-in {
        flex-wrap: wrap
    }

    .verify-txt {
        flex-basis: calc(100% - 70px)
    }

    .verify-pts {
        flex-basis: 100%;
        justify-content: flex-start
    }
}

@media(max-width:576px) {
    .verify-in {
        padding: 16px 0;
        gap: 12px
    }

    .verify-badge {
        width: 42px;
        height: 42px
    }

    .verify-badge svg {
        width: 22px;
        height: 22px
    }

    .verify-txt {
        flex-basis: calc(100% - 56px)
    }

    .verify-txt b {
        font-size: 16px
    }

    .verify-txt span {
        font-size: 13px
    }
}


/* ---------- READING PROGRESS BAR (single-blog.php) ---------- */
.read-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 4px;
    background: rgba(48, 204, 188, .12);
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s ease
}

.read-progress.is-active {
    opacity: 1
}

.read-progress-fill {
    position: relative;
    display: block;
    width: 0;
    height: 100%;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(90deg, var(--green), var(--teal) 60%, #7DF3E6);
    box-shadow: 0 0 6px rgba(48, 204, 188, .9), 0 0 16px rgba(48, 204, 188, .65), 0 0 30px rgba(48, 204, 188, .4)
}

/* glowing head */
.read-progress-fill::after {
    content: "";
    position: absolute;
    top: 0;
    right: -4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 6px 2px #fff, 0 0 14px 5px var(--teal), 0 0 28px 10px rgba(48, 204, 188, .55);
    animation: readGlow 1.8s ease-in-out infinite
}

.read-progress.is-done .read-progress-fill {
    background: linear-gradient(90deg, var(--green), var(--teal), var(--orange))
}

@keyframes readGlow {

    0%,
    100% {
        transform: scale(.85);
        opacity: .85
    }

    50% {
        transform: scale(1.2);
        opacity: 1
    }
}

@media(prefers-reduced-motion:reduce) {
    .read-progress-fill::after {
        animation: none
    }
}


/* =====================================================================
   TECHNOLOGY  (archive-technology.php / single-technology.php)
   Card design (.tech-item / .tech-vis / .tech-in) lives in app.css.
   Single page re-uses the .post-* / .side-* blocks of the blog post.
   ===================================================================== */

.tech-grid {
    --gx: 28px;
    --gy: 28px
}

/* single: back button + sidebar list */
.tech-back {
    margin-top: 40px
}

.side-cats a.is-current {
    color: var(--green);
    font-weight: 700
}

.side-cats a svg {
    flex: none;
    width: 16px;
    height: 16px;
    color: var(--teal-dk)
}


/* =====================================================================
   DOCTORS  (archive-doctor.php / single-doctor.php)
   Card design (.doc) lives in app.css. Single page re-uses the .post-* / .side-* blocks.
   ===================================================================== */

.doc-grid {
    --gx: 24px;
    --gy: 28px
}

.doc-grid>[class*="col-"] {
    display: flex
}

.doc-grid .doc {
    flex: 1;
    width: 100%
}

/* single: profile header */
.doc-profile {
    display: flex;
    gap: 32px;
    align-items: stretch;
    margin-bottom: 36px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow)
}

.doc-profile-photo {
    flex: 0 0 260px;
    min-height: 300px;
    background: #E3F0EC
}

.doc-profile-photo img,
.doc-profile-photo svg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center
}

.doc-profile-in {
    flex: 1;
    min-width: 0;
    padding: 30px 30px 30px 0;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.doc-profile-spec {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--green)
}

.doc-profile-in h2 {
    margin: 8px 0 0;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.25
}

.doc-profile-qual {
    margin: 10px 0 0;
    font-size: 14.5px;
    line-height: 1.6;
    font-weight: 500;
    color: var(--muted)
}

.doc-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none
}

.doc-profile-meta li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--soft);
    font-size: 13px;
    font-weight: 600;
    color: var(--green-dk)
}

.doc-profile-meta svg {
    flex: none;
    width: 15px;
    height: 15px;
    color: var(--green)
}

@media(max-width:760px) {
    .doc-profile {
        flex-direction: column;
        gap: 0
    }

    .doc-profile-photo {
        flex: none;
        width: 100%;
        height: 320px;
        min-height: 0
    }

    .doc-profile-in {
        padding: 24px 22px 26px
    }
}


/* =====================================================================
   CONDITIONS  (archive-condition.php / single-condition.php)
   Card design (.cond) lives in app.css.
   ===================================================================== */

.cond-single-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    margin-bottom: 24px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--soft)
}

.cond-single-icon img {
    display: block;
    width: auto;
    height: 52px;
    max-width: 60px
}


/* =====================================================================
   HEALTH CHECK PACKAGES  (archive-healthpackage.php / single-healthpackage.php)
   Card design (.pkg-card) lives in app.css.
   ===================================================================== */

.pkg-side-price {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .22)
}

.pkg-side-price small {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .78)
}

.pkg-side-price b {
    display: block;
    margin-top: 4px;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
    color: #fff
}

/* ---------- Social links on light backgrounds (contact + book appointment) ---------- */
.soc-follow .f-soc {
    margin-top: 8px
}

.soc-follow .f-soc a {
    background: var(--green-lt)
}

.soc-follow .f-soc svg {
    color: var(--green)
}

.soc-follow .f-soc a:hover {
    background: var(--green)
}

.soc-follow .f-soc a:hover svg {
    color: #fff
}

.soc-follow-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 26px
}

.soc-follow-row>span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted)
}

.soc-follow-row .f-soc {
    margin-top: 0
}

/* ---------- Default page content (page.php - Terms, Privacy etc., text from the WordPress editor) ---------- */
.page-content {
    font-size: 16px;
    line-height: 1.85;
    color: var(--body);
    overflow-wrap: break-word
}

.page-content::after {
    content: "";
    display: table;
    clear: both
}

.page-content>*:first-child {
    margin-top: 0
}

.page-content p {
    margin: 0 0 1.25em
}

.page-content h2 {
    margin: 1.9em 0 .6em;
    font-size: clamp(24px, 2.4vw, 30px)
}

.page-content h3 {
    margin: 1.7em 0 .55em;
    font-size: 22px
}

.page-content h4 {
    margin: 1.5em 0 .5em;
    font-size: 18px
}

.page-content ul,
.page-content ol {
    margin: 0 0 1.25em;
    padding-left: 1.4em
}

.page-content li {
    margin-bottom: .45em
}

.page-content li::marker {
    color: var(--teal-dk);
    font-weight: 700
}

.page-content a {
    font-weight: 600;
    color: var(--green);
    text-decoration: underline;
    text-decoration-color: var(--teal);
    text-underline-offset: 3px;
    transition: .2s
}

.page-content a:hover {
    color: var(--orange-dk)
}

.page-content strong,
.page-content b {
    color: var(--ink)
}

.page-content hr {
    margin: 2.2em 0;
    border: 0;
    border-top: 1px solid var(--line)
}

.page-content table {
    width: 100%;
    margin: 1.8em 0;
    border-collapse: collapse;
    font-size: 14.5px
}

.page-content th,
.page-content td {
    padding: 10px 14px;
    border: 1px solid var(--line);
    text-align: left
}

.page-content th {
    background: var(--soft);
    font-weight: 700;
    color: var(--green)
}

.page-content h1 {
    margin: 1.6em 0 .6em;
    font-size: clamp(28px, 3vw, 38px)
}

.page-content h5,
.page-content h6 {
    margin: 1.5em 0 .5em;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--green)
}

.page-content img,
.page-content video,
.page-content iframe {
    max-width: 100%;
    height: auto;
    border-radius: 5px
}

.page-content iframe {
    border: 0
}

.page-content figure,
.page-content .wp-caption {
    max-width: 100%;
    margin: 1.8em 0
}

.page-content figcaption,
.page-content .wp-caption-text {
    margin-top: 9px;
    font-size: 13px;
    text-align: center;
    color: var(--muted)
}

.page-content blockquote {
    margin: 1.8em 0;
    padding: 22px 26px;
    background: var(--soft);
    border-left: 4px solid var(--teal);
    border-radius: 0 5px 5px 0;
    font-family: var(--font-head);
    font-size: 19px;
    line-height: 1.6;
    color: var(--green-dk)
}

.page-content blockquote p:last-child {
    margin-bottom: 0
}

.page-content pre,
.page-content code {
    font-size: 14px;
    background: var(--soft);
    border-radius: 5px
}

.page-content code {
    padding: 2px 6px
}

.page-content pre {
    margin: 1.6em 0;
    padding: 16px 18px;
    overflow-x: auto
}

.page-content pre code {
    padding: 0;
    background: none
}

.page-content .alignleft {
    float: left;
    margin: 6px 24px 16px 0
}

.page-content .alignright {
    float: right;
    margin: 6px 0 16px 24px
}

.page-content .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.page-content .post-hero {
    margin-bottom: 30px
}

@media (max-width: 760px) {
    .page-content .alignleft,
    .page-content .alignright {
        float: none;
        display: block;
        margin: 1.4em auto
    }

    .page-content table {
        display: block;
        overflow-x: auto
    }
}

/* ---------- THANK YOU PAGE (thank-you-page.php) ---------- */
.ty-wrap {
    background: var(--soft)
}

.ty-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 48px 48px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px;
    box-shadow: var(--shadow)
}

.ty-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--green-lt);
    color: var(--green)
}

.ty-ico svg {
    width: 44px;
    height: 44px
}

.ty-card .sec-sub {
    max-width: 560px;
    margin: 14px auto 0
}

.ty-card .em-note {
    margin-top: 32px;
    text-align: left
}

.ty-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 34px
}

@media (max-width: 575px) {
    .ty-card {
        padding: 40px 22px 32px
    }

    .ty-actions .btn {
        width: 100%
    }
}

/* ---------- 404 PAGE (404.php) - re-uses .ty-wrap / .ty-card / .ty-actions ---------- */
.nf-code {
    margin-bottom: 8px;
    font-family: var(--font-head);
    font-variant-numeric: lining-nums;
    font-size: clamp(76px, 14vw, 128px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: .02em;
    color: var(--green)
}

.nf-code span {
    color: var(--teal)
}

.nf-search {
    display: flex;
    gap: 10px;
    max-width: 520px;
    margin: 30px auto 0
}

.nf-search input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 18px;
    font: inherit;
    font-size: 14.5px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px;
    outline: none;
    transition: .2s
}

.nf-search input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(48, 204, 188, .22)
}

.nf-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 12px;
    margin-top: 26px
}

.nf-links span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted)
}

.nf-links a {
    padding: 7px 15px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--green);
    background: var(--green-lt);
    border-radius: 5px;
    transition: .2s
}

.nf-links a:hover {
    background: var(--green);
    color: #fff
}

@media (max-width: 575px) {
    .nf-search {
        flex-direction: column
    }

    .nf-search .btn {
        width: 100%
    }
}

/* ---------- TESTIMONIALS ARCHIVE (archive-testimonial.php) - cards re-use .t-card from app.css ---------- */
.tst-archive {
    background: #fff
}

.tst-grid {
    --gx: 26px;
    --gy: 26px
}

.tst-grid .t-card {
    height: 100%
}

.t-card .av {
    overflow: hidden
}

.t-card .av img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

/* ---------- FAQ PAGE (faq-page-template.php) ---------- */
.faq-wrap {
    background: #fff
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px
}

.faq-item {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 5px;
    transition: background .2s, border-color .2s, box-shadow .2s
}

.faq-item[open] {
    background: #fff;
    border-color: var(--teal);
    box-shadow: var(--shadow)
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 24px;
    list-style: none;
    cursor: pointer;
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--green)
}

.faq-item summary::-webkit-details-marker {
    display: none
}

.faq-item summary:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
    border-radius: 5px
}

.faq-item summary svg {
    width: 20px;
    height: 20px;
    flex: none;
    color: var(--teal-dk);
    transition: transform .25s
}

.faq-item[open] summary svg {
    transform: rotate(180deg)
}

.faq-answer {
    padding: 0 24px 22px;
    font-size: 15.5px;
    line-height: 1.8;
    color: var(--body)
}

.faq-answer p {
    margin: 0 0 1em
}

.faq-answer>*:last-child {
    margin-bottom: 0
}

.faq-answer ul,
.faq-answer ol {
    margin: 0 0 1em;
    padding-left: 1.4em
}

.faq-answer li {
    margin-bottom: .35em
}

.faq-answer li::marker {
    color: var(--teal-dk);
    font-weight: 700
}

.faq-answer a {
    font-weight: 600;
    color: var(--green);
    text-decoration: underline;
    text-decoration-color: var(--teal);
    text-underline-offset: 3px
}

.faq-answer a:hover {
    color: var(--orange-dk)
}

.faq-extra {
    max-width: 860px;
    margin: 48px auto 0
}

@media (max-width: 575px) {
    .faq-item summary {
        padding: 16px 18px;
        font-size: 16.5px
    }

    .faq-answer {
        padding: 0 18px 18px
    }
}
