/* ── Events archive styles ─────────────────────────────────────────────── */
.hb-events-hero { background:#fff; padding:70px 0 52px; text-align:center; }
.hb-events-hero .eyebrow {
    font-size:10.5px; font-weight:700; letter-spacing:.22em;
    text-transform:uppercase; color:#6b7280; margin-bottom:16px;
}
.hb-events-hero h1 {
    font-size:clamp(32px,5vw,52px); font-weight:800;
    letter-spacing:-.02em; color:#2c3240; margin-bottom:18px; line-height:1.1;
}
.hb-events-hero h1 span { color:#ff6c2d; }
.hb-events-hero p { font-size:15px; color:#6b7280; max-width:500px; margin:0 auto; line-height:1.75; }

.hb-sep { display:flex; flex-direction:column; align-items:center; padding:6px 0 44px; }
.hb-sep-line { width:1px; height:56px; background:#d1d5db; }
.hb-sep-chevrons { display:flex; flex-direction:column; gap:5px; align-items:center; margin-top:7px; }
.hb-sep-chevrons span {
    display:block; width:13px; height:13px;
    border-right:2.5px solid #ff6c2d; border-bottom:2.5px solid #ff6c2d;
    transform:rotate(45deg);
}
.hb-sep-chevrons span:nth-child(2) { opacity:.4; }

.hb-events-section { padding:16px 0 76px; }
.hb-events-section.past { background:#f7f7f5; padding:60px 0 76px; border-top:1px solid #e5e7eb; }
.hb-section-header { text-align:center; margin-bottom:48px; }
.hb-section-header h2 {
    font-size:clamp(22px,3vw,30px); font-weight:800;
    letter-spacing:-.01em; color:#2c3240; margin-bottom:8px;
}
.hb-section-header h2 span { color:#ff6c2d; }
.hb-section-header p { font-size:13.5px; color:#6b7280; }

/* ── Card ──────────────────────────────────────────────────────────────── */
.hb-events-list { display:flex; flex-direction:column; gap:20px; }

.hb-event-card {
    display:grid;
    grid-template-columns:120px 1fr 340px;
    background:#fff;
    border:1px solid #e5e7eb;
    box-shadow:0 2px 8px rgba(0,0,0,.06);
    overflow:hidden;
    min-height:270px;
    position:relative;
    transition:box-shadow .3s, border-color .3s;
}
.hb-event-card::before {
    content:''; position:absolute; left:0; top:0; bottom:0; width:4px;
    background:#ff6c2d; transform:scaleY(0); transform-origin:bottom;
    transition:transform .35s; z-index:1;
}
.hb-event-card:hover { box-shadow:0 6px 28px rgba(0,0,0,.1); border-color:rgba(255,108,45,.2); }
.hb-event-card:hover::before { transform:scaleY(1); }

/* Date column */
.hb-card-date {
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    padding:28px 16px; border-right:1px solid #e5e7eb; background:#f7f7f5;
    text-align:center; flex-shrink:0; gap:2px;
}
.hb-date-day { font-size:62px; font-weight:800; color:#ff6c2d; line-height:1; }
.hb-date-month { font-size:10px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:#6b7280; margin-top:4px; }

/* Content column */
.hb-card-content {
    padding:34px 38px; display:flex; flex-direction:column; gap:13px; min-width:0;
}
.hb-card-tag {
    display:inline-block; font-size:9.5px; font-weight:700; letter-spacing:.18em;
    text-transform:uppercase; color:#ff6c2d;
    background:rgba(255,108,45,.07); padding:4px 11px; align-self:flex-start;
}
.hb-card-content h3 {
    font-size:19px; font-weight:800; letter-spacing:-.02em; color:#2c3240; line-height:1.25;
}
.hb-card-desc { font-size:13px; color:#6b7280; line-height:1.72; }
.hb-card-meta { display:flex; gap:20px; flex-wrap:wrap; align-items:center; margin-top:2px; }
.hb-meta-item {
    display:flex; align-items:center; gap:5px;
    font-size:11.5px; font-weight:500; color:#6b7280;
}
.hb-meta-item svg { width:13px; height:13px; flex-shrink:0; color:#ff6c2d; }
.hb-card-actions {
    display:flex; align-items:center; gap:16px; margin-top:auto;
    padding-top:16px; border-top:1px solid #e5e7eb; flex-wrap:wrap;
}
.hb-btn-details {
    display:inline-flex; align-items:center; gap:8px;
    background:#ff6c2d; color:#fff !important;
    font-size:10.5px; font-weight:700; letter-spacing:.12em;
    text-transform:uppercase; padding:12px 24px;
    text-decoration:none; transition:opacity .2s; white-space:nowrap;
}
.hb-btn-details:hover { opacity:.88; }
.hb-btn-details svg { width:13px; height:13px; }
.hb-spots-note { font-size:11px; font-weight:600; color:#9ca3af; }

/* Image column */
.hb-card-image { position:relative; overflow:hidden; flex-shrink:0; }
.hb-card-image img { width:100%; height:100%; object-fit:cover; display:block; }
.hb-card-image::after {
    content:''; position:absolute; inset:10px;
    border:1.5px solid rgba(255,255,255,.55);
    pointer-events:none; z-index:2;
}
.hb-card-no-image {
    width:100%; height:100%; display:flex; align-items:center;
    justify-content:center; background:#e9ecef;
}
.hb-card-no-image svg { width:40px; height:40px; opacity:.3; }

/* Past variants */
.hb-event-card.past .hb-card-date { background:#f0f0f0; }
.hb-event-card.past .hb-date-day { color:#9ca3af; }
.hb-event-card.past .hb-card-tag { background:transparent; color:#9ca3af; border:1px solid #e5e7eb; }
.hb-event-card.past .hb-card-content h3 { color:#6b7280; }
.hb-event-card.past::before { background:#e5e7eb; }
.hb-event-card.past .hb-card-image img { filter:grayscale(60%) brightness(.9); }
.hb-past-badge {
    display:inline-flex; align-items:center; gap:6px;
    font-size:10.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
    color:#9ca3af; border:1px solid #e5e7eb; padding:9px 18px;
}
.hb-past-badge::before { content:''; width:6px; height:6px; border-radius:50%; background:#9ca3af; }

.hb-no-events { text-align:center; padding:48px; color:#9ca3af; font-size:14px; }

@media (max-width:900px) {
    .hb-event-card { grid-template-columns:100px 1fr 260px; }
    .hb-date-day { font-size:48px; }
}
@media (max-width:680px) {
    .hb-event-card { grid-template-columns:90px 1fr; }
    .hb-card-image { display:none; }
    .hb-date-day { font-size:42px; }
    .hb-card-content { padding:24px 20px; }
}

/* ── Event highlights: write-ups and photos from past events ─────────── */
.hb-highlights { border-top: 0; padding-top: 24px; }
.hb-hl-list { display: flex; flex-direction: column; gap: 28px; }
.hb-hl {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    background: #fff; border: 1px solid #e5e7eb; box-shadow: 0 2px 8px rgba(0,0,0,.06);
    position: relative; overflow: hidden; transition: box-shadow .3s, border-color .3s;
}
.hb-hl::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; z-index: 1;
    background: #ff6c2d; transform: scaleY(0); transform-origin: bottom; transition: transform .35s;
}
.hb-hl:hover { box-shadow: 0 6px 28px rgba(0,0,0,.1); border-color: rgba(255,108,45,.2); }
.hb-hl:hover::before { transform: scaleY(1); }
.hb-hl.flip .hb-hl-text { order: 2; }
.hb-hl.no-photos { grid-template-columns: 1fr; }
.hb-hl-text { padding: 40px 44px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hb-hl-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hb-hl-when { font-size: 11.5px; font-weight: 500; color: #6b7280; }
.hb-hl h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; color: #2c3240; margin: 0; }
.hb-hl h3 a { color: inherit; text-decoration: none; }
.hb-hl h3 a:hover { color: #ff6c2d; opacity: 1; }
.hb-hl-recap { font-size: 14px; color: #4b5563; line-height: 1.8; position: relative; max-height: 12.6em; overflow: hidden; }
.hb-hl-recap p { margin: 0 0 1em; }
.hb-hl-recap p:last-child { margin-bottom: 0; }
.hb-hl-recap.is-clamped::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2.4em; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }
.hb-hl.no-photos .hb-hl-recap { max-height: none; }
.hb-hl.no-photos .hb-hl-recap::after { display: none; }
.hb-hl-link {
    display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px;
    border-top: 1px solid #e5e7eb; align-self: stretch;
    font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ff6c2d !important; text-decoration: none;
}
.hb-hl-link svg { width: 13px; height: 13px; transition: transform .2s; }
.hb-hl-link:hover { opacity: 1; }
.hb-hl-link:hover svg { transform: translateX(4px); }
.hb-hl-photos { min-height: 340px; position: relative; }

/* Photo mosaic: one large photo, up to four smaller ones; the last shows how many more */
.hb-mosaic { position: absolute; inset: 0; display: grid; gap: 3px; background: #fff; }
.hb-mosaic.n1 { grid-template-columns: 1fr; }
.hb-mosaic.n2 { grid-template-columns: 1fr 1fr; }
.hb-mosaic.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.hb-mosaic.n3 .hb-tile:first-child { grid-row: 1 / 3; }
.hb-mosaic.n4 { grid-template-columns: 2fr 1fr; grid-template-rows: repeat(3, 1fr); }
.hb-mosaic.n4 .hb-tile:first-child { grid-row: 1 / 4; }
.hb-mosaic.n5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.hb-mosaic.n5 .hb-tile:first-child { grid-row: 1 / 3; }
.hb-tile { position: relative; display: block; overflow: hidden; background: #e9ecef; cursor: zoom-in; }
.hb-tile[hidden] { display: none; }
.hb-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .3s; }
.hb-tile:hover img { transform: scale(1.04); }
.hb-tile:hover { opacity: 1; }
.hb-tile::after { content: ''; position: absolute; inset: 8px; border: 1.5px solid rgba(255,255,255,0); transition: border-color .3s; pointer-events: none; }
.hb-tile:hover::after { border-color: rgba(255,255,255,.6); }
.hb-tile-more {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(44,50,64,.62); color: #fff; font-size: 28px; font-weight: 800; letter-spacing: -.02em;
}

/* Single event page: write-up and full gallery */
.hb-ev-after { background: #fff; padding: 8px 0 80px; }
.hb-ev-after .eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #6b7280; margin-bottom: 12px; }
.hb-ev-after-text { max-width: 760px; margin: 0 auto 44px; font-size: 15px; line-height: 1.85; color: #4b5563; }
.hb-ev-after-text p { margin: 0 0 1.2em; }
.hb-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hb-photo-grid .hb-tile { aspect-ratio: 4 / 3; }

/* Full-screen photo viewer */
.hb-lb { position: fixed; inset: 0; z-index: 100000; background: rgba(20,22,30,.95); display: flex; flex-direction: column; opacity: 0; transition: opacity .25s; font-family: 'Montserrat', sans-serif; }
.hb-lb.open { opacity: 1; }
.hb-lb-stage { flex: 1; display: flex; align-items: center; justify-content: center; padding: 64px 90px 16px; min-height: 0; }
.hb-lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.45); transition: opacity .2s; }
.hb-lb-bar { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 14px 20px 26px; color: rgba(255,255,255,.75); font-size: 13px; text-align: center; }
.hb-lb-count { font-size: 11px; font-weight: 700; letter-spacing: .18em; color: #ff6c2d; white-space: nowrap; }
.hb-lb-btn { position: absolute; background: transparent; border: 1.5px solid rgba(255,255,255,.35); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; padding: 0; }
.hb-lb-btn:hover { background: #ff6c2d; border-color: #ff6c2d; }
.hb-lb-btn svg { width: 18px; height: 18px; }
.hb-lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.hb-lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.hb-lb-close { right: 22px; top: 18px; width: 42px; height: 42px; }

@media (max-width: 900px) {
    .hb-hl, .hb-hl.flip { grid-template-columns: 1fr; }
    .hb-hl.flip .hb-hl-text { order: 0; }
    .hb-hl-photos { min-height: 300px; order: -1; }
    .hb-hl-text { padding: 30px 28px; }
}
@media (max-width: 680px) {
    .hb-hl-photos { min-height: 230px; }
    .hb-hl h3 { font-size: 19px; }
    .hb-photo-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
    .hb-lb-stage { padding: 60px 12px 8px; }
    .hb-lb-prev, .hb-lb-next { top: auto; bottom: 18px; transform: none; width: 42px; height: 42px; }
    .hb-lb-bar { padding-bottom: 24px; min-height: 72px; }
}
