/* Events only; shared SPMS type, buttons, footer and navigation are retained. */
.ev-page [hidden] { display: none !important; }
.ev-page main img { display: block; width: 100%; height: auto; }
.ev-page figure { margin: 0; }
.ev-page .ev-hero { display: grid; gap: 2rem; align-items: center; padding-block: 2rem 3rem; }
.ev-page .ev-hero figure { min-width: 0; }
.ev-page .ev-hero img { aspect-ratio: 3 / 2; object-fit: contain; background: #eef6f6; object-position: center 52%; border-radius: 1.5rem; }
.ev-page figcaption { padding-top: .75rem; color: #52666b; font-size: .9rem; line-height: 1.5; }
.ev-page .ev-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.ev-page .ev-filter { min-height: 44px; padding: .65rem 1rem; border: 1px solid #bdd4d4; border-radius: 999px; color: #237c80; background: white; font: inherit; cursor: pointer; }
.ev-page .ev-filter[aria-pressed="true"], .ev-page .ev-filter:hover { background: #237c80; color: white; border-color: #237c80; }
.ev-page .ev-result { margin-block: 1.25rem; color: #52666b; font-size: .95rem; }
.ev-page .ev-grid { display: grid; gap: 2.5rem 1.75rem; }
.ev-page .ev-card { min-width: 0; }
.ev-page .ev-image-link { display: block; overflow: hidden; border-radius: 1rem; margin-bottom: 1.25rem; }
.ev-page .ev-card img { aspect-ratio: 3 / 2; object-fit: contain; background: #eef6f6; transition: transform .2s ease; }
.ev-page .ev-image-link:hover img { transform: scale(1.02); }
.ev-page .ev-card h3 { margin-top: .6rem; }
.ev-page .ev-card h3 a:hover { color: #237c80; text-decoration: underline; text-underline-offset: .2em; }
.ev-page .ev-meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: .75rem; color: #52666b; font-size: .95rem; line-height: 1.6; }
.ev-page .ev-empty { padding-block: 2rem; border-top: 1px solid #bdd4d4; margin-top: 1.5rem; }
.ev-page .ev-empty p { margin-top: .75rem; color: #52666b; line-height: 1.6; }
.ev-page .ev-feature { display: grid; gap: 2rem; align-items: center; margin-top: 2.5rem; }
.ev-page .ev-feature img { aspect-ratio: 3 / 2; object-fit: contain; background: #eef6f6; border-radius: 1rem; }
.ev-page .ev-feature h3 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); margin-top: .75rem; }
.ev-page .ev-training-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
.ev-page .ev-training { border-top: 1px solid #bdd4d4; padding-top: 1.5rem; }
.ev-page .ev-training h3 { margin-top: .75rem; }
.ev-page .ev-connected { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.ev-page .ev-detail-heading { padding-block: 2rem; }
.ev-page .ev-detail-cover img { aspect-ratio: 16 / 10; max-height: 42rem; object-fit: contain; background: #eef6f6; border-radius: 1rem; }
.ev-page .ev-summary { max-width: 55rem; }
.ev-page .ev-photo-gallery { margin-top: 2rem; }
.ev-page .ev-photo-gallery img { aspect-ratio: 3 / 2; object-fit: contain; background: #eef6f6; border-radius: 1rem; }
.ev-page .ev-back, .ev-page .ev-related { margin-block: 2rem; }
.ev-page .ev-photo-zoom { display: block; cursor: zoom-in; border-radius: 1rem; }
.ev-page .ev-photo-zoom:focus-visible { outline: 3px solid #237c80; outline-offset: 4px; }
.ev-page .ev-lightbox { box-sizing: border-box; width: min(96vw, 90rem); max-width: none; max-height: 94dvh; margin: auto; padding: 1rem; border: 1px solid #bdd4d4; border-radius: 1rem; color: #152328; background: white; overflow: auto; }
.ev-page .ev-lightbox::backdrop { background: rgb(10 25 29 / 85%); }
.ev-page .ev-lightbox-toolbar, .ev-page .ev-lightbox-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ev-page .ev-lightbox button { min-height: 44px; padding: .6rem 1rem; border: 1px solid #bdd4d4; border-radius: 999px; color: #237c80; background: white; font: inherit; cursor: pointer; }
.ev-page .ev-lightbox button:focus-visible { outline: 3px solid #237c80; outline-offset: 2px; }
.ev-page .ev-lightbox figure { margin-block: .75rem; }
.ev-page .ev-lightbox img { display: block; width: 100%; height: min(65dvh, 60rem); object-fit: contain; }
.ev-page .ev-lightbox figcaption { max-width: 65ch; margin-inline: auto; text-align: center; }
@media (min-width: 640px) { .ev-page .ev-grid, .ev-page .ev-training-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (min-width: 1024px) {
  .ev-page .ev-hero { grid-template-columns: minmax(0,1fr) minmax(0,1.6fr); gap: 3rem; }
  .ev-page .ev-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .ev-page .ev-feature { grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 3rem; }
  .ev-page .ev-feature:nth-of-type(even) > a { order: 2; }
}
@media (prefers-reduced-motion: reduce) { .ev-page .ev-card img { transition: none; } }
