:root {
  --ivh-bg: #f2efe6;
  --ivh-surface: #fffdf8;
  --ivh-ink: #0b0b0b;
  --ivh-muted: #66625b;
  --ivh-line: #d8d1c4;
  --ivh-accent: #e9322d;
  --ivh-blue: #163b57;
  --ivh-green: #245f4f;
  --ivh-gold: #b68939;
}

.ivh-archive-head,
.ivh-tax-nav,
.ivh-featured-row,
.ivh-vertical-strip,
.ivh-hub,
.ivh-single,
.ivh-related {
  max-width: var(--max, 1240px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.ivh-eyebrow,
.ivh-section-heading p,
.ivh-kicker {
  margin: 0 0 8px;
  color: var(--ivh-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ivh-archive-head {
  padding-top: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ivh-line);
}

.ivh-archive-head h1,
.ivh-single-head h1 {
  max-width: 1000px;
  margin: 0;
  color: var(--ivh-ink);
  font-family: Futura, "Futura PT", "Avenir Next", Avenir, "Century Gothic", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(38px, 5.8vw, 76px);
  line-height: .96;
  letter-spacing: 0;
}

.ivh-archive-description {
  max-width: 720px;
  margin-top: 16px;
  color: var(--ivh-muted);
  font-size: 18px;
}

.ivh-tax-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 18px;
  overflow-x: auto;
}

.ivh-tax-nav a {
  flex: 0 0 auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--ivh-line);
  border-radius: 8px;
  background: rgba(255, 253, 248, .78);
  color: var(--ivh-ink);
  font-weight: 800;
}

.ivh-tax-nav a:hover {
  border-color: var(--ivh-accent);
  color: var(--ivh-accent);
}

.ivh-featured-row {
  margin-top: 10px;
}

.ivh-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ivh-line);
}

.ivh-section-heading h2 {
  margin: 0;
  color: var(--ivh-ink);
  font-family: Futura, "Futura PT", "Avenir Next", Avenir, "Century Gothic", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1;
  letter-spacing: 0;
}

.ivh-section-heading--slider {
  align-items: center;
  margin-bottom: 14px;
}

.ivh-slider-controls {
  display: flex;
  gap: 8px;
}

.ivh-slider-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--ivh-line);
  border-radius: 999px;
  background: var(--ivh-surface);
  color: var(--ivh-ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.ivh-slider-button:hover {
  border-color: var(--ivh-accent);
  color: var(--ivh-accent);
}

.ivh-hub {
  margin-top: 42px;
}

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

.ivh-vertical-strip {
  margin-top: 18px;
}

.ivh-vertical-slider {
  display: grid;
  grid-auto-columns: clamp(168px, 19vw, var(--ivh-portrait-width, 230px));
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  padding: 2px 2px 14px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.ivh-vertical-slider .ivh-card {
  scroll-snap-align: start;
}

.ivh-card {
  min-width: 0;
  background: var(--ivh-surface);
  border: 1px solid var(--ivh-line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(12, 12, 12, .06);
}

.ivh-card--hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  min-height: 430px;
  background: #0b0b0b;
  color: #fff;
  border-color: #0b0b0b;
  box-shadow: 0 24px 70px rgba(12, 12, 12, .16);
}

.ivh-card-media {
  position: relative;
  display: block;
  aspect-ratio: var(--ivh-card-ratio, 16 / 9);
  overflow: hidden;
  background: #151515;
  color: #fff;
}

.ivh-card--portrait {
  background: #0b0b0b;
  color: #fff;
  border-color: rgba(255, 255, 255, .12);
}

.ivh-card--portrait .ivh-card-media {
  aspect-ratio: 9 / 16;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .72)),
    #111;
}

.ivh-section-link {
  color: var(--ivh-ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.ivh-section-link:hover {
  color: var(--ivh-accent);
}

.ivh-series-strip .ivh-vertical-slider {
  grid-auto-columns: clamp(220px, 24vw, 320px);
}

.ivh-card--portrait .ivh-card-media::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .58));
  pointer-events: none;
}

.ivh-card--portrait .ivh-card-body {
  padding: 13px;
}

.ivh-card--portrait .ivh-kicker {
  color: #ffb4b1;
  font-size: 11px;
}

.ivh-card--portrait h3 {
  font-size: 16px;
  line-height: 1.12;
}

.ivh-card--portrait p {
  display: none;
}

.ivh-card--portrait .ivh-play-mark {
  width: 40px;
  height: 40px;
  left: 12px;
  bottom: 12px;
}

.ivh-card--portrait .ivh-play-mark::before {
  left: 16px;
  top: 12px;
  border-top-width: 8px;
  border-bottom-width: 8px;
  border-left-width: 12px;
}

.ivh-card--hero .ivh-card-media {
  min-height: 430px;
  aspect-ratio: 4 / 5;
}

.ivh-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .22s ease;
}

.ivh-card:hover .ivh-card-media img {
  transform: scale(1.03);
}

.ivh-card-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(233, 50, 45, .92), rgba(22, 59, 87, .88)),
    #151515;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.ivh-play-mark {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ivh-accent);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}

.ivh-play-mark::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 14px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
}

.ivh-duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, .78);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.ivh-card-body {
  padding: 16px;
}

.ivh-card--hero .ivh-card-body {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 28px;
}

.ivh-card h3 {
  margin: 0;
  color: inherit;
  font-family: Futura, "Futura PT", "Avenir Next", Avenir, "Century Gothic", ui-sans-serif, system-ui, sans-serif;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: 0;
}

.ivh-card--hero h3 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1;
}

.ivh-card p {
  margin: 12px 0 0;
  color: var(--ivh-muted);
}

.ivh-card--hero p {
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
}

.ivh-card--hero .ivh-kicker {
  color: #fff;
}

.ivh-player-wrap {
  margin: 0 0 30px;
}

.ivh-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #0b0b0b;
  box-shadow: 0 20px 55px rgba(12, 12, 12, .15);
}

.ivh-player iframe,
.ivh-player video,
.ivh-player object,
.ivh-player embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ivh-player-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 28px;
  color: #fff;
  font-weight: 900;
  text-align: center;
}

.ivh-player-wrap figcaption {
  margin-top: 8px;
  color: var(--ivh-muted);
  font-size: 13px;
}

.ivh-single {
  max-width: var(--max, 1240px);
}

.ivh-single-head {
  max-width: 100%;
  margin-bottom: 18px;
}

.ivh-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.ivh-single-meta span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--ivh-line);
  border-radius: 8px;
  background: rgba(255, 253, 248, .76);
  color: var(--ivh-muted);
  font-size: 13px;
  font-weight: 800;
}

.ivh-single-body {
  display: grid;
  grid-template-columns: minmax(320px, .95fr) minmax(300px, .75fr);
  gap: 32px;
  align-items: start;
  margin-top: 18px;
}

.ivh-single-content {
  min-width: 0;
  margin-top: 18px;
}

.ivh-single-content > * {
  max-width: 100%;
}

.ivh-single-content .ivh-player-wrap {
  max-width: 100%;
}

.ivh-single-player {
  position: sticky;
  top: 22px;
  min-width: 0;
}

.admin-bar .ivh-single-player {
  top: 54px;
}

.ivh-single-side {
  min-width: 0;
}

.ivh-single-side .ivh-single-head h1 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
}

.ivh-single-side section {
  padding: 18px;
  border: 1px solid var(--ivh-line);
  border-radius: 8px;
  background: var(--ivh-surface);
}

.ivh-single--classic .ivh-single-body {
  grid-template-columns: 1fr 320px;
}

.ivh-single--classic .ivh-single-player {
  position: static;
}

.ivh-single-side h2 {
  margin: 0 0 14px;
  font-family: Futura, "Futura PT", "Avenir Next", Avenir, "Century Gothic", ui-sans-serif, system-ui, sans-serif;
  font-size: 24px;
}

.ivh-single-side dl {
  margin: 0;
}

.ivh-single-side dt {
  margin-top: 12px;
  color: var(--ivh-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ivh-single-side dd {
  margin: 2px 0 0;
  color: var(--ivh-ink);
  font-weight: 800;
}

.ivh-transcript {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--ivh-line);
}

.ivh-transcript h2 {
  margin: 0 0 14px;
  font-family: Futura, "Futura PT", "Avenir Next", Avenir, "Century Gothic", ui-sans-serif, system-ui, sans-serif;
  font-size: 32px;
}

.ivh-empty {
  max-width: var(--max, 1240px);
  margin: 36px auto;
  padding: 0 20px;
  color: var(--ivh-muted);
  font-size: 18px;
}

@media (max-width: 1023px) {
  .ivh-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ivh-card--hero,
  .ivh-single-body {
    grid-template-columns: 1fr;
  }

  .ivh-card--hero .ivh-card-media {
    min-height: 300px;
    aspect-ratio: 9 / 16;
  }

  .ivh-single-player {
    position: static;
  }
}

@media (max-width: 680px) {
  .ivh-grid {
    grid-template-columns: 1fr;
  }

  .ivh-archive-head h1,
  .ivh-single-head h1 {
    font-size: clamp(36px, 13vw, 54px);
  }

  .ivh-vertical-slider {
    grid-auto-columns: minmax(154px, 42vw);
  }

  .ivh-card--hero {
    min-height: 0;
  }

  .ivh-card--hero .ivh-card-media {
    min-height: 220px;
  }

  .ivh-card--hero .ivh-card-body {
    padding: 20px;
  }

  .ivh-section-heading {
    display: block;
  }
}

.ivh-archive-head h1,
.ivh-single-head h1,
.ivh-section-heading h2,
.ivh-card h3,
.ivh-card--portrait h3,
.ivh-card--hero h3,
.ivh-single-side .ivh-single-head h1,
.ivh-single-side h2,
.ivh-transcript h2 {
  font-size: 2rem;
  line-height: 1.39;
}
