/*
Theme Name: Source Matrix
Theme URI: https://www.sourcematrix.co.za/
Author: Thomas Bloem
Author URI: https://www.sourcematrix.co.za/
Description: A flexible multi-purpose WordPress theme framework for service businesses, consultants, agencies, charities and professional brands.
Version: 1.0.0
Text Domain: dr-lm-king
*/

/* =========================================================
   DR L.M. KING INC. — CLEAN SAGE THEME STYLESHEET
   Full style.css replacement
========================================================= */

/* =========================================================
   1. DESIGN TOKENS
========================================================= */
:root {
    --sm-bg: #f3f5ef;
    --sm-bg-soft: #eef2e8;
    --sm-bg-lift: #f8faf5;
    --sm-surface: #ffffff;
    --sm-surface-warm: #fbfcf8;

    --sm-primary: #4f6f45;
    --sm-primary-dark: #2f4a32;
    --sm-primary-deep: #223426;
    --sm-primary-soft: #dfe8d7;

    --sm-accent: #8fa36d;
    --sm-accent-soft: #edf2e6;

    --sm-charcoal: #1f2a24;
    --sm-heading: #15231b;
    --sm-text: #3f4a43;
    --sm-muted: #66736a;
    --sm-border: rgba(47, 74, 50, 0.13);

    --sm-shadow-soft: 0 14px 36px rgba(31, 42, 36, 0.07);
    --sm-shadow-medium: 0 22px 56px rgba(31, 42, 36, 0.10);
    --sm-shadow-strong: 0 28px 70px rgba(31, 42, 36, 0.16);

    --sm-radius-sm: 12px;
    --sm-radius-md: 18px;
    --sm-radius-lg: 26px;
    --sm-radius-xl: 34px;

    --sm-container: 1200px;
    --sm-container-wide: 1320px;

    --sm-transition: 0.25s ease;
}

/* =========================================================
   2. RESET / BASE
========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--sm-bg);
    color: var(--sm-text);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img,
svg,
video,
canvas {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

figure,
blockquote {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--sm-transition), background-color var(--sm-transition), border-color var(--sm-transition), box-shadow var(--sm-transition), transform var(--sm-transition), opacity var(--sm-transition);
}

a:hover,
a:focus {
    text-decoration: none;
}

ul,
ol {
    margin: 0 0 1.35em 1.35em;
    padding: 0;
}

p {
    margin: 0 0 1.25em;
}

p:last-child {
    margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 0.65em;
    color: var(--sm-heading);
    line-height: 1.12;
    letter-spacing: -0.025em;
}

table {
    width: 100%;
    border-collapse: collapse;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    appearance: none;
}

::selection {
    background: var(--sm-primary-soft);
    color: var(--sm-primary-deep);
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* =========================================================
   3. LAYOUT
========================================================= */
.site {
    min-height: 100vh;
    background: var(--sm-bg);
}

.site-main {
    display: block;
}

.site-container,
.container {
    width: min(var(--sm-container), calc(100% - 40px));
    margin: 0 auto;
}

.container-wide {
    width: min(var(--sm-container-wide), calc(100% - 40px));
    margin: 0 auto;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 0;
}

.entry-header,
.page-header {
    margin-bottom: 30px;
}

.entry-title,
.page-title {
    margin-bottom: 12px;
}

/* =========================================================
   4. BUTTONS
========================================================= */
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.button,
.wp-block-button__link,
.sm-button,
.sm-button-primary,
.sm-button-secondary,
.top-bar-button,
.header-cta-button,
.sm-testimonials-button,
.sm-testimonials-more,
.footer-cta-button,
.services-page-card-button,
.services-page-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: color var(--sm-transition), background-color var(--sm-transition), border-color var(--sm-transition), box-shadow var(--sm-transition), transform var(--sm-transition), opacity var(--sm-transition);
}

button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.button,
.wp-block-button__link,
.sm-button-primary,
.top-bar-button,
.header-cta-button,
.services-page-cta-button {
    background: var(--sm-primary);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(79, 111, 69, 0.18);
}

button:hover,
button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
.button:hover,
.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
.sm-button-primary:hover,
.sm-button-primary:focus,
.top-bar-button:hover,
.top-bar-button:focus,
.header-cta-button:hover,
.header-cta-button:focus,
.services-page-cta-button:hover,
.services-page-cta-button:focus {
    background: var(--sm-primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(79, 111, 69, 0.24);
}

.sm-button-secondary {
    background: rgba(255, 255, 255, 0.76);
    color: var(--sm-primary-dark);
    border-color: rgba(79, 111, 69, 0.26);
    box-shadow: none;
}

.sm-button-secondary:hover,
.sm-button-secondary:focus {
    background: var(--sm-primary-dark);
    color: #ffffff;
    border-color: var(--sm-primary-dark);
    transform: translateY(-2px);
}

/* =========================================================
   5. TOP BAR
========================================================= */
.top-bar {
    background: var(--sm-primary-deep);
    color: #ffffff;
    font-size: 13px;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px 18px;
    flex-wrap: wrap;
    padding: 8px 0;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    min-width: 0;
}

.top-bar-text {
    margin: 0;
    font-weight: 650;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.88);
}

.top-bar-contact {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.90);
    white-space: nowrap;
    font-size: 13px;
    line-height: 1.2;
}

.top-bar-contact:hover,
.top-bar-contact:focus {
    color: #ffffff;
    opacity: 1;
}

.top-bar-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    color: rgba(255, 255, 255, 0.86);
}

.top-bar-contact-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.top-bar-label {
    margin-right: 2px;
    font-weight: 700;
}

.top-bar-socials {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 4px;
}

.top-bar-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.13);
    color: #ffffff;
    line-height: 1;
}

.top-bar-socials a:hover,
.top-bar-socials a:focus {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.top-bar-socials a svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}

/* =========================================================
   6. HEADER
========================================================= */
.site-header {
    position: relative;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(47, 74, 50, 0.10);
    box-shadow: 0 1px 0 rgba(31, 42, 36, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    min-height: 82px;
    padding: 12px 0;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    min-width: 0;
}

.site-logo,
.custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.custom-logo,
.site-logo img {
    display: block;
    width: auto;
    max-height: 120px;
}

.site-brand-text {
    display: none;
}

.site-title,
.site-title a,
.site-description {
    margin: 0;
}

.site-title a {
    color: inherit;
}

.header-navigation-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    flex: 1 1 auto;
    min-width: 0;
}

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
}

.main-navigation > div,
.main-navigation .menu-primary-container {
    width: 100%;
}

.main-navigation ul,
.primary-menu,
.main-navigation .menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation li,
.primary-menu li,
.main-navigation .menu li {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation a,
.primary-menu a,
.main-navigation .menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 7px 0;
    color: var(--sm-charcoal);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.2;
    white-space: nowrap;
}

.main-navigation a:hover,
.main-navigation a:focus,
.primary-menu a:hover,
.primary-menu a:focus,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: var(--sm-primary);
}

.main-navigation a::after,
.primary-menu a::after,
.main-navigation .menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: currentColor;
    opacity: 0.85;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--sm-transition);
}

.main-navigation a:hover::after,
.main-navigation a:focus::after,
.primary-menu a:hover::after,
.primary-menu a:focus::after,
.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.header-cta-button {
    min-height: 46px;
    padding: 13px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 750;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--sm-accent-soft);
    color: var(--sm-primary-dark);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    position: relative;
    z-index: 1002;
    box-shadow: none;
}

.nav-toggle:hover,
.nav-toggle:focus {
    background: var(--sm-primary-soft);
    color: var(--sm-primary-deep);
    transform: none;
    box-shadow: none;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    margin: 0;
    background: currentColor;
    border-radius: 999px;
    transition: transform var(--sm-transition), opacity var(--sm-transition);
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   7. HEADER DROPDOWN MENUS
========================================================= */
.main-navigation .menu-item-has-children > a,
.main-navigation .page_item_has_children > a {
    position: relative;
    padding-right: 18px;
}

.main-navigation .menu-item-has-children > a::before,
.main-navigation .page_item_has_children > a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
    transition: transform var(--sm-transition);
}

.main-navigation .sub-menu,
.main-navigation ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    display: block;
    min-width: 245px;
    margin: 14px 0 0;
    padding: 12px 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid var(--sm-border);
    border-radius: 18px;
    box-shadow: var(--sm-shadow-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--sm-transition), transform var(--sm-transition), visibility var(--sm-transition);
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu,
.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation .menu-item-has-children:hover > a::before,
.main-navigation .menu-item-has-children:focus-within > a::before,
.main-navigation .page_item_has_children:hover > a::before,
.main-navigation .page_item_has_children:focus-within > a::before {
    transform: translateY(-35%) rotate(225deg);
}

.main-navigation .sub-menu li,
.main-navigation ul ul li {
    width: 100%;
}

.main-navigation .sub-menu a,
.main-navigation ul ul a {
    display: block;
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
    white-space: normal;
    color: var(--sm-charcoal);
    background: transparent;
}

.main-navigation .sub-menu a:hover,
.main-navigation .sub-menu a:focus,
.main-navigation ul ul a:hover,
.main-navigation ul ul a:focus {
    color: var(--sm-primary-dark);
    background: var(--sm-bg-lift);
}

.main-navigation .sub-menu a::after,
.main-navigation ul ul a::after {
    display: none;
}

.main-navigation .sub-menu .sub-menu,
.main-navigation ul ul ul {
    top: 0;
    left: 100%;
    margin: 0 0 0 12px;
}

/* =========================================================
   8. HERO
========================================================= */

.sm-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 640px;
    padding: 86px 0;
    overflow: hidden;
    color: #ffffff;
    background-color: var(--sm-primary-deep);
    background-position: 72% center;
    background-repeat: no-repeat;
    background-size: cover;
}

.sm-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(21, 35, 27, 0.82) 0%, rgba(21, 35, 27, 0.68) 38%, rgba(21, 35, 27, 0.36) 66%, rgba(21, 35, 27, 0.14) 100%),
        linear-gradient(180deg, rgba(21, 35, 27, 0.10) 0%, rgba(21, 35, 27, 0.18) 100%);
    z-index: 1;
}

.sm-hero.overlay-light::before {
    background:
        linear-gradient(90deg, rgba(248, 250, 245, 0.88) 0%, rgba(248, 250, 245, 0.72) 44%, rgba(248, 250, 245, 0.34) 72%, rgba(248, 250, 245, 0.12) 100%);
}

.sm-hero .site-container,
.sm-hero .container {
    position: relative;
    z-index: 2;
    width: min(1320px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

.sm-hero-content {
    max-width: 1180px;
    padding-top: 8px;
}
.sm-hero-kicker {
    display: inline-block;
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.sm-hero-title {
    max-width: 15ch;
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(2.75rem, 4.4vw, 4.6rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.05em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.22);
    text-wrap: balance;
}
.sm-hero.align-center .sm-hero-title {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.sm-hero.align-right .sm-hero-title {
    margin-left: auto;
}

.sm-hero-text {
    max-width: 58ch;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 1.08rem;
    line-height: 1.78;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.sm-hero.align-center .sm-hero-text,
.sm-hero.align-right .sm-hero-text {
    margin-left: auto;
}

.sm-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
}

.sm-hero.align-center .sm-hero-buttons {
    justify-content: center;
}

.sm-hero.align-right .sm-hero-buttons {
    justify-content: flex-end;
}

.sm-hero .sm-button,
.sm-hero .sm-button-primary,
.sm-hero .sm-button-secondary {
    min-width: 176px;
    padding: 15px 25px;
    border-radius: 999px;
    font-weight: 750;
}

.sm-hero .sm-button-primary {
    background: var(--sm-primary);
    color: #ffffff;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.20);
}

.sm-hero .sm-button-primary:hover,
.sm-hero .sm-button-primary:focus {
    background: var(--sm-primary-dark);
}

.sm-hero .sm-button-secondary {
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(4px);
}

.sm-hero .sm-button-secondary:hover,
.sm-hero .sm-button-secondary:focus {
    background: #ffffff;
    color: var(--sm-primary-deep);
    border-color: #ffffff;
}

/* ---------------------------------------------------------
   HERO RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 1180px) {
    .sm-hero-content,
    .sm-hero-title {
        max-width: 760px;
    }

    .sm-hero-title {
        font-size: clamp(2.45rem, 5.2vw, 3.8rem);
    }
}

@media (max-width: 820px) {
    .sm-hero {
        min-height: 560px;
        padding: 72px 0;
        background-position: center center;
    }

    .sm-hero::before {
        background:
            linear-gradient(90deg, rgba(21, 35, 27, 0.84) 0%, rgba(21, 35, 27, 0.70) 58%, rgba(21, 35, 27, 0.44) 100%),
            linear-gradient(180deg, rgba(21, 35, 27, 0.18) 0%, rgba(21, 35, 27, 0.24) 100%);
    }

    .sm-hero-content,
    .sm-hero-title {
        max-width: 680px;
    }

    .sm-hero-title {
        font-size: clamp(2.35rem, 8vw, 3.45rem);
        line-height: 1.05;
    }

    .sm-hero-buttons {
        gap: 12px;
    }
}

@media (max-width: 560px) {
    .sm-hero {
        min-height: 520px;
        padding: 62px 0;
    }

    .sm-hero .site-container,
    .sm-hero .container {
        width: min(100% - 30px, 1320px);
    }

    .sm-hero-title {
        max-width: 100%;
        font-size: clamp(2.15rem, 10vw, 3rem);
    }

    .sm-hero-text {
        font-size: 1rem;
        line-height: 1.72;
    }

    .sm-hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .sm-hero .sm-button,
    .sm-hero .sm-button-primary,
    .sm-hero .sm-button-secondary {
        width: 100%;
        max-width: 280px;
    }
}

/* =========================================================
   9. FRONT PAGE SECTIONS
========================================================= */
.sm-home-intro,
.sm-home-about,
.sm-section {
    padding: 92px 0;
}

.sm-home-intro {
    text-align: center;
    background: var(--sm-bg);
}

.sm-home-about {
    background: var(--sm-bg-soft);
}

.sm-section-title,
.sm-section-heading h2 {
    margin: 0 0 16px;
    color: var(--sm-heading);
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.14;
}

.sm-section-text {
    max-width: 860px;
    margin: 0 auto;
    color: var(--sm-muted);
    font-size: 1.06rem;
    line-height: 1.85;
    text-align: center;
}

.sm-section-text p {
    margin: 0;
}

.sm-home-about-grid,
.sm-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
    gap: 44px;
    align-items: center;
}

.sm-home-about-content,
.sm-about-content {
    min-width: 0;
}

.sm-home-about-content p,
.sm-about-content p {
    color: var(--sm-muted);
    font-size: 1.03rem;
    line-height: 1.85;
}

.sm-home-about-card,
.sm-about-card,
.sm-service-card,
.sm-testimonial-card {
    min-width: 0;
    padding: 30px;
    background: var(--sm-surface);
    border: 1px solid var(--sm-border);
    border-radius: var(--sm-radius-lg);
    box-shadow: var(--sm-shadow-soft);
}

.sm-home-about-card h3,
.sm-about-card h3,
.sm-service-card h3,
.sm-testimonial-card h3 {
    margin-bottom: 14px;
    color: var(--sm-heading);
}

.sm-home-about-card p,
.sm-about-card p,
.sm-service-card p,
.sm-testimonial-card p {
    color: var(--sm-muted);
}

.sm-service-card:hover,
.sm-service-card:focus-within,
.sm-testimonial-card:hover,
.sm-testimonial-card:focus-within,
.sm-home-about-card:hover,
.sm-home-about-card:focus-within,
.sm-about-card:hover,
.sm-about-card:focus-within {
    transform: translateY(-4px);
    box-shadow: var(--sm-shadow-medium);
}

/* =========================================================
   10. FEATURED SERVICES / AREAS OF PSYCHIATRIC CARE
========================================================= */
.sm-featured-services.sm-services-section,
.sm-services-section,
.sm-featured-services {
    position: relative;
    padding: 94px 0 104px;
    background:
        radial-gradient(circle at 14% 4%, rgba(143, 163, 109, 0.13) 0, rgba(143, 163, 109, 0) 32%),
        linear-gradient(180deg, var(--sm-bg-soft) 0%, var(--sm-bg) 100%);
    overflow: hidden;
}

.sm-featured-services .sm-section-heading,
.sm-services-section .sm-section-heading {
    max-width: 860px;
    margin: 0 auto 46px;
    text-align: center;
}

.sm-featured-services .sm-section-title,
.sm-featured-services .sm-section-heading h2,
.sm-services-section .sm-section-title,
.sm-services-section .sm-section-heading h2 {
    margin: 0 0 16px;
    color: var(--sm-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.14;
    letter-spacing: -0.035em;
}

.sm-featured-services .sm-section-text,
.sm-services-section .sm-section-text {
    max-width: 820px;
    margin: 0 auto;
}

.sm-featured-services .sm-section-text p,
.sm-featured-services .sm-section-heading p,
.sm-services-section .sm-section-text p,
.sm-services-section .sm-section-heading p {
    margin: 0;
    color: var(--sm-muted);
    font-size: 1.08rem;
    line-height: 1.82;
}

/*
   IMPORTANT:
   This replaces the old conflicting 6-column / nth-child procedure layout.
   It keeps the Dr King psychiatry service cards in a clean 3 / 2 / 1 responsive grid.
*/
.sm-services-grid,
.sm-procedures-grid,
.sm-featured-services .sm-services-grid,
.sm-featured-services .sm-procedures-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sm-service-card,
.sm-procedure-card,
.sm-featured-services .sm-service-card,
.sm-featured-services .sm-procedure-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    grid-column: auto !important;
    padding: 32px 30px 30px;
    background: linear-gradient(180deg, #ffffff 0%, var(--sm-surface-warm) 100%);
    border: 1px solid rgba(79, 111, 69, 0.16);
    border-radius: 26px;
    box-shadow: var(--sm-shadow-soft);
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

.sm-service-card::before,
.sm-procedure-card::before,
.sm-featured-services .sm-service-card::before,
.sm-featured-services .sm-procedure-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--sm-primary) 0%, var(--sm-accent) 100%);
    opacity: 0.92;
}

.sm-service-card:hover,
.sm-service-card:focus-within,
.sm-procedure-card:hover,
.sm-procedure-card:focus-within,
.sm-featured-services .sm-service-card:hover,
.sm-featured-services .sm-service-card:focus-within,
.sm-featured-services .sm-procedure-card:hover,
.sm-featured-services .sm-procedure-card:focus-within {
    transform: translateY(-7px);
    border-color: rgba(79, 111, 69, 0.30);
    box-shadow: var(--sm-shadow-medium);
}

.sm-service-icon,
.sm-featured-services .sm-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    margin-bottom: 22px;
    border-radius: 19px;
    background: var(--sm-accent-soft);
    color: var(--sm-primary-dark);
}

.sm-service-icon svg,
.sm-featured-services .sm-service-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
    stroke: currentColor;
}

.sm-service-card-title,
.sm-featured-services .sm-service-card-title,
.sm-featured-services .sm-service-card h3,
.sm-service-card h3,
.sm-procedure-card h3 {
    margin: 0 0 14px;
    color: var(--sm-heading);
    font-size: clamp(1.25rem, 1.6vw, 1.55rem);
    line-height: 1.22;
    letter-spacing: -0.02em;
}

.sm-service-card-text,
.sm-featured-services .sm-service-card-text {
    flex: 1 1 auto;
}

.sm-service-card-text p,
.sm-featured-services .sm-service-card-text p,
.sm-featured-services .sm-service-card p,
.sm-service-card p,
.sm-procedure-card p {
    margin: 0 0 22px;
    color: var(--sm-muted);
    font-size: 0.98rem;
    line-height: 1.78;
}

.sm-service-card-link,
.sm-featured-services .sm-service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--sm-primary-dark);
    font-weight: 750;
    text-decoration: none;
}

.sm-service-card-link::after,
.sm-featured-services .sm-service-card-link::after {
    content: "→";
    font-size: 1rem;
    line-height: 1;
    transition: transform var(--sm-transition);
}

.sm-service-card-link:hover,
.sm-service-card-link:focus,
.sm-featured-services .sm-service-card-link:hover,
.sm-featured-services .sm-service-card-link:focus {
    color: var(--sm-primary);
}

.sm-service-card-link:hover::after,
.sm-service-card-link:focus::after,
.sm-featured-services .sm-service-card-link:hover::after,
.sm-featured-services .sm-service-card-link:focus::after {
    transform: translateX(4px);
}

.sm-services-button-wrap,
.sm-featured-services .sm-services-button-wrap {
    margin-top: 38px;
    text-align: center;
}

/* =========================================================
   11. TRUST STRIP
========================================================= */
.sm-trust-strip {
    padding: 36px 0;
    background: rgba(255, 255, 255, 0.82);
    border-top: 1px solid var(--sm-border);
    border-bottom: 1px solid var(--sm-border);
}

.sm-trust-strip-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.sm-trust-item {
    padding: 12px 14px;
    text-align: center;
}

.sm-trust-item h3 {
    margin: 0 0 8px;
    color: var(--sm-heading);
    font-size: 1rem;
    line-height: 1.3;
}

.sm-trust-item p {
    margin: 0;
    color: var(--sm-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* =========================================================
   12. CTA
========================================================= */
.sm-cta-section {
    padding: 70px 0;
    margin: 0;
    background: var(--sm-bg);
}

.sm-cta-box {
    position: relative;
    overflow: hidden;
    padding: 58px 42px;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 32%),
        linear-gradient(135deg, var(--sm-primary-deep) 0%, var(--sm-primary-dark) 52%, #5d794d 100%);
    color: #ffffff;
    border-radius: 32px;
    text-align: center;
    box-shadow: var(--sm-shadow-strong);
}

.sm-cta-title {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.sm-cta-text p {
    max-width: 760px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    line-height: 1.8;
}

.sm-cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.sm-cta-box .sm-button,
.sm-cta-box .sm-button-primary,
.sm-cta-box .sm-button-secondary {
    min-width: 178px;
    margin-top: 8px;
}

.sm-cta-box .sm-button-primary {
    background: #ffffff;
    color: var(--sm-primary-deep);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.sm-cta-box .sm-button-primary:hover,
.sm-cta-box .sm-button-primary:focus {
    background: var(--sm-bg-lift);
    color: var(--sm-primary-deep);
}

.sm-cta-box .sm-button-secondary {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.36);
}

.sm-cta-box .sm-button-secondary:hover,
.sm-cta-box .sm-button-secondary:focus {
    background: #ffffff;
    color: var(--sm-primary-deep);
    border-color: #ffffff;
}

/* =========================================================
   13. INNER PAGE BANNER
========================================================= */
.sm-page-banner,
.inner-page-banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 280px;
    padding: 68px 0 62px;
    overflow: hidden;
    background-color: var(--sm-primary-deep);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.sm-page-banner-overlay,
.inner-page-banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(21, 35, 27, 0.78) 0%,
        rgba(21, 35, 27, 0.60) 45%,
        rgba(21, 35, 27, 0.36) 100%
    );
    pointer-events: none;
}

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

.sm-page-banner-content,
.inner-page-banner-content {
    max-width: 760px;
}

.sm-page-banner-title,
.inner-page-banner-title {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 760;
    line-height: 1.06;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.sm-page-banner-text,
.inner-page-banner-text {
    display: block;
    max-width: 640px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.04rem;
    line-height: 1.7;
}

.sm-page-banner-text p,
.inner-page-banner-text p {
    margin: 0;
    color: inherit;
}

.sm-page-banner.no-banner-image,
.inner-page-banner.no-banner-image {
    background: linear-gradient(135deg, var(--sm-primary-deep) 0%, var(--sm-primary-dark) 48%, #6d8153 100%);
}

.inner-page-banner-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.86rem;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sm-page-banner.sm-page-banner-align-left {
    text-align: left;
}

.sm-page-banner.sm-page-banner-align-center {
    text-align: center;
}

.sm-page-banner.sm-page-banner-align-center .sm-page-banner-content,
.sm-page-banner.sm-page-banner-align-center .sm-page-banner-text {
    margin-left: auto;
    margin-right: auto;
}

.sm-page-banner.sm-page-banner-align-right {
    text-align: right;
}

.sm-page-banner.sm-page-banner-align-right .sm-page-banner-content,
.sm-page-banner.sm-page-banner-align-right .sm-page-banner-text {
    margin-left: auto;
}

/* Inner banner title refinement */
.sm-page-banner .sm-page-banner-inner.king-container {
    width: min(1200px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

.sm-page-banner .page-banner-title {
    max-width: 980px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.4rem, 4.4vw, 4.7rem);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.055em;
    text-align: left;
}

/* Keep very long page titles from becoming oversized */
@media (min-width: 1100px) {
    .sm-page-banner .page-banner-title {
        font-size: 4.35rem;
        max-width: 1080px;
    }
}

@media (max-width: 900px) {
    .sm-page-banner .page-banner-title {
        font-size: clamp(2.2rem, 8vw, 3.4rem);
        max-width: 760px;
    }
}
/* Fees & Practice Information banner refinement only */
.page-id-27 .sm-page-banner .sm-page-banner-inner.king-container {
   width: min(1320px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-id-27 .sm-page-banner .page-banner-title {
    max-width: 1120px;
    margin: 0;
    text-align: left;
    font-size: clamp(2.4rem, 4vw, 4.15rem);
    line-height: 1.04;
    letter-spacing: -0.055em;
}

/* =========================================================
   14. DEFAULT PAGE CONTENT
========================================================= */
.default-page-template {
    padding: 0 0 100px;
    background: var(--sm-bg);
}

.default-page-template > .container {
    position: relative;
    max-width: var(--sm-container);
    margin: 0 auto;
    padding: 0 20px;
}

.default-page-template article.page-entry {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin: -46px auto 0;
    padding: 50px 50px 55px;
    background: var(--sm-surface);
    border: 1px solid var(--sm-border);
    border-radius: 24px;
    box-shadow: var(--sm-shadow-medium);
}

.sm-page-banner + .container article.page-entry {
    margin-top: -46px;
}

.default-page-template .page-entry-header {
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--sm-border);
}

.default-page-template .entry-title {
    margin: 0;
    color: var(--sm-heading);
    font-size: 2.1rem;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.default-page-template .page-featured-image {
    margin: 0 0 32px;
    overflow: hidden;
    border-radius: 18px;
}

.default-page-template .page-featured-image img,
.default-page-template .page-entry-content img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
}

.default-page-template .page-entry-content {
    color: var(--sm-text);
    font-size: 1.05rem;
    line-height: 1.9;
}

.default-page-template .page-entry-content p {
    margin: 0 0 1.5em;
}

.default-page-template .page-entry-content h1,
.default-page-template .page-entry-content h2,
.default-page-template .page-entry-content h3,
.default-page-template .page-entry-content h4,
.default-page-template .page-entry-content h5,
.default-page-template .page-entry-content h6 {
    margin-top: 1.7em;
    margin-bottom: 0.75em;
    color: var(--sm-heading);
    font-weight: 750;
    line-height: 1.25;
}

.default-page-template .page-entry-content h1 {
    font-size: 2rem;
}

.default-page-template .page-entry-content h2 {
    font-size: 1.7rem;
}

.default-page-template .page-entry-content h3 {
    font-size: 1.4rem;
}

.default-page-template .page-entry-content ul,
.default-page-template .page-entry-content ol {
    margin: 0 0 1.5em 1.4em;
    padding: 0;
}

.default-page-template .page-entry-content li {
    margin-bottom: 0.7em;
}

.default-page-template .page-entry-content a {
    color: var(--sm-primary-dark);
    font-weight: 700;
    text-decoration: none;
}

.default-page-template .page-entry-content a:hover {
    text-decoration: underline;
}

.default-page-template .page-entry-content blockquote {
    margin: 2em 0;
    padding: 24px 28px;
    background: var(--sm-bg-lift);
    border-left: 4px solid var(--sm-primary);
    border-radius: 16px;
    color: var(--sm-text);
    font-style: italic;
}

.default-page-template .page-entry-content table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
}

.default-page-template .page-entry-content table th,
.default-page-template .page-entry-content table td {
    padding: 14px 16px;
    border: 1px solid var(--sm-border);
    text-align: left;
}

.default-page-template .page-entry-content table th {
    background: var(--sm-bg-lift);
    color: var(--sm-heading);
    font-weight: 750;
}

.default-page-template .page-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--sm-border);
}

.default-page-template .page-links a,
.default-page-template .page-links > span {
    display: inline-block;
    margin: 0 6px 6px 0;
    padding: 8px 14px;
    background: var(--sm-accent-soft);
    border-radius: 10px;
    color: var(--sm-primary-deep);
    text-decoration: none;
}

/* =========================================================
   15. WIDGETS / FORMS
========================================================= */
.widget,
.footer-widget {
    margin-bottom: 28px;
}

.widget-title,
.footer-widget-title {
    margin-bottom: 14px;
}

.widget ul,
.footer-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget li,
.footer-widget li {
    margin-bottom: 10px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid rgba(47, 74, 50, 0.18);
    border-radius: 14px;
    color: var(--sm-charcoal);
    transition: border-color var(--sm-transition), box-shadow var(--sm-transition), background-color var(--sm-transition);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--sm-primary);
    box-shadow: 0 0 0 4px rgba(79, 111, 69, 0.14);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-form label {
    flex: 1 1 auto;
}

/* =========================================================
   16. BLOG / NEWS ARCHIVE
========================================================= */
.blog-home-template,
.archive-template {
    background: var(--sm-bg);
    padding: 0 0 100px;
}

.blog-home-template .container,
.archive-template .container {
    width: min(var(--sm-container-wide), calc(100% - 40px));
    margin: 0 auto;
}

.blog-archive-content-section {
    padding: 38px 0 90px;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: start;
}

.main-content-area {
    min-width: 0;
}

.blog-posts-list,
.archive-posts-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.source-matrix-post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--sm-border);
    border-radius: 24px;
    box-shadow: var(--sm-shadow-soft);
    transition: transform var(--sm-transition), box-shadow var(--sm-transition), border-color var(--sm-transition);
}

.source-matrix-post-card:hover,
.source-matrix-post-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(79, 111, 69, 0.24);
    box-shadow: var(--sm-shadow-medium);
}

.source-matrix-post-card-thumbnail {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--sm-primary-soft);
}

.source-matrix-post-card-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.source-matrix-post-card:hover .source-matrix-post-card-thumbnail img,
.source-matrix-post-card:focus-within .source-matrix-post-card-thumbnail img {
    transform: scale(1.04);
}

.source-matrix-post-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 23px 24px 25px;
}

.source-matrix-post-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    color: var(--sm-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.source-matrix-post-card-title {
    margin: 0 0 14px;
    color: var(--sm-heading);
    font-size: clamp(1.45rem, 2vw, 1.82rem);
    font-weight: 780;
    line-height: 1.12;
    letter-spacing: -0.03em;
    word-break: break-word;
}

.source-matrix-post-card-title a {
    color: inherit;
}

.source-matrix-post-card-title a:hover,
.source-matrix-post-card-title a:focus {
    color: var(--sm-primary);
}

.source-matrix-post-card-summary {
    flex: 1 1 auto;
    color: var(--sm-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.source-matrix-post-card-summary p {
    margin: 0;
}

.source-matrix-post-card-footer {
    margin-top: auto;
    padding-top: 22px;
}

.source-matrix-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sm-primary-dark);
    font-weight: 750;
    text-decoration: none;
}

.source-matrix-read-more::after {
    content: "→";
    font-size: 1rem;
    line-height: 1;
    transition: transform var(--sm-transition);
}

.source-matrix-read-more:hover,
.source-matrix-read-more:focus {
    color: var(--sm-primary);
}

.source-matrix-read-more:hover::after,
.source-matrix-read-more:focus::after {
    transform: translateX(4px);
}

.pagination-wrap,
.blog-pagination {
    margin-top: 38px;
}

.pagination-wrap .nav-links,
.blog-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.pagination-wrap .page-numbers,
.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid var(--sm-border);
    border-radius: 12px;
    color: var(--sm-heading);
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
}

.pagination-wrap .page-numbers:hover,
.pagination-wrap .page-numbers:focus,
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers:focus {
    border-color: var(--sm-primary);
    color: var(--sm-primary);
}

.pagination-wrap .page-numbers.current,
.blog-pagination .page-numbers.current {
    background: var(--sm-primary);
    border-color: var(--sm-primary);
    color: #ffffff;
}

.no-results.not-found {
    padding: 36px 0 10px;
}

.no-results.not-found .page-title {
    margin-bottom: 10px;
}

.no-results.not-found .page-content {
    max-width: 680px;
    color: var(--sm-muted);
}

/* =========================================================
   17. SINGLE POST
========================================================= */
.single-post-main {
    background: var(--sm-bg);
    padding: 42px 0 90px;
}

.single-post-main .container {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
}

.single-post-wrap {
    max-width: 920px;
    margin: 0 auto;
}

.single-post-header {
    margin: 0 0 20px;
}

.single-post-header-inner {
    max-width: 760px;
}

.single-post-title {
    margin: 0 0 12px;
    color: var(--sm-heading);
    font-size: clamp(2rem, 3.6vw, 3.3rem);
    font-weight: 780;
    line-height: 1.04;
    letter-spacing: -0.04em;
    word-break: break-word;
}

.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--sm-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.single-post-featured-image-wrap {
    margin: 0 0 22px;
}

.single-post-featured-image {
    overflow: hidden;
    border-radius: 24px;
    background: var(--sm-primary-soft);
    box-shadow: var(--sm-shadow-soft);
}

.single-post-featured-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.single-post-content-wrap {
    max-width: 760px;
    padding: 0;
}

.single-post-content {
    color: var(--sm-text);
    font-size: 1.03rem;
    line-height: 1.85;
}

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

.single-post-content > *:last-child {
    margin-bottom: 0;
}

.single-post-content p {
    margin: 0 0 1.45em;
}

.single-post-content h1,
.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content h5,
.single-post-content h6 {
    margin-top: 1.65em;
    margin-bottom: 0.68em;
    color: var(--sm-heading);
    font-weight: 780;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.single-post-content h1 {
    font-size: 1.95rem;
}

.single-post-content h2 {
    font-size: 1.65rem;
}

.single-post-content h3 {
    font-size: 1.35rem;
}

.single-post-content h4 {
    font-size: 1.15rem;
}

.single-post-content ul,
.single-post-content ol {
    margin: 0 0 1.45em 1.35em;
    padding: 0;
}

.single-post-content li {
    margin-bottom: 0.62em;
}

.single-post-content a {
    color: var(--sm-primary-dark);
    font-weight: 700;
    text-decoration: none;
}

.single-post-content a:hover,
.single-post-content a:focus {
    text-decoration: underline;
}

.single-post-content strong {
    color: var(--sm-heading);
    font-weight: 750;
}

.single-post-content blockquote {
    margin: 1.9em 0;
    padding: 22px 24px;
    background: var(--sm-bg-lift);
    border-left: 4px solid var(--sm-primary);
    border-radius: 16px;
    color: var(--sm-text);
    font-style: italic;
}

.single-post-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 26px auto;
    border-radius: 16px;
}

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

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

.single-post-content table {
    width: 100%;
    margin: 26px 0;
    border-collapse: collapse;
}

.single-post-content th,
.single-post-content td {
    padding: 13px 15px;
    border: 1px solid var(--sm-border);
    text-align: left;
}

.single-post-content th {
    background: var(--sm-bg-lift);
    color: var(--sm-heading);
    font-weight: 750;
}

.single-post-footer {
    display: grid;
    gap: 18px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--sm-border);
}

.taxonomy-label {
    display: block;
    margin-bottom: 9px;
    color: var(--sm-heading);
    font-size: 0.93rem;
    font-weight: 750;
    line-height: 1.3;
}

.taxonomy-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.taxonomy-links a,
.single-post-categories a,
.single-post-tags a {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: #ffffff;
    border: 1px solid var(--sm-border);
    border-radius: 999px;
    color: var(--sm-primary-dark);
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none;
}

.taxonomy-links a:hover,
.taxonomy-links a:focus,
.single-post-categories a:hover,
.single-post-categories a:focus,
.single-post-tags a:hover,
.single-post-tags a:focus {
    background: var(--sm-primary);
    border-color: var(--sm-primary);
    color: #ffffff;
}

.single-post-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 920px;
    margin: 30px auto 0;
}

.single-post-navigation a {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 100px;
    padding: 22px 24px;
    background: #ffffff;
    border: 1px solid var(--sm-border);
    border-radius: 20px;
    box-shadow: var(--sm-shadow-soft);
    color: var(--sm-heading);
    text-decoration: none;
}

.single-post-navigation a:hover,
.single-post-navigation a:focus {
    transform: translateY(-4px);
    border-color: rgba(79, 111, 69, 0.24);
    box-shadow: var(--sm-shadow-medium);
}

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

.single-post-navigation .nav-label {
    color: var(--sm-primary-dark);
    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.single-post-navigation .nav-title {
    color: var(--sm-heading);
    font-size: 0.98rem;
    font-weight: 750;
    line-height: 1.42;
    word-break: break-word;
}

.single-post-comments-wrap {
    max-width: 920px;
    margin: 30px auto 0;
    padding: 30px 32px;
    background: #ffffff;
    border: 1px solid var(--sm-border);
    border-radius: 22px;
    box-shadow: var(--sm-shadow-soft);
}

/* =========================================================
   18. SERVICES / AREAS OF CARE PAGE TEMPLATE
========================================================= */

.sm-services-page {
    background:
        radial-gradient(circle at top left, rgba(127, 143, 99, 0.12), transparent 34%),
        linear-gradient(180deg, #f7f4ed 0%, #f2efe7 100%);
    color: #263528;
    overflow: hidden;
}

.sm-services-page .sm-container {
    width: min(1120px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

/* 
   Banner note:
   Do not style .sm-page-banner here.
   The inner banner must remain global so Services matches About.
*/

/* ---------------------------------------------------------
   INTRO SECTION
--------------------------------------------------------- */

.sm-services-intro-section {
    padding: 90px 0 34px;
}

.sm-services-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 72px;
    align-items: start;
    padding: 58px 64px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(79, 111, 69, 0.16);
    border-radius: 34px;
    box-shadow: 0 26px 76px rgba(31, 42, 36, 0.08);
}

.sm-services-intro-heading {
    min-width: 0;
}

.sm-services-page .sm-section-kicker {
    margin: 0 0 14px;
    color: #6d7d55;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.sm-services-intro-heading h2 {
    margin: 0;
    color: #102819;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.055em;
}

.sm-services-intro-copy {
    min-width: 0;
    padding-top: 5px;
}

.sm-services-intro-copy p {
    margin: 0;
    color: rgba(38, 53, 40, 0.78);
    font-size: 18px;
    line-height: 1.85;
}

.sm-services-intro-copy p + p {
    margin-top: 18px;
}

/* ---------------------------------------------------------
   SERVICE CARDS
--------------------------------------------------------- */

.sm-services-cards-section {
    padding: 38px 0 104px;
}

.sm-services-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    align-items: stretch;
}

/* Reset global .sm-service-card styles from earlier sections */
.sm-services-page .sm-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    padding: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(79, 111, 69, 0.16);
    border-radius: 30px;
    box-shadow: 0 22px 56px rgba(31, 42, 36, 0.08);
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

.sm-services-page .sm-service-card::before {
    display: none;
}

.sm-services-page .sm-service-card:hover,
.sm-services-page .sm-service-card:focus-within {
    transform: translateY(-7px);
    border-color: rgba(79, 111, 69, 0.3);
    box-shadow: 0 30px 76px rgba(31, 42, 36, 0.13);
}

.sm-service-card-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #dfe6d8;
}

.sm-service-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.sm-services-page .sm-service-card:hover .sm-service-card-image {
    transform: scale(1.045);
}

.sm-service-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 28px;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.5), transparent 32%),
        linear-gradient(135deg, #d7dfcf 0%, #edf2e8 100%);
}

.sm-service-card-placeholder span {
    color: rgba(38, 53, 40, 0.48);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.sm-service-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 30px 30px 32px;
}

.sm-service-card-content h3 {
    margin: 0;
    color: #102819;
    font-size: clamp(22px, 2vw, 27px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.sm-service-card-content p {
    margin: 16px 0 0;
    color: rgba(38, 53, 40, 0.72);
    font-size: 16px;
    line-height: 1.74;
}

.sm-service-card-link {
    margin-top: auto;
    padding-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: #315c34;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
}

.sm-service-card-link::after {
    content: "→";
    font-size: 16px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.sm-service-card-link:hover {
    color: #102817;
}

.sm-service-card-link:hover::after {
    transform: translateX(4px);
}

/* ---------------------------------------------------------
   FINAL CTA
--------------------------------------------------------- */

.sm-services-cta-section {
    padding: 0 0 110px;
}

.sm-services-cta-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
    align-items: center;
    padding: clamp(38px, 5vw, 60px);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 34%),
        linear-gradient(135deg, #17241c 0%, #203328 52%, #52664b 100%);
    border-radius: 34px;
    box-shadow: 0 30px 80px rgba(31, 42, 36, 0.2);
}

.sm-services-cta-content {
    max-width: 760px;
}

.sm-services-cta-content .sm-section-kicker {
    color: rgba(255, 255, 255, 0.68);
}

.sm-services-cta-content h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.sm-services-cta-content p {
    max-width: 680px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    line-height: 1.75;
}

.sm-services-cta-action {
    display: flex;
    justify-content: flex-end;
}

.sm-services-cta-action .sm-button,
.sm-services-cta-action .sm-button-primary {
    min-height: 54px;
    padding: 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ffffff;
    color: #17321f;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.sm-services-cta-action .sm-button:hover,
.sm-services-cta-action .sm-button-primary:hover {
    transform: translateY(-2px);
    background: #f4f6ef;
    color: #17321f;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
}

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 1100px) {
    .sm-services-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm-services-intro-grid {
        gap: 44px;
        padding: 46px;
    }
}

@media (max-width: 900px) {
    .sm-services-intro-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .sm-services-cta-box {
        grid-template-columns: 1fr;
    }

    .sm-services-cta-action {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .sm-services-page .sm-container {
        width: min(100% - 30px, 1120px);
    }

    .sm-services-intro-section {
        padding: 56px 0 24px;
    }

    .sm-services-intro-grid {
        padding: 34px 24px;
        border-radius: 26px;
    }

    .sm-services-intro-heading h2 {
        font-size: clamp(34px, 11vw, 48px);
    }

    .sm-services-intro-copy p {
        font-size: 16px;
        line-height: 1.72;
    }

    .sm-services-cards-section {
        padding: 24px 0 72px;
    }

    .sm-services-card-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .sm-services-page .sm-service-card {
        border-radius: 24px;
    }

    .sm-service-card-content {
        padding: 26px 24px 30px;
    }

    .sm-services-cta-section {
        padding-bottom: 76px;
    }

    .sm-services-cta-box {
        padding: 34px 24px;
        border-radius: 26px;
    }

    .sm-services-cta-action .sm-button,
    .sm-services-cta-action .sm-button-primary {
        width: 100%;
    }
}

/* =========================================================
   19. FEES & PRACTICE INFORMATION PAGE TEMPLATE
========================================================= */

.king-practice-info-page {
    background:
        radial-gradient(circle at 12% 0%, rgba(143, 163, 109, 0.14), transparent 30%),
        linear-gradient(180deg, var(--sm-bg-lift) 0%, var(--sm-bg) 100%);
    color: var(--sm-text);
    overflow: hidden;
}

.king-practice-info-page .king-container {
    width: min(1120px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

/* ---------------------------------------------------------
   HERO / INTRO WITH PHOTO
--------------------------------------------------------- */

.king-practice-info-hero-section {
    padding: clamp(64px, 8vw, 104px) 0 42px;
}

.king-practice-info-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: clamp(30px, 5vw, 58px);
    align-items: center;
}

.king-practice-info-hero-copy {
    min-width: 0;
    padding: clamp(34px, 5vw, 58px);
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid rgba(79, 111, 69, 0.16);
    border-radius: 34px;
    box-shadow: 0 26px 76px rgba(31, 42, 36, 0.08);
}

.king-practice-info-hero-copy h2 {
    max-width: 780px;
    margin: 0;
    color: var(--sm-heading);
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.055em;
}

.king-practice-info-lead {
    max-width: 760px;
    margin: 24px 0 0;
}

.king-practice-info-lead p {
    margin: 0;
    color: var(--sm-muted);
    font-size: clamp(17px, 1.8vw, 20px);
    line-height: 1.78;
}

.king-practice-info-hero-media {
    position: relative;
    min-width: 0;
}

.king-practice-info-image-card {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.60), transparent 28%),
        linear-gradient(135deg, #dfe8d7 0%, #f8faf5 100%);
    border: 1px solid rgba(79, 111, 69, 0.16);
    box-shadow: var(--sm-shadow-medium);
}

.king-practice-info-image-card::before {
    content: "";
    position: absolute;
    inset: 18px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 26px;
    pointer-events: none;
}

.king-practice-info-image-card img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
    object-position: center;
}

.king-practice-info-image-placeholder {
    display: flex;
    min-height: 460px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 38px;
    text-align: center;
    color: var(--sm-primary-dark);
}

.king-practice-info-image-placeholder span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 20px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(79, 111, 69, 0.18);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.king-practice-info-image-placeholder p {
    max-width: 280px;
    margin: 0;
    color: var(--sm-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ---------------------------------------------------------
   RATE CARDS
--------------------------------------------------------- */

.king-practice-info-rates-section {
    padding: 20px 0 42px;
}

.king-practice-info-rates-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.king-practice-info-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    padding: clamp(34px, 4.4vw, 52px);
    background:
        radial-gradient(circle at 90% 0%, rgba(143, 163, 109, 0.13), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, var(--sm-surface-warm) 100%);
    border: 1px solid rgba(79, 111, 69, 0.16);
    border-radius: 34px;
    box-shadow: var(--sm-shadow-soft);
}

.king-practice-info-card-highlight {
    background:
        radial-gradient(circle at 12% 0%, rgba(143, 163, 109, 0.18), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f7faf3 100%);
    border-color: rgba(79, 111, 69, 0.24);
}

.king-practice-info-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: var(--sm-accent-soft);
    color: var(--sm-primary-dark);
    font-weight: 850;
    line-height: 1;
}

.king-practice-info-card-label {
    margin: 0 0 12px;
    color: var(--sm-primary-dark);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.king-practice-info-card h2 {
    margin: 0 0 18px;
    color: var(--sm-heading);
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.king-practice-info-copy p {
    margin: 0 0 16px;
    color: var(--sm-muted);
    font-size: 17px;
    line-height: 1.78;
}

.king-practice-info-copy p:last-child {
    margin-bottom: 0;
}

.king-practice-info-button,
.king-practice-info-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin-top: 24px;
    padding: 15px 24px;
    border-radius: 999px;
    background: var(--sm-primary);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(79, 111, 69, 0.20);
}

.king-practice-info-button:hover,
.king-practice-info-button:focus,
.king-practice-info-cta-button:hover,
.king-practice-info-cta-button:focus {
    background: var(--sm-primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(79, 111, 69, 0.24);
}

/* ---------------------------------------------------------
   FINAL CTA
--------------------------------------------------------- */

.king-practice-info-cta-section {
    padding: 0 0 clamp(76px, 8vw, 115px);
}

.king-practice-info-cta-card {
    position: relative;
    overflow: hidden;
    padding: clamp(42px, 6vw, 68px);
    background:
        radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.18), transparent 26%),
        linear-gradient(135deg, var(--sm-primary-dark) 0%, var(--sm-primary-deep) 100%);
    border-radius: 36px;
    box-shadow: var(--sm-shadow-strong);
    text-align: center;
}

.king-practice-info-cta-card .king-section-kicker {
    color: rgba(255, 255, 255, 0.76);
}

.king-practice-info-cta-card h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.king-practice-info-cta-text {
    max-width: 720px;
    margin: 22px auto 0;
}

.king-practice-info-cta-text p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.78;
}

.king-practice-info-cta-button {
    margin-top: 26px;
    background: #ffffff;
    color: var(--sm-primary-dark);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.king-practice-info-cta-button:hover,
.king-practice-info-cta-button:focus {
    background: var(--sm-accent-soft);
    color: var(--sm-primary-deep);
}

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 980px) {
    .king-practice-info-hero-grid,
    .king-practice-info-rates-grid {
        grid-template-columns: 1fr;
    }

    .king-practice-info-hero-copy {
        order: 1;
    }

    .king-practice-info-hero-media {
        order: 2;
    }

    .king-practice-info-image-card,
    .king-practice-info-image-card img,
    .king-practice-info-image-placeholder {
        min-height: 360px;
    }
}

@media (max-width: 720px) {
    .king-practice-info-page .king-container {
        width: min(100% - 30px, 1120px);
    }

    .king-practice-info-hero-section {
        padding-top: 52px;
    }

    .king-practice-info-hero-copy,
    .king-practice-info-card,
    .king-practice-info-image-card,
    .king-practice-info-cta-card {
        border-radius: 24px;
    }

    .king-practice-info-hero-copy {
        padding: 32px 24px;
    }

    .king-practice-info-hero-copy h2,
    .king-practice-info-card h2,
    .king-practice-info-cta-card h2 {
        font-size: clamp(28px, 9vw, 40px);
    }

    .king-practice-info-copy p,
    .king-practice-info-lead p,
    .king-practice-info-cta-text p {
        font-size: 16px;
    }

    .king-practice-info-button,
    .king-practice-info-cta-button {
        width: 100%;
    }

    .king-practice-info-image-card,
    .king-practice-info-image-card img,
    .king-practice-info-image-placeholder {
        min-height: 300px;
    }
}
/* ---------------------------------------------------------
   RATE CARDS
--------------------------------------------------------- */

.king-practice-info-rates-section {
    padding: 28px 0 34px;
}

.king-practice-info-rates-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.king-practice-info-card {
    position: relative;
    min-width: 0;
    padding: clamp(30px, 4vw, 44px);
    background: #ffffff;
    border: 1px solid rgba(79, 111, 69, 0.16);
    border-radius: 30px;
    box-shadow: var(--sm-shadow-soft);
    overflow: hidden;
}

.king-practice-info-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--sm-primary) 0%, var(--sm-accent) 100%);
}

.king-practice-info-card-highlight {
    background:
        radial-gradient(circle at top right, rgba(143, 163, 109, 0.16), transparent 36%),
        #ffffff;
}

.king-practice-info-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 24px;
    border-radius: 18px;
    background: var(--sm-accent-soft);
    color: var(--sm-primary-dark);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.08em;
}

.king-practice-info-card h2,
.king-practice-info-panel h2,
.king-practice-info-note h2,
.king-practice-info-risk-card h2,
.king-practice-info-cta-card h2 {
    margin: 0 0 18px;
    color: var(--sm-heading);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.king-practice-info-copy p,
.king-practice-info-text-flow p,
.king-practice-info-note p,
.king-practice-info-cta-text p {
    margin: 0 0 18px;
    color: var(--sm-muted);
    font-size: 16.5px;
    line-height: 1.82;
}

.king-practice-info-copy p:last-child,
.king-practice-info-text-flow p:last-child,
.king-practice-info-note p:last-child,
.king-practice-info-cta-text p:last-child {
    margin-bottom: 0;
}

/* ---------------------------------------------------------
   BUTTONS / LINKS
--------------------------------------------------------- */

.king-practice-info-button,
.king-practice-info-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 12px;
    padding: 14px 24px;
    border-radius: 999px;
    background: var(--sm-primary);
    color: #ffffff;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 14px 32px rgba(79, 111, 69, 0.18);
    transition: transform var(--sm-transition), background-color var(--sm-transition), box-shadow var(--sm-transition);
}

.king-practice-info-button:hover,
.king-practice-info-button:focus,
.king-practice-info-cta-button:hover,
.king-practice-info-cta-button:focus {
    background: var(--sm-primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(79, 111, 69, 0.24);
}

.king-practice-info-text-link {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    color: var(--sm-primary-dark);
    font-weight: 850;
    text-decoration: none;
}

.king-practice-info-text-link::after {
    content: "→";
    margin-left: 8px;
    transition: transform var(--sm-transition);
}

.king-practice-info-text-link:hover,
.king-practice-info-text-link:focus {
    color: var(--sm-primary);
}

.king-practice-info-text-link:hover::after,
.king-practice-info-text-link:focus::after {
    transform: translateX(4px);
}

/* ---------------------------------------------------------
   COMMUNICATION PANEL
--------------------------------------------------------- */

.king-practice-info-comms-section {
    padding: 0 0 34px;
}

.king-practice-info-panel,
.king-practice-info-risk-card {
    padding: clamp(34px, 5vw, 58px);
    background: #ffffff;
    border: 1px solid rgba(79, 111, 69, 0.16);
    border-radius: 34px;
    box-shadow: var(--sm-shadow-soft);
}

.king-practice-info-panel-heading {
    max-width: 820px;
    margin-bottom: 28px;
}

.king-practice-info-text-flow {
    columns: 2;
    column-gap: 54px;
}

.king-practice-info-text-flow p {
    break-inside: avoid;
}

/* ---------------------------------------------------------
   NOTES
--------------------------------------------------------- */

.king-practice-info-notes-section {
    padding: 0 0 34px;
}

.king-practice-info-notes-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.king-practice-info-note {
    min-width: 0;
    padding: clamp(30px, 4vw, 42px);
    background: #ffffff;
    border: 1px solid rgba(79, 111, 69, 0.16);
    border-radius: 30px;
    box-shadow: var(--sm-shadow-soft);
}

.king-practice-info-emergency-note {
    background:
        linear-gradient(135deg, rgba(130, 19, 21, 0.045), rgba(255, 255, 255, 0.96)),
        #ffffff;
    border-color: rgba(130, 19, 21, 0.16);
}

/* ---------------------------------------------------------
   RISK SECTION
--------------------------------------------------------- */

.king-practice-info-risk-section {
    padding: 0 0 38px;
}

.king-practice-info-risk-card {
    background:
        radial-gradient(circle at top left, rgba(143, 163, 109, 0.14), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, var(--sm-surface-warm) 100%);
}

/* ---------------------------------------------------------
   FINAL CTA
--------------------------------------------------------- */

.king-practice-info-cta-section {
    padding: 0 0 clamp(76px, 8vw, 115px);
}

.king-practice-info-cta-card {
    position: relative;
    overflow: hidden;
    padding: clamp(42px, 6vw, 68px);
    background:
        radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.18), transparent 26%),
        linear-gradient(135deg, var(--sm-primary-dark) 0%, var(--sm-primary-deep) 100%);
    border-radius: 36px;
    box-shadow: var(--sm-shadow-strong);
    text-align: center;
}

.king-practice-info-cta-card .king-section-kicker {
    color: rgba(255, 255, 255, 0.76);
}

.king-practice-info-cta-card h2 {
    color: #ffffff;
}

.king-practice-info-cta-text {
    max-width: 720px;
    margin: 0 auto;
}

.king-practice-info-cta-text p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
}

.king-practice-info-cta-button {
    margin-top: 24px;
    background: #ffffff;
    color: var(--sm-primary-dark);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.king-practice-info-cta-button:hover,
.king-practice-info-cta-button:focus {
    background: var(--sm-accent-soft);
    color: var(--sm-primary-deep);
}

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 980px) {
    .king-practice-info-rates-grid,
    .king-practice-info-notes-grid {
        grid-template-columns: 1fr;
    }

    .king-practice-info-text-flow {
        columns: 1;
    }
}

@media (max-width: 720px) {
    .king-practice-info-intro-section {
        padding-top: 52px;
    }

    .king-practice-info-intro-card,
    .king-practice-info-card,
    .king-practice-info-panel,
    .king-practice-info-note,
    .king-practice-info-risk-card,
    .king-practice-info-cta-card {
        border-radius: 24px;
    }

    .king-practice-info-card h2,
    .king-practice-info-panel h2,
    .king-practice-info-note h2,
    .king-practice-info-risk-card h2,
    .king-practice-info-cta-card h2 {
        font-size: clamp(25px, 8vw, 34px);
    }

    .king-practice-info-copy p,
    .king-practice-info-text-flow p,
    .king-practice-info-note p,
    .king-practice-info-cta-text p {
        font-size: 16px;
    }

    .king-practice-info-button,
    .king-practice-info-cta-button {
        width: 100%;
    }
}

/* =========================================================
   20. MEDICAL MEDIA SIDEBAR
========================================================= */
.medical-media-sidebar {
    width: 100%;
}

.medical-sidebar-card {
    background: #ffffff;
    border: 1px solid var(--sm-border);
    border-radius: 22px;
    padding: 26px 24px;
    margin-bottom: 24px;
    box-shadow: var(--sm-shadow-soft);
}

.medical-sidebar-title {
    margin: 0 0 18px;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 750;
    color: var(--sm-heading);
}

.medical-sidebar-post-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.medical-sidebar-post {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--sm-border);
}

.medical-sidebar-post:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.medical-sidebar-post-link {
    display: block;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 650;
    color: var(--sm-heading);
    text-decoration: none;
}

.medical-sidebar-post-link:hover,
.medical-sidebar-post-link:focus {
    color: var(--sm-primary);
}

/* =========================================================
   PREMIUM FOOTER
========================================================= */

.site-footer {
    background: #2f3b2f;
    color: rgba(255, 255, 255, 0.78);
    padding: 76px 0 0;
    margin-top: 0;
}

.site-footer .site-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 34px;
}

.site-footer-top {
    padding-bottom: 52px;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: minmax(230px, 1.35fr) repeat(5, minmax(125px, 1fr));
    gap: 34px;
    align-items: start;
}

.footer-column {
    min-width: 0;
}

.footer-branding {
    max-width: 315px;
}

.footer-logo {
    margin-bottom: 22px;
}

.footer-logo img {
    display: block;
    max-width: 190px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.72;
}

.footer-site-title {
    display: inline-block;
    color: #ffffff;
    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 18px;
}

.footer-brand-text,
.footer-cta-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.96rem;
    line-height: 1.8;
    letter-spacing: 0.01em;
}

.footer-heading {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 760;
    letter-spacing: 0.03em;
}

.footer-menu,
.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin: 0 0 13px;
}

.footer-menu li:last-child {
    margin-bottom: 0;
}

.footer-menu a,
.footer-contact-list a,
.site-footer-credit a {
    color: rgba(226, 198, 226, 0.92);
    text-decoration: none;
    transition: color 0.22s ease, opacity 0.22s ease;
}

.footer-menu a:hover,
.footer-menu a:focus,
.footer-contact-list a:hover,
.footer-contact-list a:focus,
.site-footer-credit a:hover,
.site-footer-credit a:focus {
    color: #ffffff;
}

.footer-contact-list li {
    margin-bottom: 16px;
}

.footer-contact-list li:last-child {
    margin-bottom: 0;
}

.footer-contact-label {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.74rem;
    line-height: 1.4;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.footer-contact-text {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    line-height: 1.65;
}

.footer-cta-text {
    margin-top: 20px;
    max-width: 250px;
}

.footer-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
    padding: 13px 22px;
    border-radius: 999px;
    background: #f7f4ee;
    color: #2f3b2f;
    font-size: 0.9rem;
    line-height: 1;
    font-weight: 760;
    text-decoration: none;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
    transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.footer-cta-button:hover,
.footer-cta-button:focus {
    background: #ffffff;
    color: #1f291f;
    transform: translateY(-2px);
}

.site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    padding: 22px 0;
}

.site-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-footer-copy,
.site-footer-credit {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    line-height: 1.6;
}

.site-footer-credit {
    text-align: right;
}

/* Footer tablet */
@media (max-width: 1180px) {
    .site-footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 42px 34px;
    }

    .footer-column-brand {
        grid-column: span 3;
    }

    .footer-branding {
        max-width: 620px;
    }
}

/* Footer mobile */
@media (max-width: 767px) {
    .site-footer {
        padding-top: 58px;
    }

    .site-footer .site-container {
        padding: 0 24px;
    }

    .site-footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-column-brand {
        grid-column: auto;
    }

    .footer-branding,
    .footer-cta-text {
        max-width: none;
    }

    .footer-heading {
        margin-bottom: 14px;
    }

    .footer-menu li {
        margin-bottom: 10px;
    }

    .site-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .site-footer-credit {
        text-align: left;
    }
} 

/* =========================================================
   22. WORDPRESS DEFAULTS
========================================================= */
.alignleft {
    float: left;
    margin: 0 24px 20px 0;
}

.alignright {
    float: right;
    margin: 0 0 20px 24px;
}

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

.wp-caption {
    max-width: 100%;
}

.wp-caption-text,
.gallery-caption {
    margin-top: 8px;
    color: var(--sm-muted);
    font-size: 0.92rem;
}

.sticky,
.bypostauthor {
    display: block;
}

/* =========================================================
   23. RESPONSIVE
========================================================= */
@media (max-width: 1500px) {
    .site-footer-grid {
        grid-template-columns: 1.45fr 0.95fr 0.95fr 1.1fr 1fr 1.05fr;
        gap: 24px;
    }
}

@media (max-width: 1320px) {
    .site-footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px 28px;
    }

    .footer-column-brand {
        grid-column: 1 / -1;
        max-width: 760px;
        padding-right: 0;
    }
}

@media (max-width: 1180px) {
    .header-inner {
        gap: 18px;
    }

    .main-navigation ul,
    .primary-menu,
    .main-navigation .menu {
        gap: 20px;
    }

    .custom-logo,
    .site-logo img {
        max-height: 108px;
    }

    .sm-services-grid,
    .sm-procedures-grid,
    .sm-featured-services .sm-services-grid,
    .sm-featured-services .sm-procedures-grid,
    .blog-posts-list,
    .archive-posts-list,
    .services-page-grid,
    .procedures-overview-grid,
    .procedures-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm-trust-strip-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .sm-home-about-grid,
    .sm-about-grid,
    .procedures-special-interest-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .procedures-special-interest-image {
        max-width: 580px;
    }

    .services-page-intro-card,
    .services-page-content-card,
    .services-page-cta-card {
        padding-left: 34px;
        padding-right: 34px;
    }
}

@media (max-width: 900px) {
    .top-bar-inner {
        justify-content: center;
        text-align: center;
    }

    .top-bar-left,
    .top-bar-right {
        justify-content: center;
    }

    .site-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 24px;
    }

    .footer-column-brand {
        grid-column: 1 / -1;
    }

    .site-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    body.mobile-menu-open {
        overflow-x: hidden;
    }

    .site-container,
    .container,
    .container-wide,
    .blog-home-template .container,
    .archive-template .container,
    .single-post-main .container {
        width: min(100% - 24px, var(--sm-container));
    }

    .site-header {
        position: relative;
        z-index: 1000;
    }

    .top-bar {
        font-size: 12px;
    }

    .top-bar-inner {
        padding: 9px 0;
        gap: 8px 12px;
    }

    .top-bar-contact {
        font-size: 12px;
        white-space: normal;
    }

    .header-inner {
        position: relative;
        min-height: 76px;
        padding: 10px 0;
        gap: 14px;
    }

    .site-branding {
        flex: 1 1 auto;
        min-width: 0;
    }

    .site-logo img,
    .custom-logo {
        max-width: 190px;
        max-height: 92px;
        height: auto;
    }

    .nav-toggle {
        display: flex !important;
        flex: 0 0 44px;
    }

    .header-navigation-wrap {
        display: none !important;
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        width: 100%;
        background: #ffffff;
        border: 1px solid var(--sm-border);
        border-radius: 22px;
        padding: 18px;
        box-shadow: var(--sm-shadow-strong);
        z-index: 1001;
    }

    .header-navigation-wrap.is-open {
        display: block !important;
    }

    .main-navigation {
        width: 100%;
    }

    .main-navigation ul,
    .primary-menu,
    .main-navigation .menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .main-navigation li,
    .primary-menu li,
    .main-navigation .menu li {
        width: 100%;
        border-bottom: 1px solid rgba(47, 74, 50, 0.10);
    }

    .main-navigation li:last-child,
    .primary-menu li:last-child,
    .main-navigation .menu li:last-child {
        border-bottom: 0;
    }

    .main-navigation a,
    .primary-menu a,
    .main-navigation .menu a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 13px 4px;
        color: var(--sm-heading);
        white-space: normal;
    }

    .main-navigation a::after,
    .primary-menu a::after,
    .main-navigation .menu a::after {
        display: none;
    }

    .main-navigation .menu-item-has-children > a,
    .main-navigation .page_item_has_children > a {
        padding-right: 4px;
    }

    .main-navigation .menu-item-has-children > a::before,
    .main-navigation .page_item_has_children > a::before {
        display: none;
    }

    .main-navigation .menu-item-has-children > a::after,
    .main-navigation .page_item_has_children > a::after {
        content: "+";
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: 10px;
        font-size: 18px;
        line-height: 1;
        font-weight: 750;
        position: static;
        width: auto;
        height: auto;
        background: none;
        transform: none;
        opacity: 1;
    }

    .main-navigation .menu-item-has-children.submenu-open > a::after,
    .main-navigation .page_item_has_children.submenu-open > a::after {
        content: "–";
    }

    .main-navigation .sub-menu,
    .main-navigation ul ul {
        display: none;
        position: static;
        min-width: 0;
        width: 100%;
        margin: 0;
        padding: 0 0 10px 14px;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .main-navigation .submenu-open > .sub-menu,
    .main-navigation .submenu-open > ul {
        display: block;
    }

    .main-navigation .sub-menu li,
    .main-navigation ul ul li {
        border-bottom: 0;
    }

    .main-navigation .sub-menu a,
    .main-navigation ul ul a {
        padding: 9px 0;
        font-size: 0.95rem;
        color: var(--sm-muted);
        background: transparent;
    }

    .header-actions {
        width: 100%;
        margin-top: 16px;
    }

    .header-cta-button {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .sm-hero {
        min-height: 560px;
        padding: 68px 0;
        background-position: 68% center;
    }

    .sm-hero::before {
        background: linear-gradient(90deg, rgba(21, 35, 27, 0.86) 0%, rgba(21, 35, 27, 0.72) 58%, rgba(21, 35, 27, 0.48) 100%);
    }

    .sm-hero-title {
        max-width: 12ch;
        font-size: clamp(2.05rem, 10vw, 3.25rem);
        line-height: 1.02;
    }

    .sm-hero-text {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.75;
    }

    .sm-hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .sm-hero .sm-button,
    .sm-hero .sm-button-primary,
    .sm-hero .sm-button-secondary {
        width: 100%;
        min-width: 0;
    }

    .sm-home-intro,
    .sm-home-about,
    .sm-section,
    .sm-featured-services.sm-services-section,
    .sm-services-section,
    .sm-featured-services,
    .procedures-overview-intro,
    .procedures-overview-grid-section,
    .procedures-special-interest,
    .procedures-values-section,
    .procedures-overview-cta {
        padding: 64px 0;
    }

    .sm-section-title,
    .sm-section-heading h2,
    .sm-featured-services .sm-section-title,
    .sm-featured-services .sm-section-heading h2,
    .sm-services-section .sm-section-title,
    .sm-services-section .sm-section-heading h2 {
        font-size: clamp(1.85rem, 8vw, 2.55rem);
    }

    .sm-featured-services .sm-section-heading,
    .sm-services-section .sm-section-heading {
        margin-bottom: 34px;
    }

    .sm-section-text,
    .sm-featured-services .sm-section-text p,
    .sm-featured-services .sm-section-heading p,
    .sm-services-section .sm-section-text p,
    .sm-services-section .sm-section-heading p {
        font-size: 1rem;
        line-height: 1.78;
    }

    .sm-services-grid,
    .sm-procedures-grid,
    .sm-featured-services .sm-services-grid,
    .sm-featured-services .sm-procedures-grid,
    .blog-posts-list,
    .archive-posts-list,
    .services-page-grid,
    .procedures-overview-grid,
    .procedures-values-grid,
    .sm-trust-strip-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .sm-service-card,
    .sm-procedure-card,
    .sm-featured-services .sm-service-card,
    .sm-featured-services .sm-procedure-card {
        padding: 28px 24px 26px;
        border-radius: 24px;
    }

    .sm-service-card:hover,
    .sm-service-card:focus-within,
    .sm-procedure-card:hover,
    .sm-procedure-card:focus-within,
    .sm-featured-services .sm-service-card:hover,
    .sm-featured-services .sm-service-card:focus-within,
    .sm-featured-services .sm-procedure-card:hover,
    .sm-featured-services .sm-procedure-card:focus-within {
        transform: translateY(-3px);
    }

    .sm-trust-strip {
        padding: 30px 0;
    }

    .sm-cta-section {
        padding: 56px 0;
    }

    .sm-cta-box,
    .services-page-cta-card,
    .procedures-overview-cta-card {
        padding: 40px 24px;
        border-radius: 26px;
    }

    .sm-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .sm-cta-box .sm-button,
    .sm-cta-box .sm-button-primary,
    .sm-cta-box .sm-button-secondary {
        width: 100%;
        min-width: 0;
    }

    .sm-page-banner,
    .inner-page-banner {
        min-height: 230px;
        padding: 58px 0 52px;
    }

    .sm-page-banner-title,
    .inner-page-banner-title {
        font-size: clamp(1.9rem, 8vw, 2.8rem);
    }

    .sm-page-banner-text,
    .inner-page-banner-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .default-page-template {
        padding-bottom: 72px;
    }

    .default-page-template > .container {
        padding: 0;
    }

    .default-page-template article.page-entry {
        margin-top: -28px;
        padding: 34px 22px 38px;
        border-radius: 20px;
    }

    .default-page-template .entry-title {
        font-size: 1.85rem;
    }

    .services-page-intro-section {
        padding: 40px 0 18px;
    }

    .services-page-intro-card,
    .services-page-content-card {
        padding: 34px 24px;
        border-radius: 24px;
    }

    .services-page-grid-section {
        padding-top: 20px;
    }

    .services-page-card-inner {
        padding: 30px 24px 26px;
        border-radius: 24px;
    }

    .single-post-main {
        padding: 34px 0 70px;
    }

    .single-post-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
        line-height: 1.06;
    }

    .single-post-content-wrap,
    .single-post-header-inner {
        max-width: 100%;
    }

    .single-post-featured-image img {
        aspect-ratio: 16 / 10;
    }

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

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

    .single-post-comments-wrap {
        padding: 24px 20px 26px;
        border-radius: 18px;
    }

    .blog-home-template,
    .archive-template {
        padding-bottom: 75px;
    }

    .blog-archive-content-section {
        padding: 28px 0 70px;
    }

    .source-matrix-post-card-body {
        padding: 20px 20px 22px;
    }

    .source-matrix-post-card-title {
        font-size: clamp(1.45rem, 7vw, 2rem);
    }

    .site-footer-top {
        padding: 50px 0 32px;
    }

    .site-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-column-brand {
        grid-column: auto;
    }

    .footer-logo img,
    .footer-logo .custom-logo {
        max-width: 210px;
    }
}

@media (max-width: 480px) {
    .site-container,
    .container,
    .container-wide,
    .blog-home-template .container,
    .archive-template .container,
    .single-post-main .container {
        width: min(100% - 20px, var(--sm-container));
    }

    .top-bar-text {
        white-space: normal;
    }

    .site-logo img,
    .custom-logo {
        max-width: 170px;
        max-height: 82px;
    }

    .sm-hero {
        min-height: 520px;
        padding: 58px 0;
    }

    .sm-hero-title {
        font-size: clamp(1.95rem, 11vw, 2.85rem);
    }

    .sm-service-card,
    .sm-procedure-card,
    .sm-featured-services .sm-service-card,
    .sm-featured-services .sm-procedure-card,
    .services-page-card-inner {
        padding-left: 22px;
        padding-right: 22px;
    }

    .sm-home-intro,
    .sm-home-about,
    .sm-section,
    .sm-featured-services.sm-services-section,
    .sm-services-section,
    .sm-featured-services {
        padding: 56px 0;
    }

    .default-page-template article.page-entry,
    .services-page-intro-card,
    .services-page-content-card {
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-legal-menu {
        gap: 10px 14px;
    }
}

/* =========================================================
DR KING ABOUT PAGE
Customizer-managed page-about.php styling
========================================================= */

.king-container {
width: min(1120px, calc(100% - 40px));
margin-left: auto;
margin-right: auto;
}

/* ---------------------------------------------------------
INNER PAGE BANNER
--------------------------------------------------------- */

.sm-page-banner {
position: relative;
isolation: isolate;
display: flex;
align-items: center;
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
overflow: hidden;
padding: 80px 0;
}

.sm-page-banner::after {
content: "";
position: absolute;
inset: 0;
z-index: 1;
background: linear-gradient(
90deg,
rgba(28, 43, 32, 0.72) 0%,
rgba(28, 43, 32, 0.48) 42%,
rgba(28, 43, 32, 0.28) 100%
);
pointer-events: none;
}


.sm-page-banner-overlay {
position: absolute;
inset: 0;
z-index: 0;
}

.sm-page-banner-inner {
position: relative;
z-index: 2;
max-width: 720px;
}

.sm-page-banner-left .sm-page-banner-inner {
text-align: left;
}

.sm-page-banner-center .sm-page-banner-inner {
text-align: center;
}

.sm-page-banner-right .sm-page-banner-inner {
text-align: right;
margin-left: auto;
}

.page-banner-title {
margin: 0;
color: #ffffff;
font-size: clamp(42px, 6vw, 76px);
line-height: 1;
font-weight: 800;
letter-spacing: -0.05em;
text-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.page-banner-excerpt {
margin: 20px 0 0;
max-width: 720px;
color: rgba(255, 255, 255, 0.92);
font-size: clamp(17px, 2vw, 21px);
line-height: 1.7;
}
/* Banner compatibility for all page templates */
.sm-page-banner-content,
.sm-page-banner-inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.sm-page-banner-align-left .sm-page-banner-content,
.sm-page-banner-left .sm-page-banner-inner {
    text-align: left;
}

.sm-page-banner-align-center .sm-page-banner-content,
.sm-page-banner-center .sm-page-banner-inner {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.sm-page-banner-align-right .sm-page-banner-content,
.sm-page-banner-right .sm-page-banner-inner {
    text-align: right;
    margin-left: auto;
}

.page-banner-kicker {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

/* ---------------------------------------------------------
ABOUT PAGE BASE
--------------------------------------------------------- */

.king-about-page {
background:
radial-gradient(circle at top left, rgba(127, 143, 99, 0.16), transparent 34%),
linear-gradient(180deg, #f7f4ed 0%, #f2efe7 100%);
color: #263528;
overflow: hidden;
}

.king-about-page section {
position: relative;
}

.king-section-kicker {
margin: 0 0 10px;
color: #6d7d55;
font-size: 13px;
font-weight: 800;
letter-spacing: 0.14em;
line-height: 1.4;
text-transform: uppercase;
}

.king-about-title,
.king-about-section-heading h2,
.king-about-approach-card h2,
.king-about-support-copy h2,
.king-about-cta-copy h2 {
color: #1e2d22;
letter-spacing: -0.035em;
}

.king-about-title {
margin: 0;
font-size: clamp(38px, 5vw, 68px);
line-height: 1.02;
font-weight: 800;
}

.king-about-subtitle {
margin: 16px 0 0;
color: #50633f;
font-size: 20px;
font-weight: 700;
}

.king-about-lead {
margin: 28px 0 0;
max-width: 760px;
color: #2f3f32;
font-size: clamp(18px, 2.2vw, 23px);
line-height: 1.65;
font-weight: 500;
}

.king-about-body {
margin-top: 24px;
max-width: 820px;
color: #405044;
font-size: 17px;
line-height: 1.85;
}

.king-about-body p {
margin: 0 0 18px;
}

.king-about-body p:last-child {
margin-bottom: 0;
}

.king-about-quote {
position: relative;
margin: 34px 0 0;
padding: 26px 30px;
max-width: 780px;
background: rgba(255, 255, 255, 0.78);
border-left: 5px solid #7f8f63;
border-radius: 0 22px 22px 0;
box-shadow: 0 22px 55px rgba(38, 53, 40, 0.09);
color: #2f3f32;
font-size: 20px;
line-height: 1.65;
font-weight: 600;
}

/* ---------------------------------------------------------
HERO INTRO
--------------------------------------------------------- */

.king-about-hero-section {
padding: clamp(70px, 8vw, 115px) 0;
}

.king-about-hero-grid {
display: grid;
grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.85fr);
gap: clamp(42px, 6vw, 76px);
align-items: start;
}

.king-about-hero-copy {
min-width: 0;
}

.king-about-profile-card {
position: sticky;
top: 110px;
overflow: hidden;
background: rgba(255, 255, 255, 0.82);
border: 1px solid rgba(80, 99, 63, 0.16);
border-radius: 34px;
box-shadow: 0 28px 70px rgba(38, 53, 40, 0.13);
}

.king-about-profile-image-wrap {
position: relative;
overflow: hidden;
aspect-ratio: 4 / 5;
background: #d9dece;
}

.king-about-profile-image {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}

.king-about-profile-content {
padding: 28px;
}

.king-about-profile-label {
display: inline-flex;
margin-bottom: 12px;
padding: 7px 12px;
border-radius: 999px;
background: rgba(127, 143, 99, 0.15);
color: #50633f;
font-size: 12px;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
}

.king-about-profile-content strong {
display: block;
color: #1f2f24;
font-size: 25px;
line-height: 1.2;
}

.king-about-profile-list {
display: grid;
gap: 10px;
margin: 22px 0 0;
padding: 0;
list-style: none;
}

.king-about-profile-list li {
position: relative;
padding-left: 24px;
color: #465547;
font-size: 15px;
line-height: 1.55;
}

.king-about-profile-list li::before {
content: "";
position: absolute;
left: 0;
top: 0.65em;
width: 8px;
height: 8px;
border-radius: 50%;
background: #7f8f63;
}

/* ---------------------------------------------------------
QUALIFICATIONS
--------------------------------------------------------- */

.king-about-qualifications-section {
padding: clamp(64px, 8vw, 105px) 0;
background: rgba(255, 255, 255, 0.42);
}

.king-about-split {
display: grid;
grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
gap: clamp(34px, 5vw, 72px);
align-items: start;
}

.king-about-section-heading h2 {
margin: 0;
max-width: 470px;
font-size: clamp(30px, 4vw, 46px);
line-height: 1.08;
font-weight: 800;
}

.king-about-section-heading-centred {
margin: 0 auto 42px;
max-width: 720px;
text-align: center;
}

.king-about-section-heading-centred h2 {
margin-left: auto;
margin-right: auto;
}

.king-about-qualification-card {
padding: clamp(30px, 4vw, 46px);
background: #fffdf8;
border: 1px solid rgba(80, 99, 63, 0.15);
border-radius: 30px;
box-shadow: 0 24px 65px rgba(38, 53, 40, 0.09);
}

.king-about-qualification-list {
display: grid;
gap: 16px;
margin: 0;
padding: 0;
list-style: none;
}

.king-about-qualification-list li {
position: relative;
padding: 16px 18px 16px 52px;
background: #f6f3ed;
border: 1px solid rgba(80, 99, 63, 0.11);
border-radius: 18px;
color: #344637;
font-size: 16px;
line-height: 1.55;
font-weight: 600;
}

.king-about-qualification-list li::before {
content: "✓";
position: absolute;
left: 18px;
top: 50%;
transform: translateY(-50%);
display: grid;
place-items: center;
width: 24px;
height: 24px;
border-radius: 999px;
background: #7f8f63;
color: #ffffff;
font-size: 13px;
font-weight: 800;
}

/* ---------------------------------------------------------
TIMELINE
--------------------------------------------------------- */

.king-about-timeline-section {
padding: clamp(70px, 8vw, 115px) 0;
}

.king-about-timeline {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 22px;
}

.king-about-timeline-item {
position: relative;
padding: 30px;
min-height: 230px;
background: rgba(255, 255, 255, 0.82);
border: 1px solid rgba(80, 99, 63, 0.15);
border-radius: 28px;
box-shadow: 0 22px 55px rgba(38, 53, 40, 0.08);
}

.king-about-timeline-year {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 76px;
margin-bottom: 20px;
padding: 8px 14px;
border-radius: 999px;
background: #2f3b2f;
color: #ffffff;
font-size: 13px;
font-weight: 800;
letter-spacing: 0.06em;
}

.king-about-timeline-item h3 {
margin: 0 0 12px;
color: #1f2f24;
font-size: 21px;
line-height: 1.25;
}

.king-about-timeline-item p {
margin: 0;
color: #4b5a4d;
font-size: 15.5px;
line-height: 1.7;
}

/* ---------------------------------------------------------
APPROACH
--------------------------------------------------------- */

.king-about-approach-section {
padding: clamp(66px, 8vw, 105px) 0;
}

.king-about-approach-card {
display: grid;
grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
gap: clamp(28px, 5vw, 68px);
align-items: center;
padding: clamp(34px, 5vw, 58px);
background:
linear-gradient(135deg, rgba(47, 59, 47, 0.96), rgba(80, 99, 63, 0.95)),
radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 34%);
border-radius: 34px;
box-shadow: 0 30px 80px rgba(38, 53, 40, 0.18);
}

.king-about-approach-card .king-section-kicker,
.king-about-approach-card h2,
.king-about-approach-card p {
color: #ffffff;
}

.king-about-approach-card h2 {
margin: 0;
font-size: clamp(30px, 4vw, 44px);
line-height: 1.08;
}

.king-about-approach-card p {
margin: 0;
max-width: 720px;
color: rgba(255, 255, 255, 0.88);
font-size: 18px;
line-height: 1.75;
}

/* ---------------------------------------------------------
PRACTICE SUPPORT / PAMMIE
--------------------------------------------------------- */

.king-about-support-section {
padding: clamp(66px, 8vw, 105px) 0;
background: rgba(255, 255, 255, 0.4);
}

.king-about-support-card {
display: grid;
grid-template-columns: minmax(250px, 0.55fr) minmax(0, 1fr);
gap: clamp(30px, 5vw, 68px);
align-items: center;
padding: clamp(26px, 4vw, 42px);
background: #fffdf8;
border: 1px solid rgba(80, 99, 63, 0.15);
border-radius: 34px;
box-shadow: 0 30px 76px rgba(38, 53, 40, 0.1);
}

.king-about-support-image-wrap {
overflow: hidden;
aspect-ratio: 4 / 4.6;
background: #d9dece;
border-radius: 26px;
}

.king-about-support-image {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}

.king-about-support-placeholder {
width: 100%;
height: 100%;
background:
radial-gradient(circle at 35% 28%, rgba(127, 143, 99, 0.34), transparent 24%),
linear-gradient(135deg, #e7e2d6, #ccd4c1);
}

.king-about-support-copy h2 {
margin: 0;
font-size: clamp(30px, 4vw, 46px);
line-height: 1.08;
}

.king-about-support-role {
margin: 12px 0 22px;
color: #50633f;
font-size: 18px;
font-weight: 800;
}

.king-about-support-copy p:not(.king-section-kicker):not(.king-about-support-role) {
margin: 0;
max-width: 730px;
color: #405044;
font-size: 17px;
line-height: 1.8;
}

.king-about-support-links {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 28px;
}

.king-about-support-links a {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 46px;
padding: 12px 18px;
border-radius: 999px;
background: #f0ede4;
color: #2f3b2f;
font-weight: 800;
text-decoration: none;
transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.king-about-support-links a:hover,
.king-about-support-links a:focus {
transform: translateY(-2px);
background: #7f8f63;
color: #ffffff;
}

/* ---------------------------------------------------------
FINAL CTA
--------------------------------------------------------- */

.king-about-cta-section {
padding: clamp(70px, 8vw, 110px) 0;
}

.king-about-cta-card {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 34px;
align-items: center;
padding: clamp(34px, 5vw, 58px);
background:
linear-gradient(135deg, #fffdf8 0%, #f2efe7 100%);
border: 1px solid rgba(80, 99, 63, 0.16);
border-radius: 34px;
box-shadow: 0 28px 76px rgba(38, 53, 40, 0.11);
}

.king-about-cta-copy h2 {
margin: 0;
font-size: clamp(30px, 4vw, 46px);
line-height: 1.08;
}

.king-about-cta-copy p:not(.king-section-kicker) {
margin: 16px 0 0;
max-width: 700px;
color: #435347;
font-size: 17px;
line-height: 1.75;
}

.king-about-cta-actions {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
gap: 12px;
}

.king-about-page .sm-button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 52px;
padding: 14px 24px;
border: 2px solid transparent;
border-radius: 999px;
font-size: 15px;
font-weight: 800;
line-height: 1;
text-decoration: none;
transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.king-about-page .sm-button:hover,
.king-about-page .sm-button:focus {
transform: translateY(-2px);
}

.king-about-page .sm-button-primary {
background: #50633f;
color: #ffffff;
}

.king-about-page .sm-button-primary:hover,
.king-about-page .sm-button-primary:focus {
background: #2f3b2f;
color: #ffffff;
}

.king-about-page .sm-button-secondary {
background: transparent;
border-color: #50633f;
color: #50633f;
}

.king-about-page .sm-button-secondary:hover,
.king-about-page .sm-button-secondary:focus {
background: #50633f;
color: #ffffff;
}

/* ---------------------------------------------------------
RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 1024px) {
.king-about-hero-grid,
.king-about-split,
.king-about-approach-card,
.king-about-support-card,
.king-about-cta-card {
grid-template-columns: 1fr;
}

.king-about-profile-card {
    position: relative;
    top: auto;
    max-width: 520px;
}

.king-about-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.king-about-cta-actions {
    justify-content: flex-start;
}

}

@media (max-width: 767px) {
.king-container {
width: min(100% - 30px, 1120px);
}

.sm-page-banner {
    padding: 58px 0;
    background-position: center center;
}

.page-banner-title {
    font-size: clamp(38px, 13vw, 54px);
}

.page-banner-excerpt {
    font-size: 16px;
}

.king-about-hero-section,
.king-about-qualifications-section,
.king-about-timeline-section,
.king-about-approach-section,
.king-about-support-section,
.king-about-cta-section {
    padding: 58px 0;
}

.king-about-title {
    font-size: clamp(36px, 12vw, 52px);
}

.king-about-subtitle {
    font-size: 18px;
}

.king-about-lead {
    font-size: 18px;
}

.king-about-body {
    font-size: 16px;
    line-height: 1.75;
}

.king-about-quote {
    padding: 22px;
    font-size: 17px;
}

.king-about-profile-card,
.king-about-qualification-card,
.king-about-approach-card,
.king-about-support-card,
.king-about-cta-card {
    border-radius: 26px;
}

.king-about-timeline {
    grid-template-columns: 1fr;
}

.king-about-timeline-item {
    min-height: auto;
}

.king-about-approach-card,
.king-about-support-card,
.king-about-cta-card {
    padding: 28px;
}

.king-about-support-image-wrap {
    max-width: 360px;
}

.king-about-support-links,
.king-about-cta-actions {
    flex-direction: column;
    align-items: stretch;
}

.king-about-support-links a,
.king-about-page .sm-button {
    width: 100%;
}

}

@media (max-width: 480px) {
.king-container {
width: min(100% - 24px, 1120px);
}

.king-about-profile-content,
.king-about-timeline-item {
    padding: 24px;
}

.king-about-qualification-list li {
    padding: 15px 16px 15px 48px;
}

}

/* =========================================================
  24. CONTACT PAGE TEMPLATE — DR KING
========================================================= */

.dr-contact-page {
    background:
        radial-gradient(circle at 12% 0%, rgba(143, 163, 109, 0.14), transparent 30%),
        linear-gradient(180deg, var(--sm-bg-lift) 0%, var(--sm-bg) 100%);
    color: var(--sm-text);
    overflow: hidden;
}

.dr-contact-page .container {
    width: min(1180px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

.dr-contact-section-kicker {
    display: inline-block;
    margin: 0 0 14px;
    color: rgba(23, 53, 31, 0.62);
    font-size: 0.78rem;
    font-weight: 820;
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Intro */

.dr-contact-intro-section {
    padding: clamp(62px, 8vw, 100px) 0 34px;
}

.dr-contact-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 28px;
    align-items: stretch;
}

.dr-contact-intro-copy,
.dr-contact-appointment-card,
.dr-contact-practice-card,
.dr-contact-map-panel,
.dr-contact-hospital-card,
.dr-contact-page-content,
.dr-contact-final-cta {
    background: #ffffff;
    border: 1px solid rgba(23, 53, 31, 0.10);
    border-radius: 34px;
    box-shadow: 0 22px 55px rgba(20, 38, 26, 0.08);
}

.dr-contact-intro-copy {
    padding: clamp(38px, 5vw, 58px);
}

.dr-contact-intro-copy h2 {
    max-width: 780px;
    margin: 0;
    color: var(--sm-heading, #102518);
    font-size: clamp(2.35rem, 5vw, 4.15rem);
    line-height: 1.05;
    font-weight: 820;
    letter-spacing: -0.055em;
}

.dr-contact-intro-text {
    max-width: 720px;
    margin-top: 24px;
}

.dr-contact-intro-text p {
    margin: 0;
    color: var(--sm-muted, #506054);
    font-size: 1.06rem;
    line-height: 1.78;
}

/* Appointment Card */

.dr-contact-appointment-card {
    padding: clamp(34px, 4vw, 46px);
    background:
        radial-gradient(circle at 90% 0%, rgba(255, 255, 255, 0.20), transparent 30%),
        linear-gradient(135deg, var(--sm-primary-dark, #2f4a32) 0%, var(--sm-primary-deep, #223426) 100%);
    color: #ffffff;
}

.dr-contact-appointment-card .dr-contact-section-kicker,
.dr-contact-appointment-card h3,
.dr-contact-appointment-card p,
.dr-contact-appointment-card a {
    color: #ffffff;
}

.dr-contact-appointment-card h3 {
    margin: 0 0 24px;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.dr-contact-quick-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.dr-contact-quick-list li {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 18px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.dr-contact-quick-list span {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.76rem;
    font-weight: 820;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.dr-contact-quick-list a {
    font-weight: 780;
    overflow-wrap: anywhere;
}

.dr-contact-quick-list a:hover {
    text-decoration: underline;
}

/* Buttons */

.dr-contact-card-actions,
.dr-contact-location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dr-contact-button,
.dr-contact-final-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 15px 24px;
    border-radius: 999px;
    background: var(--sm-primary, #4f6f45);
    color: #ffffff;
    font-size: 0.94rem;
    font-weight: 820;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(79, 111, 69, 0.20);
}

.dr-contact-button:hover,
.dr-contact-button:focus,
.dr-contact-final-button:hover,
.dr-contact-final-button:focus {
    background: var(--sm-primary-dark, #2f4a32);
    color: #ffffff;
    transform: translateY(-2px);
}

.dr-contact-button-light {
    background: rgba(255, 255, 255, 0.92);
    color: var(--sm-primary-dark, #2f4a32);
    border: 1px solid rgba(23, 53, 31, 0.12);
    box-shadow: none;
}

.dr-contact-button-light:hover,
.dr-contact-button-light:focus {
    background: #ffffff;
    color: var(--sm-primary-deep, #223426);
}

.dr-contact-appointment-card .dr-contact-button-light {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
}

.dr-contact-appointment-card .dr-contact-button-light:hover,
.dr-contact-appointment-card .dr-contact-button-light:focus {
    background: #ffffff;
    color: var(--sm-primary-deep, #223426);
}

/* Practice Details */

.dr-contact-details-section {
    padding: 34px 0 38px;
}

.dr-contact-details-grid {
    display: grid;
    grid-template-columns: minmax(360px, 0.84fr) minmax(0, 1.16fr);
    gap: 28px;
    align-items: stretch;
}

.dr-contact-practice-card {
    overflow: hidden;
}

.dr-contact-practice-card-inner {
    padding: clamp(34px, 4vw, 46px);
}

.dr-contact-practice-card h2,
.dr-contact-hospital-card h2 {
    margin: 0 0 18px;
    color: var(--sm-heading, #102518);
    font-size: clamp(1.9rem, 3.2vw, 2.75rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.dr-contact-practice-address,
.dr-contact-hospital-text {
    margin: 0 0 28px;
    color: var(--sm-muted, #506054);
    font-size: 1.02rem;
    line-height: 1.72;
}

.dr-contact-practice-address p,
.dr-contact-hospital-text p {
    margin: 0;
}

.dr-contact-detail-list {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
    border-top: 1px solid rgba(23, 53, 31, 0.10);
}

.dr-contact-detail-list li {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(23, 53, 31, 0.10);
}

.dr-contact-detail-list span {
    color: rgba(23, 53, 31, 0.62);
    font-size: 0.78rem;
    font-weight: 820;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dr-contact-detail-list a {
    color: var(--sm-primary-dark, #2f4a32);
    font-weight: 780;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.dr-contact-detail-list a:hover {
    text-decoration: underline;
}

/* Maps */

.dr-contact-map-panel {
    overflow: hidden;
    min-height: 520px;
}

.dr-contact-map-panel iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    border: 0;
    filter: saturate(0.86) contrast(0.96);
}

/* Hospital Care */

.dr-contact-hospital-section {
    padding: 38px 0;
}

.dr-contact-hospital-grid {
    display: grid;
    grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
    gap: 28px;
    align-items: stretch;
}

.dr-contact-hospital-card {
    padding: clamp(34px, 4vw, 46px);
    background:
        radial-gradient(circle at 90% 0%, rgba(143, 163, 109, 0.14), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, var(--sm-surface-warm, #fbfcf8) 100%);
}

.dr-contact-hospital-card::after {
    content: "";
    display: block;
    width: 74px;
    height: 4px;
    margin-top: 30px;
    border-radius: 999px;
    background: var(--sm-primary, #4f6f45);
    opacity: 0.78;
}

.dr-contact-hospital-map-panel {
    min-height: 430px;
}

.dr-contact-hospital-map-panel iframe {
    min-height: 430px;
}

/* Optional Page Content */

.dr-contact-page-content-section {
    padding: 20px 0 38px;
}

.dr-contact-page-content {
    padding: clamp(34px, 5vw, 52px);
}

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

.dr-contact-page-content > *:last-child {
    margin-bottom: 0;
}

/* Final CTA */

.dr-contact-final-cta-section {
    padding: 38px 0 96px;
}

.dr-contact-final-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    padding: clamp(38px, 5vw, 52px);
    background: linear-gradient(135deg, var(--sm-primary-dark, #2f4a32) 0%, var(--sm-primary-deep, #223426) 100%);
    color: #ffffff;
    overflow: hidden;
    position: relative;
}

.dr-contact-final-cta::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -150px;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.dr-contact-final-cta > * {
    position: relative;
    z-index: 1;
}

.dr-contact-final-cta .dr-contact-section-kicker,
.dr-contact-final-cta h2,
.dr-contact-final-cta p {
    color: #ffffff;
}

.dr-contact-final-cta h2 {
    margin: 0 0 12px;
    font-size: clamp(1.9rem, 3.4vw, 2.85rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.dr-contact-final-cta p {
    max-width: 660px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.68;
}

.dr-contact-final-button {
    flex: 0 0 auto;
    background: #ffffff;
    color: var(--sm-primary-dark, #2f4a32);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
}

.dr-contact-final-button:hover,
.dr-contact-final-button:focus {
    background: var(--sm-bg-lift, #f8faf5);
    color: var(--sm-primary-deep, #223426);
}

/* Responsive */

@media (max-width: 1080px) {
    .dr-contact-intro-grid,
    .dr-contact-details-grid,
    .dr-contact-hospital-grid {
        grid-template-columns: 1fr;
    }

    .dr-contact-map-panel,
    .dr-contact-map-panel iframe {
        min-height: 420px;
    }
}

@media (max-width: 767px) {
    .dr-contact-page .container {
        width: min(100% - 28px, 1180px);
    }

    .dr-contact-intro-section {
        padding: 52px 0 24px;
    }

    .dr-contact-intro-copy,
    .dr-contact-appointment-card,
    .dr-contact-practice-card-inner,
    .dr-contact-hospital-card,
    .dr-contact-page-content,
    .dr-contact-final-cta {
        padding: 28px;
        border-radius: 24px;
    }

    .dr-contact-details-section,
    .dr-contact-hospital-section {
        padding: 24px 0;
    }

    .dr-contact-quick-list li,
    .dr-contact-detail-list li {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .dr-contact-card-actions,
    .dr-contact-location-actions {
        flex-direction: column;
    }

    .dr-contact-button,
    .dr-contact-final-button {
        width: 100%;
    }

    .dr-contact-map-panel,
    .dr-contact-map-panel iframe,
    .dr-contact-hospital-map-panel,
    .dr-contact-hospital-map-panel iframe {
        min-height: 360px;
        border-radius: 24px;
    }

    .dr-contact-final-cta-section {
        padding: 24px 0 68px;
    }

    .dr-contact-final-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

.dr-contact-hospital-emergency {
    margin-top: 26px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(79, 111, 69, 0.08);
    border: 1px solid rgba(79, 111, 69, 0.16);
}

.dr-contact-hospital-emergency span {
    display: block;
    margin-bottom: 6px;
    color: rgba(23, 53, 31, 0.62);
    font-size: 0.76rem;
    font-weight: 820;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.dr-contact-hospital-emergency a {
    color: var(--sm-primary-dark, #2f4a32);
    font-size: 1.12rem;
    font-weight: 850;
    text-decoration: none;
}

.dr-contact-hospital-emergency a:hover,
.dr-contact-hospital-emergency a:focus {
    text-decoration: underline;
}