/* ==========================================================================
   FPNNEWS24 PRIME — responsive.css
   Responsive breakpoints & overrides: 360px, 390px, 768px, 1024px, 1366px,
   1920px. Mobile-first. Includes accessibility, print, reduced motion,
   forced colors, landscape, grid overflow prevention.
   ========================================================================== */

/* --------------------------------------------------------------------------
   ≤360px — Ultra-compact phones
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
  :root {
    --fpn-gutter: var(--fpn-margin-mobile);
  }

  /* Compact spacing */
  .fpn-container {
    padding-left: var(--fpn-margin-mobile);
    padding-right: var(--fpn-margin-mobile);
  }

  /* Smaller fonts */
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.125rem; }

  .fpn-headline-xl { font-size: 1.5rem; }
  .fpn-headline-lg { font-size: 1.25rem; }

  /* Hero lead title */
  .fpn-hero__lead-title {
    font-size: var(--fpn-text-headline-md);
  }

  /* Article header title */
  .fpn-article-header__title {
    font-size: 1.5rem;
  }

  /* Category header title */
  .fpn-category-header__title {
    font-size: 1.5rem;
  }

  /* Single column grids */
  .fpn-latest-news__grid,
  .fpn-related-posts__grid,
  .fpn-video-grid {
    grid-template-columns: 1fr;
  }

  /* Compact cards */
  .fpn-card--compact .fpn-card__thumb {
    width: 90px;
  }

  .fpn-hero__secondary-thumb {
    width: 100px;
  }

  /* Share sheet 3-col */
  .fpn-share-sheet__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Bottom nav slightly tighter */
  .fpn-bottom-nav {
    height: 52px;
  }

  /* Footer single column */
  .fpn-footer__grid {
    grid-template-columns: 1fr;
  }

  /* Newsletter form stack */
  .fpn-newsletter__form {
    flex-direction: column;
  }

  /* Author box stack */
  .fpn-author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* District news item thumb */
  .fpn-district-news__item-thumb {
    width: 70px;
  }
}

/* --------------------------------------------------------------------------
   ≤390px — Standard phone (default is already mobile-first)
   -------------------------------------------------------------------------- */
@media (max-width: 390px) {
  /* Reduced padding on sections */
  .fpn-home-grid,
  .fpn-article-grid,
  .fpn-category-grid,
  .fpn-video-page {
    padding: var(--fpn-stack-md) var(--fpn-margin-mobile);
  }

  /* Compact category pills */
  .fpn-category-nav__pill {
    padding: var(--fpn-stack-xs) var(--fpn-stack-sm);
    font-size: 10px;
  }

  .fpn-category-filters__pill {
    padding: 2px var(--fpn-stack-sm);
    font-size: var(--fpn-text-metadata);
  }

  /* Video section cards */
  .fpn-video-section__card {
    flex: 0 0 240px;
  }

  /* Shorts cards */
  .fpn-shorts-card {
    flex: 0 0 220px;
    height: 360px;
  }

  /* Article list compact */
  .fpn-article-list__thumb {
    width: 110px;
  }

  /* Ticker items */
  .fpn-ticker__item {
    font-size: var(--fpn-text-metadata);
  }

  /* Header logo smaller */
  .fpn-header__logo {
    font-size: var(--fpn-text-headline-md);
  }

  /* Section headings */
  .fpn-section-heading__title,
  .fpn-section-block__title {
    font-size: var(--fpn-text-body-lg);
  }

  /* Post nav */
  .fpn-post-nav__title {
    font-size: var(--fpn-text-body-sm);
  }
}

/* --------------------------------------------------------------------------
   ≤768px — Tablet portrait / large phone
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Hamburger shown (default is shown via display:none on desktop nav) */
  .fpn-header__nav {
    display: none;
  }

  .fpn-header__hamburger {
    display: inline-flex;
  }

  .fpn-header__subscribe {
    display: none;
  }

  /* 44px touch targets */
  .fpn-btn {
    min-height: 44px;
  }

  .fpn-category-nav__pill {
    min-height: 44px;
  }

  .fpn-header__icon-btn {
    width: 44px;
    height: 44px;
  }

  .fpn-share-bar__btn {
    width: 44px;
    height: 44px;
  }

  /* Single column grids */
  .fpn-home-grid,
  .fpn-article-grid,
  .fpn-category-grid,
  .fpn-video-page {
    grid-template-columns: 1fr;
  }

  .fpn-hero {
    grid-template-columns: 1fr;
  }

  .fpn-latest-news__grid {
    grid-template-columns: 1fr;
  }

  .fpn-related-posts__grid {
    grid-template-columns: 1fr;
  }

  .fpn-related-videos__grid {
    grid-template-columns: 1fr;
  }

  .fpn-video-grid {
    grid-template-columns: 1fr;
  }

  .fpn-section-block__grid {
    grid-template-columns: 1fr;
  }

  .fpn-district-news__grid {
    grid-template-columns: 1fr;
  }

  /* Justified text on mobile for article body */
  .fpn-article-body {
    text-align: justify;
  }

  /* Sidebar stacked below content */
  .fpn-home-grid__sidebar,
  .fpn-article-grid__sidebar,
  .fpn-category-grid__sidebar,
  .fpn-video-page__sidebar {
    order: 2;
  }

  /* Footer 1-col */
  .fpn-footer__grid {
    grid-template-columns: 1fr;
  }

  /* Share sheet 3-col on small screens */
  .fpn-share-sheet__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Mobile bottom nav visible */
  .fpn-bottom-nav {
    display: flex;
  }

  /* Add bottom padding for fixed nav */
  body {
    padding-bottom: 56px;
  }

  /* Scroll to top above bottom nav */
  .fpn-scroll-top {
    bottom: 72px;
  }

  /* Hero lead title mobile size */
  .fpn-hero__lead-title {
    font-size: var(--fpn-text-headline-lg);
  }

  /* Article body font size mobile */
  .fpn-article-body {
    font-size: var(--fpn-text-body-md);
    line-height: 1.7;
  }

  /* Drop cap on mobile */
  .fpn-article-body > p:first-of-type::first-letter {
    font-size: 2.8em;
  }

  /* Post nav single column */
  .fpn-post-nav {
    grid-template-columns: 1fr;
  }

  .fpn-post-nav__item--next {
    text-align: left;
  }

  /* Category hero responsive */
  .fpn-category-hero__title {
    font-size: var(--fpn-text-headline-md);
  }

  .fpn-category-hero__content {
    padding: var(--fpn-stack-md);
  }

  /* Inline images no float on mobile */
  .fpn-article-body img.alignleft,
  .fpn-article-body img.alignright {
    float: none;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  /* Search overlay */
  .fpn-search-overlay__header {
    padding: var(--fpn-stack-sm) var(--fpn-margin-mobile);
  }

  /* Drawer width */
  .fpn-drawer {
    width: 280px;
    max-width: 85vw;
  }

  /* Article list side-by-side on mobile */
  .fpn-article-list__thumb {
    width: 120px;
  }

  /* Video content max width on mobile */
  .fpn-video-content {
    max-width: 100%;
    padding: var(--fpn-stack-md) var(--fpn-margin-mobile);
  }

  /* Video actions wrap */
  .fpn-video-actions {
    flex-wrap: wrap;
  }

  /* Author box on mobile */
  .fpn-author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .fpn-author-box__social {
    justify-content: center;
  }

  /* Shorts homepage mobile sizing */
  .fpn-shorts--home .fpn-shorts-card {
    flex: 0 0 calc(100vw / 2.5);
    height: 284px;
  }
}

/* --------------------------------------------------------------------------
   768px – 1023px — Tablet landscape
   -------------------------------------------------------------------------- */
@media (min-width: 769px) and (max-width: 1023px) {
  /* 2-column grids */
  .fpn-latest-news__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fpn-section-block__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fpn-related-posts__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fpn-related-videos__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fpn-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fpn-district-news__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hero 7fr/5fr */
  .fpn-hero {
    grid-template-columns: 7fr 5fr;
  }

  /* Footer 2-col */
  .fpn-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Share sheet 4-col */
  .fpn-share-sheet__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Bottom nav hidden on tablet */
  .fpn-bottom-nav {
    display: none;
  }

  body {
    padding-bottom: 0;
  }

  /* Hamburger still shown */
  .fpn-header__nav {
    display: none;
  }

  .fpn-header__hamburger {
    display: inline-flex;
  }

  /* Subscribe button shown */
  .fpn-header__subscribe {
    display: none;
  }

  /* Hero lead title */
  .fpn-hero__lead-title {
    font-size: var(--fpn-text-headline-lg);
  }

  /* Article header title */
  .fpn-article-header__title {
    font-size: var(--fpn-text-headline-xl-mobile);
  }

  /* Article body left-aligned on tablet */
  .fpn-article-body {
    text-align: left;
  }

  /* Post nav 2 columns */
  .fpn-post-nav {
    grid-template-columns: 1fr 1fr;
  }

  /* Home grid: content + sidebar */
  .fpn-home-grid {
    grid-template-columns: 1fr 300px;
  }

  /* Article grid: content + sidebar */
  .fpn-article-grid {
    grid-template-columns: 1fr 300px;
  }

  /* Category grid: content + sidebar */
  .fpn-category-grid {
    grid-template-columns: 1fr 300px;
  }

  /* Video page */
  .fpn-video-page {
    grid-template-columns: 1fr 300px;
  }

  /* Article list thumb */
  .fpn-article-list__thumb {
    width: 160px;
  }

  /* Shorts cards desktop size */
  .fpn-shorts-card {
    flex: 0 0 280px;
    height: 497px;
  }

  /* Video section card */
  .fpn-video-section__card {
    flex: 0 0 280px;
  }

  /* Author box horizontal */
  .fpn-author-box {
    flex-direction: row;
    text-align: left;
  }
}

/* --------------------------------------------------------------------------
   ≥1024px — Desktop
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  /* Desktop nav shown */
  .fpn-header__nav {
    display: flex;
  }

  /* Hamburger hidden */
  .fpn-header__hamburger {
    display: none;
  }

  /* Subscribe button shown */
  .fpn-header__subscribe {
    display: inline-flex;
  }

  /* Bottom nav hidden */
  .fpn-bottom-nav {
    display: none;
  }

  body {
    padding-bottom: 0;
  }

  /* Content + 340px sidebar */
  .fpn-home-grid {
    grid-template-columns: 1fr 340px;
  }

  .fpn-article-grid {
    grid-template-columns: 1fr 340px;
  }

  .fpn-category-grid {
    grid-template-columns: 1fr 340px;
  }

  .fpn-video-page {
    grid-template-columns: 1fr 340px;
  }

  /* 3-col grids */
  .fpn-latest-news__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .fpn-section-block__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .fpn-related-posts__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .fpn-related-videos__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fpn-video-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .fpn-district-news__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hero 7fr/5fr */
  .fpn-hero {
    grid-template-columns: 7fr 5fr;
  }

  /* Sticky sidebar at 80px */
  .fpn-article-grid__sidebar,
  .fpn-home-grid__sidebar,
  .fpn-category-grid__sidebar {
    position: sticky;
    top: 80px;
    align-self: flex-start;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  /* Footer 4-col */
  .fpn-footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Share sheet 4-col */
  .fpn-share-sheet__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Drawer hidden on desktop */
  .fpn-drawer {
    transform: translateX(-100%);
  }

  .fpn-drawer--open {
    transform: translateX(-100%);
  }

  .fpn-drawer-backdrop {
    display: none;
  }

  /* Headline XL full size */
  h1 {
    font-size: var(--fpn-text-headline-xl);
  }

  .fpn-headline-xl {
    font-size: var(--fpn-text-headline-xl);
  }

  /* Hero lead title */
  .fpn-hero__lead-title {
    font-size: var(--fpn-text-headline-lg);
  }

  /* Article header title desktop */
  .fpn-article-header__title {
    font-size: var(--fpn-text-headline-xl);
  }

  /* Article body left-aligned on desktop */
  .fpn-article-body {
    text-align: left;
  }

  /* Category header title desktop */
  .fpn-category-header__title {
    font-size: var(--fpn-text-headline-xl);
  }

  /* Post nav 2 columns */
  .fpn-post-nav {
    grid-template-columns: 1fr 1fr;
  }

  /* Article list thumb */
  .fpn-article-list__thumb {
    width: 200px;
  }

  /* Shorts cards desktop size */
  .fpn-shorts-card {
    flex: 0 0 280px;
    height: 497px;
  }

  /* Video section card */
  .fpn-video-section__card {
    flex: 0 0 280px;
  }

  /* Author box horizontal */
  .fpn-author-box {
    flex-direction: row;
    text-align: left;
  }

  /* Video content max width */
  .fpn-video-content {
    max-width: 48rem;
  }

  /* Reading progress bar top aligned with header */
  .fpn-progress-bar {
    top: 64px;
  }

  /* Grid overflow prevention */
  .fpn-home-grid > *,
  .fpn-article-grid > *,
  .fpn-category-grid > *,
  .fpn-video-page > * {
    min-width: 0;
  }
}

/* --------------------------------------------------------------------------
   ≥1366px — Large desktop
   -------------------------------------------------------------------------- */
@media (min-width: 1366px) {
  /* Container 1320px */
  .fpn-container {
    max-width: 1320px;
  }

  /* Article body max-width 720px for readability */
  .fpn-article-body {
    max-width: 720px;
  }

  /* Home grid container */
  .fpn-home-grid {
    max-width: 1320px;
  }

  .fpn-article-grid {
    max-width: 1320px;
  }

  .fpn-category-grid {
    max-width: 1320px;
  }

  .fpn-video-page {
    max-width: 1320px;
  }

  /* Ticker inner */
  .fpn-ticker__inner {
    max-width: 1320px;
  }

  /* Footer inner */
  .fpn-footer__inner {
    max-width: 1320px;
  }

  /* Section block header */
  .fpn-section-block__header {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Hero lead title slightly larger */
  .fpn-hero__lead-title {
    font-size: 1.625rem;
  }

  /* Category hero title */
  .fpn-category-hero__title {
    font-size: var(--fpn-text-headline-xl);
  }

  /* Video content */
  .fpn-video-content {
    max-width: 48rem;
  }
}

/* --------------------------------------------------------------------------
   ≥1920px — Ultra-wide desktop
   -------------------------------------------------------------------------- */
@media (min-width: 1920px) {
  /* Container 1400px */
  .fpn-container {
    max-width: 1400px;
  }

  .fpn-home-grid,
  .fpn-article-grid,
  .fpn-category-grid,
  .fpn-video-page {
    max-width: 1400px;
  }

  .fpn-ticker__inner,
  .fpn-footer__inner {
    max-width: 1400px;
  }

  /* Larger headings */
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .fpn-headline-xl {
    font-size: 2.5rem;
  }

  .fpn-headline-lg {
    font-size: 1.75rem;
  }

  /* Hero 480px min height */
  .fpn-hero__lead-thumb {
    min-height: 480px;
  }

  /* Hero lead title larger */
  .fpn-hero__lead-title {
    font-size: var(--fpn-text-headline-xl);
  }

  /* Article header title larger */
  .fpn-article-header__title {
    font-size: 2.5rem;
  }

  /* Category header title larger */
  .fpn-category-header__title {
    font-size: 2.5rem;
  }

  /* Article body slightly larger */
  .fpn-article-body {
    font-size: 1.125rem;
    max-width: 760px;
  }

  /* Video content */
  .fpn-video-content {
    max-width: 56rem;
  }
}

/* --------------------------------------------------------------------------
   Landscape orientation adjustments
   -------------------------------------------------------------------------- */
@media (orientation: landscape) and (max-width: 1023px) {
  /* Mobile landscape: bottom nav more compact */
  .fpn-bottom-nav {
    height: 48px;
  }

  /* Bottom nav labels hidden in landscape */
  .fpn-bottom-nav__label {
    display: none;
  }

  /* Shorts detail page wider in landscape */
  .fpn-shorts-detail {
    max-width: 340px;
  }

  /* Hero lead thumb min-height reduced in landscape */
  .fpn-hero__lead-thumb {
    min-height: auto;
  }

  /* Drawer max-width in landscape */
  .fpn-drawer {
    max-width: 60vw;
  }
}

/* --------------------------------------------------------------------------
   Print styles
   -------------------------------------------------------------------------- */
@media print {
  /* Hide non-essential elements */
  .fpn-header,
  .fpn-bottom-nav,
  .fpn-ticker,
  .fpn-footer,
  .fpn-scroll-top,
  .fpn-progress-bar,
  .fpn-drawer,
  .fpn-drawer-backdrop,
  .fpn-search-overlay,
  .fpn-share-sheet,
  .fpn-share-sheet-backdrop,
  .fpn-category-nav,
  .fpn-ad-slot,
  .fpn-article-ad--top,
  .fpn-article-ad--inline,
  .fpn-article-ad--bottom,
  .fpn-share-bar,
  .fpn-sidebar,
  .fpn-article-grid__sidebar,
  .fpn-home-grid__sidebar,
  .fpn-category-grid__sidebar,
  .fpn-video-page__sidebar {
    display: none !important;
  }

  /* Reset body */
  body {
    background: #ffffff;
    color: #000000;
    font-size: 12pt;
    padding: 0;
  }

  /* Article body print-friendly */
  .fpn-article-body {
    font-size: 12pt;
    line-height: 1.6;
    text-align: left;
    max-width: 100%;
  }

  .fpn-article-body > p:first-of-type::first-letter {
    float: none;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
    color: inherit;
  }

  /* Article grid single column */
  .fpn-article-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  /* Links show URL */
  .fpn-article-body a::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }

  /* Images max-width */
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  /* Avoid page breaks inside elements */
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }

  .fpn-article-body blockquote {
    page-break-inside: avoid;
  }

  /* Featured image */
  .fpn-article-featured__img {
    max-height: 400px;
    border-radius: 0;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion preference
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Ticker static */
  .fpn-ticker__content {
    animation: none;
  }

  /* Pulse dot static */
  .fpn-ticker__live-dot,
  .fpn-live-badge__dot,
  .fpn-video-card__live-dot {
    animation: none;
  }

  /* Card hover transform disabled */
  .fpn-card:hover,
  .fpn-home-card:hover,
  .fpn-related-posts__card:hover,
  .fpn-video-card:hover,
  .fpn-video-section__card:hover,
  .fpn-shorts-card:hover,
  .fpn-category-hero__card:hover {
    transform: none;
  }

  /* Image scale on hover disabled */
  .fpn-card:hover .fpn-card__thumb img,
  .fpn-home-card:hover .fpn-home-card__thumb img,
  .fpn-related-posts__card:hover .fpn-related-posts__card-thumb img,
  .fpn-video-card:hover .fpn-video-card__thumb img,
  .fpn-video-section__card:hover .fpn-video-section__card-thumb img,
  .fpn-shorts-card:hover .fpn-shorts-card__img,
  .fpn-hero__lead:hover .fpn-hero__lead-thumb img,
  .fpn-hero__secondary-item:hover .fpn-hero__secondary-thumb img,
  .fpn-category-hero__card:hover .fpn-category-hero__thumb img,
  .fpn-article-list__item:hover .fpn-article-list__thumb img {
    transform: none;
  }

  /* Scroll top no transform */
  .fpn-scroll-top {
    transform: none;
  }

  .fpn-scroll-top--visible {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   High contrast / Forced colors
   -------------------------------------------------------------------------- */
@media (forced-colors: active) {
  /* Ensure interactive elements are visible */
  .fpn-header__nav-link,
  .fpn-category-nav__pill,
  .fpn-btn,
  .fpn-card__title a,
  .fpn-home-card__title a,
  .fpn-link {
    forced-color-adjust: none;
  }

  /* Focus outlines use system colors */
  .fpn-header__nav-link:focus-visible,
  .fpn-btn:focus-visible,
  .fpn-category-nav__pill:focus-visible,
  .fpn-shorts-card:focus-visible {
    outline: 2px solid Highlight;
    outline-offset: 2px;
  }

  /* Badge colors adjusted */
  .fpn-badge,
  .fpn-card__category,
  .fpn-home-card__category {
    border: 1px solid ButtonText;
  }
}

/* --------------------------------------------------------------------------
   Grid overflow prevention (min-width: 0 on grid children)
   -------------------------------------------------------------------------- */
.fpn-home-grid > *,
.fpn-article-grid > *,
.fpn-category-grid > *,
.fpn-video-page > *,
.fpn-latest-news__grid > *,
.fpn-section-block__grid > *,
.fpn-related-posts__grid > *,
.fpn-related-videos__grid > *,
.fpn-video-grid > *,
.fpn-district-news__grid > *,
.fpn-hero > *,
.fpn-footer__grid > * {
  min-width: 0;
}

/* --------------------------------------------------------------------------
   Safe area insets (notch / island phones)
   -------------------------------------------------------------------------- */
@supports (padding: env(safe-area-inset-left)) {
  .fpn-header__inner {
    padding-left: calc(var(--fpn-gutter) + env(safe-area-inset-left));
    padding-right: calc(var(--fpn-gutter) + env(safe-area-inset-right));
  }

  .fpn-container {
    padding-left: calc(var(--fpn-gutter) + env(safe-area-inset-left));
    padding-right: calc(var(--fpn-gutter) + env(safe-area-inset-right));
  }

  .fpn-bottom-nav {
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .fpn-footer__inner {
    padding-left: calc(var(--fpn-gutter) + env(safe-area-inset-left));
    padding-right: calc(var(--fpn-gutter) + env(safe-area-inset-right));
  }
}

/* --------------------------------------------------------------------------
   Hover capability detection (devices without hover)
   -------------------------------------------------------------------------- */
@media (hover: none) {
  /* Always show play overlays on touch devices */
  .fpn-card__play-overlay,
  .fpn-video-card__play,
  .fpn-video-section__card-play,
  .fpn-shorts-card__play {
    opacity: 1;
  }

  /* Remove hover transform on touch */
  .fpn-card:hover,
  .fpn-home-card:hover,
  .fpn-related-posts__card:hover,
  .fpn-video-card:hover,
  .fpn-video-section__card:hover,
  .fpn-shorts-card:hover {
    transform: none;
  }

  /* Remove hover shadow on touch */
  .fpn-card:hover,
  .fpn-home-card:hover,
  .fpn-related-posts__card:hover,
  .fpn-video-section__card:hover {
    box-shadow: none;
  }
}

/* --------------------------------------------------------------------------
   Dark mode preference (future-ready)
   -------------------------------------------------------------------------- */
@media (prefers-color-scheme: dark) {
  /* Placeholder: dark mode overrides can be added here when needed */
  /* Currently the theme uses light-only Material Design 3 tokens */
}

/* --------------------------------------------------------------------------
   Focus-visible polyfill support
   -------------------------------------------------------------------------- */
/* Ensure focus-visible works for keyboard users */
.js-focus-visible .fpn-btn:focus:not(.focus-visible),
.js-focus-visible .fpn-header__nav-link:focus:not(.focus-visible),
.js-focus-visible .fpn-category-nav__pill:focus:not(.focus-visible),
.js-focus-visible .fpn-header__icon-btn:focus:not(.focus-visible),
.js-focus-visible .fpn-share-bar__btn:focus:not(.focus-visible),
.js-focus-visible .fpn-scroll-top:focus:not(.focus-visible) {
  outline: none;
  box-shadow: none;
}
