/* =========================================================================
   BHS Alumni — New Design System (theme.css)
   Loaded AFTER the vendor style.css in layouts/app.blade.php so these
   rules win. This file only styles the new global chrome (header/footer)
   and the pages that have been given the new design pass (home, register,
   directory, gallery, store). Pages not yet redesigned keep using the
   vendor template's own look for their body content — only the header and
   footer around them change, site-wide, immediately.
   ========================================================================= */

:root {
  --bhs-navy: #13233B;
  --bhs-navy-dark: #0F1B2D;
  --bhs-gold: #BC893A;
  --bhs-gold-light: #D4AF6A;
  --bhs-gold-bright: #E0A815;
  --bhs-gold-bright-hover: #C99308;
  --bhs-cream: #F6F4EE;
  --bhs-cream-border: #ECE8DC;
  --bhs-ink: #152033;
  --bhs-body: #5B6576;
  --bhs-muted: #8A93A6;
  --bhs-line: #E2DED2;
  --bhs-radius: 4px;
}

body { font-family: 'Inter', -apple-system, Segoe UI, Roboto, sans-serif; color: var(--bhs-ink); }
.bhs-heading, h1.bhs-h, h2.bhs-h, h3.bhs-h, h4.bhs-h {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

/* ---------- utility bar ---------- */
.bhs-utility-bar { background: var(--bhs-navy-dark); color: #D7DCE6; font-size: 12.5px; }
.bhs-utility-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 8px 0; }
.bhs-utility-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.bhs-utility-left a { color: #D7DCE6; margin-left: 6px; }
.bhs-utility-left a:hover { color: var(--bhs-gold-light); }
.bhs-utility-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.bhs-utility-right a.bhs-contact-link { color: #D7DCE6; font-size: 12.5px; }
.bhs-utility-right a.bhs-contact-link:hover { color: var(--bhs-gold-light); }
.bhs-utility-right a.bhs-contact-link i { color: var(--bhs-gold); margin-right: 5px; }
.bhs-utility-cta {
  background: var(--bhs-gold); color: #211604 !important; font-weight: 700; font-size: 12px;
  padding: 6px 14px; border-radius: 4px; display: inline-flex; align-items: center; gap: 6px;
}
.bhs-utility-cta:hover { color: #211604 !important; opacity: .92; }

/* ---------- main nav ---------- */
.bhs-navbar { background: #FFFFFF; border-bottom: 1px solid var(--bhs-cream-border); position: relative; z-index: 50; }
.bhs-navbar .container { display: flex; align-items: center; justify-content: space-between; padding: 2px 0; gap: 16px; flex-wrap: wrap; position: relative; }
/* Nav links sit right next to the "Become a Life Member" button on
   the right, rather than dead-center of the bar (an earlier design) —
   margin-left:auto on the nav (now the 2nd flex child in source order,
   right after the brand, with .bhs-nav-right-group as the 3rd) eats up
   all the leftover space itself, pushing both it AND the right-group
   after it over to the right edge as one tight cluster, while the brand
   stays pinned at the far left. justify-content on the container is
   overridden to flex-start here so that auto-margin is what positions
   everything, instead of the base rule's space-between fighting it. */
@media (min-width: 992px) {
  .bhs-navbar .container { justify-content: flex-start; }
  .bhs-navbar .navbar-collapse {
    position: static; transform: none; margin: 0 0 0 auto;
    /* Bootstrap's own .navbar-collapse rule sets flex-grow:1 and never
       resets it at this breakpoint (only flex-basis/display get reset
       for .navbar-expand-lg) - left alone, that would let this box
       grow to swallow ALL the leftover space itself, which competes
       with the margin-left:auto above for the exact same free space
       (auto margins only get what flex-grow resolution left over, so
       a growing sibling can leave nothing for them to use). Pinning
       flex-grow/shrink to 0 makes this box exactly as wide as the menu
       itself, so margin-left:auto is the only thing moving it, with no
       competition. */
    flex: 0 0 auto; display: flex; justify-content: flex-end; align-items: center;
    width: auto; max-width: calc(100vw - 48px); flex-wrap: nowrap;
  }
}
.bhs-brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.bhs-brand img { width: 46px; height: 46px; object-fit: contain; flex-shrink: 0; }
.bhs-brand-text { display: flex; flex-direction: column; line-height: 1.18; gap: 3px; }
.bhs-brand-text strong { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 17px; color: var(--bhs-navy); }
.bhs-brand-text span { font-size: 10.5px; letter-spacing: .01em; text-transform: none; color: var(--bhs-muted); font-weight: 600; }

.bhs-nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
@media (min-width: 992px) {
  .bhs-nav-links { flex-wrap: nowrap; white-space: nowrap; }
}
.bhs-nav-links > li { position: relative; }
/* Thin vertical divider between each top-level item, like the "|"
   separators in the requested layout — desktop only (a stacked mobile
   menu reads better without them), and skipped before the first item
   and before the solid gold "Become a Life Member" button, which is a
   button rather than a plain list entry. */
@media (min-width: 992px) {
  .bhs-nav-links > li:not(:first-child)::before {
    content: ""; position: absolute; left: -2px; top: 50%; transform: translateY(-50%);
    width: 1px; height: 16px; background: var(--bhs-line);
  }
}
.bhs-nav-links > li > a, .bhs-nav-links > li > a.dropdown-toggle {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; font-size: 13px; font-weight: 600;
  color: var(--bhs-ink); text-decoration: none; border-radius: 4px; transition: color .15s, background .15s;
}
/* The vendor template's own style.css sets ".navbar .nav-item .nav-link"
   (3 class-selectors of specificity) inside its own "@media
   (min-width: 992px)" block, with "padding: 30px 0" and "font-size: 17px"
   baked in - that beats our ".bhs-nav-links > li > a" (1 class + 2 type
   selectors) regardless of source order, which is what was actually
   causing the large top/bottom gap around the links on desktop. Matching
   that same selector, specificity, AND breakpoint here (loaded after
   style.css, so the tie is broken by source order) overrides it cleanly
   without an !important, and without touching the separate <=991px
   mobile nav styling below, which the vendor rule never reaches anyway. */
@media (min-width: 992px) {
  .bhs-navbar .nav-item .nav-link {
    margin-right: 0;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--bhs-ink);
    text-transform: none;
  }
}
.bhs-nav-links > li > a:hover { color: var(--bhs-navy); background: var(--bhs-cream); }
.bhs-nav-links .dropdown-menu { border: 1px solid var(--bhs-cream-border); border-radius: 10px; box-shadow: 0 18px 40px -14px rgba(10,20,40,.18); padding: 8px; font-size: 13.5px; }
.bhs-nav-links .dropdown-item { border-radius: 6px; padding: 8px 12px; color: var(--bhs-body); }
.bhs-nav-links .dropdown-item:hover { background: var(--bhs-cream); color: var(--bhs-ink); }
.bhs-nav-links .dropdown-submenu > .dropdown-menu { top: 0; left: 100%; margin-left: 2px; }
.bhs-nav-links .dropdown-menu { max-height: 70vh; overflow-y: auto; min-width: 190px; }
/* The vendor template's own ".navbar .nav-item .dropdown-menu" (and its
   ".dropdown-item" / ":hover" rules) live at higher specificity than the
   rules just above (3-4 class-selectors vs. 2), inside the same
   "@media (min-width: 992px)" block it uses for the nav-link padding fix
   elsewhere in this file — so they were silently winning: navy
   background, white text, transparent-on-hover, regardless of what's
   set above. Matching that same selector shape, specificity, and
   breakpoint here (loaded after style.css, so the tie is broken by
   source order) overrides it cleanly, the same technique used for the
   nav-link fix. */
@media (min-width: 992px) {
  .bhs-navbar .nav-item .dropdown-menu {
    background: #FFFFFF;
    width: 190px;
    margin-top: 10px;
  }
  .bhs-navbar .nav-item .dropdown-menu .dropdown-item {
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    color: var(--bhs-body);
    text-transform: none;
  }
  .bhs-navbar .nav-item .dropdown-menu .dropdown-item:hover {
    background: var(--bhs-cream);
    color: var(--bhs-ink);
    padding-left: 14px;
  }
  /* Vendor's own ":hover::before" reveals a "//" at a fixed left:15px
     and relies on its own ":hover{padding-left:32px}" to make room for
     it — since the rule just above cancels that extra indent (so items
     don't jump width on hover), the "//" would otherwise sit directly
     on top of the item's own text. Keeping it hidden avoids that
     overlap rather than re-introducing the indent jump. */
  .bhs-navbar .nav-item .dropdown-menu .dropdown-item:hover::before {
    opacity: 0;
    visibility: hidden;
  }
}
.bhs-nav-links .dropdown-header { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--bhs-gold); padding: 6px 12px 4px; }
.bhs-nav-links .dropdown-divider { margin: 6px 4px; border-top: 1px solid var(--bhs-cream-border); }
/* Cart and the logged-in user's name share the exact same link styling
   as every other top-level item (Home, Gallery, Contact, etc.) — only
   the small count badge is additional, not a different button style. */
.bhs-nav-cart-link .bhs-nav-cart-badge, .bhs-nav-cart-link i { vertical-align: middle; }
.bhs-nav-cart-badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 17px; height: 17px;
  border-radius: 50%; background: var(--bhs-navy); color: #fff; font-size: 10px; font-weight: 700; padding: 0 4px; margin-left: 2px;
}

.bhs-nav-search-btn { border: none; background: none; font-size: 16px; color: var(--bhs-ink); padding: 8px; cursor: pointer; }

/* mobile toggler (re-skin bootstrap's) */
.bhs-navbar .navbar-toggler { border: 1px solid var(--bhs-cream-border); border-radius: 8px; padding: 8px 11px; }
.bhs-navbar .navbar-toggler-mobile-icon { color: var(--bhs-navy); font-size: 18px; }

@media (max-width: 991px) {
  .bhs-nav-links { flex-direction: column; align-items: flex-start; width: 100%; padding: 10px 0; gap: 0; border-top: 1px solid var(--bhs-cream-border); margin-top: 10px; }
  .bhs-nav-links > li { width: 100%; }
  .bhs-nav-links > li > a { width: 100%; padding: 12px 6px; }
  .bhs-nav-links .dropdown-menu { position: static !important; box-shadow: none; border: none; background: var(--bhs-cream); margin: 2px 0 2px 12px; }
  .bhs-nav-links .dropdown-submenu > .dropdown-menu { margin-left: 12px; }
}
@media (max-width: 560px) {
  .bhs-brand img { width: 36px; height: 36px; }
  .bhs-brand-text strong { font-size: 14px; }
}

/* ---------- buttons shared ---------- */
.bhs-btn-primary {
  background: var(--bhs-gold); color: #211604; padding: 14px 28px; border-radius: var(--bhs-radius); font-weight: 700;
  font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.bhs-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(188,137,58,.5); color: #211604; }
.bhs-btn-ghost {
  border: 1px solid rgba(255,255,255,.35); color: #fff; padding: 14px 28px; border-radius: var(--bhs-radius); font-weight: 600;
  font-size: 14.5px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.bhs-btn-ghost:hover { color: #fff; background: rgba(255,255,255,.08); }
.bhs-btn-silver {
  background: #C9CDD3; color: #111111; border: 1px solid #C9CDD3; padding: 14px 28px; border-radius: var(--bhs-radius);
  font-weight: 600; font-size: 14.5px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.bhs-btn-silver:hover { color: #111111; background: #BFC3C9; transform: translateY(-1px); }
.bhs-btn-outline-navy {
  border: 1.5px solid var(--bhs-navy); color: var(--bhs-navy); padding: 12px 24px; border-radius: var(--bhs-radius);
  font-weight: 700; font-size: 13.5px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; background: #fff;
}
.bhs-btn-outline-navy:hover { background: var(--bhs-navy); color: #fff; }

/* ---------- section helpers ---------- */
.bhs-section { padding: 84px 0; }
.bhs-section-cream { background: var(--bhs-cream); }
.bhs-section-navy { background: var(--bhs-navy); color: #fff; }
.bhs-eyebrow { display: inline-block; color: var(--bhs-gold); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.bhs-section-navy .bhs-eyebrow { color: var(--bhs-gold-light); }

/* ---------- card ---------- */
.bhs-card { background: #fff; border: 1px solid var(--bhs-cream-border); border-radius: 16px; padding: 18px 26px; height: 100%; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.bhs-card:hover, .bhs-card:focus-visible { transform: translateY(-6px); box-shadow: 0 18px 40px -16px rgba(19,35,59,.22); border-color: var(--bhs-gold); }
.bhs-card-icon { width: 48px; height: 48px; border-radius: 12px; background: #F1ECDD; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: background .22s ease; }
.bhs-card:hover .bhs-card-icon { background: var(--bhs-gold); }
.bhs-card:hover .bhs-card-icon img { filter: brightness(0) invert(1); }

/* ---------- responsive grids used across pages ---------- */
.bhs-qa-grid, .bhs-fv-grid, .bhs-stats-grid, .bhs-gallery-grid, .bhs-store-grid, .bhs-dir-grid, .bhs-about-grid {
  display: grid; gap: 22px;
}
.bhs-qa-grid, .bhs-fv-grid, .bhs-stats-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.bhs-gallery-grid, .bhs-store-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.bhs-dir-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.bhs-about-grid { grid-template-columns: 1.1fr .9fr; }

/* Kept to one line at the widths it has room for; shrinks a step at a
   time rather than wrapping as that room narrows, instead of wrapping
   to a second line. Below 860px the about block's own column is at its
   narrowest relative to the heading's length, so it drops the most
   there; below 560px .bhs-about-grid goes full-width single column
   (see the other media queries on this class), so room opens back up
   and the heading no longer needs to shrink or stay unwrapped. */
.bhs-about-heading { font-size: 23px; line-height: 1.3; white-space: nowrap; }
@media (max-width: 860px) { .bhs-about-heading { font-size: 19px; } }
@media (max-width: 560px) { .bhs-about-heading { font-size: 28px; white-space: normal; } }

@media (max-width: 860px) {
  .bhs-qa-grid, .bhs-fv-grid, .bhs-stats-grid, .bhs-gallery-grid, .bhs-store-grid, .bhs-dir-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  .bhs-section { padding: 56px 0; }
}
@media (max-width: 560px) {
  .bhs-qa-grid, .bhs-fv-grid, .bhs-stats-grid, .bhs-gallery-grid, .bhs-store-grid, .bhs-dir-grid { grid-template-columns: 1fr !important; }
  .bhs-about-grid { grid-template-columns: 1fr !important; }
}

/* ---------- hero ---------- */
.bhs-hero { position: relative; display: flex; align-items: center; min-height: 440px; overflow: hidden; background: var(--bhs-navy); color: #fff; }
.bhs-hero-h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 42px; line-height: 1.15; font-weight: 800; color: #fff; margin: 0 0 16px; }
@media (max-width: 560px) { .bhs-hero-h1 { font-size: 30px !important; } .bhs-hero { min-height: 300px; } }

/* ---------- footer ---------- */
.bhs-footer { background: var(--bhs-navy); color: #C9D2E3; border-top: 1px solid #FFFFFF; }
.bhs-footer a { color: #C9D2E3; text-decoration: none; }
.bhs-footer a:hover { color: var(--bhs-gold-light); }
.bhs-footer-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 18px; }
.bhs-footer-link { display: block; padding: 6px 0; font-size: 13.5px; }
.bhs-footer-logo { width: 54px; height: 54px; object-fit: contain; }
.bhs-footer-social { display: flex; gap: 10px; list-style: none; padding: 0; margin: 16px 0 0; }
.bhs-footer-social a { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.bhs-footer-social a:hover { background: var(--bhs-gold); color: #211604; }
.bhs-footer-newsletter .form-control { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; border-radius: 4px; padding: 10px 12px; font-size: 13.5px; margin-bottom: 10px; }
.bhs-footer-newsletter .form-control::placeholder { color: #9AA6BE; }
.bhs-footer-newsletter .theme-btn, .bhs-footer-newsletter button { background: var(--bhs-gold); color: #211604; border: none; border-radius: 4px; padding: 10px 18px; font-weight: 700; font-size: 13px; cursor: pointer; }
.bhs-legal-strip { background: var(--bhs-navy-dark); text-align: center; padding: 14px 15px; font-size: 13px; }
.bhs-legal-strip a { color: #c9d2e3; }
.bhs-copyright { background: var(--bhs-navy-dark); border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; }
.bhs-copyright-text { font-size: 13px; color: #9AA6BE; margin: 0; }
.bhs-copyright-text a { color: #C9D2E3; }

/* ---------- form elements (register / contact / subscribe) ---------- */
.bhs-input, .bhs-select, textarea.bhs-input {
  width: 100%; border: 1.5px solid var(--bhs-line); border-radius: var(--bhs-radius); padding: 12px 14px; font-size: 14px; color: var(--bhs-ink);
  transition: border-color .15s ease; background: #fff;
}
.bhs-input:focus, .bhs-select:focus { outline: none; border-color: var(--bhs-gold); }
.bhs-label { display: block; font-size: 13px; font-weight: 700; color: var(--bhs-ink); margin-bottom: 8px; }
.bhs-required { color: #C0392B; }
.bhs-pill { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--bhs-line); border-radius: var(--bhs-radius); padding: 10px 18px; font-size: 13.5px; font-weight: 600; color: var(--bhs-ink); cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.bhs-pill:hover { border-color: var(--bhs-gold); }
.bhs-pill.active, .bhs-pill-checked { border-color: var(--bhs-gold); background: #FBF4E7; }

/* ---------- step form shell (register page) ---------- */
.bhs-step-list { display: flex; flex-direction: column; }
.bhs-step-row { display: flex; gap: 14px; cursor: pointer; }
.bhs-step-dot-col { display: flex; flex-direction: column; align-items: center; }
.bhs-step-dot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700; flex-shrink: 0; border: 1.5px solid var(--bhs-line); color: var(--bhs-muted); }
.bhs-step-row.active .bhs-step-dot, .bhs-step-row.done .bhs-step-dot { background: var(--bhs-gold); color: #211604; border-color: var(--bhs-gold); }
.bhs-step-row.done .bhs-step-dot { background: var(--bhs-navy); border-color: var(--bhs-navy); color: #fff; }
.bhs-step-line { width: 1px; flex: 1 1 auto; background: var(--bhs-cream-border); min-height: 22px; }
.bhs-step-label { font-size: 14px; font-weight: 700; color: var(--bhs-ink); }
.bhs-step-sub { font-size: 12px; color: var(--bhs-muted); }
.bhs-step-row.active .bhs-step-sub { color: var(--bhs-gold); font-weight: 600; }
.bhs-step-panel { display: none; }
.bhs-step-panel.active { display: block; }
.bhs-progress-track { height: 4px; background: var(--bhs-cream-border); border-radius: 2px; margin-bottom: 28px; overflow: hidden; }
.bhs-progress-fill { height: 100%; background: var(--bhs-gold); transition: width .25s ease; }
.bhs-dropzone { display: flex; align-items: center; gap: 14px; border: 1.5px dashed var(--bhs-line); border-radius: 4px; padding: 18px; cursor: pointer; background: #FAF9F5; }

@media (max-width: 860px) {
  .bhs-step-form-cols { flex-direction: column; }
}

/* ---------- register page: scroll-spy step sidebar (visual only —
   nothing is hidden/removed, so the existing required-field /
   checkValidity() submit-button logic on this page is untouched) ---------- */
.bhs-step-sidebar { position: sticky; top: 110px; }
.bhs-step-row { text-decoration: none; display: flex; gap: 14px; }
.bhs-step-form .form-control,
.bhs-step-form .form-select,
.bhs-step-form textarea.form-control {
  border: 1.5px solid var(--bhs-line);
  border-radius: var(--bhs-radius);
  padding: 11px 14px;
  font-size: 14px;
}
.bhs-step-form .form-control:focus,
.bhs-step-form .form-select:focus {
  border-color: var(--bhs-gold);
  box-shadow: 0 0 0 .15rem rgba(188,137,58,.15);
}
.bhs-step-form .form-check-input:checked { background-color: var(--bhs-gold); border-color: var(--bhs-gold); }
.bhs-step-form #submitApplicationBtn { background: var(--bhs-gold); border-color: var(--bhs-gold); color: #211604; border-radius: var(--bhs-radius); }
.bhs-step-form h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: var(--bhs-ink); font-size: 23px; }
.bhs-step-form h5 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; color: var(--bhs-ink); font-size: 17px; }

/* ---------- plain data tables (office bearers, etc.) ---------- */
.bhs-section table.table thead th { background: var(--bhs-navy); color: #fff; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding: 12px 14px; border: none; }
.bhs-section table.table tbody td { font-size: 13.5px; color: var(--bhs-body); padding: 10px 14px; border-color: var(--bhs-cream-border); }
.bhs-section table.table tbody tr:nth-child(even) { background: var(--bhs-cream); }

/* ---------- legal pages (terms/privacy/refund) ---------- */
.legal-content h3 { font-family: 'Plus Jakarta Sans', sans-serif; margin-top: 34px; margin-bottom: 12px; font-size: 19px; color: var(--bhs-ink); }
.legal-content h3:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--bhs-body); line-height: 1.8; font-size: 14.5px; }
.legal-content ul, .legal-content ol { padding-left: 20px; margin-bottom: 16px; }
.legal-content .legal-updated { color: var(--bhs-muted); font-size: 13.5px; margin-bottom: 30px; }
.legal-content a { color: var(--bhs-navy); font-weight: 600; }

/* accent word inside a hero h1 (titleHtml passed to partials.page-heading, etc.) */
.bhs-hero-h1 span { color: var(--bhs-gold-light); }

/* global uplift for pages not yet individually redesigned: the vendor
   template's own generic section wrappers get the new cream background
   and card-style form panel so they don't look jarring under the new
   navy header/footer and hero banners. */
.application, .login-area, .tuition-fee, .error-area, .about-area,
.gallery-area, .blog-single-area, .contact-area, .team-area,
.testimonial-area, .counter-area {
  background: var(--bhs-cream);
}
.application-form, .login-form {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 30px -14px rgba(10,20,40,.1);
}
.application-form .theme-btn, .login-form .theme-btn, .tuition-fee .theme-btn {
  background: var(--bhs-gold);
  border-color: var(--bhs-gold);
  color: #211604;
  border-radius: 4px;
}
.application .form-control, .application .form-select,
.login-form .form-control, .login-form .form-select {
  border: 1.5px solid var(--bhs-line);
  border-radius: 4px;
}

/* ---------- home page video hero: size to the viewport, not a flat px
   value, so it never runs noticeably longer than "one screen" on any
   given device (short phone screens don't force extra scrolling through
   video before reaching Quick Actions below). ---------- */
.bhs-home-hero { min-height: 72vh; }
@media (max-width: 860px) { .bhs-home-hero { min-height: 62vh; } }
@media (max-width: 560px) { .bhs-home-hero { min-height: 58vh; } }

/* "Become a Life Member" CTA specifically - the brighter gold introduced
   for the nav button, reused everywhere this exact call-to-action
   appears (hero, CTA band) so it's one consistent, recognizable color
   site-wide. Deliberately a separate class from .bhs-btn-primary, which
   is reused for many unrelated buttons (Login, Search, Send Message,
   etc.) that should keep the original, more muted gold. */
.bhs-btn-join {
  background: var(--bhs-gold-bright); color: #211604; padding: 14px 28px; border-radius: var(--bhs-radius); font-weight: 700;
  font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.bhs-btn-join:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(217,165,16,.55); background: var(--bhs-gold-bright-hover); color: #211604; }

/* Compact version of the same bright-gold CTA, sized to sit inline in
   the nav bar itself (the full-size .bhs-btn-join padding is tuned for
   the hero/CTA band, too large for a navbar row). Same color/weight as
   every other "Become a Life Member" button on the site. */
.bhs-nav-join {
  background: var(--bhs-gold-bright); color: #211604 !important; font-weight: 700; font-size: 13px;
  padding: 8px 18px; border-radius: var(--bhs-radius); text-decoration: none; display: inline-flex; align-items: center;
  transition: transform .15s ease, box-shadow .15s ease; white-space: nowrap;
}
.bhs-nav-join:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(217,165,16,.55); background: var(--bhs-gold-bright-hover); color: #211604 !important; }
@media (max-width: 560px) {
  .bhs-nav-join { font-size: 12px; padding: 7px 12px; }
}

/* Right-side group, mirroring the brand on the left: holds the gold CTA
   (always visible) and the mobile hamburger toggle (Bootstrap's own
   ".navbar-expand-lg .navbar-toggler{display:none}" rule still hides
   the toggle itself at >=992px, independent of this wrapper). Replaces
   the vendor's ".mobile-menu-right", which defaults to display:none on
   desktop — fine when it held only the toggler, wrong now that the CTA
   needs to stay visible at every width. */
.bhs-nav-right-group { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Partner logos: fixed height, width follows each logo's own aspect
   ratio (not stretched/cropped to a box) — max-width:100% is just a
   safety net in case a slide ever ends up narrower than that. */
.partner-wrapper img, .partner-slider img {
  height: 90px; width: auto; max-width: 100%; margin: 0 auto;
}

/* Contact page's photo+form card: a plain CSS grid instead of a
   Bootstrap flex row, because grid's "stretch" (its default, so no
   align-items override is even needed) reliably gives each cell a
   definite height for an absolutely-positioned image to fill, which
   flex + percentage-height was not doing consistently. Below 992px
   (Bootstrap's lg breakpoint, matching what the col-lg-5/col-lg-7
   classes this replaced used to do) it stacks to one column, so the
   photo's min-height becomes its own height there instead of half a
   much taller row. */
@media (max-width: 991px) {
  .bhs-contact-card { grid-template-columns: 1fr !important; }
}


/* ---------- events listing (events/index.blade.php) ---------- */
.bhs-event-card {
  background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.06); margin-bottom: 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.bhs-event-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -14px rgba(10,20,40,.18); }
.bhs-event-row-banner {
  aspect-ratio: 1 / 1; background: linear-gradient(135deg, var(--bhs-navy), var(--bhs-navy-dark));
  background-size: cover; background-position: center; transition: transform .4s ease; overflow: hidden;
}
.bhs-event-card:hover .bhs-event-row-banner { transform: scale(1.06); }
.bhs-event-row-banner.bhs-event-banner-fallback { display: flex; align-items: center; justify-content: center; }
.bhs-event-row-banner.bhs-event-banner-fallback i { font-size: 34px; color: rgba(255,255,255,.3); }
.bhs-event-date-badge {
  position: absolute; top: 14px; left: 14px; background: #fff; border-radius: 10px; padding: 8px 13px;
  text-align: center; line-height: 1; box-shadow: 0 8px 20px -4px rgba(0,0,0,.25); min-width: 48px;
}
.bhs-event-date-badge .bhs-event-date-day {
  display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 19px; color: var(--bhs-navy);
}
.bhs-event-date-badge .bhs-event-date-month {
  display: block; font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--bhs-gold); text-transform: uppercase; margin-top: 2px;
}
.bhs-event-meta-row { display: flex; align-items: center; gap: 7px; color: var(--bhs-gold); font-weight: 700; font-size: 13px; margin: 0 0 8px; }
.bhs-event-venue-row { display: flex; align-items: center; gap: 7px; color: #8A93A6; font-size: 13.5px; margin: 0 0 10px; }
.bhs-event-desc { color: #5B6576; font-size: 14px; line-height: 1.6; flex: 1; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bhs-event-price-pill {
  background: var(--bhs-cream); border-radius: 999px; padding: 8px 18px; font-weight: 800; font-size: 18px;
  color: var(--bhs-navy); display: inline-flex; align-items: baseline; gap: 5px;
}
.bhs-events-empty {
  text-align: center; padding: 70px 24px; background: #fff; border-radius: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.05);
}
.bhs-events-empty i { font-size: 38px; color: var(--bhs-gold); margin-bottom: 18px; display: block; }
.bhs-events-empty h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 20px; color: var(--bhs-navy); margin: 0 0 8px; }
.bhs-events-empty p { color: #8A93A6; font-size: 14.5px; margin: 0 0 20px; }
.bhs-pagination .pagination { justify-content: center; gap: 4px; margin: 0; }
.bhs-pagination .page-link { border: none; color: var(--bhs-navy); font-weight: 600; border-radius: 8px !important; box-shadow: none; }
.bhs-pagination .page-link:hover { background: var(--bhs-cream); color: var(--bhs-navy); }
.bhs-pagination .page-item.active .page-link { background: var(--bhs-navy); color: #fff; }
.bhs-pagination .page-item.disabled .page-link { color: #C5CAD3; background: transparent; }


/* ---------- event detail page (events/show.blade.php) ---------- */
.bhs-back-link {
  display: inline-flex; align-items: center; gap: 6px; color: #D7DCE6; font-size: 13.5px; font-weight: 600;
  text-decoration: none; margin-bottom: 14px;
}
.bhs-back-link:hover { color: #fff; }
.bhs-event-top-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: stretch; margin-bottom: 8px; }
.bhs-event-image-cell { position: relative; min-height: 340px; }
@media (max-width: 991px) {
  .bhs-event-top-grid { grid-template-columns: 1fr !important; }
  .bhs-event-image-cell { min-height: 280px; }
}
.bhs-event-info-chip {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--bhs-cream-border);
  border-radius: 999px; padding: 9px 16px; font-size: 13.5px; color: var(--bhs-body);
}
.bhs-event-info-chip i { color: var(--bhs-gold); }
.bhs-event-info-chip strong { color: var(--bhs-navy); font-weight: 700; }
.bhs-event-about { background: #fff; border-radius: 16px; padding: 28px 30px; box-shadow: 0 6px 18px rgba(0,0,0,.05); margin-top: 22px; }
.bhs-event-about h4 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 16.5px; color: var(--bhs-navy); margin: 0 0 14px;
  display: flex; align-items: center; gap: 9px;
}
.bhs-event-about h4 i { color: var(--bhs-gold); }
.bhs-event-about p { color: #5B6576; font-size: 14.5px; line-height: 1.75; margin: 0; }
.bhs-event-ticket-card { background: #fff; border-radius: 16px; padding: 28px; box-shadow: 0 10px 30px -14px rgba(10,20,40,.1); width: 100%; height: 100%; }
.bhs-event-ticket-card h5 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 17px; margin: 0; color: #152033;
  display: flex; align-items: center; gap: 9px;
}
.bhs-event-ticket-card h5 i { color: var(--bhs-gold); }
.bhs-event-ticket-subhead {
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8A93A6;
  margin: 4px 0 14px; padding-top: 14px; border-top: 1px solid var(--bhs-cream-border);
}
.bhs-event-alert-soldout {
  display: flex; align-items: center; gap: 10px; background: rgba(192,57,43,.08); color: #C0392B;
  border-radius: 10px; padding: 12px 16px; font-size: 13.5px; font-weight: 600;
}
.bhs-event-recheck-note {
  display: flex; align-items: flex-start; gap: 7px; font-size: 12px; color: #8A93A6; margin: -6px 0 16px; line-height: 1.5;
}
.bhs-event-recheck-note i { color: var(--bhs-gold); margin-top: 1px; flex-shrink: 0; }
@media (min-width: 992px) {
  .bhs-event-ticket-card { position: sticky; top: 24px; }
}


/* ---------- store listing (store/index.blade.php) ---------- */
.bhs-product-card {
  background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.06); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.bhs-product-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -14px rgba(10,20,40,.18); }
.bhs-product-image { height: 190px; background: var(--bhs-cream); background-size: contain; background-repeat: no-repeat; background-position: center; transition: transform .4s ease; }
.bhs-product-card:hover .bhs-product-image { transform: scale(1.06); }
.bhs-product-image.bhs-product-image-fallback { display: flex; align-items: center; justify-content: center; }
.bhs-product-image.bhs-product-image-fallback i { font-size: 30px; color: var(--bhs-muted); }
.bhs-product-price-row { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--bhs-cream-border); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bhs-product-price {
  color: var(--bhs-navy); font-size: 14px; font-weight: 800; background: var(--bhs-cream); border-radius: 999px;
  padding: 7px 14px; display: inline-flex; align-items: center;
}
.bhs-product-price.is-out { color: #C0392B; font-weight: 700; font-size: 12.5px; background: rgba(192,57,43,.08); }
.bhs-total-row strong {
  background: var(--bhs-cream); border-radius: 999px; padding: 8px 18px; display: inline-flex; align-items: baseline;
}

/* ---------- store detail (store/show.blade.php) ---------- */
.bhs-store-top-grid { display: grid; grid-template-columns: 6fr 6fr; gap: 24px; align-items: stretch; margin-bottom: 24px; }
.bhs-product-image-cell {
  position: relative; min-height: 360px; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px -14px rgba(10,20,40,.15);
  background: var(--bhs-cream);
}
.bhs-product-image-cell.bhs-product-image-fallback-cell {
  display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--bhs-cream), #EDEAE0);
}
.bhs-product-image-cell.bhs-product-image-fallback-cell i { font-size: 42px; color: var(--bhs-muted); }
@media (max-width: 991px) {
  .bhs-store-top-grid { grid-template-columns: 1fr !important; }
  .bhs-product-image-cell { min-height: 300px; }
}
.bhs-buy-card { background: #fff; border-radius: 16px; padding: 28px; box-shadow: 0 10px 30px -14px rgba(10,20,40,.1); height: 100%; }
.bhs-buy-card h5 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 17px; margin: 0 0 18px; color: #152033;
  display: flex; align-items: center; gap: 9px;
}
.bhs-buy-card h5 i { color: var(--bhs-gold); }
.bhs-variant-list { border: 1px solid var(--bhs-cream-border); border-radius: 10px; overflow: hidden; margin-top: 4px; }
.bhs-variant-option {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--bhs-cream-border);
  cursor: pointer; transition: background .15s ease; margin: 0;
}
.bhs-variant-option:last-child { border-bottom: none; }
.bhs-variant-option:hover { background: var(--bhs-cream); }
.bhs-variant-option.is-disabled { opacity: .55; cursor: not-allowed; }
.bhs-variant-option input[type="radio"] { width: 17px; height: 17px; accent-color: var(--bhs-navy); flex-shrink: 0; }
.bhs-variant-option .bhs-variant-label { flex: 1; font-size: 14px; color: var(--bhs-ink); font-weight: 600; }
.bhs-variant-option .bhs-variant-price { font-size: 14px; font-weight: 700; color: var(--bhs-navy); }
.bhs-variant-option .bhs-variant-stock { font-size: 11.5px; color: #8A93A6; font-weight: 500; }
.bhs-total-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--bhs-cream-border); margin: 4px 0 18px; }
.bhs-total-row span:first-child { font-size: 13.5px; color: #8A93A6; font-weight: 600; }
.bhs-stock-alert {
  display: flex; align-items: center; gap: 10px; background: rgba(192,57,43,.08); color: #C0392B;
  border-radius: 10px; padding: 12px 16px; font-size: 13.5px; font-weight: 600;
}
.bhs-product-about { background: #fff; border-radius: 16px; padding: 28px 30px; box-shadow: 0 6px 18px rgba(0,0,0,.05); margin-top: 24px; }
.bhs-product-about h4 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 16.5px; color: var(--bhs-navy); margin: 0 0 14px;
  display: flex; align-items: center; gap: 9px;
}
.bhs-product-about h4 i { color: var(--bhs-gold); }
.bhs-product-about p { color: #5B6576; font-size: 14.5px; line-height: 1.75; margin: 0; }


/* ---------- themed flash notice (replaces Bootstrap's blue
   alert-info for "Added to cart." and similar store notices) ---------- */
.bhs-alert-info {
  display: flex; align-items: center; gap: 10px; background: var(--bhs-cream); color: var(--bhs-ink);
  border: 1px solid var(--bhs-cream-border); border-left: 4px solid var(--bhs-gold); border-radius: 10px;
  padding: 13px 18px; font-size: 14px; font-weight: 600; margin-bottom: 20px; transition: opacity .5s ease;
}


/* ---------- opt out of the vendor .theme-btn hover "reveal circle"
   effect (its ::before pseudo-element scaling up on :hover) for
   specific buttons that should stay static - cart.blade.php's "Shop
   More" / "Proceed to Payment" per a later "remove the mouse over
   from shop more and proceed to pay" request. Single-class selector,
   same specificity as the vendor's own .theme-btn::before - wins by
   loading after style.css, same technique used elsewhere in this
   file, no !important needed. ---------- */
.bhs-no-hover-fx::before { display: none; }


/* ---------- directory card email link hover ---------- */
.bhs-dir-email-link:hover { color: var(--bhs-gold) !important; }


/* ---------- office bearers page (pages/pob.blade.php) ---------- */
.bhs-pob-card { background: #fff; border-radius: 16px; padding: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.06); overflow: hidden; }
.bhs-pob-card-head {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 14px 16px 10px;
}
.bhs-pob-card-head h5 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 15.5px; color: var(--bhs-navy); margin: 0;
  display: flex; align-items: center; gap: 8px;
}
.bhs-pob-card-head h5 i { color: var(--bhs-gold); }
.bhs-pob-current-legend { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #8A93A6; font-weight: 600; }
.bhs-pob-current-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bhs-gold); display: inline-block; }
.bhs-pob-current-row { background: rgba(188,137,58,.08) !important; }
.bhs-pob-current-row td { font-weight: 700; color: var(--bhs-ink) !important; }
.bhs-pob-current-badge {
  display: inline-block; background: var(--bhs-gold); color: #211604; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: middle;
}



/* ---------- school principals timeline (pages/psp.blade.php) ---------- */
.bhs-psp-timeline { position: relative; padding-left: 36px; }
.bhs-psp-timeline::before { content: ''; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--bhs-cream-border); }
.bhs-psp-item { position: relative; margin-bottom: 18px; }
.bhs-psp-item:last-child { margin-bottom: 0; }
.bhs-psp-marker { position: absolute; left: -36px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
.bhs-psp-dot { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--bhs-gold); }
.bhs-psp-item.is-current .bhs-psp-dot { background: var(--bhs-gold); box-shadow: 0 0 0 4px rgba(188,137,58,.18); }
.bhs-psp-card {
  display: flex; align-items: center; gap: 20px; background: #fff; border-radius: 14px; padding: 16px 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,.05); transition: transform .2s ease, box-shadow .2s ease;
}
.bhs-psp-card:hover { transform: translateX(4px); box-shadow: 0 14px 30px -12px rgba(10,20,40,.12); }
.bhs-psp-item.is-current .bhs-psp-card {
  background: linear-gradient(135deg, #fff, var(--bhs-cream)); border: 1.5px solid var(--bhs-gold-light);
  box-shadow: 0 12px 28px -10px rgba(188,137,58,.25);
}
.bhs-psp-photo { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--bhs-cream); }
.bhs-psp-item.is-current .bhs-psp-photo { width: 108px; height: 108px; border-color: var(--bhs-gold-light); }
.bhs-psp-info { flex: 1; min-width: 0; }
.bhs-psp-years { font-size: 12.5px; font-weight: 700; color: var(--bhs-gold); letter-spacing: .03em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bhs-psp-current-badge {
  background: var(--bhs-gold); color: #211604; font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; padding: 2px 8px; border-radius: 999px;
}
.bhs-psp-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px; font-weight: 800; margin: 2px 0 0; color: #152033; }
.bhs-psp-profile { font-size: 13px; color: #5B6576; line-height: 1.6; margin: 6px 0 0; max-width: 560px; }
.bhs-psp-ordinal {
  text-align: center; flex-shrink: 0; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 20px;
  color: var(--bhs-navy); line-height: 1.1; padding-left: 18px; border-left: 1px solid var(--bhs-cream-border);
}
.bhs-psp-ordinal span { display: block; font-size: 10px; font-weight: 600; color: #8A93A6; text-transform: uppercase; letter-spacing: .04em; margin-top: 2px; }
@media (max-width: 560px) {
  .bhs-psp-card { flex-wrap: wrap; }
  .bhs-psp-ordinal { border-left: none; padding-left: 0; flex-basis: 100%; text-align: left; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--bhs-cream-border); }
}

/* ===================== Preloader ===================== */
/* Replaces the vendor "flipping book pages" preloader with a crest +
   spinning gold ring on the brand navy gradient - same .preloader
   skeleton class from style.css (fixed, full-screen, flex-centered,
   z-index 9999) is kept, just re-themed here: same selector/specificity
   as style.css's own .preloader rule, loaded after it, so source order
   lets these two declarations win without needing !important. */
.preloader {
  background: linear-gradient(135deg, var(--bhs-navy), var(--bhs-navy-dark));
  flex-direction: column;
}

.bhs-preloader-inner {
  position: relative;
  width: 190px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bhs-preloader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(212, 175, 106, .2);
  border-top-color: var(--bhs-gold);
  border-right-color: var(--bhs-gold-light);
  animation: bhs-preloader-spin 1.1s linear infinite;
}

.bhs-preloader-logo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  animation: bhs-preloader-pulse 1.8s ease-in-out infinite;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, .35));
}

.bhs-preloader-text {
  margin-top: 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--bhs-gold-light);
  text-align: center;
}

@keyframes bhs-preloader-spin {
  to { transform: rotate(360deg); }
}

@keyframes bhs-preloader-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/*
 * Admin dashboard Utilities card topbands - a couple of these are
 * recolored away from Bootstrap's own bg-dark per explicit per-card
 * requests (Payments -> purple, Membership Insights -> orange), rather
 * than inline styles on each card, so the color stays one place and
 * matches if the same card is referenced elsewhere.
 */
.bg-purple {
  background-color: #7b2cbf !important;
}

.bg-orange {
  background-color: #e8590c !important;
}
