/* =========================================================
   SLCP Homepage — Stylesheet
   Sri Lanka College of Pulmonologists
   ========================================================= */

:root {
  /* Brand palette */
  --navy: #2a3180;
  --navy-dark: #1c2160;
  --blue: #146dac;
  --blue-light: #eaf3fb;
  --navy-light: #eaeaf5;
  --accent: #f8ae42;
  --accent-dark: #e0932a;
  --ink: #1c2333;
  --slate: #57607a;
  --slate-light: #8791a8;
  --paper: #ffffff;
  --mist: #f5f7fb;
  --border: #e4e8f2;

  /* Status colors (air quality) */
  --status-good: #1f9d55;
  --status-good-bg: #e8f8ee;
  --status-moderate: #b8860b;
  --status-moderate-bg: #fdf3dc;

  /* Type */
  --font-display: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  /* Shape / motion */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(26, 33, 78, 0.06);
  --shadow-md: 0 12px 32px rgba(26, 33, 78, 0.12);
  --shadow-lg: 0 24px 60px rgba(26, 33, 78, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

/* overflow-x: clip (not hidden) — hidden turns body/html into their own
   scroll container, which silently breaks position:sticky on the header
   below. clip prevents the same horizontal-scroll bleed (from the
   off-canvas menu sliding off-screen) without that side effect. */
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

p { margin: 0 0 1rem; }
img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }

.container-xl-custom {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Ultra-wide screens (1920px+): keep content from stretching too thin */
@media (min-width: 1920px) {
  .container-xl-custom { max-width: 1500px; }
}

/* Focus visibility (accessibility) */
a:focus-visible,
button:focus-visible,
.nav-link:focus-visible,
.card-cta:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 2000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Reveal-on-scroll (progressive enhancement only — content is visible by
   default; JS adds the "js" class on <html> which switches on the
   hidden starting state, so users with JS disabled or slow always see
   full content immediately). */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand img {
  height: 98px;
  width: 98px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
  min-width: 0;
}

.brand-text .brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy);
  font-size: clamp(0.80rem, 0.80rem, 0.80rem);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.brand-text .brand-name.brand-name-short {
  display: none;
  /* This variant carries an explicit <br> between "OF" and
     "PULMONOLOGISTS" so the name wraps onto two clean lines on
     narrow screens instead of truncating with an ellipsis. Needs to
     out-specificity the base .brand-text .brand-name rule above, which
     is why this selector repeats both classes. */
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  max-width: 100%;
}

/* Below ~480px there simply isn't room for the full institutional name
   on one line next to the hamburger button — show the same full text
   (per brand guidance) but wrapped onto two lines via a manual <br>
   so nothing is cut off or ellipsized. */
@media (max-width: 479.98px) {
  .brand-name-full { display: none; }
  .brand-text .brand-name.brand-name-short {
    display: block;
    font-size: 0.78rem;
    line-height: 1.15;
  }
  .brand {
    gap: 0.6rem;
  }
}

/* At very narrow widths the logo + gap + hamburger leave little room —
   shrink the logo slightly so the two-line name has enough width to
   avoid wrapping mid-word. */
@media (max-width: 359.98px) {
  .brand img { height: 72px; width: 72px; }
  .brand-text .brand-name.brand-name-short { font-size: 0.72rem; }
}

.brand-text .brand-tagline {
  font-size: 0.76rem;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-top: 2px;
  white-space: nowrap;
}

@media (max-width: 1199.98px) {
  .brand-text .brand-tagline { display: none; }
}

.main-nav {
  display: none;
}

@media (min-width: 1200px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 0.05rem;
  }

  .main-nav .nav-link {
    position: relative;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
  }

  .main-nav .nav-link:hover,
  .main-nav .nav-link:focus-visible {
    color: var(--navy);
    background: var(--blue-light);
  }

  .main-nav .nav-link.active {
    color: var(--navy);
  }

  .main-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.28rem;
    height: 3px;
    border-radius: 2px;
    background: var(--accent);
  }

  .main-nav .nav-cta {
    margin-left: 0.3rem;
    background: var(--navy);
    color: #fff;
    padding: 0.62rem 0.95rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  }

  .main-nav .nav-cta:hover,
  .main-nav .nav-cta:focus-visible {
    background: var(--blue);
    color: #fff;
    transform: translateY(-1px);
  }

  .nav-search-btn {
    margin-left: 0.15rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--mist);
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
  }
  .nav-search-btn:hover, .nav-search-btn:focus-visible {
    background: var(--blue-light);
    color: var(--blue);
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--navy);
  font-size: 1.25rem;
}

@media (min-width: 1200px) {
  .nav-toggle { display: none; }
}

/* Mobile offcanvas */
.offcanvas.slcp-offcanvas {
  width: min(86vw, 360px);
}
.slcp-offcanvas .offcanvas-header {
  border-bottom: 1px solid var(--border);
}
.slcp-offcanvas .brand-text .brand-name { font-size: 1rem; }
.slcp-offcanvas .nav-link {
  display: block;
  padding: 0.95rem 0.25rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.slcp-offcanvas .nav-link:hover,
.slcp-offcanvas .nav-link:focus-visible {
  color: var(--blue);
}
.slcp-offcanvas .nav-cta {
  display: block;
  text-align: center;
  margin-top: 1.25rem;
  background: var(--navy);
  color: #fff;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}

/* =========================================================
   Hero — centered dashboard-style banner: photo blended on
   the left, glowing lung motif on the right, bold centered
   headline in between.
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-dark);
  isolation: isolate;
}

.hero-slide {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #171d54 0%, var(--navy-dark) 55%, #0e1338 100%);
}

.hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-side-photo {
  /* Full-bleed — the photo now contains the whole composition (lighthouse
     + lung illustration) in one image, so it must not be cropped to the
     left half or faded out on the right like the old two-layer hero did. */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.62;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Darkens top->bottom for general contrast, plus a modest, even
     darkening left-to-right (heavier only right at the edges) so the
     centered text stays readable now that the photo spans the full
     width instead of just fading in on the left. */
  background:
    linear-gradient(180deg, rgba(10, 14, 45, 0.25) 0%, rgba(10, 14, 45, 0.7) 100%),
    linear-gradient(90deg, rgba(10, 14, 45, 0.45) 0%, rgba(10, 14, 45, 0.22) 30%, rgba(10, 14, 45, 0.22) 70%, rgba(10, 14, 45, 0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 3.5rem;
  text-align: center;
}

.hero-content-inner {
  max-width: 900px;
  margin-inline: auto;
}

.hero-content h1 {
  color: #fff;
  font-size: clamp(1.75rem, 3.6vw, 2.85rem);
  max-width: 22ch;
  margin-inline: auto;
  line-height: 1.22;
}

.hero-tagline {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  margin-top: 1.1rem;
}

.hero-strapline {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  margin-top: 0.35rem;
}

.hero-content .hero-lede {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  max-width: 58ch;
  margin: 1.1rem auto 0;
}

.hero .carousel-indicators { z-index: 3; bottom: 1.25rem; }
.hero .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  margin-inline: 5px;
}
.hero .carousel-indicators .active { background-color: var(--accent); }

.hero .carousel-control-prev,
.hero .carousel-control-next {
  width: 3.2rem;
  height: 3.2rem;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.25s var(--ease), background 0.25s var(--ease);
  z-index: 3;
}
.hero:hover .carousel-control-prev,
.hero:hover .carousel-control-next { opacity: 1; }
.hero .carousel-control-prev { left: 1.25rem; }
.hero .carousel-control-next { right: 1.25rem; }
.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover { background: rgba(255, 255, 255, 0.28); }
.hero .carousel-control-prev-icon,
.hero .carousel-control-next-icon { width: 1.1rem; height: 1.1rem; }

@media (max-width: 767.98px) {
  .hero-slide { min-height: auto; }
  .hero-content { padding-block: 3rem; }
  /* Dim further on small screens — cover-cropping this very wide
     panorama down to a narrow viewport shows a tighter, busier slice,
     so it recedes to a background wash rather than competing with text. */
  .hero-side-photo { opacity: 0.32; }
}

/* =========================================================
   Air Quality ticker — a small, continuously auto-scrolling
   strip (placeholder data pending a live AQI feed).
   ========================================================= */
.aqi-marquee-section {
  background: var(--mist);
  border-bottom: 1px solid var(--border);
  padding-block: 0.55rem;
  overflow: hidden;
}

.aqi-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.aqi-marquee-track {
  display: flex;
  width: max-content;
  animation: aqi-marquee-scroll 28s linear infinite;
}

.aqi-marquee:hover .aqi-marquee-track {
  animation-play-state: paused;
}

.aqi-marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

@keyframes aqi-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.aqi-tick {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-inline: 0.85rem;
  white-space: nowrap;
}

.aqi-tick-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.65rem;
  flex-shrink: 0;
}

.aqi-tick-city {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.72rem;
}

.aqi-tick-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--navy);
}
.aqi-tick-value small { font-size: 0.58rem; font-weight: 600; color: var(--slate); margin-left: 0.2rem; }

.aqi-tick-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 700;
}
.aqi-tick-badge.is-good { color: var(--status-good); background: var(--status-good-bg); }
.aqi-tick-badge.is-moderate { color: var(--status-moderate); background: var(--status-moderate-bg); }
.aqi-tick-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.aqi-tick-sep {
  color: var(--border);
  margin-left: 0.4rem;
  font-size: 0.7rem;
}

@media (prefers-reduced-motion: reduce) {
  .aqi-marquee-track {
    animation: none;
  }
  .aqi-marquee {
    overflow-x: auto;
  }
}

/* =========================================================
   Feature "dashboard" panels (six information cards) — a
   ribbon tag, a colour-blocked header, a grid of icon tiles,
   and a bold full-width call-to-action button.
   ========================================================= */
.cards-section {
  padding-block: 1.5rem 3.5rem;
  background: var(--paper);
}

.cards-section + .cards-section { padding-top: 0; }

.dash-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.75rem;
  margin-top: 2.5rem;
}

@media (max-width: 991.98px) {
  .dash-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .dash-card-grid { grid-template-columns: 1fr; }
}

/* Row with only 2 cards (News & Updates / World Days) — keep them at a
   readable card width instead of stretching to fill a 3-column track. */
@media (min-width: 992px) {
  .dash-card-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 380px));
    justify-content: center;
  }
}

.dash-card {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 16px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.dash-ribbon {
  position: absolute;
  top: -14px;
  left: 1.5rem;
  z-index: 2;
  /* Always the brand blue (#146dac), same as .dash-header / .dash-cta. */
  background: #146dac;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.dash-header {
  /* Always the brand blue (#146dac) regardless of the card's accent
     variant — the navy (#2a3180) is kept for ribbons/icons/tiles only. */
  background: #146dac;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 1.7rem 1.5rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dash-icon-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  color: var(--card-accent, var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.dash-header h3 {
  color: #fff;
  font-size: 1.12rem;
  margin: 0;
}

.dash-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  margin: 0.2rem 0 0;
}

.dash-body {
  padding: 1.5rem 1.5rem 0.4rem;
  flex-grow: 1;
}

.dash-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

@media (max-width: 420px) {
  .dash-tile-grid { grid-template-columns: repeat(2, 1fr); }
}

.dash-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 0.9rem 0.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--mist);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), color 0.2s var(--ease);
}

.dash-tile:hover, .dash-tile:focus-visible {
  background: #fff;
  border-color: var(--card-accent, var(--blue));
  color: var(--navy);
  transform: translateY(-3px);
}

.dash-tile-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tile-bg, var(--blue-light));
  color: var(--card-accent, var(--blue));
  font-size: 1rem;
}

.dash-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--card-accent, var(--blue));
  margin: 1rem 0 0;
}

.dash-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem 1.5rem 1.5rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  /* Always the brand blue (#146dac), same reasoning as .dash-header. */
  background: #146dac;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.dash-cta:hover, .dash-cta:focus-visible {
  background: var(--navy-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* Accent variants per card (alternating navy / blue — no gold on cards) */
.accent-navy { --card-accent: var(--navy); --tile-bg: var(--navy-light); }
.accent-blue { --card-accent: var(--blue); --tile-bg: var(--blue-light); }

/* =========================================================
   Highlight strip (secondary utility bar) — 5 quick links
   ========================================================= */
.highlight-strip {
  background: var(--navy-dark);
  color: #fff;
}

.highlight-strip .strip-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1199.98px) {
  .highlight-strip .strip-inner { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767.98px) {
  .highlight-strip .strip-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 479.98px) {
  .highlight-strip .strip-inner { grid-template-columns: 1fr; }
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.3rem 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s var(--ease);
}
.strip-item:hover, .strip-item:focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

.strip-item .strip-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(248, 174, 66, 0.16);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.strip-item strong {
  display: block;
  font-size: 0.86rem;
  font-family: var(--font-display);
  color: #fff;
  line-height: 1.25;
}
.strip-item span {
  display: block;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
  line-height: 1.3;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding-block: 1.5rem;
  font-size: 0.88rem;
}

.site-footer a { color: rgba(255, 255, 255, 0.9); }

.footer-inner {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 576px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-social a:hover, .footer-social a:focus-visible {
  background: var(--accent);
  color: var(--navy-dark);
  transform: translateY(-2px);
}

/* =========================================================
   INNER PAGES — shared components (breadcrumb, page banner,
   content layout, timeline, achievement grid, stat row).
   Reused by about-slcp.php and future inner pages.
   ========================================================= */

.breadcrumb-bar {
  background: var(--mist);
  border-bottom: 1px solid var(--border);
}

.breadcrumb-inner {
  padding-block: 0.7rem;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
}

.breadcrumb-item a {
  color: var(--slate);
  font-weight: 600;
  transition: color 0.2s var(--ease);
}
.breadcrumb-item a:hover, .breadcrumb-item a:focus-visible { color: var(--blue); }

.breadcrumb-item.is-current span {
  color: var(--navy);
  font-weight: 700;
}

.breadcrumb-sep {
  display: inline-flex;
  color: var(--slate-light);
  font-size: 0.7rem;
}

.page-banner {
  position: relative;
  height: 100px;
  background-image: url('../images/hero/hero-01.jpg?ver=2');
  background-size: cover;
  background-position: center 35%;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 22, 68, 0.88) 0%, rgba(18, 22, 68, 0.62) 55%, rgba(20, 109, 172, 0.55) 100%);
}

.content-section {
  padding-block: 3.5rem;
}

@media (max-width: 767.98px) {
  .content-section { padding-block: 2.5rem; }
}

.content-header {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.content-header h1 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-top: 0.5rem;
}

.content-header .lede {
  color: var(--slate);
  font-size: 1.02rem;
  margin-top: 0.9rem;
  line-height: 1.75;
}

/* Sub-section jump-link pills (History / Council / Presidents / …) */
.content-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.content-subnav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--border);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.86rem;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.content-subnav a:hover, .content-subnav a:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.content-subnav a.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* Scroll-margin so a jump-link doesn't hide its heading behind the
   sticky header. */
/* 132px clears the 115px sticky header with room to spare; +24px extra
   compensates for the .reveal entrance animation's translateY(24px),
   whose pre-reveal (transformed) position is what the browser measures
   when it computes an anchor-scroll target — without this, the element
   springs up 24px once revealed and re-hides its top under the header. */
.content-block { scroll-margin-top: 156px; }

.content-block + .content-block {
  margin-top: 3.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--border);
}

.content-block h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.content-block h2 .block-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.content-block p {
  color: var(--slate);
  line-height: 1.8;
  margin-top: 1rem;
  max-width: 72ch;
}

/* Timeline — the chronological narrative section */
.timeline {
  position: relative;
  margin-top: 2rem;
  padding-left: 2.25rem;
  border-left: 3px solid var(--blue-light);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.36rem;
  top: 0.2rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--blue-light);
}

.timeline-item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  margin: 0;
}

.timeline-item p {
  color: var(--slate);
  line-height: 1.75;
  margin-top: 0.6rem;
  max-width: 72ch;
}

/* Achievement grid */
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (max-width: 991.98px) {
  .achievement-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .achievement-grid { grid-template-columns: 1fr; }
}

.achievement-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.achievement-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}

.achievement-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.achievement-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.98rem;
  margin: 0 0 0.5rem;
}

.achievement-card p {
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}

/* Current-status stat row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 767.98px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}

.stat-tile {
  text-align: center;
  background: var(--blue-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
}

.stat-tile .stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--navy);
  line-height: 1;
}

.stat-tile .stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate);
  line-height: 1.4;
}

/* "Coming soon" stub for sections not yet populated with content */
.coming-soon-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--mist);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: 1.5rem;
}

.coming-soon-card .coming-soon-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.coming-soon-card p {
  margin: 0;
  color: var(--slate);
  font-size: 0.92rem;
}

/* ========== Vision & Mission page ========== */

/* "Our Vision" — a full-bleed photo panel with a dark gradient veil and
   the statement set directly over it, so the photo and the statement
   read as one strong moment instead of two separate stacked blocks. */
.vision-panel {
  position: relative;
  margin-top: 1rem;
  min-height: 420px;
  display: flex;
  align-items: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.vision-panel-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
}

.vision-panel-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 90% at 88% 8%, rgba(248, 174, 66, 0.16) 0%, rgba(248, 174, 66, 0) 60%),
    linear-gradient(115deg, rgba(20, 24, 66, 0.96) 0%, rgba(24, 30, 84, 0.93) 38%, rgba(20, 109, 172, 0.72) 100%);
}

.vision-panel-content {
  position: relative;
  z-index: 1;
  padding: clamp(2.25rem, 6vw, 4.25rem);
  max-width: 46rem;
}

.vision-panel .pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vision-panel .pill-badge i {
  color: var(--accent);
  font-size: 0.95rem;
}

.vision-panel blockquote {
  position: relative;
  margin: 1.5rem 0 0;
  padding-left: 1.6rem;
  border-left: 3px solid var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.9vw, 2rem);
  line-height: 1.45;
  color: #fff;
  text-wrap: balance;
}

.vision-panel-credit {
  position: relative;
  z-index: 1;
  margin: 1.75rem 0 0;
  padding-left: 1.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.68);
}

.vision-panel-credit i { color: rgba(255, 255, 255, 0.5); }

@media (max-width: 575.98px) {
  .vision-panel { min-height: 0; }
}

/* "Our Mission" — three elevated, numbered pillars (to patients, to
   trainees, to allies) rather than three plain identical boxes: a large
   translucent numeral gives each card an editorial feel, and the
   gradient icon badge gives it real visual weight. */
.mission-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.25rem;
  align-items: stretch;
}

@media (max-width: 991.98px) {
  .mission-pillars { grid-template-columns: 1fr; }
}

.mission-pillar {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.85rem 1.85rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.mission-pillar::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--navy));
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.mission-pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}

.mission-pillar:hover::after { transform: scaleX(1); }

.mission-pillar-number {
  position: absolute;
  top: -0.4rem;
  right: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4.25rem;
  line-height: 1;
  color: var(--mist);
  z-index: 0;
  user-select: none;
}

.mission-pillar-icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 20px rgba(20, 109, 172, 0.28);
}

.mission-pillar h3 {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
}

.mission-pillar p {
  position: relative;
  z-index: 1;
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.75;
  margin: 0;
}

/* ========== Contact Us page — info cards, form, map ========== */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.75rem;
  margin-top: 2rem;
  align-items: start;
}

@media (max-width: 991.98px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}

.contact-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 6px 16px rgba(20, 109, 172, 0.25);
}

.contact-info-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0.15rem 0 0.4rem;
}

.contact-info-card a,
.contact-info-card p {
  margin: 0;
  color: var(--slate);
  font-size: 0.96rem;
  line-height: 1.6;
  font-weight: 500;
}

.contact-info-card a {
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

.contact-info-card a:hover,
.contact-info-card a:focus-visible {
  color: var(--blue);
}

/* Responsive map embed — the Google Maps iframe has fixed width/height
   attributes for graceful degradation without CSS, but is stretched to
   fill this ratio-locked wrapper wherever CSS does load. */
.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-directions-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--blue);
}

.map-directions-link:hover,
.map-directions-link:focus-visible { color: var(--navy); }

/* Inquiry form */
.contact-form-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md);
}

.contact-form-card .form-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form-card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  margin: 0.5rem 0 0.5rem;
}

.contact-form-card .form-lede {
  color: var(--slate);
  font-size: 0.94rem;
  margin: 0 0 1.75rem;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-form-grid .field-full { grid-column: 1 / -1; }

@media (max-width: 575.98px) {
  .contact-form-grid { grid-template-columns: 1fr; }
}

.field-group { display: flex; flex-direction: column; gap: 0.45rem; }

.field-group label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy);
}

.field-group .required-mark { color: var(--accent-dark); }

.field-group input,
.field-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--mist);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field-group textarea { resize: vertical; min-height: 130px; }

.field-group input::placeholder,
.field-group textarea::placeholder { color: var(--slate-light); }

.field-group input:focus,
.field-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--paper);
  box-shadow: 0 0 0 4px var(--blue-light);
}

.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  padding: 0.9rem 2.25rem;
  border: none;
  border-radius: 999px;
  background: #146dac;
  color: #fff;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.contact-submit-btn:hover,
.contact-submit-btn:focus-visible {
  background: var(--navy-dark);
  transform: translateY(-2px);
}

@media (max-width: 575.98px) {
  .contact-submit-btn { width: 100%; }
}

/* =============================================================
   PAST PRESIDENTS — 4-per-row profile grid with a professional
   circular "outer frame" placeholder (a photo can later replace
   the placeholder icon with zero markup/CSS changes — see the
   $pastPresidents array's 'image' key in past-presidents.php).
   ============================================================= */
.president-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.75rem 1.5rem;
  margin-top: 0.5rem;
}

@media (max-width: 991.98px) {
  .president-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
  .president-grid { grid-template-columns: 1fr; gap: 2.25rem; }
}

.president-card {
  text-align: center;
  padding: 0 0.25rem;
}

.president-photo-frame {
  position: relative;
  width: 152px;
  height: 152px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.president-card:hover .president-photo-frame {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.president-photo-frame::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--border);
  pointer-events: none;
}

.president-photo-frame .photo-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 3px solid var(--paper);
}

.president-photo-frame .photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.president-photo-frame .photo-inner i {
  font-size: 3.4rem;
  color: var(--blue);
  opacity: 0.5;
}

.president-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.98rem;
  margin: 0 0 0.3rem;
  line-height: 1.4;
}

.president-card .president-term {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.85rem;
  margin: 0;
}

/* =============================================================
   PAST COUNCILS (Council & Office Bearers page) — 2-per-row
   gallery of wide (1000×444) council photos in a prominent,
   eye-catching gradient "picture frame", each opening a shared
   lightbox modal on click. Photos not yet supplied render as a
   framed placeholder instead — see the $pastCouncils array's
   'image' key in council-office-bearers.php.
   ============================================================= */
.council-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.75rem 2rem;
  margin-top: 0.5rem;
}

@media (max-width: 767.98px) {
  .council-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

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

.council-photo-frame {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 444;
  border: none;
  padding: 10px;
  margin: 0 0 1.1rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.council-photo-frame.is-clickable {
  cursor: pointer;
}

.council-photo-frame:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.council-photo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 6px);
  background: var(--blue-light);
  border: 3px solid var(--paper);
}

.council-photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.council-photo-inner-placeholder {
  flex-direction: column;
  gap: 0.6rem;
}

.council-photo-inner-placeholder i {
  font-size: 2.75rem;
  color: var(--blue);
  opacity: 0.45;
}

.council-photo-placeholder-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.01em;
}

.council-photo-zoom-badge {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  pointer-events: none;
}

.council-photo-frame.is-clickable:hover .council-photo-zoom-badge,
.council-photo-frame.is-clickable:focus-visible .council-photo-zoom-badge {
  opacity: 1;
  transform: scale(1);
}

.council-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  margin: 0;
}

/* Shared image lightbox modal ------------------------------------- */
.lightbox-modal .modal-dialog {
  max-width: min(1100px, 92vw);
}

.lightbox-modal .modal-content {
  position: relative;
  background: transparent;
  border: none;
  box-shadow: none;
}

.lightbox-modal-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: block;
}

.lightbox-modal-caption {
  color: #fff;
  text-align: center;
  margin: 1.1rem 0 0;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.lightbox-modal .lightbox-close {
  position: absolute;
  top: -3rem;
  right: -0.25rem;
  filter: invert(1) grayscale(1) brightness(2);
  opacity: 0.9;
}

.lightbox-modal .lightbox-close:hover {
  opacity: 1;
}

.modal-backdrop.show {
  opacity: 0.88;
}

@media (max-width: 575.98px) {
  .lightbox-modal .lightbox-close {
    top: -2.75rem;
    right: 0;
  }
}
