/* Events and completed course pages share the existing SENSE Lab identity. */
.events-page { background: #f8fafc; color: #0b1d3a; }
.events-intro { padding-top: 58px; padding-bottom: 38px; }
.events-intro h1 { max-width: 880px; font-size: clamp(32px, 5vw, 56px); line-height: 1.15; margin: 16px 0 24px; }
.events-lead { max-width: 800px; font-size: 19px; line-height: 1.7; }
.events-announcement-note { max-width: 830px; margin-top: 22px; padding: 18px 22px; border-left: 3px solid #00786c; background: #eef5f3; line-height: 1.65; }
.events-page a:not(.button):not(.header-course) { color: #00685e; text-underline-offset: 3px; }
.events-list { padding-bottom: 68px; }
.events-list > h2 { margin-bottom: 24px; font-size: 26px; }
.event-list-card { display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden; border: 1px solid #dce5e7; border-radius: 24px; background: #fff; box-shadow: 0 12px 36px #0b1d3a0d; }
.event-photo-link { display: flex; align-items: center; background: #0b1d3a; }
.event-photo-link img { display: block; width: 100%; height: auto; }
.event-list-copy { padding: 34px; }
.event-status { display: inline-block; background: #e7f4ef; border: 1px solid #b4d5c7; border-radius: 999px; padding: 6px 14px; color: #145b3e; font-size: 13px; font-weight: 800; }
.event-date { margin: 16px 0 12px; color: #42536d; font-size: 14px; }
.event-list-copy h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.25; margin: 0 0 16px; }
.event-list-copy h3 a { color: #0b1d3a !important; text-decoration: none; }
.event-list-copy p { line-height: 1.7; }
.event-organizers { font-size: 13px; color: #52627a; margin: 16px 0; }
.event-issued { font-weight: 650; }
.event-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.event-links .button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 13px 18px; background: #0b1d3a; color: #fff; border: 1px solid #0b1d3a; border-radius: 12px; font-weight: 750; text-decoration: none; }
.event-links .button--secondary { background: #fff; color: #0b1d3a; border-color: #93a7bc; }
.event-links .button:hover { background: #00685e; color: #fff; }
.events-footer { padding-top: 26px; padding-bottom: 34px; border-top: 1px solid #dce5e7; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.events-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.event-skip { position: fixed; left: 16px; top: -100px; z-index: 10001; background: #fff; color: #0b1d3a; padding: 14px; }
.event-skip:focus { top: 16px; }
.event-completed a:focus-visible, .events-page a:focus-visible, .events-page summary:focus-visible { outline: 3px solid #00786c; outline-offset: 4px; }
.event-completed section[id] { scroll-margin-top: 100px; }
.event-recap { background: #fff; padding: 64px 0; border-bottom: 1px solid #e2e8f0; }
.event-group-photo { margin: 30px 0 36px; }
.event-group-photo img { display: block; width: 100%; height: auto; border-radius: 18px; }
.event-group-photo figcaption { margin-top: 12px; font-size: 13px; color: #52627a; }
.event-recap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.event-recap-grid article { padding: 24px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; }
.event-recap-grid h3 { font-size: 19px; line-height: 1.4; margin-bottom: 12px; }
.event-recap-grid p { line-height: 1.7; margin-bottom: 16px; }
.event-recap-grid a, .event-certificate-note a:not(.btn-primary), .event-completed .fact-item a:not(.btn-fact-link) { color: #00685e; font-weight: 700; text-underline-offset: 3px; }
.event-certificate-note { margin-top: 32px; padding: 30px; border: 1px solid #b4d5c7; background: #eef5f3; border-radius: 18px; }
.event-certificate-note h3 { font-size: 24px; margin-bottom: 12px; }
.event-certificate-note p { margin-bottom: 20px; max-width: 800px; }
.event-completed .fact-tag { color: #145b3e; background: #e7f4ef; border: 1px solid #b4d5c7; }
@media (max-width: 900px) {
  .event-list-card { grid-template-columns: 1fr; }
  .event-list-copy { padding: 28px; }
  .event-recap-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .events-intro { padding-top: 32px; }
  .events-lead { font-size: 17px; }
  .event-list-copy { padding: 22px 18px; }
  .event-links { flex-direction: column; }
  .event-links .button { width: 100%; text-align: center; }
  .events-footer { flex-direction: column; }
  .event-recap { padding: 38px 0; }
  .event-certificate-note { padding: 22px 18px; }
  .event-completed .mobile-bar-btn { background: #00786c; min-height: 44px; padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .event-completed { scroll-behavior: auto; }
  .event-completed *, .events-page * { scroll-behavior: auto !important; transition: none !important; }
}
