
/* =========================================================
   HAL Modern Static Website
   Red / Blue / Green healthcare visual system
   ========================================================= */

:root {
  --hal-red: #d71920;
  --hal-red-dark: #a70f16;
  --hal-blue: #082a8f;
  --hal-blue-soft: #eaf0ff;
  --hal-green: #07964b;
  --hal-green-soft: #e8f7ef;
  --ink: #101828;
  --muted: #64748b;
  --line: #e5e7eb;
  --bg: #f8fafc;
  --white: #ffffff;
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.14);
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

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

.topbar {
  color: var(--white);
  background: linear-gradient(90deg, var(--hal-red), var(--hal-red-dark));
  font-size: 0.88rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
}

.nav {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 280px;
}

.brand img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: contain;
}

.brand strong {
  display: block;
  color: var(--hal-blue);
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--hal-red);
  font-weight: 700;
  line-height: 1.2;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-weight: 700;
}

.menu a {
  position: relative;
  padding: 12px 14px;
  border-radius: 999px;
  color: #0f172a;
  transition: 0.22s ease;
}

.menu a:hover,
.menu a.active {
  color: var(--hal-red);
  background: #fff1f2;
}

.menu a.active::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 4px;
  height: 3px;
  border-radius: 999px;
  background: var(--hal-red);
}

.menu a.btn,
.btn {
  color: var(--white);
  background: var(--hal-red);
  border: 2px solid var(--hal-red);
  box-shadow: 0 12px 25px rgba(215, 25, 32, 0.22);
}

.menu a.btn:hover,
.btn:hover {
  color: var(--white);
  background: var(--hal-blue);
  border-color: var(--hal-blue);
  transform: translateY(-2px);
}

.mobile-menu {
  display: none;
  border: 0;
  color: var(--white);
  background: var(--hal-blue);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.2), transparent 23%),
    linear-gradient(135deg, var(--hal-blue) 0%, #0b3eb5 48%, var(--hal-red) 100%);
  padding: 72px 0 86px;
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.page-hero::before {
  width: 680px;
  height: 680px;
  right: -300px;
  bottom: -420px;
  border: 70px solid rgba(255, 255, 255, 0.11);
}

.page-hero::after {
  width: 420px;
  height: 420px;
  left: -220px;
  top: -210px;
  background: rgba(7, 150, 75, 0.25);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  font-size: 0.9rem;
}

.page-hero h1 {
  max-width: 850px;
  margin: 18px 0 10px;
  font-size: clamp(2.4rem, 6vw, 5.3rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

/* =========================================================
   Bleeding disorder page style
   ========================================================= */

body.section-bleeding-disorders {
  background:
    linear-gradient(180deg, #fff 0%, #f8fafc 28%, #f1f5f9 100%);
}

body.section-bleeding-disorders .page-hero {
  padding-bottom: 122px;
  background:
    radial-gradient(circle at 83% 23%, rgba(255, 255, 255, 0.22), transparent 22%),
    linear-gradient(135deg, #061f72 0%, var(--hal-blue) 42%, #cf111b 100%);
}

body.section-bleeding-disorders .page-hero h1 span,
body.section-bleeding-disorders .page-hero h1 em {
  color: #ffffff;
}

.content-wrap {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin-top: -54px;
  padding-bottom: 76px;
}

.side-nav {
  position: sticky;
  top: 118px;
  z-index: 3;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-sm);
}

.side-nav strong {
  display: block;
  margin-bottom: 12px;
  color: var(--hal-blue);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.side-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 14px;
  color: #334155;
  font-weight: 750;
  transition: 0.2s ease;
}

.side-nav a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: 0.2s ease;
}

.side-nav a:hover {
  color: var(--hal-red);
  background: #fff5f5;
  transform: translateX(4px);
}

.side-nav a.active,
.side-nav a[aria-current="page"] {
  color: var(--white);
  background: linear-gradient(135deg, var(--hal-red), var(--hal-blue));
  box-shadow: 0 12px 25px rgba(8, 42, 143, 0.2);
}

.side-nav a.active::before,
.side-nav a[aria-current="page"]::before {
  background: var(--hal-green);
  box-shadow: 0 0 0 4px rgba(7, 150, 75, 0.22);
}

.article {
  overflow: hidden;
  padding: clamp(24px, 4vw, 46px);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: var(--shadow-sm);
}

.article > img:first-child {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.article h2 {
  position: relative;
  margin: 34px 0 14px;
  color: var(--hal-blue);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

.article h2::before {
  content: "";
  display: block;
  width: 58px;
  height: 5px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hal-red), var(--hal-green));
}

.article p {
  color: #334155;
  font-size: 1.03rem;
}

.article-label {
  color: var(--hal-blue);
  font-weight: 800;
}

.article p:first-of-type {
  font-size: 1.12rem;
  color: #1f2937;
}

.condition-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 300px;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 30px;
}

.condition-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  color: var(--white);
  border-radius: 26px;
  background:
    radial-gradient(circle at 93% 10%, rgba(255, 255, 255, 0.2), transparent 24%),
    linear-gradient(135deg, var(--hal-blue), var(--hal-red));
  box-shadow: var(--shadow-md);
}

.condition-card::after {
  content: "";
  position: absolute;
  right: -68px;
  bottom: -98px;
  width: 220px;
  height: 220px;
  border: 34px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.condition-card .eyebrow,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--hal-red);
  font-weight: 900;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.condition-card .eyebrow {
  color: #ffffff;
  opacity: 0.9;
}

.condition-card h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.condition-card h2::before {
  display: none;
}

.condition-card p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
}

.quick-facts {
  display: grid;
  gap: 12px;
}

.fact-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  color: #172554;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: var(--shadow-sm);
}

.fact-pill span {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  background: var(--hal-red);
  font-size: 1.25rem;
}

.condition-nav-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 12px;
  border-radius: 22px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.condition-nav-strip a {
  flex: 1 1 145px;
  text-align: center;
  padding: 11px 12px;
  border-radius: 14px;
  color: #334155;
  background: #ffffff;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.92rem;
  transition: 0.2s ease;
}

.condition-nav-strip a:hover {
  color: var(--hal-red);
  border-color: #fecdd3;
  transform: translateY(-2px);
}

.condition-nav-strip a.active,
.condition-nav-strip a[aria-current="page"] {
  color: var(--white);
  background: linear-gradient(135deg, var(--hal-red), var(--hal-blue));
  box-shadow: 0 12px 25px rgba(215, 25, 32, 0.2);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0;
}

.info-tile {
  min-height: 150px;
  padding: 22px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
}

.info-tile .icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 16px;
  color: var(--white);
  background: var(--hal-red);
  font-size: 1.25rem;
}

.info-tile:nth-child(2) .icon {
  background: var(--hal-blue);
}

.info-tile:nth-child(3) .icon {
  background: var(--hal-green);
}

.info-tile h3 {
  margin: 0 0 8px;
  color: var(--hal-blue);
  line-height: 1.2;
}

.info-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.note,
.support-box {
  margin-top: 30px;
  padding: 24px;
  border-radius: 24px;
  color: #172554;
  background: linear-gradient(135deg, #fff1f2, #eff6ff 65%, #ecfdf5);
  border: 1px solid #fecdd3;
}

.support-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
}

.support-box .btn-secondary {
  white-space: nowrap;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--hal-red);
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(215, 25, 32, 0.22);
}

.footer {
  padding: 56px 0 28px;
  color: #cbd5e1;
  background: #08122f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer h4 {
  margin-top: 0;
  color: #ffffff;
}

.footer a {
  display: block;
  margin: 8px 0;
  color: #cbd5e1;
}

.footer a:hover {
  color: #ffffff;
}

@media (max-width: 980px) {
  .mobile-menu {
    display: inline-flex;
  }

  .menu {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow-md);
  }

  .menu.open {
    display: flex;
  }

  .content-wrap,
  .condition-highlight,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .side-nav {
    position: relative;
    top: auto;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar .container,
  .nav,
  .support-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .content-wrap {
    width: min(100% - 24px, var(--container));
  }

  .page-hero {
    padding: 48px 0 98px;
  }

  .article {
    padding: 22px;
  }
}

/* =========================================================
   Global repair pass: page spacing, active states and richer
   inside pages across all website sections
   ========================================================= */

main {
  background:
    radial-gradient(circle at top left, rgba(215, 25, 32, 0.045), transparent 30%),
    radial-gradient(circle at 95% 10%, rgba(8, 42, 143, 0.055), transparent 28%),
    var(--bg);
}

.page-hero {
  margin-bottom: 0;
}

.content-wrap {
  margin-top: 42px;
  padding-top: 0;
}

body.section-bleeding-disorders .content-wrap {
  margin-top: 42px;
}

body.section-bleeding-disorders .article {
  border-top: 6px solid var(--hal-red);
}

body.section-our-work .page-hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.2), transparent 23%),
    linear-gradient(135deg, var(--hal-green) 0%, var(--hal-blue) 48%, var(--hal-red) 100%);
}

body.section-about .page-hero {
  background:
    radial-gradient(circle at 83% 20%, rgba(255, 255, 255, 0.2), transparent 24%),
    linear-gradient(135deg, var(--hal-blue) 0%, #1238a7 45%, var(--hal-green) 100%);
}

body.section-news .page-hero {
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.2), transparent 24%),
    linear-gradient(135deg, #7f1d1d 0%, var(--hal-red) 45%, var(--hal-blue) 100%);
}

.menu a.active,
.menu a[aria-current='page'] {
  color: var(--hal-red);
  background: #fff1f2;
}

.menu a.btn.active,
.menu a.btn[aria-current='page'] {
  color: var(--white);
  background: var(--hal-blue);
  border-color: var(--hal-blue);
}

.article {
  position: relative;
}

.article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--hal-red), var(--hal-blue), var(--hal-green));
}

.article ul,
.article ol {
  padding-left: 1.3rem;
  color: #334155;
}

.article li {
  margin: 0.45rem 0;
}

.article blockquote,
.quote {
  margin: 30px 0 0;
  padding: 24px 26px;
  border-left: 6px solid var(--hal-red);
  border-radius: 20px;
  color: #172554;
  background: linear-gradient(135deg, #fff1f2, #eff6ff 65%, #ecfdf5);
}

.side-nav {
  border-top: 5px solid var(--hal-red);
}

.side-nav a.active::after,
.side-nav a[aria-current='page']::after {
  content: "Current";
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--hal-blue);
  background: #ffffff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-card,
.article-card {
  overflow: hidden;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
}

.hero-card img,
.article-card img {
  width: 100%;
  object-fit: cover;
}

.section-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 32px 0;
}

.section-link-card {
  position: relative;
  overflow: hidden;
  min-height: 175px;
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: 0.22s ease;
}

.section-link-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--hal-red), var(--hal-blue), var(--hal-green));
}

.section-link-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.section-link-card h3 {
  margin: 0 0 8px;
  color: var(--hal-blue);
}

.section-link-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

@media (max-width: 980px) {
  .content-wrap,
  body.section-bleeding-disorders .content-wrap {
    margin-top: 30px;
  }

  .section-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .content-wrap,
  body.section-bleeding-disorders .content-wrap {
    margin-top: 22px;
  }

  .section-link-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-bottom: 54px;
  }
}

/* =========================================================
   Targeted repair: index.html and our-team.html
   Clean spacing, stronger visual hierarchy, active states
   ========================================================= */

.topbar-inner {
  align-items: center;
}

.menu a.active,
.menu a[aria-current="page"] {
  color: var(--hal-red);
  font-weight: 800;
  position: relative;
}

.menu a.active::after,
.menu a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -14px;
  height: 3px;
  border-radius: 999px;
  background: var(--hal-red);
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 78px;
  background:
    radial-gradient(circle at 85% 20%, rgba(215, 25, 32, 0.16), transparent 28%),
    radial-gradient(circle at 70% 75%, rgba(8, 42, 143, 0.15), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #fff7f7 48%, #eef4ff 100%);
}

.home-hero::before {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -35%;
  width: 72%;
  height: 74%;
  border-radius: 50% 0 0 0;
  background: linear-gradient(135deg, var(--hal-red), var(--hal-blue));
  opacity: 0.96;
}

.home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.home-hero-copy h1 {
  max-width: 720px;
  margin: 10px 0 22px;
  color: var(--hal-blue);
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.home-hero-copy h1 span {
  display: block;
  color: var(--hal-red);
}

.home-hero-copy p {
  max-width: 650px;
  color: #334155;
  font-size: 1.08rem;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-checks span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  color: var(--hal-blue);
  background: white;
  border: 1px solid rgba(8, 42, 143, 0.13);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-checks span::before {
  content: "✓";
  color: var(--hal-green);
}

.home-hero-visual {
  position: relative;
  min-height: 440px;
}

.ribbon-shape {
  position: absolute;
  inset: 54px 0 0 8%;
  border-radius: 46% 54% 36% 64% / 48% 44% 56% 52%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.62)),
    radial-gradient(circle at 24% 20%, rgba(215, 25, 32, 0.45), transparent 26%),
    radial-gradient(circle at 85% 70%, rgba(7, 150, 75, 0.42), transparent 26%),
    linear-gradient(135deg, rgba(8, 42, 143, 0.35), rgba(215, 25, 32, 0.24));
  box-shadow: var(--shadow-md);
}

.visual-card,
.visual-stat {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: var(--shadow-md);
}

.visual-card-main {
  left: 12%;
  top: 22%;
  width: min(360px, 78vw);
  padding: 30px;
  border-radius: 30px;
  text-align: center;
}

.visual-card-main img {
  width: 138px;
  height: 138px;
  margin: 0 auto 18px;
  object-fit: contain;
  border-radius: 50%;
  border: 6px solid white;
  box-shadow: 0 12px 30px rgba(8, 42, 143, 0.18);
}

.visual-card-main strong {
  display: block;
  color: var(--hal-blue);
  font-size: 1.25rem;
}

.visual-card-main span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.visual-stat {
  width: 185px;
  padding: 18px;
  border-radius: 22px;
}

.visual-stat strong {
  display: block;
  color: var(--hal-red);
  font-size: 2rem;
  line-height: 1;
}

.visual-stat span {
  display: block;
  margin-top: 6px;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 700;
}

.visual-stat-one {
  left: 0;
  bottom: 20px;
}

.visual-stat-two {
  right: 0;
  top: 26px;
}

.quick-links-section {
  position: relative;
  z-index: 2;
  margin-top: -34px;
  padding-bottom: 42px;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.quick-card {
  display: block;
  min-height: 250px;
  padding: 28px;
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-top: 5px solid var(--hal-red);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quick-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.quick-card.blue {
  border-top-color: var(--hal-blue);
}

.quick-card.green {
  border-top-color: var(--hal-green);
}

.quick-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 18px;
  color: white;
  background: var(--hal-red);
  border-radius: 18px;
  font-size: 1.5rem;
}

.quick-card.blue .quick-icon {
  background: var(--hal-blue);
}

.quick-card.green .quick-icon {
  background: var(--hal-green);
}

.quick-card h3 {
  margin: 0 0 10px;
  color: var(--hal-blue);
}

.quick-card p {
  margin: 0 0 20px;
  color: var(--muted);
}

.quick-card strong {
  color: var(--hal-red);
}

.split-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
  padding: 40px;
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 32px;
  box-shadow: var(--shadow-sm);
}

.image-placeholder {
  min-height: 380px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(8, 42, 143, 0.86), rgba(215, 25, 32, 0.72)),
    radial-gradient(circle at 28% 28%, rgba(255,255,255,0.35), transparent 22%);
}

.image-placeholder span {
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.media-panel .community-image {
  width: 100%;
  min-height: 380px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}

.content-panel h2,
.focus-section h2,
.news-preview-section h2 {
  margin: 8px 0 14px;
  color: var(--hal-blue);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.tick-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.tick-list li {
  position: relative;
  padding-left: 34px;
  color: #334155;
  font-weight: 700;
}

.tick-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  color: white;
  background: var(--hal-red);
  border-radius: 50%;
  font-size: 0.75rem;
}

.centered {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.focus-card {
  padding: 28px;
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.focus-card span {
  color: var(--hal-red);
  font-size: 0.9rem;
  font-weight: 900;
}

.focus-card h3 {
  margin: 8px 0 10px;
  color: var(--hal-blue);
}

.focus-card p {
  margin: 0;
  color: var(--muted);
}

.impact-strip {
  margin: 26px 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: linear-gradient(90deg, #fff5f6, #eef4ff, #effdf5);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
}

.impact-grid div {
  padding: 28px;
  border-right: 1px solid rgba(15, 23, 42, 0.09);
}

.impact-grid div:last-child {
  border-right: 0;
}

.impact-grid strong {
  display: block;
  color: var(--hal-blue);
  font-size: 2.2rem;
  line-height: 1;
}

.impact-grid span {
  display: block;
  margin-top: 7px;
  color: #334155;
  font-weight: 700;
}

.news-preview-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.news-preview-list {
  display: grid;
  gap: 14px;
}

.news-preview-list a {
  display: grid;
  gap: 6px;
  padding: 22px;
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-left: 5px solid var(--hal-red);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.news-preview-list span {
  color: var(--hal-green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.news-preview-list strong {
  color: var(--hal-blue);
  font-size: 1.1rem;
}

.news-preview-list small {
  color: var(--muted);
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: contain;
  background: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 32px;
  padding-top: 20px;
  font-size: 0.9rem;
}

.team-hero {
  padding: 70px 0 84px;
  color: white;
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 255, 255, 0.22), transparent 23%),
    linear-gradient(135deg, var(--hal-blue), #111d5e 48%, var(--hal-red));
}

.team-hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 42px;
  align-items: center;
}

.team-hero .breadcrumb,
.team-hero .breadcrumb a,
.team-hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.team-hero h1 {
  max-width: 850px;
  margin: 10px 0 18px;
  color: white;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.team-hero h1 span {
  display: block;
  color: #ffffff;
  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.18);
}

.team-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.87);
  font-size: 1.08rem;
}

.team-hero-card {
  padding: 26px;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}

.team-hero-card img {
  width: 140px;
  height: 140px;
  margin: 0 auto 18px;
  border-radius: 50%;
  object-fit: contain;
}

.team-hero-card strong {
  display: block;
  color: var(--hal-red);
  font-size: 1.2rem;
}

.team-hero-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.team-directory-section {
  padding: 54px 0 86px;
}

.team-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.team-side-nav {
  position: sticky;
  top: 116px;
  margin-top: 0;
}

.side-nav a.active,
.side-nav a[aria-current="page"] {
  color: white;
  background: linear-gradient(135deg, var(--hal-red), var(--hal-blue));
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.team-main {
  min-width: 0;
}

.team-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.team-head h2 {
  margin: 6px 0 10px;
  color: var(--hal-blue);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.team-head p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
}

.chair-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 26px;
  align-items: center;
  margin-bottom: 28px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,245,246,0.95)),
    radial-gradient(circle at 100% 0%, rgba(215, 25, 32, 0.18), transparent 28%);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-top: 5px solid var(--hal-red);
  border-radius: 30px;
  box-shadow: var(--shadow-md);
}

.chair-card .chair-image {
  width: 150px;
  height: 150px;
  font-size: 2.2rem;
}

.role-pill {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 12px;
  color: white;
  background: var(--hal-red);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chair-card h3 {
  margin: 0 0 8px;
  color: var(--hal-blue);
  font-size: 2rem;
  line-height: 1;
}

.chair-card p {
  max-width: 760px;
  margin: 0;
  color: #475569;
}

.refined-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.member-card {
  position: relative;
  min-height: 318px;
  padding: 34px 24px 26px;
  text-align: center;
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.member-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 84px;
  background: linear-gradient(135deg, var(--hal-red), var(--hal-blue));
}

.member-card:nth-child(3n)::before {
  background: linear-gradient(135deg, var(--hal-green), var(--hal-blue));
}

.member-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.member-photo,
.initials-photo {
  position: relative;
  z-index: 1;
  width: 134px;
  height: 134px;
  margin: 0 auto 22px;
  border: 6px solid white;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 14px 28px rgba(8, 42, 143, 0.22);
}

.initials-photo {
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--hal-blue), var(--hal-red));
  font-size: 1.7rem;
  font-weight: 900;
}

.member-card h3 {
  margin: 0 0 8px;
  color: var(--hal-blue);
  font-size: 1.25rem;
  line-height: 1.2;
}

.member-card p {
  margin: 0 auto;
  max-width: 230px;
  color: var(--hal-red);
  font-weight: 800;
  line-height: 1.35;
}

.team-note-card {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  margin-top: 34px;
  padding: 30px;
  color: white;
  background: linear-gradient(135deg, var(--hal-blue), var(--hal-red));
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}

.team-note-card .eyebrow,
.team-note-card p,
.team-note-card h2 {
  color: white;
}

.team-note-card h2 {
  margin: 4px 0 8px;
}

.team-note-card p {
  margin: 0;
  opacity: 0.9;
}

.team-note-card code {
  padding: 2px 6px;
  color: var(--hal-blue);
  background: white;
  border-radius: 6px;
}

.team-note-card .btn {
  flex: 0 0 auto;
  background: white;
  color: var(--hal-red);
}

@media (max-width: 1040px) {
  .home-hero-grid,
  .team-hero-grid,
  .split-panel,
  .news-preview-layout,
  .team-layout {
    grid-template-columns: 1fr;
  }

  .home-hero::before {
    opacity: 0.35;
  }

  .home-hero-visual {
    min-height: 340px;
  }

  .quick-links-grid,
  .focus-grid,
  .impact-grid,
  .refined-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-side-nav {
    position: static;
  }
}

@media (max-width: 720px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-hero {
    padding: 62px 0;
  }

  .home-hero-copy h1,
  .team-hero h1 {
    font-size: clamp(2.5rem, 14vw, 4.2rem);
  }

  .home-hero-visual {
    display: none;
  }

  .quick-links-grid,
  .focus-grid,
  .impact-grid,
  .refined-team-grid {
    grid-template-columns: 1fr;
  }

  .split-panel,
  .chair-card,
  .team-note-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .chair-card {
    text-align: center;
  }

  .team-note-card {
    display: grid;
  }

  .impact-grid div {
    border-right: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.09);
  }

  .impact-grid div:last-child {
    border-bottom: 0;
  }
}


/* =========================================================
   People pages: Executive and Our Team
   Repaired photo mapping and modern card layout
   ========================================================= */

.people-page .people-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 86px;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.22), transparent 28%),
    linear-gradient(135deg, #061b67 0%, #0b2f93 48%, #d90416 100%);
}

.people-page .people-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -150px;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.people-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 44px;
  align-items: center;
}

.people-page .breadcrumb,
.people-page .breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
}

.people-page .eyebrow {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.people-hero h1 {
  margin: 16px 0 18px;
  color: #ffffff;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.people-hero p {
  max-width: 850px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
  line-height: 1.85;
}

.people-hero-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
}

.people-hero-panel img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border: 5px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.people-hero-panel span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.people-hero-panel strong {
  display: block;
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.35;
}

.stacked-avatars {
  grid-template-columns: auto auto auto 1fr;
}

.stacked-avatars img {
  width: 78px;
  height: 78px;
  margin-right: -26px;
}

.stacked-avatars div {
  margin-left: 22px;
}

.people-content-section {
  padding: 72px 0 96px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fff7f7 100%);
}

.people-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.people-side-nav {
  position: sticky;
  top: 108px;
}

.people-main {
  min-width: 0;
}

.centered-section-head {
  max-width: 920px;
  margin: 0 auto 38px;
  text-align: center;
}

.centered-section-head .eyebrow {
  color: #d90416;
  background: #fff1f2;
  border-color: rgba(217, 4, 22, 0.16);
}

.centered-section-head h2 {
  margin: 12px 0 12px;
  color: #061b67;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.04em;
}

.centered-section-head p {
  margin: 0 auto;
  max-width: 820px;
  color: #475569;
  line-height: 1.8;
}

.secondary-head {
  margin-top: 70px;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.person-card {
  position: relative;
  min-height: 292px;
  padding: 94px 24px 28px;
  overflow: visible;
  text-align: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.person-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 8px;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(90deg, #d90416, #0639a6, #079447);
}

.person-card:hover {
  transform: translateY(-8px);
  border-color: rgba(217, 4, 22, 0.22);
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.16);
}

.person-photo-wrap {
  position: absolute;
  top: -52px;
  left: 50%;
  width: 118px;
  height: 118px;
  transform: translateX(-50%);
}

.person-photo {
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  object-fit: cover;
  border: 6px solid #ffffff;
  border-radius: 999px;
  background: #f8fafc;
  box-shadow:
    0 0 0 5px #0639a6,
    0 18px 36px rgba(15, 23, 42, 0.22);
}

.person-initials {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, #d90416, #0639a6);
}

.person-info h3 {
  margin: 0 0 10px;
  color: #079447;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.15;
}

.person-info p {
  margin: 0;
  color: #0639a6;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.45;
}

.executive-grid {
  margin-top: 68px;
}

.team-people-grid,
.nurse-grid {
  margin-top: 68px;
}

.nurse-grid .person-card {
  min-height: 260px;
}

@media (max-width: 1100px) {
  .people-hero-grid,
  .people-layout {
    grid-template-columns: 1fr;
  }

  .people-side-nav {
    position: static;
  }

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

@media (max-width: 700px) {
  .people-page .people-hero {
    padding: 52px 0 72px;
  }

  .people-hero-panel,
  .stacked-avatars {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .stacked-avatars img {
    margin: 0 auto -18px;
  }

  .stacked-avatars div {
    margin-left: 0;
    margin-top: 18px;
  }

  .people-grid {
    grid-template-columns: 1fr;
  }

  .person-card {
    min-height: 250px;
  }
}

/* =========================================================
   Home hero repair: calmer typography and cleaner structure
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1.1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-outline {
  color: var(--hal-blue);
  background: #ffffff;
  border-color: rgba(8, 42, 143, 0.22);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.btn-outline:hover {
  color: #ffffff;
  background: var(--hal-blue);
  border-color: var(--hal-blue);
}

.home-hero {
  padding: clamp(58px, 8vw, 96px) 0 clamp(54px, 7vw, 82px);
  background:
    linear-gradient(90deg, rgba(4, 16, 47, 0.88) 0%, rgba(4, 16, 47, 0.72) 42%, rgba(4, 16, 47, 0.36) 100%),
    linear-gradient(180deg, rgba(8, 42, 143, 0.28), rgba(215, 25, 32, 0.2)),
    url("images/uploads/IMG_5212-min-scaled.jpg") center center / cover no-repeat;
}

.home-hero::before {
  right: -18%;
  bottom: -42%;
  width: 58%;
  height: 68%;
  border-radius: 48px 0 0 0;
  background: linear-gradient(135deg, rgba(215, 25, 32, 0.7), rgba(8, 42, 143, 0.58));
  opacity: 0.18;
}

.home-hero-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.82fr);
  gap: clamp(32px, 6vw, 72px);
}

.home-hero-copy {
  max-width: 760px;
}

.home-hero .eyebrow {
  margin-bottom: 14px;
  color: #ffffff;
  letter-spacing: 0.09em;
}

.home-hero-copy h1 {
  max-width: 760px;
  margin: 0 0 22px;
  color: #ffffff;
  font-size: clamp(2.65rem, 6.4vw, 5.55rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-transform: none;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.home-hero-copy p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-checks {
  gap: 9px;
  margin-top: 24px;
}

.hero-checks span {
  min-height: 38px;
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: none;
  font-size: 0.88rem;
  backdrop-filter: blur(10px);
}

.hero-checks span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--hal-green);
}

.home-hero-visual {
  display: grid;
  min-height: 0;
  gap: 16px;
  align-self: stretch;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.76));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.ribbon-shape {
  inset: auto 18px 18px auto;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.16), rgba(8, 42, 143, 0.13));
  box-shadow: none;
}

.visual-card,
.visual-stat {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.09);
}

.visual-card-main {
  left: auto;
  top: auto;
  width: 100%;
  padding: clamp(24px, 4vw, 36px);
  text-align: left;
}

.visual-card-main img {
  width: 104px;
  height: 104px;
  margin: 0 0 22px;
  border-width: 4px;
}

.visual-card-main strong {
  max-width: 360px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.14;
}

.visual-card-main span {
  max-width: 360px;
  line-height: 1.6;
}

.visual-stat {
  width: 100%;
  padding: 18px 20px;
}

.visual-stat-one,
.visual-stat-two {
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
}

.visual-stat strong {
  font-size: 1.65rem;
}

@media (max-width: 1040px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-visual {
    max-width: 620px;
  }
}

@media (max-width: 720px) {
  .home-hero {
    padding: 46px 0 54px;
  }

  .home-hero-copy h1 {
    font-size: clamp(2.25rem, 11vw, 3.55rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .home-hero-visual {
    display: grid;
  }
}

/* =========================================================
   Awareness page media layout
   ========================================================= */

.awareness-article > img:first-child {
  display: none;
}

.awareness-lead {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 36px;
}

.awareness-lead img,
.awareness-feature-card img,
.awareness-gallery img {
  width: 100%;
  object-fit: cover;
  background: #e2e8f0;
}

.awareness-lead img {
  aspect-ratio: 16 / 7.5;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.awareness-lead h2 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.awareness-lead p {
  max-width: 900px;
  margin: 0;
}

.awareness-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0 42px;
}

.awareness-feature-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.awareness-feature-card img {
  aspect-ratio: 4 / 3;
}

.awareness-feature-card div {
  padding: 22px;
}

.awareness-feature-card h2 {
  margin: 0 0 10px;
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.awareness-feature-card h2::before {
  width: 42px;
  height: 4px;
  margin-bottom: 10px;
}

.awareness-feature-card p {
  margin: 0;
  font-size: 0.98rem;
}

.awareness-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.awareness-gallery figure {
  overflow: hidden;
  margin: 0;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: var(--shadow-sm);
}

.awareness-gallery img {
  aspect-ratio: 1 / 0.82;
}

.awareness-gallery figcaption {
  padding: 12px 14px;
  color: #334155;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
}

@media (max-width: 1100px) {
  .awareness-feature-grid {
    grid-template-columns: 1fr;
  }

  .awareness-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .awareness-lead {
    gap: 20px;
  }

  .awareness-lead img,
  .awareness-feature-card img {
    aspect-ratio: 4 / 3;
  }

  .awareness-gallery {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Home responsive polish: tablet and mobile
   ========================================================= */

@media (max-width: 1040px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .nav {
    min-height: 78px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 62px;
    height: 62px;
  }

  .brand strong {
    max-width: 310px;
    font-size: 0.94rem;
  }

  .home-hero {
    background:
      linear-gradient(90deg, rgba(4, 16, 47, 0.9) 0%, rgba(4, 16, 47, 0.78) 52%, rgba(4, 16, 47, 0.48) 100%),
      linear-gradient(180deg, rgba(8, 42, 143, 0.3), rgba(215, 25, 32, 0.2)),
      url("images/uploads/IMG_5212-min-scaled.jpg") center center / cover no-repeat;
  }

  .home-hero-grid {
    gap: 28px;
  }

  .home-hero-copy {
    max-width: 720px;
  }

  .home-hero-visual {
    max-width: none;
    grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.75fr);
    align-items: stretch;
  }

  .visual-card-main {
    grid-row: span 2;
  }

  .visual-card-main img {
    width: 86px;
    height: 86px;
  }

  .quick-card {
    min-height: 220px;
  }

  .split-panel {
    gap: 28px;
    padding: 30px;
  }

  .media-panel .community-image {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .topbar {
    font-size: 0.78rem;
  }

  .topbar .container,
  .topbar-inner {
    display: grid;
    gap: 4px;
    padding: 8px 0;
  }

  .nav {
    min-height: 72px;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .brand {
    gap: 10px;
    flex: 1 1 auto;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand strong {
    max-width: 190px;
    font-size: 0.82rem;
    letter-spacing: 0;
  }

  .brand small {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    padding: 10px 13px;
    overflow: hidden;
    font-size: 0.86rem;
    text-indent: -999px;
  }

  .mobile-menu::before,
  .mobile-menu::after {
    content: "";
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 6px 0 currentColor;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }

  .mobile-menu::after {
    position: absolute;
    box-shadow: none;
    transform: translateY(-6px);
  }

  .mobile-menu[aria-expanded="true"]::before {
    box-shadow: none;
    transform: rotate(45deg);
  }

  .mobile-menu[aria-expanded="true"]::after {
    transform: rotate(-45deg);
  }

  .menu {
    left: 12px;
    right: 12px;
    gap: 6px;
    border-radius: 16px;
  }

  .menu a {
    padding: 11px 12px;
    border-radius: 12px;
  }

  .menu a.active::after,
  .menu a[aria-current="page"]::after {
    display: none;
  }

  .home-hero {
    padding: 42px 0 38px;
    background:
      linear-gradient(180deg, rgba(4, 16, 47, 0.92) 0%, rgba(4, 16, 47, 0.82) 58%, rgba(4, 16, 47, 0.72) 100%),
      url("images/uploads/IMG_5212-min-scaled.jpg") 58% center / cover no-repeat;
  }

  .home-hero-copy h1 {
    max-width: 18ch;
    margin-bottom: 16px;
    font-size: clamp(2rem, 8.8vw, 2.9rem);
    line-height: 1.08;
  }

  .home-hero-copy p {
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 46px;
  }

  .hero-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }

  .hero-checks span {
    justify-content: flex-start;
    min-width: 0;
    min-height: 36px;
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .home-hero-visual {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
    border-radius: 20px;
  }

  .visual-card-main {
    grid-row: auto;
    padding: 18px;
  }

  .visual-card-main img {
    width: 62px;
    height: 62px;
    margin-bottom: 12px;
  }

  .visual-card-main strong {
    font-size: 1.14rem;
  }

  .visual-card-main span,
  .visual-stat span {
    font-size: 0.86rem;
  }

  .visual-stat {
    padding: 14px 16px;
  }

  .visual-stat strong {
    font-size: 1.35rem;
  }

  .quick-links-section {
    margin-top: 0;
    padding: 28px 0 22px;
  }

  .quick-links-grid,
  .focus-grid,
  .impact-grid {
    gap: 12px;
  }

  .quick-card,
  .focus-card {
    min-height: 0;
    padding: 20px;
    border-radius: 16px;
  }

  .quick-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 14px;
    font-size: 1.25rem;
  }

  .split-panel {
    padding: 18px;
    border-radius: 20px;
  }

  .media-panel .community-image {
    min-height: 220px;
    border-radius: 18px;
  }

  .content-panel h2,
  .focus-section h2,
  .news-preview-section h2 {
    font-size: clamp(1.8rem, 9vw, 2.45rem);
    line-height: 1.08;
  }

  .tick-list li {
    padding-left: 30px;
    font-size: 0.96rem;
  }

  .impact-strip {
    margin: 18px 0;
  }

  .impact-grid {
    border-radius: 18px;
  }

  .impact-grid div {
    padding: 20px;
  }

  .impact-grid strong {
    font-size: 1.85rem;
  }

  .news-preview-layout {
    gap: 20px;
  }

  .news-preview-list a {
    padding: 18px;
    border-radius: 14px;
  }

  .support-box {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
    border-radius: 18px;
  }

  .support-box .btn-secondary {
    width: 100%;
    white-space: normal;
  }

  .footer {
    padding-top: 42px;
  }

  .footer-grid {
    gap: 20px;
  }
}

@media (max-width: 420px) {
  .brand strong {
    max-width: 150px;
    font-size: 0.76rem;
  }

  .home-hero-copy h1 {
    max-width: 17ch;
    font-size: clamp(1.95rem, 8.6vw, 2.65rem);
  }

  .hero-checks {
    grid-template-columns: 1fr;
  }

  .home-hero-visual {
    margin-top: 2px;
  }
}

/* =========================================================
   Mobile section navigation dropdown
   ========================================================= */

.section-nav-toggle {
  display: none;
}

@media (max-width: 760px) {
  .side-nav {
    position: relative;
    top: auto;
    display: grid;
    gap: 8px;
    width: 100%;
    margin: 0 0 18px;
    padding: 10px;
    border-top-width: 0;
    border-radius: 16px;
  }

  .side-nav strong {
    display: none;
  }

  .section-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--hal-red), var(--hal-blue));
    font: inherit;
    font-size: 0.96rem;
    font-weight: 900;
    text-align: left;
    box-shadow: var(--shadow-sm);
  }

  .section-nav-toggle::after {
    content: "";
    width: 9px;
    height: 9px;
    margin-left: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.18s ease;
  }

  .side-nav.open .section-nav-toggle::after {
    transform: rotate(225deg) translate(-2px, -1px);
  }

  .side-nav a {
    display: none;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 11px;
  }

  .side-nav.open a {
    display: flex;
  }

  .side-nav a.active,
  .side-nav a[aria-current="page"] {
    display: none;
  }

  .side-nav a.active::after,
  .side-nav a[aria-current="page"]::after {
    display: none;
  }
}

/* Final mobile nav fixes */
@media (max-width: 980px) {
  .mobile-menu {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    background: var(--hal-blue);
    border-radius: 14px;
    font-size: 0;
    line-height: 0;
    text-indent: 0;
  }

  .mobile-menu::before,
  .mobile-menu::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    transform: translate(-50%, -50%);
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  }

  .mobile-menu::before {
    box-shadow: 0 -6px 0 #ffffff, 0 6px 0 #ffffff;
  }

  .mobile-menu::after {
    opacity: 0;
  }

  .mobile-menu[aria-expanded="true"]::before {
    box-shadow: none;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .mobile-menu[aria-expanded="true"]::after {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-45deg);
  }
}

@media (max-width: 760px) {
  .side-nav:not(.open) a,
  .side-nav:not(.open) a.active,
  .side-nav:not(.open) a[aria-current="page"] {
    display: none !important;
  }

  .side-nav.open a {
    display: flex !important;
  }

  .side-nav.open a.active,
  .side-nav.open a[aria-current="page"] {
    display: none !important;
  }

  .side-nav .section-nav-toggle {
    display: flex !important;
  }

  .condition-nav-strip {
    display: none;
  }

  .support-box {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch;
  }

  .support-box .btn-secondary {
    width: 100%;
    white-space: normal;
  }
}

/* =========================================================
   Partners and supporters
   ========================================================= */

.partners-article {
  display: grid;
  gap: 34px;
}

.partners-intro {
  max-width: 860px;
}

.partners-intro h2,
.partner-group-head h2 {
  margin: 6px 0 12px;
}

.partners-intro p {
  margin: 0;
  color: #334155;
  font-size: 1.08rem;
}

.partner-group {
  display: grid;
  gap: 18px;
}

.partner-group-head span {
  display: inline-flex;
  margin-bottom: 6px;
  color: var(--hal-red);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.partner-card {
  display: grid;
  grid-template-rows: 170px 1fr;
  overflow: hidden;
  min-height: 315px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.partner-card:hover {
  transform: translateY(-5px);
  border-color: rgba(8, 42, 143, 0.22);
  box-shadow: var(--shadow-md);
}

.partner-card-wide {
  grid-column: span 2;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  grid-template-rows: auto;
  min-height: 240px;
}

.partner-logo {
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  background: #f8fafc;
  border-radius: 18px;
}

.partner-logo img {
  max-width: 160px;
  max-height: 95px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.partner-logo-wfh img {
  max-width: 170px;
}

.partner-logo-nnhf img,
.partner-logo-lcn img,
.partner-logo-lnfod img {
  max-width: 150px;
}
.partner-copy {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
}

.partner-copy strong {
  color: var(--hal-blue);
  font-size: 1.22rem;
  line-height: 1.2;
}

.partner-copy span {
  color: #475569;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .partner-grid,
  .partner-card-wide {
    grid-template-columns: 1fr;
  }

  .partner-card-wide {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .partners-article {
    gap: 26px;
  }

  .partner-card,
  .partner-card-wide {
    grid-template-rows: 150px 1fr;
    min-height: 0;
    border-radius: 18px;
  }

  .partner-logo {
    padding: 18px;
  }

  .partner-logo-wfh span {
    font-size: 3.8rem;
  }

  .partner-logo-nnhf span {
    font-size: 1.65rem;
  }

  .partner-copy {
    padding: 20px;
  }
}

/* Header section navigation moved from sidebars */
.site-header .brand {
  min-width: auto;
  gap: 0;
}

.site-header .brand span {
  display: none;
}

.content-wrap,
.team-layout,
.people-layout,
body.section-bleeding-disorders .content-wrap {
  grid-template-columns: minmax(0, 1fr);
}

.side-nav {
  display: none;
}

.menu-section {
  position: relative;
}

.menu-section::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 39;
  display: none;
  height: 12px;
}

.menu-section-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 14px;
  border: 0;
  border-radius: 999px;
  color: #0f172a;
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: 0.22s ease;
}

.menu-section-toggle::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s ease, margin 0.18s ease;
}

.menu-section:hover .menu-section-toggle,
.menu-section:focus-within .menu-section-toggle,
.menu-section-toggle.active,
.menu-section-toggle:hover {
  color: var(--hal-red);
  background: #fff1f2;
}

.menu-section.open .menu-section-toggle::after,
.menu-section:hover .menu-section-toggle::after,
.menu-section:focus-within .menu-section-toggle::after {
  margin-top: 4px;
  transform: rotate(225deg);
}

.menu-section-panel {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 40;
  display: none;
  min-width: 260px;
  max-width: min(360px, calc(100vw - 32px));
  padding: 8px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.menu-section.open .menu-section-panel,
.menu-section:hover .menu-section-panel,
.menu-section:focus-within .menu-section-panel {
  display: grid;
  gap: 4px;
}

.menu-section.open::after,
.menu-section:hover::after,
.menu-section:focus-within::after {
  display: block;
}

.menu .menu-section-panel a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 11px;
  border-radius: 12px;
  color: #334155;
  background: transparent;
  font-size: 0.92rem;
  line-height: 1.25;
  white-space: normal;
  box-shadow: none;
}

.menu .menu-section-panel a:hover,
.menu .menu-section-panel a.active,
.menu .menu-section-panel a[aria-current="page"] {
  color: var(--hal-red);
  background: #fff1f2;
  transform: none;
}

.menu .menu-section-panel a.active::after,
.menu .menu-section-panel a[aria-current="page"]::after {
  display: none;
}

@media (max-width: 980px) {
  .menu-section,
  .menu-section-toggle {
    width: 100%;
  }

  .menu-section-toggle {
    justify-content: space-between;
    min-height: 44px;
    padding: 11px 12px;
    border-radius: 12px;
  }

  .menu-section-panel {
    position: static;
    min-width: 0;
    max-width: none;
    margin: 4px 0 2px;
    padding: 6px;
    border-radius: 14px;
    background: #f8fafc;
    box-shadow: none;
  }

  .menu-section:hover .menu-section-panel,
  .menu-section:focus-within .menu-section-panel {
    display: none;
  }

  .menu-section.open .menu-section-panel {
    display: grid;
  }
}


/* PHP conversion safety fixes */
.menu-section-toggle { font-family: inherit; }
.menu-section-panel { z-index: 999; }
img.missing-image { display: none !important; }
@media (max-width: 900px) {
  .menu.open { display: flex !important; }
  .menu-section.open .menu-section-panel { display: grid !important; opacity: 1 !important; visibility: visible !important; transform: none !important; }
}



.info-grid{display:grid;gap:24px;margin:28px 0}.info-grid.two-col{grid-template-columns:repeat(2,minmax(0,1fr))}.info-card,.news-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:24px;box-shadow:0 10px 30px rgba(15,23,42,.06)}.info-card h3,.news-card h3{margin-top:0;color:#1f2937}.activity-list{display:grid;gap:18px;margin:24px 0}.activity-list section{border-left:5px solid #c62828;background:#fff;padding:18px 22px;border-radius:14px;box-shadow:0 8px 24px rgba(15,23,42,.05)}.feature-band{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center;background:#f7f8fa;border-radius:22px;padding:24px;margin:34px 0}.feature-band img{width:100%;border-radius:18px}.contact-panel{background:#f7f8fa;border-radius:20px;padding:28px;margin:24px 0}.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:26px 0}.news-card a{font-weight:700;color:#c62828}@media(max-width:860px){.info-grid.two-col,.feature-band,.news-grid{grid-template-columns:1fr}}



.content-feature-card {
  display: grid;
  grid-template-columns: minmax(220px, 38%) 1fr;
  gap: 0;
  margin: 30px 0;
  align-items: stretch;
}
.content-feature-card > img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
.content-feature-body {
  padding: 30px;
}
.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.check-list li {
  position: relative;
  padding: 12px 14px 12px 42px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  color: #334155;
  font-weight: 700;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--hal-red);
  color: #fff;
  font-size: 0.78rem;
}
.advocacy-activity-grid,
.content-image-grid,
.impact-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 0;
}
.advocacy-activity-grid .article-card {
  display: flex;
  flex-direction: column;
}
.advocacy-activity-grid .article-card img,
.content-image-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.advocacy-activity-grid .article-card div {
  padding: 22px;
}
.advocacy-activity-grid h3 {
  margin: 0 0 10px;
  color: var(--hal-blue);
  font-size: 1.05rem;
}
.content-image-grid figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.content-image-grid figcaption {
  padding: 14px 16px;
  color: #334155;
  font-weight: 800;
}
.story-impact-block {
  margin-top: 34px;
}
.impact-stat {
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff1f2, #eff6ff);
  border: 1px solid #e2e8f0;
}
.impact-stat strong {
  display: block;
  color: var(--hal-red);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  line-height: 1.05;
}
.impact-stat span {
  display: block;
  margin-top: 8px;
  color: var(--hal-blue);
  font-weight: 900;
}
@media (max-width: 900px) {
  .content-feature-card,
  .advocacy-activity-grid,
  .content-image-grid,
  .impact-stat-grid {
    grid-template-columns: 1fr;
  }
  .content-feature-card > img {
    min-height: 220px;
  }
}



.capacity-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 42px;
}
.story-stats .info-card h3 {
  color: var(--brand-red);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  margin-bottom: 6px;
}
@media (max-width: 900px) {
  .capacity-gallery {
    grid-template-columns: 1fr;
  }
}


body.home-page .footer {
  margin-top: 64px;
}

.menu-section.suppress-hover .menu-section-panel,
.menu-section.suppress-hover:hover .menu-section-panel,
.menu-section.suppress-hover:focus-within .menu-section-panel {
  display: none !important;
}


.menu-section.submenu-closed-by-click .menu-section-panel,
.menu-section.submenu-closed-by-click:hover .menu-section-panel,
.menu-section.submenu-closed-by-click:focus-within .menu-section-panel {
  display: none !important;
}

@media (hover: none), (max-width: 980px) {
  .menu-section:hover .menu-section-panel,
  .menu-section:focus-within .menu-section-panel {
    display: none !important;
  }
  .menu-section.open .menu-section-panel {
    display: grid !important;
  }
}


/* Floating quick action buttons */
.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}
.floating-actions a {
  pointer-events: auto;
  text-decoration: none;
}
.screening-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: min(360px, calc(100vw - 32px));
  min-height: 54px;
  padding: 13px 18px;
  border-radius: 999px;
  background: #b91c1c;
  color: #fff;
  box-shadow: 0 12px 30px rgba(185, 28, 28, .38);
  font-weight: 900;
  font-size: .86rem;
  line-height: 1.15;
  letter-spacing: .035em;
  text-transform: uppercase;
  animation: floatRedPulse 1.6s ease-in-out infinite;
}
.screening-float:hover,
.screening-float:focus {
  background: #991b1b;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(185, 28, 28, .46);
}
.screening-float-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.screening-float-icon svg {
  width: 20px;
  height: 20px;
  fill: #b91c1c;
}
.whatsapp-float {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(185, 28, 28, .32);
  background: #25D366 !important;
  color: #ffffff !important;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.whatsapp-float svg {
  fill: #ffffff !important;
}

.whatsapp-float:hover {
  background: #128C7E !important;
  transform: translateY(-3px) scale(1.05);
}
.activity-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 28px 0;
}

.activity-card-grid section {
  overflow: hidden;
  padding: 0;
  border-left: 0;
  border-top: 5px solid var(--hal-red);
  background: #ffffff;
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.activity-card-grid section img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #f1f5f9;
}

.activity-card-grid section div {
  padding: 22px;
}

.activity-card-grid section h3 {
  margin: 0 0 10px;
  color: var(--hal-blue);
  font-size: 1.2rem;
}

.activity-card-grid section p {
  margin: 0;
  color: #334155;
}

@media (max-width: 800px) {
  .activity-card-grid {
    grid-template-columns: 1fr;
  }

  .activity-card-grid section img {
    height: 210px;
  }
}
@keyframes floatRedPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 12px 30px rgba(185, 28, 28, .38); }
  50% { transform: scale(1.045); box-shadow: 0 16px 40px rgba(185, 28, 28, .55); }
}
@media (max-width: 700px) {
  .floating-actions {
    right: 12px;
    bottom: 12px;
    gap: 10px;
  }
  .screening-float {
    max-width: calc(100vw - 24px);
    padding: 11px 14px;
    min-height: 50px;
    font-size: .72rem;
    letter-spacing: .02em;
  }
  .screening-float-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
  }
  .screening-float-icon svg {
    width: 18px;
    height: 18px;
  }
  .whatsapp-float {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 420px) {
  .floating-actions {
    left: 10px;
    right: 10px;
    align-items: flex-end;
  }
  .screening-float-text {
    max-width: 235px;
  }
}

