/**
 * Custom Styles for Exa.tv Theme
 * Estilos adicionales con namespace para evitar conflictos con Bootstrap y Elementor
 */

/* ========================================
   Variables CSS personalizadas
======================================== */
:root {
    --exatv-primary: #242131;
    --exatv-secondary: #ffa600;
    --exatv-accent: #5e1eff;
    --exatv-success: #198754;
    --exatv-info: #0dcaf0;
    --exatv-warning: #ffc107;
    --exatv-danger: #dc3545;
    --exatv-light: #f8f9fa;
    --exatv-dark: #242131;
    --exatv-font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --exatv-heading-font: 'Termina', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --exatv-transition: all 0.3s ease;
}

/* ========================================
   Header & Navbar - Nuevo Diseño
======================================== */
.exatv-navbar {
    background: linear-gradient(135deg, var(--exatv-primary) 0%, #1a1825 100%);
    border-bottom: 2px solid var(--exatv-secondary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Bordes redondeados y sombra siempre visibles */
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 
                0 2px 6px rgba(255, 166, 0, 0.08);
    margin: 0 0.5rem;
}

/* Header con efecto al hacer scroll - solo se reduce el padding */
.exatv-navbar.scrolled {
    padding: 0.5rem 0;
}

.exatv-navbar .container-fluid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.exatv-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0 2rem;
}

/* Logo */
.exatv-logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.exatv-logo {
    height: 45px;
    width: auto;
    transition: opacity 0.3s ease;
}

.exatv-logo:hover {
    opacity: 0.8;
}

/* Navigation Right Side */
.exatv-nav-center {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-left: auto;
}

.exatv-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
    align-items: center;
}

.exatv-nav-menu .nav-item {
    position: relative;
}

.exatv-nav-menu .nav-link {
    font-family: var(--exatv-heading-font);
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    display: block;
}

.exatv-nav-menu .nav-link:hover,
.exatv-nav-menu .nav-link.active {
    color: var(--exatv-secondary);
}

/* Right Section */
.exatv-nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Search Form - Nuevo diseño con SVG */
.exatv-search {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.exatv-search__input {
    font-family: inherit;
    font-size: 0.95rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.75rem 3.5rem 0.75rem 1.25rem;
    border-radius: 30px;
    width: 18em;
    transition: all ease-in-out .4s;
}

.exatv-search__input:hover {
    box-shadow: 0 0 1em rgba(255, 166, 0, 0.2);
    border-color: rgba(255, 166, 0, 0.4);
}

.exatv-search__input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--exatv-secondary);
    box-shadow: 0 0 1em rgba(255, 166, 0, 0.3);
}

.exatv-search__input::placeholder,
.exatv-search__input::-webkit-input-placeholder {
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
}

.exatv-search__button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background-color: transparent;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.exatv-search__button:hover {
    background-color: rgba(255, 166, 0, 0.15);
}

.exatv-search__icon {
    height: 1.3em;
    width: 1.3em;
    fill: rgba(255, 255, 255, 0.8);
    transition: fill 0.3s ease;
}

.exatv-search__button:hover .exatv-search__icon {
    fill: var(--exatv-secondary);
}

/* Dark Mode Switch */
.dark-mode-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    flex-shrink: 0;
}

/* Hide default HTML checkbox */
.dark-mode-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.dark-mode-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--exatv-primary);
    transition: .5s;
    border-radius: 30px;
}

.dark-mode-switch .slider:before {
    position: absolute;
    content: "";
    height: 1.4em;
    width: 1.4em;
    border-radius: 50%;
    left: 10%;
    bottom: 15%;
    box-shadow: inset 8px -4px 0px 0px var(--exatv-secondary);
    background: var(--exatv-primary);
    transition: .5s;
}

.dark-mode-switch input:checked + .slider {
    background-color: #1a1825;
}

.dark-mode-switch input:checked + .slider:before {
    transform: translateX(100%);
    box-shadow: inset 15px -4px 0px 15px var(--exatv-secondary);
}

/* Bootstrap Navbar Toggler - Custom styling */
.navbar-toggler {
    padding: 0.5rem 0.75rem;
    font-size: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
    background-color: rgba(255, 166, 0, 0.2);
    border-color: var(--exatv-secondary);
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown Menus */
.exatv-nav-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    min-width: 200px;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.exatv-nav-menu .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.exatv-nav-menu .dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--exatv-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.exatv-nav-menu .dropdown-item:hover {
    background-color: rgba(255, 166, 0, 0.1);
    color: var(--exatv-secondary);
    padding-left: 2rem;
}

/* ========================================
   Mobile Off-Canvas Menu - Bootstrap Native
======================================== */
.exatv-offcanvas {
    max-width: 320px;
    background: linear-gradient(180deg, var(--exatv-primary) 0%, #1a1825 100%);
}

.exatv-offcanvas .offcanvas-header {
    background-color: transparent;
    border-color: rgba(255, 166, 0, 0.3) !important;
}

.exatv-offcanvas .offcanvas-header img {
    height: 40px;
}

.exatv-offcanvas .offcanvas-body {
    background-color: transparent;
}

/* Búsqueda en mobile offcanvas */
.exatv-offcanvas .exatv-search {
    width: 100%;
}

.exatv-offcanvas .exatv-search__input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.exatv-offcanvas .exatv-search__input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.exatv-offcanvas .exatv-search__input:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--exatv-secondary);
}

.exatv-offcanvas .exatv-search__icon {
    fill: rgba(255, 255, 255, 0.8);
}

.exatv-offcanvas .exatv-search__button:hover .exatv-search__icon {
    fill: var(--exatv-secondary);
}

/* Navegación mobile - usar clases Bootstrap nativas */
.exatv-offcanvas .nav {
    padding: 0;
}

.exatv-offcanvas .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.exatv-offcanvas .nav-link {
    color: #ffffff;
    font-family: var(--exatv-heading-font);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.exatv-offcanvas .nav-link:hover,
.exatv-offcanvas .nav-link:focus,
.exatv-offcanvas .nav-link.active {
    color: var(--exatv-secondary);
    background-color: rgba(255, 166, 0, 0.1);
}

/* Dropdown en mobile */
.exatv-offcanvas .dropdown-menu {
    background-color: rgba(0, 0, 0, 0.2);
    border: none;
    padding: 0.5rem 0;
    margin: 0;
    position: static;
    box-shadow: none;
}

.exatv-offcanvas .dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
}

.exatv-offcanvas .dropdown-item:hover,
.exatv-offcanvas .dropdown-item:focus {
    background-color: rgba(255, 166, 0, 0.15);
    color: var(--exatv-secondary);
}

/* ========================================
   Tipografía Base
======================================== */
body {
    font-family: var(--exatv-font-family);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.widget-title,
.entry-title,
.page-title,
.post-title,
.exatv-post-title,
.exatv-page-title {
    font-family: var(--exatv-heading-font);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.offcanvas-header {
    background: linear-gradient(135deg, var(--exatv-primary) 0%, #1a1825 100%);
    padding: 1.5rem;
    border-bottom: 3px solid var(--exatv-secondary);
}

.offcanvas-header img {
    height: 40px;
}

.offcanvas-header .btn-close {
    filter: invert(1);
    opacity: 1;
}

.offcanvas-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu .nav-item {
    margin-bottom: 0.5rem;
}

.mobile-nav-menu .nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--exatv-primary);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: var(--exatv-transition);
    font-family: var(--exatv-heading-font);
    font-weight: 600;
    font-size: 1rem;
}

.mobile-nav-menu .nav-link:hover,
.mobile-nav-menu .nav-link.active {
    background-color: rgba(255, 166, 0, 0.1);
    color: var(--exatv-secondary);
    padding-left: 1.5rem;
}

.mobile-nav-menu .nav-link i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.mobile-nav-menu .dropdown-menu {
    position: static;
    float: none;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
    background: transparent;
}

.mobile-nav-menu .dropdown-item {
    padding: 0.5rem 1rem;
    color: var(--exatv-dark);
    border-left: 2px solid var(--exatv-secondary);
    margin-bottom: 0.25rem;
}

.mobile-menu-footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
}

.mobile-menu-footer .btn {
    font-family: var(--exatv-heading-font);
    font-weight: 600;
}

/* Off-canvas toggle button */
.offcanvas-toggle {
    font-size: 1.5rem;
}

/* ========================================
   Dark Mode Styles
======================================== */
body.dark-mode {
    background-color: #1a1825;
    color: #d1d1d1;
}

/* Headings en Dark Mode - Colores Claros */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode .h1,
body.dark-mode .h2,
body.dark-mode .h3,
body.dark-mode .h4,
body.dark-mode .h5,
body.dark-mode .h6,
body.dark-mode .display-1,
body.dark-mode .display-2,
body.dark-mode .display-3,
body.dark-mode .display-4,
body.dark-mode .display-5,
body.dark-mode .display-6,
body.dark-mode .entry-title,
body.dark-mode .page-title,
body.dark-mode .post-title,
body.dark-mode .exatv-post-title,
body.dark-mode .exatv-page-title,
body.dark-mode .widget-title {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Contenido con mejor contraste */
body.dark-mode p,
body.dark-mode .entry-content,
body.dark-mode .post-content,
body.dark-mode .page-content,
body.dark-mode article {
    color: #e8e8e8;
}

/* Links en dark mode */
body.dark-mode a {
    color: var(--exatv-secondary);
}

body.dark-mode a:hover {
    color: #ffb733;
}

/* Navbar en Dark Mode */
body.dark-mode .navbar {
    background-color: var(--exatv-primary);
    border-bottom-color: var(--exatv-secondary);
}

body.dark-mode .navbar-nav .nav-link {
    color: #f5f5f5;
}

body.dark-mode .navbar-nav .nav-link:hover {
    color: var(--exatv-secondary) !important;
}

body.dark-mode .navbar-actions .btn-link {
    color: #f5f5f5;
}

/* Cards y Widgets en Dark Mode */
body.dark-mode .widget,
body.dark-mode .card,
body.dark-mode .exatv-card {
    background-color: #2a2738;
    color: #e8e8e8;
    border: 1px solid rgba(255, 166, 0, 0.1);
}

body.dark-mode .widget a,
body.dark-mode .card a {
    color: #ffa600;
}

body.dark-mode .widget a:hover,
body.dark-mode .card a:hover {
    color: #ffb733;
}

/* Post Meta en Dark Mode */
body.dark-mode .entry-meta,
body.dark-mode .exatv-post-meta {
    color: #b8b8b8;
}

/* Borders y separadores */
body.dark-mode .border-bottom,
body.dark-mode hr {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Footer en Dark Mode */
body.dark-mode .site-footer {
    background: linear-gradient(135deg, #0f0d15 0%, #1a1825 100%);
    color: #e8e8e8;
}

body.dark-mode .site-footer .widget-title {
    color: #ffffff;
}

/* Off-canvas en Dark Mode */
body.dark-mode .offcanvas {
    background-color: #2a2738;
    border-left: 3px solid var(--exatv-secondary);
}

body.dark-mode .offcanvas-body {
    color: #e8e8e8;
}

body.dark-mode .mobile-nav-menu .nav-link {
    color: #f5f5f5;
}

/* Inputs y Forms en Dark Mode */
body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
    background-color: #2a2738;
    color: #e8e8e8;
    border-color: rgba(255, 166, 0, 0.3);
}

body.dark-mode input:focus,
body.dark-mode textarea:focus,
body.dark-mode select:focus {
    background-color: #333147;
    border-color: var(--exatv-secondary);
    color: #ffffff;
}

/* Botones en Dark Mode */
body.dark-mode .btn-primary {
    background-color: var(--exatv-secondary);
    border-color: var(--exatv-secondary);
    color: var(--exatv-primary);
}

body.dark-mode .btn-primary:hover {
    background-color: #ffb733;
    border-color: #ffb733;
}

body.dark-mode .btn-outline-primary {
    color: var(--exatv-secondary);
    border-color: var(--exatv-secondary);
}

body.dark-mode .btn-outline-primary:hover {
    background-color: var(--exatv-secondary);
    color: var(--exatv-primary);
}

/* Tablas en Dark Mode */
body.dark-mode table {
    color: #e8e8e8;
}

body.dark-mode table thead {
    background-color: #333147;
}

body.dark-mode table tbody tr {
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode table tbody tr:hover {
    background-color: rgba(255, 166, 0, 0.05);
}

/* ========================================
   Top Bar
======================================== */
.top-bar {
    font-size: 0.875rem;
    background-color: var(--exatv-dark) !important;
}

.top-bar a {
    transition: var(--exatv-transition);
}

.top-bar a:hover {
    opacity: 0.8;
}

/* ========================================
   Footer - Nuevo Diseño Minimalista
======================================== */
.exatv-footer {
    background: var(--exatv-primary);
    border-top: 1px solid rgba(255, 166, 0, 0.2);
}

.exatv-footer-main {
    padding: 3rem 0 2.5rem;
}

/* Brand Section */
.exatv-footer-brand {
    padding-right: 2rem;
}

.exatv-footer-logo img {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
}

.exatv-footer-slogan {
    font-size: 0.95rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* Footer Titles */
.exatv-footer-title {
    font-family: var(--exatv-heading-font);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* Footer Menu */
.exatv-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.exatv-footer-menu li {
    margin-bottom: 0.75rem;
}

.exatv-footer-menu a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.exatv-footer-menu a:hover {
    color: var(--exatv-secondary);
}

/* Social Links */
.exatv-social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.exatv-social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.exatv-social-link svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

.exatv-social-link:hover {
    background-color: var(--exatv-secondary);
    color: var(--exatv-primary);
    transform: translateY(-3px);
}

/* Footer Bottom */
.exatv-footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 166, 0, 0.2);
    padding: 1.5rem 0;
}

.exatv-footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.exatv-footer-legal {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

.exatv-footer-legal:hover {
    color: var(--exatv-secondary);
}

/* Dark Mode Footer */
body.dark-mode .exatv-footer {
    background: linear-gradient(180deg, #1a1825 0%, #0f0d15 100%);
    border-top-color: rgba(255, 166, 0, 0.1);
}

body.dark-mode .exatv-footer-title {
    color: #ffffff;
}

body.dark-mode .exatv-footer-slogan,
body.dark-mode .exatv-footer-menu a {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .exatv-footer-menu a:hover {
    color: var(--exatv-secondary);
}

body.dark-mode .exatv-footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    border-top-color: rgba(255, 166, 0, 0.1);
}

body.dark-mode .exatv-footer-bottom p,
body.dark-mode .exatv-footer-legal {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .exatv-footer-legal:hover {
    color: var(--exatv-secondary);
}

body.dark-mode .exatv-social-link {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

body.dark-mode .exatv-social-link:hover {
    background-color: var(--exatv-secondary);
    color: var(--exatv-primary);
}

/* ========================================
   Posts y Páginas
======================================== */
.exatv-theme .entry-title a,
.exatv-theme .post-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--exatv-transition);
}

.exatv-theme .entry-title a:hover,
.exatv-theme .post-title a:hover {
    color: var(--exatv-secondary);
}

.post-thumbnail {
    overflow: hidden;
    border-radius: 0.5rem;
}

.post-thumbnail img {
    transition: transform 0.5s ease;
}

.post-thumbnail:hover img {
    transform: scale(1.05);
}

/* Metadatos del post */
.entry-meta,
.exatv-post-meta {
    font-size: 0.875rem;
}

.entry-meta a,
.exatv-post-meta a {
    color: inherit;
    text-decoration: none;
    transition: var(--exatv-transition);
}

.entry-meta a:hover,
.exatv-post-meta a:hover {
    color: var(--exatv-secondary);
}

/* ========================================
   Paginación
======================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    color: var(--exatv-primary);
    text-decoration: none;
    transition: var(--exatv-transition);
    font-family: var(--exatv-heading-font);
    font-weight: 600;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background-color: var(--exatv-secondary);
    color: var(--exatv-primary);
    border-color: var(--exatv-secondary);
}

/* ========================================
   Sidebar y Widgets
======================================== */
.widget {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--exatv-light);
}

.widget ul {
    list-style: none;
    padding-left: 0;
}

.widget ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--exatv-light);
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget a {
    color: var(--exatv-dark);
    text-decoration: none;
    transition: var(--exatv-transition);
}

.widget a:hover {
    color: var(--exatv-secondary);
    padding-left: 5px;
}

/* ========================================
   Comentarios
======================================== */
.comment-list {
    list-style: none;
    padding-left: 0;
}

.comment-respond {
    background-color: var(--exatv-light);
    padding: 2rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: var(--exatv-transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--exatv-secondary);
    box-shadow: 0 0 0 0.25rem rgba(255, 166, 0, 0.25);
}

/* ========================================
   Compatibilidad con Elementor
======================================== */

/* Evitar que los estilos de Bootstrap afecten a Elementor */
.elementor-page .container {
    max-width: 100% !important;
    padding: 0 !important;
}

.elementor-page .row {
    margin: 0 !important;
}

/* Resetear estilos de Bootstrap que puedan conflictuar */
.elementor-widget-wrap {
    box-sizing: border-box !important;
}

.elementor-section {
    margin: 0 !important;
}

/* Asegurar que los elementos de Elementor no hereden estilos de Bootstrap */
.elementor * {
    box-sizing: border-box;
}

/* Evitar conflictos de tipografía */
.elementor-heading-title {
    font-family: inherit;
    margin: 0;
}

/* ========================================
   Utilidades personalizadas
======================================== */
.exatv-btn-custom {
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: var(--exatv-transition);
    text-decoration: none;
    display: inline-block;
}

.exatv-card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: var(--exatv-transition);
}

.exatv-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* ========================================
   Animaciones
======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.exatv-fade-in {
    animation: fadeIn 0.5s ease;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 991.98px) {
    .exatv-navbar-inner {
        padding: 0 1rem;
    }
    
    .exatv-search-form {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .exatv-navbar-inner {
        gap: 1rem;
    }
    
    .exatv-logo {
        height: 35px;
    }
    
    .exatv-nav-right {
        gap: 0.5rem;
    }
    
    .dark-mode-switch {
        width: 52px;
        height: 26px;
    }
    
    .mobile-menu-btn {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}

/* ========================================
   Dark Mode Styles
======================================== */
body.dark-mode {
    background-color: #1a1825;
    color: #d1d1d1;
}

/* Headings en Dark Mode - Colores Claros */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode .h1,
body.dark-mode .h2,
body.dark-mode .h3,
body.dark-mode .h4,
body.dark-mode .h5,
body.dark-mode .h6,
body.dark-mode .display-1,
body.dark-mode .display-2,
body.dark-mode .display-3,
body.dark-mode .display-4,
body.dark-mode .display-5,
body.dark-mode .display-6,
body.dark-mode .entry-title,
body.dark-mode .page-title,
body.dark-mode .post-title,
body.dark-mode .exatv-post-title,
body.dark-mode .exatv-page-title,
body.dark-mode .widget-title {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Contenido con mejor contraste */
body.dark-mode p,
body.dark-mode .entry-content,
body.dark-mode .post-content,
body.dark-mode .page-content,
body.dark-mode article {
    color: #e8e8e8;
}

/* Links en dark mode */
body.dark-mode a {
    color: var(--exatv-secondary);
}

body.dark-mode a:hover {
    color: #ffb733;
}

/* Navbar en Dark Mode */
body.dark-mode .exatv-navbar {
    background-color: var(--exatv-primary);
    border-bottom-color: var(--exatv-secondary);
}

body.dark-mode .exatv-nav-menu .nav-link {
    color: #f5f5f5;
}

body.dark-mode .exatv-nav-menu .nav-link:hover,
body.dark-mode .exatv-nav-menu .nav-link.active {
    color: var(--exatv-secondary);
}

body.dark-mode .search-input {
    background-color: #2a2738;
    border-color: rgba(255, 166, 0, 0.3);
    color: #f5f5f5;
}

body.dark-mode .search-input::placeholder {
    color: #999;
}

body.dark-mode .search-input:focus {
    background-color: #333147;
    border-color: var(--exatv-secondary);
}

body.dark-mode .search-submit-btn {
    color: #f5f5f5;
}

/* Cards y Widgets en Dark Mode */
body.dark-mode .widget,
body.dark-mode .card,
body.dark-mode .exatv-card {
    background-color: #2a2738;
    color: #e8e8e8;
    border: 1px solid rgba(255, 166, 0, 0.1);
}

body.dark-mode .widget a,
body.dark-mode .card a {
    color: #ffa600;
}

body.dark-mode .widget a:hover,
body.dark-mode .card a:hover {
    color: #ffb733;
}

/* Post Meta en Dark Mode */
body.dark-mode .entry-meta,
body.dark-mode .exatv-post-meta {
    color: #b8b8b8;
}

/* Borders y separadores */
body.dark-mode .border-bottom,
body.dark-mode hr {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Footer en Dark Mode */
body.dark-mode .site-footer {
    background: linear-gradient(135deg, #0f0d15 0%, #1a1825 100%);
    color: #e8e8e8;
}

body.dark-mode .site-footer .widget-title {
    color: #ffffff;
}

/* Off-canvas en Dark Mode */
body.dark-mode .offcanvas {
    background-color: #2a2738;
    border-left: 3px solid var(--exatv-secondary);
}

body.dark-mode .offcanvas-body {
    color: #e8e8e8;
}

body.dark-mode .mobile-nav-menu .nav-link {
    color: #f5f5f5;
}

/* Inputs y Forms en Dark Mode */
body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
    background-color: #2a2738;
    color: #e8e8e8;
    border-color: rgba(255, 166, 0, 0.3);
}

body.dark-mode input:focus,
body.dark-mode textarea:focus,
body.dark-mode select:focus {
    background-color: #333147;
    border-color: var(--exatv-secondary);
    color: #ffffff;
}

/* Botones en Dark Mode */
body.dark-mode .btn-primary {
    background-color: var(--exatv-secondary);
    border-color: var(--exatv-secondary);
    color: var(--exatv-primary);
}

body.dark-mode .btn-primary:hover {
    background-color: #ffb733;
    border-color: #ffb733;
}

body.dark-mode .btn-outline-primary {
    color: var(--exatv-secondary);
    border-color: var(--exatv-secondary);
}

body.dark-mode .btn-outline-primary:hover {
    background-color: var(--exatv-secondary);
    color: var(--exatv-primary);
}

/* Tablas en Dark Mode */
body.dark-mode table {
    color: #e8e8e8;
}

body.dark-mode table thead {
    background-color: #333147;
}

body.dark-mode table tbody tr {
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode table tbody tr:hover {
    background-color: rgba(255, 166, 0, 0.05);
}

/* Dropdown en Dark Mode */
body.dark-mode .exatv-nav-menu .dropdown-menu {
    background-color: #2a2738;
    border-color: rgba(255, 166, 0, 0.2);
}

body.dark-mode .exatv-nav-menu .dropdown-item {
    color: #f5f5f5;
}

body.dark-mode .exatv-nav-menu .dropdown-item:hover {
    background-color: rgba(255, 166, 0, 0.15);
    color: var(--exatv-secondary);
}
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .navbar-nav .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 1rem;
    }
    
    .navbar-collapse {
        max-height: 400px;
        overflow-y: auto;
    }

@media (max-width: 767.98px) {
    .exatv-post-title,
    .exatv-page-title {
        font-size: 1.75rem;
    }
    
    .site-footer .widget {
        margin-bottom: 2rem;
    }
    
    /* Footer mobile - eliminar espacios */
    .exatv-footer-main {
        padding: 2rem 0 1.5rem;
    }
    
    .exatv-footer-brand {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .exatv-footer-logo {
        margin-bottom: 0.5rem;
    }
    
    .exatv-footer-logo img {
        margin-bottom: 0.75rem;
    }
    
    .exatv-footer-title {
        margin-top: 0;
        margin-bottom: 1rem;
    }
    
    .col-md-6.mb-4,
    .col-lg-2.mb-4 {
        margin-bottom: 1.5rem !important;
    }
}

/* ========================================
   Bootstrap Icons (opcional)
======================================== */
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css');

/* ========================================
   Print Styles
======================================== */
@media print {
    .navbar,
    .site-footer,
    .widget-area,
    .comment-respond,
    .navigation {
        display: none !important;
    }
    
    .container {
        max-width: 100% !important;
    }
}

/* ========================================
   Botón Scroll to Top
======================================== */
.exatv-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--exatv-accent);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(94, 30, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.exatv-scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.exatv-scroll-top:hover {
    background: #4a17cc;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 32px rgba(94, 30, 255, 0.5);
}

.exatv-scroll-top:active {
    transform: translateY(-2px) scale(1.02);
}

.exatv-scroll-top svg {
    width: 26px;
    height: 26px;
    stroke: #ffffff;
    fill: none;
}

/* Dark Mode */
body.dark-mode .exatv-scroll-top {
    background: var(--exatv-accent);
    box-shadow: 0 8px 24px rgba(94, 30, 255, 0.4);
}

body.dark-mode .exatv-scroll-top:hover {
    background: #4a17cc;
    box-shadow: 0 12px 32px rgba(94, 30, 255, 0.55);
}

/* Responsive */
@media (max-width: 768px) {
    .exatv-scroll-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .exatv-scroll-top svg {
        width: 22px;
        height: 22px;
    }
}

/* ========================================
   Single Post Template Styles
======================================== */

/* Título y Subtítulo */
.single-post-article .entry-title {
    font-family: var(--exatv-heading-font);
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--exatv-dark);
    line-height: 1.2;
}

.single-post-article .entry-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #6c757d;
    font-weight: 400;
}

/* Entry Meta */
.single-post-article .entry-meta {
    font-size: 0.9rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.single-post-article .entry-meta span i {
    margin-right: 0.25rem;
    color: var(--exatv-secondary);
}

/* Post Thumbnail */
.single-post-article .post-thumbnail {
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.single-post-article .post-thumbnail img {
    width: 100% !important;
    height: auto !important;
    max-height: 500px !important;
    object-fit: contain !important;
    object-position: center !important;
    transition: transform 0.3s ease;
    display: block;
}

.single-post-article .post-thumbnail:hover img {
    transform: scale(1.02);
}

/* Entry Content */
.single-post-article .entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.single-post-article .entry-content p {
    margin-bottom: 1.5rem;
}

.single-post-article .entry-content h2,
.single-post-article .entry-content h3,
.single-post-article .entry-content h4 {
    font-family: var(--exatv-heading-font);
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--exatv-dark);
}

/* Imágenes dentro del contenido */
.single-post-article .entry-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-article .entry-content figure {
    margin: 1.5rem 0;
}

.single-post-article .entry-content figure img {
    margin: 0;
}

/* Social Share Buttons */
.social-share {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--exatv-secondary);
}

.social-share h5 {
    font-family: var(--exatv-heading-font);
    font-weight: 600;
    color: var(--exatv-dark);
    margin-bottom: 1rem;
}

.social-share h5 i {
    color: var(--exatv-secondary);
    margin-right: 0.5rem;
}

.btn-social {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    color: white;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-social svg {
    flex-shrink: 0;
}

.btn-social:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    color: white;
}

.btn-copy.copied {
    background: #28a745 !important;
}

.btn-facebook {
    background: #1877f2;
}

.btn-facebook:hover {
    background: #145dbf;
}

.btn-twitter {
    background: #1da1f2;
}

.btn-twitter:hover {
    background: #0c85d0;
}

.btn-whatsapp {
    background: #25d366;
}

.btn-whatsapp:hover {
    background: #1da851;
}

.btn-linkedin {
    background: #0077b5;
}

.btn-linkedin:hover {
    background: #005885;
}

.btn-copy {
    background: #6c757d;
}

.btn-copy:hover {
    background: #545b62;
}

/* Related Posts Grid */
.related-posts h4 {
    font-family: var(--exatv-heading-font);
    font-weight: 700;
    color: var(--exatv-dark);
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--exatv-secondary);
    display: inline-block;
}

.related-posts h4 i {
    color: var(--exatv-secondary);
    margin-right: 0.5rem;
}

.related-post-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    overflow: hidden;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.related-post-card .card-img-top {
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .card-img-top {
    transform: scale(1.05);
}

.related-post-card .card-title a {
    color: var(--exatv-dark);
    font-family: var(--exatv-heading-font);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.related-post-card .card-title a:hover {
    color: var(--exatv-secondary);
}

/* Post Navigation */
.post-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
}

.nav-post-card {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.nav-post-card:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--exatv-secondary);
}

.nav-post-card a {
    color: var(--exatv-dark);
}

.nav-post-card a:hover h6 {
    color: var(--exatv-secondary);
}

.nav-post-card h6 {
    font-family: var(--exatv-heading-font);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-post-thumb {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 0.375rem;
    flex-shrink: 0;
}

.nav-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sidebar Styles */
.single-post-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--exatv-secondary);
}

.sidebar-widget.widget-categories {
    background: transparent;
    border: none;
    box-shadow: none;
    border-left: none;
    padding: 0;
}

.sidebar-widget .widget-title {
    font-family: var(--exatv-heading-font);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--exatv-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-widget .widget-title i {
    color: var(--exatv-secondary);
}

/* Search Form Widget */
.widget-search .exatv-search-sidebar {
    width: 100%;
}

.widget-search .exatv-search__input {
    width: 100%;
    background-color: rgba(36, 33, 49, 0.05);
    border: 2px solid rgba(36, 33, 49, 0.1);
    color: var(--exatv-dark);
}

.widget-search .exatv-search__input:hover {
    box-shadow: 0 0 1em rgba(255, 166, 0, 0.15);
    border-color: rgba(255, 166, 0, 0.3);
}

.widget-search .exatv-search__input:focus {
    background-color: rgba(36, 33, 49, 0.08);
    border-color: var(--exatv-secondary);
    box-shadow: 0 0 1em rgba(255, 166, 0, 0.2);
}

.widget-search .exatv-search__input::placeholder,
.widget-search .exatv-search__input::-webkit-input-placeholder {
    color: rgba(36, 33, 49, 0.5);
}

.widget-search .exatv-search__icon {
    fill: rgba(36, 33, 49, 0.6);
}

.widget-search .exatv-search__button:hover {
    background-color: rgba(255, 166, 0, 0.1);
}

.widget-search .exatv-search__button:hover .exatv-search__icon {
    fill: var(--exatv-secondary);
}

/* Categories Widget */
.category-list {
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-item {
    margin-bottom: 0;
}

.category-item a {
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 50px;
    color: var(--exatv-dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.category-item a:hover {
    background: var(--exatv-secondary);
    color: var(--exatv-dark);
    border-color: var(--exatv-secondary);
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(255, 166, 0, 0.3);
}

.category-item a i {
    margin-right: 0;
    opacity: 0.7;
    font-size: 0.85rem;
}

.category-item .badge {
    background: var(--exatv-secondary) !important;
    color: var(--exatv-dark);
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
}

/* Scrollbar personalizado para categorías */
.category-list::-webkit-scrollbar {
    width: 6px;
}

.category-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.category-list::-webkit-scrollbar-thumb {
    background: var(--exatv-secondary);
    border-radius: 10px;
}

.category-list::-webkit-scrollbar-thumb:hover {
    background: #e69500;
}

/* ========================================
   Posts Slider Shortcode
======================================== */
.exatv-posts-slider-wrapper {
    position: relative;
    width: 100%;
    margin: 2rem 0;
    overflow: hidden;
}

.exatv-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.exatv-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 1.5rem;
}

.exatv-slide-item {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 300px;
    max-width: 400px;
}

.exatv-slide-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--exatv-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 400px; /* Altura mínima consistente */
}

.exatv-slide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.exatv-slide-image {
    position: relative;
    width: 100%;
    height: 220px !important;
    overflow: hidden;
}

.exatv-slide-image img {
    width: 100% !important;
    height: 220px !important;
    max-height: 220px !important;
    min-height: 220px !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.5s ease;
    display: block;
}

.exatv-slide-card:hover .exatv-slide-image img {
    transform: scale(1.1);
}

.exatv-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(36, 33, 49, 0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.exatv-slide-card:hover .exatv-slide-overlay {
    opacity: 1;
}

.exatv-slide-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.exatv-slide-title {
    font-family: var(--exatv-heading-font);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.exatv-slide-title a {
    color: var(--exatv-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.exatv-slide-title a:hover {
    color: var(--exatv-secondary);
}

.exatv-slide-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.exatv-slide-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.exatv-slide-excerpt {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.exatv-slide-readmore {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--exatv-secondary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}

.exatv-slide-readmore:hover {
    gap: 0.75rem;
    color: var(--exatv-accent);
}

/* Navegación del slider */
.exatv-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: var(--exatv-dark);
}

.exatv-slider-nav:hover {
    background: var(--exatv-secondary);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.exatv-slider-prev {
    left: -20px;
}

.exatv-slider-next {
    right: -20px;
}

.exatv-posts-slider-wrapper:hover .exatv-slider-prev {
    left: 10px;
}

.exatv-posts-slider-wrapper:hover .exatv-slider-next {
    right: 10px;
}

/* Indicadores (dots) */
.exatv-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.exatv-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d1d1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.exatv-slider-dot:hover {
    background: #999;
    transform: scale(1.1);
}

.exatv-slider-dot.active {
    background: var(--exatv-secondary);
    width: 32px;
    border-radius: 6px;
}

/* Responsive para el slider */
@media (max-width: 1200px) {
    .exatv-slide-item {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .exatv-slide-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .exatv-slider-track {
        gap: 1rem;
    }
    
    .exatv-slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .exatv-slider-prev {
        left: 5px;
    }
    
    .exatv-slider-next {
        right: 5px;
    }
    
    .exatv-posts-slider-wrapper:hover .exatv-slider-prev {
        left: 5px;
    }
    
    .exatv-posts-slider-wrapper:hover .exatv-slider-next {
        right: 5px;
    }
}

/* Dark mode para el slider */
body.dark-mode .exatv-slide-card {
    background: #1a1825;
}

body.dark-mode .exatv-slide-title a {
    color: #fff;
}

body.dark-mode .exatv-slide-excerpt {
    color: #c1c1c1;
}

body.dark-mode .exatv-slider-nav {
    background: rgba(36, 33, 49, 0.95);
    color: #fff;
}

body.dark-mode .exatv-slider-nav:hover {
    background: var(--exatv-secondary);
}

    .single-post-article .entry-subtitle {
        font-size: 1.1rem;
    }
    
    .single-post-sidebar {
        position: static;
        margin-top: 3rem;
    }
    
    .nav-post-card h6 {
        font-size: 0.9rem;
    }
    
    .nav-post-thumb {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 767px) {
    .single-post-article .entry-title {
        font-size: 1.75rem;
    }
    
    .social-share-buttons {
        flex-direction: column;
    }
    
    .btn-social {
        width: 100%;
        justify-content: center;
    }
    
    .related-post-card .card-img-top {
        height: 150px;
    }
}
/* ========================================
   Category Archive - Magazine Layout
======================================== */

.exatv-category-archive {
    background: #f8f9fa;
}

.category-header {
    padding: 2rem 0;
}

.category-title {
    font-family: var(--exatv-heading-font);
    font-weight: 800;
    color: var(--exatv-dark);
    position: relative;
    display: inline-block;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--exatv-secondary), var(--exatv-accent));
    border-radius: 2px;
}

.category-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    margin-top: 1.5rem;
}

/* Magazine Grid Layout */
.magazine-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 350px);
    gap: 1.5rem;
}

.magazine-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.magazine-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Main featured post (izquierda, 2x2) */
.magazine-item-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

/* Post 2 (arriba derecha) */
.magazine-item-2 {
    grid-column: 3 / 5;
    grid-row: 1 / 2;
}

/* Post 3 (medio derecha) */
.magazine-item-3 {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

/* Post 4 (abajo derecha) */
.magazine-item-4 {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
}

.magazine-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.magazine-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.magazine-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.magazine-item:hover .magazine-image img {
    transform: scale(1.1);
}

.magazine-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 40%,
        rgba(0, 0, 0, 0.8) 100%
    );
    transition: background 0.3s ease;
}

.magazine-item:hover .magazine-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

.magazine-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: #fff;
    z-index: 2;
}

.magazine-main .magazine-content {
    padding: 2.5rem;
}

.magazine-category {
    margin-bottom: 0.75rem;
}

.magazine-category .badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.magazine-title {
    font-family: var(--exatv-heading-font);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.magazine-main .magazine-title {
    font-size: 2rem;
    -webkit-line-clamp: 2;
}

.magazine-meta {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.magazine-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-top: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Posts Grid - 3 columnas */
.posts-grid-wrapper {
    margin-top: 3rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.grid-post-item {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation para posts que se cargan */
.grid-post-item:nth-child(1) { animation-delay: 0.1s; }
.grid-post-item:nth-child(2) { animation-delay: 0.2s; }
.grid-post-item:nth-child(3) { animation-delay: 0.3s; }
.grid-post-item:nth-child(4) { animation-delay: 0.1s; }
.grid-post-item:nth-child(5) { animation-delay: 0.2s; }
.grid-post-item:nth-child(6) { animation-delay: 0.3s; }

.grid-post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 420px; /* Altura mínima consistente */
}

.grid-post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.grid-post-image {
    position: relative;
    width: 100%;
    height: 220px !important;
    overflow: hidden;
}

.grid-post-image img {
    width: 100% !important;
    height: 220px !important;
    max-height: 220px !important;
    min-height: 220px !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.5s ease;
    display: block;
}

.grid-post-card:hover .grid-post-image img {
    transform: scale(1.08);
}

.grid-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(36, 33, 49, 0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.grid-post-card:hover .grid-post-overlay {
    opacity: 1;
}

.grid-post-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.grid-post-category {
    margin-bottom: 0.75rem;
}

.grid-post-category .badge {
    background: var(--exatv-secondary);
    color: var(--exatv-dark);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.35rem 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.grid-post-title {
    font-family: var(--exatv-heading-font);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.grid-post-title a {
    color: var(--exatv-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.grid-post-title a:hover {
    color: var(--exatv-secondary);
}

.grid-post-meta {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.75rem;
}

.grid-post-excerpt {
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.grid-post-readmore {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--exatv-secondary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.grid-post-readmore:hover {
    gap: 0.75rem;
    color: var(--exatv-accent);
}

/* Loading states */
.posts-loading,
.posts-end {
    padding: 2rem;
}

.posts-loading .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
}

/* Responsive para Magazine Grid */
@media (max-width: 1200px) {
    .magazine-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 400px 300px 300px;
    }
    
    .magazine-item-1 {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }
    
    .magazine-item-2 {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
    
    .magazine-item-3 {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }
    
    .magazine-item-4 {
        grid-column: 1 / 3;
        grid-row: 3 / 4;
    }
    
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .magazine-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 350px);
        gap: 1rem;
    }
    
    .magazine-item-1,
    .magazine-item-2,
    .magazine-item-3,
    .magazine-item-4 {
        grid-column: 1 / 2;
    }
    
    .magazine-item-1 { grid-row: 1 / 2; }
    .magazine-item-2 { grid-row: 2 / 3; }
    .magazine-item-3 { grid-row: 3 / 4; }
    .magazine-item-4 { grid-row: 4 / 5; }
    
    .magazine-title {
        font-size: 1.1rem;
    }
    
    .magazine-main .magazine-title {
        font-size: 1.5rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-title {
        font-size: 2rem;
    }
}

/* Dark mode para category archive */
body.dark-mode .exatv-category-archive {
    background: #1a1825;
}

body.dark-mode .category-title {
    color: #fff;
}

body.dark-mode .grid-post-card {
    background: #242131;
}

body.dark-mode .grid-post-title a {
    color: #fff;
}

body.dark-mode .grid-post-excerpt {
    color: #c1c1c1;
}

/* ========================================
   Posts Grid Shortcode
======================================== */

.exatv-posts-grid-shortcode {
    width: 100%;
    margin: 2rem 0;
}

.exatv-grid-container {
    display: grid;
    gap: 2rem;
}

/* Grid de 3 columnas (por defecto) */
.exatv-grid-container.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Grid de 2 columnas */
.exatv-grid-container.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.exatv-grid-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* Animación escalonada */
.exatv-grid-item:nth-child(1) { animation-delay: 0.1s; }
.exatv-grid-item:nth-child(2) { animation-delay: 0.2s; }
.exatv-grid-item:nth-child(3) { animation-delay: 0.3s; }
.exatv-grid-item:nth-child(4) { animation-delay: 0.4s; }
.exatv-grid-item:nth-child(5) { animation-delay: 0.5s; }
.exatv-grid-item:nth-child(6) { animation-delay: 0.6s; }

.exatv-grid-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 450px; /* Altura mínima consistente */
}

.exatv-grid-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.exatv-grid-image {
    position: relative;
    width: 100%;
    height: 240px !important;
    overflow: hidden;
}

.exatv-grid-image img {
    width: 100% !important;
    height: 240px !important;
    max-height: 240px !important;
    min-height: 240px !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.6s ease;
    display: block;
}

.exatv-grid-card:hover .exatv-grid-image img {
    transform: scale(1.1);
}

.exatv-grid-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(36, 33, 49, 0.7) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.exatv-grid-card:hover .exatv-grid-image-overlay {
    opacity: 1;
}

.exatv-grid-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.exatv-grid-category {
    margin-bottom: 0.75rem;
}

.exatv-grid-category .badge {
    background: var(--exatv-secondary);
    color: var(--exatv-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

.exatv-grid-title {
    font-family: var(--exatv-heading-font);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.exatv-grid-title a {
    color: var(--exatv-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.exatv-grid-title a:hover {
    color: var(--exatv-secondary);
}

.exatv-grid-meta {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.75rem;
}

.exatv-grid-meta i {
    margin-right: 0.25rem;
}

.exatv-grid-excerpt {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.exatv-grid-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--exatv-secondary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
    margin-top: auto;
}

.exatv-grid-link:hover {
    gap: 0.75rem;
    color: var(--exatv-accent);
}

.exatv-grid-link i {
    font-size: 0.85rem;
}

/* Responsive para el grid */
@media (max-width: 992px) {
    .exatv-grid-container.columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .exatv-grid-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .exatv-grid-container.columns-3,
    .exatv-grid-container.columns-2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .exatv-grid-image {
        height: 220px;
    }
    
    .exatv-grid-title {
        font-size: 1.1rem;
    }
}

/* Dark mode para grid */
body.dark-mode .exatv-grid-card {
    background: #242131;
}

body.dark-mode .exatv-grid-title a {
    color: #fff;
}

body.dark-mode .exatv-grid-excerpt {
    color: #c1c1c1;
}

body.dark-mode .exatv-grid-meta {
    color: #999;
}
