.events-page { background: #0c110f; color: #e9e5d3; }
.events-page [hidden] { display: none !important; }
.events-page button, .events-page input, .events-page textarea, .events-page select { font: inherit; }
.events-page button { cursor: pointer; }
.events-page button:disabled { cursor: wait; opacity: .5; }
.events-page :focus-visible { outline: 2px solid #72d6c5; outline-offset: 4px; }
.events-page .desktop-nav a[aria-current] { color: #ffbd43; }
.events-hero { position: relative; isolation: isolate; padding-top: 76px; border-bottom: 1px solid #4a4f42; }
.events-hero-photo, .events-hero-shade { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.events-hero-photo { object-fit: cover; object-position: center 43%; }
.events-hero-shade { background: linear-gradient(90deg, rgba(8,15,12,.95), rgba(8,15,12,.74) 48%, rgba(8,15,12,.3)); }
.events-hero-content { width: min(1180px, calc(100% - 48px)); margin: auto; padding: 56px 0 36px; }
.events-hero h1 { margin: 16px 0 20px; font-size: 4.8rem; line-height: .98; letter-spacing: 0; overflow-wrap: anywhere; }
.events-intro { margin: 0; max-width: 500px; color: #eee9d5; font-size: 1.13rem; line-height: 1.65; }
.events-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 30px; }
.events-hero-actions > a { display: flex; align-items: center; gap: 9px; color: #e9e5d3; font-size: .86rem; font-weight: 700; text-underline-offset: 5px; }
.events-signoff { margin: 28px 0 0; color: #c1c5b5; font-size: .75rem; }
.event-primary, .event-secondary, .event-danger { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 46px; padding: 11px 18px; border: 1px solid #f3ac30; border-radius: 2px; color: #171b13; background: #ffb52e; font-size: .82rem !important; font-weight: 800 !important; text-decoration: none; line-height: 1.4; }
.event-primary:hover { background: #ffca65; }
.event-secondary { color: #e0e2d1; border-color: #586253; background: #1a241f; }
.event-danger { color: #fff0e9; border-color: #b35c4b; background: #6f3329; }
.events-page button img, .events-page a img:not(.brand img):not(.footer-brand img) { width: 19px; height: 19px; flex-shrink: 0; }
.events-page .event-primary img { filter: brightness(.15); }
.events-page .brand img, .events-page .footer-brand img { width: 100%; height: auto; }
.events-agenda { width: min(1180px, calc(100% - 48px)); margin: auto; padding: 54px 0 80px; scroll-margin-top: 90px; }
.agenda-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.agenda-heading h2 { margin: 7px 0 0; font-size: 2.7rem; line-height: 1.1; letter-spacing: 0; }
.agenda-heading .eyebrow { color: #72cbb9; }
.agenda-identity { margin: 0; color: #a6b4a6; font-size: .76rem; }
.agenda-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid #424e40; border-bottom: 1px solid #424e40; }
.agenda-tabs { display: flex; gap: 2px; background: #141d17; border: 1px solid #3d4b3e; }
.agenda-tabs button { min-height: 42px; border: 0; border-bottom: 2px solid transparent; padding: 10px 15px; background: transparent; color: #bdc7b5; font-size: .78rem; font-weight: 700; }
.agenda-tabs button[aria-pressed="true"] { border-color: #75cbb6; background: #253a2f; color: #f1f3df; }
.agenda-filter { display: flex; align-items: center; gap: 10px; color: #a6b4a6; font-size: .74rem; }
.agenda-filter select { padding: 10px 30px 10px 12px; border: 1px solid #4b5948; border-radius: 2px; color: #e1e3d2; background: #17231b; }
.agenda-feedback { margin: 10px 0; min-height: 25px; color: #98cbbb; font-size: .81rem; }
.events-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.event-poster { --poster-accent: #32766b; display: flex; flex-direction: column; min-width: 0; border: 1px solid #566151; border-radius: 3px; background: #e8e6d6; color: #232e26; box-shadow: 0 10px 28px rgba(0,0,0,.22); }
.event-poster[data-category="etheravond"] { --poster-accent: #365765; }
.event-poster[data-category="activiteit"] { --poster-accent: #626832; }
.event-poster[data-category="bingo"] { --poster-accent: #9c382b; }
.poster-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 18px; border-bottom: 1px solid #53604f; background: var(--poster-accent); color: #fff3dc; font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.poster-top img { width: 18px; height: 18px; }
.poster-heading { display: grid; grid-template-columns: 63px minmax(0,1fr); gap: 17px; margin: 22px 20px 14px; }
.poster-date { display: grid; justify-items: center; align-content: start; padding: 5px 9px 8px; border-top: 3px solid var(--poster-accent); border-bottom: 1px solid #afb5a1; background: #d7dac9; }
.poster-date strong { font-family: Impact, 'Arial Narrow', sans-serif; font-size: 2.8rem; font-weight: 400; line-height: 1.1; }
.poster-date span { font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.poster-heading h3 { margin: 0 0 7px; overflow-wrap: anywhere; font-family: Impact, 'Arial Narrow', sans-serif; font-size: 1.65rem; font-weight: 400; text-transform: uppercase; line-height: 1.18; letter-spacing: 0; }
.poster-heading h3 button { display: block; padding: 0; border: 0; background: none; color: inherit; text-align: left; font: inherit; text-transform: inherit; }
.poster-heading h3 button:hover { text-decoration: underline; text-underline-offset: 4px; }
.poster-time { margin: 0; color: #606b57; font-size: .71rem; font-weight: 700; }
.poster-description { margin: 0 20px 20px; overflow-wrap: anywhere; color: #53604f; font-size: .85rem; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.poster-meta { display: grid; gap: 7px; margin: auto 20px 0; padding: 14px 0; border-top: 1px dashed #a8b09b; }
.poster-meta p { display: flex; align-items: start; gap: 8px; margin: 0; color: #455640; font-size: .74rem; overflow-wrap: anywhere; }
.poster-meta img { width: 16px; height: 16px; flex-shrink: 0; filter: brightness(.34); }
.poster-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 20px; padding: 13px 0 18px; border-top: 1px solid #b1b9a4; }
.poster-bottom > a, .poster-bottom > button { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; background: none; color: #263b2d; font-size: .77rem; font-weight: 800; text-decoration: none; }
.poster-bottom > a img, .poster-bottom > button img { filter: brightness(.2); }
.poster-tools { display: flex; gap: 5px; }
.event-icon-button { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid #5c6b57; border-radius: 3px; background: transparent; color: #f0e9d0; flex-shrink: 0; }
.event-icon-button:hover { background: #334532; }
.poster-tools .event-icon-button { border-color: #9ea990; width: 32px; height: 32px; }
.poster-tools img { filter: brightness(.25); }
.poster-tools .event-icon-button:hover { background: #c8d4bc; }
.agenda-empty { padding: 46px 24px; text-align: center; border-bottom: 1px solid #424e40; background: #101b14; }
.agenda-empty > img { width: 36px; height: 36px; margin: 0 auto 18px; opacity: .7; }
.agenda-empty h3 { margin: 0 0 10px; font-size: 1.3rem; }
.agenda-empty p { margin: 0 0 24px; color: #a4b29e; font-size: .92rem; }
.agenda-pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; color: #a6b6a5; font-size: .83rem; }
.events-invitation { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1fr); gap: 72px; align-items: center; padding: 60px max(24px, calc((100vw - 1180px) / 2)); border-block: 1px solid #3d4c3e; background: #15221a; }
.events-invitation > img { width: 100%; height: auto; max-height: 275px; object-fit: contain; }
.events-invitation h2 { font-size: 2.7rem; line-height: 1.12; margin: 10px 0 20px; letter-spacing: 0; }
.events-invitation p:not(.eyebrow) { color: #b2c0ac; font-size: .94rem; }
.event-dialog { width: min(700px,calc(100% - 28px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 28px; border: 1px solid #607055; border-radius: 5px; color: #e8ead8; background: #122019; box-shadow: 0 25px 90px #0009; }
.event-dialog::backdrop { background: #030806ce; backdrop-filter: blur(4px); }
.event-dialog-heading { display: flex; justify-content: space-between; align-items: start; gap: 18px; margin-bottom: 20px; }
.event-dialog-heading h2, .event-detail-dialog > h2 { margin: 3px 0 0; font-size: 1.85rem; line-height: 1.15; letter-spacing: 0; overflow-wrap: anywhere; }
.event-dialog-heading .eyebrow { margin: 0; }
.event-form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.event-form-fields label { display: flex; flex-direction: column; gap: 6px; color: #c6d0bc; font-size: .81rem; font-weight: 700; }
.event-form-fields label small { font-size: .7rem; font-weight: 400; color: #92a58f; }
.field-wide { grid-column: 1 / -1; }
.event-form-fields input, .event-form-fields select, .event-form-fields textarea { width: 100%; min-width: 0; padding: 11px; border: 1px solid #50634c; border-radius: 2px; background: #0c1610; color: #edf0dd; font-size: .92rem; color-scheme: dark; }
.event-form-fields textarea { resize: vertical; }
.event-time-note { margin: -4px 0 0; color: #9eb59d; font-size: .73rem; }
.event-description-count { text-align: right; font-size: .66rem; font-weight: 400; color: #9dac96; }
.event-form-note { margin: 20px 0 0; padding-top: 15px; border-top: 1px solid #3a503b; color: #a3b49d; font-size: .76rem; }
.event-form-error { color: #ffb6a2; font-size: .82rem; }
.event-form-error:empty { display: none; }
.event-dialog-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 10px; margin-top: 22px; }
.event-small-dialog { max-width: 460px; }
.event-small-dialog > p { color: #b9c8b2; line-height: 1.7; }
.detail-date { color: #ffbd43; font-size: .94rem; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 18px 0; border-block: 1px solid #3d543d; color: #a9bfa5; font-size: .82rem; }
.detail-meta p { display: flex; gap: 8px; align-items: start; margin: 0; overflow-wrap: anywhere; }
.detail-meta img { width: 18px; height: 18px; flex-shrink: 0; }
.detail-description { color: #dde2d0; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
@media (max-width: 1340px) { .events-hero { padding-top: 66px; } }
@media (max-width: 1000px) { .events-list { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 700px) {
  .events-hero-content, .events-agenda { width: calc(100% - 32px); }
  .events-hero-content { padding: 42px 0 30px; }
  .events-hero h1 { font-size: 3.4rem; }
  .events-intro { font-size: 1rem; }
  .events-hero-shade { background: #0b160dd4; }
  .agenda-heading { display: block; }
  .agenda-heading h2, .events-invitation h2 { font-size: 2.25rem; }
  .agenda-identity { margin-top: 16px; }
  .agenda-toolbar { align-items: stretch; flex-direction: column; gap: 12px; }
  .agenda-tabs button { flex: 1; padding: 10px 7px; font-size: .71rem; }
  .agenda-filter { justify-content: space-between; }
  .agenda-filter select { flex: 1; }
  .events-list { grid-template-columns: 1fr; }
  .events-invitation { grid-template-columns: 1fr; gap: 32px; padding: 40px 18px; }
  .events-invitation > img { width: min(300px,100%); justify-self: center; }
  .event-dialog { padding: 20px; }
  .event-form-fields { grid-template-columns: 1fr; gap: 14px; }
  .event-dialog-actions > button { flex: 1; }
}
@media (max-width: 560px) { .events-hero { padding-top: calc(62px + env(safe-area-inset-top)); } }
@media (max-width: 360px) { .events-hero h1 { font-size: 2.85rem; } }
