/* ==========================================================================
   NTV — Episodes
   Extracted from the Elementor HTML widget, plus the trending-list styles that
   used to be printed inline by the [ntv_trending] shortcode. Fonts are enqueued
   in functions.php, so no @import here.
   ========================================================================== */

.ntv-episodes {
  --ntv-red: #c8102e;
  --ntv-red-dk: #a50d26;
  --ntv-navy: #0e2a57;
  --ntv-dark: #0a1a33;
  --ntv-ink: #0e2a57;
  --ntv-gray: #5b6472;
  --ntv-soft: #8a92a0;
  --ntv-line: #e6e8ec;
  --ntv-chip: #e6e8ec;
  --ntv-radius: 0px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ntv-ink);
  line-height: 1.5;
  max-width: 1180px;
  margin: 0 auto;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.ntv-episodes * { box-sizing: border-box; }
.ntv-episodes a { text-decoration: none; color: inherit; }
.ntv-episodes img { display: block; max-width: 100%; }

.ntv-episodes h1,
.ntv-episodes h2,
.ntv-episodes h3 {
  font-family: "Archivo", "Inter", sans-serif;
  margin: 0;
  letter-spacing: -0.01em;
}

/* ========== BADGE ========== */

.ntv-episodes .ntv-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--ntv-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: var(--ntv-radius);
}

/* ========== BUTTONS ========== */

.ntv-episodes .ntv-btn {
  font-weight: 600;
  font-size: 14.5px;
  padding: 13px 22px;
  border-radius: var(--ntv-radius);
  transition: 0.15s;
  cursor: pointer;
  border: 1px solid transparent;
  display: inline-block;
}

.ntv-episodes .ntv-btn-dark { background: var(--ntv-navy); color: #fff; }
.ntv-episodes .ntv-btn-dark:hover { background: var(--ntv-dark); }
.ntv-episodes .ntv-btn-ghost { background: #fff; color: var(--ntv-navy); border-color: #c9ced6; }
.ntv-episodes .ntv-btn-ghost:hover { border-color: var(--ntv-navy); }

/* Banner set: red primary, solid white, and an outline for use on artwork. */
.ntv-episodes .ntv-btn-primary { background: var(--ntv-red); color: #fff; }
.ntv-episodes .ntv-btn-primary:hover { background: var(--ntv-red-dk); }

.ntv-episodes .ntv-btn-light { background: #fff; color: var(--ntv-navy); }
.ntv-episodes .ntv-btn-light:hover { background: #e6e8ec; }

.ntv-episodes .ntv-btn-outline {
  background: rgba(10, 26, 51, 0.35);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.ntv-episodes .ntv-btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

.ntv-episodes .ntv-btn:focus-visible {
  outline: 3px solid var(--ntv-red);
  outline-offset: 2px;
}

.ntv-episodes .ntv-btn-outline:focus-visible,
.ntv-episodes .ntv-btn-primary:focus-visible {
  outline-color: #fff;
}

/* ========== TOP BANNER ========== */

/* Static artwork, full-bleed inside the 1180px shell, no crop — the image sets
   its own height. The latest episode is laid over it, bottom left. */
.ntv-episodes .ntv-ep-banner {
  line-height: 0;
  background: var(--ntv-dark);
  position: relative;
}

.ntv-episodes .ntv-ep-banner img {
  width: 100%;
  height: auto;
}

.ntv-episodes .ntv-ep-banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 40px 34px 34px;
  line-height: 1.5;
  color: #fff;
  background: linear-gradient(
    to top,
    rgba(10, 26, 51, 0.94) 0%,
    rgba(10, 26, 51, 0.78) 38%,
    rgba(10, 26, 51, 0.22) 68%,
    rgba(10, 26, 51, 0) 88%
  );
}

.ntv-episodes .ntv-ep-banner-eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  color: #ff5c72;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.ntv-episodes .ntv-ep-banner-title {
  font-size: clamp(24px, 2.9vw, 40px);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  margin: 8px 0 0;
  max-width: 20ch;
}

.ntv-episodes .ntv-ep-banner-title a { color: inherit; transition: color 0.15s; }
.ntv-episodes .ntv-ep-banner-title a:hover { color: #ff5c72; }

.ntv-episodes .ntv-ep-banner-date {
  font-size: 13px;
  color: #c9d0db;
  margin: 8px 0 0;
}

/* Two lines max so a long excerpt can't push the buttons off the artwork. */
.ntv-episodes .ntv-ep-banner-desc {
  font-size: 15px;
  color: #dfe4ec;
  margin: 10px 0 0;
  max-width: 60ch;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ntv-episodes .ntv-ep-banner-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* ========== HERO (kept for the single-episode template) ========== */

.ntv-episodes .ntv-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 54px 26px 58px;
  background: #e6e8ec;
}

.ntv-episodes .ntv-hero-series {
  font-size: 13px;
  font-weight: 700;
  color: var(--ntv-red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 16px 0 0;
}

.ntv-episodes .ntv-hero h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.04;
  margin: 16px 0 18px;
  color: var(--ntv-navy);
}

.ntv-episodes .ntv-hero p {
  color: #3f4a5e;
  font-size: 16px;
  max-width: 430px;
  margin: 0 0 16px;
}

.ntv-episodes .ntv-hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 22px;
}

.ntv-episodes .ntv-hero-date,
.ntv-episodes .ntv-hero-dur { color: var(--ntv-soft); }
.ntv-episodes .ntv-hero-dot { color: #aeb5bf; }

.ntv-episodes .ntv-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* 16:9 to match the YouTube thumbnail source (1280x720) — a 4:3 box cropped
   the top and bottom off every frame. */
.ntv-episodes .ntv-hero-img {
  border-radius: var(--ntv-radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ntv-dark);
  box-shadow: 0 24px 50px -24px rgba(10, 26, 51, 0.5);
  position: relative;
}

.ntv-episodes .ntv-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ntv-episodes .ntv-hero:hover .ntv-hero-img img { transform: scale(1.02); }

/* ========== TICKER ========== */

/* Wraps rather than truncates: the schedule line is too long for one row on
   anything narrower than a desktop, and the old nowrap + ellipsis silently ate
   the end of it. */
.ntv-episodes .ntv-ticker {
  background: var(--ntv-dark);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  align-items: center;
  padding: 14px 26px;
  font-size: 13.5px;
}

.ntv-episodes .ntv-ticker .item {
  display: flex;
  gap: 10px;
  align-items: baseline;
  min-width: 0;
}

.ntv-episodes .ntv-ticker .tag {
  color: #f23a53;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}

.ntv-episodes .ntv-ticker .txt {
  color: #c9d0db;
  min-width: 0;
}

/* ========== BODY GRID ========== */

.ntv-episodes .ntv-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  padding: 46px 26px 70px;
}

.ntv-episodes .ntv-sechead {
  font-size: 26px;
  font-weight: 700;
  color: var(--ntv-navy);
  padding-bottom: 14px;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--ntv-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ========== EPISODE LIST ========== */

.ntv-episodes .ntv-ep-list {
  display: flex;
  flex-direction: column;
}

/* Thumb column widened from 148px so the 16:9 frame still reads at a glance. */
.ntv-episodes .ntv-ep-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--ntv-line);
  transition: background 0.15s;
}

.ntv-episodes .ntv-ep-card:first-of-type { padding-top: 4px; }
.ntv-episodes .ntv-ep-card:hover { background: rgba(14, 42, 87, 0.02); }

.ntv-episodes .ntv-ep-card:focus-visible {
  outline: 2px solid var(--ntv-red);
  outline-offset: 2px;
}

/* 16:9, matching the YouTube thumbnail. Was 1/1, which cropped both sides. */
.ntv-episodes .ntv-ep-card-thumb {
  border-radius: var(--ntv-radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #dde1e6;
  position: relative;
}

.ntv-episodes .ntv-ep-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ntv-episodes .ntv-ep-card:hover .ntv-ep-card-thumb img { transform: scale(1.04); }

.ntv-episodes .ntv-ep-card-thumb__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #dde1e6, #c9ced6);
}

.ntv-episodes .ntv-ep-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(200, 16, 46, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.ntv-episodes .ntv-ep-card:hover .ntv-ep-card-play,
.ntv-episodes .ntv-ep-card:focus-visible .ntv-ep-card-play { opacity: 1; }

.ntv-episodes .ntv-ep-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.ntv-episodes .ntv-meta {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ntv-episodes .ntv-meta .cat { color: var(--ntv-red); }
.ntv-episodes .ntv-meta .dot { color: #aeb5bf; margin: 0 7px; }
.ntv-episodes .ntv-meta .time { color: var(--ntv-soft); }

.ntv-episodes .ntv-ep-card h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 8px;
  color: var(--ntv-navy);
}

.ntv-episodes .ntv-ep-card:hover h3 { color: var(--ntv-red); }

.ntv-episodes .ntv-ep-card p {
  font-size: 14px;
  color: var(--ntv-gray);
  margin: 0;
  line-height: 1.55;
}

/* ========== EMPTY STATE ========== */

.ntv-episodes .ntv-ep-empty {
  text-align: center;
  padding: 60px 20px;
}

.ntv-episodes .ntv-ep-empty svg {
  color: var(--ntv-soft);
  margin: 0 auto 16px;
}

.ntv-episodes .ntv-ep-empty h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ntv-navy);
  margin: 0 0 10px;
}

.ntv-episodes .ntv-ep-empty p {
  font-size: 15px;
  color: var(--ntv-soft);
  margin: 0;
}

/* ========== VIEW ALL ========== */

.ntv-episodes .ntv-ep-loadmore {
  text-align: center;
  padding: 36px 0 0;
}

/* ========== SIDEBAR ========== */

.ntv-episodes .ntv-side > * + * { margin-top: 26px; }

.ntv-episodes .ntv-host {
  border: 1px solid var(--ntv-line);
  border-radius: var(--ntv-radius);
  padding: 20px;
}

.ntv-episodes .ntv-host-top {
  display: flex;
  gap: 13px;
  align-items: center;
}

.ntv-episodes .ntv-host-top img {
  width: 48px;
  height: 48px;
  border-radius: var(--ntv-radius);
  object-fit: cover;
  flex: 0 0 auto;
  background: var(--ntv-line);
}

.ntv-episodes .ntv-host-top .name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ntv-navy);
}

.ntv-episodes .ntv-host-top .role {
  font-size: 12px;
  color: var(--ntv-soft);
}

.ntv-episodes .ntv-host blockquote {
  margin: 14px 0;
  font-size: 13.5px;
  font-style: italic;
  color: #44506a;
  line-height: 1.55;
}

.ntv-episodes .ntv-follow {
  display: block;
  text-align: center;
  border: 1px solid #c9ced6;
  border-radius: var(--ntv-radius);
  padding: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ntv-navy);
  transition: 0.15s;
}

.ntv-episodes .ntv-follow:hover {
  background: var(--ntv-navy);
  color: #fff;
  border-color: var(--ntv-navy);
}

/* ========== LISTEN ON ========== */

.ntv-episodes .ntv-sub {
  background: var(--ntv-dark);
  color: #fff;
  border-radius: var(--ntv-radius);
  padding: 24px;
}

.ntv-episodes .ntv-sub .icon {
  width: 34px;
  height: 34px;
  border-radius: var(--ntv-radius);
  background: rgba(200, 16, 46, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f23a53;
  margin-bottom: 14px;
}

.ntv-episodes .ntv-sub h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ntv-episodes .ntv-sub p {
  font-size: 13.5px;
  color: #9aa4b5;
  margin: 0 0 16px;
  line-height: 1.5;
}

.ntv-episodes .ntv-sub-platforms {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ntv-episodes .ntv-sub-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #16294a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--ntv-radius);
  padding: 11px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  transition: 0.15s;
}

.ntv-episodes .ntv-sub-link:hover {
  background: #1d3560;
  border-color: rgba(255, 255, 255, 0.15);
}

.ntv-episodes .ntv-sub-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.ntv-episodes .ntv-sub-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.ntv-episodes .ntv-sub-link span { flex: 1; }

.ntv-episodes .ntv-sub-link .arrow {
  flex: 0 0 auto;
  color: #9aa4b5;
  font-size: 14px;
  transition: 0.15s;
}

.ntv-episodes .ntv-sub-link:hover .arrow {
  color: #fff;
  transform: translateX(3px);
}

/* ========== POPULAR / TRENDING ========== */

.ntv-episodes .ntv-trend h2 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ntv-navy);
}

.ntv-episodes .ntv-trend__empty {
  color: var(--ntv-soft);
  font-size: 13px;
  padding: 8px 0;
  margin: 0;
}

.ntv-episodes .ntv-trend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--ntv-line);
}

.ntv-episodes .ntv-trend-item:last-child { border-bottom: 0; }

/* 16:9 here too, so sidebar thumbs match the list. */
.ntv-episodes .ntv-trend-thumb {
  width: 72px;
  aspect-ratio: 16 / 9;
  height: auto;
  flex: 0 0 auto;
  object-fit: cover;
  background: #dde1e6;
}

.ntv-episodes .ntv-trend-thumb--empty {
  background: linear-gradient(135deg, #dde1e6, #c9ced6);
}

.ntv-episodes .ntv-trend-text {
  min-width: 0;
  display: block;
}

.ntv-episodes .ntv-trend-item .t {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ntv-navy);
}

.ntv-episodes .ntv-trend-item:hover .t { color: var(--ntv-red); }

.ntv-episodes .ntv-trend-item .s {
  display: block;
  font-size: 12px;
  color: var(--ntv-soft);
  margin-top: 3px;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 980px) {
  .ntv-episodes .ntv-body { grid-template-columns: 1fr; }
  .ntv-episodes .ntv-hero { grid-template-columns: 1fr; }
  .ntv-episodes .ntv-hero h1 { font-size: 38px; }
  .ntv-episodes .ntv-ep-banner-content { padding: 30px 24px 26px; }
  .ntv-episodes .ntv-ep-banner-desc { -webkit-line-clamp: 2; }
}

/* The artwork gets too short to hold the copy here, so the overlay drops out
   of position and sits under the image on the same navy field. */
@media (max-width: 860px) {
  .ntv-episodes .ntv-ep-banner-content {
    position: static;
    background: var(--ntv-dark);
    padding: 26px 22px 28px;
  }

  .ntv-episodes .ntv-ep-banner-title { max-width: none; }
  .ntv-episodes .ntv-ep-banner-desc { -webkit-line-clamp: 4; }
}

@media (max-width: 700px) {
  .ntv-episodes .ntv-ep-card { grid-template-columns: 160px 1fr; gap: 16px; }
}

@media (max-width: 560px) {
  .ntv-episodes .ntv-ep-card { grid-template-columns: 1fr; }
  .ntv-episodes .ntv-ticker { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ntv-episodes .ntv-hero h1 { font-size: 31px; }
  .ntv-episodes .ntv-ep-banner-content { padding: 22px 18px 24px; }
  .ntv-episodes .ntv-ep-banner-actions { gap: 10px; }
  .ntv-episodes .ntv-ep-banner-actions .ntv-btn { padding: 11px 16px; font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .ntv-episodes .ntv-hero-img img,
  .ntv-episodes .ntv-ep-card-thumb img,
  .ntv-episodes .ntv-ep-card,
  .ntv-episodes .ntv-btn,
  .ntv-episodes .ntv-ep-banner-title a,
  .ntv-episodes .ntv-follow,
  .ntv-episodes .ntv-sub-link,
  .ntv-episodes .ntv-sub-link .arrow { transition: none; }

  .ntv-episodes .ntv-hero:hover .ntv-hero-img img,
  .ntv-episodes .ntv-ep-card:hover .ntv-ep-card-thumb img,
  .ntv-episodes .ntv-sub-link:hover .arrow { transform: none; }
}

/* ========== ARCHIVE PAGE ========== */

.ntv-episodes .ntv-archive-head {
  padding: 46px 26px 0;
}

.ntv-episodes .ntv-archive-back {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ntv-soft);
  margin-bottom: 14px;
  transition: color 0.15s;
}

.ntv-episodes .ntv-archive-back:hover { color: var(--ntv-red); }

.ntv-episodes .ntv-archive-head h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.08;
  color: var(--ntv-navy);
  margin: 0 0 8px;
}

.ntv-episodes .ntv-archive-head p {
  font-size: 15px;
  color: var(--ntv-gray);
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ntv-line);
}

.ntv-episodes .ntv-archive-body {
  padding: 8px 26px 70px;
}

@media (max-width: 560px) {
  .ntv-episodes .ntv-archive-head { padding: 32px 18px 0; }
  .ntv-episodes .ntv-archive-head h1 { font-size: 30px; }
  .ntv-episodes .ntv-archive-body { padding: 8px 18px 54px; }
}

/* ========== ARCHIVE: transparent, no sheet ========== */

.ntv-archive {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin-top: 0;
  margin-bottom: 0;
}