/* NaijaPop Premium Editorial 4.9.47 — additive responsive/accessibility safeguards. */
:where(a,button,input,select,textarea,[tabindex]):focus-visible {
  outline: 3px solid var(--accent, #087f5b);
  outline-offset: 3px;
}
:where(img,video,iframe,embed,object) { max-width: 100%; }
:where(.nmb3-header,.nmb3-bar,.nmb3-primary,.nmb3-nav-inner,.nmb-mobile-category-rail) { min-width: 0; }
.nmb3-header { isolation: isolate; }
.nmb3-header :where(button,a) { -webkit-tap-highlight-color: transparent; }
/* Prevent long editorial titles and labels from widening the viewport. */
:where(.nmb-card h3,.nmb-feature h3,.nmb-news h3,.nmb-cover-copy h1,.nmb3-wordmark) {
  min-width: 0;
  overflow-wrap: anywhere;
}
/* Embedded media stays inside the reading column. */
:where(.entry-content,.nmb-content,.nmb-article-content) :where(iframe,video,embed,object) { max-width: 100%; }
:where(.entry-content,.nmb-content,.nmb-article-content) iframe[src*="youtube.com"],
:where(.entry-content,.nmb-content,.nmb-article-content) iframe[src*="youtu.be"],
:where(.entry-content,.nmb-content,.nmb-article-content) iframe[src*="vimeo.com"] {
  width: 100%; aspect-ratio: 16 / 9; height: auto;
}
@media (max-width: 782px) {
  html, body { max-width: 100%; }
  .nmb3-header .nmb3-bar { gap: clamp(6px, 2vw, 14px); }
  .nmb3-header .nmb3-kicker { overflow-wrap: anywhere; }
  .nmb3-header .nmb3-primary { max-width: 100%; }
  .nmb3-header .nmb3-nav-inner { overflow-x: auto; overscroll-behavior-x: contain; }
  .nmb3-header .nmb3-nav-inner ul { min-width: max-content; }
  .nmb3-header .nmb-mobile-category-inner { overscroll-behavior-x: contain; }
}
@media (max-width: 360px) {
  .nmb3-header .nmb3-kicker { display: none; }
  .nmb3-header .nmb3-wordmark { max-width: 52vw; }
  .nmb3-header .nmb3-wordmark strong { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
