/**
 * Single Event page
 * Brand: #0000ff · #0A2540 · Poppins
 */

#SingleEvent.sev {
  --sev-blue: #0000ff;
  --sev-ink: #0a2540;
  --sev-muted: #667384;
  --sev-line: #e4e9f3;
  --sev-wash: #f5f7ff;
  --sev-ease: cubic-bezier(.22, .82, .18, 1);
  font-family: Poppins, sans-serif;
  color: var(--sev-ink);
  background: #fff;
}

#SingleEvent .container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.sev-hero {
  position: relative;
  isolation: isolate;
  padding: 40px 0 56px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 55% at 10% 20%, rgba(0, 0, 255, .08), transparent 58%),
    radial-gradient(ellipse 40% 45% at 90% 80%, rgba(136, 136, 255, .1), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--sev-wash) 100%);
}

.sev-hero__glow {
  position: absolute;
  inset: auto -10% -20% 40%;
  width: 50%;
  height: 50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 0, 255, .08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.sev-hero__inner { position: relative; z-index: 1; }

.sev-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  font-size: 13px;
  color: var(--sev-muted);
}

.sev-crumb a {
  color: var(--sev-blue);
  text-decoration: none;
  font-weight: 600;
}

.sev-crumb a:hover { text-decoration: underline; }

.sev-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: center;
}

.sev-hero__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--sev-line);
  background: linear-gradient(180deg, #eff3ff, #e8eef8);
  box-shadow: 0 28px 56px -32px rgba(10, 37, 64, .4);
  min-height: 360px;
  animation: sev-rise .8s var(--sev-ease) both;
}

.sev-hero__media--empty {
  background:
    radial-gradient(ellipse 55% 50% at 35% 35%, rgba(0, 0, 255, .14), transparent 62%),
    linear-gradient(145deg, #eef2ff, #e4ebf7 55%, #dfe8f4);
}

.sev-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center top;
}

.sev-hero__media-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 37, 64, .28));
  pointer-events: none;
}

.sev-hero__type,
.sev-hero__status {
  position: absolute;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
}

.sev-hero__type {
  top: 16px;
  left: 16px;
  background: rgba(0, 0, 255, .92);
}

.sev-hero__status {
  top: 16px;
  right: 16px;
  background: rgba(10, 37, 64, .78);
}

.sev-hero__status--live {
  background: rgba(0, 0, 255, .88);
}

.sev-hero__copy {
  animation: sev-rise .8s var(--sev-ease) .08s both;
}

.sev-hero__kicker {
  margin: 0 0 10px;
  color: var(--sev-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sev-hero__title {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--sev-ink);
}

.sev-hero__lead {
  margin: 0 0 24px;
  color: var(--sev-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 34rem;
}

.sev-facts {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sev-facts li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
}

.sev-facts__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--sev-wash);
  border: 1px solid var(--sev-line);
  color: var(--sev-blue);
}

.sev-facts strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sev-muted);
  margin-bottom: 2px;
}

.sev-facts span {
  font-size: 15px;
  font-weight: 600;
  color: var(--sev-ink);
}

.sev-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sev-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.sev-btn--primary {
  background: var(--sev-blue);
  color: #fff !important;
  box-shadow: 0 12px 28px -16px rgba(0, 0, 255, .55);
}

.sev-btn--primary:hover {
  background: #0000cc;
  transform: translateY(-1px);
}

.sev-btn--ghost {
  border: 1.5px solid var(--sev-ink);
  color: var(--sev-ink) !important;
  background: #fff;
}

.sev-btn--ghost:hover {
  background: var(--sev-ink);
  color: #fff !important;
}

.sev-btn--block {
  width: 100%;
  margin-top: 8px;
}

.sev-body {
  padding: 28px 0 72px;
  background: #fff;
}

.sev-body__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .7fr);
  gap: 36px;
  align-items: start;
}

.sev-content__head h2 {
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -.02em;
}

.sev-content__prose {
  color: var(--sev-muted);
  font-size: 16px;
  line-height: 1.8;
}

.sev-content__prose > *:first-child { margin-top: 0; }

.sev-content__prose p { margin: 0 0 1.1em; }

.sev-content__prose h2,
.sev-content__prose h3 {
  color: var(--sev-ink);
  margin: 1.4em 0 .6em;
}

.sev-content__prose a { color: var(--sev-blue); }

.sev-panel {
  position: sticky;
  top: 96px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--sev-line);
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(0, 0, 255, .06), transparent 55%),
    #fff;
  box-shadow: 0 18px 40px -30px rgba(10, 37, 64, .3);
}

.sev-panel__kicker {
  margin: 0 0 16px;
  color: var(--sev-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sev-panel__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--sev-line);
}

.sev-panel__row:last-of-type { margin-bottom: 14px; }

.sev-panel__row span {
  font-size: 12px;
  color: var(--sev-muted);
}

.sev-panel__row strong {
  font-size: 14px;
  font-weight: 650;
  color: var(--sev-ink);
  line-height: 1.4;
}

.sev-related {
  padding: 56px 0 80px;
  background:
    radial-gradient(ellipse 45% 50% at 85% 10%, rgba(0, 0, 255, .05), transparent 55%),
    linear-gradient(180deg, var(--sev-wash) 0%, #ffffff 55%);
}

.sev-related__head { margin-bottom: 28px; }

.sev-related__kicker {
  margin: 0 0 8px;
  color: var(--sev-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sev-related__head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -.02em;
}

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

.sev-mini {
  --sev-i: 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--sev-line);
  background: #fff;
  box-shadow: 0 16px 36px -28px rgba(10, 37, 64, .35);
  transition: transform .35s var(--sev-ease), box-shadow .35s ease, border-color .35s ease;
  animation: sev-rise .7s var(--sev-ease) both;
  animation-delay: calc(var(--sev-i) * 80ms);
}

.sev-mini:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 255, .22);
  box-shadow: 0 24px 44px -26px rgba(0, 0, 255, .28);
}

.sev-mini__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sev-wash);
}

.sev-mini__media--empty {
  background:
    radial-gradient(ellipse 55% 50% at 35% 35%, rgba(0, 0, 255, .12), transparent 62%),
    linear-gradient(145deg, #eef2ff, #e4ebf7);
}

.sev-mini__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .8s var(--sev-ease);
}

.sev-mini:hover .sev-mini__media img { transform: scale(1.05); }

.sev-mini__type {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 255, .92);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sev-mini__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 16px;
}

.sev-mini__when {
  font-size: 12px;
  font-weight: 650;
  color: var(--sev-blue);
}

.sev-mini__body strong {
  color: var(--sev-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.sev-mini__body em {
  font-style: normal;
  font-size: 12px;
  color: var(--sev-muted);
}

.sev-mini__body em i {
  margin-right: 5px;
  color: var(--sev-blue);
}

.sev-related__foot {
  margin-top: 28px;
  text-align: center;
}

.sev-related__foot a {
  color: var(--sev-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.sev-related__foot a:hover { color: var(--sev-blue); }

@keyframes sev-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 991px) {
  .sev-hero__grid,
  .sev-body__grid,
  .sev-related__grid {
    grid-template-columns: 1fr;
  }

  .sev-hero__media,
  .sev-hero__media img {
    min-height: 260px;
  }

  .sev-panel { position: static; }
}

@media (max-width: 640px) {
  .sev-hero { padding: 28px 0 40px; }

  .sev-related__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sev-hero__media,
  .sev-hero__copy,
  .sev-mini,
  .sev-mini__media img {
    animation: none !important;
    transition: none !important;
  }
}
