:root{--navy:#082a78;--royal:#0e44b5;--red:#df2639;--gold:#ffca31;--cream:#fffaf0;--ink:#14295a;--coral:#f15b4b}
    *{box-sizing:border-box}html{font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}body{margin:0;color:var(--ink);background:var(--cream)}
    .masthead{position:relative;overflow:hidden;background:linear-gradient(165deg,#fff9d1 2%,#ffe169 45%,#ffd13c 100%);border-bottom:5px solid var(--navy)}
    .masthead:before{content:"";position:absolute;inset:-120% -15% -10%;opacity:.33;background:repeating-conic-gradient(from -17deg at 53% 98%,transparent 0deg 10deg,#fff 10deg 16deg,transparent 16deg 28deg);pointer-events:none}
    .masthead .wrap{position:relative;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:25px 0 27px}
    .brand{font-size:clamp(1.45rem,3.5vw,2.85rem);line-height:1.05;font-weight:900;letter-spacing:.015em;color:var(--navy);text-transform:uppercase;text-shadow:0 2px #ffffff8a}
    .brand:after{content:"";display:block;background:var(--red);height:5px;width:63%;border-radius:100%;transform:rotate(-2deg);margin:13px auto 0}
    .tagline{text-align:center;flex-shrink:0;font-family:Georgia,serif;font-weight:bold;font-style:italic;color:var(--navy);font-size:clamp(1rem,2.4vw,1.7rem);line-height:1.2;transform:rotate(-3deg)}
    .tagline:after{content:"";display:block;width:80%;height:4px;background:var(--red);border-radius:90%;margin:9px auto 0;transform:rotate(2deg)}
    .wrap{width:min(1160px,calc(100% - 48px));margin:auto}
    main{padding:48px 0 55px}
    .hero{background:white;border:1px solid #f2dfb4;border-radius:25px;overflow:hidden;display:grid;grid-template-columns:43% 57%;box-shadow:0 16px 42px #102d6820}
    .hero-copy{padding:clamp(28px,4.5vw,62px) clamp(24px,4vw,56px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;position:relative;z-index:1}
    .eyebrow{text-transform:uppercase;letter-spacing:.2em;color:#a64c27;font-size:.75rem;font-weight:800;margin:0 0 14px}
    h1{font-family:Georgia,serif;font-size:clamp(2rem,3.5vw,3.15rem);line-height:1.11;letter-spacing:-.025em;color:var(--navy);margin:0 0 17px}
    .vasd{display:inline-flex;font-family:Georgia,serif;font-size:clamp(3.1rem,6vw,5.25rem);font-weight:900;line-height:1;letter-spacing:-.05em;margin:2px 0 18px}
    .vasd span:nth-child(1){color:#1044b1}.vasd span:nth-child(2){color:#e32940}.vasd span:nth-child(3){color:#efa918}.vasd span:nth-child(4){color:#7a248f}
    .bodycopy{font-size:1.1rem;line-height:1.65;margin:0 0 28px;max-width:43ch}
    .status{display:inline-flex;align-items:center;gap:9px;background:#fff2bf;border:1px solid #f7d25a;border-radius:50px;color:var(--navy);padding:12px 19px;font-weight:800;font-size:.95rem}
    .status:before{content:"";background:#e85c35;width:10px;height:10px;border-radius:50%;box-shadow:0 0 0 4px #e85c3520}
    .hero-photo{position:relative;min-height:440px;background:#f8daa5}
    .hero-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center;position:absolute;inset:0}
    .hero-photo:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fff 0%,transparent 12%);z-index:1;pointer-events:none}
    .wave{height:12px;margin:30px 0 22px;background:linear-gradient(100deg,#ffe890,#ffc735,#ffe890);border-radius:100% 50% 70% 40%}
    .section-title{text-align:center;font-family:Georgia,serif;font-weight:bold;color:var(--navy);font-size:clamp(1.45rem,2.8vw,2.1rem);margin:0 0 8px}
    .section-sub{text-align:center;margin:0 auto 25px;line-height:1.5;color:#415476}
    .clubs{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;list-style:none;margin:0;padding:0}
    .clubs li{min-height:87px;background:#fff;border:1px solid #eddbad;border-left:5px solid var(--gold);border-radius:14px;display:flex;gap:13px;align-items:center;padding:16px 20px;box-shadow:0 5px 14px #152d5810;font-weight:750;color:var(--navy)}
    .clubs li:nth-child(2){border-left-color:#e7454a}.clubs li:nth-child(3){border-left-color:#3b86da}.clubs li:nth-child(4){border-left-color:#6faa3e}.clubs li:nth-child(5){border-left-color:#e4a02a}.clubs li:nth-child(6){border-left-color:#8c58bd}
    .club-logo{width:68px;height:68px;flex:0 0 68px;object-fit:contain;display:block}
    .club-name{flex:1;line-height:1.3}
    @media(max-width:470px){.club-logo{width:56px;height:56px;flex-basis:56px}}
    .foot{text-align:center;padding:25px 20px 36px;background:var(--navy);color:#fff;font-size:.9rem;line-height:1.6}
    .foot small{opacity:.85}.foot strong{font-size:1rem}
    @media(max-width:750px){.masthead .wrap{flex-direction:column;gap:8px;text-align:center}.tagline{font-size:1.1rem}.hero{grid-template-columns:1fr}.hero-photo{min-height:310px;order:-1}.hero-photo:before{background:linear-gradient(0deg,#fff 0%,transparent 18%)}.hero-copy{align-items:center;text-align:center;padding:30px 24px 40px}.bodycopy{font-size:1rem}.clubs{grid-template-columns:repeat(2,1fr)} main{padding-top:25px}.wrap{width:min(1160px,calc(100% - 28px))}}
    @media(max-width:470px){.clubs{grid-template-columns:1fr}.hero-photo{min-height:245px}.masthead .wrap{padding:24px 0}.clubs li{min-height:68px}}
    @media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* V38: integrated public navigation and database-powered sections */
body{background:#fffaf0}a:focus-visible{outline:3px solid #ed9b13;outline-offset:3px}
.preview-banner{background:#fff1bf;padding:8px 16px;text-align:center;font-size:.78rem;color:#66501b}.preview-banner a{color:#1245a0}
.primary-nav{background:var(--navy);box-shadow:0 4px 12px #14385e27}.nav-inner{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:clamp(10px,3.5vw,56px)}
.primary-nav a,.primary-nav a:visited{display:inline-block;color:white;text-decoration:none;font-weight:800;padding:15px 7px 13px;border-bottom:3px solid transparent}.primary-nav a:hover,.primary-nav a:focus-visible,.primary-nav a[aria-current="page"]{color:#fff;border-bottom-color:#ffd94d}
main{padding:0}.top-wrap{padding:35px 0 12px}
.hero .eyebrow{margin-bottom:12px}.hero h1{margin:0}.hero .vasd{margin:10px 0 20px}.hero .bodycopy{margin-bottom:24px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.button{display:inline-block;border-radius:28px;padding:12px 19px;text-decoration:none;font-weight:850;box-shadow:0 3px 8px #14306018}.button.primary,.button.primary:visited{color:white;background:#1144a7}.button.secondary,.button.secondary:visited{color:#082a78;background:#ffcc3a}
.wave{margin:31px auto 0}.section-wrap{width:min(1160px,calc(100% - 48px));margin:auto}
.flyers-section{padding:43px 0 67px;background:#fffaf0}.clubs-section{padding:53px 0 66px;background:#fff4d2}
.section-title{display:flex;align-items:end;justify-content:space-between;text-align:left;gap:16px;flex-wrap:wrap;margin:0 0 24px}.section-title h2{font-size:clamp(1.7rem,3vw,2.25rem);font-family:Georgia,serif;color:var(--navy);margin:5px 0}.section-title p{margin:0;color:#526481}.section-title .eyebrow{font-size:.76rem}.calendar-link,.calendar-link:visited{color:#0e44a5;font-weight:750;text-decoration:underline;text-underline-offset:3px}
.flyer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.flyer-card{border:1px solid #ead7a9;border-radius:18px;box-shadow:0 9px 26px #1c32641c;background:white;overflow:hidden;min-width:0}.flyer-art{display:flex;align-items:center;justify-content:center;background:#f5f0e6;height:380px;padding:13px;overflow:hidden}.flyer-art img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .16s}.flyer-art:hover img{transform:scale(1.02)}.pdf-preview{height:100%;width:100%;background:linear-gradient(140deg,#fff3d3,#e8efff);border:1px solid #ebdba9;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:16px;padding:20px;color:#123f7d}.pdf-preview strong{overflow-wrap:anywhere}.pdf-icon{padding:14px 12px;border-radius:9px;background:#d85240;color:white;font-weight:900}.pdf-preview span:last-child{font-size:.85rem;text-decoration:underline}.flyer-info{padding:17px 19px 20px}.flyer-info .date{display:block;color:#a86b0e;font-size:.84rem;font-weight:850}.flyer-info .club{display:block;color:#0e44a5;margin-top:4px}.flyer-info h3{font-size:1.12rem;margin:5px 0 12px;color:var(--navy)}.flyer-info a{color:#1046a2;font-weight:800}.empty{background:white;border:1px dashed #cdaa68;border-radius:14px;padding:27px;color:#526481}
.club-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.club-tile{display:flex;gap:14px;align-items:center;min-width:0;padding:17px 19px;border-radius:15px;border:1px solid #eddbad;border-left:5px solid #ffca31;box-shadow:0 5px 14px #152d5810;background:white;text-decoration:none;color:var(--navy)}.club-tile:nth-child(2){border-left-color:#e7454a}.club-tile:nth-child(3){border-left-color:#3b86da}.club-tile:nth-child(4){border-left-color:#6faa3e}.club-tile:nth-child(5){border-left-color:#e4a02a}.club-tile:nth-child(6){border-left-color:#8c58bd}.club-tile:hover,.club-tile:focus-visible{border-color:#dcac31;background:#fffefa;transform:translateY(-1px)}.club-tile strong{font-size:1.05rem;line-height:1.27}.club-tile small{display:block;color:#5075a4;font-size:.78rem;font-weight:650;margin-top:5px}.club-mark{height:68px;width:68px;flex:0 0 68px;display:grid;place-items:center}.club-mark img{height:100%;width:100%;object-fit:contain}.club-placeholder{font-size:35px;color:#dda72a}
.club-teaser{background:#ffe58c;padding:42px 0}.teaser-content{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.teaser-content h2{font-size:clamp(1.6rem,3vw,2.1rem);font-family:Georgia,serif;color:var(--navy);margin:5px 0}.teaser-content p{margin:0;color:#3a527b}
.foot{margin:0}.foot p{margin:4px 0}.foot small{opacity:.8}
@media(max-width:850px){.club-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.flyer-grid{gap:14px}.flyer-art{height:300px}}
@media(max-width:650px){.nav-inner{gap:8px}.primary-nav a{font-size:.82rem;padding:11px 5px}.flyer-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 0 15px}.flyer-card{flex:0 0 min(80vw,340px);scroll-snap-align:center}.flyer-art{height:345px}.section-wrap{width:min(1160px,calc(100% - 28px))}}
@media(max-width:530px){.club-tiles{grid-template-columns:1fr}.club-mark{height:60px;width:60px;flex-basis:60px}}

/* V39: show real flyer art for PDF flyers too */
.pdf-embed{display:block;width:100%;height:100%;border:0;background:white;}
.pdf-embed + *{display:none}
.flyer-art{background:#f7f3ea;}
.flyer-art img,.pdf-embed{border-radius:8px;background:white;}

/* V40 — balanced three-flyer presentation */
.flyer-grid{align-items:stretch;gap:24px}
.flyer-card{display:flex;flex-direction:column;height:100%;transition:box-shadow .2s ease,transform .2s ease}
.flyer-card:hover{box-shadow:0 15px 34px #17376526;transform:translateY(-2px)}
.flyer-art{height:425px;min-height:425px;padding:12px;display:flex;align-items:center;justify-content:center}
.flyer-art>a{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:0}
.flyer-art img{width:100%;height:100%;max-width:100%;object-fit:contain}
.flyer-art .pdf-embed{width:100%;height:100%;min-height:0;display:block}
.flyer-info{flex:1;display:flex;flex-direction:column;align-items:flex-start;padding:18px 20px 20px}
.flyer-club-badge{display:inline-flex;background:#fff0bb;color:#123b78;border:1px solid #f1d57c;padding:5px 10px;border-radius:50px;font-size:.78rem;line-height:1.2;font-weight:850;margin-bottom:12px}
.flyer-info .date{font-size:.86rem;font-weight:850;color:#9f6314;margin:0 0 6px}
.flyer-info h3{font-size:1.13rem;line-height:1.35;margin:0 0 20px}
.flyer-actions{margin-top:auto;display:flex;flex-wrap:wrap;align-items:center;gap:12px 15px;width:100%}
.flyer-actions .flyer-view-btn,.flyer-actions .flyer-view-btn:visited{display:inline-flex;gap:8px;align-items:center;text-decoration:none;background:#123b78;color:#fff!important;border-radius:9px;padding:11px 16px;font-size:.9rem;line-height:1.2;font-weight:800;box-shadow:0 3px 9px #1b346a1c}
.flyer-actions .flyer-view-btn:hover,.flyer-actions .flyer-view-btn:focus-visible{background:#2153a1;color:#fff!important}
.flyer-actions .flyer-details-link,.flyer-actions .flyer-details-link:visited{font-size:.87rem;color:#154aa1;text-underline-offset:3px}
@media(max-width:850px){.flyer-art{height:345px;min-height:345px}}
@media(max-width:650px){.flyer-card{flex:0 0 min(84vw,350px)}.flyer-art{height:395px;min-height:395px}}
@media(prefers-reduced-motion:reduce){.flyer-card{transition:none}.flyer-card:hover{transform:none}}
/* VASD - Smaller homepage section links */
body .flyers-section .section-title a.calendar-link,
body .clubs-section .section-title a.calendar-link {
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.4;
}
