/**
 * The New York Press - Master Stylesheet
 * 100% Authentic NYTimes Design System Clone
 * Author: Rifan Muazin (https://gig.web.id)
 */

@import url('nyt-fonts.css');

/* ==========================================================================
   1. CSS Reset & Variables
   ========================================================================== */
:root {
  /* Color Palette */
  --nyp-color-primary: #121212;
  --nyp-color-primary-dim: #363636;
  --nyp-color-secondary: #5a5a5a;
  --nyp-color-secondary-dim: #727272;
  --nyp-color-muted: #8b8b8b;
  --nyp-color-accent: #326891;
  --nyp-color-accent-hover: #264e6d;
  --nyp-color-breaking: #d0021b;
  --nyp-color-live: #d0021b;
  --nyp-color-opinion: #326891;
  --nyp-color-highlight: #fefad1;
  --nyp-color-bg: #ffffff;
  --nyp-color-bg-secondary: #f8f8f8;
  --nyp-color-bg-tertiary: #ebebeb;
  --nyp-color-stroke-primary: #121212;
  --nyp-color-stroke-secondary: #959595;
  --nyp-color-stroke-tertiary: #e2e2e2;
  --nyp-color-stroke-light: #f0f0f0;

  /* Typography shortcuts */
  --font-serif: var(--nyp-font-cheltenham);
  --font-body: var(--nyp-font-imperial);
  --font-sans: var(--nyp-font-franklin);
  --font-logo: var(--nyp-font-masthead);

  /* Containers & Spacing */
  --max-width: 1200px;
  --max-width-wide: 1280px;
  --max-width-article: 680px;
  --max-width-article-wide: 880px;
  --container-padding: 20px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--nyp-font-imperial);
  color: var(--nyp-color-primary);
  background-color: var(--nyp-color-bg);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover {
  text-decoration: underline;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

.container,
.container-wide {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
}

.screen-reader-text {
  clip: rect(0 0 0 0);
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

/* ==========================================================================
   2. Header & Masthead Components
   ========================================================================== */
.nyp-masthead-wrapper {
  background: var(--nyp-color-bg);
  border-bottom: 1px solid var(--nyp-color-stroke-tertiary);
  position: relative;
  z-index: 100;
}

/* Top Utility Bar */
.nyp-top-bar {
  border-bottom: 1px solid var(--nyp-color-stroke-tertiary);
  padding: 6px 0;
  font-family: var(--nyp-font-franklin);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--nyp-color-secondary);
}

.nyp-top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nyp-top-bar-left,
.nyp-top-bar-center,
.nyp-top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nyp-editions-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nyp-edition-item {
  color: var(--nyp-color-secondary);
}

.nyp-edition-item.active,
.nyp-edition-item:hover {
  color: var(--nyp-color-primary);
  font-weight: 700;
  text-decoration: none;
}

.nyp-date-time {
  font-weight: 600;
  color: var(--nyp-color-primary);
  letter-spacing: 0.02em;
}

.nyp-stock-weather {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--nyp-color-secondary);
  font-size: 0.6875rem;
}

.nyp-live-stocks {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nyp-stock-item {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nyp-stock-item.up { color: #267c30; }
.nyp-stock-item.down { color: #d0021b; }

.nyp-live-weather {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-left: 1px solid var(--nyp-color-stroke-tertiary);
  padding-left: 10px;
}

.nyp-weather-loc {
  font-weight: 600;
  color: var(--nyp-color-primary);
}

.nyp-weather-temp {
  font-weight: 700;
  color: var(--nyp-color-primary);
}

.nyp-auth-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nyp-btn-subscribe {
  background: var(--nyp-color-accent);
  color: #fff !important;
  font-family: var(--nyp-font-franklin);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 3px;
  text-decoration: none !important;
  transition: background-color 0.2s;
}

.nyp-btn-subscribe:hover {
  background: var(--nyp-color-accent-hover);
}

.nyp-btn-login {
  background: var(--nyp-color-accent);
  color: #fff !important;
  font-family: var(--nyp-font-franklin);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 3px;
  text-decoration: none !important;
}

.nyp-btn-login:hover {
  background: var(--nyp-color-accent-hover);
}

/* Main Masthead Banner */
.nyp-masthead-main {
  padding: 16px 0 10px;
  text-align: center;
}

.nyp-masthead-grid {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(0, auto) minmax(130px, 1fr);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.nyp-masthead-left,
.nyp-masthead-right {
  min-width: 0;
}

.nyp-drawer-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 3px;
  color: var(--nyp-color-primary);
  font-family: var(--nyp-font-franklin);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}

.nyp-drawer-toggle:hover {
  background: var(--nyp-color-bg-secondary);
}

.nyp-drawer-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nyp-search-trigger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 6px;
  border-radius: 3px;
  color: var(--nyp-color-primary);
  transition: background 0.2s;
}

.nyp-search-trigger:hover {
  background: var(--nyp-color-bg-secondary);
}

.nyp-search-trigger svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.nyp-masthead-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden;
}

.nyp-custom-logo {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  max-width: var(--nyp-logo-max-width, 380px) !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.nyp-custom-logo a,
.nyp-custom-logo a.custom-logo-link,
a.custom-logo-link {
  display: inline-block !important;
  max-width: 100% !important;
  width: auto !important;
  line-height: 0 !important;
  text-align: center !important;
}

.nyp-custom-logo img,
.nyp-custom-logo img.custom-logo,
a.custom-logo-link img,
img.custom-logo {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 85px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  transition: opacity 0.2s ease;
}

.nyp-custom-logo img:hover,
.nyp-custom-logo img.custom-logo:hover,
img.custom-logo:hover {
  opacity: 0.9;
}

.nyp-site-title {
  font-family: var(--nyp-font-masthead);
  font-size: 3.5rem;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--nyp-color-primary);
}

.nyp-site-title a {
  color: inherit;
  text-decoration: none;
}

.nyp-site-tagline {
  font-family: var(--nyp-font-franklin);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nyp-color-secondary);
  margin-top: 4px;
}

.nyp-masthead-right {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
  font-family: var(--nyp-font-franklin);
  font-size: 0.6875rem;
}

.nyp-today-paper-link {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--nyp-color-secondary);
}

.nyp-today-paper-link:hover {
  color: var(--nyp-color-primary);
}

/* Horizontal Main Navigation Bar */
.nyp-main-nav-bar {
  border-top: 1px solid var(--nyp-color-stroke-primary);
  border-bottom: 3px double var(--nyp-color-stroke-primary);
  padding: 4px 0;
}

.nyp-nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  font-family: var(--nyp-font-franklin);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nyp-nav-menu li a {
  color: var(--nyp-color-primary);
  padding: 4px 2px;
  display: inline-block;
}

.nyp-nav-menu li a:hover,
.nyp-nav-menu li.current-menu-item a {
  color: var(--nyp-color-accent);
  text-decoration: none;
  border-bottom: 2px solid var(--nyp-color-accent);
}

/* Sub-topics Horizontal Bar */
.nyp-subnav-bar {
  border-bottom: 1px solid var(--nyp-color-stroke-tertiary);
  padding: 6px 0;
  overflow-x: auto;
  scrollbar-width: thin;
  white-space: nowrap;
}

.nyp-subnav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--nyp-font-franklin);
  font-size: 0.6875rem;
}

.nyp-subnav-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--nyp-color-primary);
  border-right: 1px solid var(--nyp-color-stroke-tertiary);
  padding-right: 14px;
}

.nyp-subnav-list {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nyp-subnav-list a {
  color: var(--nyp-color-secondary);
  font-weight: 500;
}

.nyp-subnav-list a:hover {
  color: var(--nyp-color-primary);
}

/* Sticky Mini Masthead */
.nyp-sticky-masthead {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--nyp-color-stroke-primary);
  z-index: 999;
  transform: translateY(-100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.nyp-sticky-masthead.is-active {
  transform: translateY(0);
}

.nyp-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
}

.nyp-sticky-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nyp-sticky-logo {
  font-family: var(--nyp-font-masthead);
  font-size: 1.75rem;
  color: var(--nyp-color-primary);
  line-height: 1;
}

.nyp-sticky-section {
  font-family: var(--nyp-font-franklin);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-left: 1px solid var(--nyp-color-stroke-tertiary);
  padding-left: 12px;
  color: var(--nyp-color-primary);
}

.nyp-sticky-title {
  font-family: var(--nyp-font-cheltenham);
  font-size: 0.9375rem;
  font-weight: 700;
  max-width: 450px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nyp-sticky-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   3. Mega Menu Off-canvas Drawer (Hamburger)
   ========================================================================== */
.nyp-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 18, 18, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.nyp-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.nyp-drawer-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 980px;
  background: var(--nyp-color-bg);
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
}

.nyp-drawer-panel.is-open {
  transform: translateX(0);
}

.nyp-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--nyp-color-stroke-tertiary);
}

.nyp-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--nyp-color-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--nyp-font-franklin);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nyp-drawer-close svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.nyp-drawer-body {
  padding: 24px;
  flex: 1;
}

.nyp-drawer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
}

.nyp-drawer-col {
  border-right: 1px solid var(--nyp-color-stroke-tertiary);
  padding-right: 16px;
}

.nyp-drawer-col:last-child {
  border-right: none;
}

.nyp-drawer-heading {
  font-family: var(--nyp-font-franklin);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nyp-color-primary);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--nyp-color-stroke-primary);
}

.nyp-drawer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--nyp-font-franklin);
  font-size: 0.8125rem;
}

.nyp-drawer-list a {
  color: var(--nyp-color-primary-dim);
  line-height: 1.3;
}

.nyp-drawer-list a:hover {
  color: var(--nyp-color-accent);
  text-decoration: underline;
}

.nyp-drawer-quote-box {
  background: var(--nyp-color-bg-secondary);
  border-left: 3px solid var(--nyp-color-accent);
  padding: 12px;
  margin-bottom: 14px;
  border-radius: 2px;
}

.nyp-drawer-quote-text {
  font-family: var(--nyp-font-cheltenham);
  font-style: italic;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--nyp-color-primary);
  margin-bottom: 6px;
}

.nyp-drawer-quote-author {
  font-family: var(--nyp-font-franklin);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--nyp-color-secondary);
}

.nyp-drawer-search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.nyp-drawer-search-tag {
  background: var(--nyp-color-bg-tertiary);
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 0.6875rem;
  font-weight: 600;
}

/* ==========================================================================
   4. Live Search Modal
   ========================================================================== */
.nyp-search-modal {
  position: fixed;
  inset: 0;
  background: rgba(18, 18, 18, 0.65);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 60px;
}

.nyp-search-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.nyp-search-box-card {
  background: #ffffff;
  width: 100%;
  max-width: 680px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  overflow: hidden;
  margin: 0 16px;
}

.nyp-search-form-inner {
  display: flex;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--nyp-color-stroke-tertiary);
  gap: 12px;
}

.nyp-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--nyp-font-franklin);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--nyp-color-primary);
}

.nyp-search-input::placeholder {
  color: var(--nyp-color-muted);
}

.nyp-search-submit-btn {
  background: var(--nyp-color-accent);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 3px;
  font-family: var(--nyp-font-franklin);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.nyp-search-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--nyp-color-secondary);
}

.nyp-search-quick-tags {
  padding: 12px 16px;
  background: var(--nyp-color-bg-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--nyp-font-franklin);
  font-size: 0.75rem;
}

.nyp-search-quick-tags span {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--nyp-color-secondary);
}

.nyp-live-results {
  max-height: 380px;
  overflow-y: auto;
  padding: 8px 0;
}

.nyp-live-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--nyp-color-stroke-light);
  gap: 12px;
}

.nyp-live-result-item:hover {
  background: var(--nyp-color-bg-secondary);
  text-decoration: none;
}

.nyp-live-result-title {
  font-family: var(--nyp-font-cheltenham);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--nyp-color-primary);
}

.nyp-live-result-date {
  font-family: var(--nyp-font-franklin);
  font-size: 0.6875rem;
  color: var(--nyp-color-secondary);
  white-space: nowrap;
}

/* ==========================================================================
   5. NYT Card Deck & Grid System
   ========================================================================== */
.nyp-main-content {
  flex: 1;
  padding: 24px 0 48px;
}

/* Breaking News / Live Updates Banner */
.nyp-live-ticker-banner {
  background: #fff;
  border-top: 1px solid var(--nyp-color-stroke-primary);
  border-bottom: 1px solid var(--nyp-color-stroke-tertiary);
  padding: 8px 0;
  margin-bottom: 20px;
  font-family: var(--nyp-font-franklin);
  font-size: 0.8125rem;
}

.nyp-live-ticker-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nyp-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--nyp-color-breaking);
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.625rem;
  padding: 3px 6px;
  border-radius: 2px;
}

.nyp-live-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: nyp-pulse 1.2s infinite;
}

@keyframes nyp-pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
  100% { opacity: 1; transform: scale(1); }
}

.nyp-live-ticker-title {
  font-weight: 700;
  color: var(--nyp-color-primary);
}

.nyp-live-ticker-time {
  color: var(--nyp-color-secondary);
  font-size: 0.6875rem;
}

/* Top Homepage Lead Package */
.nyp-home-lead-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--nyp-color-stroke-primary);
  margin-bottom: 32px;
}

.nyp-lead-col-main {
  border-right: 1px solid var(--nyp-color-stroke-tertiary);
  padding-right: 24px;
}

.nyp-lead-col-secondary {
  border-right: 1px solid var(--nyp-color-stroke-tertiary);
  padding-right: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nyp-lead-col-opinion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Lead Story Card */
.nyp-lead-story-card {
  margin-bottom: 20px;
}

.nyp-kicker {
  font-family: var(--nyp-font-franklin);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nyp-color-breaking);
  margin-bottom: 4px;
  display: block;
}

.nyp-kicker.opinion {
  color: var(--nyp-color-opinion);
}

.nyp-lead-story-title {
  font-family: var(--nyp-font-cheltenham);
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--nyp-color-primary);
}

.nyp-lead-story-title a:hover {
  color: var(--nyp-color-primary-dim);
}

.nyp-story-summary {
  font-family: var(--nyp-font-imperial);
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--nyp-color-secondary);
  margin-bottom: 12px;
}

.nyp-story-meta {
  font-family: var(--nyp-font-franklin);
  font-size: 0.6875rem;
  color: var(--nyp-color-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nyp-byline {
  font-weight: 700;
  color: var(--nyp-color-primary);
}

.nyp-reading-time {
  color: var(--nyp-color-secondary);
}

.nyp-story-bullets {
  margin-top: 12px;
  border-top: 1px solid var(--nyp-color-stroke-light);
  padding-top: 10px;
}

.nyp-story-bullets li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 6px;
  font-family: var(--nyp-font-franklin);
  font-size: 0.8125rem;
  line-height: 1.3;
}

.nyp-story-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--nyp-color-breaking);
  font-size: 1.1rem;
  line-height: 0.9;
}

/* Secondary Column Cards */
.nyp-card-compact {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--nyp-color-stroke-light);
}

.nyp-card-compact:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.nyp-card-title-medium {
  font-family: var(--nyp-font-cheltenham);
  font-size: 1.125rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--nyp-color-primary);
}

.nyp-card-thumb-wrap {
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--nyp-color-bg-secondary);
}

.nyp-card-thumb-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.nyp-card-thumb-wrap:hover img {
  transform: scale(1.02);
}

/* Opinion Column */
.nyp-opinion-header {
  font-family: var(--nyp-font-franklin);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nyp-color-primary);
  border-bottom: 1px solid var(--nyp-color-stroke-primary);
  padding-bottom: 4px;
  margin-bottom: 12px;
}

.nyp-opinion-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--nyp-color-stroke-light);
}

.nyp-opinion-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.nyp-opinion-author {
  font-family: var(--nyp-font-franklin);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--nyp-color-primary);
  margin-bottom: 2px;
}

.nyp-opinion-title {
  font-family: var(--nyp-font-cheltenham);
  font-size: 0.9375rem;
  line-height: 1.25;
  font-weight: 700;
  font-style: italic;
  color: var(--nyp-color-primary);
}

/* ==========================================================================
   6. Dynamic Alphabetical Category Sections
   ========================================================================== */
.nyp-category-section {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--nyp-color-stroke-tertiary);
}

.nyp-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--nyp-color-stroke-primary);
  border-bottom: 1px solid var(--nyp-color-stroke-tertiary);
  padding: 8px 0 6px;
  margin-bottom: 20px;
}

.nyp-section-title {
  font-family: var(--nyp-font-franklin);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--nyp-color-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nyp-section-title a {
  color: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nyp-section-title a:hover {
  text-decoration: none;
  color: var(--nyp-color-accent);
}

.nyp-section-title svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.nyp-section-count {
  font-family: var(--nyp-font-franklin);
  font-size: 0.6875rem;
  color: var(--nyp-color-secondary);
  font-weight: 500;
}

.nyp-category-deck-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.nyp-category-deck-col {
  border-right: 1px solid var(--nyp-color-stroke-tertiary);
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}

.nyp-category-deck-col:last-child {
  border-right: none;
  padding-right: 0;
}

.nyp-deck-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.nyp-deck-card .nyp-card-thumb-wrap {
  margin-bottom: 10px;
}

.nyp-deck-card-title {
  font-family: var(--nyp-font-cheltenham);
  font-size: 1.0625rem;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--nyp-color-primary);
}

.nyp-deck-card-excerpt {
  font-family: var(--nyp-font-imperial);
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--nyp-color-secondary);
  margin-bottom: 10px;
  flex: 1;
}

/* Multimedia / Video Carousel Block */
.nyp-video-block {
  background: #fbfbfb;
  border-top: 2px solid var(--nyp-color-stroke-primary);
  border-bottom: 1px solid var(--nyp-color-stroke-tertiary);
  padding: 24px 0 28px;
  margin-bottom: 40px;
}

.nyp-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.nyp-video-card-thumb {
  position: relative;
  margin-bottom: 8px;
  background: #000;
}

.nyp-video-play-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  width: 28px;
  height: 28px;
  background: rgba(0,0,0,0.75);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.nyp-video-play-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  margin-left: 2px;
}

/* Games & Puzzles Block */
.nyp-games-block {
  border-top: 1px solid var(--nyp-color-stroke-primary);
  border-bottom: 1px solid var(--nyp-color-stroke-primary);
  padding: 20px 0;
  margin-bottom: 40px;
  background: #fafafa;
}

.nyp-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.nyp-game-card {
  background: #fff;
  border: 1px solid var(--nyp-color-stroke-tertiary);
  padding: 14px;
  border-radius: 4px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nyp-game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  text-decoration: none;
}

.nyp-game-title {
  font-family: var(--nyp-font-franklin);
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.nyp-game-desc {
  font-family: var(--nyp-font-franklin);
  font-size: 0.75rem;
  color: var(--nyp-color-secondary);
}

/* ==========================================================================
   7. Single Post Layouts (4 Dynamic Layouts)
   ========================================================================== */

/* Single Article General Styles */
.nyp-single-article {
  padding-bottom: 48px;
}

.nyp-single-header {
  margin-bottom: 24px;
}

.nyp-single-headline {
  font-family: var(--nyp-font-cheltenham);
  font-size: 2.625rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--nyp-color-primary);
  margin: 8px 0 14px;
}

.nyp-single-subtitle {
  font-family: var(--nyp-font-imperial);
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--nyp-color-secondary);
  margin-bottom: 18px;
}

.nyp-single-byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--nyp-color-stroke-tertiary);
  border-bottom: 1px solid var(--nyp-color-stroke-tertiary);
  margin-bottom: 24px;
  font-family: var(--nyp-font-franklin);
  font-size: 0.75rem;
}

.nyp-single-author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nyp-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.nyp-single-author-name {
  font-weight: 700;
  color: var(--nyp-color-primary);
}

.nyp-single-date {
  color: var(--nyp-color-secondary);
}

.nyp-share-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nyp-share-btn {
  background: var(--nyp-color-bg-secondary);
  border: 1px solid var(--nyp-color-stroke-tertiary);
  padding: 6px 10px;
  border-radius: 3px;
  color: var(--nyp-color-secondary);
  font-size: 0.6875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.nyp-share-btn:hover {
  background: var(--nyp-color-stroke-tertiary);
  color: var(--nyp-color-primary);
  text-decoration: none;
}

.nyp-featured-media-wrap {
  margin-bottom: 28px;
}

.nyp-media-caption {
  font-family: var(--nyp-font-franklin);
  font-size: 0.6875rem;
  line-height: 1.3;
  color: var(--nyp-color-secondary);
  margin-top: 6px;
  text-align: left;
}

.nyp-media-credit {
  color: var(--nyp-color-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Post Content Body */
.nyp-entry-content {
  font-family: var(--nyp-font-imperial);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--nyp-color-primary);
}

.nyp-entry-content p {
  margin-bottom: 1.5em;
}

.nyp-entry-content p:first-of-type::first-letter {
  font-family: var(--nyp-font-cheltenham);
  font-size: 3.6rem;
  float: left;
  line-height: 0.8;
  margin: 0.05em 0.15em 0 0;
  font-weight: 700;
  color: var(--nyp-color-primary);
}

.nyp-entry-content h2,
.nyp-entry-content h3 {
  font-family: var(--nyp-font-cheltenham);
  font-weight: 700;
  margin: 1.8em 0 0.6em;
  line-height: 1.25;
}

.nyp-entry-content h2 { font-size: 1.75rem; }
.nyp-entry-content h3 { font-size: 1.375rem; }

.nyp-entry-content blockquote {
  font-family: var(--nyp-font-cheltenham);
  font-size: 1.5rem;
  line-height: 1.3;
  font-style: italic;
  padding: 16px 24px;
  margin: 28px 0;
  border-left: 3px solid var(--nyp-color-stroke-primary);
  background: var(--nyp-color-bg-secondary);
}

/* Single Layout 1: Classic Rail (Main + Sidebar) */
.nyp-layout-1-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  align-items: start;
}

.nyp-single-content-col {
  max-width: 680px;
  width: 100%;
}

.nyp-single-sidebar-col {
  width: 320px;
}

/* Single Layout 2: Wide Hero Media Layout */
.nyp-layout-2-hero {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-bottom: 36px;
  background: #000;
}

.nyp-layout-2-hero img {
  width: 100%;
  max-height: 75vh;
  object-fit: cover;
}

.nyp-layout-2-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Single Layout 3: Opinion Columnist Editorial */
.nyp-layout-3-editorial {
  max-width: 680px;
  width: 100%;
  margin: 0;
  text-align: left;
}

.nyp-layout-3-editorial .nyp-single-headline {
  font-family: var(--nyp-font-cheltenham-cond);
  font-style: italic;
  font-size: 3rem;
}

.nyp-columnist-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--nyp-color-stroke-primary);
  border-bottom: 1px solid var(--nyp-color-stroke-tertiary);
  margin-bottom: 24px;
}

.nyp-columnist-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.nyp-columnist-name {
  font-family: var(--nyp-font-franklin);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Single Layout 4: Split Magazine Feature */
.nyp-layout-4-split {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 300px;
  gap: 32px;
  width: 100%;
  align-items: start;
}

.nyp-sticky-takeaways {
  position: sticky;
  top: 75px;
  background: var(--nyp-color-bg-secondary);
  border: 1px solid var(--nyp-color-stroke-tertiary);
  border-left: 3px solid var(--nyp-color-accent);
  padding: 20px;
  border-radius: 4px;
  font-family: var(--nyp-font-franklin);
  font-size: 0.8125rem;
  line-height: 1.45;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.nyp-takeaways-title {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8125rem;
  color: var(--nyp-color-accent);
  margin-bottom: 12px;
  border-bottom: 1px solid var(--nyp-color-stroke-tertiary);
  padding-bottom: 6px;
}

/* ==========================================================================
   8. Category Archive Layouts (3 Dynamic Layouts)
   ========================================================================== */
.nyp-archive-header {
  border-bottom: 1px solid var(--nyp-color-stroke-primary);
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.nyp-archive-title {
  font-family: var(--nyp-font-franklin);
  font-size: 2.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--nyp-color-primary);
}

.nyp-archive-sub-topics {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
  font-family: var(--nyp-font-franklin);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.nyp-sub-topic-pill {
  color: var(--nyp-color-secondary);
  padding: 2px 6px;
  border-radius: 2px;
}

.nyp-sub-topic-pill:hover {
  background: var(--nyp-color-bg-tertiary);
  color: var(--nyp-color-primary);
  text-decoration: none;
}

/* Category Layout 1: World News Grid */
.nyp-cat-layout-1-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
}

.nyp-timeline-stream {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nyp-stream-item {
  display: grid;
  grid-template-columns: 100px 1fr 180px;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--nyp-color-stroke-light);
}

.nyp-stream-date {
  font-family: var(--nyp-font-franklin);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--nyp-color-breaking);
  text-transform: uppercase;
}

.nyp-stream-title {
  font-family: var(--nyp-font-cheltenham);
  font-size: 1.125rem;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 6px;
}

.nyp-stream-excerpt {
  font-family: var(--nyp-font-imperial);
  font-size: 0.875rem;
  color: var(--nyp-color-secondary);
  line-height: 1.35;
}

.nyp-stream-thumb {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

/* Category Layout 2: Visual Card Deck */
.nyp-cat-layout-2-deck {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Category Layout 3: Editorial High Density */
.nyp-cat-layout-3-editorial {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 36px;
}

/* ==========================================================================
   9. Search Page (NYTimes 1:1)
   ========================================================================== */
.nyp-search-page-header {
  border-bottom: 1px solid var(--nyp-color-stroke-primary);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.nyp-search-page-form {
  position: relative;
  margin-bottom: 16px;
}

.nyp-search-page-input {
  width: 100%;
  border: 1px solid var(--nyp-color-stroke-tertiary);
  border-radius: 4px;
  padding: 12px 48px 12px 16px;
  font-family: var(--nyp-font-franklin);
  font-size: 1.125rem;
  font-weight: 600;
  outline: none;
}

.nyp-search-page-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
}

.nyp-search-filters-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--nyp-font-franklin);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--nyp-color-secondary);
}

.nyp-search-count {
  font-weight: 700;
  color: var(--nyp-color-primary);
}

.nyp-search-results-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nyp-search-result-card {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--nyp-color-stroke-light);
}

.nyp-search-result-kicker {
  font-family: var(--nyp-font-franklin);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--nyp-color-secondary);
  margin-bottom: 4px;
}

.nyp-search-result-title {
  font-family: var(--nyp-font-cheltenham);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
}

.nyp-search-result-snippet {
  font-family: var(--nyp-font-imperial);
  font-size: 0.9375rem;
  color: var(--nyp-color-secondary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.nyp-search-print-edition {
  font-family: var(--nyp-font-franklin);
  font-size: 0.625rem;
  text-transform: uppercase;
  color: var(--nyp-color-muted);
}

/* ==========================================================================
   10. Custom Widgets & Sidebars
   ========================================================================== */
.nyp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.nyp-widget {
  border-top: 1px solid var(--nyp-color-stroke-primary);
  padding-top: 12px;
}

.nyp-widget-title {
  font-family: var(--nyp-font-franklin);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nyp-color-primary);
  margin-bottom: 14px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--nyp-color-stroke-tertiary);
}

/* Thumbnail Widget Style (Popular, Recent, Random) */
.nyp-widget-thumb-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nyp-widget-thumb-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--nyp-color-stroke-light);
}

.nyp-widget-thumb-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.nyp-widget-thumb-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 2px;
}

.nyp-widget-post-title {
  font-family: var(--nyp-font-cheltenham);
  font-size: 0.875rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--nyp-color-primary);
  margin-bottom: 4px;
}

.nyp-widget-post-meta {
  font-family: var(--nyp-font-franklin);
  font-size: 0.625rem;
  color: var(--nyp-color-secondary);
}

/* Numbered Widget Style (Popular, Recent, Random 1, 2, 3...) */
.nyp-widget-numbered-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nyp-widget-numbered-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--nyp-color-stroke-light);
}

.nyp-widget-numbered-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.nyp-widget-rank-number {
  font-family: var(--nyp-font-cheltenham);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--nyp-color-accent);
  text-align: center;
}

/* ==========================================================================
   11. NYTimes Footer (6-Column + Dynamic Copyright & Creator)
   ========================================================================== */
.nyp-footer {
  border-top: 3px double var(--nyp-color-stroke-primary);
  background: var(--nyp-color-bg);
  padding: 32px 0 24px;
  font-family: var(--nyp-font-franklin);
  margin-top: auto;
}

.nyp-footer-top-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--nyp-color-stroke-tertiary);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.nyp-footer-logo-title {
  font-family: var(--nyp-font-masthead);
  font-size: 2.25rem;
  color: var(--nyp-color-primary);
  line-height: 1;
}

.nyp-footer-back-top {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--nyp-color-secondary);
}

.nyp-footer-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--nyp-color-stroke-tertiary);
  margin-bottom: 20px;
}

.nyp-footer-col-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nyp-color-primary);
  margin-bottom: 12px;
}

.nyp-footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.75rem;
}

.nyp-footer-links a {
  color: var(--nyp-color-primary-dim);
}

.nyp-footer-links a:hover {
  color: var(--nyp-color-accent);
}

.nyp-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--nyp-color-stroke-tertiary);
  font-size: 0.75rem;
  color: var(--nyp-color-secondary);
}

.nyp-footer-copyright-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.nyp-footer-copyright-text {
  font-weight: 600;
  color: var(--nyp-color-primary);
  line-height: 1.5;
}

.nyp-creator-credit {
  font-weight: 600;
  color: var(--nyp-color-primary);
}

.nyp-creator-credit a {
  color: var(--nyp-color-accent);
  font-weight: 700;
}

/* ==========================================================================
   12. Pagination & Comments
   ========================================================================== */
.nyp-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 36px;
  font-family: var(--nyp-font-franklin);
  font-size: 0.8125rem;
  font-weight: 600;
}

.nyp-pagination .page-numbers {
  padding: 6px 12px;
  border: 1px solid var(--nyp-color-stroke-tertiary);
  border-radius: 2px;
  color: var(--nyp-color-primary);
}

.nyp-pagination .page-numbers.current {
  background: var(--nyp-color-primary);
  color: #fff;
  border-color: var(--nyp-color-primary);
}

.nyp-pagination .page-numbers:hover:not(.current) {
  background: var(--nyp-color-bg-secondary);
  text-decoration: none;
}

/* Comments Section */
.nyp-comments-area {
  margin-top: 48px;
  border-top: 2px solid var(--nyp-color-stroke-primary);
  padding-top: 24px;
}

.nyp-comments-title {
  font-family: var(--nyp-font-franklin);
  font-size: 1.125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

/* ==========================================================================
   13. Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .nyp-home-lead-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nyp-lead-col-opinion {
    grid-column: span 2;
    border-top: 1px solid var(--nyp-color-stroke-tertiary);
    padding-top: 20px;
  }
  .nyp-category-deck-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nyp-layout-4-split {
    grid-template-columns: 1fr;
  }
  .nyp-sticky-takeaways {
    position: static;
  }
  .nyp-footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nyp-top-bar {
    display: none;
  }
  .nyp-site-title {
    font-size: 2.5rem;
  }
  .nyp-custom-logo img,
  .nyp-custom-logo .custom-logo {
    max-width: min(var(--nyp-logo-max-width, 260px), 65vw);
    max-height: 55px;
  }
  .nyp-main-nav-bar {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 6px 0;
  }
  .nyp-home-lead-grid {
    grid-template-columns: 1fr;
  }
  .nyp-lead-col-main,
  .nyp-lead-col-secondary {
    border-right: none;
    padding-right: 0;
  }
  .nyp-layout-1-grid,
  .nyp-cat-layout-1-grid,
  .nyp-cat-layout-3-editorial {
    grid-template-columns: 1fr;
  }
  .nyp-category-deck-grid {
    grid-template-columns: 1fr;
  }
  .nyp-category-deck-col {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--nyp-color-stroke-tertiary);
    padding-bottom: 16px;
  }
  .nyp-stream-item {
    grid-template-columns: 1fr;
  }
  .nyp-search-result-card {
    grid-template-columns: 1fr;
  }
  .nyp-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nyp-games-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .nyp-site-title {
    font-size: 1.85rem;
  }
  .nyp-footer-grid {
    grid-template-columns: 1fr;
  }
  .nyp-games-grid {
    grid-template-columns: 1fr;
  }
}
