/* Shifa Healthcare site v2 — rebuilt presentation layer. Navbar is intentionally excluded. */
:root {
  --shifa-ink: #18373a;
  --shifa-muted: #617779;
  --shifa-blue: #146d70;
  --shifa-teal: #39a78e;
  --shifa-line: #dce9e2;
  --shifa-paper: #f2f7f3;
  --shifa-shadow: 0 18px 50px rgba(19, 61, 57, .10);
  --primary: #146d70;
  --secondary: #39a78e;
  --dark: #18373a;
  --text: #18373a;
  --text-muted: #617779;
  --surface: #fff;
  --surface-2: #f2f7f3;
  --border: #dce9e2;
  --gradient-primary: linear-gradient(130deg,#146d70,#39a78e);
  --gradient-dark: linear-gradient(130deg,#153d40,#176e68);
}

/* Typography and page canvas */
body { background: #fff !important; color: var(--shifa-ink) !important; font-family: Inter, 'Segoe UI', Arial, sans-serif !important; }
main.main { overflow: clip; }
h1,h2,h3,h4,h5,h6 { color: var(--shifa-ink) !important; font-family: Inter,'Segoe UI',Arial,sans-serif !important; font-weight: 750; letter-spacing: -.045em; }
main p { color: var(--shifa-muted); font-size: .98rem; line-height: 1.82; }
main .container { max-width: 1210px; }
.eyebrow,.section-title .eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #187d71 !important; font-size: .72rem !important; font-weight: 800 !important; letter-spacing: .15em !important; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: #38a78e; }
.section-title { margin: 0 auto 44px; max-width: 800px; }
.section-title h2 { margin: 10px 0 14px; font-size: clamp(2rem,4vw,3.05rem) !important; line-height: 1.1; }
.section-title p { max-width: 680px; margin-inline: auto; }
.headline-accent { color: #168277 !important; }

/* Shared interior-page masthead: large image, strong contrast, clean breadcrumb. */
.page-title,.page-title[style] {
  position: relative; isolation: isolate; min-height: 405px !important; padding: 140px 0 66px !important;
  display: flex; align-items: center; border: 0 !important; background-color: #163f42 !important;
  background-position: center 42% !important; background-size: cover !important;
}
.page-title::before { content: ''; display: block !important; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg,rgba(14,47,49,.94) 0%,rgba(17,73,69,.77) 58%,rgba(17,73,69,.24) 100%); }
.page-title .container { position: relative; z-index: 1; }
.page-title .eyebrow { color: #9ce3d1 !important; margin-bottom: 16px !important; }
.page-title h1,.page-title h1[style] { max-width: 870px; color: #fff !important; font-size: clamp(2.65rem,5.6vw,4.6rem) !important; line-height: 1.03 !important; letter-spacing: -.065em; }
.page-title h1 span { color: #9ce3d1 !important; -webkit-text-fill-color: #9ce3d1 !important; background: none !important; }
.page-title .breadcrumbs { margin-top: 24px !important; }
.page-title .breadcrumbs ol li,.page-title .breadcrumbs ol li a,.page-title .breadcrumbs ol li.current { color: rgba(255,255,255,.78) !important; }
.page-title .breadcrumbs ol li+li::before { color: rgba(255,255,255,.42) !important; }

/* Rebuild content sections into a calm, alternating reading rhythm. */
main section:not(#hero) { position: relative; padding: clamp(64px,8vw,108px) 0 !important; }
main section:not(#hero):nth-of-type(odd) { background: #f2f7f3 !important; }
main section:not(#hero):nth-of-type(even) { background: #fff !important; }
/* Preserve the dedicated dark bands; the alternating section rule must not wash them out. */
main section:not(#hero).cta-section { background: linear-gradient(120deg,#17464a,#16756a) !important; }
main section:not(#hero)[style*="background:var(--gradient-dark)"],
main section:not(#hero)[style*="background: var(--gradient-dark)"] {
  color: #fff !important; background: linear-gradient(120deg,#173e43,#176f68) !important;
}
main section:not(#hero)[style*="background:var(--gradient-dark)"] .section-title h2,
main section:not(#hero)[style*="background: var(--gradient-dark)"] .section-title h2 { color: #fff !important; }
main section:not(#hero)[style*="background:var(--gradient-dark)"] .headline-accent,
main section:not(#hero)[style*="background: var(--gradient-dark)"] .headline-accent { color: #8de0cd !important; }
main section:not(#hero)[style*="background:var(--gradient-dark)"] .eyebrow,
main section:not(#hero)[style*="background: var(--gradient-dark)"] .eyebrow { color: #8de0cd !important; }
main section:not(#hero)[style*="background:var(--gradient-dark)"] .hover-scale,
main section:not(#hero)[style*="background: var(--gradient-dark)"] .hover-scale {
  padding: 24px !important; border: 1px solid rgba(255,255,255,.2) !important;
  border-radius: 18px !important; background: rgba(255,255,255,.10) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.10) !important;
}
main section:not(#hero)[style*="background:var(--gradient-dark)"] .hover-scale h4,
main section:not(#hero)[style*="background: var(--gradient-dark)"] .hover-scale h4 { color: #fff !important; }
main section:not(#hero)[style*="background:var(--gradient-dark)"] .hover-scale p,
main section:not(#hero)[style*="background: var(--gradient-dark)"] .hover-scale p { color: rgba(255,255,255,.84) !important; }
main section:not(#hero) .row { --bs-gutter-x: 1.6rem; --bs-gutter-y: 1.6rem; }
main section:not(#hero) .row > [class*="col-"] { display: flex; flex-direction: column; }
main section:not(#hero) .row > [class*="col-"] > .service-card,
main section:not(#hero) .row > [class*="col-"] > .serviceBox,
main section:not(#hero) .row > [class*="col-"] > .icon-box-modern,
main section:not(#hero) .row > [class*="col-"] > .hms-module-card,
main section:not(#hero) .row > [class*="col-"] > .journey-stage,
main section:not(#hero) .row > [class*="col-"] > .why-card,
main section:not(#hero) .row > [class*="col-"] > .strength-card,
main section:not(#hero) .row > [class*="col-"] > .who-card { flex: 1; width: 100%; }
main section:not(#hero) h2 { font-size: clamp(1.95rem,3.4vw,2.9rem) !important; line-height: 1.12; margin-bottom: 18px; }
main section:not(#hero) h3 { font-size: 1.2rem; line-height: 1.3; }

/* Service and feature cards become proper modules, not flat blocks. */
.service-card,.serviceBox,.service-item,.icon-box-modern,.hms-module-card,.why-card,.strength-card,
.who-card,.solution-group,.journey-stage,.feature-card,.testimonial-item,.team-member,.info-item,
.contact .info-item,.php-email-form,.contact-form,.portfolio-item,.journey-body {
  position: relative; overflow: hidden; height: 100%; padding: 28px !important;
  border: 1px solid #dfebe4 !important; border-radius: 20px !important; background: #fff !important;
  box-shadow: 0 8px 24px rgba(22,62,56,.055) !important;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.service-card:hover,.serviceBox:hover,.service-item:hover,.icon-box-modern:hover,.hms-module-card:hover,
.why-card:hover,.strength-card:hover,.solution-group:hover,.journey-stage:hover,.portfolio-item:hover {
  transform: translateY(-5px); border-color: #aed6c6 !important; box-shadow: 0 18px 42px rgba(22,62,56,.12) !important;
}
.serviceBox.pink { background: #fff !important; }
.serviceBox .title,.serviceBox h3 { margin-bottom: 14px; color: #18373a !important; }
.serviceBox .cont { padding-left: 18px; }
.serviceBox .cont li { padding: 6px 0 6px 3px; color: #617779; line-height: 1.72; }
.serviceBox .cont li::marker { color: #36a58e; }
.service-card .card-icon,.card-icon,.icon-box-modern .icon,.icon-box-modern .icon-box,
.fi-icon,.strength-icon,.why-icon,.service-icon,.hms-module-icon,.solution-group-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px;
  margin-bottom: 18px; border-radius: 16px !important; background: #e7f3ed !important; color: #16786e !important; font-size: 1.35rem;
}
.service-card h3,.service-card h4,.icon-box-modern h3,.icon-box-modern h4,.hms-module-card h3,
.why-card h4,.strength-card h4,.solution-group-title { color: #18373a !important; font-weight: 750; }
.service-card p,.icon-box-modern p,.hms-module-card p,.why-card p,.strength-card p { color: #687c7d !important; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0 !important; border-bottom: 1px solid #e1eae4; background: transparent !important; box-shadow: none !important; }
.feature-item:last-child { border-bottom: 0; }
.feature-item h5 { color: #18373a !important; margin-bottom: 3px; }
.feature-item p { margin: 0; font-size: .88rem; }
.process-step { display: flex; gap: 17px; padding: 17px 20px !important; margin: 10px 0; background: #fff !important; border: 1px solid #dfebe4 !important; border-radius: 15px !important; box-shadow: 0 5px 18px rgba(22,62,56,.045); }
.step-number { flex: 0 0 42px; width: 42px !important; height: 42px !important; display: grid; place-items: center; border-radius: 13px !important; color: #16786e !important; -webkit-text-fill-color: #16786e !important; background: #e7f3ed !important; font-weight: 800; }
.step-content h4,.journey-stage h3 { color: #18373a !important; }
.step-content p,.journey-stage p { color: #687c7d !important; }
.journey-stage { display: flex; gap: 20px; align-items: flex-start; padding: 28px !important; }
.journey-stage-num { flex: 0 0 58px; color: #168277 !important; -webkit-text-fill-color: #168277 !important; font-size: 2.6rem !important; }
.content-list { padding-left: 0; list-style: none; }
.content-list li { display: flex; gap: 10px; padding: 7px 0; color: #617779; }
.content-list li i,.content-list li::before { color: #238c7d !important; }
.who-header { padding: 20px 24px !important; background: #e8f3ed !important; }
.who-body { padding: 20px 24px !important; background: #fff !important; }
.who-header h3,.who-header h4 { color: #18373a !important; }
.who-body li { border-color: #e7efea !important; }
.solution-group-header { border-color: #e2ece6 !important; }
.portfolio-grid { gap: 14px !important; }
.portfolio-item { padding: 0 !important; min-height: 220px; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.portfolio-item:hover img { transform: scale(1.04); }
img { border-radius: 14px; }

/* Homepage is its own new split-screen landing page. */
#hero.hero-section { position: relative; min-height: 820px !important; background: #f1f6f1 !important; color: #18373a; overflow: hidden; }
#hero #heroCarousel { inset: 0 0 0 auto !important; top: 84px !important; bottom: 30px !important; width: 45% !important; height: auto !important; border-radius: 32px 0 0 32px; overflow: hidden; }
#hero #heroCarousel .carousel-inner,#hero #heroCarousel .carousel-item { height: 100% !important; }
#hero #heroCarousel img { width: 100%; height: 100%; object-fit: cover; opacity: 1 !important; }
#hero > div[style*="linear-gradient(135deg,rgba(10,14,26"] { background: linear-gradient(90deg,#f1f6f1 0%,#f1f6f1 42%,rgba(241,246,241,.96) 53%,rgba(19,63,62,.82) 72%,rgba(19,63,62,.52) 100%) !important; }
#hero .bg-particles { display: none !important; }
#hero > .container { position: relative; z-index: 3; padding-top: 152px !important; padding-bottom: 100px !important; }
#hero .row > .col-lg-7 { position: relative; z-index: 4; }
#hero .hero-title-one-line { color: #18373a !important; font-size: clamp(2.8rem,5.25vw,5rem) !important; line-height: 1.01 !important; letter-spacing: -.065em; }
#hero .hero-title-one-line span { color: #167c72 !important; -webkit-text-fill-color: #167c72 !important; background: none !important; }
#hero .eyebrow { color: #167b71 !important; }
#hero .container p[style*="rgba(255,255,255"] { color: #5c7374 !important; max-width: 590px; font-size: 1.07rem !important; }
#hero .btn-primary { background: linear-gradient(125deg,#176b70,#39a78e) !important; }
#hero .btn-ghost { color: #176b70 !important; background: #fff !important; border: 1px solid #b9d3c8 !important; }
#hero .card-glass { padding: 30px !important; border: 1px solid rgba(255,255,255,.24); border-radius: 22px !important; background: rgba(20,62,62,.91) !important; box-shadow: 0 28px 70px rgba(12,52,49,.26); backdrop-filter: blur(14px); }
#hero .card-glass h3 { color: #fff !important; }
#hero .card-glass p { color: rgba(255,255,255,.75) !important; }
#hero .anim-float-slow { background: #f0faf5 !important; border: 1px solid #c7e5d8 !important; box-shadow: 0 12px 28px rgba(16,62,54,.16); }
#hero .anim-float-slow div { color: #176b70 !important; }
#hero .row > .col-lg-7 > div[style*="display:flex"][style*="margin-top:3rem"] { max-width: 760px; gap: clamp(15px,3vw,38px) !important; padding-top: 23px; border-top: 1px solid #d5e3db; }
#hero .row > .col-lg-7 > div[style*="display:flex"][style*="margin-top:3rem"] > div > div:first-child { color: #176b70 !important; font-size: 1.9rem !important; }
#hero .row > .col-lg-7 > div[style*="display:flex"][style*="margin-top:3rem"] > div > div:last-child { color: #617779 !important; font-size: .67rem !important; letter-spacing: .08em !important; }
#hero > .container > div[style*="position:absolute"][style*="bottom:-30px"] { display: none !important; }
.pillar-card { border-radius: 22px !important; padding: 32px !important; box-shadow: 0 18px 40px rgba(17,57,56,.15) !important; }
.pillar-card h3 { color: #fff !important; }
.pillar-card:hover { transform: translateY(-6px); }

/* Forms and contact layouts */
.php-email-form,.contact-form { padding: clamp(24px,4vw,42px) !important; }
input,textarea,select,.form-control { min-height: 49px; padding: 12px 15px !important; border: 1px solid #d6e4dc !important; border-radius: 11px !important; background: #fbfdfb !important; color: #18373a !important; box-shadow: none !important; }
textarea,textarea.form-control { min-height: 140px; }
label,.form-label { color: #354e4e; font-weight: 650; }
input:focus,textarea:focus,select:focus,.form-control:focus { border-color: #39a78e !important; box-shadow: 0 0 0 4px rgba(57,167,142,.12) !important; }
.btn,a.btn { min-height: 48px; padding: 12px 23px; border-radius: 999px !important; font-size: .92rem; font-weight: 700; letter-spacing: 0; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary,a.btn-primary { border: 0 !important; color: #fff !important; background: linear-gradient(125deg,#176b70,#39a78e) !important; box-shadow: 0 9px 23px rgba(22,107,100,.2) !important; }
.btn-secondary { background: #e8f3ed !important; color: #176b70 !important; border: 1px solid #cfe2d8 !important; }

/* Closing action band and footer */
main section:not(#hero).cta-section { position: relative; overflow: hidden; padding: 82px 0 !important; background: linear-gradient(120deg,#17464a,#16756a) !important; }
.cta-section::before { content: ''; position: absolute; width: 470px; height: 470px; right: -140px; top: -245px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 48px rgba(255,255,255,.035),0 0 0 96px rgba(255,255,255,.025); }
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { color: #fff !important; font-size: clamp(2.1rem,4vw,3.2rem) !important; }
.cta-content p { color: rgba(255,255,255,.78) !important; }
.cta-content .btn-primary { color: #176b70 !important; background: #fff !important; }
.cta-content .btn-ghost { color: #fff !important; border-color: rgba(255,255,255,.5) !important; background: transparent !important; }
#footer { background: #15383b !important; color: rgba(255,255,255,.72); }
#footer .footer-top { padding: 72px 0 54px; }
#footer .footer-heading { color: #fff; }
#footer .footer-desc,#footer .footer-contact-item,#footer .footer-copyright,#footer .footer-credits { color: rgba(255,255,255,.66) !important; }
#footer .footer-links a { color: rgba(255,255,255,.68); }
#footer .footer-links a:hover,#footer a:hover { color: #9ce3d1; }
#footer .footer-divider { border-color: rgba(255,255,255,.14); }
.scroll-top { background: #208b7d !important; border-radius: 50% !important; }

@media (max-width: 991px) {
  #hero.hero-section { min-height: auto !important; }
  #hero #heroCarousel { inset: 70px 0 auto !important; width: 100% !important; height: 360px !important; bottom: auto !important; border-radius: 0 0 28px 28px; opacity: .23; }
  #hero > div[style*="linear-gradient(135deg,rgba(10,14,26"] { background: linear-gradient(180deg,rgba(19,63,62,.54),#f1f6f1 340px) !important; }
  #hero > .container { padding-top: 116px !important; }
  #hero .row > .col-lg-5 { display: none !important; }
  .page-title,.page-title[style] { min-height: 320px !important; padding: 110px 0 46px !important; }
}
@media (max-width: 575px) {
  #hero #heroCarousel { height: 300px !important; }
  #hero > .container { padding-top: 105px !important; padding-bottom: 56px !important; }
  #hero .hero-title-one-line { font-size: clamp(2.45rem,12vw,3.4rem) !important; }
  #hero .row > .col-lg-7 > div[style*="margin-top:3rem"] { gap: 14px !important; }
  #hero .row > .col-lg-7 > div[style*="margin-top:3rem"] > div > div:first-child { font-size: 1.55rem !important; }
  main section:not(#hero) { padding: 56px 0 !important; }
  .page-title,.page-title[style] { min-height: 278px !important; }
  .page-title h1 { font-size: clamp(2.1rem,10vw,3.1rem) !important; }
  .cta-section { padding: 58px 0 !important; }
}

/* Card-free art direction: use open grids, typography and rules for structure. */
.service-card,.serviceBox,.service-item,.icon-box-modern,.hms-module-card,.why-card,.strength-card,
.who-card,.solution-group,.journey-stage,.feature-card,.testimonial-item,.team-member,.info-item,
.contact .info-item,.php-email-form,.contact-form,.journey-body {
  height: auto; overflow: visible; padding: 24px 0 !important; border: 0 !important;
  border-bottom: 1px solid #d8e6de !important; border-radius: 0 !important; background: transparent !important;
  box-shadow: none !important; transform: none !important;
}
.service-card:hover,.serviceBox:hover,.service-item:hover,.icon-box-modern:hover,.hms-module-card:hover,
.why-card:hover,.strength-card:hover,.solution-group:hover,.journey-stage:hover,.portfolio-item:hover {
  border-color: #a8cbbd !important; box-shadow: none !important; transform: none !important;
}
.serviceBox,.serviceBox.pink { padding: 24px 0 !important; }
.service-card .card-icon,.card-icon,.icon-box-modern .icon,.icon-box-modern .icon-box,
.fi-icon,.strength-icon,.why-icon,.service-icon,.hms-module-icon,.solution-group-icon {
  width: 44px; height: 44px; margin-bottom: 12px; border-radius: 50% !important;
  background: #e7f3ed !important; color: #16786e !important;
}
.feature-item { padding: 16px 0 !important; }
.process-step { padding: 18px 0 !important; margin: 0; border: 0 !important; border-bottom: 1px solid #d8e6de !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; }
.journey-stage { gap: 22px; }
.portfolio-grid { gap: 18px !important; }
.portfolio-item { padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.who-header,.who-body { padding: 18px 0 !important; background: transparent !important; }
.who-header { border-bottom: 1px solid #d8e6de; }
.who-body li { padding-block: 9px; }
.solution-group-header { padding-bottom: 14px; }
.solution-group ul li { padding: 9px 0 !important; }
.pillar-card { min-height: auto !important; padding: 30px 8px !important; border: 0 !important; border-bottom: 1px solid #d4e3db !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.pillar-card::before { background: transparent !important; }
.pillar-card .pillar-num { color: #19796f !important; opacity: .16 !important; }
.pillar-card .pillar-icon { color: #16786e !important; background: #e7f3ed !important; backdrop-filter: none !important; }
.pillar-card h3 { color: #18373a !important; }
.pillar-card p { color: #617779 !important; }
.pillar-card .pillar-tag { color: #176b70 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; padding: 2px 0 !important; margin-right: 10px; }
.pillar-card .pillar-cta,.pillar-card .pillar-cta:hover { color: #176b70 !important; }

/* The homepage's service summary is now an open annotation over the photo. */
#hero .card-glass { padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; }
#hero .card-glass h3 { color: #fff !important; text-shadow: 0 2px 16px rgba(0,0,0,.4); }
#hero .card-glass p { color: rgba(255,255,255,.9) !important; }
#hero .card-glass span { padding: 4px 0 !important; margin-right: 8px; color: #fff !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; }
#hero .anim-float-slow { padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }

/* Dark bands keep their dark backgrounds and carry readable white copy. */
main section:not(#hero).cta-section { background: linear-gradient(120deg,#17464a,#16756a) !important; }
main section:not(#hero)[style*="background:var(--gradient-dark)"],
main section:not(#hero)[style*="background: var(--gradient-dark)"] { background: linear-gradient(120deg,#173e43,#176f68) !important; }
main section:not(#hero)[style*="background:var(--gradient-dark)"] h2,
main section:not(#hero)[style*="background: var(--gradient-dark)"] h2 { color: #fff !important; }
main section:not(#hero)[style*="background:var(--gradient-dark)"] .headline-accent,
main section:not(#hero)[style*="background: var(--gradient-dark)"] .headline-accent { color: #91e2d0 !important; -webkit-text-fill-color: #91e2d0 !important; }
main section:not(#hero)[style*="background:var(--gradient-dark)"] .eyebrow,
main section:not(#hero)[style*="background: var(--gradient-dark)"] .eyebrow { color: #91e2d0 !important; }
main section:not(#hero)[style*="background:var(--gradient-dark)"] .hover-scale,
main section:not(#hero)[style*="background: var(--gradient-dark)"] .hover-scale {
  padding: 22px 0 !important; border: 0 !important; border-bottom: 1px solid rgba(255,255,255,.24) !important;
  border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
}
main section:not(#hero)[style*="background:var(--gradient-dark)"] .hover-scale h4,
main section:not(#hero)[style*="background: var(--gradient-dark)"] .hover-scale h4 { color: #fff !important; }
main section:not(#hero)[style*="background:var(--gradient-dark)"] .hover-scale p,
main section:not(#hero)[style*="background: var(--gradient-dark)"] .hover-scale p { color: rgba(255,255,255,.88) !important; }
.cta-section .cta-bg { background-image: radial-gradient(ellipse at 78% 40%,rgba(84,201,165,.18),transparent 55%) !important; }
.cta-content .btn-ghost { color: #fff !important; background: rgba(255,255,255,.08) !important; border-color: rgba(255,255,255,.65) !important; }
.cta-content .btn-primary { color: #176b70 !important; background: #fff !important; }
.cta-content .eyebrow { color: #a1ead8 !important; }
.contact-info-card { padding: 20px 0 !important; border: 0 !important; border-bottom: 1px solid #d8e6de !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
main [style*="box-shadow:var(--shadow-card)"] { border: 0 !important; border-bottom: 1px solid #d8e6de !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
body.index-page main section div[style*="background:var(--gradient-dark)"][style*="border-radius:24px"] { padding: 22px 0 !important; border: 0 !important; border-bottom: 1px solid #d8e6de !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
body.index-page main section div[style*="background:var(--gradient-dark)"][style*="border-radius:24px"] h3 { color: #18373a !important; }
body.index-page main section div[style*="background:var(--gradient-dark)"][style*="border-radius:24px"] .bg-grid-dark { display: none !important; }
body.index-page main section div[style*="background:var(--gradient-dark)"][style*="border-radius:24px"] div[style*="display:grid"] > div { padding: 9px 0 !important; border: 0 !important; border-bottom: 1px solid #d8e6de !important; border-radius: 0 !important; background: transparent !important; }
body.index-page main section div[style*="background:var(--gradient-dark)"][style*="border-radius:24px"] div[style*="display:grid"] > div i { color: #188278 !important; }
body.index-page main section div[style*="background:var(--gradient-dark)"][style*="border-radius:24px"] div[style*="display:grid"] > div span { color: #18373a !important; }

/* Topic-specific editorial photo bands add visual depth without adding cards. */
.site-visual-gallery { padding: clamp(56px,7vw,92px) 0 !important; background: #f3f8f5 !important; }
.site-visual-gallery-heading { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.site-visual-gallery-heading .eyebrow { justify-content: center; }
.site-visual-gallery-heading h2 { margin: 10px 0 12px; font-size: clamp(1.9rem,3.5vw,2.8rem) !important; line-height: 1.12; }
.site-visual-gallery-heading p { max-width: 700px; margin: 0 auto; }
.site-visual-gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px,2.4vw,30px); }
.site-visual-gallery-item { min-width: 0; margin: 0; }
.site-visual-gallery-image { width: 100%; aspect-ratio: 1.18; overflow: hidden; background: #e2ece7; }
.site-visual-gallery-image img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.site-visual-gallery-item:hover .site-visual-gallery-image img { transform: scale(1.035); }
.site-visual-gallery-item figcaption { display: flex; align-items: baseline; gap: 12px; padding: 14px 0 0; border-bottom: 1px solid #cbded4; }
.site-visual-gallery-item figcaption span { flex: 0 0 auto; color: #228879; font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.site-visual-gallery-item figcaption h3 { margin: 0 0 13px; color: #18373a !important; font-size: 1rem !important; font-weight: 700; letter-spacing: -.02em; }
.map-directions-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 13px; color: #176f68 !important; font-size: .9rem; font-weight: 700; text-decoration: none; }
.map-directions-link:hover { color: #23947f !important; text-decoration: underline; text-underline-offset: 3px; }
.map-container { min-height: 280px; background: #e9f1ec; }
.map-container iframe { min-height: 280px; }

@media (max-width: 767px) {
  .site-visual-gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 16px; }
  .site-visual-gallery-item:first-child { grid-column: 1 / -1; }
  .site-visual-gallery-item:first-child .site-visual-gallery-image { aspect-ratio: 1.65; }
  .site-visual-gallery-image { aspect-ratio: 1.12; }
}
@media (max-width: 480px) {
  .site-visual-gallery-heading { margin-bottom: 25px; text-align: left; }
  .site-visual-gallery-heading .eyebrow { justify-content: flex-start; }
  .site-visual-gallery-grid { grid-template-columns: 1fr; gap: 22px; }
  .site-visual-gallery-item:first-child { grid-column: auto; }
  .site-visual-gallery-item:first-child .site-visual-gallery-image,
  .site-visual-gallery-image { aspect-ratio: 1.45; }
  .site-visual-gallery-item figcaption h3 { font-size: .98rem !important; }
}
