/*
Theme Name: Lomas de Tafí Modern
Theme URI: https://lomasdetafi.com.ar
Author: Diario Lomas de Tafí
Author URI: https://lomasdetafi.com.ar
Description: Tema periodístico nativo, moderno y de alto rendimiento para Lomasdetafi.com.ar. Desarrollado desde cero con Bento Grid, Dark Mode, 0 dependencias pesadas y optimización Core Web Vitals.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: lomasdetafi
Tags: news, blog, newspaper, bento-grid, dark-mode, fast, responsive
*/

/* ==========================================================================
   CSS VARIABLES & DESIGN SYSTEM
   ========================================================================== */
:root {
  /* Colors - Light Theme */
  --ldt-primary: #047857;
  --ldt-primary-hover: #065f46;
  --ldt-primary-light: #d1fae5;
  --ldt-accent: #f59e0b;
  --ldt-accent-hover: #d97706;
  --ldt-accent-light: #fef3c7;
  
  --ldt-bg: #f8fafc;
  --ldt-card-bg: #ffffff;
  --ldt-surface: #f1f5f9;
  --ldt-surface-subtle: #f8fafc;
  --ldt-border: #e2e8f0;
  --ldt-border-subtle: #f1f5f9;
  
  --ldt-text-main: #0f172a;
  --ldt-text-muted: #64748b;
  --ldt-text-subtle: #94a3b8;
  
  /* Category Colors */
  --cat-vecinos: #0284c7;
  --cat-tafi-viejo: #059669;
  --cat-educacion: #8b5cf6;
  --cat-policiales: #dc2626;
  --cat-salud: #0d9488;
  --cat-politica: #475569;
  --cat-deporte: #ea580c;
  --cat-cultura: #db2777;
  --cat-eventos: #d97706;
  --cat-comercios: #16a34a;

  /* Typography */
  --ldt-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ldt-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing & Radii */
  --ldt-radius-sm: 6px;
  --ldt-radius: 12px;
  --ldt-radius-lg: 18px;
  --ldt-radius-full: 9999px;

  --ldt-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --ldt-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --ldt-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --ldt-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);

  --ldt-max-w: 1280px;
  --ldt-reading-w: 780px;
  --ldt-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --ldt-bg: #0b0f19;
  --ldt-card-bg: #131b2e;
  --ldt-surface: #1e293b;
  --ldt-surface-subtle: #172033;
  --ldt-border: #243048;
  --ldt-border-subtle: #1e293b;

  --ldt-text-main: #f8fafc;
  --ldt-text-muted: #94a3b8;
  --ldt-text-subtle: #64748b;

  --ldt-primary: #10b981;
  --ldt-primary-hover: #34d399;
  --ldt-primary-light: rgba(16, 185, 129, 0.15);

  --ldt-accent: #fbbf24;
  --ldt-accent-hover: #f59e0b;
  --ldt-accent-light: rgba(251, 191, 36, 0.15);

  --ldt-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
  --ldt-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.35);
  --ldt-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.45);
  --ldt-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] .ldt-section-title,
[data-theme="dark"] .ldt-post-title,
[data-theme="dark"] .ldt-card-title,
[data-theme="dark"] .ldt-hero-main-title,
[data-theme="dark"] .ldt-brand-logo-text,
[data-theme="dark"] .entry-title {
  color: #f8fafc !important;
}

[data-theme="dark"] .ldt-card,
[data-theme="dark"] .ldt-sidebar-card,
[data-theme="dark"] .ldt-hero-sub-card,
[data-theme="dark"] .ldt-commerce-card-body,
[data-theme="dark"] .ldt-live-rates-panel {
  background-color: #131b2e !important;
  border-color: #243048 !important;
}

[data-theme="dark"] .ldt-ticker-wrap,
[data-theme="dark"] .ldt-main-header,
[data-theme="dark"] .ldt-topbar {
  background-color: #0b0f19 !important;
  border-color: #243048 !important;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--ldt-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ldt-text-main);
  background-color: var(--ldt-bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--ldt-bg);
  color: var(--ldt-text-main);
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--ldt-transition);
}

a:hover {
  color: var(--ldt-primary);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.ldt-container {
  width: 100%;
  max-width: var(--ldt-max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

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

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
/* Reading Progress Bar (Single Posts) */
.ldt-progress-bar-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1000;
  background: transparent;
}
.ldt-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--ldt-primary), var(--ldt-accent));
  transition: width 0.1s ease;
}

/* Topbar */
.ldt-topbar {
  background-color: var(--ldt-surface);
  border-bottom: 1px solid var(--ldt-border);
  font-size: 0.8125rem;
  color: var(--ldt-text-muted);
  padding: 0.4rem 0;
  position: relative;
  z-index: 1001;
}
.ldt-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}
.ldt-topbar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.ldt-topbar-date {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  white-space: nowrap;
}
.ldt-topbar-weather {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--ldt-card-bg);
  padding: 0.15rem 0.6rem;
  border-radius: var(--ldt-radius-full);
  border: 1px solid var(--ldt-border);
  font-weight: 600;
  color: var(--ldt-text-main);
  white-space: nowrap;
}

/* Secondary Menu (Datos Útiles / Colectivos / Trámites) */
.ldt-secondary-nav {
  display: flex;
  align-items: center;
}
.ldt-secondary-menu {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ldt-secondary-menu > li {
  position: relative;
  list-style: none;
  margin: 0;
}
.ldt-secondary-menu > li > a {
  font-family: var(--ldt-font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ldt-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.ldt-secondary-menu > li:hover > a {
  color: var(--ldt-primary);
}
.ldt-secondary-menu .menu-item-has-children > a::after {
  content: ' ▾';
  font-size: 0.65rem;
  opacity: 0.7;
}
.ldt-secondary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--ldt-card-bg);
  border: 1px solid var(--ldt-border);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  padding: 6px 0;
  margin-top: 4px;
  list-style: none;
  display: none;
  z-index: 1002;
  text-align: left;
}
.ldt-secondary-menu li:hover > .sub-menu {
  display: block;
  animation: ldtDropdownFade 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}
.ldt-secondary-menu .sub-menu li {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ldt-secondary-menu .sub-menu li a {
  display: block;
  padding: 7px 16px;
  font-family: var(--ldt-font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ldt-text-main);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}
.ldt-secondary-menu .sub-menu li a:hover {
  background: var(--ldt-primary);
  color: #ffffff !important;
  padding-left: 20px;
}

.ldt-topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ldt-social-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.ldt-social-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ldt-card-bg);
  border: 1px solid var(--ldt-border);
  color: var(--ldt-text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  transition: var(--ldt-transition);
}
.ldt-social-btn:hover {
  background: var(--ldt-primary);
  color: #ffffff;
  border-color: var(--ldt-primary);
  transform: translateY(-1px);
}
.ldt-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--ldt-card-bg);
  border: 1px solid var(--ldt-border);
  padding: 0.2rem 0.6rem;
  border-radius: var(--ldt-radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ldt-text-main);
  transition: var(--ldt-transition);
  white-space: nowrap;
}
.ldt-theme-toggle:hover {
  border-color: var(--ldt-primary);
  color: var(--ldt-primary);
}

/* Main Header */
.ldt-main-header {
  background-color: var(--ldt-card-bg);
  padding: 1rem 0;
  border-bottom: 1px solid var(--ldt-border);
  transition: background-color 0.3s ease;
}
.ldt-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.ldt-brand-wrap {
  display: flex;
  align-items: center;
}
.ldt-site-logo img,
.custom-logo-link img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
}
.ldt-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.ldt-brand-logo-text {
  font-family: var(--ldt-font-heading);
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--ldt-text-main);
  line-height: 1;
}
.ldt-brand-logo-text span {
  color: var(--ldt-primary);
}
.ldt-brand-tagline {
  font-size: 0.75rem;
  color: var(--ldt-text-muted);
  margin-top: 0.35rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.ldt-header-ad-zone {
  flex: 1;
  max-width: 728px;
  display: flex;
  justify-content: flex-end;
  min-height: 90px;
  align-items: center;
}

/* Navigation Bar */
.ldt-navbar {
  background-color: var(--ldt-primary);
  background: linear-gradient(90deg, #047857 0%, #065f46 100%);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.ldt-navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
}
.ldt-nav-menu-wrap {
  position: relative;
}

/* Menú Principal y Soporte Dropdown de WordPress */
.ldt-nav-menu,
.ldt-nav-menu-wrap ul.menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
}
.ldt-nav-menu > li,
.ldt-nav-menu-wrap ul.menu > li {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ldt-nav-menu > li > a,
.ldt-nav-menu-wrap ul.menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.45rem 0.75rem;
  font-family: var(--ldt-font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  border-radius: var(--ldt-radius-sm);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.ldt-nav-menu > li:hover > a,
.ldt-nav-menu > li.current-menu-item > a,
.ldt-nav-menu-wrap ul.menu > li:hover > a,
.ldt-nav-menu-wrap ul.menu > li.current-menu-item > a {
  background: rgba(0, 0, 0, 0.22);
  color: #ffffff;
}

/* Indicador de flecha en elementos con submenú */
.ldt-nav-menu .menu-item-has-children > a::after,
.ldt-nav-menu-wrap ul.menu .menu-item-has-children > a::after {
  content: '▾';
  font-size: 0.7rem;
  margin-left: 2px;
  opacity: 0.75;
  transition: transform 0.2s ease;
}
.ldt-nav-menu .menu-item-has-children:hover > a::after,
.ldt-nav-menu-wrap ul.menu .menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

/* Sub-menús Desplegables Flotantes (Nivel 1) */
.ldt-nav-menu .sub-menu,
.ldt-nav-menu-wrap ul.menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  list-style: none;
  margin: 4px 0 0 0;
  padding: 6px 0;
  display: none;
  z-index: 1001;
  text-align: left;
}
[data-theme="light"] .ldt-nav-menu .sub-menu,
[data-theme="light"] .ldt-nav-menu-wrap ul.menu .sub-menu {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.ldt-nav-menu li:hover > .sub-menu,
.ldt-nav-menu-wrap ul.menu li:hover > .sub-menu {
  display: block;
  animation: ldtDropdownFade 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.ldt-nav-menu .sub-menu li,
.ldt-nav-menu-wrap ul.menu .sub-menu li {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ldt-nav-menu .sub-menu li a,
.ldt-nav-menu-wrap ul.menu .sub-menu li a {
  display: block;
  padding: 8px 18px;
  font-family: var(--ldt-font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #cbd5e1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}
[data-theme="light"] .ldt-nav-menu .sub-menu li a,
[data-theme="light"] .ldt-nav-menu-wrap ul.menu .sub-menu li a {
  color: #334155;
}

.ldt-nav-menu .sub-menu li a:hover,
.ldt-nav-menu-wrap ul.menu .sub-menu li a:hover {
  background-color: var(--ldt-primary);
  color: #ffffff !important;
  padding-left: 22px;
}

/* Sub-menús Nivel 2 (hacia la derecha) */
.ldt-nav-menu .sub-menu .sub-menu,
.ldt-nav-menu-wrap ul.menu .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  margin-top: 0;
  margin-left: 2px;
}

@keyframes ldtDropdownFade {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.ldt-nav-ecosystem-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ldt-btn-ecosystem {
  font-family: var(--ldt-font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: var(--ldt-radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transition: var(--ldt-transition);
}
.ldt-btn-ecosystem:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.ldt-btn-ecosystem.active {
  background: #ffffff !important;
  color: var(--ldt-primary) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.ldt-mobile-menu-btn {
  display: none;
  color: #ffffff;
  font-size: 1.5rem;
}

/* ==========================================================================
   TICKER (ÚLTIMO MOMENTO CON ANIMACIÓN CONTINUA)
   ========================================================================== */
.ldt-ticker-bar {
  background: var(--ldt-card-bg);
  border-bottom: 1px solid var(--ldt-border);
  padding: 0.45rem 0;
  font-size: 0.84rem;
  overflow: hidden;
}
.ldt-ticker-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ldt-ticker-badge {
  background: #dc2626;
  color: #ffffff;
  font-family: var(--ldt-font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--ldt-radius-sm);
  white-space: nowrap;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
}
.ldt-ticker-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #ffffff;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.ldt-ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
}
.ldt-ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: ldtTickerScroll 30s linear infinite;
}
.ldt-ticker-track:hover {
  animation-play-state: paused;
}
@keyframes ldtTickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ldt-ticker-item {
  color: var(--ldt-text-main);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}
.ldt-ticker-item:hover {
  color: var(--ldt-primary);
}
.ldt-ticker-sep {
  color: var(--ldt-primary);
  margin: 0 12px;
  font-weight: 800;
}

/* ==========================================================================
   BENTO GRID HERO (PORTADA)
   ========================================================================== */
.ldt-hero-bento-section {
  padding: 1.75rem 0 1.25rem 0;
}
.ldt-bento-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-gap: 1.25rem;
  min-height: 480px;
}

/* Main Hero Card */
.ldt-bento-main {
  position: relative;
  border-radius: var(--ldt-radius);
  overflow: hidden;
  background-color: var(--ldt-surface);
  box-shadow: var(--ldt-shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;
}
.ldt-bento-main-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}
.ldt-bento-main:hover .ldt-bento-main-img {
  transform: scale(1.04);
}
.ldt-bento-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.4) 40%, rgba(15,23,42,0.92) 100%);
  z-index: 2;
}
.ldt-bento-main-content {
  position: relative;
  z-index: 3;
  padding: 2rem;
  color: #ffffff;
}
.ldt-category-badge {
  display: inline-block;
  font-family: var(--ldt-font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--ldt-radius-full);
  background: var(--ldt-primary);
  color: #ffffff;
  margin-bottom: 0.75rem;
}
.ldt-bento-main-title {
  font-family: var(--ldt-font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}
.ldt-bento-main-title a {
  color: #ffffff;
}
.ldt-bento-main-title a:hover {
  color: var(--ldt-accent);
}
.ldt-bento-main-excerpt {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ldt-card-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Secondary Bento Stack */
.ldt-bento-secondary-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ldt-bento-subcard {
  position: relative;
  flex: 1;
  background-color: var(--ldt-card-bg);
  border-radius: var(--ldt-radius);
  border: 1px solid var(--ldt-border);
  box-shadow: var(--ldt-shadow-sm);
  display: flex;
  gap: 1rem;
  padding: 0.9rem;
  transition: var(--ldt-transition);
}
.ldt-bento-subcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--ldt-shadow-hover);
  border-color: var(--ldt-primary);
}
.ldt-bento-subcard-thumb {
  width: 130px;
  height: 100px;
  flex-shrink: 0;
  border-radius: var(--ldt-radius-sm);
  overflow: hidden;
  background-color: var(--ldt-surface);
}
.ldt-bento-subcard-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ldt-bento-subcard:hover .ldt-bento-subcard-thumb img {
  transform: scale(1.08);
}
.ldt-bento-subcard-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ldt-bento-subcard-title {
  font-family: var(--ldt-font-heading);
  font-size: 0.975rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ldt-text-main);
  margin-top: 0.3rem;
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ldt-bento-subcard-title a:hover {
  color: var(--ldt-primary);
}

/* ==========================================================================
   THEMATIC BLOCKS & SECTIONS
   ========================================================================== */
.ldt-section-wrap {
  margin: 2rem 0;
}
.ldt-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--ldt-border);
  padding-bottom: 0.65rem;
  margin-bottom: 1.35rem;
}
.ldt-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.ldt-section-accent-bar {
  width: 5px;
  height: 22px;
  background-color: var(--ldt-primary);
  border-radius: var(--ldt-radius-full);
}
.ldt-section-title {
  font-family: var(--ldt-font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ldt-text-main);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.ldt-section-see-all {
  font-family: var(--ldt-font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ldt-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.ldt-section-see-all:hover {
  color: var(--ldt-primary-hover);
  transform: translateX(3px);
}

/* 3-Column and 4-Column Card Grids */
.ldt-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1.15rem;
}
.ldt-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1.25rem;
}
.ldt-news-card {
  background-color: var(--ldt-card-bg);
  border-radius: var(--ldt-radius);
  border: 1px solid var(--ldt-border);
  overflow: hidden;
  box-shadow: var(--ldt-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--ldt-transition);
}
.ldt-news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ldt-shadow-hover);
  border-color: var(--ldt-primary);
}
.ldt-news-card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--ldt-surface);
}
.ldt-news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ldt-news-card:hover .ldt-news-card-thumb img {
  transform: scale(1.06);
}
.ldt-news-card-body {
  padding: 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ldt-news-card-title {
  font-family: var(--ldt-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ldt-text-main);
  margin-top: 0.4rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.ldt-news-card-excerpt {
  font-size: 0.875rem;
  color: var(--ldt-text-muted);
  line-height: 1.5;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ldt-news-card-footer {
  margin-top: auto;
  font-size: 0.75rem;
  color: var(--ldt-text-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 2-Column Split Layout */
.ldt-split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1.5rem;
}

/* ==========================================================================
   AGENDA DE EVENTOS STRIP
   ========================================================================== */
.ldt-agenda-section {
  background: linear-gradient(135deg, #065f46 0%, #047857 100%);
  border-radius: var(--ldt-radius-lg);
  padding: 2rem;
  color: #ffffff;
  margin: 2.5rem 0;
  box-shadow: var(--ldt-shadow-lg);
}
.ldt-agenda-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.ldt-agenda-title {
  font-family: var(--ldt-font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}
.ldt-agenda-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1rem;
}
.ldt-agenda-card-rich {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--ldt-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: var(--ldt-transition);
}
.ldt-agenda-card-rich:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}
.ldt-agenda-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #022c22;
}
.ldt-agenda-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ldt-agenda-card-rich:hover .ldt-agenda-thumb img {
  transform: scale(1.06);
}
.ldt-agenda-thumb .ldt-agenda-date-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  margin: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.ldt-agenda-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ldt-agenda-date-badge {
  font-family: var(--ldt-font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--ldt-accent);
  color: #ffffff;
  padding: 0.2rem 0.5rem;
  border-radius: var(--ldt-radius-sm);
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.6rem;
}
.ldt-agenda-card-title {
  font-family: var(--ldt-font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.ldt-agenda-location {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: auto;
}

/* ==========================================================================
   LA GUÍA COMERCIOS & SERVICIOS CARDS
   ========================================================================== */
.ldt-comercio-card {
  background-color: var(--ldt-card-bg);
  border-radius: var(--ldt-radius);
  border: 1px solid var(--ldt-border);
  overflow: hidden;
  box-shadow: var(--ldt-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--ldt-transition);
}
.ldt-comercio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ldt-shadow-hover);
  border-color: #d97706;
}
.ldt-comercio-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--ldt-surface);
}
.ldt-comercio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ldt-comercio-card:hover .ldt-comercio-thumb img {
  transform: scale(1.06);
}
.ldt-comercio-rubro {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #d97706;
  color: #ffffff;
  font-family: var(--ldt-font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: var(--ldt-radius-sm);
  letter-spacing: 0.03em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.ldt-comercio-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ldt-comercio-title {
  font-family: var(--ldt-font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.4rem 0;
  line-height: 1.3;
}
.ldt-comercio-title a {
  color: var(--ldt-text-main);
  text-decoration: none;
  transition: color 0.15s ease;
}
.ldt-comercio-title a:hover {
  color: #d97706;
}
.ldt-comercio-desc {
  font-size: 0.84rem;
  color: var(--ldt-text-muted);
  line-height: 1.45;
  margin-bottom: 1rem;
  flex: 1;
}
.ldt-comercio-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
  border-top: 1px solid var(--ldt-border-subtle);
  padding-top: 0.75rem;
}
.ldt-btn-comercio-view {
  font-family: var(--ldt-font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ldt-text-main);
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  border-radius: var(--ldt-radius-sm);
  background: var(--ldt-surface);
  border: 1px solid var(--ldt-border);
  transition: var(--ldt-transition);
}
.ldt-btn-comercio-view:hover {
  background: var(--ldt-primary);
  color: #ffffff;
  border-color: var(--ldt-primary);
}
.ldt-btn-comercio-wa {
  font-family: var(--ldt-font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  border-radius: var(--ldt-radius-sm);
  border: 1px solid #bbf7d0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: var(--ldt-transition);
}
[data-theme="dark"] .ldt-btn-comercio-wa {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.3);
}
.ldt-btn-comercio-wa:hover {
  background: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
}

/* ==========================================================================
   TWO COLUMN CONTENT & SIDEBAR
   ========================================================================== */
.ldt-layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  grid-gap: 2rem;
  margin: 2.5rem 0;
}
.ldt-main-content {
  min-width: 0;
}
.ldt-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Sidebar Widgets */
.ldt-widget {
  background: var(--ldt-card-bg);
  border: 1px solid var(--ldt-border);
  border-radius: var(--ldt-radius);
  padding: 1.35rem;
  box-shadow: var(--ldt-shadow-sm);
}
.ldt-widget-title {
  font-family: var(--ldt-font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ldt-text-main);
  border-bottom: 2px solid var(--ldt-primary);
  padding-bottom: 0.5rem;
  margin-bottom: 1.15rem;
}

/* Indicadores Financieros en Vivo (Tablero Compacto) */
.ldt-widget-financial-board {
  background: var(--ldt-card-bg);
  border: 1px solid var(--ldt-border);
  border-radius: var(--ldt-radius);
  padding: 1.15rem;
  box-shadow: var(--ldt-shadow-sm);
}
.ldt-fin-board-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  border-bottom: 2px solid var(--ldt-primary);
  padding-bottom: 0.4rem;
}
.ldt-fin-board-badge {
  background: #dc2626;
  color: #ffffff;
  font-family: var(--ldt-font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: var(--ldt-radius-sm);
  letter-spacing: 0.05em;
}
.ldt-fin-board-title {
  font-family: var(--ldt-font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ldt-text-main);
  margin: 0;
}
.ldt-fin-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.ldt-fin-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--ldt-surface);
  border: 1px solid var(--ldt-border);
  border-radius: var(--ldt-radius-sm);
  padding: 0.45rem 0.65rem;
  font-size: 0.8125rem;
  transition: border-color 0.15s ease;
}
.ldt-fin-row:hover {
  border-color: var(--ldt-primary);
}
.ldt-fin-pill {
  font-family: var(--ldt-font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: var(--ldt-radius-sm);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.ldt-pill-blue { background: #0284c7; }
.ldt-pill-oficial { background: #64748b; }
.ldt-pill-usdt { background: #0d9488; }
.ldt-pill-btc { background: #d97706; }
.ldt-pill-eth { background: #6366f1; }
.ldt-fin-rates {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}
.ldt-val-green { color: #16a34a; font-weight: 800; }
[data-theme="dark"] .ldt-val-green { color: #4ade80; }
.ldt-val-gold { color: #d97706; font-weight: 800; }
[data-theme="dark"] .ldt-val-gold { color: #fbbf24; }
.ldt-val-blue { color: #4f46e5; font-weight: 800; }
[data-theme="dark"] .ldt-val-blue { color: #818cf8; }
.ldt-fin-row-weather {
  background: var(--ldt-card-bg);
  border: 1px dashed var(--ldt-border);
}

/* Ranked List Styling (Más Leídas & Lo Más Reciente) */
.ldt-ranked-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.ldt-ranked-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  border-bottom: 1px solid var(--ldt-border-subtle);
  padding-bottom: 0.65rem;
}
.ldt-ranked-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.ldt-rank-num {
  font-family: var(--ldt-font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--ldt-primary);
  line-height: 1;
  width: 20px;
  flex-shrink: 0;
}
.ldt-rank-num-recent {
  color: var(--ldt-accent);
}
.ldt-rank-content {
  flex: 1;
}
.ldt-rank-title {
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--ldt-text-main);
  display: block;
  margin-bottom: 0.2rem;
  text-decoration: none;
  transition: color 0.15s ease;
}
.ldt-rank-title:hover {
  color: var(--ldt-primary);
}
.ldt-rank-date {
  font-size: 0.75rem;
  color: var(--ldt-text-subtle);
}

/* Estilos para Widgets Estándar de WordPress (Noticias Recientes, Categorías, Archivo) */
.ldt-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ldt-widget ul li {
  list-style: none;
  border-bottom: 1px solid var(--ldt-border-subtle);
  padding-bottom: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.4;
}
.ldt-widget ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.ldt-widget ul li a {
  font-weight: 700;
  color: var(--ldt-text-main);
  display: block;
  transition: color 0.15s ease;
}
.ldt-widget ul li a:hover {
  color: var(--ldt-primary);
}
.ldt-widget .post-date {
  display: block;
  font-size: 0.75rem;
  color: var(--ldt-text-subtle);
  margin-top: 0.25rem;
}

/* WhatsApp Channel Invitation Widget */
.ldt-whatsapp-widget {
  background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
  color: #ffffff;
  border-radius: var(--ldt-radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--ldt-shadow);
}
.ldt-whatsapp-widget h4 {
  font-family: var(--ldt-font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}
.ldt-whatsapp-widget p {
  font-size: 0.875rem;
  opacity: 0.95;
  margin-bottom: 1rem;
}
.ldt-btn-whatsapp-join {
  background: #ffffff;
  color: #075e54;
  font-family: var(--ldt-font-heading);
  font-weight: 800;
  font-size: 0.875rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--ldt-radius-full);
  display: inline-block;
  transition: var(--ldt-transition);
}
.ldt-btn-whatsapp-join:hover {
  background: #075e54;
  color: #ffffff;
  transform: scale(1.03);
}

/* ==========================================================================
   SINGLE POST (ARTICLE VIEW)
   ========================================================================== */
.ldt-article-header {
  margin-bottom: 1.75rem;
}
.ldt-breadcrumbs {
  font-size: 0.8125rem;
  color: var(--ldt-text-muted);
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.ldt-article-title {
  font-family: var(--ldt-font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ldt-text-main);
  letter-spacing: -0.03em;
  margin: 0.75rem 0 1rem 0;
}
.ldt-article-lead {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ldt-text-muted);
  font-weight: 400;
  margin-bottom: 1.25rem;
}
.ldt-article-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--ldt-border);
  border-bottom: 1px solid var(--ldt-border);
  padding: 0.75rem 0;
  font-size: 0.8125rem;
  color: var(--ldt-text-muted);
}
.ldt-article-author-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ldt-author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--ldt-border);
}

/* Share Buttons */
.ldt-share-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ldt-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--ldt-radius-full);
  font-family: var(--ldt-font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  transition: var(--ldt-transition);
}
.ldt-share-wa { background: #25d366; }
.ldt-share-wa:hover { background: #128c7e; color: #ffffff; }
.ldt-share-fb { background: #1877f2; }
.ldt-share-fb:hover { background: #0c56b8; color: #ffffff; }
.ldt-share-tw { background: #000000; }
.ldt-share-tw:hover { background: #333333; color: #ffffff; }
.ldt-share-copy {
  background: var(--ldt-surface);
  color: var(--ldt-text-main);
  border: 1px solid var(--ldt-border);
}
.ldt-share-copy:hover {
  border-color: var(--ldt-primary);
  color: var(--ldt-primary);
}

/* Article Featured Image */
.ldt-article-featured-media {
  margin: 1.5rem 0 2rem 0;
  border-radius: var(--ldt-radius);
  overflow: hidden;
  background: var(--ldt-surface);
}
.ldt-article-featured-media img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}
.ldt-article-caption {
  font-size: 0.8125rem;
  color: var(--ldt-text-muted);
  padding: 0.5rem 0.75rem;
  font-style: italic;
}

/* Article Typography (Prose) */
.ldt-article-body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--ldt-text-main);
}
.ldt-article-body p {
  margin-bottom: 1.45rem;
}
.ldt-article-body h2 {
  font-family: var(--ldt-font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  margin: 2rem 0 0.85rem 0;
  color: var(--ldt-text-main);
}
.ldt-article-body h3 {
  font-family: var(--ldt-font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 1.6rem 0 0.65rem 0;
  color: var(--ldt-text-main);
}
.ldt-article-body blockquote {
  border-left: 4px solid var(--ldt-primary);
  padding: 0.75rem 1.25rem;
  margin: 1.75rem 0;
  background: var(--ldt-surface);
  border-radius: 0 var(--ldt-radius-sm) var(--ldt-radius-sm) 0;
  font-style: italic;
  color: var(--ldt-text-main);
}
.ldt-article-body a {
  color: var(--ldt-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   PUBLICIDAD (AD ZONES)
   ========================================================================== */
.ldt-ad-zone {
  margin: 1.75rem 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ldt-ad-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ldt-text-subtle);
  margin-bottom: 0.35rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ldt-footer {
  background-color: #090d16;
  color: #94a3b8;
  padding: 3.5rem 0 1.5rem 0;
  margin-top: auto;
  border-top: 1px solid #1e293b;
}
.ldt-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  grid-gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.ldt-footer-brand-title {
  font-family: var(--ldt-font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.75rem;
}
.ldt-footer-brand-title span {
  color: var(--ldt-primary);
}
.ldt-footer-text {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.ldt-footer-col-title {
  font-family: var(--ldt-font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 1.15rem;
}
.ldt-footer-menu li {
  margin-bottom: 0.55rem;
}
.ldt-footer-menu a {
  font-size: 0.875rem;
  color: #94a3b8;
}
.ldt-footer-menu a:hover {
  color: var(--ldt-primary);
  padding-left: 4px;
}
.ldt-footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #64748b;
}

/* ==========================================================================
   RESPONSIVE DESIGN (BREAKPOINTS)
   ========================================================================== */
@media (max-width: 1024px) {
  .ldt-bento-grid {
    grid-template-columns: 1fr;
  }
  .ldt-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .ldt-agenda-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ldt-layout-with-sidebar {
    grid-template-columns: 1fr;
  }
  .ldt-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .ldt-topbar-weather, .ldt-topbar-date {
    font-size: 0.75rem;
  }
  .ldt-header-ad-zone {
    display: none;
  }
  .ldt-nav-menu, .ldt-nav-ecosystem-links {
    display: none;
  }
  .ldt-mobile-menu-btn {
    display: block;
  }
  .ldt-grid-4, .ldt-split-2, .ldt-agenda-grid {
    grid-template-columns: 1fr;
  }
  .ldt-bento-main-title {
    font-size: 1.45rem;
  }
  .ldt-article-title {
    font-size: 1.75rem;
  }
  .ldt-footer-grid {
    grid-template-columns: 1fr;
    grid-gap: 1.75rem;
  }
  .ldt-footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

/* ==========================================================================
   MOBILE DRAWER & BACKDROP
   ========================================================================== */
.ldt-mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.ldt-mobile-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  display: block !important;
}

.ldt-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: var(--ldt-card-bg);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  padding: 1.5rem;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block !important;
}
.ldt-mobile-drawer.is-open {
  transform: translateX(0);
}

.ldt-mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.ldt-mobile-menu-list li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ldt-mobile-menu-list li a {
  display: block;
  padding: 0.55rem 0.75rem;
  font-family: var(--ldt-font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ldt-text-main);
  border-radius: var(--ldt-radius-sm);
  text-decoration: none;
}
.ldt-mobile-menu-list li a:hover {
  background: var(--ldt-surface);
  color: var(--ldt-primary);
}
.ldt-mobile-menu-list .sub-menu {
  list-style: none;
  padding-left: 1rem;
  margin: 0.25rem 0 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.ldt-mobile-menu-list .sub-menu li a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ldt-text-muted);
  padding: 0.35rem 0.6rem;
}
.ldt-mobile-menu-list .sub-menu li a:hover {
  color: var(--ldt-primary);
}

/* ==========================================================================
   WORDPRESS COMMENTS SECTION
   ========================================================================== */
#comments,
.ldt-comments-area {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--ldt-border);
}
.ldt-comments-title,
.comments-title {
  font-family: var(--ldt-font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 1.5rem 0;
  color: var(--ldt-text-main);
}
.ldt-comment-list,
.comment-list {
  list-style: none;
  margin: 0 0 2.5rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.ldt-comment-item,
.comment-list .comment {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ldt-comment-body,
.comment-body {
  background: var(--ldt-card-bg);
  border: 1px solid var(--ldt-border);
  border-radius: var(--ldt-radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--ldt-shadow-sm);
  transition: var(--ldt-transition);
}
.ldt-comment-body:hover,
.comment-body:hover {
  border-color: var(--ldt-primary);
}
.ldt-comment-header,
.comment-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--ldt-border-subtle);
}
.ldt-comment-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ldt-comment-avatar,
.comment-author .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ldt-border);
}
.ldt-comment-author-name,
.comment-author .fn {
  font-family: var(--ldt-font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0;
  color: var(--ldt-text-main);
}
.ldt-comment-author-name a,
.comment-author .fn a {
  color: var(--ldt-text-main);
  text-decoration: none;
}
.ldt-comment-author-name a:hover,
.comment-author .fn a:hover {
  color: var(--ldt-primary);
}
.ldt-comment-date,
.comment-metadata a {
  font-size: 0.75rem;
  color: var(--ldt-text-subtle);
  text-decoration: none;
  display: block;
  margin-top: 0.15rem;
}
.ldt-comment-text,
.comment-content {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ldt-text-main);
}
.ldt-comment-text p,
.comment-content p {
  margin: 0 0 0.65rem 0;
}
.ldt-comment-text p:last-child,
.comment-content p:last-child {
  margin-bottom: 0;
}
.ldt-comment-reply a,
.reply a {
  display: inline-flex;
  align-items: center;
  font-family: var(--ldt-font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ldt-primary);
  background: var(--ldt-surface);
  border: 1px solid var(--ldt-border);
  padding: 0.25rem 0.65rem;
  border-radius: var(--ldt-radius-sm);
  text-decoration: none;
  transition: var(--ldt-transition);
}
.ldt-comment-reply a:hover,
.reply a:hover {
  background: var(--ldt-primary);
  color: #ffffff;
  border-color: var(--ldt-primary);
}
.ldt-comment-awaiting-moderation {
  display: block;
  font-size: 0.8125rem;
  color: #d97706;
  margin-bottom: 0.75rem;
  font-style: italic;
}
.comment-list .children {
  list-style: none;
  padding-left: 2rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ldt-no-comments {
  font-size: 0.9rem;
  color: var(--ldt-text-muted);
  text-align: center;
  padding: 1.5rem;
  background: var(--ldt-surface);
  border-radius: var(--ldt-radius);
}

/* Formulario de Comentarios (#respond) */
#respond,
.comment-respond {
  background: var(--ldt-card-bg);
  border: 1px solid var(--ldt-border);
  border-radius: var(--ldt-radius);
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: var(--ldt-shadow-sm);
}
.ldt-respond-header {
  margin-bottom: 1.25rem;
}
.ldt-reply-title,
.comment-reply-title {
  font-family: var(--ldt-font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 0.35rem 0;
  color: var(--ldt-text-main);
}
.ldt-reply-subtitle {
  font-size: 0.875rem;
  color: var(--ldt-text-muted);
  margin: 0;
}
.ldt-comment-notes,
.comment-notes {
  font-size: 0.8125rem;
  color: var(--ldt-text-subtle);
  margin-bottom: 1.25rem;
}
.ldt-form-group {
  margin-bottom: 1.15rem;
  display: flex;
  flex-direction: column;
}
.ldt-form-group-comment {
  margin-bottom: 1.25rem;
}
.ldt-form-label,
#commentform label {
  display: block;
  font-family: var(--ldt-font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--ldt-text-main);
}
.ldt-comment-fields-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1rem;
  margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
  .ldt-comment-fields-grid {
    grid-template-columns: 1fr;
    grid-gap: 0.85rem;
  }
}
.ldt-form-input,
.ldt-form-textarea,
#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"],
#commentform textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0.75rem 1rem !important;
  font-family: var(--ldt-font-body) !important;
  font-size: 0.9375rem !important;
  background: var(--ldt-surface) !important;
  border: 1px solid var(--ldt-border) !important;
  border-radius: var(--ldt-radius-sm) !important;
  color: var(--ldt-text-main) !important;
  transition: var(--ldt-transition) !important;
}
.ldt-form-textarea,
#commentform textarea {
  resize: vertical !important;
  min-height: 110px !important;
}
.ldt-form-input:focus,
.ldt-form-textarea:focus,
#commentform input:focus,
#commentform textarea:focus {
  outline: none !important;
  border-color: var(--ldt-primary) !important;
  box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.2) !important;
  background: var(--ldt-card-bg) !important;
}
.ldt-form-submit-wrap,
.form-submit {
  margin-top: 1rem;
  margin-bottom: 0 !important;
}
.ldt-btn-submit-comment,
#commentform input[type="submit"] {
  background: var(--ldt-primary) !important;
  color: #ffffff !important;
  font-family: var(--ldt-font-heading) !important;
  font-weight: 800 !important;
  font-size: 0.9375rem !important;
  padding: 0.75rem 1.75rem !important;
  border: none !important;
  border-radius: var(--ldt-radius-sm) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  transition: var(--ldt-transition) !important;
  box-shadow: 0 2px 8px rgba(4, 120, 87, 0.25) !important;
}
.ldt-btn-submit-comment:hover,
#commentform input[type="submit"]:hover {
  background: var(--ldt-primary-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(4, 120, 87, 0.35) !important;
}
