/* ==========================================================================
   Lions Club CMS — Brand Theme
   Matches lions.org.in (primary #005baa) and Lions Clubs International
   brand standards (Reflex/royal blue + PMS 123 gold).
   Layered on top of Bootstrap 5. Load AFTER bootstrap.min.css.
   ========================================================================== */

:root {
  /* --- Core brand palette --- */
  --lion-blue:        #005baa;  /* lions.org.in theme-color / primary */
  --lion-blue-dark:   #00337a;  /* hovers, footer, deep sections */
  --lion-blue-royal:  #00338d;  /* LCI Reflex blue reference */
  --lion-navy:        #0d2240;  /* darkest headings / footer base */
  --lion-gold:        #ffc72c;  /* LCI PMS 123 gold — accent/CTA */
  --lion-gold-dark:   #e6a700;  /* gold hover */

  /* --- Neutrals --- */
  --lion-gray-900:    #1c1c1c;
  --lion-gray-700:    #55565a;  /* LCI Cool Gray 11 */
  --lion-gray-400:    #b3b2b1;  /* LCI Cool Gray 5 */
  --lion-gray-100:    #f4f6f9;  /* section backgrounds */
  --lion-white:       #ffffff;

  /* --- Semantic (status badges: project Upcoming/Ongoing/Completed) --- */
  --lion-status-upcoming:  #407cca;
  --lion-status-ongoing:   #ffc72c;
  --lion-status-completed: #00ab68;

  /* --- Typography --- */
  --lion-font-heading: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --lion-font-body:    "Open Sans", "Segoe UI", system-ui, sans-serif;

  /* --- Shape --- */
  --lion-radius:   .5rem;
  --lion-shadow:   0 .25rem 1rem rgba(0, 51, 122, .12);
  --lion-shadow-lg:0 .75rem 2rem rgba(0, 51, 122, .18);

  /* --- Bootstrap variable overrides --- */
  --bs-primary:        var(--lion-blue);
  --bs-primary-rgb:    0, 91, 170;
  --bs-link-color:     var(--lion-blue);
  --bs-link-hover-color: var(--lion-blue-dark);
  --bs-body-font-family: var(--lion-font-body);
  --bs-body-color:     var(--lion-gray-900);
  --bs-border-radius:  var(--lion-radius);
}

/* ---------- Base ---------- */
body { font-family: var(--lion-font-body); color: var(--lion-gray-900); }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3 {
  font-family: var(--lion-font-heading);
  font-weight: 700;
  color: var(--lion-navy);
}
a { color: var(--lion-blue); text-decoration: none; }
a:hover { color: var(--lion-blue-dark); }

/* ---------- Buttons ---------- */
.btn-primary {
  --bs-btn-bg: var(--lion-blue);
  --bs-btn-border-color: var(--lion-blue);
  --bs-btn-hover-bg: var(--lion-blue-dark);
  --bs-btn-hover-border-color: var(--lion-blue-dark);
  --bs-btn-active-bg: var(--lion-blue-dark);
  font-weight: 600;
}
.btn-gold {
  --bs-btn-color: var(--lion-navy);
  --bs-btn-bg: var(--lion-gold);
  --bs-btn-border-color: var(--lion-gold);
  --bs-btn-hover-color: var(--lion-navy);
  --bs-btn-hover-bg: var(--lion-gold-dark);
  --bs-btn-hover-border-color: var(--lion-gold-dark);
  color: var(--lion-navy);
  background: var(--lion-gold);
  border: 1px solid var(--lion-gold);
  font-weight: 700;
  border-radius: var(--lion-radius);
  padding: .5rem 1.5rem;
}
.btn-gold:hover { background: var(--lion-gold-dark); }
.btn-outline-primary {
  --bs-btn-color: var(--lion-blue);
  --bs-btn-border-color: var(--lion-blue);
  --bs-btn-hover-bg: var(--lion-blue);
  --bs-btn-hover-border-color: var(--lion-blue);
}

/* ---------- Navbar ---------- */
.navbar-lions {
  background: var(--lion-blue);
  box-shadow: var(--lion-shadow);
}
.navbar-lions .navbar-brand { color: var(--lion-white); font-family: var(--lion-font-heading); font-weight: 800; }
.navbar-lions .nav-link { color: rgba(255,255,255,.9); font-weight: 600; }
.navbar-lions .nav-link:hover,
.navbar-lions .nav-link.active { color: var(--lion-gold); }
.navbar-lions .nav-link.active { border-bottom: 3px solid var(--lion-gold); }

/* ---------- Hero / banner ---------- */
.lion-hero {
  background: linear-gradient(135deg, var(--lion-blue) 0%, var(--lion-navy) 100%);
  color: var(--lion-white);
  padding: 5rem 0;
}
.lion-hero h1 { color: var(--lion-white); }
.lion-hero .lead { color: rgba(255,255,255,.9); }
.lion-hero .accent { color: var(--lion-gold); }

/* ---------- Section helpers ---------- */
.section-muted { background: var(--lion-gray-100); }
.section-title {
  position: relative;
  margin-bottom: 2.5rem;
  text-align: center;
}
.section-title::after {
  content: "";
  display: block;
  width: 64px; height: 4px;
  margin: .75rem auto 0;
  background: var(--lion-gold);
  border-radius: 2px;
}

/* ---------- Cards (services / projects) ---------- */
.lion-card {
  position: relative; /* contains .stretched-link to this card */
  border: none;
  border-radius: var(--lion-radius);
  box-shadow: var(--lion-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.lion-card:hover { transform: translateY(-4px); box-shadow: var(--lion-shadow-lg); }
.lion-card .icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(0,91,170,.1);
  color: var(--lion-blue);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* ---------- Stat counters ---------- */
.lion-stat .num { font-family: var(--lion-font-heading); font-size: 2.5rem; font-weight: 800; color: var(--lion-blue); }
.lion-stat .label { color: var(--lion-gray-700); text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; }

/* ---------- Project status badges ---------- */
.badge-status { font-weight: 600; padding: .4em .8em; border-radius: 999px; }
.badge-upcoming  { background: var(--lion-status-upcoming);  color: #fff; }
.badge-ongoing   { background: var(--lion-status-ongoing);   color: var(--lion-navy); }
.badge-completed { background: var(--lion-status-completed); color: #fff; }

/* ---------- Footer ---------- */
.lion-footer {
  background: var(--lion-navy);
  color: rgba(255,255,255,.75);
  padding: 3rem 0 1.5rem;
}
.lion-footer h5 { color: var(--lion-white); }
.lion-footer a { color: rgba(255,255,255,.75); }
.lion-footer a:hover { color: var(--lion-gold); }
.lion-footer .copyright { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2rem; padding-top: 1.5rem; font-size: .875rem; }

/* ---------- Admin panel accents ---------- */
.admin-sidebar { background: var(--lion-navy); min-height: 100vh; }
.admin-sidebar .nav-link { color: rgba(255,255,255,.8); border-radius: var(--lion-radius); margin: .15rem .5rem; }
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active { background: var(--lion-blue); color: #fff; }
.admin-topbar { background: #fff; box-shadow: var(--lion-shadow); }
.admin-stat-card { border-left: 4px solid var(--lion-blue); }
.admin-stat-card.gold { border-left-color: var(--lion-gold); }
.admin-stat-card.green { border-left-color: var(--lion-status-completed); }

/* ---- Rich-text content from the HtmlEditor (page / project bodies) ---- */
article img { max-width: 100%; height: auto; }
article figure { margin: 1.25rem 0; }
article figure img { display: block; border-radius: .375rem; }
article figcaption { color: #6c757d; text-align: center; font-size: .9em; margin-top: .35rem; }
article figure[data-width="75"] { width: 75%; }
article figure[data-width="50"] { width: 50%; }
article figure[data-width="25"] { width: 25%; }
article figure[data-align="center"] { margin-inline: auto; }
article figure[data-align="right"] { margin-left: auto; }
article figure[data-align="left"] { margin-right: auto; }
@media (max-width: 575.98px) { article figure[data-width] { width: 100%; } }
article .editor-media__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; }
article .editor-media__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: .5rem; }
article .editor-media--tall .editor-media__frame { aspect-ratio: auto; height: min(80vh, 640px); max-width: 400px; margin-inline: auto; }
article .editor-file { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; margin: 1rem 0; padding: .65rem .9rem; border: 1px solid #dee2e6; border-radius: .5rem; }
article .editor-file::before { content: "\f1c1"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: #dc3545; }
article .editor-file a { font-weight: 600; }
article .editor-file span { color: #6c757d; font-size: .9em; }
article table { border-collapse: collapse; max-width: 100%; display: block; overflow-x: auto; margin: 1rem 0; }
article td, article th { border: 1px solid #dee2e6; padding: .4rem .65rem; vertical-align: top; }
article th { background: #f8f9fa; }
article mark { background: #fde68a; }

/* ---- Project photo & video gallery ---- */
.gallery-item { overflow: hidden; }
.gallery-thumb { display: block; position: relative; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; background: #0b1a33; cursor: zoom-in; overflow: hidden; }
.gallery-thumb img, .gallery-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.gallery-thumb:hover img, .gallery-thumb:hover video, .gallery-thumb:focus-visible img { transform: scale(1.04); }
.gallery-thumb:focus-visible { outline: 3px solid #ebb700; outline-offset: -3px; }
.gallery-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.6rem; color: #fff; text-shadow: 0 0 12px rgba(0,0,0,.6); pointer-events: none; }
.gallery-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; color: rgba(255,255,255,.5); }
.gallery-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gallery-stage { display: flex; justify-content: center; }
.gallery-stage img, .gallery-stage video { max-width: 100%; max-height: 75vh; border-radius: .375rem; }
.gallery-stage .ratio { width: 100%; }
.gallery-stage .embed-tall { width: min(100%, 400px); height: min(75vh, 711px); }
.gallery-stage .embed-tall iframe { width: 100%; height: 100%; border: 0; border-radius: .375rem; background: #fff; }

/* ==========================================================================
   Milestones: impact counters + "Our Journey" timeline (club home)
   ========================================================================== */
.impact-band { background: linear-gradient(135deg, var(--lion-blue-royal) 0%, var(--lion-blue) 60%, #1b7fd1 100%); position: relative; overflow: hidden; }
.impact-band::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255,199,44,.18), transparent 65%); pointer-events: none; }
.impact-card { position: relative; height: 100%; padding: 1.25rem 1rem; border-radius: 1rem; text-align: center; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .25s ease, background .25s ease; }
.impact-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.14); }
.impact-icon { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; margin-bottom: .5rem;
  background: var(--lion-gold); color: var(--lion-navy); font-size: 1.15rem; box-shadow: 0 0 0 6px rgba(255,199,44,.18); }
.impact-num { font-family: var(--lion-font-heading); font-weight: 800; font-size: clamp(1.8rem, 6vw, 2.75rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.impact-label { font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.85); }

.timeline { list-style: none; margin: 0 auto; padding: 0; position: relative; max-width: 980px; }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 1.25rem; width: 3px; border-radius: 3px;
  background: linear-gradient(var(--lion-gold), var(--lion-blue)); }
.timeline-item { position: relative; padding-left: 3.5rem; margin-bottom: 1.5rem; }
.timeline-dot { position: absolute; left: 0; top: .6rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--lion-blue); color: #fff; border: 3px solid #fff; box-shadow: var(--lion-shadow); z-index: 1; font-size: .95rem; }
.timeline-item.is-upcoming .timeline-dot { background: #fff; color: var(--lion-blue); border: 3px dashed var(--lion-blue); }
.timeline-card { position: relative; background: #fff; border-radius: 1rem; padding: 1rem 1.25rem; box-shadow: var(--lion-shadow);
  border: 1px solid rgba(0,51,122,.06); transition: transform .2s ease, box-shadow .2s ease; }
.timeline-card:hover { transform: translateY(-3px); box-shadow: var(--lion-shadow-lg); }
.timeline-card h3 a { color: var(--lion-navy); }
.timeline-date { display: inline-block; font-weight: 700; font-size: .8rem; padding: .2rem .6rem; border-radius: 999px;
  background: rgba(255,199,44,.25); color: var(--lion-navy); }
@media (min-width: 768px) {
  .timeline::before { left: 50%; transform: translateX(-50%); }
  .timeline-item { width: 50%; padding-left: 0; padding-right: 3rem; }
  .timeline-item:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: 3rem; }
  .timeline-dot { left: auto; right: -1.25rem; }
  .timeline-item:nth-child(even) .timeline-dot { right: auto; left: -1.25rem; }
}

/* Scroll reveal (only when milestones.js is active and motion is allowed). */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   All-India clubs map (platform home)
   ========================================================================== */
.india-map-section { background: linear-gradient(#fff, var(--lion-gray-100)); }
.map-stat { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: 999px; background: #fff;
  box-shadow: var(--lion-shadow); font-size: .95rem; }
.map-stat i { color: var(--lion-blue); }
.map-stat strong { font-family: var(--lion-font-heading); color: var(--lion-navy); }
.india-map-wrap { position: relative; border-radius: 1.25rem; overflow: hidden; box-shadow: var(--lion-shadow-lg); background: #e8f1fb; }
.india-map { height: min(78vh, 720px); min-height: 420px; background: radial-gradient(circle at 50% 40%, #f4f9ff, #dbe9f7); }
.india-map.leaflet-container { font-family: var(--lion-font-body); }
@media (max-width: 575.98px) { .india-map { height: 70vh; min-height: 380px; } }
.map-panel { position: absolute; top: .75rem; right: .75rem; z-index: 500; max-width: 60%; padding: .5rem .75rem; border-radius: .75rem;
  background: rgba(255,255,255,.92); box-shadow: var(--lion-shadow); pointer-events: none; }
.map-legend { position: absolute; left: .75rem; bottom: 1.75rem; z-index: 500; padding: .5rem .75rem; border-radius: .75rem; font-size: .8rem;
  background: rgba(255,255,255,.92); box-shadow: var(--lion-shadow); pointer-events: none; }
.legend-row { display: flex; align-items: center; gap: .4rem; margin-top: .2rem; }
.legend-dot { display: inline-block; border-radius: 50%; background: var(--lion-gold); border: 2px solid var(--lion-blue-royal); }
.legend-dot.sm { width: 10px; height: 10px; } .legend-dot.lg { width: 18px; height: 18px; }
.legend-scale { display: inline-flex; border-radius: 3px; overflow: hidden; border: 1px solid #c9d3df; }
.legend-scale span { width: 12px; height: 12px; }
.map-loading { position: absolute; inset: 0; display: grid; place-items: center; z-index: 600; background: rgba(244,249,255,.85); color: var(--lion-blue); font-weight: 600; text-align: center; padding: 1rem; }

/* Club marker: gold dot, size = activity, soft pulse as a "you are here" highlighter. */
.club-pin-icon { background: none; border: 0; }
.club-pin { position: relative; display: block; width: var(--s); height: var(--s); cursor: pointer; }
.club-pin .core { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center;
  background: var(--lion-gold); border: 2px solid var(--lion-blue-royal); box-shadow: 0 2px 6px rgba(0,0,0,.35);
  color: var(--lion-navy); font: 800 .7rem/1 var(--lion-font-heading); transition: transform .15s ease; }
.club-pin .pulse { position: absolute; inset: 0; border-radius: 50%; background: rgba(255,199,44,.55); animation: pin-pulse 2.2s ease-out infinite; }
.club-pin:hover .core { transform: scale(1.15); }
.leaflet-marker-icon:focus { outline: none; }
.leaflet-marker-icon:focus .club-pin .core { transform: scale(1.15); outline: 3px solid var(--lion-blue); outline-offset: 2px; }
@keyframes pin-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .club-pin .pulse { animation: none; opacity: 0; } }
.club-tip { min-width: 180px; }

/* Club cards under the map */
.club-card { display: block; height: 100%; padding: 1rem; border-radius: 1rem; background: #fff; box-shadow: var(--lion-shadow);
  color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.club-card:hover, .club-card:focus-visible { transform: translateY(-3px); box-shadow: var(--lion-shadow-lg); color: inherit; }
.club-card-icon { flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba(255,199,44,.25); color: var(--lion-blue-royal); }
.club-card-name { font-weight: 700; color: var(--lion-navy); overflow-wrap: anywhere; }
.club-card-bar { height: 6px; border-radius: 6px; background: var(--lion-gray-100); margin: .75rem 0 .5rem; overflow: hidden; }
.club-card-bar span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--lion-gold), var(--lion-blue)); }

/* Admin > Settings location picker */
.loc-picker-map { height: 320px; }
@media (max-width: 575.98px) { .loc-picker-map { height: 260px; } }

/* ---- Site-wide progress feedback (Scripts/site-progress.js) ---- */
.page-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 2000;
  pointer-events: none; opacity: 0; transition: opacity .3s;
}
.page-progress.active { opacity: 1; }
.page-progress-fill {
  height: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--lion-gold), var(--lion-gold-dark));
  box-shadow: 0 0 8px rgba(255, 199, 44, .8);
  transition: transform .25s ease-out;
}
.page-progress-pill {
  position: fixed; top: 12px; left: 50%; z-index: 2000;
  display: flex; align-items: center; gap: .5rem;
  padding: .4rem .9rem; border-radius: 999px;
  background: #fff; color: var(--lion-blue-dark); font-size: .875rem; font-weight: 600;
  box-shadow: 0 4px 16px rgba(13, 34, 64, .18); white-space: nowrap;
  transform: translate(-50%, -150%); opacity: 0; pointer-events: none;
  transition: transform .3s, opacity .3s;
}
.page-progress-pill.active { transform: translate(-50%, 0); opacity: 1; }
.page-progress-pill .spinner-border { color: var(--lion-blue); }

.busy-overlay {
  position: fixed; inset: 0; z-index: 2100;
  display: none; align-items: center; justify-content: center; padding: 16px;
  background: rgba(13, 34, 64, .55); backdrop-filter: blur(2px);
}
.busy-overlay.active { display: flex; }
.busy-lock { overflow: hidden; }
.busy-lock .page-progress-pill { display: none; }
.busy-card {
  width: 100%; max-width: 380px; padding: 1.75rem 1.5rem; outline: none;
  display: flex; flex-direction: column; align-items: center; gap: .75rem; text-align: center;
  background: #fff; border-radius: 1rem; box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}
.busy-spinner { width: 2.75rem; height: 2.75rem; border-width: .3rem; }
.busy-progress { width: 100%; height: 1.25rem; }
.busy-progress .progress-bar { background-color: var(--lion-blue); font-weight: 600; transition: width .2s; }

@media (prefers-reduced-motion: reduce) {
  .page-progress, .page-progress-fill, .page-progress-pill { transition: none; }
}

/* ---- Share buttons (project page, admin list) ---- */
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: 1rem; border-radius: .75rem; background: var(--lion-gray-100); }
.share-bar > span { margin-right: .25rem; }
/* WhatsApp green with dark text: white on #25D366 fails WCAG contrast. */
.btn-whatsapp { background: #25d366; border-color: #25d366; color: #052e1c; font-weight: 600; }
.btn-whatsapp:hover, .btn-whatsapp:focus-visible { background: #1ebe5b; border-color: #1ebe5b; color: #052e1c; }

/* <picture> from PictureTag: lay out as if the <img> were the direct child. */
picture.pic { display: contents; }
.media-thumb { height: 140px; object-fit: cover; }

/* Reserve the 4:3 thumbnail space (thumbnails are always 400x300) so cards never jump while photos load (CLS). */
.lion-card .card-img-top { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---- Members directory, profiles and office bearers ---- */
.member-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center; background: var(--lion-gray-100); color: var(--lion-blue); font-size: 2.4rem; }
.member-avatar-sm { width: 40px; height: 40px; font-size: 1rem; }
.member-avatar-lg { width: 132px; height: 132px; font-size: 3.2rem; border: 4px solid #fff; box-shadow: 0 4px 16px rgba(0,0,0,.18); }
.member-card { display: flex; gap: 1rem; padding: 1.1rem; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.member-card:hover, .member-card:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,34,64,.12); color: inherit; }
.member-card .member-avatar { width: 72px; height: 72px; font-size: 1.8rem; }
.member-card-body { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.member-card-name { font-weight: 700; color: var(--lion-navy); font-size: 1.05rem; }
.member-card-profession, .member-card-club { font-size: .875rem; color: var(--lion-gray-700); }
.member-card-brief { font-size: .85rem; color: var(--lion-gray-700); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.member-social { display: flex; flex-wrap: wrap; gap: .5rem; }
.member-social a { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--lion-gray-100); color: var(--lion-blue); font-size: 1.15rem; text-decoration: none; }
.member-social a:hover, .member-social a:focus-visible { background: var(--lion-blue); color: #fff; }
.bearer-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; padding: 1.4rem 1rem; text-decoration: none; color: inherit; }
.bearer-card:hover, .bearer-card:focus-visible { box-shadow: 0 8px 24px rgba(13,34,64,.12); color: inherit; }
.bearer-title { margin-top: .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #7a5800; } /* dark gold: 6:1 contrast on white */
.bearer-name { font-weight: 700; color: var(--lion-navy); }
@media (prefers-reduced-motion: reduce) { .member-card { transition: none; } .member-card:hover { transform: none; } }
