/* ══════════════════════════════════════════
   ON TUNE NEWS — main.css
   Extraído del index.html original (diseño On Tune TV).
   Las variables :root, clases y keyframes se conservan
   tal cual. Al final se añaden los estilos del portal de
   noticias, accesibilidad y slots de anuncios.
══════════════════════════════════════════ */

/* ══════════════════════════════════════════
   CSS VARIABLES & RESET
══════════════════════════════════════════ */
:root {
  --gold: #F5A623;
  --blue: #4A9FD4;
  --bg-main: #0A0A0F;
  --bg-header: #0D0D14;
  --bg-card: #111118;
  --bg-footer: #070709;
  --text-primary: #F0F0F0;
  --text-muted: #888888;
  --text-faint: #555555;
  --border-subtle: rgba(245, 166, 35, 0.15);
  --border-card: #1E1E2E;
  --font-title: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius-card: 10px;
  --radius-player: 12px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

/* ══════════════════════════════════════════
   LIGHT MODE VARIABLES
══════════════════════════════════════════ */
[data-theme="light"] {
  --bg-main: #FFF7E0;
  --bg-header: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-footer: #FBE9B8;
  --text-primary: #1A1408;
  --text-muted: #6B5B38;
  --text-faint: #A8915C;
  --border-subtle: rgba(245, 166, 35, 0.3);
  --border-card: #EBDDB4;
}

[data-theme="light"] .sidebar-divider {
  background: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .footer-divider {
  background: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .ad-block {
  background: #FCF0CC;
  border-color: rgba(245, 166, 35, 0.4);
}

[data-theme="light"] .ad-block-label {
  color: #AAA;
  border-color: #DDD;
  background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .ad-block-text {
  color: #AAA;
}

[data-theme="light"] .ad-block-size {
  color: #BBB;
}

[data-theme="light"] .ad-leaderboard {
  background: #FCF0CC;
  border-color: rgba(245, 166, 35, 0.4);
}

[data-theme="light"] .ad-leaderboard-label {
  color: #AAA;
}

[data-theme="light"] .ad-leaderboard-text {
  color: #AAA;
}

[data-theme="light"] .ad-leaderboard-size {
  color: #BBB;
}

[data-theme="light"] .social-links a {
  color: #999;
}

[data-theme="light"] .footer-social a {
  color: #AAA;
}

[data-theme="light"] .about-text p {
  color: #555566;
}

[data-theme="light"] .player-wrap {
  background: #E0E0E8;
}

[data-theme="light"] #inicio {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}

/* Smooth theme transition */
body,
header,
section,
footer,
.sidebar-block,
.schedule-card,
.stat-item,
.contact-item,
.ad-block,
.ad-leaderboard,
.footer-bottom {
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ══════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════ */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.5);
  }

  50% {
    opacity: 0.85;
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(255, 59, 59, 0);
  }
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.anim-section {
  opacity: 0;
  animation: fadeSlideUp 0.7s ease forwards;
}

#inicio {
  animation-delay: 0s;
}

#hero-sec {
  animation-delay: 0.2s;
}

#envivo {
  animation-delay: 0.4s;
}

#programacion {
  animation-delay: 0.55s;
}

#ad-leaderboard-sec {
  animation-delay: 0.65s;
}

#nosotros {
  animation-delay: 0.72s;
}

#contacto {
  animation-delay: 0.82s;
}

footer {
  animation-delay: 0.9s;
}

/* Respeta usuarios que prefieren menos movimiento (accesibilidad) */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .anim-section {
    opacity: 1 !important;
  }
}

/* ══════════════════════════════════════════
   LAYOUT HELPERS
══════════════════════════════════════════ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
}

.section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 36px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
#inicio {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  border-bottom: 1px solid rgba(245, 166, 35, 0.2);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-body);
  font-size: 24px;
  letter-spacing: 0.02em;
  user-select: none;
}

.logo-light {
  color: var(--text-primary);
  font-weight: 300;
}

.logo-gold {
  color: var(--gold);
  font-weight: 700;
}

/* Logo en imagen (custom-logo de WordPress) */
.custom-logo {
  max-height: 44px;
  width: auto;
}

/* ── Theme Toggle Button ── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: 50px;
  padding: 6px 14px;
  gap: 7px;
  cursor: pointer;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(245, 166, 35, 0.07);
  transform: translateY(-1px);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.5s ease;
}

.theme-toggle:hover svg {
  transform: rotate(20deg);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Menú principal de navegación (WordPress) */
.main-nav {
  display: flex;
  align-items: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: var(--gold);
}

/* Submenús */
.main-nav ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  flex-direction: column;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 8px 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 200;
}

.main-nav li:hover > ul,
.main-nav li:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav ul ul a {
  display: block;
  padding: 8px 18px;
}

/* Botón hamburguesa móvil */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--text-primary);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: block;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-links a {
  color: #888;
  transition: color var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
}

.social-links a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ══════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════ */
#hero-sec {
  padding: 72px 0 40px;
  text-align: center;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 59, 59, 0.08);
  border: 1px solid rgba(255, 59, 59, 0.25);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 28px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #FF6B6B;
  text-transform: uppercase;
}

.live-dot-wrapper {
  position: relative;
  width: 10px;
  height: 10px;
}

.live-dot {
  width: 10px;
  height: 10px;
  background: #FF3B3B;
  border-radius: 50%;
  animation: pulseDot 1.6s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.live-dot-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255, 59, 59, 0.4);
  animation: pulseRing 1.6s ease-out infinite;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════
   PLAYER + SIDEBAR
══════════════════════════════════════════ */
#envivo {
  padding: 40px 0 80px;
}

.player-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}

/* Player */
.player-wrap {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-player);
  overflow: hidden;
  background: #050508;
  aspect-ratio: 16 / 9;
  position: relative;
}

.player-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-block {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 20px;
  border: 1px solid var(--border-card);
}

.sidebar-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sidebar-program-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.25;
}

.sidebar-program-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.sidebar-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  margin-top: 16px;
}

/* Imagen publicitaria enlazada */
.ad-image-link {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.ad-image-link:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 166, 35, 0.6);
  box-shadow: 0 12px 32px rgba(245, 166, 35, 0.12);
}

.ad-image-link img {
  width: 100%;
  height: auto;
  display: block;
}

/* Ad blocks */
.ad-block {
  background: #141420;
  border: 1px dashed rgba(245, 166, 35, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  position: relative;
  overflow: hidden;
  min-height: 250px;
  width: 100%;
}

.ad-block-label {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 9px;
  color: #333;
  font-family: var(--font-body);
  background: rgba(255, 255, 255, 0.02);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid #222;
}

.ad-block-text {
  font-size: 11px;
  color: #444;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ad-block-size {
  font-size: 10px;
  color: #333;
  font-family: var(--font-body);
}

/* ══════════════════════════════════════════
   PROGRAMACIÓN
══════════════════════════════════════════ */
#programacion {
  padding: 80px 0;
}

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

.schedule-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: default;
}

.schedule-card:hover {
  border-color: rgba(245, 166, 35, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(245, 166, 35, 0.07);
}

.schedule-time {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.schedule-name {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.schedule-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   LEADERBOARD AD
══════════════════════════════════════════ */
#ad-leaderboard-sec {
  padding: 32px 0;
}

.ad-leaderboard-wrap {
  display: flex;
  justify-content: center;
}

.ad-leaderboard {
  background: #141420;
  border: 1px dashed rgba(245, 166, 35, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  position: relative;
  width: 728px;
  height: 90px;
  max-width: 100%;
}

.ad-leaderboard-label {
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 9px;
  color: #333;
  font-family: var(--font-body);
}

.ad-leaderboard-text {
  font-size: 11px;
  color: #444;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ad-leaderboard-size {
  font-size: 10px;
  color: #333;
  font-family: var(--font-body);
}

@media (max-width: 768px) {
  .ad-leaderboard {
    width: 320px;
    height: 50px;
  }
}

/* ══════════════════════════════════════════
   SOBRE NOSOTROS
══════════════════════════════════════════ */
#nosotros {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  font-size: 16px;
  color: #AAAAAA;
  line-height: 1.85;
  margin-top: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 32px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  transition: border-color var(--transition), transform var(--transition);
}

.stat-item:hover {
  border-color: rgba(245, 166, 35, 0.4);
  transform: translateY(-3px);
}

.stat-number {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════
   CONTACTO
══════════════════════════════════════════ */
#contacto {
  background: var(--bg-header);
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 0;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 36px 24px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  transition: border-color var(--transition), transform var(--transition);
}

.contact-item:hover {
  border-color: rgba(245, 166, 35, 0.4);
  transform: translateY(-3px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
}

.contact-value {
  font-size: 15px;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
  background: var(--bg-footer);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 10px;
  font-style: italic;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links li a:hover {
  color: var(--gold);
}

.footer-social {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-social a {
  color: #555;
  transition: color var(--transition), transform var(--transition);
  display: flex;
}

.footer-social a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.04);
  margin: 0 -24px;
}

.footer-bottom {
  padding: 20px 24px;
  text-align: center;
  font-size: 12px;
  color: var(--text-faint);
  line-height: 1.8;
}

.footer-bottom a {
  color: var(--gold);
  transition: opacity var(--transition);
}

.footer-bottom a:hover {
  opacity: 0.8;
}

/* ══════════════════════════════════════════
   RESPONSIVE (breakpoints originales 1024/768/640)
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .player-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

@media (max-width: 640px) {
  .header-inner {
    padding: 14px 16px;
  }

  .social-links {
    gap: 12px;
  }

  .social-links svg {
    width: 18px;
    height: 18px;
  }

  #hero-sec {
    padding: 48px 0 28px;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 32px;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sidebar {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════════
   ════  AMPLIACIONES — PORTAL DE NOTICIAS / ACCESIBILIDAD  ════
   Todo lo de abajo es nuevo (el HTML original no lo traía) y
   reutiliza la misma estética: tarjetas, colores y tipografías.
══════════════════════════════════════════════════════════════ */

/* ── Accesibilidad: skip-link y foco visible (WCAG AA) ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--gold);
  color: #0A0A0F;
  padding: 12px 20px;
  font-weight: 600;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.schedule-card:focus-visible,
.news-card:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--bg-card);
  clip: auto !important;
  clip-path: none;
  color: var(--gold);
  display: block;
  height: auto;
  left: 5px;
  padding: 15px 23px 14px;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* ── Slots de anuncios genéricos (shortcode / widget) ── */
.ontune-ad {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.ontune-ad--leaderboard {
  padding: 18px 0;
}

.ontune-ad--inarticle,
.ontune-ad--prefooter {
  padding: 28px 0;
}

/* Skyscraper 300x600 */
.ad-skyscraper {
  background: #141420;
  border: 1px dashed rgba(245, 166, 35, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  position: relative;
  width: 300px;
  height: 600px;
  max-width: 100%;
}

[data-theme="light"] .ad-skyscraper {
  background: #FCF0CC;
  border-color: rgba(245, 166, 35, 0.4);
}

/* Cuando el anuncio trae código real (AdSense, banner), quitamos el marco punteado */
.ontune-ad--filled .ad-block,
.ontune-ad--filled .ad-leaderboard,
.ontune-ad--filled .ad-skyscraper {
  border: none;
  background: transparent;
  min-height: 0;
  height: auto;
}

/* ── Motor de noticias: rejilla de últimas entradas ── */
#ultimas-noticias {
  padding: 80px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.news-card:hover {
  border-color: rgba(245, 166, 35, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(245, 166, 35, 0.07);
}

.news-card-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #141420;
}

.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-thumb img {
  transform: scale(1.05);
}

.news-card-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.news-card-cat {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}

.news-card-cat a {
  color: inherit;
}

.news-card-title {
  font-family: var(--font-title);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

.news-card-title a {
  transition: color var(--transition);
}

.news-card-title a:hover {
  color: var(--gold);
}

.news-card-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.news-card-meta {
  margin-top: auto;
  padding-top: 8px;
  font-size: 12px;
  color: var(--text-faint);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.news-card-meta .sep {
  opacity: 0.5;
}

/* Variante destacada (primera entrada a lo ancho) */
.news-card--featured {
  grid-column: 1 / -1;
  flex-direction: row;
}

.news-card--featured .news-card-thumb {
  flex: 0 0 55%;
  aspect-ratio: 16 / 9;
}

.news-card--featured .news-card-body {
  justify-content: center;
  padding: 32px;
}

.news-card--featured .news-card-title {
  font-size: 28px;
}

/* ── Cabecera de página / archivo ── */
.page-hero {
  padding: 64px 0 8px;
}

.page-hero .container {
  max-width: 820px;
}

.archive-title {
  font-family: var(--font-title);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.archive-desc {
  margin-top: 14px;
  font-size: 16px;
  color: var(--text-muted);
}

/* ── Single (entrada individual) ── */
.single-main {
  padding: 56px 0 80px;
}

.single-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.single-article {
  min-width: 0;
}

.entry-header {
  margin-bottom: 28px;
}

.entry-cat {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.entry-title {
  font-family: var(--font-title);
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 14px 0 18px;
}

.entry-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

.entry-meta .author-avatar img {
  border-radius: 50%;
  display: inline-block;
}

.entry-featured {
  margin: 28px 0;
  border-radius: var(--radius-player);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.entry-featured img {
  width: 100%;
  height: auto;
}

/* Cuerpo del artículo */
.entry-content {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-primary);
}

.entry-content p {
  margin: 0 0 1.4em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--font-title);
  color: var(--text-primary);
  line-height: 1.3;
  margin: 1.6em 0 0.6em;
}

.entry-content h2 {
  font-size: 1.7rem;
}

.entry-content h3 {
  font-size: 1.35rem;
}

.entry-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content img,
.entry-content figure {
  border-radius: var(--radius-card);
  margin: 1.5em 0;
  max-width: 100%;
  height: auto;
}

.entry-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 6px 0 6px 24px;
  margin: 1.5em 0;
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-muted);
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 1.4em 1.4em;
}

.entry-content li {
  margin-bottom: 0.5em;
}

.entry-content pre,
.entry-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 6px;
}

.entry-content code {
  padding: 2px 6px;
  font-size: 0.9em;
}

.entry-content pre {
  padding: 18px;
  overflow-x: auto;
  margin: 1.5em 0;
}

/* Etiquetas */
.entry-tags {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.tag-chip {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  background: var(--bg-card);
  transition: border-color var(--transition), color var(--transition);
}

.tag-chip:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Botones de compartir */
.share-bar {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.share-bar .share-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  background: var(--bg-card);
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}

.share-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.share-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Autor */
.author-box {
  margin-top: 48px;
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
}

.author-box img {
  border-radius: 50%;
  flex-shrink: 0;
}

.author-box-name {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.author-box-bio {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Entradas relacionadas */
.related-posts {
  margin-top: 64px;
}

.related-posts .section-title {
  margin-bottom: 32px;
}

/* Navegación entre entradas */
.post-nav {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.post-nav a {
  display: block;
  padding: 20px 24px;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  background: var(--bg-card);
  transition: border-color var(--transition), transform var(--transition);
}

.post-nav a:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.post-nav .nav-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.post-nav .nav-title {
  font-family: var(--font-title);
  color: var(--text-primary);
  margin-top: 6px;
}

.post-nav .nav-next {
  text-align: right;
}

/* ── Paginación ── */
.pagination {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

.pagination .nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  color: var(--text-muted);
  font-weight: 500;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  border-color: var(--gold);
  color: var(--gold);
}

.pagination .page-numbers.current {
  background: rgba(245, 166, 35, 0.08);
}

/* ── Sidebar de blog / widgets ── */
.widget {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-bottom: 24px;
}

.widget-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.widget ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.widget ul a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.widget ul a:hover {
  color: var(--gold);
}

.widget .ontune-ad,
.widget.widget_ontune_ad {
  background: transparent;
  border: none;
  padding: 0;
}

/* Buscador */
.search-form {
  display: flex;
  gap: 10px;
}

.search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-card);
  background: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
}

.search-form input[type="search"]:focus {
  outline: none;
  border-color: var(--gold);
}

.search-form button {
  padding: 12px 18px;
  border-radius: 8px;
  border: none;
  background: var(--gold);
  color: #0A0A0F;
  font-weight: 600;
  cursor: pointer;
  transition: opacity var(--transition);
}

.search-form button:hover {
  opacity: 0.9;
}

/* ── Comentarios ── */
.comments-area {
  margin-top: 64px;
}

.comment-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.comment-list ol.children {
  list-style: none;
  margin: 0 0 0 32px;
  padding: 0;
}

.comment-body {
  padding: 22px 0;
  border-bottom: 1px solid var(--border-card);
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.comment-author img {
  border-radius: 50%;
}

.comment-author .fn {
  font-weight: 600;
  color: var(--text-primary);
  font-style: normal;
}

.comment-metadata {
  font-size: 12px;
  color: var(--text-faint);
}

.comment-content {
  color: var(--text-muted);
  line-height: 1.7;
}

.comment-reply-link {
  font-size: 12px;
  color: var(--gold);
}

.comment-respond {
  margin-top: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 28px;
}

.comment-respond label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 8px;
  border: 1px solid var(--border-card);
  background: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
}

.comment-respond input:focus,
.comment-respond textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-submit .submit,
.btn-gold {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  background: var(--gold);
  color: #0A0A0F;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
}

.form-submit .submit:hover,
.btn-gold:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* ── 404 ── */
.error-404 {
  padding: 100px 0;
  text-align: center;
}

.error-404 .big-code {
  font-family: var(--font-title);
  font-size: clamp(80px, 18vw, 180px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.error-404 p {
  color: var(--text-muted);
  margin: 16px 0 32px;
  font-size: 18px;
}

/* ── Página estática ── */
.page-main {
  padding: 56px 0 80px;
}

.page-main .container {
  max-width: 820px;
}

/* ── Responsive extra para las plantillas nuevas ── */
@media (max-width: 1024px) {
  .single-layout {
    grid-template-columns: 1fr;
  }

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

  .news-card--featured {
    flex-direction: column;
  }

  .news-card--featured .news-card-thumb {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(80vw, 320px);
    background: var(--bg-header);
    border-left: 1px solid var(--border-card);
    padding: 80px 28px 28px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 150;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
  }

  .main-nav ul ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    background: transparent;
    padding: 8px 0 0 14px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

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

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

/* ══════════════════════════════════════════════════════════════
   ════  HEADER DE NOTICIAS (periódico / revista)  ════
══════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  border-bottom: 2px solid var(--gold);
  backdrop-filter: blur(8px);
}

[data-theme="light"] .site-header {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

/* Fila 1 */
.site-topbar {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-card);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-date {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: capitalize;
  flex: 1;
  text-align: center;
  letter-spacing: 0.02em;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Fila 2: navegación */
.site-navbar {
  background: var(--bg-header);
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-navbar .main-nav {
  flex: 1;
  min-width: 0;
}

.site-navbar .main-nav ul.menu,
.site-navbar .main-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.site-navbar .main-nav li {
  position: relative;
}

.site-navbar .main-nav a {
  display: block;
  padding: 14px 13px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  border-bottom: 3px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.site-navbar .main-nav a:hover,
.site-navbar .main-nav .current-menu-item > a,
.site-navbar .main-nav .current_page_item > a,
.site-navbar .main-nav .current-cat > a {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Submenús */
.site-navbar .main-nav ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  flex-direction: column;
  flex-wrap: nowrap;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 0 0 8px 8px;
  padding: 6px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 200;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.site-navbar .main-nav li:hover > ul,
.site-navbar .main-nav li:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-navbar .main-nav ul ul a {
  border-bottom: none;
  padding: 9px 18px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}

/* Botón de búsqueda en la navbar */
.nav-search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 8px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: color var(--transition);
}

.nav-search-toggle:hover {
  color: var(--gold);
}

.nav-search-toggle svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.nav-search-panel {
  border-top: 1px solid var(--border-card);
  padding: 16px 0;
  background: var(--bg-card);
}

.nav-search-panel[hidden] {
  display: none;
}

/* La barra de menú móvil hereda el botón hamburguesa ya definido */
.menu-toggle span {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: 6px;
}

/* ══════════════════════════════════════════════════════════════
   ════  PORTADA TIPO PERIÓDICO  ════
══════════════════════════════════════════════════════════════ */
.magazine-hero {
  padding: 34px 0 10px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* Titular destacado */
.hero-feature {
  position: relative;
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 480px;
  background: #141420;
}

.hero-feature .hero-feature-img,
.hero-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-feature:hover img {
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.05) 100%);
}

.hero-feature-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1;
}

.hero-cat {
  align-self: flex-start;
  background: var(--gold);
  color: #0A0A0F;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
}

.hero-feature-title {
  font-family: var(--font-title);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  color: #fff;
  line-height: 1.18;
}

.hero-feature-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}

/* Lista de titulares */
.hero-list {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.hero-list-item {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-card);
  transition: background var(--transition);
}

.hero-list-item:last-child {
  border-bottom: none;
}

.hero-list-item:hover {
  background: rgba(245, 166, 35, 0.06);
}

.hero-list-thumb {
  flex: 0 0 92px;
  height: 66px;
  border-radius: 6px;
  overflow: hidden;
  background: #141420;
}

.hero-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-list-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.hero-list-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-list-title {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  transition: color var(--transition);
}

.hero-list-item:hover .hero-list-title {
  color: var(--gold);
}

/* Bloques de noticias / categorías */
.news-block {
  padding: 46px 0;
}

.block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--border-card);
  padding-bottom: 12px;
}

.block-title {
  font-family: var(--font-title);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
  padding-left: 16px;
}

.block-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 1.1em;
  background: var(--gold);
  border-radius: 2px;
}

.block-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  transition: opacity var(--transition);
}

.block-more:hover {
  opacity: 0.75;
}

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

/* Responsive portada / header */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-feature {
    min-height: 420px;
  }

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

@media (max-width: 768px) {
  .topbar-date {
    display: none;
  }

  .site-navbar .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(82vw, 320px);
    background: var(--bg-header);
    border-left: 1px solid var(--border-card);
    padding: 76px 22px 22px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 150;
    overflow-y: auto;
  }

  .site-navbar .main-nav.is-open {
    transform: translateX(0);
  }

  .site-navbar .main-nav ul.menu,
  .site-navbar .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
  }

  .site-navbar .main-nav a {
    border-bottom: 1px solid var(--border-card);
  }

  .site-navbar .main-nav ul ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0 14px;
  }

  .navbar-inner {
    justify-content: space-between;
    min-height: 52px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .news-grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-feature {
    min-height: 340px;
  }

  .hero-feature-content {
    padding: 22px;
  }
}
