/* Trust Clinics — mirrors the "Mecliw — Medical Clinic Website" Figma file (node 2:2).
   Geometry is taken from the 1920x7000 canvas: 1455px of content inside 233px gutters.
   Written against the markup _PageRenderer.cshtml actually emits. */

.theme-page.theme-trust-clinics {
    --tc-bg: #EFFEFF;
    --tc-ink: #1c1c1c;
    --tc-accent: #08474b;
    --tc-accent-hover: #06373a;
    --tc-surface: #fff;
    /* decorative collage tiles, tinted to sit with the bundled SVG artwork */
    --tc-tile: #c2e7e9;
    /* 233 / 1920 = 12.14vw, capped so content settles at 1455px */
    --tc-gutter: clamp(20px, 12.14vw, 233px);
    --tc-block: clamp(64px, 8vw, 150px);
    --theme-container-width: 1920px;

    max-width: 1920px;
    margin-inline: auto;
    background: var(--tc-bg);
    color: var(--tc-ink);
    font-family: 'Urbanist', 'IBM Plex Sans Arabic', system-ui, sans-serif;
}

/* base.css stripes every other .theme-section; the design is one flat field */
.theme-trust-clinics .theme-section,
.theme-trust-clinics .theme-section:nth-of-type(even) {
    background: transparent;
    width: 100%;
    max-width: none;
}

/* ---------- Buttons (pill 229x63, 24px) ---------- */

.theme-trust-clinics .theme-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 229px;
    height: 63px;
    padding: 0 28px;
    border: 0;
    border-radius: 100px;
    background: var(--tc-accent);
    color: #fff;
    font-size: clamp(18px, 1.25vw, 24px);
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    transition: background-color .18s ease;
}

.theme-trust-clinics .theme-button:hover { background: var(--tc-accent-hover); }

/* ---------- Header (node 2:113) ---------- */

.theme-trust-clinics .theme-header-standard {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 0;
    padding: 41px var(--tc-gutter) 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.theme-trust-clinics .theme-brand {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--tc-ink);
    text-decoration: none;
}

.theme-trust-clinics .theme-header-standard nav {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.5vw, 48px);
}

.theme-trust-clinics .theme-header-standard nav a {
    font-size: 20px;
    color: var(--tc-ink);
    text-decoration: none;
    opacity: .88;
}

.theme-trust-clinics .theme-header-standard nav a:hover { opacity: 1; }

.theme-trust-clinics .theme-button-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 229px;
    height: 63px;
    padding: 0 24px;
    border: 0;
    border-radius: 100px;
    background: var(--tc-accent);
    color: #fff;
    font-size: 24px;
    opacity: 1;
}

.theme-trust-clinics .theme-button-small:hover { background: var(--tc-accent-hover); opacity: 1; }

/* ---------- Hero (node 3:436) ---------- */

.theme-trust-clinics .theme-hero-split {
    position: relative;
    min-height: 0;
    grid-template-columns: minmax(0, 780fr) minmax(0, 717fr);
    gap: clamp(24px, 4vw, 60px);
    padding: clamp(40px, 5vw, 93px) var(--tc-gutter) var(--tc-block);
    align-items: start;
}

.theme-trust-clinics .theme-hero-copy { padding: 0; align-self: start; }

.theme-trust-clinics .theme-hero-copy h1 {
    max-width: 100%;
    margin: 0 0 clamp(24px, 3vw, 44px);
    font-size: clamp(44px, 5.73vw, 110px);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -.02em;
    color: var(--tc-ink);
}

.theme-trust-clinics .theme-hero-copy > p {
    max-width: 705px;
    margin: 0 0 clamp(28px, 3vw, 45px);
    font-size: 18px;
    line-height: 30px;
    color: var(--tc-ink);
    opacity: .7;
}

/* Hero proof doubles as the design's 200+/70K+ pair */
.theme-trust-clinics .theme-hero-proof {
    gap: 16px clamp(24px, 3vw, 64px);
    margin-top: clamp(36px, 5vw, 78px);
    color: var(--tc-ink);
    font-size: 20px;
    font-weight: 500;
}

.theme-trust-clinics .theme-hero-proof span { display: block; }
.theme-trust-clinics .theme-hero-proof span:before { content: none; }

.theme-trust-clinics .theme-hero-image {
    position: relative;
    min-height: 0;
    overflow: visible;
}

/* accent panel sitting behind the hero image (node 2:4) */
.theme-trust-clinics .theme-hero-image:before {
    content: "";
    position: absolute;
    z-index: 0;
    inset-inline-start: 27.5%;
    top: 34.5%;
    width: 68.6%;
    height: 65.5%;
    border-radius: 15px;
    background: var(--tc-accent);
}

.theme-trust-clinics .theme-hero-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 717 / 1078;
    object-fit: cover;
}

/* Avatar pill sitting inline in the headline (design node 3:160) */
.theme-trust-clinics .theme-hero-avatars {
    display: inline-flex;
    align-items: center;
    gap: 0;
    vertical-align: middle;
    margin: 0 .18em;
    padding: .11em .14em;
    border-radius: 100px;
    background: var(--tc-accent);
    translate: 0 -.06em;
}

.theme-trust-clinics .theme-hero-avatars img {
    width: .49em;
    height: .49em;
    border-radius: 50%;
    object-fit: cover;
    border: .035em solid var(--tc-accent);
    margin-inline-end: -.13em;
}

.theme-trust-clinics .theme-hero-avatars-go {
    display: grid;
    place-items: center;
    width: .49em;
    height: .49em;
    margin-inline-start: .04em;
    border-radius: 50%;
    background: #fff;
}

.theme-trust-clinics .theme-hero-avatars-go svg {
    width: .26em;
    height: .26em;
    fill: none;
    stroke: var(--tc-accent);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.theme-trust-clinics[dir="rtl"] .theme-hero-avatars-go svg { transform: scaleX(-1); }

/* Outline second button (design node 2:58) */
.theme-trust-clinics .theme-button-ghost {
    margin-inline-start: 16px;
    border: 1px solid var(--tc-ink);
    background: transparent;
    color: var(--tc-ink);
}

.theme-trust-clinics .theme-button-ghost:hover { background: rgba(8, 71, 75, .07); }

/* Proof pair renders as the design's 200+ / 70K+ stat blocks */
.theme-trust-clinics .theme-hero-proof span {
    display: flex;
    flex-direction: column;
    gap: 13px;
    font-size: clamp(30px, 2.5vw, 48px);
    font-weight: 500;
    line-height: 1;
}

.theme-trust-clinics .theme-hero-proof small {
    font-size: 20px;
    font-weight: 400;
    opacity: .8;
}

/* Doctor card over the hero image (design node 2:60) */
.theme-trust-clinics .theme-hero-spotlight {
    position: absolute;
    z-index: 2;
    inset-inline-start: 46%;
    top: 49%;
    display: flex;
    align-items: center;
    gap: 18px;
    width: max(280px, 46%);
    padding: 17px 22px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 30px rgba(0, 0, 0, .1);
}

.theme-trust-clinics .theme-hero-spotlight img {
    width: 67px;
    height: 67px;
    border-radius: 50%;
    object-fit: cover;
    flex: none;
    position: static;
    aspect-ratio: auto;
}

.theme-trust-clinics .theme-hero-spotlight-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.theme-trust-clinics .theme-hero-spotlight-text strong { font-size: 22px; font-weight: 500; }
.theme-trust-clinics .theme-hero-spotlight-text small { font-size: 16px; opacity: .75; }

.theme-trust-clinics .theme-hero-spotlight-go {
    flex: none;
    margin-inline-start: auto;
    display: grid;
    place-items: center;
    width: 53px;
    height: 53px;
    border-radius: 50%;
    background: var(--tc-accent);
}

.theme-trust-clinics .theme-hero-spotlight-go svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.theme-trust-clinics[dir="rtl"] .theme-hero-spotlight-go svg { transform: scaleX(-1); }

/* Medication card straddling copy and image (design node 2:64) */
.theme-trust-clinics .theme-hero-highlight {
    position: absolute;
    z-index: 2;
    inset-inline-start: 35%;
    bottom: calc(var(--tc-block) + 2%);
    display: flex;
    align-items: center;
    gap: 24px;
    width: min(607px, 42%);
    padding: 22px 26px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 30px rgba(0, 0, 0, .08);
}

.theme-trust-clinics .theme-hero-highlight-copy { min-width: 0; }
.theme-trust-clinics .theme-hero-highlight-copy strong { display: block; font-size: 32px; font-weight: 500; }

.theme-trust-clinics .theme-hero-highlight-copy p {
    margin: 12px 0 0;
    font-size: 18px;
    line-height: 30px;
    opacity: .7;
}

.theme-trust-clinics .theme-hero-highlight-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

.theme-trust-clinics .theme-hero-highlight-tags span {
    padding: 5px 14px;
    border: 1px solid rgba(8, 71, 75, .3);
    border-radius: 100px;
    font-size: 16px;
}

.theme-trust-clinics .theme-hero-highlight img {
    flex: none;
    width: 174px;
    height: 169px;
    border-radius: 8px;
    object-fit: cover;
    position: static;
    aspect-ratio: auto;
}

/* ---------- Centered hero (About and Services pages) ---------- */

.theme-trust-clinics .theme-hero-centered {
    display: block;
    min-height: 0;
    padding: clamp(40px, 5vw, 93px) var(--tc-gutter) var(--tc-block);
    text-align: center;
}

.theme-trust-clinics .theme-hero-centered .theme-hero-copy {
    padding: 0;
    max-width: 900px;
    margin-inline: auto;
}

.theme-trust-clinics .theme-hero-centered h1 {
    margin-inline: auto;
    font-size: clamp(38px, 4.6vw, 88px);
}

.theme-trust-clinics .theme-hero-centered .theme-hero-copy > p {
    margin-inline: auto;
    max-width: 760px;
}

.theme-trust-clinics .theme-hero-centered .theme-hero-image {
    margin: clamp(32px, 4vw, 64px) 0 0;
    min-height: 0;
    border-radius: 20px;
    overflow: hidden;
}

.theme-trust-clinics .theme-hero-centered .theme-hero-image:before { content: none; }

.theme-trust-clinics .theme-hero-centered .theme-hero-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1455 / 420;
    object-fit: cover;
}

/* ---------- Why Choose — stats cards (node 3:435) ---------- */

.theme-trust-clinics .theme-stats-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
    padding: 0 var(--tc-gutter) var(--tc-block);
    background: transparent;
    border: 0;
}

.theme-trust-clinics .theme-stats-cards > div {
    display: flex;
    flex-direction: column;
    padding: 42px 47px;
    border: 0;
    border-radius: 10px;
    background: var(--tc-surface);
    text-align: start;
}

.theme-trust-clinics .theme-stats-cards > div > strong {
    display: block;
    margin-bottom: clamp(40px, 9vw, 135px);
    font-size: clamp(40px, 3.33vw, 64px);
    font-weight: 500;
    line-height: 1.2;
    color: var(--tc-ink);
}

.theme-trust-clinics .theme-stats-cards > div > span {
    display: block;
    margin: 0 0 30px;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--tc-ink);
    opacity: 1;
}

.theme-trust-clinics .theme-stats-cards > div > p {
    margin: 0;
    font-size: 18px;
    line-height: 30px;
    color: var(--tc-ink);
    opacity: .7;
}

/* ---------- Reach band — stats with a heading (node 3:433 upper) ---------- */

.theme-trust-clinics .theme-stats-standard {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: clamp(32px, 5vw, 75px);
    padding: 0 var(--tc-gutter) var(--tc-block);
    background: transparent;
    border: 0;
}

.theme-trust-clinics .theme-stats-head {
    flex: 1 1 500px;
    min-width: 0;
}

.theme-trust-clinics .theme-stats-head .theme-kicker { display: none; }

.theme-trust-clinics .theme-stats-head h2 {
    max-width: 671px;
    margin: 0;
    font-size: clamp(32px, 3.85vw, 74px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -.01em;
    color: var(--tc-ink);
}

.theme-trust-clinics .theme-stats-standard > div {
    flex: 0 1 165px;
    padding: 0;
    border: 0;
    text-align: start;
}

.theme-trust-clinics .theme-stats-standard > div > strong {
    font-size: clamp(32px, 2.5vw, 48px);
    font-weight: 500;
    line-height: 1.2;
    color: var(--tc-ink);
}

.theme-trust-clinics .theme-stats-standard > div > span {
    margin-top: 13px;
    font-size: 20px;
    color: var(--tc-ink);
    opacity: 1;
}

/* ---------- Split sections (nodes 3:434 and 3:433 lower) ---------- */

.theme-trust-clinics .theme-split {
    padding: 0 var(--tc-gutter) var(--tc-block);
    gap: clamp(30px, 7vw, 103px);
    align-items: center;
    background: transparent;
}

.theme-trust-clinics .theme-split-standard { grid-template-columns: minmax(0, 580fr) minmax(0, 772fr); }
.theme-trust-clinics .theme-split-reverse { grid-template-columns: minmax(0, 671fr) minmax(0, 776fr); }

.theme-trust-clinics .theme-split-media {
    min-height: 0;
    border-radius: 20px;
    overflow: hidden;
}

.theme-trust-clinics .theme-split img {
    width: 100%;
    height: auto;
    aspect-ratio: 580 / 682;
    object-fit: cover;
}

.theme-trust-clinics .theme-split-reverse .theme-split img { aspect-ratio: 454 / 548; }

.theme-trust-clinics .theme-split-copy { padding: 0; }
.theme-trust-clinics .theme-split-copy .theme-kicker { display: none; }

.theme-trust-clinics .theme-split-copy h2 {
    margin: 0 0 clamp(20px, 2.5vw, 40px);
    font-size: clamp(32px, 3.85vw, 74px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -.01em;
    color: var(--tc-ink);
}

.theme-trust-clinics .theme-split-reverse .theme-split-copy h2 { font-size: clamp(26px, 1.9vw, 36px); }

.theme-trust-clinics .theme-split-copy > p {
    max-width: 772px;
    margin: 0;
    font-size: 18px;
    line-height: 30px;
    color: var(--tc-ink);
    opacity: .7;
}

.theme-trust-clinics .theme-split-copy .theme-button { margin-top: clamp(28px, 4vw, 48px); }

/* the two floating placeholder tiles beside the About copy (nodes 3:139, 3:140) */
.theme-trust-clinics [data-section-id="trust-home-about"] .theme-split-copy {
    position: relative;
    padding-top: clamp(80px, 17vw, 300px);
}

.theme-trust-clinics [data-section-id="trust-home-about"] .theme-split-copy:before,
.theme-trust-clinics [data-section-id="trust-home-about"] .theme-split-copy:after {
    content: "";
    position: absolute;
    border-radius: 20px;
    background: var(--tc-tile);
}

.theme-trust-clinics [data-section-id="trust-home-about"] .theme-split-copy:before {
    top: 0;
    inset-inline-end: 0;
    width: 42.7%;
    aspect-ratio: 330 / 216;
}

.theme-trust-clinics [data-section-id="trust-home-about"] .theme-split-copy:after {
    top: 11%;
    inset-inline-end: 50%;
    width: 26.6%;
    aspect-ratio: 205 / 128;
}

/* ---------- Services (node 4:2) ---------- */

.theme-trust-clinics .theme-services-section-cards {
    padding: 0 var(--tc-gutter) var(--tc-block);
}

.theme-trust-clinics .theme-section-head {
    display: block;
    max-width: 671px;
    margin-bottom: clamp(40px, 6vw, 83px);
}

.theme-trust-clinics .theme-section-head > span { display: none; }

.theme-trust-clinics .theme-section-head h2 {
    margin: 0;
    font-size: clamp(32px, 3.85vw, 74px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -.01em;
    color: var(--tc-ink);
}

.theme-trust-clinics .theme-services-section-cards .theme-services {
    grid-template-columns: repeat(2, 1fr);
    gap: 66px 45px;
    border: 0;
}

.theme-trust-clinics .theme-services-section-cards .theme-services article {
    display: flex;
    flex-direction: column;
    border: 0;
    border-radius: 15px;
    background: var(--tc-surface);
    overflow: hidden;
}

.theme-trust-clinics .theme-service-copy {
    order: 1;
    position: relative;
    padding: 64px 50px 44px;
    padding-inline-start: 212px;
}

.theme-trust-clinics .theme-service-index,
.theme-trust-clinics .theme-arrow,
.theme-trust-clinics .theme-services .theme-text-link { display: none; }

/* accent icon chip (node 3:198 and siblings) */
.theme-trust-clinics .theme-service-copy:before {
    content: "";
    position: absolute;
    top: 64px;
    inset-inline-start: 50px;
    width: 83px;
    height: 83px;
    border-radius: 4px;
    background-color: var(--tc-accent);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 43px 43px;
}

.theme-trust-clinics .theme-services article:nth-child(1) .theme-service-copy:before { background-image: url("/themes/v4/trust-clinics/icon-vaccines.svg"); }
.theme-trust-clinics .theme-services article:nth-child(2) .theme-service-copy:before { background-image: url("/themes/v4/trust-clinics/icon-prescriptions.svg"); }
.theme-trust-clinics .theme-services article:nth-child(3) .theme-service-copy:before { background-image: url("/themes/v4/trust-clinics/icon-stethoscope.svg"); }
.theme-trust-clinics .theme-services article:nth-child(4) .theme-service-copy:before { background-image: url("/themes/v4/trust-clinics/icon-ecg.svg"); }

.theme-trust-clinics .theme-services h3 {
    margin: 0 0 30px;
    font-size: clamp(22px, 1.5vw, 28px);
    font-weight: 500;
    line-height: 1.2;
    color: var(--tc-ink);
}

.theme-trust-clinics .theme-services p {
    margin: 0;
    font-size: 18px;
    line-height: 30px;
    color: var(--tc-ink);
    opacity: .7;
}

.theme-trust-clinics .theme-service-media {
    order: 2;
    height: auto;
    margin-top: auto;
}

.theme-trust-clinics .theme-service-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 705 / 229;
    object-fit: cover;
}

/* ---------- Contact banner (node 3:393) ---------- */

.theme-trust-clinics .theme-contact-accent {
    display: block;
    position: relative;
    margin: 0 var(--tc-gutter) var(--tc-block);
    padding: clamp(40px, 5vw, 60px) clamp(24px, 5vw, 80px);
    border-radius: 15px;
    background: var(--tc-accent);
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.theme-trust-clinics .theme-contact-accent .theme-kicker { display: none; }

.theme-trust-clinics .theme-contact-accent h2 {
    max-width: 800px;
    margin: 0 auto;
    font-size: clamp(28px, 3.85vw, 74px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -.01em;
    color: #fff;
}

.theme-trust-clinics .theme-contact-accent .theme-button-invert {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 229px;
    height: 63px;
    margin-top: 52px;
    padding: 0 28px;
    border: 0;
    border-radius: 100px;
    background: #fff;
    color: var(--tc-ink);
    font-size: clamp(18px, 1.25vw, 24px);
    text-decoration: none;
}

.theme-trust-clinics .theme-contact-accent .theme-button-invert:hover { background: #eaf6f6; }
.theme-trust-clinics .theme-contact-accent .theme-button-invert svg { display: none; }

/* outlined tiles in the banner corners (nodes 3:374, 3:376, 3:385, 3:392) */
.theme-trust-clinics .theme-contact-accent:before,
.theme-trust-clinics .theme-contact-accent:after {
    content: "";
    position: absolute;
    width: 114px;
    height: 156px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 15px;
    inset-block-start: -18px;
    pointer-events: none;
}

.theme-trust-clinics .theme-contact-accent:before { inset-inline-end: 40px; }

.theme-trust-clinics .theme-contact-accent:after {
    inset-block-start: auto;
    inset-block-end: -18px;
    inset-inline-start: 40px;
    aspect-ratio: auto;
    border-radius: 15px;
}

/* ---------- Testimonials (node 3:431) ---------- */

/* base.css targets .theme-quote-cards, which matches BOTH this section and the
   grid inside it — reset the outer one back to flow so the inner grid can size. */
.theme-trust-clinics .theme-quote.theme-quote-cards {
    display: block;
    padding: 0 var(--tc-gutter) var(--tc-block);
    background: transparent;
    text-align: start;
}

.theme-trust-clinics .theme-quote.theme-quote-cards > .theme-kicker {
    display: block;
    max-width: 800px;
    margin: 0 0 clamp(40px, 6vw, 84px);
    padding: 0;
    font-size: clamp(32px, 3.85vw, 74px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -.01em;
    color: var(--tc-ink);
    text-transform: none;
}

.theme-trust-clinics .theme-quote-cards > .theme-quote-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 60px);
    margin: 0;
    text-align: start;
}

.theme-trust-clinics .theme-quote-cards figure {
    position: relative;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.theme-trust-clinics .theme-quote-cards .theme-rating {
    display: block;
    margin: 0 0 28px;
    color: var(--tc-accent);
    font-size: 24px;
    letter-spacing: .16em;
    text-transform: none;
}

.theme-trust-clinics .theme-quote-cards blockquote {
    margin: 0 0 44px;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0;
    color: var(--tc-ink);
    opacity: .8;
}

.theme-trust-clinics .theme-quote-cards figcaption {
    font-size: clamp(26px, 2.2vw, 42px);
    font-weight: 500;
    line-height: 1.15;
    color: var(--tc-ink);
}

.theme-trust-clinics .theme-quote-cards figcaption small {
    margin-top: 12px;
    font-size: 20px;
    color: var(--tc-ink);
    opacity: .7;
}

.theme-trust-clinics .theme-quote-cards figure:after {
    content: "\201D";
    position: absolute;
    inset-inline-end: 0;
    bottom: -18px;
    color: var(--tc-ink);
    opacity: .12;
    font-size: 110px;
    line-height: 1;
    pointer-events: none;
}

/* ---------- Footer (node 3:430) ---------- */

.theme-trust-clinics .theme-footer-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
    gap: clamp(40px, 6vw, 95px) 40px;
    align-items: start;
    padding: clamp(48px, 5vw, 65px) var(--tc-gutter) 44px;
    background: var(--tc-accent);
    color: #fff;
}

.theme-trust-clinics .theme-footer-columns > div:not(.theme-footer-contact) { grid-column: 1; grid-row: 1; }
.theme-trust-clinics .theme-footer-columns > nav:not(.theme-footer-social) { grid-column: 2; grid-row: 1; }
.theme-trust-clinics .theme-footer-columns > .theme-footer-contact { grid-column: 3; grid-row: 1; }

.theme-trust-clinics .theme-footer-contact strong { display: block; margin-bottom: 24px; }
.theme-trust-clinics .theme-footer-contact p { max-width: 300px; margin: 0 0 10px; font-size: 21px; line-height: 1.6; opacity: .7; }
.theme-trust-clinics .theme-footer-columns > .theme-footer-social { grid-column: 1; grid-row: 2; align-self: end; }
.theme-trust-clinics .theme-footer-columns > span { grid-column: 3; grid-row: 2; justify-self: end; align-self: end; }

.theme-trust-clinics .theme-footer strong {
    font-size: clamp(24px, 1.7vw, 33px);
    font-weight: 500;
    color: #fff;
}

.theme-trust-clinics .theme-footer p {
    max-width: 320px;
    margin: 24px 0 0;
    font-size: 21px;
    line-height: 1.9;
    opacity: .7;
}

.theme-trust-clinics .theme-footer > nav:not(.theme-footer-social) {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.theme-trust-clinics .theme-footer > nav:not(.theme-footer-social) a {
    font-size: 21px;
    opacity: .7;
}

.theme-trust-clinics .theme-footer > nav:not(.theme-footer-social) a:hover { opacity: 1; }

.theme-trust-clinics .theme-footer-social { gap: 31px; }

.theme-trust-clinics .theme-footer-social .theme-social-icon {
    width: 29px;
    height: 29px;
    border-radius: 0;
    background: transparent;
    color: #fff;
}

.theme-trust-clinics .theme-footer-social a:hover .theme-social-icon {
    background: transparent;
    color: #fff;
    transform: none;
    opacity: .75;
}

.theme-trust-clinics .theme-footer > span {
    font-size: 20px;
    opacity: .9;
}

/* ---------- Responsive ---------- */

@media (max-width: 1240px) {
    /* the floating hero cards stop fitting — drop them into the flow */
    .theme-trust-clinics .theme-hero-spotlight,
    .theme-trust-clinics .theme-hero-highlight {
        position: static;
        width: auto;
        inset: auto;
        margin-top: 20px;
    }
    .theme-trust-clinics .theme-hero-highlight { grid-column: 1 / -1; }
}

@media (max-width: 1100px) {
    .theme-trust-clinics .theme-services-section-cards .theme-services { grid-template-columns: 1fr; gap: 32px; }
    .theme-trust-clinics .theme-service-copy { padding: 32px 28px 24px; padding-inline-start: 28px; padding-top: 132px; }
    .theme-trust-clinics .theme-service-copy:before { top: 32px; inset-inline-start: 28px; }
    .theme-trust-clinics .theme-quote-cards > .theme-quote-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .theme-trust-clinics .theme-stats-cards { grid-template-columns: 1fr; gap: 20px; }
    .theme-trust-clinics .theme-stats-cards > div > strong { margin-bottom: 40px; }
}

@media (max-width: 860px) {
    .theme-trust-clinics .theme-header-standard { flex-wrap: wrap; gap: 16px; padding-top: 24px; }
    .theme-trust-clinics .theme-hero-split,
    .theme-trust-clinics .theme-split { grid-template-columns: 1fr; }
    .theme-trust-clinics .theme-split-reverse .theme-split-media { order: 0; }
    .theme-trust-clinics [data-section-id="trust-home-about"] .theme-split-copy { padding-top: 0; }
    .theme-trust-clinics [data-section-id="trust-home-about"] .theme-split-copy:before,
    .theme-trust-clinics [data-section-id="trust-home-about"] .theme-split-copy:after { display: none; }
    .theme-trust-clinics .theme-quote-cards > .theme-quote-cards { grid-template-columns: 1fr; }
    .theme-trust-clinics .theme-footer-columns { grid-template-columns: 1fr; }
    .theme-trust-clinics .theme-footer-columns > div,
    .theme-trust-clinics .theme-footer-columns > nav:not(.theme-footer-social),
    .theme-trust-clinics .theme-footer-columns > .theme-footer-social,
    .theme-trust-clinics .theme-footer-columns > span { grid-column: 1; grid-row: auto; justify-self: start; }
    .theme-trust-clinics .theme-contact-accent:before,
    .theme-trust-clinics .theme-contact-accent:after { display: none; }
}
