/*
Theme Name: News-Sports
Theme URI: https://example.com/news-sports
Author: Diana Buendía Pineda
Author URI: https://dianabuendia.com
Description: Tema de noticias y deportes 100% responsivo, con menú hamburguesa funcional y opciones personalizables desde Apariencia > Personalizar (colores, menú, redes sociales, hero y secciones).
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: news-sports
Tags: news, sports, custom-menu, custom-logo, responsive-layout, translation-ready
*/

/* =========================================
   0. VARIABLES (valores por defecto, se
   sobreescriben desde el Personalizador)
========================================= */
:root{
  --ns-primary: #1a4fd6;
  --ns-secondary: #e30613;
  --ns-header-bg: #ffffff;
  --ns-topbar-bg: #111111;
  --ns-topbar-text: #ffffff;
  --ns-nav-bg: #1a4fd6;
  --ns-nav-text: #ffffff;
  --ns-link-hover: #e30613;
  --ns-text: #222222;
  --ns-bg: #f4f5f7;
  --ns-card-bg: #ffffff;
  --ns-font: 'Segoe UI', Arial, Helvetica, sans-serif;
}

/* =========================================
   1. RESET BASICO
========================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; }
body{
  margin: 0;
  font-family: var(--ns-font);
  background: var(--ns-bg);
  color: var(--ns-text);
  line-height: 1.5;
}
img{ max-width: 100%; height: auto; display: block; }
a{ color: inherit; text-decoration: none; }
a:hover{ color: var(--ns-link-hover); }
ul{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; cursor: pointer; }
.screen-reader-text{
  position: absolute !important;
  clip: rect(1px,1px,1px,1px);
  width: 1px; height: 1px; overflow: hidden;
}

.ns-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* =========================================
   2. TOP BAR (breaking news + fecha/hora + redes)
========================================= */
.ns-topbar{
  background: var(--ns-topbar-bg);
  color: var(--ns-topbar-text);
  font-size: 13px;
}
.ns-topbar .ns-container{
  display: flex;
  align-items: center;
  gap: 14px;
  height: 38px;
}
.ns-topbar-trending{
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ns-secondary);
  padding: 4px 12px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.ns-topbar-trending svg{ width: 14px; height: 14px; flex-shrink:0; }
.ns-ticker{
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 18px;
}
.ns-ticker-track{
  display: inline-flex;
  gap: 60px;
  position: absolute;
  white-space: nowrap;
  animation: ns-scroll 85s linear infinite;
  will-change: transform;
}
.ns-ticker-track span{ padding-right: 20px; }
@keyframes ns-scroll{
  0%{ transform: translateX(0%); }
  100%{ transform: translateX(-50%); }
}

.ns-ticker{
    overflow:hidden;
    white-space:nowrap;
}

.ns-ticker-track{
    display:inline-flex;
    align-items:center;
    width:max-content;
    animation:ns-scroll 45s linear infinite;
}

.ns-ticker-track:hover{
    animation-play-state:paused;
}

.ns-ticker-track a{
    display:inline-flex;
    align-items:center;
    white-space:nowrap;
    text-decoration:none;
    color:inherit;
    padding-right:40px;
}

.ns-ticker-track a::after{
    content:"•";
    margin-left:20px;
    margin-right:20px;
    opacity:.45;
}

.ns-ticker-track:hover{
    animation-play-state: paused;
}
.ns-ticker-track a{
    color:inherit;
    text-decoration:none;
    transition:color .25s ease;
}

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

@keyframes ns-scroll{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}

.ns-topbar-right{
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.ns-topbar-datetime{
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.ns-topbar-datetime .ns-time{
  background: var(--ns-primary);
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 600;
}

/* =========================================
   3. HEADER (logo + banner + redes sociales)
========================================= */
.ns-header{
  background: var(--ns-header-bg);
  padding: 18px 0;
}
.ns-header .ns-container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.ns-logo{
  flex-shrink: 0;
}
.ns-logo img{ max-height: 70px; width: auto; }
.ns-logo .site-title{
  font-size: 26px;
  font-weight: 800;
  margin: 0;
  color: var(--ns-primary);
}
.ns-logo .site-description{
  margin: 0;
  font-size: 12px;
  color: #777;
}
.ns-hero-banner{
  flex: 1 1 auto;
  min-width: 200px;
  max-width: 700px;
  border-radius: 4px;
  overflow: hidden;
}
.ns-hero-banner img{ width: 100%; object-fit: cover; max-height: 90px; }
.ns-social-icons{
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.ns-social-icons a{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform .15s ease;
}
.ns-social-icons a:hover{ transform: translateY(-2px); color:#fff; }
.ns-social-icons a svg{ width: 18px; height: 18px; }
.ns-social-facebook{ background: #1877f2; }
.ns-social-instagram{ background: radial-gradient(circle at 30% 110%, #fdf497, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.ns-social-twitter{ background: #000000; }
.ns-social-youtube{ background: #ff0000; }

/* =========================================
   4. NAVEGACION + MENU HAMBURGUESA
========================================= */
.ns-navbar{
  background: var(--ns-nav-bg);
  position: relative;
  z-index: 100;
}
.ns-navbar .ns-container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
}
.ns-nav-toggle{
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.ns-nav-toggle span{
  display: block;
  width: 100%;
  height: 3px;
  background: var(--ns-nav-text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.ns-nav-toggle.is-active span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.ns-nav-toggle.is-active span:nth-child(2){ opacity: 0; }
.ns-nav-toggle.is-active span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

.ns-primary-menu{
  display: flex;
  flex-wrap: wrap;
}
.ns-primary-menu li{ position: relative; }
.ns-primary-menu > li > a{
  display: block;
  padding: 13px 16px;
  color: var(--ns-nav-text);
  font-weight: 600;
  font-size: 14.5px;
}
.ns-primary-menu > li > a:hover,
.ns-primary-menu > li.current-menu-item > a{
  background: rgba(0,0,0,.15);
  color: #fff;
}
.ns-primary-menu .sub-menu{
  display: none;
  position: absolute;
  top: 100%; left: 0;
  min-width: 200px;
  background: var(--ns-nav-bg);
  box-shadow: 0 6px 14px rgba(0,0,0,.2);
}
.ns-primary-menu li:hover > .sub-menu{ display: block; }
.ns-primary-menu .sub-menu a{ padding: 10px 16px; }

.ns-nav-search{
  display: flex;
  align-items: center;
}
.ns-nav-search button{
  background: transparent;
  border: 0;
  color: var(--ns-nav-text);
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
}
.ns-nav-search svg{ width: 18px; height: 18px; }

/* =========================================
   3.1 MENÚ DE REDES (junto al banner del encabezado)
   Cada ítem se muestra como ícono circular 40x40px
   con el color institucional de su red social.
========================================= */
.ns-social-menu-wrap{
  flex-shrink: 0;
}
.ns-social-menu{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ns-social-menu-item{ list-style: none; }
.ns-social-menu-icon{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform .15s ease;
}
.ns-social-menu-icon:hover{ transform: translateY(-2px); color: #fff; }
.ns-social-menu-icon svg{ width: 18px; height: 18px; }
.ns-social-fallback{
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

/* Colores institucionales por red (compartidos con los íconos del banner) */
.ns-social-tiktok{ background: #000000; }
.ns-social-whatsapp{ background: #25d366; }
.ns-social-linkedin{ background: #0a66c2; }
.ns-social-telegram{ background: #229ed9; }
.ns-social-generic{ background: var(--ns-primary); }

/* =========================================
   5. LATEST STORY BAR
========================================= */
.ns-latest-bar{
  background: #eef1f8;
  border-bottom: 1px solid #dde1ea;
  font-size: 13.5px;
}
.ns-latest-bar .ns-container{
  display: flex;
  align-items: center;
  gap: 12px;
  height: 34px;
}
.ns-latest-label{
  background: var(--ns-primary);
  color: #fff;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.ns-latest-label svg{ width: 12px; height: 12px; }
.ns-latest-text{
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ns-latest-ticker{
    overflow:hidden;
    flex:1;
}

.ns-latest-track{
    display:flex;
    align-items:center;
    width:max-content;
    animation:ns-scroll 45s linear infinite;
}

.ns-latest-track:hover{
    animation-play-state:paused;
}

.ns-latest-item{
    display:flex;
    align-items:center;
    gap:12px;
    margin-right:50px;
    white-space:nowrap;
    color:inherit;
    text-decoration:none;
}

.ns-latest-thumb img{
    width:34px;
    height:34px;
    border-radius:50%;
    object-fit:cover;
}

.ns-latest-cat{
    font-size:13px;
    font-weight:700;
    color:#0d5efd;
}

.ns-latest-title{
    font-weight:600;
}

/* =========================================
   6. HERO: CARRUSEL + 2 TARJETAS CENTRALES + 1 VERTICAL
========================================= */
.ns-hero-grid{
  display: flex;
  align-items: stretch;
  gap: 18px;
  padding: 24px 0 40px;
}

/* --- 6.1 Carrusel grande (izquierda) --- */
.ns-hero-carousel{
  position: relative;
  flex: 1.7 1 0;
  min-width: 0;
  height: 440px;
}
.ns-carousel-track{
  position: relative;
  width: 100%;
  height: 100%;
}
.ns-carousel-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease;
  z-index: 1;
}
.ns-carousel-slide.is-active{
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.ns-carousel-dots{
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 6;
}
.ns-dot{
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  border: 0;
  padding: 0;
}
.ns-dot.is-active{ background: #fff; }

/* Badges compartidos por todas las tarjetas */
.ns-badge{
  position: absolute;
  top: 12px; left: 12px;
  background: var(--ns-secondary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 3px;
  letter-spacing: .5px;
  z-index: 4;
}
.ns-comments-badge{
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 3px;
  display: flex; align-items: center; gap: 4px;
  z-index: 4;
}
.ns-comments-badge svg{ width: 12px; height: 12px; }

/* --- 6.2 Tarjeta con "foto + título superpuesto" y franja de datos debajo ---
   Se usa en el carrusel grande y en las 2 tarjetas de la columna central */
.ns-hero-card{
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--ns-card-bg);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.ns-hero-card-photo{
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background: #ddd;
}
.ns-hero-card-photo img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ns-hero-card-caption{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 14px 10px;
  background: linear-gradient(0deg, rgba(0,0,0,.82) 22%, rgba(0,0,0,0) 100%);
  z-index: 3;
}
.ns-hero-card-title{
  margin: 0;
  color: #fff;
  font-weight: 800;
  line-height: 1.3;
  font-size: 14.5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ns-hero-card-title a{ color: #fff; }
.ns-hero-card-info{
  flex-shrink: 0;
  padding: 10px 16px 14px;
}
.ns-hero-card-info .ns-card-meta{ margin-bottom: 4px; }
.ns-hero-card-info .ns-card-excerpt{
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Variante grande: usada dentro del carrusel (más texto, más aire) */
.ns-hero-card.is-large .ns-hero-card-caption{
  padding: 36px 16px 12px;
  background: linear-gradient(0deg, rgba(0,0,0,.82) 40%, rgba(0,0,0,0) 100%);
}
.ns-hero-card.is-large .ns-hero-card-title{ font-size: 21px; -webkit-line-clamp: 2; }
.ns-hero-card.is-large .ns-hero-card-info .ns-card-excerpt{ -webkit-line-clamp: 2; font-size: 13.5px; }

/* --- 6.3 Tarjeta 100% overlay (foto + TODO el texto encima) ---
   Se usa únicamente en la tarjeta vertical de la derecha */
.ns-overlay-card{
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  overflow: hidden;
  border-radius: 6px;
  background: #ddd;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.ns-overlay-card img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ns-overlay-body{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 50px 18px 20px;
  background: linear-gradient(0deg, rgba(0,0,0,.88) 35%, rgba(0,0,0,0) 100%);
  color: #fff;
  z-index: 3;
}
.ns-overlay-title{
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 8px;
}
.ns-overlay-title a{ color: #fff; }
.ns-overlay-excerpt{
  font-size: 13px;
  opacity: .85;
  margin: 6px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ns-overlay-meta{
  font-size: 12px;
  color: #eee;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ns-overlay-meta svg{ width: 12px; height: 12px; }

/* --- 6.4 Columna central: 2 tarjetas "ns-hero-card" apiladas --- */
.ns-hero-middle{
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ns-hero-middle .ns-hero-card{ flex: 1 1 0; min-height: 0; }
.ns-hero-middle .ns-hero-card-photo{ min-height: 90px; }

/* --- 6.5 Columna derecha: 1 tarjeta vertical (100% overlay) --- */
.ns-hero-side{
  flex: 1 1 0;
  min-width: 0;
}

/* --- 6.6 Tarjeta estándar (miniatura arriba + texto abajo, sin overlay) ---
   Se usa en archivos, búsquedas y en el grid "Más Noticias" */
.ns-news-card{
  background: var(--ns-card-bg);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  position: relative;
  display: flex;
  flex-direction: column;
}
.ns-news-card .ns-card-thumb{
  position: relative;
  overflow: hidden;
  background: #ddd;
  height: 180px;
  flex-shrink: 0;
}
.ns-news-card .ns-card-thumb img{
  width: 100%; height: 100%; object-fit: cover;
}
.ns-card-body{
  padding: 12px 16px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.ns-card-title{
  font-size: 15.5px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ns-card-title a{ color: inherit; }
.ns-card-meta{
  font-size: 12px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}
.ns-card-meta span{
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ns-card-meta svg{ width: 12px; height: 12px; flex-shrink: 0; }
.ns-card-excerpt{
  font-size: 13px;
  color: #666;
  margin: 6px 0 0;
}

/* --- 6.7 Grid de "Más Noticias" --- */
.ns-more-news-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ns-side-column{
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ns-column-heading{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ns-primary);
  margin-bottom: 2px;
}
.ns-column-heading::before{
  content: "";
  width: 6px; height: 6px;
  background: var(--ns-secondary);
  border-radius: 50%;
}

/* =========================================
   6.8 BANNER ANCHO (debajo del hero)
========================================= */
.ns-wide-banner{
  margin-bottom: 24px;
  border-radius: 6px;
  overflow: hidden;
}
.ns-wide-banner img{
  width: 100%;
  display: block;
}

/* =========================================
   6.85 SECCIÓN LIBRE (widgets: video, HTML, etc.)
   Entre el banner ancho y el carrusel de 4.
========================================= */
.ns-free-section{
  margin-bottom: 24px;
}
.ns-free-section.has-bg{
  padding: 30px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ns-free-section .ns-widget{ margin-bottom: 20px; }
.ns-free-section .ns-widget:last-child{ margin-bottom: 0; }
.ns-free-section .ns-widget-title{
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ns-primary);
  margin: 0 0 12px;
}
.ns-free-section img{
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}
/* Videos incrustados (YouTube, Vimeo, etc.) responsivos */
.ns-free-section iframe,
.ns-free-section video,
.ns-free-section embed,
.ns-free-section object{
  max-width: 100%;
  border-radius: 6px;
}
.ns-free-section .wp-video,
.ns-free-section .wp-block-embed__wrapper{
  max-width: 100%;
}

/* =========================================
   6.9 CARRUSEL DE 4 TARJETAS
========================================= */
.ns-mini-carousel-wrap{
  position: relative;
  margin-bottom: 40px;
}
.ns-mini-carousel{
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 2px;
  scrollbar-width: none;
}
.ns-mini-carousel::-webkit-scrollbar{ display: none; }

.ns-mini-card{
  flex: 0 0 calc(25% - 12px);
  min-width: 220px;
  scroll-snap-align: start;
}
.ns-mini-card-photo{
  position: relative;
  display: block;
  height: 420px;
  border-radius: 6px;
  overflow: hidden;
  background: #ddd;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.ns-mini-card-photo img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ns-mini-card-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 26px 20px 24px;
  background: linear-gradient(0deg, rgba(0,0,0,.82) 42%, rgba(0,0,0,.25) 72%, rgba(0,0,0,.4) 100%);
  color: #fff;
  z-index: 2;
}
.ns-mini-card-title{
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ns-mini-card-date{
  font-size: 13px;
  opacity: .85;
  margin-bottom: 10px;
}
.ns-mini-card-excerpt{
  font-size: 13px;
  line-height: 1.5;
  opacity: .82;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ns-mini-card-btn{
  display: inline-block;
  background: var(--ns-secondary);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 22px;
  border-radius: 4px;
}

.ns-mini-carousel-arrow{
  position: absolute;
  top: -8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.22);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ns-primary);
  cursor: pointer;
  z-index: 5;
}
.ns-mini-carousel-arrow:hover{ color: var(--ns-secondary); }
.ns-mini-carousel-arrow svg{ width: 14px; height: 14px; }
.ns-mini-carousel-prev{ left: -8px; }
.ns-mini-carousel-next{ right: -8px; }

/* =========================================
   6.10 ENCABEZADO DE SECCIÓN (etiqueta + línea)
========================================= */
.ns-section-heading{
  position: relative;
  border-bottom: 2px solid #1a1a1a;
  margin-bottom: 22px;
}
.ns-section-heading-label{
  display: inline-block;
  position: relative;
  top: 1px;
  background: var(--ns-primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 4px 4px 0 0;
}

/* =========================================
   6.11 BLOQUE DE CATEGORÍA + SIDEBAR DE BANNERS
========================================= */
.ns-catfeed{
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
}
.ns-catfeed-main{
  flex: 1 1 auto;
  min-width: 0;
  background: var(--ns-card-bg);
  border-radius: 6px;
  padding: 22px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.ns-catfeed-sidebar{
  flex: 0 0 350px;
  width: 350px;
  max-width: 350px;
  min-width: 0;
  overflow: hidden;
}
.ns-catfeed-body{
  display: flex;
  gap: 26px;
}
.ns-catfeed-featured{
  flex: 1 1 45%;
  min-width: 0;
}
.ns-catfeed-featured-photo{
  position: relative;
  display: block;
  height: 260px;
  border-radius: 6px;
  overflow: hidden;
  background: #ddd;
  margin-bottom: 14px;
}
.ns-catfeed-featured-photo img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ns-badge-pill{ border-radius: 20px; }
.ns-catfeed-title{
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 8px;
  color: var(--ns-text);
}
.ns-catfeed-title a{ color: inherit; }
.ns-catfeed-excerpt{
  font-size: 13.5px;
  color: #666;
  line-height: 1.6;
  margin: 8px 0 0;
}
.ns-catfeed-list{
  flex: 1 1 55%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ns-catfeed-list-item{
  display: flex;
  gap: 12px;
}
.ns-catfeed-list-thumb{
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: #ddd;
}
.ns-catfeed-list-thumb img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ns-catfeed-list-body{ min-width: 0; }
.ns-catfeed-list-title{
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px;
  color: var(--ns-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ns-catfeed-list-title a{ color: inherit; }

/* Banners del sidebar (vía Apariencia > Widgets > Banners Sección Categoría) */
.ns-catfeed-sidebar .ns-widget{ margin-bottom: 20px; }
.ns-catfeed-sidebar .ns-widget:last-child{ margin-bottom: 0; }
.ns-catfeed-sidebar .ns-widget img{ width: 100% !important; height: auto !important; max-width: 100% !important; border-radius: 6px; display: block; }
.ns-catfeed-sidebar .ns-widget-title{
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ns-primary);
  margin: 0 0 10px;
}

/* Seguridad global: ningún widget (banner, HTML embebido, iframe, tabla,
   etc.) puede desbordar el ancho de su contenedor, sin importar el
   ancho fijo que traiga el código original del anuncio. */
.ns-widget{
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.ns-widget img,
.ns-widget iframe,
.ns-widget video,
.ns-widget table{
  max-width: 100% !important;
  height: auto;
}

/* =========================================
   9. LAYOUT DE CONTENIDO + SIDEBAR
   (single, páginas, archivos, búsqueda)
========================================= */
.ns-content-layout{
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0 40px;
}
.ns-main-column{
  flex: 1 1 0;
  min-width: 0;
}
.ns-sidebar{
  flex: 0 0 300px;
  width: 300px;
  min-width: 0;
}
.ns-sidebar .ns-widget{ margin-bottom: 20px; }
.ns-sidebar .ns-widget:last-child{ margin-bottom: 0; }
.ns-sidebar .ns-widget img{ width: 100% !important; height: auto !important; max-width: 100% !important; border-radius: 6px; display: block; }
.ns-sidebar .ns-widget-title{
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ns-primary);
  margin: 0 0 10px;
}

.ns-page-article,
.ns-single-article{
  background: var(--ns-card-bg);
  padding: 24px;
  border-radius: 6px;
}
.ns-page-title{ margin: 0 0 16px; font-size: 26px; }
.ns-archive-title{ font-size: 20px; margin: 0 0 18px; }
.ns-pagination{ margin: 24px 0; }

.ns-comments-wrap{
  margin-top: 24px;
  background: var(--ns-card-bg);
  padding: 24px;
  border-radius: 6px;
}

/* =========================================
   9.1 ENCABEZADO DEL SINGLE (badge, título, meta con avatar)
========================================= */
.ns-badge-static{
  position: static;
  display: inline-block;
  margin-bottom: 12px;
}
.ns-single-title{
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.3;
}
.ns-single-meta{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #eee;
}
.ns-single-meta-avatar{ flex-shrink: 0; line-height: 0; }
.ns-single-meta-avatar img{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: block;
}
.ns-single-meta-info{ min-width: 0; }
.ns-single-meta-name{
  display: block;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ns-text);
  margin-bottom: 3px;
}
.ns-single-meta-name:hover{ color: var(--ns-link-hover); }
.ns-single-meta-sub{
  display: flex;
  gap: 14px;
  font-size: 12.5px;
  color: #888;
}
.ns-single-meta-sub span{ display: inline-flex; align-items: center; gap: 5px; }
.ns-single-meta-sub svg{ width: 13px; height: 13px; }
.ns-single-thumb{
  margin-bottom: 22px;
  border-radius: 6px;
  overflow: hidden;
}
.ns-single-thumb img{ width: 100%; display: block; }

/* =========================================
   9.2 COMPARTIR EN REDES
========================================= */
.ns-share-block{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #eee;
  flex-wrap: wrap;
}
.ns-share-label{
  font-weight: 700;
  font-size: 14px;
  color: var(--ns-text);
}
.ns-share-icons{ display: flex; gap: 10px; }
.ns-share-icon{
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform .15s ease;
}
.ns-share-icon svg{ width: 17px; height: 17px; }
.ns-share-icon:hover{ transform: translateY(-2px); color: #fff; }

/* =========================================
   9.3 NAVEGACIÓN ANTERIOR / SIGUIENTE
========================================= */
.ns-post-nav{
  display: flex;
  gap: 16px;
  margin-top: 22px;
}
.ns-post-nav-item{
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ns-bg);
  border-radius: 6px;
  padding: 14px 16px;
}
.ns-post-nav-item svg{ width: 16px; height: 16px; flex-shrink: 0; color: var(--ns-primary); }
.ns-post-nav-next{ justify-content: flex-end; text-align: right; }
.ns-post-nav-text{ min-width: 0; display: flex; flex-direction: column; }
.ns-post-nav-label{
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ns-primary);
  margin-bottom: 3px;
}
.ns-post-nav-title{
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ns-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* =========================================
   9.4 PERFIL DEL AUTOR
========================================= */
.ns-author-box{
  display: flex;
  gap: 18px;
  background: var(--ns-card-bg);
  border-radius: 6px;
  padding: 24px;
  margin-top: 24px;
}
.ns-author-box-avatar{ flex-shrink: 0; }
.ns-author-box-avatar img{
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
}
.ns-author-box-body{ min-width: 0; }
.ns-author-box-label{
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  color: #999;
}
.ns-author-box-name{ margin: 4px 0 8px; font-size: 18px; }
.ns-author-box-name a{ color: var(--ns-text); }
.ns-author-box-bio{
  font-size: 13.5px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* =========================================
   9.5 HISTORIAS RELACIONADAS
========================================= */
.ns-related-posts{ margin-top: 24px; }
.ns-related-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* =========================================
   9.6 FORMULARIO DE COMENTARIOS
========================================= */
.ns-comments-area .comments-title{
  font-size: 20px;
  margin: 0 0 18px;
}
.comment-respond{
  background: var(--ns-card-bg);
}
.comment-reply-title{
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 14px;
}
.comment-reply-title small{
  font-size: 13px;
  font-weight: 400;
  margin-left: 10px;
}
.comment-reply-title small a{ color: var(--ns-secondary); }
.comment-notes,
.logged-in-as{
  font-size: 14px;
  color: #666;
  margin: 0 0 22px;
}
.comment-form p{ margin: 0 0 20px; }
.comment-form label{
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--ns-text);
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea{
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: var(--ns-text);
}
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus{
  outline: none;
  border-color: var(--ns-primary);
}
.comment-form textarea{
  min-height: 150px;
  resize: vertical;
}
.comment-form-cookies-consent{
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.comment-form-cookies-consent input{
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.comment-form-cookies-consent label{
  font-weight: 400;
  font-size: 14px;
  margin-bottom: 0;
  color: #555;
}
.form-submit{ margin-bottom: 0 !important; }
.comment-form .submit,
#submit{
  display: block;
  width: 100%;
  background: var(--ns-secondary);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 20px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity .15s ease;
}
.comment-form .submit:hover,
#submit:hover{ opacity: .9; }

/* Lista de comentarios existentes */
.ns-comment-list{ list-style: none; margin: 0 0 30px; padding: 0; }
.ns-comment-list .comment-body{
  padding: 18px 0;
  border-bottom: 1px solid #eee;
}
.ns-comment-list .comment-author img{
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 10px;
}
.ns-comment-list .comment-author .fn{ font-weight: 700; font-style: normal; }
.ns-comment-list .comment-metadata{ font-size: 12px; color: #999; margin: 4px 0 10px; }
.ns-comment-list .comment-metadata a{ color: inherit; }
.ns-comment-list .comment-content p{ margin: 0 0 10px; font-size: 14px; color: #444; }
.ns-comment-list .reply a{
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ns-primary);
  border: 1px solid var(--ns-primary);
  padding: 4px 12px;
  border-radius: 4px;
}
.ns-comment-list .children{
  list-style: none;
  margin-left: 30px;
  padding: 0;
}

/* =========================================
   6.12 DOBLE CATEGORÍA + SIDEBAR DE BANNERS
========================================= */
.ns-doublecat{
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
}
.ns-doublecat-col{
  flex: 1 1 0;
  min-width: 0;
  background: var(--ns-card-bg);
  border-radius: 6px;
  padding: 22px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.ns-doublecat-sidebar{
  flex: 0 0 350px;
  width: 350px;
  max-width: 350px;
  min-width: 0;
  overflow: hidden;
}
.ns-doublecat-list{
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
}
.ns-doublecat-list-item{
  display: flex;
  gap: 12px;
}
.ns-doublecat-list-thumb{
  position: relative;
  width: 90px;
  height: 70px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: #ddd;
}
.ns-doublecat-list-thumb img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ns-doublecat-list-body{ min-width: 0; }
.ns-doublecat-list-cat{
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ns-primary);
  border-bottom: 2px solid var(--ns-secondary);
  padding-bottom: 3px;
  margin-bottom: 6px;
  letter-spacing: .3px;
}
.ns-doublecat-list-title{
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: var(--ns-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ns-doublecat-list-title a{ color: inherit; }

/* Banners del sidebar de doble categoría (reutiliza el mismo look) */
.ns-doublecat-sidebar .ns-widget{ margin-bottom: 20px; }
.ns-doublecat-sidebar .ns-widget:last-child{ margin-bottom: 0; }
.ns-doublecat-sidebar .ns-widget img{ width: 100% !important; height: auto !important; max-width: 100% !important; border-radius: 6px; display: block; }
.ns-doublecat-sidebar .ns-widget-title{
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ns-primary);
  margin: 0 0 10px;
}

/* =========================================
   6.13 CATEGORÍA ANGOSTA + CATEGORÍA ANCHA
========================================= */
.ns-narrowwide{
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
}
.ns-narrow-col{
  flex: 0 0 350px;
  width: 350px;
  max-width: 350px;
  min-width: 0;
}
.ns-wide-col{
  flex: 1 1 auto;
  min-width: 0;
  background: var(--ns-card-bg);
  border-radius: 6px;
  padding: 22px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

/* Badge superpuesto abajo a la izquierda (variante para esta sección) */
.ns-badge-bottom{ top: auto; bottom: 12px; }

/* Meta con solo fecha (sin autor) */
.ns-meta-date-only{ margin-top: 6px; }

/* --- Columna angosta: lista vertical de tarjetas --- */
.ns-narrow-list{
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ns-narrow-item{
  background: var(--ns-card-bg);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.ns-narrow-item-photo{
  position: relative;
  display: block;
  height: 150px;
  overflow: hidden;
  background: #ddd;
}
.ns-narrow-item-photo img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ns-narrow-item-body{ padding: 14px 16px 16px; }
.ns-narrow-item-title{
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: var(--ns-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ns-narrow-item-title a{ color: inherit; }

/* --- Columna ancha: destacado + lista con miniatura --- */
.ns-wide-featured-photo{
  position: relative;
  display: block;
  height: 320px;
  border-radius: 6px;
  overflow: hidden;
  background: #ddd;
  margin-bottom: 14px;
}
.ns-wide-featured-photo img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ns-wide-featured-title{
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 8px;
  color: var(--ns-text);
}
.ns-wide-featured-title a{ color: inherit; }

.ns-wide-list{
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
.ns-wide-list-item{
  display: flex;
  gap: 14px;
}
.ns-wide-list-thumb{
  position: relative;
  width: 100px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: #ddd;
}
.ns-wide-list-thumb img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ns-wide-list-body{ min-width: 0; }
.ns-wide-list-title{
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: var(--ns-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ns-wide-list-title a{ color: inherit; }

/* =========================================
   6.14 BANNERS HORIZONTALES ENTRE SECCIONES
========================================= */
.ns-horizontal-banner{
  margin: 0 0 30px;
  text-align: center;
}
.ns-horizontal-banner .ns-widget{ margin-bottom: 16px; }
.ns-horizontal-banner .ns-widget:last-child{ margin-bottom: 0; }
.ns-horizontal-banner .ns-widget img{
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 6px;
  display: block;
}
.ns-horizontal-banner .ns-widget-title{
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #999;
  margin: 0 0 10px;
}

/* =========================================
   7. FOOTER
========================================= */
.ns-footer{
  background: var(--ns-topbar-bg);
  color: #ddd;
  padding: 30px 0 16px;
  margin-top: 20px;
  font-size: 13px;
}
.ns-footer-widgets{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 24px;
  margin-bottom: 20px;
}
.ns-footer-bottom{
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 14px;
  text-align: center;
  color: #999;
}

/* =========================================
   8. RESPONSIVE
========================================= */
@media (max-width: 991px){
  .ns-hero-grid{ flex-wrap: wrap; }
  .ns-hero-carousel{ flex: 1 1 100%; height: 340px; order: 1; }
  .ns-hero-middle{ flex: 1 1 calc(50% - 9px); order: 2; flex-direction: row; height: 220px; }
  .ns-hero-middle .ns-hero-card-photo{ min-height: 70px; }
  .ns-hero-side{ flex: 1 1 calc(50% - 9px); order: 3; height: 220px; }
  .ns-more-news-grid{ grid-template-columns: 1fr 1fr; }
  .ns-mini-card{ flex-basis: calc(50% - 8px); }
  .ns-catfeed{ flex-wrap: wrap; }
  .ns-catfeed-main{ flex: 1 1 100%; }
  .ns-catfeed-sidebar{ flex: 1 1 100%; width: 100%; max-width: 100%; }
  .ns-catfeed-sidebar .ns-widget img{ max-width: 400px; margin: 0 auto; }

  /* Centrar logo, banner y redes en tablet */
  .ns-header .ns-container{ justify-content: center; }
  .ns-hero-banner{ max-width: 100%; }

  /* El sidebar (banners) pasa debajo del contenido en tablet */
  .ns-content-layout{ flex-wrap: wrap; }
  .ns-main-column{ flex: 1 1 100%; }
  .ns-sidebar{ flex: 1 1 100%; width: 100%; }
  .ns-sidebar .ns-widget img{ max-width: 500px; margin: 0 auto; }
  .ns-related-grid{ grid-template-columns: 1fr 1fr; }

  .ns-doublecat{ flex-wrap: wrap; }
  .ns-doublecat-col{ flex: 1 1 calc(50% - 12px); }
  .ns-doublecat-sidebar{ flex: 1 1 100%; width: 100%; max-width: 100%; }
  .ns-doublecat-sidebar .ns-widget img{ max-width: 400px; margin: 0 auto; }

  .ns-narrowwide{ flex-wrap: wrap; }
  .ns-narrow-col{ flex: 1 1 100%; width: 100%; max-width: 100%; }
  .ns-narrow-list{ flex-direction: row; flex-wrap: wrap; }
  .ns-narrow-item{ flex: 1 1 calc(33.333% - 12px); min-width: 220px; }
  .ns-wide-col{ flex: 1 1 100%; }
}

@media (max-width: 782px){
  .ns-header .ns-container{ text-align: center; }
  .ns-logo{ margin: 0 auto; }
  .ns-hero-banner{ order: 3; max-width: 100%; margin: 0 auto; }
  .ns-social-icons{ order: 2; justify-content: center; width: 100%; }
  .ns-social-menu-wrap{ order: 2; width: 100%; }
  .ns-social-menu{ justify-content: center; }
  .ns-nav-toggle{ display: flex; }
  .ns-primary-menu{
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--ns-nav-bg);
    box-shadow: 0 8px 16px rgba(0,0,0,.2);
    max-height: 80vh;
    overflow-y: auto;
  }
  .ns-primary-menu.is-open{ display: flex; }
  .ns-primary-menu > li{ width: 100%; }
  .ns-primary-menu .sub-menu{
    position: static;
    box-shadow: none;
    background: rgba(0,0,0,.15);
    display: none;
  }
  .ns-primary-menu li.submenu-open > .sub-menu{ display: block; }
  .ns-topbar-trending span.ns-topbar-label-text{ display:none; }

  .ns-hero-carousel{ height: 280px; }
  .ns-hero-middle{ flex: 1 1 100%; flex-direction: column; height: auto; }
  .ns-hero-middle .ns-hero-card{ height: 220px; }
  .ns-hero-side{ flex: 1 1 100%; height: 260px; }
  .ns-more-news-grid{ grid-template-columns: 1fr; }

  .ns-mini-card{ flex-basis: 78%; }
  .ns-mini-card-photo{ height: 340px; }
  .ns-mini-carousel-arrow{ display: none; }

  .ns-catfeed-body{ flex-direction: column; }
  .ns-catfeed-featured{ flex: 1 1 100%; }
  .ns-catfeed-list{ flex: 1 1 100%; }

  .ns-doublecat-col{ flex: 1 1 100%; }

  .ns-narrow-list{ flex-direction: column; }
  .ns-narrow-item{ flex: 1 1 100%; min-width: 0; }

  /* Single/páginas: todo apilado y centrado donde corresponde */
  .ns-page-article,
  .ns-single-article{ padding: 18px; }
  .ns-single-title{ font-size: 22px; }
  .ns-single-thumb img{ height: auto; }

  .ns-share-block{ justify-content: center; text-align: center; }

  .ns-post-nav{ flex-direction: column; }
  .ns-post-nav-next{ justify-content: flex-start; text-align: left; }

  .ns-author-box{ flex-direction: column; text-align: center; }
  .ns-author-box-avatar{ margin: 0 auto; }

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

@media (max-width: 480px){
  .ns-topbar .ns-container{ gap: 8px; }
  .ns-topbar-datetime span.ns-date-full{ display:none; }
  .ns-logo img{ max-height: 50px; }
  .ns-hero-carousel{ height: 240px; }
  .ns-mini-card{ flex-basis: 88%; }
}
