/*
Theme Name: Jhinai Media
Theme URI: https://jhinai.com
Author: Noyon Asad
Author URI: https://jhinai.com
Description: Jhinai Media 5.8.4 — Production-ready WordPress news theme. Features Al Jazeera/CNN-style header layouts, visual homepage builder, reporter profiles, newsletter system, breadcrumb controls, advanced typography, mobile-first design, breaking news ticker, and full editorial customization.
Version: 5.8.4
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jhinai-media
Tags: news, magazine, blog, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, wide-blocks, block-editor-styles, editor-style, rtl-language-support
*/

/* ============================================================
   JHINAI MEDIA THEME — DESIGN SYSTEM & GLOBAL STYLES
   ============================================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Brand Colors */
  --ns-primary: #c8102e;
  --ns-primary-dark: #a50d25;
  --ns-primary-light: #e8293f;
  --ns-secondary: #1a1a2e;
  --ns-secondary-light: #252545;
  --ns-accent: #f5a623;
  --ns-accent-dark: #d4891a;

  /* Neutrals */
  --ns-white: #ffffff;
  --ns-off-white: #f8f8f6;
  --ns-gray-50: #f5f5f5;
  --ns-gray-100: #e8e8e8;
  --ns-gray-200: #d1d1d1;
  --ns-gray-300: #b0b0b0;
  --ns-gray-400: #888888;
  --ns-gray-500: #666666;
  --ns-gray-600: #444444;
  --ns-gray-700: #333333;
  --ns-gray-800: #222222;
  --ns-gray-900: #111111;
  --ns-black: #0a0a0a;

  /* Semantic Colors */
  --ns-text-primary: #1a1a1a;
  --ns-text-secondary: #555555;
  --ns-text-muted: #888888;
  --ns-border: #e0e0e0;
  --ns-border-light: #f0f0f0;
  --ns-bg-primary: #ffffff;
  --ns-bg-secondary: #f5f5f3;
  --ns-bg-dark: #1a1a2e;
  --ns-link: #c8102e;
  --ns-link-hover: #a50d25;

  /* Category Colors */
  --ns-cat-politics: #c8102e;
  --ns-cat-business: #0066cc;
  --ns-cat-tech: #00aa44;
  --ns-cat-sports: #ff6600;
  --ns-cat-entertainment: #9933cc;
  --ns-cat-international: #cc6600;
  --ns-cat-opinion: #336699;
  --ns-cat-investigations: #880000;
  --ns-cat-health: #009966;
  --ns-cat-science: #006699;

  /* Typography */
  --ns-font-heading: 'Playfair Display', 'Georgia', serif;
  --ns-font-body: 'Source Serif 4', 'Georgia', serif;
  --ns-font-ui: 'DM Sans', 'Helvetica Neue', sans-serif;
  --ns-font-mono: 'JetBrains Mono', monospace;

  /* Font Sizes */
  --ns-text-xs: 0.75rem;
  --ns-text-sm: 0.875rem;
  --ns-font-size-base: 16px;
  --ns-text-base: 1rem;
  --ns-text-lg: 1.125rem;
  --ns-text-xl: 1.25rem;
  --ns-text-2xl: 1.5rem;
  --ns-text-3xl: 1.875rem;
  --ns-text-4xl: 2.25rem;
  --ns-text-5xl: 3rem;
  --ns-text-6xl: 3.75rem;

  /* Spacing */
  --ns-space-1: 0.25rem;
  --ns-space-2: 0.5rem;
  --ns-space-3: 0.75rem;
  --ns-space-4: 1rem;
  --ns-space-5: 1.25rem;
  --ns-space-6: 1.5rem;
  --ns-space-8: 2rem;
  --ns-space-10: 2.5rem;
  --ns-space-12: 3rem;
  --ns-space-16: 4rem;
  --ns-space-20: 5rem;
  --ns-space-24: 6rem;

  /* Layout */
  --ns-site-width: 1280px;
  --ns-content-width: 760px;
  --ns-sidebar-width: 320px;
  --ns-header-height: 64px;
  --ns-topbar-height: 36px;

  /* Shadows */
  --ns-shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --ns-shadow: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.05);
  --ns-shadow-md: 0 10px 15px rgba(0,0,0,0.07), 0 4px 6px rgba(0,0,0,0.05);
  --ns-shadow-lg: 0 20px 25px rgba(0,0,0,0.08), 0 10px 10px rgba(0,0,0,0.04);
  --ns-shadow-xl: 0 25px 50px rgba(0,0,0,0.12);

  /* Borders */
  --ns-radius-sm: 2px;
  --ns-radius: 4px;
  --ns-radius-md: 6px;
  --ns-radius-lg: 8px;
  --ns-radius-xl: 12px;
  --ns-radius-full: 9999px;

  /* Transitions */
  --ns-transition-fast: 150ms ease;
  --ns-transition: 250ms ease;
  --ns-transition-slow: 400ms ease;

  /* Focus / a11y */
  --ns-focus-ring: 0 0 0 3px rgba(200, 16, 46, 0.35);
  --ns-focus-color: var(--ns-primary);

  /* Z-index */
  --ns-z-base: 1;
  --ns-z-dropdown: 100;
  --ns-z-sticky: 200;
  --ns-z-overlay: 300;
  --ns-z-modal: 400;
  --ns-z-toast: 500;
}

/* --- Background Themes ---
   Light-mode background presets, independent of Dark Mode. Placed BEFORE
   the Dark Mode block below so Dark Mode's --ns-bg-* values always win
   in the cascade whenever it's active, regardless of which background
   theme is selected. */
[data-bg-theme="cream"] {
  --ns-bg-primary: #f8f1e3;
  --ns-bg-secondary: #f0e6d2;
}

[data-bg-theme="gray"] {
  --ns-bg-primary: #f4f4f5;
  --ns-bg-secondary: #e8e8ea;
}

[data-bg-theme="mint"] {
  --ns-bg-primary: #f2f8f5;
  --ns-bg-secondary: #e5f0ea;
}

/* --- Dark Mode --- */
[data-theme="dark"],
body.dark-mode {
  --ns-text-primary: #e8e8e8;
  --ns-text-secondary: #aaaaaa;
  --ns-text-muted: #777777;
  --ns-border: #2a2a3e;
  --ns-border-light: #1e1e2e;
  --ns-bg-primary: #12121f;
  --ns-bg-secondary: #1a1a2e;
  --ns-bg-dark: #0d0d1a;
  --ns-white: #1a1a2e;
  --ns-off-white: #12121f;
  --ns-gray-50: #1e1e30;
  --ns-gray-100: #252540;
  --ns-gray-800: #d0d0d0;
  --ns-gray-700: #e0e0e0;
  --ns-shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --ns-shadow: 0 4px 6px rgba(0,0,0,0.25);
  --ns-shadow-md: 0 10px 15px rgba(0,0,0,0.3);
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

html {
  font-size: var(--ns-font-size-base, 16px);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ns-font-body);
  font-size: var(--ns-text-base);
  line-height: 1.7;
  color: var(--ns-text-primary);
  background-color: var(--ns-bg-primary);
  transition: background-color var(--ns-transition), color var(--ns-transition);
  /* overflow-x:hidden here would force overflow-y to compute as "auto",
     turning <body> into a scroll container and breaking position:sticky
     for descendants (e.g. the Poll/Trending/Newsletter sidebar widgets)
     on desktop. overflow-x:clip prevents the same horizontal scrollbar
     without creating that scroll container. */
  overflow-x: clip;
}

body.admin-bar {
  padding-top: 32px;
}

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

/* List/feature thumbs: never let global height:auto stretch fixed boxes */
.ns-card--list .ns-card__img-wrap img,
.ns-card--list img.ns-card__img {
  width: 100% !important;
  height: 100% !important;
  max-height: 82px !important;
  object-fit: cover !important;
}

a {
  color: var(--ns-link);
  text-decoration: none;
  transition: color var(--ns-transition-fast);
}

a:hover {
  color: var(--ns-link-hover);
}

button, [type="button"], [type="submit"] {
  cursor: pointer;
  font-family: var(--ns-font-ui);
}

ul, ol {
  list-style: none;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ns-font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ns-text-primary);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.375rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { margin-bottom: var(--ns-space-4); }

strong { font-weight: 700; }
em { font-style: italic; }

blockquote {
  border-left: 4px solid var(--ns-primary);
  padding: var(--ns-space-4) var(--ns-space-6);
  margin: var(--ns-space-6) 0;
  background: var(--ns-gray-50);
  font-size: var(--ns-text-xl);
  font-family: var(--ns-font-heading);
  font-style: italic;
  color: var(--ns-gray-700);
  border-radius: 0 var(--ns-radius) var(--ns-radius) 0;
}

blockquote cite {
  display: block;
  margin-top: var(--ns-space-3);
  font-size: var(--ns-text-sm);
  font-style: normal;
  font-family: var(--ns-font-ui);
  color: var(--ns-text-muted);
}

code {
  font-family: var(--ns-font-mono);
  font-size: 0.875em;
  background: var(--ns-gray-100);
  padding: 0.1em 0.4em;
  border-radius: var(--ns-radius-sm);
}

pre {
  background: var(--ns-gray-900);
  color: var(--ns-gray-100);
  padding: var(--ns-space-6);
  border-radius: var(--ns-radius-md);
  overflow-x: auto;
  margin: var(--ns-space-6) 0;
}

pre code {
  background: none;
  color: inherit;
  padding: 0;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

.ns-container {
  max-width: var(--ns-site-width);
  margin: 0 auto;
  padding: 0 var(--ns-space-6);
}

.ns-container--narrow {
  max-width: 900px;
}

.ns-container--wide {
  max-width: 1440px;
}

.ns-grid {
  display: grid;
  gap: var(--ns-space-6);
  align-items: stretch; /* all cells same height */
}

.ns-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ns-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ns-grid--4 { grid-template-columns: repeat(4, 1fr); }

.ns-flex { display: flex; }
.ns-flex--center { align-items: center; }
.ns-flex--between { justify-content: space-between; }
.ns-flex--gap-4 { gap: var(--ns-space-4); }

.ns-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   TOPBAR
   ============================================================ */

.ns-topbar {
  background: var(--ns-secondary);
  color: rgba(255,255,255,0.85);
  height: var(--ns-topbar-height);
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  letter-spacing: 0.03em;
  position: relative;
  z-index: var(--ns-z-sticky);
}

.ns-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.ns-topbar__left {
  display: flex;
  align-items: center;
  gap: var(--ns-space-4);
}

.ns-topbar__date {
  opacity: 0.7;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.ns-topbar__right {
  display: flex;
  align-items: center;
  gap: var(--ns-space-4);
}

.ns-topbar__social {
  display: flex;
  align-items: center;
  gap: var(--ns-space-3);
}

.ns-topbar__social a {
  color: rgba(255,255,255,0.6);
  transition: color var(--ns-transition-fast);
  display: flex;
  align-items: center;
}

.ns-topbar__social a:hover {
  color: var(--ns-white);
}

.ns-topbar__social svg {
  width: 14px;
  height: 14px;
}

.ns-topbar__edition {
  opacity: 0.6;
  border-left: 1px solid rgba(255,255,255,0.2);
  padding-left: var(--ns-space-4);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.ns-topbar__dark-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  padding: 3px 8px;
  border-radius: var(--ns-radius-full);
  font-size: 0.7rem;
  font-family: var(--ns-font-ui);
  transition: all var(--ns-transition-fast);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ns-topbar__dark-toggle:hover {
  background: rgba(255,255,255,0.1);
  color: var(--ns-white);
}

/* ============================================================
   BREAKING NEWS TICKER
   ============================================================ */

.ns-ticker {
  background: var(--ns-primary, #c8102e);
  color: #fff;
  height: 38px;
  overflow: hidden;
  position: relative;
  z-index: calc(var(--ns-z-sticky, 200) - 1);
}

.ns-ticker__inner {
  display: flex;
  align-items: center;
  height: 100%;
}

.ns-ticker__label {
  background: var(--ns-secondary, #1a1a2e);
  color: #fff;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  font-family: var(--ns-font-ui, sans-serif);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
  flex-shrink: 0;
  gap: 8px;
}

/* Blinking red circle in front of Breaking label */
.ns-ticker__label .ns-ticker__dot {
  width: 9px;
  height: 9px;
  background: #ff2d2d;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(255, 45, 45, 0.7);
  animation: ns-ticker-blink 1.1s ease-in-out infinite;
}

.ns-ticker__track {
  overflow: hidden;
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
  min-width: 0;
}

.ns-ticker__list {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: ns-ticker-scroll 25s linear infinite;
  font-family: var(--ns-font-ui, sans-serif);
  font-size: 0.875rem;
  font-weight: 500;
  will-change: transform;
  transform: translateX(0);
}

.ns-ticker__list:hover,
.ns-ticker__list.is-paused {
  animation-play-state: paused;
}

.ns-ticker__item {
  padding: 0 1.75rem;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.ns-ticker__item::after {
  content: '●';
  opacity: 0.45;
  font-size: 6px;
  margin-left: 1.75rem;
}

.ns-ticker__item a {
  color: #fff;
  text-decoration: none;
}

.ns-ticker__item a:hover {
  text-decoration: underline;
}

.ns-ticker__controls {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 10px;
  flex-shrink: 0;
}

.ns-ticker__btn {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 10px;
  transition: background 0.15s ease;
}

.ns-ticker__btn:hover {
  background: rgba(255,255,255,0.3);
}

/* Seamless horizontal scroll — content is duplicated in PHP */
@keyframes ns-ticker-scroll {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* Strong blink for the front circle */
@keyframes ns-ticker-blink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 45, 45, 0.7);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.75);
    box-shadow: 0 0 0 8px rgba(255, 45, 45, 0);
  }
}

@keyframes ns-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ============================================================
   HEADER
   ============================================================ */

.ns-header {
  background: var(--ns-bg-primary);
  border-bottom: 3px solid var(--ns-primary);
  position: sticky;
  top: 0;
  z-index: var(--ns-z-sticky);
  transition: box-shadow var(--ns-transition), background var(--ns-transition);
}

.ns-header.is-scrolled {
  box-shadow: var(--ns-shadow-md);
}

.ns-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--ns-header-height);
  gap: var(--ns-space-6);
}

/* Logo */
.ns-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.ns-logo__img {
  height: 36px;
  width: auto;
}

.ns-logo__text {
  font-family: var(--ns-font-heading);
  font-size: var(--ns-text-2xl);
  font-weight: 900;
  color: var(--ns-text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.ns-logo__text span {
  color: var(--ns-primary);
}

/* Header Actions */
.ns-header__actions {
  display: flex;
  align-items: center;
  gap: var(--ns-space-3);
  flex-shrink: 0;
}

.ns-header__search-btn,
.ns-header__menu-btn {
  background: none;
  border: none;
  color: var(--ns-text-primary);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--ns-radius);
  transition: background var(--ns-transition-fast), color var(--ns-transition-fast);
}

.ns-header__search-btn:hover,
.ns-header__menu-btn:hover {
  background: var(--ns-gray-100);
  color: var(--ns-primary);
}

.ns-header__search-btn svg,
.ns-header__menu-btn svg {
  width: 20px;
  height: 20px;
}

.ns-header__subscribe {
  background: var(--ns-sub-bg, var(--ns-primary));
  color: var(--ns-sub-fg, var(--ns-white));
  border: none;
  padding: var(--ns-space-2) var(--ns-space-5);
  border-radius: var(--ns-radius-full);
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--ns-transition-fast);
  white-space: nowrap;
}

.ns-header__subscribe:hover {
  background: var(--ns-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200,16,46,0.3);
  color: var(--ns-white);
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.ns-nav {
  background: var(--ns-bg-primary);
  border-bottom: 1px solid var(--ns-border);
}

.ns-nav__inner {
  display: flex;
  align-items: center;
  overflow: visible; /* dropdowns must not be clipped */
  scrollbar-width: none;
}

.ns-nav__inner::-webkit-scrollbar {
  display: none;
}

.ns-nav__list {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}

.ns-nav__item {
  position: relative;
}

.ns-nav__link {
  display: flex;
  align-items: center;
  gap: var(--ns-space-1);
  padding: var(--ns-space-4) var(--ns-space-4);
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-sm);
  font-weight: 600;
  color: var(--ns-gray-700);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-decoration: none;
  transition: color var(--ns-transition-fast);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}

.ns-nav__link:hover,
.ns-nav__item.active > .ns-nav__link,
.ns-nav__item.current-menu-item > .ns-nav__link {
  color: var(--ns-primary);
  border-bottom-color: var(--ns-primary);
}

.ns-nav__link .ns-nav__arrow {
  font-size: 8px;
  opacity: 0.6;
  transition: transform var(--ns-transition-fast);
}

.ns-nav__item:hover .ns-nav__arrow {
  transform: rotate(180deg);
}

/* Mega Menu */
.ns-mega-menu {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  min-width: 220px;
  background: var(--ns-bg-primary);
  border: 1px solid var(--ns-border);
  border-top: 3px solid var(--ns-primary);
  box-shadow: var(--ns-shadow-lg);
  border-radius: 0 0 var(--ns-radius-md) var(--ns-radius-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--ns-transition-fast);
  z-index: var(--ns-z-dropdown);
}

.ns-mega-menu--wide {
  min-width: 600px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.ns-nav__item:hover > .ns-mega-menu,
.ns-nav__item.is-open > .ns-mega-menu,
.ns-nav__item:focus-within > .ns-mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.ns-nav__item.menu-item-has-children {
  z-index: 1;
}
.ns-nav__item.menu-item-has-children:hover,
.ns-nav__item.menu-item-has-children.is-open {
  z-index: 200;
}
.ns-mega-menu {
  pointer-events: auto;
}

.ns-mega-menu__list {
  padding: var(--ns-space-4) 0;
}

.ns-mega-menu__link {
  display: block;
  padding: var(--ns-space-2) var(--ns-space-5);
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-sm);
  color: var(--ns-text-secondary);
  transition: all var(--ns-transition-fast);
  border-left: 3px solid transparent;
}

.ns-mega-menu__link:hover {
  color: var(--ns-primary);
  background: var(--ns-gray-50);
  border-left-color: var(--ns-primary);
  padding-left: var(--ns-space-6);
}

.ns-mega-menu__col {
  padding: var(--ns-space-4);
  border-right: 1px solid var(--ns-border-light);
}

.ns-mega-menu__col:last-child {
  border-right: none;
}

.ns-mega-menu__col-title {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ns-text-muted);
  margin-bottom: var(--ns-space-3);
  padding: 0 var(--ns-space-2);
}

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */

.ns-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: var(--ns-z-modal);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: var(--ns-space-20) var(--ns-space-6);
  opacity: 0;
  visibility: hidden;
  transition: all var(--ns-transition);
  backdrop-filter: blur(4px);
}

.ns-search-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.ns-search-overlay__inner {
  width: 100%;
  max-width: 700px;
}

.ns-search-overlay__close {
  position: absolute;
  top: var(--ns-space-6);
  right: var(--ns-space-6);
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--ns-white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--ns-transition-fast);
}

.ns-search-overlay__close:hover {
  background: rgba(255,255,255,0.2);
}

.ns-search-overlay__form {
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--ns-white);
  padding-bottom: var(--ns-space-2);
}

.ns-search-overlay__input {
  flex: 1;
  background: none;
  border: none;
  color: var(--ns-white);
  font-family: var(--ns-font-heading);
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  padding: var(--ns-space-4) 0;
  outline: none;
}

.ns-search-overlay__input::placeholder {
  color: rgba(255,255,255,0.3);
}

.ns-search-overlay__submit {
  background: none;
  border: none;
  color: var(--ns-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--ns-space-4);
}

.ns-search-overlay__hint {
  color: rgba(255,255,255,0.4);
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-sm);
  margin-top: var(--ns-space-4);
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.ns-hero {
  padding: var(--ns-space-6) 0;
  background: var(--ns-bg-primary);
}

.ns-hero__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px) !important;
  grid-template-rows: auto auto;
  gap: var(--ns-space-4);
}

/* Main Featured Article */
.ns-hero__main {
  position: relative;
  overflow: hidden;
  border-radius: var(--ns-radius-md);
  grid-row: 1 / 3;
}

.ns-hero__main-img {
  width: 100%;
  height: auto; /* prevent HTML attrs from stretching images tall */
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform var(--ns-transition-slow);
}

.ns-hero__main:hover .ns-hero__main-img {
  transform: scale(1.02);
}

.ns-hero__main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.5) 50%,
    rgba(0,0,0,0.1) 100%
  );
}

.ns-hero__main-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--ns-space-8);
}

.ns-hero__main-cat {
  display: inline-flex;
  align-items: center;
  background: var(--ns-primary);
  color: var(--ns-white);
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: var(--ns-radius-sm);
  margin-bottom: var(--ns-space-3);
  text-decoration: none;
}

.ns-hero__main-cat:hover {
  background: var(--ns-primary-dark);
  color: var(--ns-white);
}

.ns-hero__main-title {
  font-family: var(--ns-font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--ns-white);
  line-height: 1.2;
  margin-bottom: var(--ns-space-3);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.ns-hero__main-title a {
  color: inherit;
  text-decoration: none;
}

.ns-hero__main-title a:hover {
  color: rgba(255,255,255,0.85);
}

.ns-hero__main-excerpt {
  color: rgba(255,255,255,0.75);
  font-size: var(--ns-text-base);
  font-family: var(--ns-font-body);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--ns-space-4);
}

.ns-hero__main-meta {
  display: flex;
  align-items: center;
  gap: var(--ns-space-3);
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  color: rgba(255,255,255,0.6);
}

.ns-hero__main-meta .ns-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  object-fit: cover;
}

/* Side Stories */
.ns-hero__side {
  display: flex;
  flex-direction: column;
  gap: var(--ns-space-3);
}

.ns-hero__side-item {
  display: flex;
  gap: var(--ns-space-3);
  align-items: flex-start;
  background: var(--ns-gray-50);
  border-radius: var(--ns-radius-md);
  padding: var(--ns-space-3);
  transition: background var(--ns-transition-fast);
}

.ns-hero__side-item:hover {
  background: var(--ns-gray-100);
}

.ns-hero__side-img {
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--ns-radius);
  flex-shrink: 0;
}

.ns-hero__side-content {
  flex: 1;
  min-width: 0;
}

.ns-hero__side-cat {
  font-family: var(--ns-font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ns-primary);
  margin-bottom: 4px;
}

.ns-hero__side-title {
  font-family: var(--ns-font-heading);
  font-size: var(--ns-text-sm);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ns-text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ns-hero__side-title a {
  color: inherit;
  text-decoration: none;
}

.ns-hero__side-title a:hover {
  color: var(--ns-primary);
}

.ns-hero__side-time {
  font-family: var(--ns-font-ui);
  font-size: 0.7rem;
  color: var(--ns-text-muted);
  margin-top: 4px;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */

.ns-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--ns-space-4);
  padding-bottom: var(--ns-space-2);
  border-bottom: 2px solid var(--ns-border);
  position: relative;
}

.ns-section-header::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--ns-primary);
}

.ns-section-title {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ns-text-primary);
}

.ns-section-title span {
  color: var(--ns-primary);
}

.ns-section-more {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  font-weight: 600;
  color: var(--ns-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--ns-transition-fast);
}

.ns-section-more:hover {
  gap: 8px;
}

/* ============================================================
   ARTICLE CARDS
   ============================================================ */

/* Standard Card */
.ns-card {
  background: var(--ns-bg-primary);
  border-radius: var(--ns-radius-md);
  overflow: hidden;
  transition: transform var(--ns-transition), box-shadow var(--ns-transition);
  /* Equal height: card fills full grid cell height */
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--ns-border-light, #f0f0f0);
}

.ns-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ns-shadow-md);
}

.ns-card__img-wrap {
  position: relative;
  overflow: hidden;
  flex-shrink: 0; /* image never shrinks */
}

.ns-card__img {
  width: 100%;
  height: auto; /* prevent HTML width/height attrs from stretching images tall */
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform var(--ns-transition-slow);
}

.ns-card:hover .ns-card__img {
  transform: scale(1.04);
}

.ns-card__cat {
  position: absolute;
  top: var(--ns-space-3);
  left: var(--ns-space-3);
  background: var(--ns-primary);
  color: var(--ns-white);
  font-family: var(--ns-font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: var(--ns-radius-sm);
  text-decoration: none;
  transition: background var(--ns-transition-fast);
}

.ns-card__cat:hover {
  background: var(--ns-primary-dark);
  color: var(--ns-white);
}

.ns-card__cat--business { background: var(--ns-cat-business); }
.ns-card__cat--business:hover { background: #0055aa; }
.ns-card__cat--tech { background: var(--ns-cat-tech); }
.ns-card__cat--sports { background: var(--ns-cat-sports); }
.ns-card__cat--entertainment { background: var(--ns-cat-entertainment); }
.ns-card__cat--international { background: var(--ns-cat-international); }
.ns-card__cat--opinion { background: var(--ns-cat-opinion); }

.ns-card__body {
  padding: var(--ns-space-4);
  /* Fill remaining card height — content top, meta bottom */
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ns-card__title {
  font-family: var(--ns-font-heading);
  font-size: var(--ns-text-lg);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--ns-space-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ns-card__title a {
  color: var(--ns-text-primary);
  text-decoration: none;
}

.ns-card__title a:hover {
  color: var(--ns-primary);
}

.ns-card__excerpt {
  font-size: var(--ns-text-sm);
  color: var(--ns-text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--ns-space-3);
  flex-shrink: 0;
}

.ns-card__meta {
  display: flex;
  align-items: center;
  gap: var(--ns-space-3);
  flex-wrap: wrap;
  margin-top: auto; /* ← pushes meta to bottom of card regardless of title length */
  padding-top: var(--ns-space-3);
}

.ns-card__author {
  display: flex;
  align-items: center;
  gap: var(--ns-space-2);
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  color: var(--ns-text-muted);
  text-decoration: none;
}

.ns-card__author:hover {
  color: var(--ns-primary);
}

.ns-card__author img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.ns-card__time {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  color: var(--ns-text-muted);
}

.ns-card__read-time {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  color: var(--ns-text-muted);
  margin-left: auto;
}

/* List Card (horizontal) — must override .ns-card column + height:100% */
.ns-card.ns-card--list,
.ns-card--list {
  display: flex;
  flex-direction: row; /* .ns-card sets column — force row */
  align-items: flex-start;
  gap: var(--ns-space-4);
  height: auto; /* .ns-card sets height:100% — breaks list in flex columns */
  border-radius: 0;
  background: none;
  padding: var(--ns-space-4) 0;
  border: none;
  border-bottom: 1px solid var(--ns-border-light);
  box-shadow: none;
  overflow: visible;
}

.ns-card--list:last-child {
  border-bottom: none;
}

.ns-card--list:hover {
  transform: none;
  box-shadow: none;
}

.ns-card--list .ns-card__img-wrap {
  position: relative;
  flex-shrink: 0;
  width: 110px;
  min-width: 110px;
  max-width: 110px;
  height: 82px;
  min-height: 82px;
  max-height: 82px;
  border-radius: var(--ns-radius);
  overflow: hidden;
}

/* Anchor wrapper from ns_render_card_media / the_post_thumbnail */
.ns-card--list .ns-card__img-wrap > a {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}

.ns-card--list .ns-card__img-wrap img,
.ns-card--list .ns-card__img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 82px;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  display: block;
}

.ns-card--list .ns-card__body {
  flex: 1;
  min-width: 0;
  padding: 0;
  height: auto;
}

.ns-card--list .ns-card__title {
  font-size: var(--ns-text-base);
}

/* Numbered List Card */
.ns-card--numbered {
  display: flex;
  align-items: flex-start;
  gap: var(--ns-space-4);
  padding: var(--ns-space-4) 0;
  border-bottom: 1px solid var(--ns-border-light);
  background: none;
  border-radius: 0;
}

.ns-card--numbered:hover {
  transform: none;
  box-shadow: none;
}

.ns-card--numbered:last-child {
  border-bottom: none;
}

.ns-card__number {
  font-family: var(--ns-font-heading);
  font-size: var(--ns-text-3xl);
  font-weight: 900;
  color: var(--ns-gray-200);
  line-height: 1;
  flex-shrink: 0;
  min-width: 44px;
  transition: color var(--ns-transition-fast);
}

.ns-card--numbered:hover .ns-card__number {
  color: var(--ns-primary);
}

.ns-card--numbered .ns-card__body {
  padding: 0;
  flex: 1;
}

.ns-card--numbered .ns-card__title {
  font-size: var(--ns-text-sm);
  margin-bottom: var(--ns-space-2);
}

/* Big Feature Card */
.ns-card.ns-card--feature,
.ns-card--feature {
  position: relative;
  overflow: hidden;
  border-radius: var(--ns-radius-md);
  height: auto; /* override .ns-card height:100% */
  flex-direction: column;
}

.ns-card--feature > a {
  display: block;
  width: 100%;
  line-height: 0;
}

.ns-card--feature .ns-card__img,
.ns-card--feature img.ns-card__img,
.ns-card--feature > a img {
  width: 100% !important;
  height: auto !important;
  max-height: 480px;
  aspect-ratio: 4 / 3;
  object-fit: cover !important;
  display: block;
}

.ns-card--feature .ns-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.ns-card--feature .ns-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--ns-space-5);
}

.ns-card--feature .ns-card__title {
  color: var(--ns-white);
  font-size: var(--ns-text-xl);
}

.ns-card--feature .ns-card__title a {
  color: var(--ns-white);
}

.ns-card--feature .ns-card__meta {
  color: rgba(255,255,255,0.6);
}

.ns-card--feature .ns-card__time {
  color: rgba(255,255,255,0.6);
}

/* Opinion Card */
.ns-card--opinion {
  border-left: 4px solid var(--ns-cat-opinion);
  padding: var(--ns-space-4);
  background: var(--ns-gray-50);
  border-radius: 0 var(--ns-radius-md) var(--ns-radius-md) 0;
}

.ns-card--opinion:hover {
  transform: translateX(4px);
  box-shadow: none;
  background: var(--ns-gray-100);
}

.ns-card--opinion .ns-card__author-large {
  display: flex;
  align-items: center;
  gap: var(--ns-space-3);
  margin-bottom: var(--ns-space-3);
}

.ns-card--opinion .ns-card__author-large img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.ns-card--opinion .ns-card__author-name {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-sm);
  font-weight: 700;
  color: var(--ns-text-primary);
}

.ns-card--opinion .ns-card__author-role {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  color: var(--ns-text-muted);
}

/* Video Card */
.ns-card--video .ns-card__img-wrap {
  position: relative;
}

.ns-card--video .ns-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ns-card--video .ns-card__play-btn {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--ns-transition-fast);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.ns-card--video:hover .ns-card__play-btn {
  background: var(--ns-primary);
  transform: scale(1.1);
}


/* Card in-place video play (no link to single) */
.ns-card__img-wrap .ns-video-embed--card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.ns-card__img-wrap .ns-video-embed--card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ns-card__img-wrap .ns-video-embed--card.is-playing,
.ns-card__img-wrap .ns-video-embed--card:has(iframe) {
  z-index: 5;
}

/* Single post click-to-play (see ns_render_featured_media()) */
.ns-video-embed {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.ns-video-embed img {
  display: block;
  width: 100%;
  height: 100%;
}

.ns-video-embed__play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.15);
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 3;
  pointer-events: auto;
  transition: background var(--ns-transition-fast);
}

.ns-video-embed__play::before {
  content: "";
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  position: absolute;
  transition: transform var(--ns-transition-fast), background var(--ns-transition-fast);
}

.ns-video-embed__play svg {
  position: relative;
  color: var(--ns-primary, #c8102e);
  margin-left: 3px; /* optically center the triangle inside the circle */
}

.ns-video-embed__play:hover {
  background: rgba(0,0,0,0.3);
}

.ns-video-embed__play:hover::before {
  transform: scale(1.1);
}

.ns-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.ns-card--video .ns-card__play-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--ns-primary);
  margin-left: 3px;
  transition: fill var(--ns-transition-fast);
}

.ns-card--video:hover .ns-card__play-btn svg {
  fill: var(--ns-white);
}

.ns-card--video .ns-card__duration {
  position: absolute;
  bottom: var(--ns-space-2);
  right: var(--ns-space-2);
  background: rgba(0,0,0,0.75);
  color: var(--ns-white);
  font-family: var(--ns-font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: var(--ns-radius-sm);
}

/* ============================================================
   NEWS SECTIONS
   ============================================================ */

.ns-section {
  padding: var(--ns-section-gap, 1.25rem) 0;
  margin: 0;
}
.ns-section.ns-section--builder {
  padding-top: var(--ns-section-gap, 1.25rem);
  padding-bottom: var(--ns-section-gap, 1.25rem);
  margin: 0;
}
.ns-section.ns-section--builder + .ns-section.ns-section--builder {
  margin-top: var(--ns-section-gap-between, 0.75rem);
}
.ns-content-area {
  /* keep existing grid; reduce orphan empty stretch */
  align-items: start;
}
.ns-section__split {
  align-items: start;
}

.ns-section--shaded {
  background: var(--ns-bg-secondary);
}

.ns-section--dark {
  background: var(--ns-secondary);
}

.ns-section--dark .ns-section-title,
.ns-section--dark h1,
.ns-section--dark h2,
.ns-section--dark h3 {
  color: var(--ns-white);
}

.ns-section--dark .ns-section-header {
  border-bottom-color: rgba(255,255,255,0.1);
}

.ns-section--dark .ns-section-header::before {
  background: var(--ns-primary);
}

/* Main Content + Sidebar Layout */
.ns-content-area {
  display: grid;
  grid-template-columns: 1fr var(--ns-sidebar-width);
  gap: var(--ns-space-8);
  align-items: start;
}

.ns-content-area--full {
  grid-template-columns: 1fr;
}

/* Reading Column Width — controls how wide article body text runs,
   independent of the chosen Post Page Layout. Narrower columns keep
   line-length shorter so readers finish each line faster. */
.ns-content-width--medium {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.ns-content-width--narrow {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Featured image size (Article → Featured image size)
   Applies to classic / full-width / side-title / centered media, not overlay-card
   (overlay has its own height control). */
.ns-article.ns-feat-img--large .ns-article__featured-img,
.ns-article.ns-feat-img--large .ns-article__media img,
.ns-article.ns-feat-img--large .jm-layout-side-title__media img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  display: block;
}
.ns-article.ns-feat-img--medium .ns-article__featured-img,
.ns-article.ns-feat-img--medium .ns-article__media img,
.ns-article.ns-feat-img--medium .jm-layout-side-title__media img {
  width: 100%;
  max-width: 760px;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.ns-article.ns-feat-img--small .ns-article__featured-img,
.ns-article.ns-feat-img--small .ns-article__media img,
.ns-article.ns-feat-img--small .jm-layout-side-title__media img {
  width: 100%;
  max-width: 560px;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.ns-article.ns-feat-img--custom .ns-article__featured-img,
.ns-article.ns-feat-img--custom .ns-article__media img,
.ns-article.ns-feat-img--custom .jm-layout-side-title__media img {
  width: 100%;
  height: var(--jm-feat-img-h, 480px);
  max-height: var(--jm-feat-img-h, 480px);
  object-fit: cover;
  display: block;
}

/* Optional aspect-ratio lock on featured media frame */
.ns-article.ns-feat-ratio--16-9 .ns-article__featured-img,
.ns-article.ns-feat-ratio--16-9 .ns-article__media,
.ns-article.ns-feat-ratio--16-9 .jm-layout-side-title__media {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  height: auto;
  max-height: none;
}
.ns-article.ns-feat-ratio--4-3 .ns-article__featured-img,
.ns-article.ns-feat-ratio--4-3 .ns-article__media,
.ns-article.ns-feat-ratio--4-3 .jm-layout-side-title__media {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  height: auto;
  max-height: none;
}
.ns-article.ns-feat-ratio--3-2 .ns-article__featured-img,
.ns-article.ns-feat-ratio--3-2 .ns-article__media,
.ns-article.ns-feat-ratio--3-2 .jm-layout-side-title__media {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
  height: auto;
  max-height: none;
}
.ns-article.ns-feat-ratio--1-1 .ns-article__featured-img,
.ns-article.ns-feat-ratio--1-1 .ns-article__media,
.ns-article.ns-feat-ratio--1-1 .jm-layout-side-title__media {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  max-width: 640px;
  height: auto;
  max-height: none;
  margin-left: auto;
  margin-right: auto;
}
.ns-article[class*="ns-feat-ratio--"] .ns-article__media,
.ns-article[class*="ns-feat-ratio--"] .jm-layout-side-title__media {
  overflow: hidden;
}
.ns-article[class*="ns-feat-ratio--"] .ns-article__media img,
.ns-article[class*="ns-feat-ratio--"] .jm-layout-side-title__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


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

.ns-sidebar {
  position: sticky;
  top: calc(var(--ns-header-height) + var(--ns-space-4));
}

.ns-widget {
  margin-bottom: var(--ns-space-8);
}

.ns-widget__title {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ns-text-primary);
  padding-bottom: var(--ns-space-3);
  margin-bottom: var(--ns-space-4);
  border-bottom: 2px solid var(--ns-border);
  position: relative;
}

.ns-widget__title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--ns-primary);
}

/* Ad Widget */
.ns-ad-widget {
  background: var(--ns-gray-50);
  border: 1px dashed var(--ns-gray-200);
  border-radius: var(--ns-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--ns-space-6);
  color: var(--ns-text-muted);
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
}

/* Newsletter Widget */
.ns-newsletter-widget {
  background: var(--ns-secondary);
  padding: var(--ns-space-6);
  border-radius: var(--ns-radius-md);
  color: var(--ns-white);
}

.ns-newsletter-widget h3 {
  color: var(--ns-white);
  font-family: var(--ns-font-heading);
  font-size: var(--ns-text-xl);
  margin-bottom: var(--ns-space-2);
}

.ns-newsletter-widget p {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-sm);
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--ns-space-4);
}

.ns-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--ns-space-2);
}

.ns-newsletter-form input[type="email"] {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--ns-white);
  padding: var(--ns-space-3) var(--ns-space-4);
  border-radius: var(--ns-radius);
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-sm);
  outline: none;
  width: 100%;
  transition: border-color var(--ns-transition-fast);
}

.ns-newsletter-form input[type="email"]:focus {
  border-color: var(--ns-primary);
}

.ns-newsletter-form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.4);
}

.ns-newsletter-form button {
  background: var(--ns-primary);
  color: var(--ns-white);
  border: none;
  padding: var(--ns-space-3) var(--ns-space-4);
  border-radius: var(--ns-radius);
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-sm);
  font-weight: 700;
  transition: background var(--ns-transition-fast);
}

.ns-newsletter-form button:hover {
  background: var(--ns-primary-dark);
}

/* Trending Widget */
.ns-trending-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ============================================================
   SINGLE ARTICLE
   ============================================================ */

.ns-article-header {
  padding: var(--ns-space-8) 0 var(--ns-space-6);
  border-bottom: 1px solid var(--ns-border);
  margin-bottom: var(--ns-space-6);
}

.ns-article-cat {
  display: inline-flex;
  align-items: center;
  background: var(--ns-primary);
  color: var(--ns-white);
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: var(--ns-radius-sm);
  text-decoration: none;
  margin-bottom: var(--ns-space-4);
}

.ns-article-title {
  font-family: var(--ns-font-heading);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--ns-space-4);
  letter-spacing: -0.02em;
}

.ns-article-dek {
  font-family: var(--ns-font-body);
  font-size: var(--ns-text-xl);
  color: var(--ns-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--ns-space-5);
  font-style: italic;
}

.ns-article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--ns-space-4);
}

.ns-article-author {
  display: flex;
  align-items: center;
  gap: var(--ns-space-3);
  text-decoration: none;
}

.ns-article-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ns-border);
}

.ns-article-author__info .ns-article-author__name {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-sm);
  font-weight: 700;
  color: var(--ns-text-primary);
  display: block;
}

.ns-article-author__info .ns-article-author__role {
  display: block;
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  color: var(--ns-text-muted);
}

.ns-article-meta-divider {
  width: 1px;
  height: 32px;
  background: var(--ns-border);
}

.ns-article-time,
.ns-article-read-time {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-sm);
  color: var(--ns-text-muted);
}

/* Reading Progress Bar */
.ns-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--ns-primary);
  z-index: calc(var(--ns-z-modal) + 1);
  transition: width 100ms linear;
}

/* Article Content */
.ns-article__featured-img {
  width: 100%;
  border-radius: var(--ns-radius-md);
  margin-bottom: var(--ns-space-2);
}

.ns-article__img-caption {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  color: var(--ns-text-muted);
  margin-bottom: var(--ns-space-6);
  font-style: italic;
}

.ns-article__content {
  font-size: var(--ns-text-lg);
  line-height: 1.8;
  color: var(--ns-text-primary);
}

.ns-article__content p { margin-bottom: var(--ns-space-5); }

.ns-article__content h2,
.ns-article__content h3 {
  margin: var(--ns-space-8) 0 var(--ns-space-4);
}

.ns-article__content a {
  color: var(--ns-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ns-article__content a:hover {
  color: var(--ns-link-hover);
}

.ns-article__content ul,
.ns-article__content ol {
  margin: var(--ns-space-4) 0 var(--ns-space-5) var(--ns-space-6);
  list-style: initial;
}

.ns-article__content ol {
  list-style: decimal;
}

.ns-article__content li { margin-bottom: var(--ns-space-2); }

.ns-article__content img {
  border-radius: var(--ns-radius-md);
  margin: var(--ns-space-6) 0;
}

/* Inline Ad */
.ns-in-content-ad {
  margin: var(--ns-space-8) 0;
  text-align: center;
}

/* Table of Contents */
.ns-toc {
  background: var(--ns-gray-50);
  border: 1px solid var(--ns-border);
  border-left: 4px solid var(--ns-primary);
  border-radius: 0 var(--ns-radius-md) var(--ns-radius-md) 0;
  padding: var(--ns-space-5);
  margin: var(--ns-space-8) 0;
}

.ns-toc__title {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ns-text-primary);
  margin-bottom: var(--ns-space-3);
}

.ns-toc__list {
  list-style: none;
  padding: 0;
}

.ns-toc__item {
  margin-bottom: var(--ns-space-2);
}

.ns-toc__link {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-sm);
  color: var(--ns-link);
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  gap: var(--ns-space-2);
}

.ns-toc__link:hover {
  color: var(--ns-link-hover);
  text-decoration: underline;
}

/* Share Buttons */
.ns-share {
  display: flex;
  align-items: center;
  gap: var(--ns-space-2);
  flex-wrap: wrap;
  margin: var(--ns-space-8) 0;
  padding: var(--ns-space-5) 0;
  border-top: 1px solid var(--ns-border);
  border-bottom: 1px solid var(--ns-border);
}

.ns-share__label {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ns-text-muted);
  margin-right: var(--ns-space-2);
}

.ns-share__btn {
  display: flex;
  align-items: center;
  gap: var(--ns-space-2);
  padding: var(--ns-space-2) var(--ns-space-4);
  border-radius: var(--ns-radius-full);
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--ns-transition-fast);
  text-decoration: none;
}

.ns-share__btn--twitter { background: #1da1f2; color: #fff; }
.ns-share__btn--facebook { background: #1877f2; color: #fff; }
.ns-share__btn--whatsapp { background: #25d366; color: #fff; }
.ns-share__btn--copy { background: var(--ns-gray-100); color: var(--ns-gray-700); }

.ns-share__btn:hover { opacity: 0.85; transform: translateY(-1px); }

/* Author Box */
.ns-author-box {
  display: flex;
  gap: var(--ns-space-5);
  background: var(--ns-gray-50);
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius-md);
  padding: var(--ns-space-6);
  margin: var(--ns-space-8) 0;
}

.ns-author-box__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--ns-border);
}

.ns-author-box__name {
  font-family: var(--ns-font-heading);
  font-size: var(--ns-text-xl);
  font-weight: 700;
  margin-bottom: var(--ns-space-1);
}

.ns-author-box__role {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-sm);
  color: var(--ns-primary);
  font-weight: 600;
  margin-bottom: var(--ns-space-3);
}

.ns-author-box__bio {
  font-size: var(--ns-text-sm);
  color: var(--ns-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--ns-space-3);
}

.ns-author-box__links {
  display: flex;
  gap: var(--ns-space-3);
}

.ns-author-box__link {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  font-weight: 600;
  color: var(--ns-primary);
  text-decoration: none;
}

.ns-author-box__link:hover {
  text-decoration: underline;
}

/* Tags */
.ns-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--ns-space-2);
  margin: var(--ns-space-6) 0;
}

.ns-tag {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  color: var(--ns-text-secondary);
  background: var(--ns-gray-100);
  border: 1px solid var(--ns-gray-200);
  padding: 4px 10px;
  border-radius: var(--ns-radius-full);
  text-decoration: none;
  transition: all var(--ns-transition-fast);
}

.ns-tag:hover {
  background: var(--ns-primary);
  color: var(--ns-white);
  border-color: var(--ns-primary);
}

/* Related Posts */
.ns-related {
  margin: var(--ns-space-10) 0;
}

/* Prev/Next Nav */
.ns-article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ns-space-4);
  margin: var(--ns-space-8) 0;
  padding: var(--ns-space-6) 0;
  border-top: 1px solid var(--ns-border);
  border-bottom: 1px solid var(--ns-border);
}

.ns-article-nav__prev,
.ns-article-nav__next {
  display: flex;
  flex-direction: column;
  gap: var(--ns-space-2);
  text-decoration: none;
  padding: var(--ns-space-4);
  border-radius: var(--ns-radius-md);
  transition: background var(--ns-transition-fast);
}

.ns-article-nav__prev:hover,
.ns-article-nav__next:hover {
  background: var(--ns-gray-50);
}

.ns-article-nav__next {
  text-align: right;
}

.ns-article-nav__label {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ns-text-muted);
}

.ns-article-nav__title {
  font-family: var(--ns-font-heading);
  font-size: var(--ns-text-base);
  font-weight: 700;
  color: var(--ns-text-primary);
  line-height: 1.3;
}

/* ============================================================
   LIVE NEWS SECTION
   ============================================================ */

.ns-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ns-primary);
  color: var(--ns-white);
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: var(--ns-radius-full);
}

.ns-live-badge__dot {
  width: 7px;
  height: 7px;
  background: var(--ns-white);
  border-radius: 50%;
  animation: ns-pulse 1.5s ease-in-out infinite;
}

.ns-live-updates {
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius-md);
  overflow: hidden;
}

.ns-live-update {
  display: flex;
  gap: var(--ns-space-5);
  padding: var(--ns-space-5);
  border-bottom: 1px solid var(--ns-border-light);
  position: relative;
}

.ns-live-update:last-child {
  border-bottom: none;
}

.ns-live-update::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
}

.ns-live-update--latest::before {
  background: var(--ns-primary);
}

.ns-live-update__time {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  font-weight: 700;
  color: var(--ns-primary);
  white-space: nowrap;
  min-width: 60px;
}

.ns-live-update__content {
  flex: 1;
}

.ns-live-update__text {
  font-size: var(--ns-text-sm);
  line-height: 1.6;
  color: var(--ns-text-primary);
}

/* ============================================================
   FACT CHECK
   ============================================================ */

.ns-fact-check {
  display: inline-flex;
  align-items: center;
  gap: var(--ns-space-2);
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--ns-radius-sm);
}

.ns-fact-check--true { background: #dcfce7; color: #166534; }
.ns-fact-check--false { background: #fee2e2; color: #991b1b; }
.ns-fact-check--mixed { background: #fef9c3; color: #854d0e; }
.ns-fact-check--unverified { background: #f3f4f6; color: #374151; }

/* ============================================================
   FOOTER
   ============================================================ */

.ns-footer-top {
  background: var(--ns-secondary);
  padding: var(--ns-space-12) 0 var(--ns-space-8);
  color: var(--ns-white);
}

.ns-footer-top__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--ns-space-8);
}

.ns-footer-brand__logo {
  font-family: var(--ns-font-heading);
  font-size: var(--ns-text-2xl);
  font-weight: 900;
  color: var(--ns-white);
  letter-spacing: -0.03em;
  text-decoration: none;
  display: block;
  margin-bottom: var(--ns-space-4);
}

.ns-footer-brand__logo span {
  color: var(--ns-primary);
}

.ns-footer-brand__desc {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: var(--ns-space-5);
}

.ns-footer-social {
  display: flex;
  gap: var(--ns-space-2);
}

.ns-footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border-radius: var(--ns-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--ns-transition-fast);
  text-decoration: none;
}

.ns-footer-social a:hover {
  background: var(--ns-primary);
  color: var(--ns-white);
  transform: translateY(-2px);
}

.ns-footer-col-title {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--ns-space-4);
  padding-bottom: var(--ns-space-3);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ns-footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--ns-space-2);
}

.ns-footer-links a {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-sm);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--ns-transition-fast);
  display: flex;
  align-items: center;
  gap: var(--ns-space-2);
}

.ns-footer-links a:hover {
  color: var(--ns-white);
}

.ns-footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: var(--ns-space-4) 0;
}

.ns-footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--ns-space-4);
}

.ns-footer-bottom__copy {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  color: rgba(255,255,255,0.35);
}

.ns-footer-bottom__links {
  display: flex;
  gap: var(--ns-space-4);
}

.ns-footer-bottom__links a {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color var(--ns-transition-fast);
}

.ns-footer-bottom__links a:hover {
  color: rgba(255,255,255,0.7);
}

.ns-footer-bottom__zone {
  display: flex;
  align-items: center;
  gap: var(--ns-space-4);
}

.ns-footer-bottom__credit {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  color: rgba(255,255,255,0.35);
  gap: var(--ns-space-2);
}

.ns-footer-bottom__credit a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--ns-transition-fast);
}

.ns-footer-bottom__credit a:hover {
  color: rgba(255,255,255,0.85);
}

.ns-footer-bottom__dot {
  margin: 0 .35em;
  opacity: .6;
}

@media (max-width: 640px) {
  .ns-footer-bottom__zone {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ============================================================
   BUTTONS & FORMS
   ============================================================ */

.ns-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ns-space-2);
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-sm);
  font-weight: 600;
  padding: var(--ns-space-3) var(--ns-space-5);
  border-radius: var(--ns-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--ns-transition-fast);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.ns-btn--primary {
  background: var(--ns-primary);
  color: var(--ns-white);
  border-color: var(--ns-primary);
}

.ns-btn--primary:hover {
  background: var(--ns-primary-dark);
  border-color: var(--ns-primary-dark);
  color: var(--ns-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200,16,46,0.3);
}

.ns-btn--outline {
  background: transparent;
  color: var(--ns-primary);
  border-color: var(--ns-primary);
}

.ns-btn--outline:hover {
  background: var(--ns-primary);
  color: var(--ns-white);
}

.ns-btn--ghost {
  background: transparent;
  color: var(--ns-text-secondary);
  border-color: var(--ns-border);
}

.ns-btn--ghost:hover {
  background: var(--ns-gray-100);
  color: var(--ns-text-primary);
}

.ns-btn--sm {
  font-size: var(--ns-text-xs);
  padding: var(--ns-space-2) var(--ns-space-3);
}

.ns-btn--lg {
  font-size: var(--ns-text-base);
  padding: var(--ns-space-4) var(--ns-space-8);
}

/* Form elements */
.ns-input {
  width: 100%;
  background: var(--ns-bg-primary);
  border: 1.5px solid var(--ns-border);
  color: var(--ns-text-primary);
  padding: var(--ns-space-3) var(--ns-space-4);
  border-radius: var(--ns-radius);
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-sm);
  outline: none;
  transition: border-color var(--ns-transition-fast), box-shadow var(--ns-transition-fast);
}

.ns-input:focus {
  border-color: var(--ns-primary);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.1);
}

/* ============================================================
   MOBILE MENU
   ============================================================ */

/* ============================================================
/* ============================================================
   MOBILE MENU — clean class-based implementation
   Layouts: drawer (default) | aljazeera | transparent
   Open state: .is-open  |  closed: [hidden]
   Customizer vars on root: --jm-mm-bg, --jm-mm-text, --jm-mm-accent, --jm-mm-indent
   ============================================================ */

/* Body scroll lock while menu is open (set by JS class, no inline styles) */
body.jm-menu-open {
  overflow: hidden;
  touch-action: none;
}

/* ── Overlay shell ── */
.jm-mobile-menu {
  --jm-mm-indent: 20px;
  --jm-mm-accent: var(--ns-primary, #c8102e);
  --jm-mm-panel-bg: #0a0a14;
  --jm-mm-panel-fg: #ffffff;

  position: fixed;
  inset: 0;
  z-index: 100050;
  display: block;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: visibility 0s linear 0.3s, opacity 0.25s ease;
}

.jm-mobile-menu[hidden] {
  display: none;
}

.jm-mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transition: visibility 0s linear 0s, opacity 0.2s ease;
}

/* When open, override [hidden] so we can animate out before re-hiding */
.jm-mobile-menu.is-open[hidden] {
  display: block;
}

/* ── Backdrop ── */
.jm-mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.jm-mobile-menu.is-open .jm-mobile-menu__backdrop {
  opacity: 1;
}

/* ── Slide-in panel (drawer default) ── */
.jm-mobile-menu__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(340px, 92vw);
  max-width: 92vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--jm-mm-bg, var(--jm-mm-panel-bg));
  color: var(--jm-mm-text, var(--jm-mm-panel-fg));
  transform: translate3d(-105%, 0, 0);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 4px 0 28px rgba(0, 0, 0, 0.35);
  -webkit-overflow-scrolling: touch;
}

.jm-mobile-menu.is-open .jm-mobile-menu__panel {
  transform: translate3d(0, 0, 0);
}

/* ── Top bar ── */
.jm-mobile-menu__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--jm-mm-indent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  background: inherit;
  position: sticky;
  top: 0;
  z-index: 2;
}

.jm-mobile-menu__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.jm-mobile-menu__logo .custom-logo {
  max-width: 140px;
  max-height: 44px;
  width: auto;
  height: auto;
}

.jm-mobile-logo-text {
  font-family: var(--ns-font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: inherit;
  letter-spacing: -0.03em;
}

.jm-mobile-logo-text span {
  color: var(--jm-mm-accent, var(--ns-primary, #c8102e));
}

.jm-mobile-menu__close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: inherit;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  flex-shrink: 0;
}

.jm-mobile-menu__close:hover,
.jm-mobile-menu__close:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

/* ── Search ── */
.jm-mobile-menu__search {
  padding: 1rem var(--jm-mm-indent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.jm-mobile-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
}

.jm-mobile-search-wrap:focus-within {
  border-color: var(--jm-mm-accent, var(--ns-primary, #c8102e));
}

.jm-mobile-search-icon {
  flex-shrink: 0;
  opacity: 0.6;
}

.jm-mobile-search-input {
  flex: 1;
  border: none;
  background: transparent;
  color: inherit;
  font-family: var(--ns-font-ui);
  font-size: 0.95rem;
  outline: none;
  min-width: 0;
}

.jm-mobile-search-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

/* ── Nav list ── */
.jm-mobile-nav {
  flex: 1;
  padding: 0.75rem 0 1rem;
  overflow-y: auto;
}

.jm-mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0 var(--jm-mm-indent);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  box-sizing: border-box;
}

.jm-mobile-nav__item {
  margin: 0;
  border: none;
}

.jm-mobile-nav__list > li > a,
.jm-mobile-nav__list > .menu-item > a,
.jm-mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1.1rem;
  margin: 0;
  font-family: var(--ns-font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.jm-mobile-nav__list > li > a:hover,
.jm-mobile-nav__list > li > a:focus-visible,
.jm-mobile-nav__link:hover,
.jm-mobile-nav__link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  outline: none;
}

.jm-mobile-nav__item--active > .jm-mobile-nav__link,
.jm-mobile-nav__list > li.current-menu-item > a,
.jm-mobile-nav__list > li.current-menu-ancestor > a {
  color: #fff;
  background: var(--jm-mm-accent, var(--ns-primary, #c8102e));
  border-color: var(--jm-mm-accent, var(--ns-primary, #c8102e));
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.3);
}

/* Submenu accordion */
.jm-mobile-nav__item.menu-item-has-children > .jm-mobile-nav__link::after {
  content: "›";
  font-size: 1.15rem;
  font-weight: 400;
  opacity: 0.55;
  transition: transform 0.2s ease;
  display: inline-block;
  margin-left: 0.5rem;
}

.jm-mobile-nav__item.menu-item-has-children.is-open > .jm-mobile-nav__link::after {
  transform: rotate(90deg);
  opacity: 1;
}

.jm-mobile-nav__list .sub-menu,
.jm-mobile-nav__list .children {
  list-style: none;
  margin: 0.35rem 0 0.25rem;
  padding: 0 0 0 0.75rem;
  display: none;
  flex-direction: column;
  gap: 0.3rem;
}

.jm-mobile-nav__item.is-open > .sub-menu,
.jm-mobile-nav__item.is-open > .children {
  display: flex;
}

.jm-mobile-nav__list .sub-menu a,
.jm-mobile-nav__list .children a {
  display: block;
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  border-radius: 8px;
  background: transparent;
  border: none;
}

.jm-mobile-nav__list .sub-menu a:hover,
.jm-mobile-nav__list .children a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* ── Divider / utility / social / footer ── */
.jm-mobile-menu__divider {
  height: 1px;
  margin: 0.5rem var(--jm-mm-indent);
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.jm-mobile-menu__utility {
  padding: 0.5rem var(--jm-mm-indent) 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex-shrink: 0;
}

.jm-mobile-util-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-family: var(--ns-font-ui);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.jm-mobile-util-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.jm-mobile-menu__social {
  padding: 0.75rem var(--jm-mm-indent) 1rem;
  flex-shrink: 0;
}

.jm-mobile-social-label {
  margin: 0 0 0.5rem;
  font-family: var(--ns-font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
}

.jm-mobile-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.jm-mobile-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.15s ease;
}

.jm-mobile-social-btn:hover {
  background: var(--jm-mm-accent, var(--ns-primary, #c8102e));
}

.jm-mobile-menu__footer {
  padding: 0.75rem var(--jm-mm-indent) 1.5rem;
  margin-top: auto;
  flex-shrink: 0;
}

.jm-mobile-menu__footer p {
  font-family: var(--ns-font-ui);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 0.25rem;
  line-height: 1.5;
}

/* Legacy class — hide if both present */
.ns-mobile-menu {
  display: none;
}

/* ============================================================
   MOBILE MENU LAYOUT VARIANTS
   ============================================================ */

/* Al Jazeera — full-width light panel from top */
.jm-mobile-menu--aljazeera {
  --jm-mm-panel-bg: #ffffff;
  --jm-mm-panel-fg: #111111;
}

.jm-mobile-menu--aljazeera .jm-mobile-menu__panel {
  width: 100%;
  max-width: 100%;
  left: 0;
  right: 0;
  background: var(--jm-mm-bg, #ffffff);
  color: var(--jm-mm-text, #111111);
  box-shadow: none;
  transform: translate3d(0, -100%, 0);
}

.jm-mobile-menu--aljazeera.is-open .jm-mobile-menu__panel {
  transform: translate3d(0, 0, 0);
}

.jm-mobile-menu--aljazeera .jm-mobile-menu__backdrop {
  background: rgba(0, 0, 0, 0.35);
}

.jm-mobile-menu--aljazeera .jm-mobile-menu__topbar {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.jm-mobile-menu--aljazeera .jm-mobile-menu__close {
  background: rgba(0, 0, 0, 0.06);
  color: var(--jm-mm-text, #111);
}

.jm-mobile-menu--aljazeera .jm-mobile-menu__close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.jm-mobile-menu--aljazeera .jm-mobile-logo-text span {
  color: var(--jm-mm-accent, var(--ns-primary, #c8102e));
}

.jm-mobile-menu--aljazeera .jm-mobile-search-wrap {
  background: #f3f4f6;
  border-color: #e5e7eb;
}

.jm-mobile-menu--aljazeera .jm-mobile-search-input {
  color: #111;
}

.jm-mobile-menu--aljazeera .jm-mobile-search-input::placeholder {
  color: #9ca3af;
}

.jm-mobile-menu--aljazeera .jm-mobile-nav__list > li > a,
.jm-mobile-menu--aljazeera .jm-mobile-nav__link {
  color: var(--jm-mm-text, #1a1a1a);
  background: #f3f4f6;
  border-color: #e5e7eb;
}

.jm-mobile-menu--aljazeera .jm-mobile-nav__list > li > a:hover,
.jm-mobile-menu--aljazeera .jm-mobile-nav__link:hover {
  color: #000;
  background: #e8e8ea;
  border-color: #d1d5db;
}

.jm-mobile-menu--aljazeera .jm-mobile-nav__item--active > .jm-mobile-nav__link,
.jm-mobile-menu--aljazeera .jm-mobile-nav__list > li.current-menu-item > a {
  color: #fff;
  background: var(--jm-mm-accent, var(--ns-primary, #c8102e));
  border-color: var(--jm-mm-accent, var(--ns-primary, #c8102e));
}

.jm-mobile-menu--aljazeera .jm-mobile-nav__list .sub-menu a,
.jm-mobile-menu--aljazeera .jm-mobile-nav__list .children a {
  color: #444;
}

.jm-mobile-menu--aljazeera .jm-mobile-util-link {
  color: #333;
}

.jm-mobile-menu--aljazeera .jm-mobile-menu__divider {
  background: rgba(0, 0, 0, 0.08);
}

.jm-mobile-menu--aljazeera .jm-mobile-social-label {
  color: #888;
}

.jm-mobile-menu--aljazeera .jm-mobile-social-btn {
  background: #f3f4f6;
  color: #222;
}

.jm-mobile-menu--aljazeera .jm-mobile-menu__footer p {
  color: #999;
}

/* Transparent — glass panel from left */
.jm-mobile-menu--transparent .jm-mobile-menu__panel {
  background: rgba(10, 10, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.jm-mobile-menu--transparent .jm-mobile-menu__backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.jm-mobile-menu--transparent .jm-mobile-menu__topbar {
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* Drawer keeps dark defaults (already set on base panel) */
.jm-mobile-menu--drawer .jm-mobile-menu__panel {
  /* inherits base dark panel */
}




/* ============================================================
   PAGINATION
   ============================================================ */

.ns-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--ns-space-2);
  margin: var(--ns-space-10) 0;
}

.ns-pagination a,
.ns-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--ns-border);
  border-radius: var(--ns-radius);
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-sm);
  font-weight: 600;
  color: var(--ns-text-primary);
  text-decoration: none;
  transition: all var(--ns-transition-fast);
}

.ns-pagination a:hover {
  border-color: var(--ns-primary);
  color: var(--ns-primary);
  background: rgba(200,16,46,0.05);
}

.ns-pagination .current {
  background: var(--ns-primary);
  border-color: var(--ns-primary);
  color: var(--ns-white);
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */

.ns-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--ns-space-1);
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  color: var(--ns-text-muted);
  margin-bottom: var(--ns-space-4);
}

.ns-breadcrumb a {
  color: var(--ns-text-muted);
  text-decoration: none;
  transition: color var(--ns-transition-fast);
}

.ns-breadcrumb a:hover {
  color: var(--ns-primary);
}

.ns-breadcrumb__sep {
  opacity: 0.4;
}

/* ============================================================
   404 PAGE
   ============================================================ */

.ns-404 {
  text-align: center;
  padding: var(--ns-space-20) var(--ns-space-6);
}

.ns-404__code {
  font-family: var(--ns-font-heading);
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 900;
  color: var(--ns-gray-100);
  line-height: 1;
  display: block;
}

.ns-404__title {
  font-family: var(--ns-font-heading);
  font-size: var(--ns-text-3xl);
  margin-bottom: var(--ns-space-4);
}

.ns-404__text {
  font-family: var(--ns-font-ui);
  color: var(--ns-text-secondary);
  margin-bottom: var(--ns-space-6);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   LOAD MORE BUTTON
   ============================================================ */

.ns-load-more {
  display: flex;
  justify-content: center;
  margin: var(--ns-space-8) 0;
}

.ns-load-more__btn {
  background: none;
  border: 2px solid var(--ns-border);
  color: var(--ns-text-secondary);
  padding: var(--ns-space-3) var(--ns-space-8);
  border-radius: var(--ns-radius-full);
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--ns-transition-fast);
  display: flex;
  align-items: center;
  gap: var(--ns-space-2);
}

.ns-load-more__btn:hover {
  border-color: var(--ns-primary);
  color: var(--ns-primary);
  background: rgba(200,16,46,0.03);
}

.ns-load-more__btn.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes ns-fade-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ns-fade-in-fast {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ns-animate-in {
  animation: ns-fade-in 0.5s ease forwards;
}

.ns-animate-in--delay-1 { animation-delay: 0.1s; }
.ns-animate-in--delay-2 { animation-delay: 0.2s; }
.ns-animate-in--delay-3 { animation-delay: 0.3s; }

/* Lazy load fade */
.ns-lazy {
  opacity: 0;
  transition: opacity var(--ns-transition);
}

.ns-lazy.is-loaded {
  opacity: 1;
}

/* ============================================================
   PRINT STYLES
   ============================================================ */





/* ── Trending list — international (BBC / Reuters style) ── */
.ns-trending-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ns-trending-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  transition: background 0.15s ease;
}
.ns-trending-item:last-child {
  border-bottom: none;
  padding-bottom: 0.25rem;
}
.ns-trending-item:first-child {
  padding-top: 0.35rem;
}
.ns-trending-rank {
  flex: 0 0 2rem;
  width: 2rem;
  text-align: center;
  font-family: var(--ns-font-heading, "Playfair Display", Georgia, serif);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #c5c5c5;
  transition: color 0.2s ease;
  user-select: none;
}
.ns-trending-item:nth-child(1) .ns-trending-rank { color: var(--ns-primary, #c8102e); }
.ns-trending-item:nth-child(2) .ns-trending-rank { color: #555; }
.ns-trending-item:nth-child(3) .ns-trending-rank { color: #777; }
.ns-trending-item:hover .ns-trending-rank {
  color: var(--ns-primary, #c8102e);
}
.ns-trending-thumb {
  flex: 0 0 80px;
  width: 80px;
  max-width: 80px;
  display: block;
  overflow: hidden;
  border-radius: 3px;
  background: #ececec;
  position: relative;
}
.ns-trending-thumb img,
.ns-trending-thumb__img {
  width: 80px !important;
  height: 60px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 3px;
  transition: transform 0.35s ease;
}
.ns-trending-item:hover .ns-trending-thumb img,
.ns-trending-item:hover .ns-trending-thumb__img {
  transform: scale(1.06);
}
.ns-trending-thumb--placeholder {
  height: 60px;
  background: linear-gradient(145deg, #f0f0f0, #e0e0e0);
}
.ns-trending-body {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
}
.ns-trending-cat {
  display: block;
  font-family: var(--ns-font-ui, "DM Sans", sans-serif);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.95;
}
.ns-trending-title {
  font-family: var(--ns-font-heading, "Playfair Display", Georgia, serif);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  writing-mode: horizontal-tb !important;
  word-break: normal;
  overflow-wrap: anywhere;
  white-space: normal;
  /* clamp to 2 lines like major news sites */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ns-trending-title a {
  color: var(--ns-text-primary, #111);
  text-decoration: none;
  transition: color 0.15s ease;
}
.ns-trending-title a:hover {
  color: var(--ns-primary, #c8102e);
}
.ns-trending-meta {
  display: none !important; /* no views in trending */
}
/* Side widget chrome */
.ns-section__side-widget--trending,
.ns-section__side-widget--trending .ns-widget-inner,
.ns-section__side-widget--trending .ns-trending-list {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.ns-section__side-widget--trending .ns-widget__title {
  margin-bottom: 0.5rem;
}

@media print {
  .ns-header,
  .ns-nav,
  .ns-ticker,
  .ns-topbar,
  .ns-sidebar,
  .ns-footer-top,
  .ns-footer-bottom,
  .ns-share,
  .ns-related,
  .ns-ad-widget,
  .ns-newsletter-widget {
    display: none !important;
  }

  .ns-content-area {
    grid-template-columns: 1fr !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  a { color: inherit; text-decoration: none; }
  h1, h2, h3 { color: #000; }
}

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

@media (max-width: 1200px) {
  :root {
    --ns-site-width: 100%;
  }

  .ns-footer-top__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .ns-hero__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .ns-hero__main {
    grid-row: 1;
  }

  .ns-hero__side {
    flex-direction: row;
    overflow-x: auto;
  }

  .ns-hero__side-item {
    flex-shrink: 0;
    width: 280px;
  }

  .ns-content-area {
    grid-template-columns: 1fr;
  }

  .ns-sidebar {
    position: static;
  }

  .ns-nav {
    display: none;
  }

  .ns-mega-menu {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --ns-header-height: 56px;
  }

  .ns-grid--2,
  .ns-grid--3,
  .ns-grid--4 {
    grid-template-columns: 1fr;
  }

  .ns-hero__side {
    flex-direction: column;
  }

  .ns-hero__side-item {
    width: 100%;
  }

  .ns-footer-top__inner {
    grid-template-columns: 1fr;
  }

  .ns-footer-bottom__inner {
    flex-direction: column;
    text-align: center;
  }

  .ns-topbar {
    display: none;
  }

  .ns-author-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .ns-article-nav {
    grid-template-columns: 1fr;
  }

  .ns-article-nav__next {
    text-align: left;
  }

  .ns-header__subscribe {
    display: none;
  }
}

@media (max-width: 480px) {
  .ns-container {
    padding: 0 var(--ns-space-4);
  }

  .ns-hero__main-content {
    padding: var(--ns-space-5);
  }

  .ns-hero__main-title {
    font-size: var(--ns-text-2xl);
  }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

:focus-visible {
  outline: 3px solid var(--ns-primary);
  outline-offset: 3px;
  border-radius: var(--ns-radius-sm);
}

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

/* High contrast */
@media (prefers-contrast: high) {
  :root {
    --ns-primary: #cc0022;
    --ns-border: #333;
    --ns-text-secondary: #333;
  }
}

/* ============================================================
   GUTENBERG / BLOCK EDITOR STYLES
   ============================================================ */

.wp-block-image img {
  border-radius: var(--ns-radius-md);
}

.wp-block-pullquote {
  border-top: 4px solid var(--ns-primary);
  border-bottom: 4px solid var(--ns-primary);
  padding: var(--ns-space-6);
}

.wp-block-pullquote blockquote {
  border: none;
  background: none;
  font-size: var(--ns-text-2xl);
  color: var(--ns-text-primary);
}

.wp-block-separator {
  border-color: var(--ns-border);
  margin: var(--ns-space-8) 0;
}

.wp-block-button__link {
  background: var(--ns-primary);
  border-radius: var(--ns-radius);
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-sm);
  font-weight: 600;
}

.alignwide {
  max-width: calc(var(--ns-site-width) - 100px);
}

.alignfull {
  max-width: 100%;
  margin-left: calc(-1 * var(--ns-space-6));
  margin-right: calc(-1 * var(--ns-space-6));
}

/* ============================================================
   COMMENTS
   ============================================================ */

.ns-comments {
  margin: var(--ns-space-10) 0;
}

.ns-comments__title {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--ns-space-6);
  padding-bottom: var(--ns-space-3);
  border-bottom: 2px solid var(--ns-border);
  position: relative;
}

.ns-comments__title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--ns-primary);
}

.comment {
  display: flex;
  gap: var(--ns-space-4);
  margin-bottom: var(--ns-space-6);
}

.comment-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

.comment-body {
  flex: 1;
  background: var(--ns-gray-50);
  border-radius: 0 var(--ns-radius-md) var(--ns-radius-md) var(--ns-radius-md);
  padding: var(--ns-space-4);
}

.comment-author .fn {
  font-family: var(--ns-font-ui);
  font-weight: 700;
  font-size: var(--ns-text-sm);
  font-style: normal;
}

.comment-metadata {
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  color: var(--ns-text-muted);
  margin-bottom: var(--ns-space-3);
}

.comment-content p {
  font-size: var(--ns-text-sm);
  line-height: 1.6;
}

.children {
  margin-left: var(--ns-space-12);
}

/* ============================================================
   ADMIN BAR COMPATIBILITY
   ============================================================ */

@media screen and (min-width: 783px) {
  .admin-bar .ns-header,
  .admin-bar .ns-topbar {
    top: 32px;
  }

  .admin-bar .ns-reading-progress {
    top: 32px;
  }
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */

.ns-scroll-top {
  position: fixed;
  bottom: var(--ns-space-6);
  right: var(--ns-space-6);
  width: 44px;
  height: 44px;
  background: var(--ns-primary);
  color: var(--ns-white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--ns-shadow-md);
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--ns-transition);
  z-index: var(--ns-z-toast);
}

.ns-scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ns-scroll-top:hover {
  background: var(--ns-primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--ns-shadow-lg);
}

.ns-scroll-top svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   BOOKMARK BUTTON
   ============================================================ */

.ns-bookmark-btn {
  display: flex;
  align-items: center;
  gap: var(--ns-space-2);
  background: none;
  border: 1.5px solid var(--ns-border);
  color: var(--ns-text-secondary);
  padding: var(--ns-space-2) var(--ns-space-3);
  border-radius: var(--ns-radius);
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-xs);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--ns-transition-fast);
}

.ns-bookmark-btn:hover,
.ns-bookmark-btn.is-bookmarked {
  border-color: var(--ns-accent);
  color: var(--ns-accent-dark);
  background: rgba(245,166,35,0.08);
}

.ns-bookmark-btn svg {
  width: 14px;
  height: 14px;
}

/* ============================================================
   POLL WIDGET
   ============================================================ */

.ns-poll {
  background: var(--ns-gray-50);
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius-md);
  padding: var(--ns-space-5);
}

.ns-poll__question {
  font-family: var(--ns-font-heading);
  font-size: var(--ns-text-lg);
  font-weight: 700;
  margin-bottom: var(--ns-space-5);
  line-height: 1.3;
}

.ns-poll__option {
  margin-bottom: var(--ns-space-3);
}

.ns-poll__option input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.ns-poll__option label {
  display: flex;
  align-items: center;
  gap: var(--ns-space-3);
  padding: var(--ns-space-3) var(--ns-space-4);
  border: 1.5px solid var(--ns-border);
  border-radius: var(--ns-radius);
  cursor: pointer;
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-sm);
  font-weight: 600;
  transition: all var(--ns-transition-fast);
}

.ns-poll__option input:checked + label {
  border-color: var(--ns-primary);
  background: rgba(200,16,46,0.04);
  color: var(--ns-primary);
}

.ns-poll__option label:hover {
  border-color: var(--ns-primary);
}

.ns-poll__result {
  margin-bottom: var(--ns-space-3);
}

.ns-poll__result-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-sm);
  margin-bottom: var(--ns-space-1);
}

.ns-poll__result-bar {
  height: 8px;
  background: var(--ns-gray-200);
  border-radius: var(--ns-radius-full);
  overflow: hidden;
}

.ns-poll__result-fill {
  height: 100%;
  background: var(--ns-primary);
  border-radius: var(--ns-radius-full);
  transition: width var(--ns-transition-slow);
}

.ns-poll__submit {
  width: 100%;
  margin-top: var(--ns-space-4);
}

/* ============================================================
   LOADING SKELETON
   ============================================================ */

.ns-skeleton {
  background: linear-gradient(90deg, var(--ns-gray-100) 25%, var(--ns-gray-50) 50%, var(--ns-gray-100) 75%);
  background-size: 200% 100%;
  animation: ns-skeleton-shine 1.5s infinite;
  border-radius: var(--ns-radius);
}

@keyframes ns-skeleton-shine {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ============================================================
   COOKIE NOTICE
   ============================================================ */

.ns-cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ns-secondary);
  color: var(--ns-white);
  padding: var(--ns-space-4) var(--ns-space-6);
  z-index: var(--ns-z-toast);
  display: flex;
  align-items: center;
  gap: var(--ns-space-6);
  transform: translateY(100%);
  transition: transform var(--ns-transition);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.ns-cookie-notice.is-visible {
  transform: translateY(0);
}

.ns-cookie-notice__text {
  flex: 1;
  font-family: var(--ns-font-ui);
  font-size: var(--ns-text-sm);
  color: rgba(255,255,255,0.75);
}

.ns-cookie-notice__text a {
  color: var(--ns-white);
}

.ns-cookie-notice__actions {
  display: flex;
  gap: var(--ns-space-2);
  flex-shrink: 0;
}

/* JM-VIDEO-GRID-START */
/* ============================================================
   VIDEO GRID — YouTube-style (desktop 3-col side-by-side)
   ============================================================ */
.jm-video-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1rem;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}
.jm-video-grid > .jm-video-grid__item,
.jm-video-grid > article {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
  max-width: 100%;
  width: auto;
  margin: 0;
  float: none;
}
.jm-video-grid__thumb {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #0f0f0f;
  aspect-ratio: 16 / 9;
}
.jm-video-grid__thumb .ns-video-embed,
.jm-video-grid__thumb .ns-video-embed--card {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
}
.jm-video-grid__img,
.jm-video-grid__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}
.jm-video-grid__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 120px;
  background: linear-gradient(135deg, #1a1a1a, #333);
}
.jm-video-grid__meta {
  padding: 0 0.15rem;
}
.jm-video-grid__cat {
  display: inline-block;
  font-family: var(--ns-font-ui, system-ui, sans-serif);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--item-accent, var(--ns-primary, #c8102e));
  text-decoration: none;
  margin-bottom: 0.25rem;
}
.jm-video-grid__title {
  font-family: var(--ns-font-heading, Georgia, serif);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.jm-video-grid__title a {
  color: var(--ns-text-primary, #111);
  text-decoration: none;
}
.jm-video-grid__title a:hover {
  color: var(--ns-primary, #c8102e);
}
.jm-video-grid__byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--ns-font-ui, system-ui, sans-serif);
  font-size: 0.75rem;
  color: var(--ns-text-muted, #6b7280);
}
.jm-video-grid__dot {
  opacity: 0.7;
}

/* Tablet: 2 columns */
@media (max-width: 992px) {
  .jm-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Mobile / small tablet: single column stacked */
@media (max-width: 768px) {
  .jm-video-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  .jm-video-grid > .jm-video-grid__item,
  .jm-video-grid > article {
    width: 100%;
    max-width: 100%;
  }
}

/* JM-VIDEO-GRID-END */

/* ============================================================
   VIDEO LIGHTBOX — enlarged player on click
   ============================================================ */
body.jm-video-lightbox-open {
  overflow: hidden;
}
.jm-video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}
.jm-video-lightbox[hidden] {
  display: none !important;
}
.jm-video-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  cursor: pointer;
}
.jm-video-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(960px, 94vw);
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}
.jm-video-lightbox__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.jm-video-lightbox__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.jm-video-lightbox__close {
  position: absolute;
  top: 0.35rem;
  right: 0.45rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.jm-video-lightbox__close:hover,
.jm-video-lightbox__close:focus {
  background: rgba(200, 16, 46, 0.95);
  outline: none;
}
@media (max-width: 600px) {
  .jm-video-lightbox {
    padding: 0.75rem;
  }
  .jm-video-lightbox__panel {
    width: 100%;
    border-radius: 8px;
  }
}

/* Video embed — class-based (no inline styles) */
.ns-video-embed{position:relative;width:100%;aspect-ratio:16/9;background:#000;overflow:hidden}
.ns-video-embed--direct{background:#000}
.ns-video-embed__iframe,.ns-video-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.ns-video-embed__thumb,.ns-video-embed img{width:100%;height:100%;object-fit:cover;display:block}
.ns-video-embed__play{position:absolute;inset:0;margin:auto;width:64px;height:64px;border-radius:50%;border:0;background:rgba(200,16,46,.92);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:2;box-shadow:0 4px 20px rgba(0,0,0,.35)}
.ns-video-embed__play:hover{transform:scale(1.06);background:#c8102e}

/* Single article — moved from inline styles */
.ns-article-meta.is-flex{flex-wrap:wrap;gap:.75rem}
.ns-article-meta__pub{font-size:.7rem;text-transform:uppercase;letter-spacing:.06em;opacity:.6}
.ns-article-meta__views{font-family:var(--ns-font-ui);font-size:.78rem;color:var(--ns-text-muted);margin-left:auto}
.ns-reading-toolbar{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;padding:.75rem 0;border-bottom:1px solid var(--ns-border);margin-top:.75rem}
.jm-layout-hero-overlay{position:relative;width:100%;min-height:70vh;display:flex;align-items:flex-end;overflow:hidden;margin-bottom:0}
.jm-hero-overlay__img{position:absolute;inset:0;background-position:center;background-size:cover;background-repeat:no-repeat;transform:scale(1.02);transition:transform 8s ease}
.jm-hero-overlay__gradient{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.88) 0%,rgba(0,0,0,.45) 45%,rgba(0,0,0,.1) 100%)}
.jm-hero-overlay__content{position:relative;z-index:2;padding-bottom:3rem;padding-top:6rem;width:100%;max-width:860px}
.jm-hero-overlay__cat{display:inline-block;color:#fff;font-family:var(--ns-font-ui);font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.14em;padding:3px 10px;border-radius:3px;text-decoration:none;margin-bottom:.75rem}
.jm-hero-overlay__title{color:#fff!important;font-size:clamp(2rem,5vw,3.25rem);text-shadow:0 2px 12px rgba(0,0,0,.4);max-width:820px;margin-bottom:.75rem}
.jm-hero-overlay__excerpt{color:rgba(255,255,255,.82);font-size:1.1rem;line-height:1.55;max-width:680px;margin-bottom:1rem;font-family:var(--ns-font-body)}
.jm-hero-overlay__meta{display:flex;gap:.75rem;align-items:center;font-family:var(--ns-font-ui);font-size:.8rem;color:rgba(255,255,255,.7);flex-wrap:wrap}
.ns-article-nav a{text-decoration:none}
.ns-article-nav a.is-next{text-align:right}

/* Single alternate layouts */
.jm-layout-side-title{width:100%;overflow:hidden;background:var(--ns-bg-secondary,#f9fafb);margin-bottom:0}
.jm-layout-side-title__inner{max-width:1280px;margin:0 auto}
.jm-layout-side-title__grid{display:grid;grid-template-columns:55% 1fr;min-height:480px}
@media(max-width:900px){.jm-layout-side-title__grid{grid-template-columns:1fr}}
.jm-layout-side-title__media{position:relative;overflow:hidden}
.jm-layout-side-title__caption{position:absolute;bottom:0;left:0;right:0;background:rgba(0,0,0,.55);color:#fff;margin:0;padding:.4rem .75rem;font-size:.75rem}
.jm-layout-side-title__body{display:flex;flex-direction:column;justify-content:center;padding:3rem 2.5rem;gap:.75rem}
.jm-layout-side-title__kicker{font-family:var(--ns-font-ui);font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.14em;text-decoration:none}
.jm-layout-side-title__title{font-size:clamp(1.6rem,3.5vw,2.4rem);line-height:1.18;margin:0}
.jm-layout-side-title__excerpt{color:var(--ns-text-secondary);font-size:1rem;line-height:1.6;margin:0;font-family:var(--ns-font-body)}
.jm-layout-side-title__meta{display:flex;gap:.6rem;align-items:center;font-family:var(--ns-font-ui);font-size:.8rem;color:var(--ns-text-muted);flex-wrap:wrap;border-top:1px solid var(--ns-border);padding-top:.75rem;margin-top:.25rem}
.jm-layout-centered{max-width:740px;margin:0 auto;padding:0 1.5rem}
.jm-layout-centered__kicker{text-align:center;font-family:var(--ns-font-ui);font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.18em;margin-bottom:.6rem}
.jm-layout-centered__title{text-align:center;font-size:clamp(1.8rem,4.5vw,2.9rem);line-height:1.15;margin-bottom:1rem}
.jm-layout-centered__excerpt{text-align:center;color:var(--ns-text-secondary);font-size:1.1rem;line-height:1.65;margin-bottom:1.25rem;font-style:italic;font-family:var(--ns-font-body)}
.jm-layout-centered__meta{display:flex;align-items:center;justify-content:center;gap:.6rem;font-family:var(--ns-font-ui);font-size:.8rem;color:var(--ns-text-muted);margin-bottom:1.5rem;padding-bottom:1.25rem;border-bottom:2px solid var(--ns-border)}

.ns-container--article-top{margin-bottom:1.5rem}

/* Full-bleed site shell — prevent “floating box” layout */
html {
  width: 100%;
  box-sizing: border-box;
}
*, *::before, *::after { box-sizing: inherit; }
body {
  width: 100%;
  min-width: 0;
  margin: 0;
}
.ns-site,
#page,
.ns-page,
.site {
  width: 100%;
  max-width: 100%;
  margin: 0;
}
.ns-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  box-sizing: border-box;
}
.ns-section {
  width: 100%;
}
.ns-section__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 1.5rem;
  align-items: start;
  width: 100%;
}
.ns-section--has-sidewidget .ns-section__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 1.5rem;
  width: 100%;
}
@media (max-width: 992px) {
  .ns-section__split,
  .ns-section--has-sidewidget .ns-section__split {
    grid-template-columns: 1fr;
  }
}

/* Footer newsletter — class-based layout */
.ns-footer-newsletter__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.ns-footer-newsletter__copy {
  flex: 1;
  min-width: 200px;
}
.ns-footer-newsletter__title {
  font-family: var(--ns-font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.25rem;
}
.ns-footer-newsletter__text {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--ns-font-ui);
  font-size: 0.9rem;
  margin: 0;
}
.ns-footer-newsletter__form {
  display: flex;
  gap: 0.5rem;
  flex: 2;
  min-width: 280px;
  max-width: 500px;
}
.ns-footer-newsletter__input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  border: none;
  font-family: var(--ns-font-ui);
  font-size: 0.9rem;
}

/* ============================================================
/* Footer column rich content */
.ns-footer-brand__desc {
  margin: 0 0 1rem;
  line-height: 1.6;
  opacity: 0.88;
  font-size: 0.92rem;
}
.ns-footer-brand__desc p {
  margin: 0 0 0.5rem;
}
.ns-footer-brand__desc p:last-child {
  margin-bottom: 0;
}
.ns-footer-brand__image {
  margin: 0 0 1rem;
}
.ns-footer-brand__img,
.ns-footer-col__img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}
.ns-footer-col__image {
  margin: 0 0 0.85rem;
}
.ns-footer-col__text {
  margin: 0 0 0.85rem;
  line-height: 1.65;
  font-size: 0.9rem;
  opacity: 0.9;
}
.ns-footer-col__text p {
  margin: 0 0 0.55rem;
}
.ns-footer-col__text p:last-child {
  margin-bottom: 0;
}
.ns-footer-col__text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* Footer colors from Customizer */
.ns-footer-top {
  background: var(--ns-footer-bg, #1a1a2e) !important;
  color: var(--ns-footer-text, #c8c8d0);
}
.ns-footer-brand__desc,
.ns-footer-col__text {
  color: var(--ns-footer-text, #c8c8d0);
}
.ns-footer-brand__logo,
.ns-footer-col-title {
  color: var(--ns-footer-heading, #ffffff) !important;
}
.ns-footer-links a,
.ns-footer-social a,
.ns-footer-col__text a {
  color: var(--ns-footer-link, #c8c8d0) !important;
}
.ns-footer-links a:hover,
.ns-footer-social a:hover,
.ns-footer-col__text a:hover {
  color: var(--ns-footer-link-hover, #ffffff) !important;
}
.ns-footer-bottom {
  color: var(--ns-footer-bottom-text, #9a9aaa);
}
.ns-footer-bottom a {
  color: inherit;
}
.ns-footer-bottom a:hover {
  color: var(--ns-footer-link-hover, #ffffff);
}

.ns-footer-brand__image-link {
  display: inline-block;
  margin: 0 0 1rem;
  line-height: 0;
}
.ns-footer-brand__image-link .ns-footer-brand__img {
  max-width: 220px;
  height: auto;
}


/* Footer text size (Customizer) */
.ns-footer-brand__desc,
.ns-footer-col__text,
.ns-footer-links a,
.ns-footer-bottom {
  font-size: var(--ns-footer-text-size, 14px);
}
.ns-footer-col-title {
  font-size: var(--ns-footer-heading-size, 15px) !important;
}
.ns-footer-brand__logo {
  font-size: var(--ns-footer-brand-size, 28px) !important;
}




/* ============================================================
   FOOTER — Editorial (newspaper standard)
   ============================================================ */
.ns-footer.ns-footer--editorial {
  background: var(--ns-footer-bg, #f2f2f2) !important;
  color: var(--ns-footer-text, #333) !important;
  font-size: var(--ns-footer-font-size, 14px);
  line-height: 1.65;
  border-top: 1px solid var(--ns-footer-border, #cfcfcf);
}
.ns-footer--editorial a {
  color: var(--ns-footer-link, #333);
  text-decoration: none;
}
.ns-footer--editorial a:hover {
  text-decoration: underline;
  color: #000;
}

/* Newsletter strip — centered, no big title */
.ns-footer--editorial .ns-footer-newsletter {
  background: transparent !important;
  padding: 1.1rem 0 1rem !important;
  border-bottom: 1px solid var(--ns-footer-border, #cfcfcf) !important;
}
.ns-footer--editorial .ns-footer-newsletter__inner {
  display: flex !important;
  justify-content: center !important;
  max-width: 400px;
  margin: 0 auto;
  padding: 0;
}
.ns-footer--editorial .ns-footer-newsletter__copy {
  display: none !important;
}
.ns-footer--editorial .ns-footer-newsletter__form {
  display: flex !important;
  width: 100%;
  border: 1px solid #bdbdbd;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
}
.ns-footer--editorial .ns-footer-newsletter__input {
  flex: 1;
  border: 0 !important;
  outline: none;
  padding: 0.65rem 0.9rem !important;
  font-size: 0.9rem;
  background: #fff !important;
  color: #333 !important;
  border-radius: 0 !important;
}
.ns-footer--editorial .ns-footer-newsletter__btn {
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0.65rem 1.15rem !important;
  background: #4a4a4a !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}

/* Brand bar: logo left — utils + social right */
.ns-footer--editorial .ns-footer-brandbar {
  background: transparent;
  border-bottom: 1px solid var(--ns-footer-border, #cfcfcf);
  padding: 0.85rem 0;
}
.ns-footer--editorial .ns-footer-brandbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
}
.ns-footer--editorial .ns-footer-brandbar__logo img,
.ns-footer--editorial .ns-footer-brandbar__logo .custom-logo {
  max-height: 42px;
  width: auto;
  display: block;
}
.ns-footer--editorial .ns-footer-brandbar__logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ns-footer-heading, #111);
}
.ns-footer--editorial .ns-footer-brandbar__right {
  display: flex;
  align-items: center;
  gap: 1.1rem 1.5rem;
  margin-left: auto;
}
.ns-footer--editorial .ns-footer-brandbar__utils {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--ns-footer-link-size, 14px);
}
.ns-footer--editorial .ns-footer-brandbar__social {
  display: flex;
  gap: 0.4rem;
}
.ns-footer--editorial .ns-footer-brandbar__social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #bbb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #333;
  background: #fff;
  text-decoration: none;
}
.ns-footer--editorial .ns-footer-brandbar__social a:hover {
  background: #333;
  color: #fff;
  border-color: #333;
  text-decoration: none;
}

/* 3-column editorial body */
.ns-footer--editorial .ns-footer-editorial-main {
  padding: 1.35rem 0 1.25rem;
  border-bottom: 1px solid var(--ns-footer-border, #cfcfcf);
}
.ns-footer--editorial .ns-footer-editorial-main__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.5rem 2.75rem;
  align-items: start;
}
.ns-footer--editorial .ns-footer-ed-col__title {
  margin: 0 0 0.55rem;
  font-size: var(--ns-footer-heading-size, 15px);
  font-weight: var(--ns-footer-heading-weight, 700);
  color: var(--ns-footer-heading, #111);
}
.ns-footer--editorial .ns-footer-ed-meta {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ns-footer--editorial .ns-footer-ed-meta li {
  margin: 0 0 0.35rem;
  font-size: var(--ns-footer-font-size, 14px);
  line-height: 1.55;
  color: var(--ns-footer-text, #333);
}
.ns-footer--editorial .ns-footer-ed-meta strong {
  font-size: var(--ns-footer-label-size, 14px);
  font-weight: var(--ns-footer-label-weight, 700);
  color: var(--ns-footer-heading, #111);
}
.ns-footer--editorial .ns-footer-ed-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ns-footer--editorial .ns-footer-ed-links li {
  margin: 0 0 0.4rem;
}
.ns-footer--editorial .ns-footer-ed-links a,
.ns-footer--editorial .ns-footer-col__text,
.ns-footer--editorial .ns-footer-col__text p {
  font-size: var(--ns-footer-link-size, 14px);
  line-height: 1.55;
  color: var(--ns-footer-text, #333);
  margin: 0 0 0.35rem;
}
.ns-footer--editorial .ns-footer-ed-contact p {
  margin: 0 0 0.45rem;
  font-size: var(--ns-footer-font-size, 14px);
  line-height: 1.55;
}
.ns-footer--editorial .ns-footer-ed-contact strong {
  font-weight: var(--ns-footer-label-weight, 700);
}

/* Bottom legal bar */
.ns-footer--editorial .ns-footer-bottom {
  background: transparent !important;
  padding: 0.75rem 0 !important;
  font-size: var(--ns-footer-bottom-size, 13px);
  color: var(--ns-footer-bottom-text, #555) !important;
}
.ns-footer--editorial .ns-footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem 1.5rem;
}
.ns-footer--editorial .ns-footer-bottom__copy {
  margin: 0;
  font-size: inherit;
}
.ns-footer--editorial .ns-footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
  margin-left: 0.5rem;
}
.ns-footer--editorial .ns-footer-bottom__links a {
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ns-footer--editorial .ns-footer-bottom__credit {
  margin-left: auto;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .ns-footer--editorial .ns-footer-editorial-main__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .ns-footer--editorial .ns-footer-editorial-main__grid {
    grid-template-columns: 1fr;
  }
  .ns-footer--editorial .ns-footer-brandbar__right {
    margin-left: 0;
    width: 100%;
  }
  .ns-footer--editorial .ns-footer-bottom__credit {
    margin-left: 0;
  }
}

/* Footer typography tokens from Footer Builder */
.ns-footer--editorial {
  color: var(--ns-footer-font-color, var(--ns-footer-text, #333));
  font-size: var(--ns-footer-font-size, 14px);
  font-weight: var(--ns-footer-font-weight, 400);
  font-style: var(--ns-footer-font-style, normal);
}
.ns-footer--editorial .ns-footer-ed-col__title {
  font-size: var(--ns-footer-heading-size, 15px) !important;
  font-weight: var(--ns-footer-heading-weight, 700) !important;
  font-style: var(--ns-footer-heading-style, normal) !important;
  color: var(--ns-footer-heading-color, #111) !important;
}
.ns-footer--editorial .ns-footer-ed-meta strong,
.ns-footer--editorial .ns-footer-ed-body strong,
.ns-footer--editorial .ns-footer-ed-contact strong {
  font-size: var(--ns-footer-label-size, 14px);
  font-weight: var(--ns-footer-label-weight, 700);
  font-style: var(--ns-footer-label-style, normal);
  color: var(--ns-footer-label-color, #111);
}
.ns-footer--editorial .ns-footer-ed-body,
.ns-footer--editorial .ns-footer-ed-body p,
.ns-footer--editorial .ns-footer-ed-meta li,
.ns-footer--editorial .ns-footer-ed-contact p {
  font-size: var(--ns-footer-font-size, 14px);
  font-weight: var(--ns-footer-font-weight, 400);
  font-style: var(--ns-footer-font-style, normal);
  color: var(--ns-footer-font-color, #333);
}
.ns-footer--editorial .ns-footer-ed-links a,
.ns-footer--editorial .ns-footer-ed-links span,
.ns-footer--editorial .ns-footer-brandbar__utils a {
  font-size: var(--ns-footer-link-size, 14px);
  font-weight: var(--ns-footer-link-weight, 400);
  font-style: var(--ns-footer-link-style, normal);
  color: var(--ns-footer-link-color, #333);
}
.ns-footer--editorial .ns-footer-bottom,
.ns-footer--editorial .ns-footer-bottom__copy,
.ns-footer--editorial .ns-footer-bottom__links a {
  font-size: var(--ns-footer-bottom-size, 13px) !important;
  font-weight: var(--ns-footer-bottom-weight, 400);
  font-style: var(--ns-footer-bottom-style, normal);
  color: var(--ns-footer-bottom-color, #555) !important;
}
.ns-footer--editorial .ns-footer-editorial-main__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ns-footer--editorial .ns-footer-ed-col {
  min-width: 0;
}


/* ============================================================
   FOOTER — Mobile / tablet responsiveness
   ============================================================ */
@media (max-width: 900px) {
  .ns-footer--editorial .ns-footer-editorial-main__grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.25rem 1.5rem;
  }
  .ns-footer--editorial .ns-footer-brandbar__inner {
    gap: 0.85rem 1rem;
  }
}

@media (max-width: 640px) {
  .ns-footer.ns-footer--editorial {
    font-size: 13px;
  }

  .ns-footer--editorial .ns-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Newsletter full width */
  .ns-footer--editorial .ns-footer-newsletter {
    padding: 0.9rem 0 !important;
  }
  .ns-footer--editorial .ns-footer-newsletter__inner {
    max-width: 100% !important;
    width: 100%;
    padding: 0;
  }
  .ns-footer--editorial .ns-footer-newsletter__form {
    width: 100%;
  }
  .ns-footer--editorial .ns-footer-newsletter__input {
    min-width: 0;
    font-size: 16px !important; /* prevent iOS zoom */
  }
  .ns-footer--editorial .ns-footer-newsletter__btn {
    flex-shrink: 0;
    padding: 0.65rem 0.9rem !important;
  }

  /* Brand bar stacks */
  .ns-footer--editorial .ns-footer-brandbar {
    padding: 0.85rem 0;
  }
  .ns-footer--editorial .ns-footer-brandbar__inner {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.75rem;
  }
  .ns-footer--editorial .ns-footer-brandbar__logo img,
  .ns-footer--editorial .ns-footer-brandbar__logo .custom-logo {
    max-height: 36px;
  }
  .ns-footer--editorial .ns-footer-brandbar__right {
    width: 100% !important;
    margin-left: 0 !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
  .ns-footer--editorial .ns-footer-brandbar__utils {
    flex-wrap: wrap;
    gap: 0.5rem 0.85rem;
  }
  .ns-footer--editorial .ns-footer-brandbar__social {
    gap: 0.45rem;
  }
  .ns-footer--editorial .ns-footer-brandbar__social a {
    width: 36px;
    height: 36px;
  }

  /* One column stack */
  .ns-footer--editorial .ns-footer-editorial-main {
    padding: 1rem 0 0.85rem;
  }
  .ns-footer--editorial .ns-footer-editorial-main__grid {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
  }
  .ns-footer--editorial .ns-footer-ed-col {
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--ns-footer-border, #ddd);
  }
  .ns-footer--editorial .ns-footer-ed-col:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .ns-footer--editorial .ns-footer-ed-col__title {
    margin-bottom: 0.4rem;
  }

  /* Bottom bar stacks cleanly */
  .ns-footer--editorial .ns-footer-bottom {
    padding: 0.85rem 0 !important;
  }
  .ns-footer--editorial .ns-footer-bottom__inner {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.55rem !important;
  }
  .ns-footer--editorial .ns-footer-bottom__links {
    margin-left: 0 !important;
    gap: 0.5rem 0.85rem;
  }
  .ns-footer--editorial .ns-footer-bottom__credit {
    margin-left: 0 !important;
  }

  /* Classic footer mobile */
  .ns-footer-top__inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
}

@media (max-width: 380px) {
  .ns-footer--editorial .ns-footer-newsletter__form {
    flex-direction: column;
  }
  .ns-footer--editorial .ns-footer-newsletter__btn {
    width: 100%;
  }
}



/* ============================================================
   JM FOOTER — Premium international
   ============================================================ */
.jm-ft {
  --jm-ft-bg: #0f1419;
  --jm-ft-text: #c5cdd8;
  --jm-ft-heading: #fff;
  --jm-ft-link: #c5cdd8;
  --jm-ft-hover: #fff;
  --jm-ft-border: rgba(255,255,255,.1);
  --jm-ft-accent: #e10600;
  --jm-ft-muted: #8b95a5;
  background: var(--jm-ft-bg);
  color: var(--jm-ft-font-color, var(--jm-ft-text));
  font-size: var(--jm-ft-font-size, 14px);
  font-weight: var(--jm-ft-font-weight, 400);
  font-style: var(--jm-ft-font-style, normal);
  line-height: 1.65;
  margin-top: 0;
}
.jm-ft a {
  color: var(--jm-ft-link-color, var(--jm-ft-link));
  text-decoration: none;
  transition: color .15s ease;
}
.jm-ft a:hover {
  color: var(--jm-ft-hover);
}

/* Newsletter */
.jm-ft__newsletter {
  border-bottom: 1px solid var(--jm-ft-border);
  padding: 1.75rem 0;
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
}
.jm-ft__newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  flex-wrap: wrap;
}
.jm-ft__newsletter-title {
  margin: 0 0 .25rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--jm-ft-heading);
  letter-spacing: -.01em;
}
.jm-ft__newsletter-text {
  margin: 0;
  color: var(--jm-ft-muted);
  font-size: .92rem;
}
.jm-ft__newsletter-form {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: min(100%, 380px);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--jm-ft-border);
  background: rgba(0,0,0,.2);
}
.jm-ft--light .jm-ft__newsletter-form {
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.1);
}
.jm-ft__newsletter-form input[type=email] {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  padding: .85rem 1rem !important;
  font-size: 16px !important;
  border-radius: 0 !important;
  outline: none;
}
.jm-ft__newsletter-form button {
  border: 0;
  background: var(--jm-ft-accent);
  color: #fff;
  font-weight: 700;
  padding: .85rem 1.25rem;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: .02em;
}
.jm-ft__newsletter-form button:hover {
  filter: brightness(1.08);
}

/* Main */
.jm-ft__main {
  padding: 2.5rem 0 2rem;
}
.jm-ft__main-grid {
  display: grid;
  gap: 2rem 2.5rem;
}
.jm-ft__main-grid.has-brand {
  grid-template-columns: minmax(200px, .9fr) minmax(0, 2.2fr);
  align-items: start;
}
.jm-ft__logo {
  display: inline-block;
  margin-bottom: .85rem;
  text-decoration: none !important;
}
.jm-ft__logo-img {
  max-height: 44px;
  width: auto;
  display: block;
}
.jm-ft__logo-text {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--jm-ft-heading);
  letter-spacing: -.02em;
}
.jm-ft__tagline {
  margin: 0 0 1rem;
  color: var(--jm-ft-muted);
  font-size: .9rem;
  max-width: 28ch;
  line-height: 1.5;
}
.jm-ft__utils {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .9rem;
}
.jm-ft__utils a {
  font-size: var(--jm-ft-link-size, 14px);
  font-weight: var(--jm-ft-link-weight, 400);
}
.jm-ft__social {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.jm-ft__social-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--jm-ft-border);
  font-size: .75rem;
  font-weight: 700;
  color: var(--jm-ft-heading) !important;
  background: rgba(255,255,255,.04);
  text-decoration: none !important;
}
.jm-ft__social-link:hover {
  background: var(--jm-ft-accent);
  border-color: var(--jm-ft-accent);
  color: #fff !important;
}

/* Columns */
.jm-ft__cols {
  display: grid;
  grid-template-columns: repeat(var(--jm-ft-cols, 4), minmax(0, 1fr));
  gap: 1.5rem 1.75rem;
}
.jm-ft__col-title {
  margin: 0 0 .85rem;
  font-size: var(--jm-ft-head-size, 13px);
  font-weight: var(--jm-ft-head-weight, 700);
  font-style: var(--jm-ft-head-style, normal);
  color: var(--jm-ft-head-color, var(--jm-ft-heading));
  text-transform: uppercase;
  letter-spacing: .08em;
}
.jm-ft__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.jm-ft__list li {
  margin: 0 0 .45rem;
}
.jm-ft__list a,
.jm-ft__list span {
  font-size: var(--jm-ft-link-size, 14px);
  font-weight: var(--jm-ft-link-weight, 400);
  font-style: var(--jm-ft-link-style, normal);
  color: var(--jm-ft-link-color, var(--jm-ft-link));
}
.jm-ft__rich,
.jm-ft__rich p {
  margin: 0 0 .45rem;
  font-size: var(--jm-ft-font-size, 14px);
  color: var(--jm-ft-font-color, var(--jm-ft-text));
  line-height: 1.6;
}

/* Bottom */
.jm-ft__bottom {
  border-top: 1px solid var(--jm-ft-border);
  padding: 1rem 0;
}
.jm-ft__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1.5rem;
}
.jm-ft__copy,
.jm-ft__credit {
  margin: 0;
  font-size: var(--jm-ft-bot-size, 13px);
  font-weight: var(--jm-ft-bot-weight, 400);
  font-style: var(--jm-ft-bot-style, normal);
  color: var(--jm-ft-bot-color, var(--jm-ft-muted));
}
.jm-ft__legal {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.1rem;
}
.jm-ft__legal a,
.jm-ft__legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.1rem;
  font-size: var(--jm-ft-bot-size, 13px);
  color: var(--jm-ft-bot-color, var(--jm-ft-muted));
}
.jm-ft__credit {
  margin-left: auto;
}
.jm-ft__credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Light surface tweaks */
.jm-ft--light {
  box-shadow: inset 0 1px 0 rgba(0,0,0,.04);
}

/* Mobile */
@media (max-width: 960px) {
  .jm-ft__main-grid.has-brand {
    grid-template-columns: 1fr;
  }
  .jm-ft__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .jm-ft__newsletter-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .jm-ft__newsletter-form {
    min-width: 0;
    width: 100%;
  }
  .jm-ft__main {
    padding: 1.75rem 0 1.25rem;
  }
  .jm-ft__cols {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .jm-ft__col {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--jm-ft-border);
  }
  .jm-ft__col:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .jm-ft__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .jm-ft__credit {
    margin-left: 0;
  }
  .jm-ft__social-link {
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 400px) {
  .jm-ft__newsletter-form {
    flex-direction: column;
  }
}


/* ============================================================
   JM FOOTER — Premium dash v2
   ============================================================ */
.jm-ft {
  position: relative;
  isolation: isolate;
  letter-spacing: 0.01em;
}
.jm-ft::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--jm-ft-accent, #e10600), transparent 55%, var(--jm-ft-accent, #e10600));
  opacity: .9;
  z-index: 2;
}
.jm-ft__newsletter {
  position: relative;
  padding: 2rem 0 !important;
  background:
    radial-gradient(600px 120px at 20% 0%, rgba(225,6,0,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent) !important;
}
.jm-ft__newsletter-title {
  font-size: clamp(1.05rem, 2vw, 1.35rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
}
.jm-ft__newsletter-form {
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.18), 0 0 0 1px var(--jm-ft-border) !important;
}
.jm-ft__newsletter-form button {
  background: linear-gradient(180deg, color-mix(in srgb, var(--jm-ft-accent) 92%, #fff), var(--jm-ft-accent)) !important;
  padding: 0.9rem 1.4rem !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
}
.jm-ft__main {
  padding: 2.75rem 0 2.25rem !important;
}
.jm-ft__logo-text {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem) !important;
  background: linear-gradient(90deg, var(--jm-ft-heading), color-mix(in srgb, var(--jm-ft-heading) 70%, var(--jm-ft-accent)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
}
.jm-ft--light .jm-ft__logo-text {
  background: none;
  color: var(--jm-ft-heading) !important;
  -webkit-text-fill-color: var(--jm-ft-heading);
}
.jm-ft__col-title {
  position: relative;
  padding-bottom: 0.55rem;
  margin-bottom: 1rem !important;
}
.jm-ft__col-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--jm-ft-accent);
  border-radius: 2px;
}
.jm-ft__list a {
  display: inline-block;
  padding: 0.15rem 0;
  position: relative;
}
.jm-ft__list a:hover {
  color: var(--jm-ft-hover) !important;
  transform: translateX(2px);
}
.jm-ft__social-link {
  border-radius: 12px !important;
  backdrop-filter: blur(6px);
  transition: transform .15s ease, background .15s ease, border-color .15s ease !important;
}
.jm-ft__social-link:hover {
  transform: translateY(-2px);
}
.jm-ft__bottom {
  background: rgba(0,0,0,.18);
  padding: 1.1rem 0 !important;
}
.jm-ft--light .jm-ft__bottom {
  background: rgba(0,0,0,.03);
}
.jm-ft__cols {
  gap: 1.75rem 2rem !important;
}

/* Allow ultra-small builder sizes (7–9px) without browser min quirks */
.jm-ft,
.jm-ft .jm-ft__rich,
.jm-ft .jm-ft__rich p,
.jm-ft .jm-ft__list a,
.jm-ft .jm-ft__list span,
.jm-ft .jm-ft__copy,
.jm-ft .jm-ft__legal a,
.jm-ft .jm-ft__col-title {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
