/*
Theme Name: VictoriaTemplate
Theme URI: https://granadasmile.com
Author: SuperAds
Author URI: https://granadasmile.com
Description: Tema editorial moderno de alto rendimiento para GranadaSmile. Tipografía limpia, arquitectura semántica, 100% compatible con Rank Math SEO, Gutenberg, AdSense Zero-CLS y LiteSpeed Cache.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: victoriatemplate
*/

/* ==========================================================================
   Tipografía Granaína (Sergio Arredondo - Cerámica Tradicional de Fajalauza)
   ========================================================================== */
@font-face {
  font-family: 'Granaina';
  src: url('assets/fonts/Granaina-Limpia.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Granaina';
  src: url('assets/fonts/Granaina-Limpia.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Granaina';
  src: url('assets/fonts/Granaina-Limpia.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Granaina';
  src: url('assets/fonts/Granaina-Limpia.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --vt-primary: #c2593f;
  --vt-primary-hover: #a8472f;
  --vt-primary-light: #fef2ee;
  --vt-dark: #0f172a;
  --vt-dark-card: #1e293b;
  --vt-text: #334155;
  --vt-text-muted: #64748b;
  --vt-bg: #f8fafc;
  --vt-card-bg: #ffffff;
  --vt-border: #e2e8f0;
  --vt-border-light: #f1f5f9;
  --vt-success: #16a34a;
  --vt-font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --vt-font-serif: Georgia, Cambria, "Times New Roman", Times, serif;
  --vt-font-granaina: 'Granaina', Georgia, serif;
  --vt-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --vt-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --vt-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
}

/* CSS Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--vt-font-sans);
  background-color: var(--vt-bg);
  color: var(--vt-text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--vt-primary);
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

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

/* Layout Containers */
.vt-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.vt-prose-container {
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}



.vt-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.vt-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--vt-dark);
}

.vt-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}

.vt-logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--vt-dark);
}

.vt-logo-tagline {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--vt-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Mega-Menu de Lujo & Navegación 2026 (Desktop & Mobile)
   ========================================================================== */

.vt-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  z-index: 200;
  transition: box-shadow 0.2s ease;
}

.vt-header .vt-container {
  position: relative;
}

.vt-mega-nav {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.vt-mega-bar {
  display: flex;
  align-items: stretch;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.vt-mega-bar > li {
  list-style: none;
}

/* El elemento con mega-menú ocupa el 100% de la altura de la cabecera para eliminar zonas muertas */
.vt-has-mega {
  position: static !important;
  display: flex;
  align-items: center;
  height: 100%;
}

/* Gatillo superior de pestaña */
.vt-mega-trigger {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--vt-dark);
  padding: 8px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.vt-mega-trigger:hover,
.vt-has-mega:hover > .vt-mega-trigger,
.vt-has-mega:focus-within > .vt-mega-trigger,
.vt-has-mega.is-open > .vt-mega-trigger {
  background-color: #f1f5f9;
  color: var(--vt-primary);
}

.vt-chevron {
  transition: transform 0.2s ease;
  color: #94a3b8;
}

.vt-has-mega:hover .vt-chevron,
.vt-has-mega:focus-within .vt-chevron,
.vt-has-mega.is-open .vt-chevron {
  transform: rotate(180deg);
  color: var(--vt-primary);
}

.vt-pill-badge {
  background: #e0f2fe;
  color: #0284c7;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
  letter-spacing: 0.02em;
  margin-left: 5px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  vertical-align: middle;
}

/* ==================== PANEL DEL MEGA-MENU ==================== */
.vt-mega-dropdown {
  display: none;
  position: absolute;
  top: 72px;
  left: 20px;
  right: 20px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  box-shadow: 0 25px 65px -12px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.04);
  padding: 24px 28px 18px;
  margin-top: 0;
  z-index: 300;
  animation: vtMenuFade 0.15s ease forwards;
}

/* Puente invisible y zona de seguridad para que el cursor NUNCA pierda el hover */
.vt-mega-dropdown::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 25px;
}

@keyframes vtMenuFade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Fallback CSS estándar */
.vt-has-mega:hover > .vt-mega-dropdown,
.vt-has-mega:focus-within > .vt-mega-dropdown,
.vt-has-mega.is-open > .vt-mega-dropdown {
  display: block;
}

/* Modo interactivo JS (con debounce inteligente y buffer de salida) */
.vt-js-ready .vt-has-mega:not(.is-open) > .vt-mega-dropdown {
  display: none !important;
}

.vt-js-ready .vt-has-mega.is-open > .vt-mega-dropdown {
  display: block !important;
}

/* Cuadrícula de 3 Columnas */
.vt-mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 310px;
  gap: 26px;
}

.vt-mega-col {
  display: flex;
  flex-direction: column;
}

.vt-col-header {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #64748b;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f1f5f9;
}

.vt-col-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.vt-col-links li {
  list-style: none;
}

/* Enlaces enriquecidos con título y subtítulo descriptivo */
.vt-mega-item {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.vt-mega-item:hover {
  background-color: #f8fafc;
  transform: translateX(3px);
}

.vt-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
}

.vt-mega-item:hover .vt-item-title {
  color: var(--vt-primary);
}

.vt-item-desc {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
  line-height: 1.35;
  font-weight: 400;
}

/* Badges de estado */
.vt-tag-hot {
  background: #fee2e2;
  color: #b91c1c;
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  text-transform: uppercase;
}

.vt-tag-new {
  background: #f3e8ff;
  color: #7e22ce;
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* ==================== TARJETA VISUAL DESTACADA ==================== */
.vt-mega-featured {
  display: flex;
  flex-direction: column;
}

.vt-featured-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: all 0.22s ease;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.vt-featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -6px rgba(15, 23, 42, 0.16);
  border-color: #cbd5e1;
}

.vt-card-img-wrap {
  position: relative;
  height: 135px;
  overflow: hidden;
  background: #0f172a;
}

.vt-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.vt-featured-card:hover .vt-card-img-wrap img {
  transform: scale(1.06);
}

.vt-card-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vt-card-body-menu {
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.vt-card-h {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 4px;
}

.vt-card-p {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 10px;
  flex: 1;
}

.vt-card-cta {
  font-size: 12px;
  font-weight: 800;
  color: var(--vt-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Barra inferior de confianza E-E-A-T dentro del mega-menú */
.vt-mega-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  margin-top: 16px;
  padding-top: 12px;
  font-size: 11.5px;
  color: #64748b;
}

.vt-mega-footer a {
  font-weight: 700;
  color: var(--vt-primary);
  text-decoration: none;
}

.vt-mega-footer a:hover {
  text-decoration: underline;
}

/* Botón CTA Agenda 2026 con pulso y gradiente */
.vt-mega-cta-item {
  display: flex;
  align-items: center;
  height: 100%;
  margin-left: 6px;
}

.vt-nav-cta-pulse {
  background: linear-gradient(135deg, #c2593f 0%, #e11d48 100%) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  padding: 8px 16px !important;
  border-radius: 9999px !important;
  box-shadow: 0 4px 14px rgba(194, 89, 63, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.vt-nav-cta-pulse:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 20px rgba(194, 89, 63, 0.45);
}

.vt-cta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.4);
  animation: vtPulse 1.8s infinite;
}

@keyframes vtPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ==================== DRAWER MÓVIL OFF-CANVAS ==================== */
.vt-mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--vt-dark);
}

.vt-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
}

.vt-drawer-backdrop.is-open {
  display: block;
}

.vt-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(390px, 88vw);
  background: #ffffff;
  box-shadow: -10px 0 35px rgba(15, 23, 42, 0.28);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  animation: vtDrawerSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes vtDrawerSlide {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.vt-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.vt-drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #0f172a;
}

.vt-drawer-close {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vt-drawer-cta {
  padding: 14px 20px;
  border-bottom: 1px solid #f1f5f9;
  background: #fff7ed;
}

.vt-drawer-cta-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #c2593f 0%, #dc2626 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 13.5px;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(194, 89, 63, 0.25);
}

.vt-cta-pulse-mini {
  background: #ffffff;
  color: #dc2626;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 12px;
}

.vt-drawer-content {
  padding: 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vt-drawer-acc {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.vt-drawer-acc summary {
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
}

.vt-drawer-acc summary::-webkit-details-marker {
  display: none;
}

.vt-drawer-acc summary::after {
  content: "+";
  font-size: 16px;
  font-weight: 600;
  color: #64748b;
}

.vt-drawer-acc[open] summary::after {
  content: "−";
}

.vt-acc-body {
  padding: 8px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid #f1f5f9;
}

.vt-acc-body a {
  padding: 7px 10px;
  font-size: 13px;
  color: #334155;
  text-decoration: none;
  border-radius: 6px;
}

.vt-acc-body a:hover {
  background: #f1f5f9;
  color: var(--vt-primary);
}

.vt-acc-bold {
  font-weight: 700 !important;
  color: #0f172a !important;
}

.vt-drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid #f1f5f9;
  font-size: 11px;
  color: #94a3b8;
  text-align: center;
}

/* Rank Math Breadcrumbs */
.rank-math-breadcrumb, .vt-breadcrumbs {
  font-size: 13px;
  color: var(--vt-text-muted);
  margin: 20px 0 25px;
  padding: 8px 0;
  line-height: 1.5;
}

.rank-math-breadcrumb a, .vt-breadcrumbs a {
  color: var(--vt-text);
  font-weight: 500;
}

.rank-math-breadcrumb a:hover, .vt-breadcrumbs a:hover {
  color: var(--vt-primary);
}

.rank-math-breadcrumb .separator, .vt-breadcrumbs .separator {
  margin: 0 8px;
  color: #cbd5e1;
}

/* Article Hero & Typography */
.vt-article-header {
  margin-bottom: 35px;
}

.vt-category-pill {
  display: inline-block;
  background-color: var(--vt-primary-light);
  color: var(--vt-primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

/* Headings H1 con Granaína Font */
h1, .vt-h1, .vt-article-title, .vt-hero-title {
  font-family: 'Granaina', Georgia, serif !important;
  font-weight: normal;
  letter-spacing: 0.02em;
  text-rendering: optimizeLegibility;
}

.vt-article-title {
  font-size: clamp(34px, 5.2vw, 50px);
  line-height: 1.2;
  color: var(--vt-dark);
  margin-bottom: 20px;
}

.vt-article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--vt-border);
  font-size: 14px;
  color: var(--vt-text-muted);
}

.vt-author-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--vt-dark);
}

.vt-author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--vt-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* ==========================================================================
   Hero Gigante Cinematográfico (Single & Pages)
   ========================================================================== */
.vt-hero-gigante {
  position: relative;
  width: 100%;
  margin: 32px auto 44px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.22);
  background-color: var(--vt-dark);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.vt-hero-gigante img,
.vt-hero-gigante .vt-hero-img {
  width: 100%;
  height: auto;
  max-height: 560px;
  min-height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.vt-hero-gigante:hover img,
.vt-hero-gigante:hover .vt-hero-img {
  transform: scale(1.015);
}

.vt-featured-image {
  margin: 30px 0 40px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--vt-shadow);
}

.vt-featured-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ==========================================================================
   Galerías Mejoradas (Gutenberg, Core WP & Avia Shims)
   ========================================================================== */
.wp-block-gallery,
.gallery,
.vt-avia-gallery {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 22px !important;
  margin: 38px 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.wp-block-gallery .wp-block-image,
.gallery .gallery-item,
.vt-avia-gallery .gallery-item,
.vt-avia-masonry_gallery {
  position: relative !important;
  margin: 0 !important;
  width: 100% !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08) !important;
  background-color: var(--vt-dark-card) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease !important;
}

.wp-block-gallery .wp-block-image:hover,
.gallery .gallery-item:hover,
.vt-avia-gallery .gallery-item:hover {
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16) !important;
}

.wp-block-gallery .wp-block-image img,
.gallery .gallery-item img,
.vt-avia-gallery img {
  width: 100% !important;
  height: 260px !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.5s ease !important;
}

.wp-block-gallery .wp-block-image:hover img,
.gallery .gallery-item:hover img {
  transform: scale(1.05) !important;
}

.wp-block-gallery figcaption,
.gallery .gallery-caption,
.wp-element-caption {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.88) 100%) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 28px 16px 12px !important;
  text-align: left !important;
  line-height: 1.4 !important;
  pointer-events: none !important;
}

@media (max-width: 768px) {
  .vt-hero-gigante {
    border-radius: 14px;
    margin: 18px auto 28px;
  }
  .vt-hero-gigante img,
  .vt-hero-gigante .vt-hero-img {
    min-height: 240px;
    max-height: 320px;
  }
  .wp-block-gallery,
  .gallery,
  .vt-avia-gallery {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* Article Body Content */
.vt-article-body {
  font-size: 18px;
  line-height: 1.8;
  color: var(--vt-text);
}

.vt-article-body p {
  margin-bottom: 24px;
}

.vt-article-body p.lead {
  font-size: 20px;
  line-height: 1.7;
  color: #1e293b;
  font-weight: 500;
}

.vt-article-body h2 {
  font-size: clamp(24px, 3.2vw, 30px);
  font-weight: 800;
  color: var(--vt-dark);
  letter-spacing: -0.015em;
  margin-top: 48px;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--vt-border-light);
}

.vt-article-body h3 {
  font-size: clamp(19px, 2.5vw, 24px);
  font-weight: 700;
  color: #1e293b;
  margin-top: 36px;
  margin-bottom: 16px;
}

.vt-article-body ul, .vt-article-body ol {
  margin: 0 0 26px 24px;
  padding: 0;
}

.vt-article-body li {
  margin-bottom: 10px;
  line-height: 1.75;
}

.vt-article-body strong {
  color: #0f172a;
  font-weight: 700;
}

/* Styled Responsive Tables */
.vt-article-body table, table.pdf-table, .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 15px;
  background-color: var(--vt-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--vt-shadow-sm);
  border: 1px solid var(--vt-border);
}

.vt-article-body th, table.pdf-table th, .wp-block-table th {
  background-color: var(--vt-dark-card);
  color: #ffffff;
  padding: 14px 18px;
  font-weight: 600;
  text-align: left;
  letter-spacing: 0.02em;
}

.vt-article-body td, table.pdf-table td, .wp-block-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--vt-border);
  color: var(--vt-text);
  line-height: 1.6;
}

.vt-article-body tr:nth-child(even) td, table.pdf-table tr:nth-child(even) td {
  background-color: #f8fafc;
}

.vt-article-body tr:last-child td {
  border-bottom: none;
}

/* Callouts and Boxes */
.vt-callout {
  background-color: #ffffff;
  border-left: 4px solid var(--vt-primary);
  border-radius: 0 10px 10px 0;
  padding: 22px 26px;
  margin: 32px 0;
  box-shadow: var(--vt-shadow-sm);
  border-top: 1px solid var(--vt-border);
  border-right: 1px solid var(--vt-border);
  border-bottom: 1px solid var(--vt-border);
}

.vt-callout h3, .vt-callout h4 {
  margin-top: 0;
  color: var(--vt-dark);
}

/* AdSense Anti-CLS Container */
.superads-ad-container {
  min-height: 280px !important;
  margin: 40px auto !important;
  contain: layout paint;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  color: #94a3b8;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Human E-E-A-T Author Box */
.vt-author-box {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background-color: #ffffff;
  border: 1px solid var(--vt-border);
  border-radius: 12px;
  padding: 26px;
  margin: 50px 0 30px;
  box-shadow: var(--vt-shadow-sm);
}

.vt-author-box-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--vt-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.vt-author-box-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--vt-dark);
  margin-bottom: 6px;
}

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

/* Card Grid (Home & Archives) */
.vt-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin: 35px 0 50px;
}

.vt-card {
  background-color: #ffffff;
  border: 1px solid var(--vt-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--vt-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vt-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--vt-shadow-lg);
}

.vt-card-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.vt-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.vt-card-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 10px;
}

.vt-card-title a {
  color: var(--vt-dark);
}

.vt-card-title a:hover {
  color: var(--vt-primary);
}

.vt-card-excerpt {
  font-size: 14px;
  color: var(--vt-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.vt-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #94a3b8;
  padding-top: 14px;
  border-top: 1px solid var(--vt-border-light);
}

/* Footer Styling */
.vt-footer {
  background-color: var(--vt-dark);
  color: #94a3b8;
  padding: 60px 0 30px;
  margin-top: 80px;
  border-top: 4px solid var(--vt-primary);
}

.vt-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.vt-footer-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.vt-footer-menu {
  list-style: none;
}

.vt-footer-menu li {
  margin-bottom: 10px;
}

.vt-footer-menu a {
  color: #cbd5e1;
  font-size: 14px;
}

.vt-footer-menu a:hover {
  color: #ffffff;
}

.vt-footer-bottom {
  padding-top: 30px;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* Avia / Enfold Fallback Shims */
.vt-avia-section {
  padding: 40px 0;
  margin: 25px 0;
}

.vt-avia-col {
  margin-bottom: 20px;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .vt-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1081px) {
  .vt-mobile-toggle {
    display: none !important;
  }
  .vt-mega-nav {
    display: flex !important;
  }
}

@media (max-width: 1200px) and (min-width: 1081px) {
  .vt-mega-trigger {
    font-size: 12px;
    padding: 7px 6px;
    gap: 3px;
  }
  .vt-nav-cta-pulse {
    font-size: 12px !important;
    padding: 7px 10px !important;
  }
}

@media (max-width: 1080px) {
  .vt-mega-nav {
    display: none !important;
  }
  .vt-mobile-toggle {
    display: block !important;
  }
}

@media (max-width: 768px) {

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

  .vt-card-grid {
    grid-template-columns: 1fr;
  }

  .vt-article-body {
    font-size: 16px;
  }
}
