/**
 * VocesHispanas Premium - Main Stylesheet
 * 
 * A stunning premium theme design with modern aesthetics
 * 
 * @package VocesHispanas
 * @version 3.0.0
 */

/* ==========================================================================
   CSS Custom Properties (Premium Design Tokens)
   ========================================================================== */

:root {
    /* Premium Color Palette */
    --vh-primary: #e63946;
    --vh-primary-dark: #c1121f;
    --vh-primary-light: #ff6b6b;
    --vh-secondary: #2b2d42;
    --vh-accent: #f4a261;
    --vh-accent-alt: #e76f51;

    /* Neutrals */
    --vh-navy: #1d3557;
    --vh-dark: #0d1b2a;
    --vh-charcoal: #2a2a2a;
    --vh-gray-900: #1a1a2e;
    --vh-gray-800: #212529;
    --vh-gray-700: #495057;
    --vh-gray-600: #6c757d;
    --vh-gray-500: #8d99ae;
    --vh-gray-400: #adb5bd;
    --vh-gray-300: #ced4da;
    --vh-gray-200: #e9ecef;
    --vh-gray-100: #f8f9fa;
    --vh-white: #ffffff;

    /* Gradients */
    --vh-gradient-primary: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
    --vh-gradient-dark: linear-gradient(180deg, #1d3557 0%, #0d1b2a 100%);
    --vh-gradient-overlay: linear-gradient(180deg, transparent 0%, rgba(13, 27, 42, 0.95) 100%);
    --vh-gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    --vh-gradient-hero: linear-gradient(45deg, rgba(230, 57, 70, 0.9) 0%, rgba(29, 53, 87, 0.95) 100%);

    /* Glassmorphism */
    --vh-glass-bg: rgba(255, 255, 255, 0.85);
    --vh-glass-border: rgba(255, 255, 255, 0.2);
    --vh-glass-blur: blur(20px);
    --vh-dark-glass-bg: rgba(13, 27, 42, 0.85);
    --vh-dark-glass-border: rgba(255, 255, 255, 0.1);

    /* Typography */
    --vh-font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --vh-font-heading: 'Playfair Display', Georgia, serif;
    --vh-font-accent: 'Outfit', system-ui, sans-serif;

    /* Font Sizes (Fluid) */
    --vh-text-xs: clamp(0.625rem, 0.6rem + 0.1vw, 0.75rem);
    --vh-text-sm: clamp(0.75rem, 0.7rem + 0.2vw, 0.875rem);
    --vh-text-base: clamp(0.875rem, 0.8rem + 0.3vw, 1rem);
    --vh-text-lg: clamp(1rem, 0.9rem + 0.4vw, 1.125rem);
    --vh-text-xl: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
    --vh-text-2xl: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
    --vh-text-3xl: clamp(1.5rem, 1.2rem + 1vw, 2rem);
    --vh-text-4xl: clamp(1.875rem, 1.5rem + 1.5vw, 2.5rem);
    --vh-text-5xl: clamp(2.25rem, 1.8rem + 2vw, 3rem);
    --vh-text-6xl: clamp(2.75rem, 2rem + 3vw, 4rem);

    /* Spacing Scale */
    --vh-space-1: 0.25rem;
    --vh-space-2: 0.5rem;
    --vh-space-3: 0.75rem;
    --vh-space-4: 1rem;
    --vh-space-5: 1.25rem;
    --vh-space-6: 1.5rem;
    --vh-space-8: 2rem;
    --vh-space-10: 2.5rem;
    --vh-space-12: 3rem;
    --vh-space-16: 4rem;
    --vh-space-20: 5rem;
    --vh-space-24: 6rem;

    /* Layout */
    --vh-container-max: 1400px;
    --vh-container-wide: 1600px;
    --vh-sidebar-width: 340px;

    /* Borders */
    --vh-radius-sm: 4px;
    --vh-radius-md: 8px;
    --vh-radius-lg: 12px;
    --vh-radius-xl: 16px;
    --vh-radius-2xl: 24px;
    --vh-radius-full: 9999px;

    /* Shadows */
    --vh-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --vh-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --vh-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --vh-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --vh-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --vh-shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --vh-shadow-premium: 0 20px 60px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
    --vh-shadow-glow: 0 0 40px rgba(230, 57, 70, 0.3);

    /* Transitions */
    --vh-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --vh-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --vh-transition-fast: 150ms var(--vh-ease-out);
    --vh-transition-normal: 300ms var(--vh-ease-out);
    --vh-transition-slow: 500ms var(--vh-ease-out);
    --vh-transition-slower: 700ms var(--vh-ease-out);

    /* Z-Index Scale */
    --vh-z-base: 0;
    --vh-z-dropdown: 100;
    --vh-z-sticky: 200;
    --vh-z-overlay: 300;
    --vh-z-modal: 400;
    --vh-z-max: 999;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --vh-glass-bg: rgba(13, 27, 42, 0.85);
        --vh-glass-border: rgba(255, 255, 255, 0.1);
    }
}

/* ==========================================================================
   Base Reset & Typography
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--vh-font-primary);
    font-size: var(--vh-text-base);
    font-weight: 400;
    line-height: 1.7;
    color: var(--vh-gray-800);
    background-color: var(--vh-gray-100);
    overflow-x: hidden;
}

/* ==========================================================================
   Global Image Reset - Responsive Images
   ========================================================================== */

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-style: none;
}

/* Ensure WordPress images are always responsive */
.wp-post-image,
.attachment-post-thumbnail,
.attachment-medium_large,
.attachment-full,
figure img,
article img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* Fix images inside links */
a img {
    border: 0;
}

/* Selection */
::selection {
    background: var(--vh-primary);
    color: var(--vh-white);
}

/* ==========================================================================
   Typography System
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--vh-font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--vh-dark);
    margin-top: 0;
    letter-spacing: -0.02em;
}

h1 {
    font-size: var(--vh-text-5xl);
}

h2 {
    font-size: var(--vh-text-4xl);
}

h3 {
    font-size: var(--vh-text-3xl);
}

h4 {
    font-size: var(--vh-text-2xl);
}

h5 {
    font-size: var(--vh-text-xl);
}

h6 {
    font-size: var(--vh-text-lg);
}

p {
    margin-bottom: var(--vh-space-4);
}

.vh-heading {
    font-family: var(--vh-font-heading);
}

a {
    color: var(--vh-primary);
    text-decoration: none;
    transition: color var(--vh-transition-fast);
}

a:hover {
    color: var(--vh-primary-dark);
}

/* Text Utilities */
.text-gradient {
    background: var(--vh-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Layout System
   ========================================================================== */

.vh-container {
    width: 100%;
    max-width: var(--vh-container-max);
    margin: 0 auto;
    padding: 0 var(--vh-space-6);
}

.vh-container-wide {
    max-width: var(--vh-container-wide);
}

.vh-main-container {
    width: 100%;
    max-width: var(--vh-container-max);
    margin: 0 auto;
    padding: var(--vh-space-12) var(--vh-space-6);
}

/* Grid Layout */
.vh-grid-layout {
    display: grid;
    grid-template-columns: 1fr var(--vh-sidebar-width);
    gap: var(--vh-space-10);
    align-items: start;
}

.vh-main-content {
    min-width: 0;
}

.vh-sidebar {
    position: sticky;
    top: calc(var(--vh-space-8) + 70px);
}

@media (max-width: 1024px) {
    .vh-grid-layout {
        grid-template-columns: 1fr;
    }

    .vh-sidebar {
        position: static;
    }
}

/* ==========================================================================
   Premium Top Bar
   ========================================================================== */

.vh-top-bar {
    background: var(--vh-gradient-dark);
    color: var(--vh-white);
    padding: var(--vh-space-2) 0;
    font-size: var(--vh-text-xs);
    position: relative;
    z-index: var(--vh-z-sticky);
}

.vh-top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--vh-gradient-primary);
}

.vh-top-bar .vh-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: var(--vh-space-4);
}

.current-date {
    display: inline-flex;
    align-items: center;
    gap: var(--vh-space-2);
    color: var(--vh-gray-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.current-date svg {
    opacity: 0.7;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: var(--vh-space-6);
}

.top-bar-social {
    display: flex;
    gap: var(--vh-space-3);
}

.top-bar-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--vh-gray-400);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--vh-radius-full);
    transition: all var(--vh-transition-fast);
}

.top-bar-social a:hover {
    color: var(--vh-white);
    background: var(--vh-primary);
    transform: translateY(-2px);
}

.top-menu {
    display: flex;
    list-style: none;
    gap: var(--vh-space-4);
}

.top-menu li a {
    color: var(--vh-gray-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--vh-transition-fast);
}

.top-menu li a:hover {
    color: var(--vh-white);
}

/* ==========================================================================
   Premium Header
   ========================================================================== */

.site-header {
    background: var(--vh-glass-bg);
    backdrop-filter: var(--vh-glass-blur);
    -webkit-backdrop-filter: var(--vh-glass-blur);
    border-bottom: 1px solid var(--vh-glass-border);
    position: sticky;
    top: 0;
    z-index: var(--vh-z-sticky);
    transition: all var(--vh-transition-normal);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--vh-shadow-lg);
}

.site-header .vh-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
}

/* Logo/Branding */
.site-branding {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: var(--vh-space-4);
}

.site-branding .custom-logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.custom-logo {
    max-height: 50px;
    width: auto;
    transition: transform var(--vh-transition-fast);
}

.site-branding .custom-logo-link:hover .custom-logo {
    transform: scale(1.05);
}

.site-title-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    /* Permite que el texto se trunque si es necesario */
}

.site-title {
    font-family: var(--vh-font-heading);
    font-size: var(--vh-text-2xl);
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.site-title a {
    color: var(--vh-site-title-color, var(--vh-dark));
    text-decoration: none;
    transition: opacity var(--vh-transition-fast);
}

.site-title a:hover {
    opacity: 0.8;
    color: var(--vh-site-title-color, var(--vh-dark));
}

.site-description {
    font-size: var(--vh-text-xs);
    color: var(--vh-site-description-color, var(--vh-gray-600));
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px;
}

/* Responsive: Ocultar descripción en tablets pequeñas */
@media (max-width: 1024px) {
    .site-description {
        max-width: 200px;
        font-size: 10px;
    }
}

/* Responsive: Ocultar descripción en móviles */
@media (max-width: 768px) {
    .site-description {
        display: none;
    }

    .site-title {
        font-size: var(--vh-text-lg);
    }

    .site-branding {
        max-width: 60%;
    }
}

/* Main Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: var(--vh-space-6);
}

.primary-menu {
    display: flex;
    list-style: none;
    gap: var(--vh-space-1);
    margin: 0;
    padding: 0;
}

.primary-menu>li {
    position: relative;
}

.primary-menu>li>a {
    display: flex;
    align-items: center;
    gap: var(--vh-space-1);
    padding: var(--vh-space-3) var(--vh-space-4);
    color: var(--vh-gray-800);
    font-family: var(--vh-font-accent);
    font-size: var(--vh-text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    position: relative;
    transition: all var(--vh-transition-fast);
}

.primary-menu>li>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--vh-gradient-primary);
    border-radius: var(--vh-radius-full);
    transform: translateX(-50%);
    transition: width var(--vh-transition-fast);
}

.primary-menu>li:hover>a,
.primary-menu>li.current-menu-item>a {
    color: var(--vh-primary);
}

.primary-menu>li:hover>a::after,
.primary-menu>li.current-menu-item>a::after {
    width: 100%;
}

/* Dropdown Menus */
.primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--vh-white);
    border-radius: var(--vh-radius-lg);
    box-shadow: var(--vh-shadow-xl);
    border: 1px solid var(--vh-gray-200);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--vh-transition-fast);
    list-style: none;
    padding: var(--vh-space-2);
    z-index: var(--vh-z-dropdown);
}

.primary-menu li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu .sub-menu li a {
    display: block;
    padding: var(--vh-space-3) var(--vh-space-4);
    color: var(--vh-gray-700);
    font-size: var(--vh-text-sm);
    font-weight: 500;
    border-radius: var(--vh-radius-md);
    transition: all var(--vh-transition-fast);
}

.primary-menu .sub-menu li a:hover {
    background: var(--vh-gray-100);
    color: var(--vh-primary);
    padding-left: var(--vh-space-5);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--vh-space-3);
}

.search-toggle,
.cart-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--vh-gray-700);
    background: var(--vh-gray-100);
    border: none;
    border-radius: var(--vh-radius-full);
    cursor: pointer;
    transition: all var(--vh-transition-fast);
}

.search-toggle:hover,
.cart-link:hover {
    background: var(--vh-primary);
    color: var(--vh-white);
    transform: scale(1.05);
}

.cart-link {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vh-primary);
    color: var(--vh-white);
    font-size: 10px;
    font-weight: 700;
    border-radius: var(--vh-radius-full);
    border: 2px solid var(--vh-white);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--vh-gray-800);
    position: relative;
    transition: background var(--vh-transition-fast);
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--vh-gray-800);
    transition: transform var(--vh-transition-fast);
}

.hamburger-icon::before {
    top: -8px;
}

.hamburger-icon::after {
    bottom: -8px;
}

/* Header Responsive */
@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }

    .primary-menu {
        display: none;
    }

    .site-header .vh-container {
        min-height: 60px;
        padding: 0 var(--vh-space-4);
    }

    .header-actions {
        gap: var(--vh-space-2);
    }

    .search-toggle,
    .cart-link {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 640px) {
    .site-header .vh-container {
        min-height: 56px;
    }

    .site-branding {
        flex: 1;
        min-width: 0;
        max-width: calc(100% - 100px);
        /* Deja espacio para botones */
    }

    .site-title {
        font-size: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .custom-logo {
        max-height: 35px;
    }

    .header-actions {
        flex-shrink: 0;
    }

    .search-toggle,
    .cart-link {
        width: 36px;
        height: 36px;
    }

    .menu-toggle {
        width: 36px;
        height: 36px;
    }
}

/* ==========================================================================
   Search Modal
   ========================================================================== */

.search-modal {
    position: fixed;
    inset: 0;
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: var(--vh-z-modal);
    transition: all var(--vh-transition-normal);
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-content {
    width: 100%;
    max-width: 700px;
    padding: var(--vh-space-8);
    text-align: center;
    transform: translateY(30px);
    transition: transform var(--vh-transition-normal);
}

.search-modal.active .search-modal-content {
    transform: translateY(0);
}

.search-close {
    position: absolute;
    top: var(--vh-space-8);
    right: var(--vh-space-8);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: var(--vh-radius-full);
    color: var(--vh-white);
    cursor: pointer;
    transition: all var(--vh-transition-fast);
}

.search-close:hover {
    background: var(--vh-primary);
    transform: rotate(90deg);
}

.search-modal-title {
    color: var(--vh-white);
    font-size: var(--vh-text-3xl);
    margin-bottom: var(--vh-space-8);
}

.search-modal .search-form {
    display: flex;
    gap: 0;
    max-width: 600px;
    margin: 0 auto;
}

.search-modal .search-field {
    flex: 1;
    padding: var(--vh-space-5) var(--vh-space-6);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-right: none;
    border-radius: var(--vh-radius-lg) 0 0 var(--vh-radius-lg);
    color: var(--vh-white);
    font-size: var(--vh-text-lg);
    font-family: var(--vh-font-primary);
    transition: all var(--vh-transition-fast);
}

.search-modal .search-field::placeholder {
    color: var(--vh-gray-500);
}

.search-modal .search-field:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--vh-primary);
}

.search-modal .search-submit {
    padding: var(--vh-space-5) var(--vh-space-8);
    background: var(--vh-gradient-primary);
    border: none;
    border-radius: 0 var(--vh-radius-lg) var(--vh-radius-lg) 0;
    color: var(--vh-white);
    font-size: var(--vh-text-base);
    font-weight: 600;
    font-family: var(--vh-font-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--vh-transition-fast);
}

.search-modal .search-submit:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}

/* ==========================================================================
   Premium Trending Ticker
   ========================================================================== */

.voceshispanas-ticker {
    background: var(--vh-white);
    border-bottom: 1px solid var(--vh-gray-200);
    display: flex;
    align-items: center;
    height: 50px;
    overflow: hidden;
}

.ticker-label {
    background: var(--vh-gradient-primary);
    color: var(--vh-white);
    padding: 0 var(--vh-space-6);
    font-size: var(--vh-text-xs);
    font-weight: 700;
    font-family: var(--vh-font-accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: var(--vh-space-2);
    height: 100%;
    white-space: nowrap;
    position: relative;
}

.ticker-label::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    bottom: 0;
    width: 20px;
    background: inherit;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    padding-left: var(--vh-space-4);
}

.ticker-scroll {
    display: inline-flex;
    gap: var(--vh-space-10);
    animation: ticker-scroll 40s linear infinite;
    white-space: nowrap;
}

.ticker-scroll:hover {
    animation-play-state: paused;
}

.ticker-scroll a {
    display: inline-flex;
    align-items: center;
    gap: var(--vh-space-3);
    color: var(--vh-gray-700);
    font-size: var(--vh-text-sm);
    font-weight: 500;
    transition: color var(--vh-transition-fast);
}

.ticker-scroll a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--vh-primary);
    border-radius: var(--vh-radius-full);
    flex-shrink: 0;
}

.ticker-scroll a:hover {
    color: var(--vh-primary);
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   Premium Section Headers
   ========================================================================== */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--vh-space-8);
    padding-bottom: var(--vh-space-4);
    border-bottom: 2px solid var(--vh-gray-200);
    position: relative;
}

.section-title {
    font-family: var(--vh-font-accent);
    font-size: var(--vh-text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    padding-left: var(--vh-space-5);
    color: var(--vh-dark);
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    min-height: 24px;
    background: var(--vh-gradient-primary);
    border-radius: var(--vh-radius-full);
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: var(--vh-space-2);
    padding: var(--vh-space-2) var(--vh-space-4);
    background: var(--vh-gray-100);
    color: var(--vh-gray-700);
    font-size: var(--vh-text-xs);
    font-weight: 600;
    font-family: var(--vh-font-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--vh-radius-full);
    transition: all var(--vh-transition-fast);
}

.view-all-link svg {
    transition: transform var(--vh-transition-fast);
}

.view-all-link:hover {
    background: var(--vh-primary);
    color: var(--vh-white);
}

.view-all-link:hover svg {
    transform: translateX(4px);
}

/* ==========================================================================
   Premium Cards
   ========================================================================== */

.vh-card {
    background: var(--vh-white);
    border-radius: var(--vh-radius-lg);
    overflow: hidden;
    transition: all var(--vh-transition-normal);
    box-shadow: var(--vh-shadow-sm);
}

.vh-card:hover {
    box-shadow: var(--vh-shadow-premium);
    transform: translateY(-8px);
}

.vh-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.vh-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--vh-transition-slow);
}

.vh-card:hover .vh-card-image img {
    transform: scale(1.08);
}

.vh-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--vh-transition-normal);
}

.vh-card:hover .vh-card-overlay {
    opacity: 1;
}

.vh-card-category {
    position: absolute;
    top: var(--vh-space-4);
    left: var(--vh-space-4);
    z-index: 2;
}

.vh-card-category a {
    display: inline-block;
    padding: var(--vh-space-1) var(--vh-space-3);
    background: var(--vh-primary);
    color: var(--vh-white);
    font-size: var(--vh-text-xs);
    font-weight: 700;
    font-family: var(--vh-font-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--vh-radius-sm);
    transition: all var(--vh-transition-fast);
}

.vh-card-category a:hover {
    background: var(--vh-primary-dark);
    transform: translateY(-2px);
}

.vh-card-content {
    padding: var(--vh-space-5);
}

.vh-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--vh-space-3);
    margin-bottom: var(--vh-space-3);
    font-size: var(--vh-text-xs);
    color: var(--vh-gray-500);
}

.vh-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: var(--vh-space-1);
}

.vh-card-title {
    font-size: var(--vh-text-lg);
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 var(--vh-space-3);
}

.vh-card-title a {
    color: var(--vh-dark);
    transition: color var(--vh-transition-fast);
}

.vh-card-title a:hover {
    color: var(--vh-primary);
}

.vh-card-excerpt {
    font-size: var(--vh-text-sm);
    color: var(--vh-gray-600);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Posts Grid
   ========================================================================== */

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--vh-space-8);
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--vh-space-2);
    margin-top: var(--vh-space-12);
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 var(--vh-space-4);
    background: var(--vh-white);
    color: var(--vh-gray-700);
    font-size: var(--vh-text-sm);
    font-weight: 600;
    border-radius: var(--vh-radius-md);
    box-shadow: var(--vh-shadow-sm);
    transition: all var(--vh-transition-fast);
}

.page-numbers:hover {
    background: var(--vh-gray-100);
    color: var(--vh-primary);
    transform: translateY(-2px);
}

.page-numbers.current {
    background: var(--vh-gradient-primary);
    color: var(--vh-white);
    box-shadow: var(--vh-shadow-md), var(--vh-shadow-glow);
}

/* ==========================================================================
   Premium Widgets
   ========================================================================== */

.widget {
    background: var(--vh-white);
    border-radius: var(--vh-radius-lg);
    padding: var(--vh-space-6);
    margin-bottom: var(--vh-space-6);
    box-shadow: var(--vh-shadow-sm);
}

.widget-title {
    font-family: var(--vh-font-accent);
    font-size: var(--vh-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--vh-dark);
    padding-bottom: var(--vh-space-3);
    margin-bottom: var(--vh-space-5);
    border-bottom: 2px solid var(--vh-gray-200);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--vh-gradient-primary);
}

/* Popular Posts Widget */
.voceshispanas-popular-posts {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: popular-posts;
}

.popular-post-item {
    display: flex;
    gap: var(--vh-space-4);
    padding: var(--vh-space-4) 0;
    border-bottom: 1px solid var(--vh-gray-200);
    counter-increment: popular-posts;
    position: relative;
}

.popular-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-post-item::before {
    content: counter(popular-posts, decimal-leading-zero);
    font-family: var(--vh-font-heading);
    font-size: var(--vh-text-3xl);
    font-weight: 700;
    color: var(--vh-gray-200);
    line-height: 1;
    transition: color var(--vh-transition-fast);
}

.popular-post-item:hover::before {
    color: var(--vh-primary);
}

.popular-post-content {
    flex: 1;
}

.popular-post-item .post-title {
    font-size: var(--vh-text-sm);
    font-weight: 600;
    color: var(--vh-dark);
    display: block;
    line-height: 1.4;
    margin-bottom: var(--vh-space-1);
    transition: color var(--vh-transition-fast);
}

.popular-post-item .post-title:hover {
    color: var(--vh-primary);
}

.popular-post-item .post-date {
    font-size: var(--vh-text-xs);
    color: var(--vh-gray-500);
}

/* Social Icons Widget */
.voceshispanas-social-icons {
    display: flex;
    gap: var(--vh-space-3);
    flex-wrap: wrap;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vh-gray-100);
    color: var(--vh-gray-700);
    border-radius: var(--vh-radius-lg);
    transition: all var(--vh-transition-fast);
}

.social-icon:hover {
    background: var(--vh-primary);
    color: var(--vh-white);
    transform: translateY(-4px) rotate(-5deg);
    box-shadow: var(--vh-shadow-md), var(--vh-shadow-glow);
}

/* ==========================================================================
   Premium Breadcrumbs
   ========================================================================== */

.voceshispanas-breadcrumbs {
    font-size: var(--vh-text-xs);
    padding: var(--vh-space-4) 0;
    color: var(--vh-gray-500);
    font-weight: 500;
}

.voceshispanas-breadcrumbs a {
    color: var(--vh-gray-500);
    transition: color var(--vh-transition-fast);
}

.voceshispanas-breadcrumbs a:hover {
    color: var(--vh-primary);
}

.breadcrumb-separator {
    margin: 0 var(--vh-space-2);
    opacity: 0.5;
}

.voceshispanas-breadcrumbs .current {
    color: var(--vh-dark);
    font-weight: 600;
}

/* ==========================================================================
   Accessibility & Utilities
   ========================================================================== */

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--vh-space-3) var(--vh-space-6);
    background: var(--vh-primary);
    color: var(--vh-white);
    font-weight: 600;
    border-radius: 0 0 var(--vh-radius-md) var(--vh-radius-md);
    z-index: var(--vh-z-max);
    transition: top var(--vh-transition-fast);
}

.skip-link:focus {
    top: 0;
    color: var(--vh-white);
}

/* Focus Styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--vh-primary);
    outline-offset: 2px;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1200px) {

    .vh-container,
    .vh-main-container {
        padding: 0 var(--vh-space-5);
    }
}

@media (max-width: 768px) {
    :root {
        --vh-space-8: 1.5rem;
        --vh-space-10: 2rem;
        --vh-space-12: 2.5rem;
    }

    .vh-top-bar {
        display: none;
    }

    .site-header .vh-container {
        min-height: 64px;
    }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: var(--vh-space-6);
    }
}

/* ==========================================================================
   Animation Utilities
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.animate-fade-in-up {
    animation: fadeInUp var(--vh-transition-normal) forwards;
}

/* ==========================================================================
   Smooth Page Transitions
   ========================================================================== */

.site {
    animation: fadeInUp 0.5s ease-out;
}