/* ============================================================
   Beach Haven Charter Fishing Association — bespoke theme
   v0.1 shell. Nautical: deep navy chrome, ocean blue, gold
   sponsor accents, sand/cream sections. Exact tokens refined
   in the Phase 6 pixel pass against the live Neve site.
   ============================================================ */

:root {
    /* Tokens lifted from the live Neve site: --nv-primary-accent #558bc2,
       --nv-secondary-accent #eda73d, --nv-text-color #272626,
       --nv-light-bg #f4f5f7. Chrome uses a deeper shade of the brand blue. */
    --bh-navy:        #2c5d8a;   /* header utility bar / footer chrome */
    --bh-navy-2:      #234d74;   /* gradient companion / hover         */
    --bh-ocean:       #558bc2;   /* primary links / buttons (brand)    */
    --bh-ocean-dark:  #3f6f9f;
    --bh-gold:        #eda73d;   /* secondary accent / sponsors        */
    --bh-gold-light:  #f3c074;
    --bh-sand:        #f4f5f7;   /* alt section background              */
    --bh-cream:       #fbfcfd;
    --bh-ink:         #272626;   /* body text                          */
    --bh-muted:       #5f6b75;
    --bh-line:        #e2e6ea;
    --bh-white:       #ffffff;

    --bh-font-body:   "Roboto", system-ui, -apple-system, Segoe UI, sans-serif;
    --bh-font-head:   "Montserrat", var(--bh-font-body);

    --bh-maxw:        1200px;
    --bh-radius:      8px;
    --bh-shadow:      0 6px 24px rgba(11, 42, 69, .12);
}

/* ---- Base ---- */
.bh-body {
    margin: 0;
    font-family: var(--bh-font-body);
    color: var(--bh-ink);
    background: var(--bh-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.bh-body * { box-sizing: border-box; }

/* Global heading type scale — REQUIRED. Tailwind preflight (app.css)
   resets h1..h6 to 1rem; without this every unsized heading collapses
   to body size. See memory: mmcms-rich-content-h3-unsized. */
.bh-body h1, .bh-body h2, .bh-body h3,
.bh-body h4, .bh-body h5, .bh-body h6 {
    font-family: var(--bh-font-head);
    font-weight: 600;
    line-height: 1.15;
    color: var(--bh-navy);
    margin: 0 0 .5em;
    text-transform: none;
}
.bh-body h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
.bh-body h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.bh-body h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.bh-body h4 { font-size: 1.25rem; }
.bh-body h5 { font-size: 1.05rem; }
.bh-body h6 { font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; color: var(--bh-muted); }

.bh-body p { margin: 0 0 1rem; }
.bh-body a { color: var(--bh-ocean); text-decoration: none; }
.bh-body a:hover { color: var(--bh-ocean-dark); text-decoration: underline; }
/* Buttons are <a> too. Override their text color ABOVE the generic .bh-body a
   rule (scoped with .bh-body so specificity wins) — without raising .bh-body a
   itself, which would clobber contextual link colors (footer / navbar / mobile
   drawer set their own a{color} at equal specificity). */
.bh-body a.bh-btn { text-decoration: none; }
.bh-body a.bh-btn:hover { text-decoration: none; }
.bh-body a.bh-btn--primary, .bh-body a.bh-btn--primary:hover { color: #fff; }
.bh-body a.bh-btn--gold,    .bh-body a.bh-btn--gold:hover    { color: var(--bh-navy); }
.bh-body a.bh-btn--ghost,   .bh-body a.bh-btn--ghost:hover   { color: #fff; }
.bh-body img { max-width: 100%; height: auto; display: block; }

/* ---- Layout helpers ---- */
.bh-wrap { max-width: var(--bh-maxw); margin: 0 auto; padding: 0 20px; }
.bh-section { padding: 56px 0; }
.bh-section--sand { background: var(--bh-sand); }
.bh-section--navy { background: linear-gradient(135deg, var(--bh-navy), var(--bh-navy-2)); color: #dceaf3; }
.bh-section--navy h1, .bh-section--navy h2, .bh-section--navy h3 { color: #fff; }
.bh-section__head { text-align: center; max-width: 760px; margin: 0 auto 36px; }

/* ---- Buttons ---- */
.bh-btn {
    display: inline-block; font-family: var(--bh-font-head); font-weight: 600;
    padding: 12px 26px; border-radius: var(--bh-radius); border: 2px solid transparent;
    cursor: pointer; text-align: center; transition: .18s ease; letter-spacing: .02em;
}
.bh-btn:hover { text-decoration: none; transform: translateY(-1px); }
.bh-btn--primary { background: var(--bh-ocean); color: #fff; }
.bh-btn--primary:hover { background: var(--bh-ocean-dark); color: #fff; }
.bh-btn--gold { background: var(--bh-gold); color: var(--bh-navy); }
.bh-btn--gold:hover { background: var(--bh-gold-light); color: var(--bh-navy); }
.bh-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.bh-btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---- Skip link ---- */
.skip-to-content {
    position: absolute; left: -999px; top: 0; background: var(--bh-gold);
    color: var(--bh-navy); padding: 10px 16px; z-index: 1000; border-radius: 0 0 6px 0;
}
.skip-to-content:focus { left: 0; }

/* ============================================================
   Header
   ============================================================ */
/* Two-tier gradient header: brand bar (emblem + name) + nav strip */
.bh-header { position: relative; z-index: 500; }
.bh-header__brand { background: linear-gradient(180deg, #5e97c4 0%, #2d5e8b 100%); }
/* Full-bleed brand bar (override .bh-wrap's 1200px box): logo hard left, title hard right. */
.bh-header__brand-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px;
    min-height: 120px; max-width: none; padding: 10px 44px; }
.bh-logo { flex: 0 0 auto; display: flex; align-items: center; }
.bh-logo img { height: 104px; width: auto; display: block; }
.bh-logo--text { font-family: var(--bh-font-head); font-weight: 700; font-size: 1.3rem; color: #fff; }
.bh-header__titles { display: flex; flex-direction: column; justify-content: center; text-align: right; }
.bh-header__name { font-family: var(--bh-font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
    color: #fff; font-size: clamp(1.1rem, 2.3vw, 1.95rem); line-height: 1.12; }
.bh-header__tag { color: rgba(255,255,255,.85); font-size: clamp(.8rem, 1.3vw, 1rem); margin-top: 6px; }

.bh-navbar { background: #b7cddd; }
.bh-navbar__inner { display: flex; align-items: center; justify-content: center; gap: 2px; flex-wrap: wrap; min-height: 48px; max-width: none; }
.bh-navbar a { font-family: var(--bh-font-head); font-weight: 500; color: var(--bh-navy); padding: 13px 15px; font-size: .98rem; white-space: nowrap; }
.bh-navbar a:hover { color: var(--bh-ocean-dark); text-decoration: none; }
.bh-navbar a.is-active { color: #c8761b; }

.bh-nav__item { position: relative; }
.bh-nav__item > .bh-submenu {
    position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff;
    border: 1px solid var(--bh-line); border-radius: 8px; box-shadow: var(--bh-shadow);
    padding: 6px; display: none; z-index: 600;
}
.bh-nav__item:hover > .bh-submenu { display: block; }
.bh-submenu a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--bh-ink); }

.bh-burger { display: none; background: none; border: 0; font-size: 1.9rem; color: #fff; cursor: pointer; margin-left: auto; }

/* ============================================================
   Footer
   ============================================================ */
.bh-footer { background: var(--bh-navy); color: #b9cdda; padding: 12px 0 0; font-size: .95rem; }
/* Full-bleed footer (override .bh-wrap's 1200px box) */
.bh-footer .bh-wrap { max-width: none; padding-left: 44px; padding-right: 44px; }
.bh-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.bh-footer a { color: #b9cdda; }
.bh-footer a:hover { color: #fff; }
.bh-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.bh-footer__links { list-style: none; margin: 0; padding: 0; }
.bh-footer__links li { margin-bottom: 8px; }
.bh-footer__bar {
    margin-top: 40px; border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0;
    display: flex; justify-content: space-between; gap: 12px; font-size: .85rem; color: #8aa6b8;
}

/* ============================================================
   Mobile
   ============================================================ */
.bh-mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(11,42,69,.5); z-index: 700; }
.bh-mobile-menu {
    position: fixed; top: 0; right: -340px; width: 320px; max-width: 86vw; height: 100%;
    background: linear-gradient(180deg, #5e97c4 0%, #2d5e8b 100%); z-index: 800;
    transition: right .28s ease; padding: 16px 20px 40px; overflow-y: auto;
    box-shadow: -8px 0 30px rgba(0,0,0,.25);
}
.bh-mobile-menu.is-open { right: 0; }
.bh-mobile-overlay.is-open { display: block; }
.bh-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.bh-mobile-menu a { display: block; padding: 16px 8px; color: #fff; font-size: 1.08rem;
    border-bottom: 1px solid rgba(255,255,255,.16); font-family: var(--bh-font-head); font-weight: 500; }
.bh-mobile-menu a:hover { color: var(--bh-gold-light); text-decoration: none; }
.bh-mobile-menu .bh-burger { color: #fff; }

/* ============================================================
   Boat detail — photo + info card (mirrors live layout)
   ============================================================ */
.bh-boat-detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; margin: 16px 0 28px; }
.bh-boat-card { border: 1px solid var(--bh-line); border-radius: 12px; padding: 6px 22px; box-shadow: var(--bh-shadow); background: #fff; }
.bh-boat-card__row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--bh-line); }
.bh-boat-card__row:last-child { border-bottom: 0; }
.bh-boat-card__icon { font-size: 1.25rem; line-height: 1.4; flex: 0 0 auto; }
.bh-boat-card__label { display: block; font-family: var(--bh-font-head); text-transform: uppercase; letter-spacing: .06em;
    font-size: .72rem; font-weight: 600; color: var(--bh-gold); margin-bottom: 3px; }
@media (max-width: 768px) { .bh-boat-detail { grid-template-columns: 1fr; } }

/* ============================================================
   Inner content pages (Pages Mendol — about, code-of-ethics, etc.)
   Styles the pages::pages.show structure with bhcfa branding.
   ============================================================ */
.inner-page-wrapper { background: var(--bh-white); }
.inner-hero { position: relative; min-height: 220px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--bh-navy), var(--bh-ocean)); overflow: hidden; }
.inner-hero-banner { position: absolute; inset: 0; }
.inner-hero-banner img { width: 100%; height: 100%; object-fit: cover; }
.inner-hero-overlay { position: relative; z-index: 2; width: 100%; padding: 56px 20px; text-align: center;
    background: linear-gradient(135deg, rgba(44,93,138,.82), rgba(85,139,194,.66)); }
.inner-hero-overlay h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); margin: 0; }

.inner-content { padding: 56px 20px; }
.bh-body .page-content { max-width: 820px; margin: 0 auto; font-size: 1.05rem; line-height: 1.7; color: var(--bh-ink); }
.bh-body .page-content h1, .bh-body .page-content h2, .bh-body .page-content h3, .bh-body .page-content h4 {
    font-family: var(--bh-font-head); color: var(--bh-navy); margin: 1.4em 0 .5em; line-height: 1.2; }
.bh-body .page-content h2 { font-size: 1.7rem; color: var(--bh-navy); }
.bh-body .page-content h3 { font-size: 1.3rem; color: var(--bh-ocean-dark); }
.bh-body .page-content p { margin: 0 0 1.1rem; }
.bh-body .page-content a { color: var(--bh-ocean); }
.bh-body .page-content ul, .bh-body .page-content ol { margin: 0 0 1.1rem; padding-left: 1.5em; }
/* Tailwind preflight strips list markers; restore them for rich content */
.bh-body .page-content ol, .bh-body .bh-rich ol { list-style: decimal; }
.bh-body .page-content ul, .bh-body .bh-rich ul { list-style: disc; }
/* WordPress button blocks (e.g. "Download Form") → styled like site buttons */
.bh-body .page-content .wp-block-button__link, .bh-body .bh-rich .wp-block-button__link {
    display: inline-block; background: var(--bh-ocean); color: #fff !important; font-family: var(--bh-font-head);
    font-weight: 600; padding: 11px 24px; border-radius: 8px; text-decoration: none; margin: 4px 0; }
.bh-body .page-content .wp-block-button__link:hover, .bh-body .bh-rich .wp-block-button__link:hover { background: var(--bh-ocean-dark); }
.bh-body .page-content li { margin-bottom: .4rem; }
.bh-body .page-content img { border-radius: 10px; margin: 1rem 0; }
.bh-body .page-content figure { margin: 1.2rem 0; }
.bh-body .page-content table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; }
.bh-body .page-content th, .bh-body .page-content td { border: 1px solid var(--bh-line); padding: 8px 12px; text-align: left; }
.bh-body .page-content blockquote { border-left: 4px solid var(--bh-gold); margin: 1.2rem 0; padding: 6px 0 6px 18px; color: var(--bh-muted); }

/* Shared rich-text container used by boat/captain/sponsor detail pages */
.bh-rich { line-height: 1.7; }
.bh-rich h2, .bh-rich h3 { font-family: var(--bh-font-head); color: var(--bh-navy); }
.bh-rich a { color: var(--bh-ocean); }
.bh-rich ul, .bh-rich ol { padding-left: 1.4em; margin: 0 0 1rem; }

/* ============================================================
   Homepage sections
   ============================================================ */

/* Full-bleed photo hero slider (curated, smooth crossfade) */
.bh-hero-photo { width: 100%; height: 540px; min-height:0; position: relative; overflow: hidden;
    display: flex; align-items: flex-end; background: var(--bh-navy); }
.bh-hero-photo .bh-slide { position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.4s ease-in-out; will-change: opacity; }
.bh-hero-photo .bh-slide.is-active { opacity: 1; }
.bh-hero-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(0deg, rgba(11,42,69,.45), rgba(11,42,69,0) 45%); }
.bh-hero-photo__cap { position: relative; z-index: 2; color: #fff; padding: 0 0 34px; }
.bh-hero-photo__cap h1 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin: 0; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.bh-hero-photo__cap p { margin: 6px 0 0; font-size: 1.05rem; text-shadow: 0 1px 8px rgba(0,0,0,.5); }

/* Cover band over a photo with dark overlay (live "Chartering a Boat of All Sizes!") */
.bh-cover { position: relative; background-size: cover; background-position: center; color: #fff; text-align: center; }
.bh-cover__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0,.45)); }
.bh-cover__inner { position: relative; z-index: 2; padding: 84px 20px; max-width: 900px; margin: 0 auto; }
.bh-cover h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 .4em; }
.bh-cover p { color: rgba(255,255,255,.9); max-width: 640px; margin: 0 auto 1.4em; }
.bh-cover__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Gradient CTA band (live "Become a Sponsor!") */
.bh-cta-band { background: linear-gradient(135deg, #5098c6, var(--bh-navy)); color: #fff; text-align: center; padding: 66px 20px; }
.bh-cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 .3em; }
.bh-cta-band p { color: rgba(255,255,255,.92); max-width: 600px; margin: 0 auto 1.4em; }

.bh-hero {
    position: relative; color: #fff; text-align: center;
    background: linear-gradient(135deg, var(--bh-navy), var(--bh-ocean));
    --bh-hero-img: none;
}
.bh-hero::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background-image: var(--bh-hero-img); background-size: cover; background-position: center;
}
.bh-hero__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, rgba(44,93,138,.86), rgba(85,139,194,.7)); }
.bh-hero__inner { position: relative; z-index: 2; padding: 96px 20px; }
.bh-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 16ch; margin: 0 auto .4em; }
.bh-hero p { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 54ch; margin: 0 auto 1.6em; opacity: .95; }
.bh-hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.bh-capacity { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bh-capacity__card {
    display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
    background: #fff; border: 1px solid var(--bh-line); border-top: 4px solid var(--bh-ocean);
    border-radius: 12px; padding: 26px 24px; text-decoration: none; color: var(--bh-ink); transition: .2s;
}
.bh-capacity__card:hover { transform: translateY(-3px); box-shadow: var(--bh-shadow); text-decoration: none; border-top-color: var(--bh-gold); }
.bh-capacity__icon { font-size: 1.8rem; }
.bh-capacity__card strong { font-family: var(--bh-font-head); font-size: 1.3rem; color: var(--bh-navy); }
.bh-capacity__blurb { color: var(--bh-muted); }
.bh-capacity__link { margin-top: auto; color: var(--bh-ocean); font-weight: 600; font-family: var(--bh-font-head); }

.bh-boat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }

/* Boat card (live style: photo, gold accent, name, meta, View Detail) */
.bh-boat-card2 { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bh-line);
    border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--bh-shadow);
    border-top: 3px solid var(--bh-gold); transition: .18s; }
.bh-boat-card2:hover { transform: translateY(-3px); text-decoration: none; box-shadow: 0 12px 30px rgba(11,42,69,.18); }
.bh-boat-card2__img { aspect-ratio: 4/3; background: var(--bh-sand); overflow: hidden; }
.bh-boat-card2__img img { width: 100%; height: 100%; object-fit: cover; }
.bh-boat-card2__body { padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.bh-boat-card2__name { font-family: var(--bh-font-head); font-size: 1.3rem; color: var(--bh-navy); font-weight: 700; line-height: 1.2; margin-bottom: 2px; }
.bh-boat-card2__meta { font-size: .9rem; color: var(--bh-muted); font-weight: 400; }
.bh-boat-card2__link { margin-top: auto; padding-top: 8px; font-family: var(--bh-font-head); font-weight: 600;
    font-size: .9rem; color: var(--bh-ocean); }
.bh-boat-card2:hover .bh-boat-card2__link { color: var(--bh-gold); }

.bh-report-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }

/* Fishing Reports — centered text list (matches live) */
.bh-report-list { text-align: center; }
.bh-report-list__item { display: block; padding: 22px 0; border-top: 1px solid var(--bh-line); text-decoration: none; }
.bh-report-list__item:first-child { border-top: 0; }
.bh-report-list__item h3 { margin: 0 0 4px; color: var(--bh-navy); }
.bh-report-list__item:hover h3 { color: var(--bh-ocean); }
.bh-report-list__meta { font-size: .85rem; color: var(--bh-muted); }
.bh-report-card { background: #fff; border: 1px solid var(--bh-line); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--bh-shadow); }
.bh-report-card__img { height: 150px; background-size: cover; background-position: center; background-color: var(--bh-sand); }
.bh-report-card__body { padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.bh-report-card__date { font-size: .8rem; color: var(--bh-gold); font-weight: 600; }
.bh-report-card__body strong { font-family: var(--bh-font-head); color: var(--bh-navy); font-size: 1.12rem; }
.bh-report-card__by { font-size: .85rem; color: var(--bh-muted); }

/* ============================================================
   Sponsors — directory + placement strips
   ============================================================ */
/* Full-width gold tier band (live sponsor section headers) */
.bh-tier-band { text-align: center; color: #fff; font-family: var(--bh-font-head); font-weight: 600;
    font-size: clamp(1.3rem, 2.6vw, 1.8rem); letter-spacing: .02em; padding: 16px 20px;
    background: linear-gradient(135deg, #e8b65a, #d6962f); }
.bh-tier-band--platinum { background: linear-gradient(135deg, #8694a3, #5f6f7e); }
.bh-tier-band--gold     { background: linear-gradient(135deg, #e8b65a, #d6962f); }
.bh-tier-band--silver   { background: linear-gradient(135deg, #aab2ba, #868f98); }
.bh-tier-band--bronze   { background: linear-gradient(135deg, #c08a4e, #9a6a34); }

/* Sponsor card (live style: logo, tier label, name, desc, Read More) */
.bh-sponsor-card2 { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
    background: #fff; border: 1px solid var(--bh-line); border-radius: 10px; padding: 22px 18px; box-shadow: var(--bh-shadow); }
.bh-sponsor-card2__logo { height: 90px; display: flex; align-items: center; justify-content: center; width: 100%; }
.bh-sponsor-card2__logo img { max-height: 90px; max-width: 100%; object-fit: contain; }
.bh-sponsor-card2__tier { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; color: var(--bh-gold); }
.bh-sponsor-card2__tier--platinum { color: #6b7886; }
.bh-sponsor-card2__tier--silver { color: #868f98; }
.bh-sponsor-card2__tier--bronze { color: #9a6a34; }
.bh-sponsor-card2__name { font-family: var(--bh-font-head); font-weight: 600; font-size: 1.1rem; color: var(--bh-navy); text-decoration: none; }
.bh-sponsor-card2__name:hover { color: var(--bh-ocean); text-decoration: none; }
.bh-sponsor-card2__desc { font-size: .88rem; color: var(--bh-muted); margin: 0; }
.bh-sponsor-card2__more { font-family: var(--bh-font-head); font-weight: 600; font-size: .85rem; color: var(--bh-ocean); margin-top: auto; }

.bh-tier-head { text-align: center; margin: 36px 0 6px; position: relative; }
.bh-tier-head::after { content: ""; display: block; width: 64px; height: 3px; margin: 10px auto 0; border-radius: 3px; background: var(--bh-gold); }
.bh-tier-head--platinum::after { background: #8a98a6; }
.bh-tier-head--gold::after     { background: var(--bh-gold); }
.bh-tier-head--silver::after   { background: #9aa3ab; }
.bh-tier-head--bronze::after   { background: #a9743b; }

.bh-sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; margin: 24px 0 36px; }
@media (max-width: 760px) { .bh-sponsor-grid { grid-template-columns: 1fr; } }
.bh-sponsor-card { display: flex; flex-direction: column; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--bh-line); border-radius: 12px; padding: 22px 16px; text-decoration: none; color: var(--bh-ink); transition: .18s; }
.bh-sponsor-card:hover { transform: translateY(-2px); box-shadow: var(--bh-shadow); text-decoration: none; }
.bh-sponsor-card__logo { height: 80px; display: flex; align-items: center; justify-content: center; }
.bh-sponsor-card__logo img { max-height: 80px; max-width: 100%; object-fit: contain; }
.bh-sponsor-card__name { font-family: var(--bh-font-head); font-weight: 500; text-align: center; color: var(--bh-navy); }

.bh-tier-pill { display: inline-block; font-family: var(--bh-font-head); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; padding: 4px 14px; border-radius: 20px; color: #fff; background: var(--bh-gold); }
.bh-tier-pill--platinum { background: #6b7886; }
.bh-tier-pill--gold     { background: var(--bh-gold); color: var(--bh-navy); }
.bh-tier-pill--silver   { background: #9aa3ab; }
.bh-tier-pill--bronze   { background: #a9743b; }

/* Sponsor logo carousel — a FULL-BLEED white band (edge to edge of the
   viewport, no rounded "orb"); uniform 900x600 logos at one fixed height. */
.bh-spon-carousel { width: 100%; margin-bottom: 34px; }   /* navy gap below the strip, before footer columns */
.bh-spon-carousel__viewport { position: relative; overflow: hidden; width: 100%; background: #fff; }
.bh-spon-carousel__viewport::before, .bh-spon-carousel__viewport::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.bh-spon-carousel__viewport::before { left: 0;  background: linear-gradient(90deg,  #fff, rgba(255,255,255,0)); }
.bh-spon-carousel__viewport::after  { right: 0; background: linear-gradient(270deg, #fff, rgba(255,255,255,0)); }
.bh-spon-carousel__track { display: flex; width: max-content; align-items: center; padding: 0;
    animation: bh-spon-scroll calc(var(--bh-spon-count, 8) * 4.5s) linear infinite; }
.bh-spon-carousel__viewport:hover .bh-spon-carousel__track { animation-play-state: paused; }
.bh-spon-carousel__item { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; padding: 0 18px; height: 150px; }
.bh-spon-carousel__item img { height: 150px; width: auto; max-width: none; object-fit: contain; display: block; }
@keyframes bh-spon-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .bh-spon-carousel__track { animation: none; flex-wrap: wrap; justify-content: center; } }

.bh-sponsor-strip { text-align: center; }
.bh-sponsor-strip__head { color: inherit; margin-bottom: 16px; }
.bh-sponsor-strip__logos { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: center; }
.bh-sponsor-strip__item { display: inline-flex; align-items: center; }
.bh-sponsor-strip__item img { max-height: 56px; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: .18s; }
.bh-sponsor-strip__item:hover img { filter: none; opacity: 1; }
.bh-sponsor-strip__item--platinum img { max-height: 72px; max-width: 190px; }
.bh-sponsor-strip--footer .bh-sponsor-strip__item img { filter: brightness(0) invert(1); opacity: .75; }
.bh-sponsor-strip--footer .bh-sponsor-strip__item:hover img { filter: brightness(0) invert(1); opacity: 1; }

/* ============================================================
   Weeks accordion (Junior Mate Program — Callouts)
   ============================================================ */
.bh-weeks { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.bh-week { background: #fff; border: 1px solid var(--bh-line); border-left: 4px solid var(--bh-ocean); border-radius: 10px; overflow: hidden; box-shadow: var(--bh-shadow); }
.bh-week__head { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 16px 20px; font-family: var(--bh-font-head); font-weight: 600; font-size: 1.12rem; color: var(--bh-navy); }
.bh-week__head::-webkit-details-marker { display: none; }
.bh-week__head:hover { color: var(--bh-ocean-dark); }
.bh-week__chev { transition: transform .2s ease; color: var(--bh-gold); font-size: 1rem; }
.bh-week[open] .bh-week__chev { transform: rotate(180deg); }
.bh-week[open] .bh-week__head { border-bottom: 1px solid var(--bh-line); }
.bh-week__body { padding: 16px 20px 20px; }
.bh-week__body .bh-rich { line-height: 1.7; color: var(--bh-ink); }

/* ============================================================
   Memorial card (Junior Mate) + Fishing Resources cards
   ============================================================ */
.bh-memorial { display: flex; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--bh-line);
    border-left: 4px solid var(--bh-gold); border-radius: 12px; padding: 22px; margin: 0 0 28px; box-shadow: var(--bh-shadow); }
.bh-memorial__img { width: 260px; height: auto; border-radius: 8px; flex: 0 0 auto; }
.bh-memorial__body h3 { margin: 0 0 8px; }
.bh-memorial__body p { color: var(--bh-muted); }
@media (max-width: 680px) { .bh-memorial { flex-direction: column; text-align: center; } .bh-memorial__img { width: 100%; } }

.bh-resource-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin: 24px 0 40px; }
.bh-resource-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--bh-line);
    border-top: 3px solid var(--bh-ocean); border-radius: 12px; padding: 20px; box-shadow: var(--bh-shadow); text-align: center; }
.bh-resource-card__logo { height: 90px; display: flex; align-items: center; justify-content: center; }
.bh-resource-card__logo img { max-height: 90px; max-width: 100%; object-fit: contain; }
.bh-resource-card__name { font-family: var(--bh-font-head); font-weight: 700; color: var(--bh-navy); font-size: 1.1rem; }
.bh-resource-card__excerpt { font-size: .9rem; color: var(--bh-muted); }
.bh-resource-card__more { margin-top: auto; font-family: var(--bh-font-head); font-weight: 600; font-size: .88rem; color: var(--bh-ocean); }

/* ============================================================
   Captain Help Guide
   ============================================================ */
.bh-help { display: grid; grid-template-columns: 230px 1fr; gap: 36px; align-items: start; }
.bh-help__toc { position: sticky; top: 20px; font-size: .92rem; display: flex; flex-direction: column; gap: 2px; }
.bh-help__toc a { display: block; padding: 8px 12px; color: var(--bh-muted); text-decoration: none; border-radius: 6px; border-left: 2px solid transparent; }
.bh-help__toc a:hover { background: var(--bh-sand); color: var(--bh-ocean-dark); border-left-color: var(--bh-gold); }
.bh-help__doc { max-width: none; }
.bh-help__doc h2 { scroll-margin-top: 20px; border-top: 1px solid var(--bh-line); padding-top: 22px; margin-top: 30px; }
.bh-help__doc h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.bh-help__doc ol { padding-left: 1.3em; margin: 0 0 1.1rem; }
.bh-help__doc ol li { margin-bottom: .5rem; }
.bh-help__tip { background: #eef5fb; border: 1px solid #cfe0ee; border-left: 4px solid var(--bh-gold); border-radius: 8px; padding: 14px 18px; margin: 14px 0; }
@media (max-width: 820px) { .bh-help { grid-template-columns: 1fr; } .bh-help__toc { position: static; flex-direction: row; flex-wrap: wrap; } }

/* ============================================================
   Dashboard / front-end forms
   ============================================================ */
.bh-form { max-width: 760px; }
.bh-field { margin-bottom: 18px; }
.bh-field label { display: block; font-family: var(--bh-font-head); font-weight: 500; color: var(--bh-navy); margin-bottom: 6px; }
.bh-field input[type=text], .bh-field input[type=email], .bh-field input[type=url],
.bh-field input[type=tel], .bh-field input[type=file], .bh-field select, .bh-field textarea {
    width: 100%; padding: 11px 13px; border: 1px solid var(--bh-line); border-radius: 8px;
    font: inherit; color: var(--bh-ink); background: #fff;
}
.bh-field textarea { min-height: 160px; resize: vertical; }
.bh-field small { color: var(--bh-muted); }
.bh-field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bh-errors { background: #fbe9e7; border: 1px solid #c62828; color: #c62828; padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; }
.bh-errors ul { margin: 0; padding-left: 18px; }
.bh-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 10px; }
.bh-thumbs img { width: 100%; height: 80px; object-fit: cover; border-radius: 6px; }

@media (max-width: 960px) {
    .bh-field--row { grid-template-columns: 1fr; }
    .bh-capacity { grid-template-columns: 1fr; }
    .bh-hero__inner { padding: 64px 20px; }
    .bh-navbar { display: none; }
    .bh-burger { display: block; }
    .bh-header__brand-inner { min-height: 80px; gap: 16px; }
    .bh-logo img { height: 60px; }
    .bh-header__name { font-size: 1.05rem; }
    .bh-header__tag { display: none; }
    .bh-hero-photo { height: 360px; }
    /* Larger tap target: View Detail becomes a clear button on mobile */
    .bh-boat-card2__link { margin-top: 12px; padding: 11px 14px; text-align: center;
        background: var(--bh-ocean); color: #fff !important; border-radius: 6px; }
    .bh-boat-card2:hover .bh-boat-card2__link { color: #fff; }
    .bh-footer__grid { grid-template-columns: 1fr; gap: 24px; }
    .bh-footer__bar { flex-direction: column; align-items: flex-start; }
}

