:root {
    /* Brand Colors */
    --brand-primary: #0A1F44;
    --brand-secondary: #0F2E6D;
    --brand-accent: #1E5EFF;
    --brand-accent-soft: #4D8BFF;

    /* Backgrounds */
    --bg-card: #102A5C;
    --bg-card-hover: #143875;
    --bg-sidebar: #0C234A;
    --bg-footer: #06132A;

    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: #C9D4F1;
    --text-muted: #8FA7D8;
    --text-link: #4D8BFF;
    --text-link-hover: #82B1FF;

    /* Borders */
    --border-default: #1C3F7A;
    --border-strong: #1E5EFF;

    /* Streaming */
    --tv-highlight: #00C2FF;
    --radio-highlight: #00E0B8;
    --live-indicator: #FF2D55;

    /* Status */
    --status-live: #FF2D55;
    --status-success: #00E0B8;
    --status-info: #00C2FF;
    --status-warning: #FFC107;

    /* Gradients */
    --grad-hero: linear-gradient(135deg, #0A1F44 0%, #1E5EFF 100%);
    --grad-tv: linear-gradient(90deg, #00C2FF 0%, #1E5EFF 100%);
    --grad-radio: linear-gradient(90deg, #00E0B8 0%, #1E5EFF 100%);

    /* Backward compatibility variables */
    --primary-color: var(--brand-accent);
    --secondary-color: var(--tv-highlight);
    --bg-light: var(--bg-card);
    --text-dark: var(--text-primary);
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    --card-hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    /* Removed overflow-x: hidden; to fix position: sticky */
}

/* Global Full-Width Fixes - ALL SPACE USED */
.container,
.container-fluid,
.lvp-container,
.lvp-single-layout {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Neutralize Bootstrap container gutters and utility paddings */
.px-lg-5,
.px-md-5,
.px-5,
.px-4,
.px-3 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}

.row>* {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Specific article and comment fixes */
.lvp-article,
.lvp-comments-section,
.lvp-single-main,
.lvp-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body {
    background-color: #2f8c8d !important;
    background-image: -webkit-radial-gradient(50% 50%, ellipse cover, #80e8e9 7%, #7ce2f9 33%, #2f8c8d 100%) !important;
    background-attachment: fixed !important;
    font-family: 'Inter', sans-serif !important;
    color: var(--text-dark);
}

h1,
h2,
h3,
h4,
.card-title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700;
}

/* Header & Nav - Navigations improvements */
.main-navigation {
    background: var(--brand-secondary) !important;
    backdrop-filter: blur(10px);
    border: none;
    border-bottom: 4px solid var(--brand-accent);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
    padding: 0 !important;
    min-height: 50px;
}

.main-navigation .navbar-nav {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.main-navigation .navbar-nav li {
    display: flex;
    align-items: stretch;
}

.main-navigation .navbar-nav .nav-link,
.main-navigation .navbar-nav li a {
    color: var(--text-secondary) !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.8px;
    padding: 0 25px !important;
    margin: 0;
    display: flex;
    align-items: center;
    height: 60px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.main-navigation .navbar-nav .nav-link:hover,
.main-navigation .navbar-nav li a:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    text-shadow: 0 0 10px rgba(30, 94, 255, 1), 0 0 20px rgba(30, 94, 255, 0.5);
    box-shadow: inset 0 0 15px rgba(30, 94, 255, 0.2) !important;
}

.main-navigation .navbar-nav .nav-link::after,
.main-navigation .navbar-nav li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: var(--brand-accent);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-50%);
    border-radius: 4px 4px 0 0;
}

.main-navigation .navbar-nav .nav-link:hover::after,
.main-navigation .navbar-nav li.active a::after,
.main-navigation .navbar-nav li.current-menu-item a::after {
    width: 80%;
    opacity: 1;
    box-shadow: 0 -2px 10px var(--brand-accent);
}


.main-navigation .navbar-toggler {
    border: none;
    padding: 15px;
}

.main-navigation .navbar-toggler:focus {
    box-shadow: none;
}

.main-navigation .navbar-brand {
    color: #fff !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    padding: 15px !important;
    font-size: 20px;
}

.navbar-brand img {
    height: 28px;
    width: auto !important;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Panels (now Cards) */
.card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-default) !important;
    border-radius: 12px !important;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px !important;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--brand-accent) !important;
}

.card-header {
    background: var(--bg-card-hover) !important;
    border-bottom: 1px solid var(--border-default) !important;
    padding: 15px 20px !important;
}

.card-title a {
    color: var(--text-primary) !important;
    text-decoration: none;
}

.card-title .badge,
.card-title .label {
    background: var(--brand-accent) !important;
    color: var(--text-primary) !important;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Thumbnails / News Cards */
.thumbnail {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
}

.thumbnail img {
    border-radius: 8px;
    transition: transform 0.5s ease;
}

.thumbnail:hover img {
    transform: scale(1.03);
}

.caption h3 {
    font-size: 1.2rem !important;
    line-height: 1.4;
    margin-top: 15px;
    color: var(--text-dark);
}

.caption p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* TV Section */
#tv {
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 194, 255, 0.2);
    border: 2px solid var(--tv-highlight);
    position: relative;
}

/* #tv::before {
    content: 'TV EN VIVO';
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--status-live);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 0 10px var(--status-live);
    animation: lvp-pulse 1.5s infinite;
} */

#tv .widget {
    margin: 0;
}

/* Sidebar Widgets */
.widget {
    background: var(--bg-sidebar);
    color: var(--text-primary);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-default);
}

.widget-title {
    color: var(--text-primary);
    font-size: 1.1rem;
    border-left: 4px solid var(--brand-accent);
    padding-left: 10px;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background: var(--bg-footer) !important;
    border-top: 4px solid var(--brand-accent);
    color: var(--text-secondary);
    padding: 40px 0;
    margin-top: 50px;
    text-align: center;
}

footer img {
    filter: brightness(0) invert(1);
}

/* Special Categories */
.panel-progreso .panel-title .label {
    background: var(--primary-color) !important;
}

.panel-yucatan .panel-title .label {
    background: var(--secondary-color) !important;
}

.panel-mundo .panel-title .label {
    background: #28a745 !important;
}

.panel-nacional .panel-title .label {
    background: #ffc107 !important;
    color: #000 !important;
}

.panel-internacional .panel-title .label {
    background: #6f42c1 !important;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel {
    animation: fadeIn 0.6s ease-out forwards;
}

/* News Portal Grid */
.portal-grid {
    margin-top: 20px;
}

.row-tight {
    margin-left: -5px;
    margin-right: -5px;
}

.row-tight [class*="col-"] {
    padding-left: 5px;
    padding-right: 5px;
}

.news-item-compact {
    margin-bottom: 20px;
}

.news-card {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-default);
    /* Added border */
    transition: all 0.3s ease;
    margin-bottom: 20px;
    height: auto;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border-color: var(--brand-accent);
}

.news-thumb-link {
    display: block;
    overflow: hidden;
    position: relative;
    padding-top: 66.66%;
    /* 3:2 Aspect Ratio */
}

.news-thumb-link img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-thumb-link img {
    transform: scale(1.1);
}

.news-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 0;
}

.news-title {
    font-size: 0.9rem !important;
    line-height: 1.3;
    margin: 0 0 10px 0 !important;
    font-weight: 700;
    color: var(--text-primary);
}

.news-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.news-title a:hover {
    color: var(--brand-accent);
}

.news-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.news-excerpt {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.no-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-sidebar);
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-thumb::after {
    content: 'LVP';
    font-weight: bold;
    color: var(--border-default);
    font-size: 1.2rem;
}

/* Panel Customization for Grid */
.panel-portal {
    background: transparent !important;
    box-shadow: none !important;
}

.panel-portal .panel-body {
    padding: 0 !important;
}

.panel-portal .panel-heading {
    margin-bottom: 15px;
    background: transparent !important;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05) !important;
}

/* Single Post Modern Styles */
.single-post-layout {
    padding-top: 40px;
    padding-bottom: 60px;
}

.live-nav-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.live-link-btn {
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tv-link {
    background: var(--primary-color);
    color: white !important;
}

.radio-link {
    background: var(--secondary-color);
    color: white !important;
}

.live-link-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: white !important;
}

.modern-post-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    border: 1px solid var(--border-default);
}

.entry-header {
    margin-bottom: 30px;
}

.entry-meta-top {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.category-label a {
    color: white !important;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none !important;
}

.cat-noticias a {
    background: var(--brand-accent);
}

.cat-progreso a {
    background: var(--brand-accent);
}

.cat-yucatan a {
    background: var(--brand-secondary);
}

.cat-mundo a {
    background: #28a745;
}

.cat-nacional a {
    background: #ffc107;
    color: #000 !important;
}

.entry-title {
    font-size: 3.2rem !important;
    line-height: 1.1;
    color: var(--text-primary);
    margin: 0 !important;
    letter-spacing: -1px;
    font-weight: 800;
}

.entry-date {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.entry-featured-image {
    margin: 0 -40px 40px -40px;
    position: relative;
    overflow: hidden;
}

.rounded-image {
    width: 100%;
    height: auto;
    transition: transform 0.8s ease;
}

.entry-featured-image:hover .rounded-image {
    transform: scale(1.02);
}


.entry-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.entry-content p {
    margin-bottom: 25px;
}

.entry-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.entry-tags {
    margin-bottom: 30px;
}

.entry-tags a {
    background: #f0f2f5;
    padding: 5px 15px;
    border-radius: 20px;
    color: var(--text-muted);
    text-decoration: none !important;
    font-size: 0.85rem;
    margin-right: 5px;
    transition: background 0.3s;
}

.entry-tags a:hover {
    background: #e4e6e9;
    color: var(--text-dark);
}

.post-navigation {
    margin-top: 40px;
    padding: 20px 0;
}

.post-navigation a {
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none !important;
    transition: color 0.3s;
}

.post-navigation a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .modern-post-card {
        padding: 20px;
    }

    .entry-title {
        font-size: 1.8rem !important;
    }

    .entry-featured-image {
        margin: 0 -20px 20px -20px;
    }

    .live-nav-links {
        flex-direction: column;
    }

    .live-link-btn {
        width: 100%;
        justify-content: center;
    }

    .lvp-header-date {
        display: none !important; /* Ocultar fecha en móviles para más espacio */
    }
}

/* Header Enhancements */
.top-news-bar {
    background-color: #2f8c8d !important;
    background-image: -webkit-radial-gradient(50% 50%, ellipse cover, #80e8e9 7%, #7ce2f9 33%, #2f8c8d 100%) !important;
    color: #fff;
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
}

.trending-label {
    color: var(--primary-color);
    letter-spacing: 1px;
}

#lvp-clock-container {
    color: #fff;
    font-family: 'Inter', sans-serif;
}

#lvp-clock {
    font-weight: 700;
}

.header-logo-link {
    display: block;
    background: #fff;
    padding: 20px 0;
}

.main-header-img {
    max-height: 140px;
    margin: 0 auto;
}

.row-nav {
    margin: 0;
}

/* Share Section */
.post-share-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #eee;
    margin-top: 40px;
    text-align: center;
}

.post-share-section h4 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* Footer improvements */
.site-footer {
    background: var(--bg-footer) !important;
    color: var(--text-secondary) !important;
    padding: 60px 0 40px !important;
    border-top: 4px solid var(--brand-accent);
    margin-top: 60px;
}

.footer-logo img {
    margin: 25px auto;
    max-width: 250px;
    filter: brightness(1.1);
}

.copyright {
    color: #888;
    font-size: 0.9rem;
    margin-top: 30px;
}

/* Comments Section Modern Styling */
.comments-area {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-default);
    border-radius: 20px;
    padding: 50px;
    margin-top: 50px;
    color: var(--text-primary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.comments-title,
.comment-reply-title {
    color: white !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    margin-bottom: 35px;
    border-left: 6px solid var(--primary-color);
    padding-left: 20px;
    font-size: 2rem;
}

.logged-in-as-modern {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    line-height: 1.6;
}

.user-highlight {
    font-weight: 800;
    color: #fff;
    border-bottom: 2px solid var(--primary-color);
}

.logged-in-as-modern a {
    color: #ffda79 !important;
    font-weight: 700;
    margin: 0 5px;
}

.comment-form-group {
    margin-bottom: 25px;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list .comment {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-author vcard img {
    border-radius: 50%;
    margin-right: 15px;
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.comment-metadata a {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.9rem;
}

.comment-content {
    margin-top: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.reply a {
    background: var(--primary-color);
    color: white !important;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 10px;
}

/* Comment Form Styling */
#commentform label {
    color: white;
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
    font-size: 1.1rem;
}

#commentform textarea {
    width: 100%;
    padding: 18px 22px;
    border-radius: 12px;
    border: none;
    background: rgba(255, 255, 255, 1);
    color: #222;
    margin-bottom: 25px;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    min-height: 180px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

#commentform .submit {
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    padding: 18px 45px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    border-radius: 50px !important;
    font-family: 'Outfit', sans-serif !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 10px 30px rgba(227, 27, 35, 0.4) !important;
    cursor: pointer;
    font-size: 1rem;
}

#commentform .submit:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 40px rgba(227, 27, 35, 0.6) !important;
}

@media (max-width: 768px) {
    .comments-area {
        padding: 25px;
    }

    .main-header-img {
        max-height: 80px;
    }
}

/* ==========================================================================
   SINGLE POST LVP - REDISEÑO AZUL MODERNO (GRID/FLEXBOX)
   ========================================================================== */

:root {
    --lvp-blue-dark: var(--brand-primary);
    --lvp-blue-main: var(--brand-accent);
    --lvp-blue-light: var(--bg-card);
    --lvp-white: var(--bg-card);
    --lvp-text-dark: var(--text-primary);
    --lvp-text-gray: var(--text-muted);
    --lvp-radius: 12px;
    --lvp-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.lvp-single-page {
    background-color: transparent;
    font-family: 'Inter', sans-serif;
    color: var(--lvp-text-dark);
    padding: 40px 0 60px 0;
}

.lvp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.lvp-single-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .lvp-single-layout {
        grid-template-columns: 1fr 350px;
    }
}

/* --- Articulo Principal --- */
.lvp-article {
    background: var(--lvp-white);
    border-radius: var(--lvp-radius);
    padding: 30px;
    box-shadow: var(--lvp-shadow);
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .lvp-article {
        padding: 50px;
    }
}

.lvp-article-header {
    margin-bottom: 30px;
    text-align: center;
}

.lvp-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--lvp-text-gray);
    font-weight: 500;
}

.lvp-article-category a {
    background: var(--lvp-blue-main);
    color: var(--lvp-white);
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s;
}

.lvp-article-category a:hover {
    background: var(--lvp-blue-dark);
}

.lvp-article-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--lvp-blue-dark);
    margin: 0;
}

@media (min-width: 768px) {
    .lvp-article-title {
        font-size: 3rem;
    }
}

.lvp-article-hero-image {
    margin: 0 -30px 40px -30px;
    border-radius: 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .lvp-article-hero-image {
        margin: 0 -50px 40px -50px;
    }
}

.lvp-img-responsive {
    width: 100%;
    height: auto;
    display: block;
}

.lvp-article-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #334155;
}

.lvp-article-content p {
    margin-bottom: 1.5em;
}

.lvp-article-content h2,
.lvp-article-content h3,
.lvp-article-content h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--lvp-blue-dark);
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    font-weight: 700;
}

.lvp-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.lvp-article-content blockquote {
    border-left: 5px solid var(--lvp-blue-main);
    background: var(--lvp-blue-light);
    padding: 20px 25px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--lvp-blue-dark);
    border-radius: 0 var(--lvp-radius) var(--lvp-radius) 0;
}

/* Footer de Articulo */
.lvp-article-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #E2E8F0;
}

.lvp-article-tags {
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.lvp-article-tags a {
    display: inline-block;
    background: #F1F5F9;
    color: var(--lvp-text-dark);
    padding: 5px 12px;
    border-radius: 4px;
    margin: 0 5px 10px 0;
    text-decoration: none;
    transition: background 0.3s;
}

.lvp-article-tags a:hover {
    background: #E2E8F0;
}

.lvp-share-section {
    background: var(--lvp-blue-light);
    padding: 25px;
    border-radius: var(--lvp-radius);
    text-align: center;
}

.lvp-share-title {
    margin: 0 0 15px 0;
    font-family: 'Outfit', sans-serif;
    color: var(--lvp-blue-dark);
    font-weight: 700;
}

/* Navegacion */
.lvp-post-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.lvp-nav-prev,
.lvp-nav-next {
    flex: 1;
    min-width: 250px;
}

.lvp-nav-next {
    text-align: right;
}

.lvp-post-navigation a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    background: #fff;
    border-radius: var(--lvp-radius);
    color: var(--lvp-blue-main);
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--lvp-shadow);
    transition: all 0.3s ease;
    width: 100%;
}

.lvp-post-navigation a:hover {
    background: var(--lvp-blue-main);
    color: #fff;
    transform: translateY(-2px);
}

/* Relacionadas */
.lvp-related-news {
    margin-top: 50px;
    margin-bottom: 40px;
}

.lvp-related-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--lvp-blue-dark);
    margin-bottom: 25px;
    border-left: 5px solid var(--lvp-blue-main);
    padding-left: 15px;
}

.lvp-related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .lvp-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.lvp-related-card {
    background: #fff;
    border-radius: var(--lvp-radius);
    overflow: hidden;
    box-shadow: var(--lvp-shadow);
    transition: transform 0.3s;
}

.lvp-related-card:hover {
    transform: translateY(-5px);
}

.lvp-related-thumb {
    position: relative;
    padding-top: 60%;
}

.lvp-related-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lvp-no-thumb-small {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--lvp-blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--lvp-blue-main);
}

.lvp-related-info {
    padding: 15px;
}

.lvp-related-info h4 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    line-height: 1.4;
}

.lvp-related-info h4 a {
    color: var(--lvp-text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.lvp-related-info h4 a:hover {
    color: var(--lvp-blue-main);
}

.lvp-related-info time {
    font-size: 0.8rem;
    color: var(--lvp-text-gray);
}

/* Sidebar Compartido (Si no se ha agregado antes) */
.lvp-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.lvp-streaming-widget {
    background: var(--lvp-blue-dark);
    color: var(--lvp-white);
    border-radius: var(--lvp-radius);
    padding: 25px;
    box-shadow: var(--lvp-shadow);
    overflow: hidden;
}

.lvp-streaming-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lvp-streaming-header h3 {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.lvp-live-pulse {
    width: 12px;
    height: 12px;
    background-color: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: lvp-pulse 1.5s infinite;
}

@keyframes lvp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

@keyframes soft-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(30, 94, 255, 0.2);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 25px rgba(30, 94, 255, 0.4);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(30, 94, 255, 0.2);
    }
}

.lvp-streaming-container {
    background: #000;
    border-radius: 8px;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lvp-tv-widget .lvp-streaming-container {
    min-height: 200px;
}

/* Anular padding de widgets nativos inyectados por JS o PHP */
.lvp-streaming-container .widget {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.lvp-native-widgets .widget {
    background: var(--lvp-white);
    border-radius: var(--lvp-radius);
    padding: 25px;
    box-shadow: var(--lvp-shadow);
    border: none;
    margin-bottom: 30px;
}

.lvp-native-widgets .widget-title {
    border-left: none;
    padding-left: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--lvp-blue-dark);
    margin: 0 0 20px 0;
    position: relative;
    padding-bottom: 10px;
}

.lvp-native-widgets .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--lvp-blue-main);
    border-radius: 2px;
}

/* Comentarios Visual Nuevo */
.lvp-comments-section {
    background: var(--lvp-white);
    border-radius: var(--lvp-radius);
    padding: 30px;
    box-shadow: var(--lvp-shadow);
    margin-top: 40px;
}

@media (min-width: 768px) {
    .lvp-comments-section {
        padding: 50px;
    }
}

.lvp-comments-section .comments-title,
.lvp-comments-section .comment-reply-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--lvp-blue-dark);
    font-size: 1.8rem;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--lvp-blue-light);
    padding-bottom: 15px;
}

/* Asegurar que las labels dentro del form de comentarios se vean bien */
.lvp-comments-section label {
    font-weight: 600;
    color: var(--lvp-text-dark);
    display: block;
    margin-bottom: 8px;
}

.lvp-comments-section input[type="text"],
.lvp-comments-section input[type="email"],
.lvp-comments-section input[type="url"],
.lvp-comments-section textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    margin-bottom: 20px;
    transition: border-color 0.3s;
}

.lvp-comments-section input:focus,
.lvp-comments-section textarea:focus {
    outline: none;
    border-color: var(--lvp-blue-main);
    box-shadow: 0 0 0 3px rgba(30, 77, 183, 0.1);
}

.lvp-comments-section .submit {
    background: var(--lvp-blue-main);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.lvp-comments-section .submit:hover {
    background: var(--lvp-blue-dark);
}

/* ==========================================================================
   HEADER LVP - DISEÑO PERSONALIZADO LOGO/BUSCADOR/FECHA
   ========================================================================== */

.lvp-header-top-row {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0px;
}

.lvp-header-logo {
    width: 100%;
}

.lvp-header-logo img {
    width: 100%;
    height: auto;
    max-height: 160px;
    object-fit: cover;
    border-radius: 8px;
    /* Para que luzca moderna y enmarcada */
}



.lvp-search-form {
    width: 100%;
}

.lvp-search-wrapper {
    display: flex;
    width: 100%;
    border: 2px solid var(--brand-accent);
    border-radius: 50px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

.lvp-search-wrapper:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2), 0 0 20px rgba(30, 94, 255, 0.5);
}

.lvp-search-field {
    border: none;
    padding: 12px 20px;
    width: 100%;
    font-family: 'Inter', sans-serif;
    outline: none;
    font-size: 1rem;
    color: var(--text-primary);
    background: transparent;
}

.lvp-search-submit {
    background: var(--lvp-blue-main);
    color: #fff;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.lvp-search-submit:hover {
    background: var(--lvp-blue-dark);
}

/* Header Enhancements - Modern Media Style with Background */
.lvp-main-header {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    width: 100%;
    min-height: 350px;
}

.lvp-header-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.7) 100%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.lvp-header-utility-bar {
    background: var(--brand-primary);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--brand-secondary);
    padding: 12px 0;
    color: #fff;
    transition: all 0.3s ease;
}

.lvp-header-logo-top {
    flex: 0 0 auto;
}

.main-header-img-small {
    max-height: 45px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.lvp-header-logo-top:hover .main-header-img-small {
    transform: scale(1.05);
}

.lvp-header-date {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.lvp-header-date i {
    color: var(--brand-accent-soft);
}

.lvp-header-time {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    background: var(--brand-secondary);
    padding: 6px 20px;
    border-radius: 8px;
    border: 2px solid var(--brand-accent);
    box-shadow: 0 0 15px rgba(30, 94, 255, 0.4);
    font-weight: 800;
    font-family: 'Inter', monospace;
    font-size: 1.2rem;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

.lvp-header-time:hover {
    background: var(--brand-accent);
    border-color: #fff;
    box-shadow: 0 0 25px var(--brand-accent);
}

/* Logo and Search Row */
.lvp-header-top-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 30px 0;
}

.lvp-header-search {
    flex: 0 1 400px;
    width: 100%;
}

.lvp-search-wrapper {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 3px solid transparent !important;
    border-radius: 60px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    height: 50px;
    padding: 0 10px 0 20px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.lvp-search-wrapper:focus-within {
    border-color: var(--brand-accent) !important;
    transform: translateY(-2px);
}

.search-icon-left {
    color: var(--brand-primary);
    font-size: 1.25rem;
    margin-right: 12px;
    opacity: 0.7;
}

.lvp-search-field {
    color: #000 !important;
    font-size: 1rem !important;
    font-weight: 500;
}

.lvp-search-field::placeholder {
    font-size: 0.85rem !important;
    font-weight: 400;
    opacity: 0.6;
}


.lvp-search-submit {
    background: var(--brand-accent) !important;
    border-radius: 50px !important;
    height: 40px;
    width: 40px;
    min-width: 40px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    transition: all 0.3s ease;
}

.lvp-search-submit:hover {
    transform: scale(1.05);
}

.lvp-sticky-wrapper {
    transition: all 0.3s ease;
    width: 100%;
}

.lvp-header-utility-bar {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
    color: #fff;
    transition: all 0.3s ease;
    /* Smooth shrink */
}

.main-navigation {
    transition: all 0.3s ease;
    /* Smooth shrink */
}

.lvp-is-sticky {
    position: fixed !important;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    animation: lvpSlideDown 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@keyframes lvpSlideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Sticky internal components - Cleaned up duplication */
.lvp-header-search-sticky {
    display: none;
    flex: 0 1 450px;
    margin: 0 30px;
}

.lvp-search-wrapper-mini {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    height: 34px;
    display: flex;
    align-items: center;
    padding: 0 5px 0 15px;
    backdrop-filter: blur(10px);
}

.lvp-search-field-mini {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 0.85rem !important;
    width: 100%;
    outline: none !important;
}

.lvp-search-field-mini::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.lvp-search-submit-mini {
    background: var(--brand-accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
}

/* STAGGERED STICKY SYSTEM - Stays fixed on scroll */
.lvp-header-utility-bar {
    position: sticky;
    top: 0;
    z-index: 1050;
    /* Higher than nav to stay on top */
    background: var(--brand-primary);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--brand-accent);
    height: 45px;
    padding: 0;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lvp-header-search-sticky {
    display: none;
}

.row-nav {
    position: sticky;
    top: 45px;
    /* Matches normal Utility Bar height */
    z-index: 1040;
    transition: all 0.3s ease;
}

.lvp-scrolled .row-nav {
    top: 38px;
    /* Matches slim Utility Bar height */
}

.main-navigation {
    background: var(--brand-secondary) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Normal State (At the top) */
.lvp-main-header {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    width: 100% !important;
    height: 160px;
    min-height: 160px;
}

.lvp-header-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, transparent 50%, rgba(0, 0, 0, 0.6) 100%);
    height: 160px;
    width: 100% !important;
    display: flex;
    flex-direction: column;
}

.lvp-header-main-row {
    padding: 15px 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-grow: 1;
}

.lvp-header-search {
    flex: 0 1 400px;
}

/* Scroll Adjustments (Centering search and transparency) - Ultra Compact Mode */
.lvp-scrolled .lvp-header-utility-bar {
    background: rgba(10, 31, 68, 0.85) !important;
    height: 38px;
}

.lvp-scrolled .main-navigation {
    background: rgba(15, 46, 109, 0.8) !important;
    min-height: 35px;
}

.lvp-scrolled .lvp-header-search-sticky {
    display: block;
    flex-grow: 1;
    max-width: 400px;
    margin: 0 auto;
}

.lvp-scrolled .main-header-img-small {
    max-height: 22px;
}

.lvp-scrolled .lvp-header-date {
    font-size: 0.7rem;
}

.lvp-scrolled .lvp-header-time {
    padding: 1px 10px;
    font-size: 0.85rem;
    height: 24px;
}

.lvp-scrolled .main-navigation .nav-link,
.lvp-scrolled .main-navigation .navbar-nav li a {
    height: 35px;
    font-size: 0.75rem;
    padding: 0 15px !important;
}

.lvp-header-utility-bar i {
    font-size: 0.9rem;
    margin-right: 5px;
    opacity: 0.9;
}

.lvp-mini-search-icon {
    color: var(--brand-accent-soft);
    margin-right: 8px;
    font-size: 0.9rem;
}

.lvp-search-wrapper-mini {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    height: 30px;
    display: flex;
    align-items: center;
    padding: 0 5px 0 15px;
    backdrop-filter: blur(10px);
}

.lvp-search-field-mini {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 0.8rem !important;
    width: 100%;
    outline: none !important;
}

.lvp-search-submit-mini {
    background: var(--brand-accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    cursor: pointer;
}

@media (max-width: 991px) {
    .lvp-header-top-row {
        justify-content: center !important;
        padding: 20px 0;
    }

    .lvp-header-search {
        max-width: 90% !important;
        width: 100%;
    }

}

/* FontAwesome Icon Specific Tweaks */
.lvp-header-utility-bar i {
    font-size: 1rem;
    margin-right: 5px;
    opacity: 0.9;
}

.lvp-header-time i {
    color: #fff;
}

#lvp-clock {
    display: inline-block;
    animation: digital-pulse 1.5s infinite;
}

@keyframes digital-pulse {
    0% {
        color: #fff;
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    }

    50% {
        color: var(--brand-accent-soft);
        text-shadow: 0 0 15px var(--brand-accent), 0 0 25px var(--brand-accent);
    }

    100% {
        color: #fff;
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    }
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--brand-accent);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background: var(--brand-secondary);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}