:root {
  --navy: #010d35;
  --blue: #0075ff;
  --blue-deep: #0a4ec9;
  --orange: #fe951c;
  --orange-deep: #ff7b00;
  --soft-bg: #eef4fb;
  --paper: #ffffff;
  --ink: #0d1b43;
  --muted: #5e6c88;
  --line: rgba(8, 24, 67, 0.12);
  --shadow-sm: 0 10px 24px rgba(8, 24, 67, 0.08);
  --shadow-md: 0 22px 48px rgba(8, 24, 67, 0.14);
  --shadow-lg: 0 38px 76px rgba(2, 11, 38, 0.22);
}

.back-to-events-btn {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  color: #b9dcff;
  background: #0d2747;
  border: 1px solid #397bc2;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  font-weight: 850;
  backdrop-filter: blur(12px);
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.back-to-events-btn:hover {
  color: #c4e1ff;
  background: #15416f;
  transform: translateY(-2px);
}

.back-to-events-btn:focus-visible {
  outline: 2px solid #ffb458;
  outline-offset: 4px;
}

@media (max-width: 991px) {
  .back-to-events-btn {
    left: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-events-btn {
    transition: none;
  }

  .back-to-events-btn:hover {
    transform: none;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 86px;
  color: var(--ink);
  background: linear-gradient(180deg, #f7fbff 0%, #eef4fb 42%, #ffffff 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.container {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.section-padding {
  padding: clamp(24px, 4vw, 48px) 0;
}

.bg-soft {
  background: linear-gradient(180deg, #eef4fb 0%, #f8fbff 100%);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(0, 117, 255, 0.1);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 46px;
}

.section-heading h2,
.rating-copy h2,
.comments-copy h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(2.15rem, 4vw, 3.45rem);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
}

.section-heading p,
.rating-copy p,
.comments-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
  font-size: 1.04rem;
}

.recap-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 32px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, #010d35 0%, #08245d 54%, #0a69de 100%);
  background-size:
    72px 72px,
    72px 72px,
    auto;
}

.recap-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  background: linear-gradient(180deg, rgba(238, 244, 251, 0) 0%, #eef4fb 96%);
  pointer-events: none;
}

.recap-hero .container {
  position: relative;
  z-index: 1;
}

.recap-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 32px;
  align-items: start;
}

.recap-hero-copy h1 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(2.4rem, 4vw, 4.1rem);
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: 0;
}

.recap-hero-copy p {
  max-width: 650px;
  margin: 0 0 20px;
  color: rgba(235, 242, 255, 0.82);
  font-size: 1rem;
  line-height: 1.6;
}

.hero-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-meta-card {
  min-height: 82px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
}

.hero-meta-card span {
  display: block;
  margin-bottom: 10px;
  color: #9fd0ff;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-meta-card strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  line-height: 1.25;
}

.recap-hero-media {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
}

.recap-hero-media img {
  width: 100%;
  height: clamp(220px, 44vh, 340px);
  object-fit: contain;
  border-radius: 24px;
}

.media-caption {
  position: relative;
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(1, 13, 53, 0.82);
  color: #fff;
  backdrop-filter: blur(12px);
}

.media-caption span {
  color: #ffcf8a;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.media-caption strong {
  text-align: right;
}

.rating-section {
  background: #eef4fb;
}

.rating-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 44px;
  align-items: center;
}

.rating-panel {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(0, 117, 255, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(254, 149, 28, 0.12), transparent 36%), #fff;
  box-shadow: var(--shadow-md);
}

.rating-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.rating-number {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 12px;
}

.rating-number strong {
  color: #a14d00;
  font-size: clamp(4.4rem, 8vw, 6.2rem);
  line-height: 0.9;
  font-weight: 950;
}

.rating-number span {
  color: var(--muted);
  font-size: 1.3rem;
  font-weight: 800;
  padding-bottom: 8px;
}

.rating-panel p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.7;
}

.rating-comments-meta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(0, 117, 255, 0.08);
  color: #084b91 !important;
  font-weight: 850;
}

.rating-comments-meta i {
  color: var(--blue);
}

.rate-actions {
  display: flex;
  justify-content: flex-end;
  gap: 2px;
  margin-bottom: 12px;
  padding: 2px 6px;
  border-radius: 16px;
  background: rgba(0, 117, 255, 0.07);
}

.rate-actions button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #a14d00;
  font-size: 1.3rem;
}

.rate-actions button:hover,
.rate-actions button:focus-visible {
  background: rgba(254, 149, 28, 0.18);
}

.rate-actions button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}

html[data-theme="dark"] :is(.rating-number strong, .rate-actions button) {
  color: #ffad48;
}

html[data-theme="dark"] .rate-actions {
  background: #22262b;
}

html[data-theme="dark"] .rating-comments-meta {
  color: #c0ddff !important;
}

html[data-theme="dark"] .rating-comments-meta i {
  color: #89bdff;
}

.rating-panel small {
  display: block;
  color: var(--muted);
  font-weight: 650;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.info-card {
  position: relative;
  height: 100%;
  min-height: 250px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.info-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.info-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 117, 255, 0.22);
  box-shadow: var(--shadow-md);
}

.info-card i {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  font-size: 1.45rem;
}

.info-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 900;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.76;
}

.gallery-section {
  background: #fff;
}

.featured-video-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 34px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(8, 24, 67, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 18% 20%,
      rgba(254, 149, 28, 0.14),
      transparent 28%
    ),
    linear-gradient(135deg, #010d35 0%, #08245d 58%, #0a69de 100%);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

.featured-video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.featured-video-copy,
.featured-video-frame {
  position: relative;
  z-index: 1;
}

.featured-video-copy span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 13px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(254, 149, 28, 0.18);
  color: #ffcf8a;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.featured-video-copy h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.05;
  font-weight: 950;
}

.featured-video-copy p {
  margin: 0;
  color: rgba(235, 242, 255, 0.78);
  line-height: 1.72;
}

.featured-video-frame {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
}

.featured-video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 18px;
  background: #000;
  object-fit: cover;
}

.masonry {
  columns: 3 260px;
  column-gap: 18px;
}

.masonry-item {
  position: relative;
  break-inside: avoid;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 24px;
  background: #dfe9f6;
  box-shadow: var(--shadow-sm);
}

.zoom-trigger {
  width: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: inherit;
}

.zoom-trigger:focus-visible {
  outline: 4px solid rgba(0, 117, 255, 0.32);
  outline-offset: -4px;
}

.masonry-item img,
.masonry-item video {
  width: 100%;
  min-height: 260px;
  display: block;
  object-fit: cover;
  transition:
    transform 0.42s ease,
    filter 0.42s ease;
}

.masonry-item video {
  aspect-ratio: 4 / 5;
  background: #000;
}

.masonry-compact {
  columns: 4 200px;
  column-gap: 12px;
}

.masonry-compact .masonry-item {
  margin-bottom: 12px;
  border-radius: 16px;
}

.masonry-compact .masonry-item :is(img, video) {
  min-height: 0;
}

.gallery-more {
  display: flex;
  justify-content: center;
  padding: 10px 0 0;
}

.masonry-compact:has(+ .gallery-more:not([hidden]) [aria-expanded="false"]) {
  mask-image: linear-gradient(
    to bottom,
    #000 calc(100% - clamp(64px, 10vw, 120px)),
    transparent
  );
}

.gallery-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 18px;
  border: 1px solid #448df4;
  border-radius: 999px;
  background: linear-gradient(120deg, #1456c3, #08346e);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 100, 240, 0.26);
}

.gallery-toggle:hover {
  background: linear-gradient(120deg, #1762d7, #0a428b);
}

.gallery-toggle:focus-visible {
  outline: 2px solid #fe951c;
  outline-offset: 3px;
}

.gallery-toggle i {
  color: #ffbd70;
}

.gallery-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.gallery-more[hidden],
.masonry-compact .masonry-item[hidden] {
  display: none;
}

@media (max-width: 575.98px) {
  .masonry-compact {
    columns: 2;
    column-gap: 8px;
  }

  .masonry-compact .masonry-item {
    margin-bottom: 8px;
    border-radius: 12px;
  }
}

.masonry-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.masonry-item::after {
  content: "\F62C";
  font-family: "bootstrap-icons";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: rgba(1, 13, 53, 0.72);
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  pointer-events: none;
}

.masonry-item:hover::after,
.masonry-item:focus-within::after {
  opacity: 1;
  transform: translateY(0);
}

.masonry-video::after {
  content: none;
}

.masonry-video video {
  cursor: pointer;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(1, 13, 53, 0.88);
  backdrop-filter: blur(10px);
}

.image-lightbox.show {
  display: flex;
}

.event-recap .image-lightbox {
  background: transparent;
}

.lightbox-dialog {
  width: min(100%, 1080px);
  max-height: calc(100vh - 84px);
  display: grid;
  gap: 12px;
}

.lightbox-zoom-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.lightbox-zoom-frame.is-zoomed {
  cursor: move;
  touch-action: none;
}

.lightbox-zoom-frame img {
  display: block;
}

.lightbox-dialog img {
  width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  background: #071331;
}

.event-recap .lightbox-zoom-frame img {
  background: transparent;
}

.lightbox-caption {
  color: #fff;
  text-align: center;
  font-weight: 850;
}

.lightbox-caption:empty {
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.lightbox-close:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.comments-layout {
  display: grid;
  gap: 34px;
}

.comments-copy {
  max-width: 820px;
  margin-inline: auto;
}

.comments-board {
  display: grid;
  gap: 24px;
}

.comment-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.comment-auth-note {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 13px;
  border-radius: 12px;
  background: rgba(1, 13, 53, 0.06);
  color: var(--muted);
  font-weight: 750;
}

.comment-auth-note i {
  color: var(--blue);
}

.comment-auth-note.is-locked i {
  color: var(--orange);
}

.comment-auth-note.is-ready {
  background: rgba(0, 117, 255, 0.08);
  color: var(--navy);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.comment-form input,
.comment-form select,
.comment-form textarea {
  width: 100%;
  border: 1px solid rgba(8, 24, 67, 0.12);
  border-radius: 10px;
  background: #f8fbff;
  color: var(--ink);
  padding: 13px 14px;
  font: inherit;
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.comment-form textarea {
  min-height: 126px;
  resize: vertical;
}

.comment-form input:focus,
.comment-form select:focus,
.comment-form textarea:focus {
  border-color: rgba(0, 117, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 117, 255, 0.1);
}

.comment-form input:disabled,
.comment-form select:disabled,
.comment-form textarea:disabled {
  cursor: not-allowed;
  color: #8d98ad;
  background: #eef3f8;
}

.btn-comment {
  width: max-content;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #fff;
  font-weight: 850;
  box-shadow: 0 14px 28px rgba(254, 149, 28, 0.24);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.btn-comment:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(254, 149, 28, 0.3);
}

.btn-comment:disabled {
  cursor: not-allowed;
  background: #aeb8c8;
  box-shadow: none;
  transform: none;
}

.comment-list,
.comment-list-inner {
  display: grid;
}

.event-comment {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 10px 2px;
}

.event-comment + .event-comment {
  border-top: 1px solid var(--line);
}

.comment-list-inner {
  padding-inline: 10px;
}

.comment-avatar {
  position: relative;
  display: grid;
  width: 34px;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #214577;
  color: #fff;
  font-weight: 700;
}

.comment-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 10px;
  margin-bottom: 3px;
}

.comment-head strong {
  color: var(--ink);
  overflow-wrap: anywhere;
  font-size: 0.9rem;
}

.comment-rating-line {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #965000;
  font-size: 0.8rem;
  font-weight: 700;
}

.event-comment p {
  margin: 0;
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.comment-reaction {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 44px;
  min-height: 32px;
  padding: 0 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
}

.comment-reaction:hover,
.comment-reaction:focus-visible {
  background: rgba(0, 117, 255, 0.12);
}

.comment-reaction[aria-pressed="true"] {
  color: #965000;
}

html[data-theme="dark"]
  :is(.comment-rating-line, .comment-reaction[aria-pressed="true"]) {
  color: #ffad48;
}

.rating-panel .comment-empty {
  margin: 0;
  padding: 12px 0;
}

html[data-theme="dark"] .comments-inline-panel {
  background: var(--fw-dark-surface);
  box-shadow: none;
}

@media (pointer: coarse) {
  .comment-reaction {
    min-height: 44px;
  }
}

.collaborations-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 117, 255, 0.06) 0 1px, transparent 1px),
    linear-gradient(180deg, rgba(254, 149, 28, 0.05) 0 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #eef4fb 100%);
  background-size:
    78px 78px,
    78px 78px,
    auto;
}

.collaborations-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(0, 117, 255, 0.14),
      transparent 24%
    ),
    radial-gradient(
      circle at 88% 70%,
      rgba(254, 149, 28, 0.14),
      transparent 24%
    );
  pointer-events: none;
}

.collaborations-section .container {
  position: relative;
  z-index: 1;
}

.collaboration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.collaboration-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin-inline: auto;
}

.collaboration-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(0, 117, 255, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(254, 149, 28, 0.1), transparent 34%), #fff;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.collaboration-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.collaboration-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 117, 255, 0.22);
  box-shadow: var(--shadow-md);
}

.collaboration-logo {
  width: 86px;
  height: 86px;
  padding: 6px;
  border: 1px solid rgba(8, 24, 67, 0.1);
  border-radius: 20px;
  background: #f8fbff;
  box-shadow: 0 12px 24px rgba(8, 24, 67, 0.08);
}

.collaboration-logo img {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  object-fit: cover;
}

.collaboration-copy {
  flex: 1;
}

.collaboration-copy span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(0, 117, 255, 0.1);
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.collaboration-copy h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 900;
}

.collaboration-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.collaboration-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.collaboration-socials a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(8, 24, 67, 0.1);
  border-radius: 8px;
  color: var(--navy);
  background: #f8fbff;
  font-size: 1.05rem;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

.collaboration-socials a:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-3px);
}

.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition:
    opacity 0.72s ease,
    transform 0.72s ease;
  will-change: opacity, transform;
}

.reveal {
  transform: translateY(34px);
}

.reveal-left {
  transform: translateX(-34px);
}

.reveal-right {
  transform: translateX(34px);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0, 0);
}

@media (max-width: 991px) {
  body {
    padding-top: 82px;
  }

  .recap-hero {
    padding-top: 28px;
  }

  .recap-hero-layout,
  .rating-layout,
  .comments-layout {
    grid-template-columns: 1fr;
  }

  .recap-hero-media img {
    height: 320px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .collaboration-grid,
  .collaboration-grid-two {
    grid-template-columns: 1fr;
  }

  .featured-video-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .recap-hero {
    text-align: center;
  }

  .recap-hero-copy p {
    margin-inline: auto;
  }

  .hero-meta-grid {
    grid-template-columns: 1fr;
  }

  .recap-hero-compact {
    padding-top: 28px;
  }

  .recap-hero-compact .recap-hero-layout {
    gap: 20px;
  }

  .recap-hero-compact .recap-hero-copy h1 {
    margin-bottom: 10px;
  }

  .recap-hero-compact .recap-hero-copy p {
    margin-bottom: 14px;
    font-size: 0.9375rem;
    line-height: 1.55;
  }

  .recap-hero-compact .hero-meta-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .recap-hero-compact .hero-meta-card {
    min-height: 0;
    padding: 9px 4px;
    border-radius: 10px;
  }

  .recap-hero-compact .hero-meta-card span {
    margin-bottom: 4px;
    font-size: 0.625rem;
    letter-spacing: 0.04em;
  }

  .recap-hero-compact .hero-meta-card strong {
    font-size: 0.75rem;
    overflow-wrap: anywhere;
  }

  .media-caption {
    position: static;
    margin-top: 12px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .media-caption strong {
    text-align: left;
  }

  .recap-hero-media img {
    height: 360px;
  }

  .rating-panel {
    padding: 28px 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .btn-comment {
    width: 100%;
  }

  .collaboration-card {
    padding: 22px;
  }

  .featured-video-card {
    padding: 18px;
    border-radius: 24px;
  }

  .featured-video-frame {
    padding: 8px;
    border-radius: 18px;
  }

  .featured-video-frame video {
    border-radius: 14px;
  }

  .image-lightbox {
    padding: 18px;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .recap-hero-copy h1 {
    font-size: 2.55rem;
  }

  .recap-hero-media {
    padding: 10px;
    border-radius: 24px;
  }

  .recap-hero-media img {
    height: 300px;
    border-radius: 18px;
  }

  .rating-number strong {
    font-size: 4rem;
  }

  .rate-actions button {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 768px) {
  .event-recap .section-padding {
    padding-block: 18px;
  }

  .event-recap .section-heading {
    margin-bottom: 16px;
  }

  .event-recap .section-kicker {
    margin-bottom: 8px;
    padding: 4px 10px;
  }

  .event-recap :is(.section-heading, .rating-copy, .comments-copy) h2 {
    margin-bottom: 8px;
    font-size: 1.75rem;
  }

  .event-recap
    :is(
      .section-heading,
      .rating-copy,
      .comments-copy,
      .info-card,
      .featured-video-copy,
      .collaboration-copy
    )
    p {
    font-size: 0.9375rem;
    line-height: 1.5;
  }

  .event-recap .recap-hero-media {
    padding: 8px;
  }

  .event-recap .recap-hero-media img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .event-recap .media-caption {
    gap: 3px;
    margin-top: 6px;
    padding: 8px 10px;
    font-size: 0.875rem;
  }

  .event-recap :is(.rating-layout, .comments-layout, .comments-board) {
    gap: 14px;
  }

  .event-recap :is(.rating-panel, .info-card) {
    min-height: 0;
  }

  .event-recap
    :is(
      .rating-panel,
      .info-card,
      .comment-form,
      .featured-video-card,
      .collaboration-card
    ) {
    padding: 12px;
    border-radius: 16px;
  }

  .event-recap .rating-number strong {
    font-size: 3.25rem;
  }

  .event-recap .rating-panel p {
    margin-bottom: 10px;
  }

  .event-recap :is(.info-grid, .collaboration-grid, .comment-form, .form-row) {
    gap: 8px;
  }

  .event-recap .info-card {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-content: start;
    align-items: center;
    gap: 4px 8px;
  }

  .event-recap .info-card i {
    width: 32px;
    height: 32px;
    margin: 0;
    font-size: 1rem;
  }

  .event-recap .info-card h3 {
    margin: 0;
    font-size: 1.1rem;
  }

  .event-recap .info-card p {
    grid-column: 2;
  }

  .event-recap .featured-video-card {
    gap: 10px;
    margin-bottom: 14px;
  }

  .event-recap .featured-video-copy span {
    margin-bottom: 6px;
  }

  .event-recap .featured-video-copy h3 {
    margin-bottom: 6px;
    font-size: 1.25rem;
  }

  .event-recap .form-row {
    grid-template-columns: minmax(0, 1fr) minmax(100px, 34%);
  }

  .event-recap .comment-form textarea {
    min-height: 88px;
  }

  .event-recap .collaboration-card {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 8px 10px;
  }

  .event-recap .collaboration-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
  }

  .event-recap .collaboration-copy span,
  .event-recap .collaboration-copy h3 {
    margin-bottom: 6px;
  }

  .event-recap .collaboration-socials {
    grid-column: 2;
  }

  .event-recap .footer-section {
    padding-block: 30px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .info-card,
  .collaboration-card,
  .collaboration-socials a,
  .featured-video-card,
  .lightbox-close,
  .comment-reaction,
  .masonry-item img,
  .rate-actions button,
  .btn-comment {
    transition: none;
  }
}
