/* Shared Alebex Hackathon presentation across the event and product pages. */
.event-feature--recap { scroll-margin-top: 100px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; align-items: start; }
.event-feature--recap .event-feature__image { max-width: none; border: 0; border-radius: 6px; overflow: hidden; }
.event-feature--recap .event-feature__image img { aspect-ratio: 4 / 3; object-fit: cover; }
.event-feature--recap .event-feature__copy { min-width: 0; }
.event-feature--recap h2 { margin: 0 0 12px; font-family: var(--font-display); font-size: clamp(2rem, 3.3vw, 3.1rem); font-weight: 600; line-height: 1.12; letter-spacing: -.03em; color: #142c3e; }
.event-feature--recap .event-subtitle { margin: 0 0 16px !important; font-size: 1.2rem !important; line-height: 1.5; color: #526474; }
.event-feature--recap .event-feature__copy > p { margin-block: 0 20px; line-height: 1.7; }
.event-feature--recap .event-facts { margin: 24px 0 20px; }
.event-feature--recap .event-facts > div { grid-template-columns: 64px minmax(0, 1fr); padding-block: 12px; }
.event-feature--recap .hackathon-winner { display: grid; gap: 4px; margin-bottom: 24px; color: #142c3e; }
.event-feature--recap .hackathon-winner strong { font-size: .8rem; font-weight: 500; color: #526474; }
.event-feature--recap .event-actions { gap: 12px 24px; }
.event-feature--recap .event-actions .btn { white-space: normal; min-height: 48px; }
.hackathon-preview { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid #c4d3df; }
.hackathon-preview__head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 16px; }
.hackathon-preview__head p { margin: 0; font: 500 1rem var(--font-display); color: #142c3e; }
.hackathon-preview__head .text-link { margin: 0; font-size: .875rem; }
.hackathon-preview__photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hackathon-preview__photos a { display: block; overflow: hidden; border-radius: 4px; }
.hackathon-preview__photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 20%; }
.hackathon-preview__credit { margin: 12px 0 0; color: #526474; font-size: .8rem; }
.hackathon-preview__credit a { text-decoration: underline; text-underline-offset: 3px; }
/* The homepage recap sits on navy; product and article surfaces are light. */
#innovation .event-feature--recap h2 { color: #fff; }
#innovation .hackathon-winner strong,
#innovation .hackathon-preview__head p,
#innovation .hackathon-preview__credit { color: #c9d8e8; }
.event-feature--recap a:focus-visible { outline: 2px solid #185abd; outline-offset: 4px; }
@media (max-width: 760px) {
  .event-feature--recap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  #innovation .event-feature--recap .event-feature__image { max-width: none; }
  .event-feature--recap .event-actions { flex-direction: row; align-items: center; }
  .hackathon-preview { padding-top: 20px; }
  .hackathon-preview__photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
.event-recap { padding-bottom: clamp(3rem, 7vw, 5rem); }
.event-recap > .post__more { display: block !important; }
.event-recap__subtitle { margin: 16px 0 0; color: #526474; font-size: 1.2rem; }
.event-recap__meta { margin-top: 1rem; color: var(--fg-2); font-size: var(--size-body-sm); }
.event-recap__figure { margin: 1.8rem 0; }
.event-recap__figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.event-recap__figure figcaption { margin-top: .6rem; color: var(--fg-2); font-size: var(--size-caption); }
.event-recap > p:not(.pkicker):not(.plead) { margin-top: 1rem; color: var(--fg-2); }
.event-recap h2 { font-size: var(--size-h2); margin: 2.2rem 0 .6rem; }
.event-recap .gallery { grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); }
.event-recap .gallery img { height: auto; }
.event-recap__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.event-recap__actions .btn { white-space: normal; }
