.bwf-past-events{margin:0 auto;padding:80px 0;max-width:1280px;scroll-margin-top:140px}
.bwf-past-events__header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:36px}
.bwf-past-events__header h2{margin:0;color:#4e612c;font-family:'Barlow Condensed',sans-serif;font-size:60px;font-weight:600;line-height:1;letter-spacing:-.025em;text-transform:uppercase}
.bwf-past-events__all{flex-shrink:0;color:#203942;font-family:'Barlow Condensed',sans-serif;font-size:18px;font-weight:600;text-transform:uppercase;text-decoration:none}
.bwf-past-events__all:hover{text-decoration:underline;text-underline-offset:5px}
.bwf-past-events__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.bwf-past-events__card{min-width:0;margin:0;overflow:hidden;border-radius:14px;background:#203942}
.bwf-past-events__link{position:relative;display:flex;min-height:330px;height:100%;color:#fff;text-decoration:none;isolation:isolate;border-radius:14px;overflow:hidden;clip-path:inset(0 round 14px)}
.bwf-past-events__image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;border-radius:inherit}
.bwf-past-events__link:before{content:'';position:absolute;inset:0;background:linear-gradient(65deg,rgba(48,38,0,.92),rgba(25,30,15,.68) 65%,rgba(0,0,0,.32));z-index:-1;border-radius:inherit;pointer-events:none}
.bwf-past-events__body{padding:32px 36px 60px;width:100%}
.bwf-past-events__label{display:block;margin-bottom:32px;color:#fbebbf;font-family:'Barlow Condensed',sans-serif;font-size:18px;font-weight:600;line-height:1;text-transform:uppercase}
.bwf-past-events__body h3{margin:0 0 12px;color:#fff;font-family:'Barlow Condensed',sans-serif;font-size:32px;font-weight:600;line-height:1;letter-spacing:-.025em;text-transform:uppercase;overflow-wrap:anywhere;text-wrap:balance;transition:transform .25s ease}
.bwf-past-events__body p{margin:0;color:#fff;font-family:'Vollkorn',serif;font-size:16px;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;height:5.6em;max-height:4.2em;transition:transform .25s ease,max-height .25s ease}
.bwf-past-events__arrow{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#fbebbf;color:#203942;transition:transform .25s ease}
@media(hover:hover) and (pointer:fine){
.bwf-past-events__link:hover h3{transform:translateY(-8px)}
.bwf-past-events__link:hover p{-webkit-line-clamp:4;max-height:5.6em;transform:translateY(6px)}
}
.bwf-past-events__link:focus-visible h3{transform:translateY(-8px)}
.bwf-past-events__link:focus-visible p{-webkit-line-clamp:4;max-height:5.6em;transform:translateY(6px)}
@media(hover:none),(pointer:coarse){.bwf-past-events__body p{-webkit-line-clamp:4;max-height:5.6em}}
.bwf-past-events__card,.bwf-past-events__link,.bwf-past-events__link:before,.bwf-past-events__image{transition:none}
.bwf-past-events__link:focus-visible{outline:3px solid #c2d432;outline-offset:-5px}
.bwf-past-events__all:focus-visible,.bwf-past-events__pagination a:focus-visible{outline:3px solid #4e612c;outline-offset:5px}
.bwf-past-events__empty{font-family:'Vollkorn',serif;font-size:18px;color:#203942}
.bwf-past-events__pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:32px;font-family:'Barlow Condensed',sans-serif;font-size:20px;color:#203942}
.bwf-past-events__pagination .page-numbers{padding:6px 12px;border:1px solid #4e612c;border-radius:4px}
.bwf-past-events__pagination .current{background:#4e612c;color:#fff}
.bwf-past-events{box-sizing:border-box}
@media(max-width:1023px){.bwf-past-events{padding:64px 24px}.bwf-past-events__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bwf-past-events__header h2{font-size:48px}.bwf-past-events__body{padding:30px 28px 60px}}
@media(max-width:639px){.bwf-past-events{padding:48px 20px}.bwf-past-events__header{align-items:flex-start;flex-direction:column;gap:16px;margin-bottom:24px}.bwf-past-events__header h2{font-size:42px}.bwf-past-events__grid{grid-template-columns:minmax(0,1fr)}.bwf-past-events__label{margin-bottom:32px}}
@media(prefers-reduced-motion:reduce){.bwf-past-events__body h3,.bwf-past-events__body p,.bwf-past-events__arrow{transition:none}}
/* Match the theme's max-w-default container and px-4 gutters on both event views. */
.bwf-past-events{max-width:1400px;padding-left:16px;padding-right:16px}

/* Keep card copy lower while preserving the scoped text-reveal interaction. */
.bwf-past-events__label{margin-bottom:44px}
@media(hover:hover) and (pointer:fine){
.bwf-past-events__link:hover .bwf-past-events__arrow{transform:rotate(-45deg)}
}
.bwf-past-events__link:focus-visible .bwf-past-events__arrow{transform:rotate(-45deg)}
/* Size the copy against the card itself, rather than its padded content area. */
.bwf-past-events__card{container-type:inline-size}
.bwf-past-events__body h3,.bwf-past-events__body p{max-width:65cqw}

/* Only /events/: one-card mobile / two-card tablet native swipe slider. */
.bwf-past-events__controls[hidden]{display:none}
.bwf-past-events__controls{display:flex;justify-content:flex-end;gap:12px;margin-top:16px}
.bwf-past-events__controls button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#c2d432;color:#203942;cursor:pointer}
.bwf-past-events__controls button:disabled{opacity:.4;cursor:default}
.bwf-past-events__controls button:focus-visible{outline:3px solid #4e612c;outline-offset:3px}
@media(max-width:1023px){
.bwf-past-events--slider .bwf-past-events__grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 20px)/2);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;padding-bottom:2px}
.bwf-past-events--slider .bwf-past-events__grid::-webkit-scrollbar{display:none}
.bwf-past-events--slider .bwf-past-events__card{scroll-snap-align:start;scroll-snap-stop:always}
.bwf-past-events--slider .bwf-past-events__grid:focus-visible{outline:2px solid #4e612c;outline-offset:4px}
}
@media(max-width:639px){.bwf-past-events--slider .bwf-past-events__grid{grid-auto-columns:100%}}

/* Event recap photo grid (single event pages, recap mode). */
.bwf-recap-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media(min-width:1024px){.bwf-recap-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
.bwf-recap-gallery__photo{display:block;aspect-ratio:1;overflow:hidden;border-radius:12px}
.bwf-recap-gallery__photo:focus-visible{outline:3px solid #4e612c;outline-offset:3px}
.bwf-recap-gallery__image{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
@media(hover:hover) and (pointer:fine){.bwf-recap-gallery__photo:hover .bwf-recap-gallery__image{transform:scale(1.05)}}
@media(prefers-reduced-motion:reduce){.bwf-recap-gallery__image{transition:none}}
