/* Events (9/29/2026): the page's own rules on top of site.css. Composition: Avada Health's
   articles page (title band, dated cards, the closing band with the button on the right).
   Health's card, measured at 1440: white, a 1px #ddd border with a 2px foot, the date badge
   61 x 74 flush in the picture's top-left corner (day 22px over the month 14px, capitals),
   24px of padding, the title over a 1px hairline, then the line. Every text pairing
   computed (WCAG): white on blue 12.1 · blue on white 12.1 · blue on tint 9.9 ·
   teal-deep on white 5.0 · white on teal-deep 5.0 · blue on gold 6.2 · white on #5b6875 5.7 */

.pg-frame { max-width: calc(1200px + 2 * var(--pad)); margin: 0 auto; padding-inline: var(--pad); }

/* A gray box on this page: #5b6875 so its white words clear AA (5.7). */

/* ---- Health's date badge */
.datebadge {
  position: absolute; top: 0; left: 0; z-index: 1;
  display: grid; justify-items: center; align-content: center; gap: 5px;
  width: 64px; min-height: 76px; padding: 12px 0;
  background: var(--blue); color: #fff; line-height: 1; text-align: center;
}
.datebadge b { font-size: 1.5rem; font-weight: 800; }
.datebadge span { font-size: .875rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.datebadge--lg { width: 84px; min-height: 98px; gap: 7px; }
.datebadge--lg b { font-size: 2rem; }
.datebadge--lg span { font-size: 1rem; }

/* ---- 2. Next: the dated card at full width, on the department body's light ground */
.ev-next { background: var(--blush); padding-block: 60px clamp(56px, 6vw, 90px); }
.evfeat { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: #fff; border: 1px solid #dde1e4; border-bottom-width: 2px; }
.evfeat__media { position: relative; min-height: 440px; background: #5b6875; }
.evfeat__media > img, .evfeat__media > .photo-todo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.evfeat__media > img { object-position: 60% 100%; }
.evmedia__credit { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 26px 16px 10px; font-size: .75rem; color: var(--paper); text-align: right; background: linear-gradient(transparent, rgba(24, 54, 96, .78)); }
.evfeat__media > .photo-todo { min-height: 0; border-radius: 0; border-width: 0; outline: 2px dashed rgba(255, 253, 252, .6); outline-offset: -14px; }
.evfeat__body { display: grid; align-content: center; justify-items: start; padding: 48px clamp(28px, 4vw, 56px); }
.evfeat__eyebrow { font-size: .875rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-deep); }
.evfeat h2 { margin-top: 12px; font-size: clamp(1.875rem, 1.4rem + 1.3vw, 2.625rem); font-weight: 600; line-height: 1.25; letter-spacing: 0; }
.evfeat__facts { display: grid; margin-top: 26px; width: 100%; border-top: 1px solid #e3e6e8; }
.evfeat__facts li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid #e3e6e8; font-weight: 700; line-height: 1.5; }
.evfeat__facts svg { width: 22px; height: 22px; margin-top: 1px; color: var(--teal-deep); }
.evfeat__line { margin-top: 22px; font-size: 1.1875rem; line-height: 2.25; }
.evfeat__actions { margin-top: 28px; }

/* ---- 3. Coming up: the approved strip, on the purple tint the room chose for a soft panel */
.ev-soon { background: var(--tint); padding-block: 30px; }
.ev-soon__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 34px; }
.ev-soon__label { font-size: .9375rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.ev-soon__list { display: grid; gap: 14px; }
.ev-soon__item { display: flex; align-items: center; gap: 20px; }
.ev-soon__item .datebadge { position: static; flex: none; width: 58px; min-height: 66px; padding: 10px 0; }
.ev-soon__item .datebadge b { font-size: 1.375rem; }
.ev-soon__item p { font-size: clamp(1.125rem, 1rem + .35vw, 1.3125rem); font-weight: 600; line-height: 1.5; }

/* ---- 1b. The first screen, 10/9/2026: the room asked that nobody scroll to find the next date, so on this page the
   title band is short and "Coming up" is a plain heading over the calendar (no icon, no rule). Measured: at 1440 x 900
   and 1512 x 982 the calendar's month and the first date's card start inside the first screen. */
.pg-events .title.title--compact { padding-top: clamp(124px, 9.4vw, 142px); padding-bottom: clamp(30px, 3vw, 42px); }
.pg-events .title--compact h1 { font-size: clamp(2.5rem, 1.9rem + 2.4vw, 3.75rem); }
.pg-events .title--compact .title__line { margin-top: 6px; }
.pg-events .ev-up { padding-top: clamp(30px, 3.4vw, 48px); }
.pg-events .ev-up .shead { display: block; text-align: left; }
.pg-events .ev-up .shead .band-icon, .pg-events .ev-up .shead .band__rule { display: none; }
.pg-events .ev-up .shead h2 { margin: 0; text-align: left; font-size: clamp(1.5rem, 1.25rem + .9vw, 2rem); }
.pg-events .ev-up .ev-up__layout { margin-top: 18px; }

/* ---- 2b. Coming up, 10/9/2026 (the 6 October meeting): the calendar beside the dates. Every text pairing
   computed: blue on white 12.1 · blue on gold 6.2 · white on teal-deep 5.0 · #5b6875 on white 5.7. */
.ev-up__layout { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 48px; text-align: left; }
.evcal { background: #fff; border: 1px solid #dde1e4; border-bottom-width: 2px; padding: 22px 22px 18px; }
.evcal__nav { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; margin-bottom: 8px; }
.evcal__nav[hidden] { display: none; }
.evcal__now { margin: 0; text-align: center; font-size: 1.125rem; font-weight: 700; }
.evcal__step { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #dde1e4; border-radius: var(--radius); background: #fff; color: var(--blue); cursor: pointer; }
.evcal__step:disabled { opacity: .35; cursor: default; }
.evcal__step svg { width: 20px; height: 20px; }
.evcal__month + .evcal__month { margin-top: 26px; }
.js-cal .evcal__month + .evcal__month { margin-top: 0; }
.evcal__name { font-size: 1.125rem; font-weight: 700; letter-spacing: 0; margin-bottom: 8px; }
.js-cal .evcal__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.evcal__grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.evcal__grid th { padding: 4px 0 8px; font-size: .8125rem; font-weight: 700; color: #5b6875; text-align: center; }
.evcal__grid td { padding: 2px; text-align: center; }
.evcal__d { display: grid; place-items: center; height: 44px; border-radius: var(--radius); font-size: .9375rem; color: var(--blue); }
.evcal__d.is-past { color: #8a959f; }
.evcal__d.is-today { box-shadow: inset 0 0 0 2px var(--blue); font-weight: 700; }
a.evcal__d { font-weight: 800; text-decoration: none; }
a.evcal__d--ours { background: var(--gold); color: var(--blue); }
a.evcal__d--find { background: var(--teal-deep); color: #fff; }
a.evcal__d.is-past { opacity: .6; }
a.evcal__d:hover { box-shadow: inset 0 0 0 2px var(--blue); }
.evcal__also { margin-top: 10px; font-size: .9375rem; line-height: 1.6; }
.evcal__key { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #e3e6e8; font-size: .875rem; font-weight: 600; }
.evcal__key li { display: inline-flex; align-items: center; gap: 8px; }
.evcal__swatch { width: 16px; height: 16px; border-radius: 3px; }
.evcal__swatch--ours { background: var(--gold); }
.evcal__swatch--find { background: var(--teal-deep); }
.evlist { display: grid; gap: 24px; }
.evcard.evcard--row { flex-direction: row; scroll-margin-top: 120px; }
.evcard--row .evcard__media { flex: 0 0 42%; aspect-ratio: auto; min-height: 230px; }
.evcard--row .evcard__body { padding: 24px 28px 26px; }
.evcard .evmedia__credit { margin: 0; line-height: 1.4; }
.evcard__kind { margin: 0 0 8px; font-size: .8125rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); }
.evcard p.evcard__kind { margin-top: 0; line-height: 1.4; }
.evcard__kind--ours { color: var(--blue); }
.evcard.is-picked { outline: 3px solid var(--gold); outline-offset: 4px; }
.evcard:focus { outline: none; }
.evcard.is-picked:focus { outline: 3px solid var(--gold); }
@media (max-width: 1100px) { .ev-up__layout { grid-template-columns: 1fr; } .evcal { max-width: 460px; } }
@media (max-width: 700px) { .evcard.evcard--row { flex-direction: column; } .evcard--row .evcard__media { flex: none; aspect-ratio: 16 / 9; min-height: 0; } .evcal { max-width: none; padding: 18px 14px 14px; } }

/* ---- 4. Where we have been: Health's articles grid, two across (the approved count) */
.ev-past .band__rule { margin-bottom: 0; }
.evgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 48px; text-align: left; }
.evcard { display: flex; flex-direction: column; background: #fff; border: 1px solid #dde1e4; border-bottom-width: 2px; }
.evcard__media { position: relative; aspect-ratio: 16 / 9; background: #5b6875; }
.evcard__media > img, .evcard__media > .photo-todo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.evcard__media > .photo-todo { min-height: 0; border-radius: 0; border-width: 0; padding-inline: 40px; }
.evcard__media .photo-todo__desc, .evfeat__media .photo-todo__desc { text-wrap: balance; }
.evcard__body { padding: 26px 30px 32px; }
.evcard h3 { font-size: 1.375rem; font-weight: 600; line-height: 1.35; letter-spacing: .5px; padding-bottom: 16px; border-bottom: 1px solid #e3e6e8; }
.evcard p { margin-top: 16px; font-size: 1.0625rem; line-height: 2.25; }

/* ---- 5. Health's closing band: heading and line left, one button right; flat teal */
.ev-invite { background: var(--teal-deep); color: #fff; padding-block: clamp(76px, 8vw, 130px) clamp(68px, 7vw, 100px); }
.ev-invite__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px 64px; }
.ev-invite h2 { font-size: clamp(2rem, 1.45rem + 1.4vw, 2.875rem); font-weight: 600; line-height: 1.25; }
.ev-invite p { margin-top: 18px; max-width: 44ch; font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); font-weight: 600; line-height: 2.2; letter-spacing: .05em; text-transform: capitalize; }
.ev-invite .btn { min-width: 280px; min-height: 60px; font-size: 1rem; }

/* ---- tablet and phone */
@media (max-width: 960px) {
  .evfeat { grid-template-columns: 1fr; }
  .evfeat__media { min-height: 0; aspect-ratio: 16 / 10; }
  .ev-invite__row { grid-template-columns: 1fr; }
  .ev-invite .btn { justify-self: start; }
}
@media (max-width: 760px) {
  .evgrid { grid-template-columns: 1fr; gap: 30px; }
  .ev-next { padding-block: 40px 56px; }
  .ev-soon__row { justify-content: flex-start; }
  .evfeat__body { padding: 34px 26px 38px; }
}
@media (max-width: 480px) {
  .evfeat__media { aspect-ratio: 4 / 3; }
  .evcard__media { aspect-ratio: 4 / 3; }
  .evcard__media > .photo-todo { padding-inline: 24px; }
  .evcard__body { padding: 24px 22px 28px; }
  .ev-invite .btn { min-width: 0; width: 100%; }
}

/* Invite us: Health's closing band is a centred stack (laptop review, 9/29); the split left a
   375px hole between the words and the button. */
.ev-invite__row { display: block; text-align: center; }
.ev-invite p { max-width: 760px; margin-inline: auto; }
.ev-invite .btn { margin-top: 32px; }
@media (max-width: 900px) { .ev-invite .btn { justify-self: auto; } }

/* ---- 10/2, Health's Articles page: one grid of dated cards (Coming up), then the closing photo band */
.ev-up .band__rule { margin-bottom: 0; }
.ev-up .evgrid { margin-top: 48px; }
.evcard__facts { margin-top: 16px; }
.evcard__facts li { padding: 4px 0; font-weight: 600; line-height: 1.9; }
.evcard__actions { margin-top: 18px; }
.ev-invite { position: relative; overflow: hidden; isolation: isolate; background: #1d2b42; }
.ev-invite .formband__bg { z-index: -2; }
.ev-invite__shade { z-index: -1; background: rgba(18, 42, 75, .7); }
.ev-invite__row { position: relative; }
