:root{--navy:#103b79;--blue:#2b63bb;--yellow:#ffda54;--cream:#fffaf0;--line:#e3e7ee;--ink:#26364b}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.55 system-ui,-apple-system,Segoe UI,Arial,sans-serif}a{color:var(--blue)}.wrap{max-width:1160px;padding:0 22px;margin:auto}.masthead{background:radial-gradient(circle at 76% 90%,#fff6bb 0,transparent 60%),repeating-conic-gradient(from 270deg at 70% 110%,#ffe98b 0deg 10deg,#ffdc52 10deg 20deg);padding:24px 0 22px;border-bottom:4px solid #f5b72c;color:var(--navy)}.masthead h1{font-size:clamp(26px,4.2vw,46px);line-height:1.1;letter-spacing:.02em;margin:8px 0}.eyebrow{font-size:12px;font-weight:850;letter-spacing:.13em;margin:0}.subhead{margin:0;font-weight:650}.nav{background:var(--navy);color:#fff}.nav-inner{display:flex;gap:28px;align-items:center;min-height:49px}.nav a{color:#fff;text-decoration:none}.nav a:hover{text-decoration:underline}.intro{display:flex;justify-content:space-between;align-items:end;gap:20px;padding:31px 0 20px}.intro h2,.events-section h2{font-size:clamp(24px,3vw,34px);color:var(--navy);margin:6px 0}.intro p{margin:5px 0}.blue{color:var(--blue)}.today-link{display:inline-block;border:1px solid #b7c9e6;background:#fff;padding:10px 14px;border-radius:11px;text-decoration:none;font-weight:750;white-space:nowrap}.calendar-panel{background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:0 6px 23px rgba(16,59,121,.06);overflow:hidden}.calendar-toolbar{padding:18px 19px;display:flex;justify-content:space-between;gap:18px;align-items:end;flex-wrap:wrap}.month-switch{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.month-switch h3{font-size:22px;min-width:170px;text-align:center;color:var(--navy);margin:0}.month-switch a{font-size:14px;font-weight:750;text-decoration:none}.club-filter{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.club-filter label{font-size:13px;font-weight:750;align-self:center}.club-filter select,.club-filter button{font:inherit;border-radius:9px;padding:8px 11px;border:1px solid #bccbe0}.club-filter select{max-width:230px;background:#fff}.club-filter button{border-color:var(--blue);color:white;background:var(--blue);cursor:pointer;font-weight:700}.club-filter button:hover{background:#164b9c}.calendar-scroll{overflow-x:auto}.weekheads,.days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-width:700px}.weekheads{background:#f1f5fc;color:var(--navy);text-align:center;font-size:13px;font-weight:800}.weekheads>div{padding:10px}.day{min-height:106px;border-top:1px solid var(--line);border-right:1px solid var(--line);padding:7px 8px;background:#fff}.day.muted{background:#f8f9fb;color:#a0aaba}.day.is-today{background:#fff8dc;box-shadow:inset 0 0 0 2px #edbc4c}.day-number{text-align:right;font-weight:800;font-size:13px}.day-number span{font-size:9px;color:#916a0d}.event-pill{display:block;font-size:11px;padding:4px 6px;margin-top:5px;background:#e9f0ff;border-left:3px solid #3169be;color:#173c73;text-decoration:none;border-radius:5px;line-height:1.2;overflow-wrap:anywhere}.event-pill:hover,.event-pill:focus{background:#cbdfff;outline:2px solid #3169be}.day small{font-size:10px}.mobile-hint{display:none;font-size:12px;padding:0 18px;color:#536683;margin:0 0 8px}.events-section{margin:34px 0 64px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.section-head p{margin:3px 0}.count{background:#fff1b1;padding:7px 12px;border-radius:30px;color:#634b15;font-weight:750;font-size:13px}.event-card{display:flex;gap:19px;padding:24px 20px;margin:13px 0;background:#fff;border-radius:14px;border:1px solid var(--line);scroll-margin-top:20px}.event-card:target{outline:3px solid #f1bd35}.date-tile{background:#fff0b1;border-radius:12px;width:78px;min-width:78px;height:max-content;padding:10px;text-align:center;color:var(--navy)}.date-tile span,.date-tile small{display:block;font-weight:700}.date-tile strong{display:block;font-size:35px;line-height:1.2}.event-main{min-width:0}.event-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.event-main h3{font-size:21px;color:var(--navy);margin:0}.hosting{color:#b14c2f;font-weight:800;margin:4px 0}.time{font-weight:700}.event-main p{margin:6px 0}.details{display:flex;flex-wrap:wrap;gap:8px 16px;margin:10px 0}.description{white-space:normal}.featured{background:#fff0ba;font-size:12px;padding:3px 9px;border-radius:50px;font-weight:750}.links{display:flex;flex-wrap:wrap;gap:14px;margin-top:10px}.links a{font-weight:750}.empty{background:#fff;border:1px dashed #d7dfe9;border-radius:14px;padding:25px}.empty h3{color:var(--navy);margin:0}footer{background:var(--navy);color:white;padding:24px 0}footer .wrap{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;font-size:13px;font-weight:700}@media(max-width:730px){.intro{align-items:start;flex-direction:column}.calendar-toolbar{align-items:start;flex-direction:column}.mobile-hint{display:block}.event-card{padding:16px 12px;gap:12px}.date-tile{width:62px;min-width:62px}.date-tile strong{font-size:27px}.month-switch h3{min-width:135px;font-size:19px}}

/* v9: hosting club is the first, bold line in calendar event pills. */
.event-pill .pill-club{display:block;font-weight:850;line-height:1.25;margin-bottom:2px;}
.event-pill .pill-title{display:block;font-weight:450;line-height:1.25;}
.event-main .hosting{margin:0 0 3px;color:#a34224;font-weight:850;font-size:17px;}

/* v10: exact-date lookup for long event lists */
.date-search-panel{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;background:#fff8df;border:1px solid #eacb72;border-radius:15px;padding:17px 20px;margin-bottom:24px}
.date-search-panel h3{color:var(--navy);margin:4px 0;font-size:21px}.date-search-panel p{margin:0;color:#49576c;font-size:14px}
.date-search-form{display:flex;align-items:end;gap:9px;flex-wrap:wrap}.date-search-form label{font-size:13px;font-weight:800;color:var(--navy);align-self:center}
.date-search-form input{font:inherit;border:1px solid #a7b9d5;padding:9px 11px;border-radius:9px;background:white;color:var(--ink);min-height:43px}
.date-search-form button{border:0;border-radius:9px;background:var(--blue);color:white;font:inherit;font-weight:750;cursor:pointer;padding:10px 15px;min-height:43px}
.date-search-form button:hover,.date-search-form button:focus{background:#164b9c}.clear-date{font-weight:700;white-space:nowrap;padding:8px 0}
.day.is-selected{background:#fff0b0;box-shadow:inset 0 0 0 3px #e7a827}
#dance-details{scroll-margin-top:15px}
@media(max-width:730px){.date-search-panel{align-items:stretch}.date-search-form{width:100%}.date-search-form input{flex:1;min-width:150px}}

/* v19: one-event detail view selected from a calendar pill */
.single-event-nav{margin:0 0 15px}.single-event-nav a{display:inline-block;background:#fff;border:1px solid #d6dfef;border-radius:9px;padding:8px 12px;text-decoration:none;font-weight:750}.single-event-nav a:hover{background:#edf3ff}
