/* Video detail page CSS
   Load this file after the immutable public common.css file. */

.nw-video-page {
  --nw-video-primary-dark: #d6a900;
  --nw-video-ink: var(--nw-dark);
  --nw-video-ink-soft: #374151;
  --nw-video-surface: var(--nw-white);
  --nw-video-accent-soft: #f4e6a2;
  --nw-video-radius-lg: 24px;
  --nw-video-radius-md: 16px;
  --nw-video-shadow: 0 18px 55px rgba(15, 23, 42, 0.09);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(252, 200, 3, 0.15), transparent 24rem),
    var(--nw-bg);
  color: var(--nw-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.nw-video-page img,
.nw-video-page video,
.nw-video-page iframe {
  display: block;
}

.nw-video-page button,
.nw-video-page input,
.nw-video-page textarea,
.nw-video-page select {
  font: inherit;
}

.nw-video-page button,
.nw-video-page a {
  -webkit-tap-highlight-color: transparent;
}

.nw-video-page :focus-visible {
  outline: 3px solid rgba(252, 200, 3, 0.65);
  outline-offset: 3px;
}

.nw-video-page .nw-site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(230, 232, 236, 0.85);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}

.nw-video-page .nw-header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nw-video-page .nw-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.nw-video-page .nw-logo-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: var(--nw-primary);
  color: var(--nw-video-ink);
  box-shadow: 0 8px 24px rgba(252, 200, 3, 0.28);
}

.nw-video-page .nw-logo-mark svg {
  width: 23px;
  height: 23px;
}

.nw-video-page .nw-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #374151;
  font-size: 14px;
  font-weight: 700;
}

.nw-video-page .nw-nav a {
  transition: color 0.2s ease;
}

.nw-video-page .nw-nav a:hover {
  color: var(--nw-dark);
}

.nw-video-page .nw-header-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--nw-primary);
  color: var(--nw-video-ink);
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 10px 28px rgba(252, 200, 3, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nw-video-page .nw-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(252, 200, 3, 0.34);
}

.nw-video-page .nw-breadcrumb {
  padding: 28px 0 0;
  color: var(--nw-muted);
  font-size: 13px;
}

.nw-video-page .nw-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nw-video-page .nw-breadcrumb li:not(:last-child)::after {
  margin-left: 8px;
  color: #a6adb8;
  content: "/";
}

.nw-video-page .nw-hero {
  padding: 42px 0 40px;
}

.nw-video-page .nw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(252, 200, 3, 0.42);
  border-radius: 999px;
  background: rgba(252, 200, 3, 0.1);
  color: #5d4a00;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nw-video-page .nw-eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nw-primary);
  box-shadow: 0 0 0 5px rgba(252, 200, 3, 0.2);
  content: "";
}

.nw-video-page .nw-hero h1 {
  margin: 0;
  color: var(--nw-video-ink);
  font-size: 36px;
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.nw-video-page .nw-hero h1 span {
  position: relative;
  white-space: nowrap;
}

.nw-video-page .nw-hero h1 span::after {
  position: absolute;
  z-index: -1;
  right: -0.04em;
  bottom: 0.08em;
  left: -0.04em;
  height: 0.26em;
  border-radius: 999px;
  background: var(--nw-primary);
  content: "";
}

.nw-video-page .nw-hero-copy {
  margin: 22px 0 0;
  color: #4b5563;
  font-size: 16px;
}

.nw-video-page .nw-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 24px;
  color: var(--nw-muted);
  font-size: 13px;
  font-weight: 650;
}

.nw-video-page .nw-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nw-video-page .nw-meta-item svg {
  width: 16px;
  height: 16px;
  color: #8a7000;
}

.nw-video-page .nw-video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
  padding-bottom: 56px;
}

.nw-video-page .nw-video-card {
  overflow: hidden;
  border: 1px solid #e2e5e9;
  border-radius: var(--nw-video-radius-lg);
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(31, 41, 55, 0.11);
}

.nw-video-page .nw-player-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 12px;
  background: radial-gradient(circle at 7% 10%, rgba(252, 200, 3, 0.24), transparent 28%),
linear-gradient(135deg, #fffbea 0%, #f4f5f7 52%, #eceff2 100%);
}

.nw-video-page .nw-player-wrap::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 92px;
  height: 92px;
  border: 18px solid rgba(252, 200, 3, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.nw-video-page .nw-player-wrap video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 16px;
  object-fit: contain;
  background: #eef1f4;
  box-shadow: 0 12px 32px rgba(31, 41, 55, 0.12);
}

.nw-video-page .nw-player-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px;
  border-top: 1px solid #e7e9ed;
  background: #ffffff;
  color: #667085;
  font-size: 12px;
}

.nw-video-page .nw-player-footer strong {
  color: #1f2937;
}

.nw-video-page .nw-share-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid #e2b400;
  border-radius: 999px;
  background: var(--nw-primary);
  color: #171717;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(252, 200, 3, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nw-video-page .nw-share-button:hover {
  transform: translateY(-1px);
  background: #ffd52d;
  box-shadow: 0 10px 24px rgba(252, 200, 3, 0.30);
}

.nw-video-page .nw-sidebar {
  display: grid;
  gap: 18px;
}

.nw-video-page .nw-panel {
  border: 1px solid var(--nw-border);
  border-radius: var(--nw-video-radius-md);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--nw-video-shadow);
}

.nw-video-page .nw-panel-header {
  padding: 20px 20px 14px;
}

.nw-video-page .nw-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--nw-video-ink);
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.nw-video-page .nw-panel-title-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--nw-primary);
  color: var(--nw-video-ink);
}

.nw-video-page .nw-panel-title-icon svg {
  width: 18px;
  height: 18px;
}

.nw-video-page .nw-chapters {
  display: grid;
  gap: 8px;
  padding: 0 12px 14px;
}

.nw-video-page .nw-chapter {
  display: grid;
  width: 100%;
  grid-template-columns: 54px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--nw-text);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nw-video-page .nw-chapter:hover,
.nw-video-page .nw-chapter.is-active {
  background: #fff8d8;
  transform: translateX(2px);
}

.nw-video-page .nw-chapter-time {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(214, 169, 0, 0.24);
  background: #fff4bd;
  color: #5d4a00;
  font-size: 11px;
  font-weight: 850;
}

.nw-video-page .nw-chapter-copy strong {
  display: block;
  overflow: hidden;
  color: var(--nw-video-ink);
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nw-video-page .nw-chapter-copy span {
  display: block;
  margin-top: 3px;
  color: var(--nw-muted);
  font-size: 11px;
}

.nw-video-page .nw-chapter svg {
  width: 16px;
  height: 16px;
  color: #7f8793;
}

.nw-video-page .nw-facts {
  display: grid;
  gap: 0;
  padding: 2px 20px 18px;
}

.nw-video-page .nw-fact {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #eceef1;
  font-size: 12px;
}

.nw-video-page .nw-fact dt {
  color: var(--nw-muted);
  font-weight: 650;
}

.nw-video-page .nw-fact dd {
  margin: 0;
  color: var(--nw-video-ink);
  font-weight: 800;
  text-align: right;
}

.nw-video-page .nw-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: start;
  padding: 12px 0 78px;
}

.nw-video-page .nw-article {
  min-width: 0;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--nw-border);
  border-radius: var(--nw-video-radius-lg);
  background: var(--nw-video-surface);
  box-shadow: var(--nw-video-shadow);
}

.nw-video-page .nw-article h2,
.nw-video-page .nw-article h3 {
  color: var(--nw-video-ink);
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.nw-video-page .nw-article h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 42px);
}

.nw-video-page .nw-article h3 {
  margin: 36px 0 12px;
  font-size: 23px;
}

.nw-video-page .nw-article p {
  margin: 0 0 18px;
  color: #4b5563;
  font-size: 16px;
}

.nw-video-page .nw-highlight-box {
  position: relative;
  overflow: hidden;
  margin: 28px 0;
  padding: 24px 26px 24px 30px;
  border-radius: 16px;
  background: #fff8d8;
}

.nw-video-page .nw-highlight-box::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--nw-primary);
  content: "";
}

.nw-video-page .nw-highlight-box strong {
  display: block;
  margin-bottom: 5px;
  color: var(--nw-video-ink);
  font-size: 17px;
}

.nw-video-page .nw-highlight-box p {
  margin: 0;
  color: #695900;
  font-size: 14px;
}

.nw-video-page .nw-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.nw-video-page .nw-feature {
  padding: 18px;
  border: 1px solid var(--nw-border);
  border-radius: 14px;
  background: #fafafa;
}

.nw-video-page .nw-feature-icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 11px;
  background: var(--nw-primary);
  color: var(--nw-video-ink);
}

.nw-video-page .nw-feature-icon svg {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nw-video-page .nw-feature strong {
  display: block;
  margin-bottom: 5px;
  color: var(--nw-video-ink);
  font-size: 14px;
}

.nw-video-page .nw-feature > span:not(.nw-feature-icon) {
  display: block;
  color: var(--nw-muted);
  font-size: 12px;
  line-height: 1.55;
}

.nw-video-page .nw-article-aside {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 18px;
}

.nw-video-page .nw-contact-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--nw-border);
  border-radius: var(--nw-video-radius-lg);
  background: linear-gradient(145deg, #fffdf3 0%, #f3f4f6 100%);
  color: var(--nw-text);
  box-shadow: var(--nw-video-shadow);
}

.nw-video-page .nw-contact-card::after {
  position: absolute;
  top: -84px;
  right: -96px;
  width: 250px;
  height: 250px;
  border: 42px solid rgba(252, 200, 3, 0.92);
  border-radius: 50%;
  content: "";
}

.nw-video-page .nw-contact-card > * {
  position: relative;
  z-index: 1;
}

.nw-video-page .nw-contact-card small {
  color: var(--nw-primary);
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nw-video-page .nw-contact-card h2 {
  max-width: 250px;
  margin: 12px 0 10px;
  color: var(--nw-video-ink);
  font-size: 29px;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.nw-video-page .nw-contact-card p {
  margin: 0 0 22px;
  color: var(--nw-muted);
  font-size: 13px;
}

.nw-video-page .nw-contact-card a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--nw-primary);
  color: var(--nw-video-ink);
  font-size: 13px;
  font-weight: 850;
}

.nw-video-page .nw-related {
  padding: 76px 0 88px;
  background: #fff;
}

.nw-video-page .nw-section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  text-align: center;
}

.nw-video-page .nw-section-heading h2 {
  margin: 0;
  color: var(--nw-video-ink);
  font-size: clamp(30px, 3.8vw, 50px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.nw-video-page .nw-section-heading p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--nw-muted);
  font-size: 14px;
}

.nw-video-page .nw-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.nw-video-page .nw-related-card {
  overflow: hidden;
  border: 1px solid var(--nw-border);
  border-radius: 18px;
  background: #fff;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.nw-video-page .nw-related-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--nw-video-shadow);
}

.nw-video-page .nw-related-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(145deg, #eef0f3 0%, #dde2e7 100%);
}

.nw-video-page .nw-related-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.nw-video-page .nw-related-card:hover img {
  opacity: 0.88;
}

.nw-video-page .nw-related-play {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--nw-primary);
  color: var(--nw-video-ink);
  box-shadow: 0 10px 24px rgba(63, 72, 84, 0.24);
}

.nw-video-page .nw-related-play svg {
  width: 20px;
  height: 20px;
}

.nw-video-page .nw-related-title {
  display: -webkit-box;
  overflow: hidden;
  min-height: 52px;
  margin: 0;
  padding: 18px 18px 0;
  color: var(--nw-video-ink);
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.nw-video-page .nw-related-info {
  padding: 10px 18px 18px;
}

.nw-video-page .nw-related-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.nw-video-page .nw-related-tags span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid rgba(214, 169, 0, 0.24);
  border-radius: 999px;
  background: rgba(252, 200, 3, 0.12);
  color: #725d00;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.nw-video-page .nw-related-meta {
  display: flex;
  justify-content: space-between;
  color: var(--nw-muted);
  font-size: 11px;
}

.nw-video-page .nw-related-action {
  color: var(--nw-video-ink);
  font-weight: 750;
  transition: color 0.2s ease;
}

.nw-video-page .nw-related-action:hover,
.nw-video-page .nw-related-action:focus-visible {
  color: #8a7000;
}

.nw-video-page .nw-site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--nw-border);
  background: #eef1f4;
  color: var(--nw-muted);
  font-size: 12px;
}

.nw-video-page .nw-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nw-video-page .nw-footer-brand {
  color: var(--nw-video-ink);
  font-weight: 850;
}

.nw-video-page .nw-toast {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  max-width: min(360px, calc(100% - 48px));
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--nw-border);
  background: var(--nw-white);
  color: var(--nw-video-ink);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 18px 42px rgba(63, 72, 84, 0.24);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.nw-video-page .nw-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet layout: preserve the desktop visual system while reducing column widths. */

@media (max-width: 1180px) {
  .nw-video-page .nw-video-layout,
   .nw-video-page .nw-main-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .nw-video-page .nw-nav {
    display: none;
  }
}

/* Small tablets: stack the main columns but retain generous card spacing. */

@media (max-width: 900px) {
  .nw-video-page .nw-video-layout,
   .nw-video-page .nw-main-grid {
    grid-template-columns: 1fr;
  }

  .nw-video-page .nw-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nw-video-page .nw-article-aside {
    position: static;
  }

  .nw-video-page .nw-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nw-video-page .nw-section-heading {
    align-items: start;
    flex-direction: column;
  }
}

/* Phone layout is designed separately rather than scaled down from desktop.
      The player becomes edge-to-edge inside the card, controls become full-width,
      and content cards use tighter radii, spacing, and type sizes. */

@media (max-width: 680px) {
  .nw-video-page {
    --nw-video-radius-lg: 16px;
    --nw-video-radius-md: 14px;
    --nw-video-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
    background:
      radial-gradient(circle at 100% 3%, rgba(252, 200, 3, 0.12), transparent 16rem),
      var(--nw-bg);
    line-height: 1.58;
  }

  .nw-video-page .nw-site-header {
    position: relative;
    backdrop-filter: none;
    background: #ffffff;
  }

  .nw-video-page .nw-header-inner {
    min-height: 62px;
    gap: 10px;
  }

  .nw-video-page .nw-logo {
    gap: 9px;
    font-size: 17px;
  }

  .nw-video-page .nw-logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .nw-video-page .nw-header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 11px;
    box-shadow: none;
  }

  .nw-video-page .nw-breadcrumb {
    overflow: hidden;
    padding-top: 16px;
    font-size: 11px;
    white-space: nowrap;
  }

  .nw-video-page .nw-breadcrumb ol {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .nw-video-page .nw-breadcrumb ol::-webkit-scrollbar {
    display: none;
  }

  .nw-video-page .nw-breadcrumb li:not(:last-child)::after {
    margin-left: 6px;
  }

  .nw-video-page .nw-hero {
    padding: 24px 0 22px;
  }

  .nw-video-page .nw-eyebrow {
    margin-bottom: 12px;
    padding: 6px 10px;
    font-size: 10px;
  }

  .nw-video-page .nw-hero h1 {
    max-width: 100%;
    font-size: clamp(31px, 9.5vw, 42px);
    letter-spacing: -0.045em;
    line-height: 1.08;
    text-wrap: wrap;
  }

  .nw-video-page .nw-hero h1 span {
    white-space: normal;
  }

  .nw-video-page .nw-hero h1 span::after {
    bottom: 0.05em;
    height: 0.2em;
  }

  .nw-video-page .nw-hero-copy {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.65;
  }

  .nw-video-page .nw-meta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 9px 14px;
    margin-top: 16px;
    font-size: 11px;
  }

  .nw-video-page .nw-meta-item:last-child {
    grid-column: 1 / -1;
  }

  .nw-video-page .nw-video-layout {
    gap: 14px;
    padding-bottom: 34px;
  }

  .nw-video-page .nw-video-card,
   .nw-video-page .nw-panel,
   .nw-video-page .nw-article,
   .nw-video-page .nw-contact-card,
   .nw-video-page .nw-related-card {
    border-radius: var(--nw-video-radius-lg);
  }

  .nw-video-page .nw-video-card {
    overflow: hidden;
    box-shadow: var(--nw-video-shadow);
  }

  .nw-video-page .nw-player-wrap {
    aspect-ratio: 16 / 9;
    padding: 0;
    background: #eef1f4;
  }

  .nw-video-page .nw-player-wrap::after {
    display: none;
  }

  .nw-video-page .nw-player-wrap video {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: #eef1f4;
    box-shadow: none;
  }

  .nw-video-page .nw-player-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 13px 14px 14px;
    font-size: 11px;
    line-height: 1.5;
  }

  .nw-video-page .nw-share-button {
    width: 100%;
    min-height: 42px;
    border-radius: 10px;
    box-shadow: none;
  }

  .nw-video-page .nw-sidebar {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .nw-video-page .nw-panel-header {
    padding: 16px 16px 10px;
  }

  .nw-video-page .nw-panel-title {
    gap: 9px;
    font-size: 15px;
  }

  .nw-video-page .nw-panel-title-icon {
    width: 31px;
    height: 31px;
    border-radius: 9px;
  }

  .nw-video-page .nw-chapters {
    gap: 5px;
    padding: 0 8px 10px;
  }

  .nw-video-page .nw-chapter {
    grid-template-columns: 48px minmax(0, 1fr) 16px;
    gap: 10px;
    padding: 11px 9px;
    border-radius: 10px;
  }

  .nw-video-page .nw-chapter:hover,
   .nw-video-page .nw-chapter.is-active {
    transform: none;
  }

  .nw-video-page .nw-chapter-time {
    min-height: 28px;
    border-radius: 7px;
    background: #f4e6a2;
    color: #4d4000;
    font-size: 10px;
  }

  .nw-video-page .nw-chapter-copy strong {
    font-size: 12px;
  }

  .nw-video-page .nw-chapter-copy span {
    overflow: hidden;
    font-size: 10px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nw-video-page .nw-facts {
    padding: 0 16px 12px;
  }

  .nw-video-page .nw-fact {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 0;
    font-size: 11px;
  }

  .nw-video-page .nw-main-grid {
    gap: 16px;
    padding: 4px 0 46px;
  }

  .nw-video-page .nw-article {
    padding: 24px 18px;
  }

  .nw-video-page .nw-article h2 {
    margin-bottom: 14px;
    font-size: 28px;
    line-height: 1.15;
  }

  .nw-video-page .nw-article h3 {
    margin: 28px 0 10px;
    font-size: 21px;
  }

  .nw-video-page .nw-article p {
    margin-bottom: 15px;
    font-size: 14px;
  }

  .nw-video-page .nw-highlight-box {
    margin: 22px 0;
    padding: 18px 17px 18px 22px;
    border-radius: 12px;
  }

  .nw-video-page .nw-highlight-box::before {
    width: 5px;
  }

  .nw-video-page .nw-highlight-box strong {
    font-size: 15px;
  }

  .nw-video-page .nw-highlight-box p {
    font-size: 12px;
  }

  .nw-video-page .nw-feature-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .nw-video-page .nw-feature {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 12px;
    padding: 14px;
    border-radius: 12px;
  }

  .nw-video-page .nw-feature-icon {
    grid-row: 1 / span 2;
    width: 40px;
    height: 40px;
    margin: 0;
  }

  .nw-video-page .nw-feature strong {
    align-self: end;
    margin: 0 0 2px;
    font-size: 13px;
  }

  .nw-video-page .nw-feature > span:not(.nw-feature-icon) {
    font-size: 11px;
    line-height: 1.45;
  }

  .nw-video-page .nw-contact-card {
    padding: 22px 20px;
    background: linear-gradient(145deg, #fffdf3 0%, #f3f4f6 100%);
    color: var(--nw-text);
    box-shadow: var(--nw-video-shadow);
  }

  .nw-video-page .nw-contact-card::after {
    top: -72px;
    right: -82px;
    width: 190px;
    height: 190px;
    border-width: 32px;
    opacity: 0.65;
  }

  .nw-video-page .nw-contact-card small {
    color: #7a6200;
  }

  .nw-video-page .nw-contact-card h2 {
    max-width: 78%;
    margin: 10px 0 9px;
    color: var(--nw-video-ink);
    font-size: 24px;
  }

  .nw-video-page .nw-contact-card p {
    margin-bottom: 17px;
    color: #5f6875;
    font-size: 12px;
  }

  .nw-video-page .nw-contact-card a {
    width: 100%;
    min-height: 43px;
    border-radius: 10px;
  }

  .nw-video-page .nw-related {
    padding: 48px 0 54px;
  }

  .nw-video-page .nw-section-heading {
    gap: 10px;
    margin-bottom: 20px;
  }

  .nw-video-page .nw-section-heading h2 {
    font-size: 32px;
    line-height: 1.08;
  }

  .nw-video-page .nw-section-heading p {
    font-size: 12px;
  }

  .nw-video-page .nw-related-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .nw-video-page .nw-related-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-items: stretch;
  }

  .nw-video-page .nw-related-media {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .nw-video-page .nw-related-play {
    right: 9px;
    bottom: 9px;
    width: 36px;
    height: 36px;
    box-shadow: none;
  }

  .nw-video-page .nw-related-play svg {
    width: 16px;
    height: 16px;
  }

  .nw-video-page .nw-related-title {
    min-height: 0;
    padding: 14px 14px 0;
    font-size: 15px;
    line-height: 1.45;
  }

  .nw-video-page .nw-related-info {
    padding: 9px 14px 14px;
  }

  .nw-video-page .nw-related-tags {
    gap: 6px;
    margin-bottom: 10px;
  }

  .nw-video-page .nw-related-tags span {
    min-height: 24px;
    padding: 4px 8px;
    font-size: 9px;
  }

  .nw-video-page .nw-related-meta {
    gap: 8px;
    font-size: 10px;
  }

  .nw-video-page .nw-related-action {
    display: none;
  }

  .nw-video-page .nw-site-footer {
    padding: 26px 0;
    background: #eef1f4;
    color: #667085;
  }

  .nw-video-page .nw-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .nw-video-page .nw-footer-brand {
    color: var(--nw-video-ink);
  }

  .nw-video-page .nw-toast {
    right: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
    background: #ffffff;
    color: var(--nw-video-ink);
    border-color: var(--nw-border);
    box-shadow: var(--nw-video-shadow);
  }
}

/* Very small phones: keep the header and cards comfortable at 320–420px. */

@media (max-width: 420px) {
  .nw-video-page .nw-header-cta {
    max-width: 132px;
    padding-inline: 10px;
    text-align: center;
    line-height: 1.15;
  }

  .nw-video-page .nw-hero h1 {
    font-size: 30px;
  }

  .nw-video-page .nw-meta-row {
    grid-template-columns: 1fr;
  }

  .nw-video-page .nw-meta-item:last-child {
    grid-column: auto;
  }

  .nw-video-page .nw-related-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .nw-video-page .nw-related-media {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .nw-video-page .nw-contact-card h2 {
    max-width: 86%;
    font-size: 22px;
  }
}