:root {
    --web-bg: #ffffff;
    --web-surface-bg: #ffffff;
    --topbar-bg: #ffffff;
    --topbar-text: #0f172a;
    --topbar-link: #0f172a;
    --topbar-link-active: #d30a0a;
    --topbar-border: rgba(15, 23, 42, 0.08);
    --primary-color: #0d83b5;
    --secondary-color: #96BF0B;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #666;
    --white: #fff;
    --card-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: auto;
}

body {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background-color: var(--web-bg);
    background-image: var(--web-bg-overlay, none), var(--web-bg-image, none);
    background-repeat: var(--web-bg-repeat, no-repeat);
    background-size: var(--web-bg-size, cover);
    background-position: var(--web-bg-position, center center);
    overflow-x: hidden;
    overflow-y: auto;    
    margin: 0;
    padding: 0;
}

.main-content {
    height: auto;
    overflow: visible;
}

@media screen and (max-width: 860px) {
    .main-content {
        margin-top: 0px;
        height: auto !important;
    }
}



.main-content.blog-main-content {
    margin-left: 0;
    padding-top: 0;
    width: 100%;
    box-sizing: border-box;
    min-height: 0;
}

.modern-home-page {
    grid-row: 2;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    background: var(--web-surface-bg);
    border: 1px solid #dbdbdbff;
    border-radius: 8px;
    overflow: visible;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .modern-home-page {
        width: auto;
        margin: 20px 10px;
    }

    .top-header-inner {
        padding-left: 10px;
        padding-right: 10px;
    }

    .top-site-footer-inner {
        padding-left: 10px;
        padding-right: 10px;
    }
}

.top-header {
    grid-row: 1;
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--topbar-bg);
    border-bottom: 1px solid var(--topbar-border);
    width: 100%;
}


.top-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.top-brand {
    color: var(--topbar-text);
    text-decoration: none;
    font-weight: 800;
    font-size: 28px;
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
}
@media (max-width: 1100px) {
.top-brand {
    font-size: 20px;
}
}
.top-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex-wrap: wrap;
}

.top-nav-link {
    color: var(--topbar-link);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 15px;
    line-height: 1;
    padding: 8px 2px;
}

.top-nav-link:hover {
    color: var(--topbar-link-active);
}

.top-nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--topbar-border);
    color: var(--topbar-text);
    border-radius: 10px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.top-nav-toggle i {
    font-size: 18px;
}

.top-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    z-index: 1000;
}

.top-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 300px;
    max-width: 86vw;
    background: var(--topbar-bg);
    border-right: 1px solid var(--topbar-border);
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    overflow: auto;
    z-index: 1001;
}

.top-drawer-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px;
    border-bottom: 1px solid var(--topbar-border);
}

.top-drawer-brand {
    color: var(--topbar-text);
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.top-drawer-close {
    background: transparent;
    border: 1px solid var(--topbar-border);
    color: var(--topbar-text);
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.top-nav-drawer .top-nav-link {
    padding: 12px 16px;
    width: 100%;
}

body.top-nav-open {
    overflow: hidden;
}

body.top-nav-open .top-nav-overlay {
    opacity: 1;
    pointer-events: auto;
}

body.top-nav-open .top-nav-drawer {
    transform: translateX(0);
}

.top-site-footer {
    grid-row: 3;
    border-top: 1px solid var(--topbar-border);
    background: var(--topbar-bg);
    padding: 18px 0;
}

.top-site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.top-site-footer-links {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.top-site-footer-link {
    color: var(--topbar-link);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.top-site-footer-link:hover {
    color: var(--topbar-link-active);
}

.top-site-footer-credits {
    color: var(--topbar-text);
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .top-site-footer-inner {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .top-site-footer-links {
        justify-content: center;
        width: 100%;
    }

    .top-site-footer-credits {
        width: 100%;
        text-align: center;
    }
}

.home-radio-player {
    max-width: 100%;
    height: 600px;
    margin: 20px;
    border-radius: 8px;
    padding: 0;
}

.home-radio-player #lunaradio {
    height: 100% !important;
    min-height: 420px;
}

@media (max-width: 1100px) {
    .top-nav-inline {
        display: none;
    }

    .top-nav-toggle {
        display: inline-flex;
    }
}

/****** TV ******/
.tv-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tv-hero {
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.tv-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><defs><pattern id='grain' width='100' height='100' patternUnits='userSpaceOnUse'><circle cx='50' cy='50' r='1' fill='rgba(255,255,255,0.1)'/></pattern></defs><rect width='100' height='100' fill='url(%23grain)'/></svg>");
    opacity: .3;
}

.tv-hero .hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 300px;
}
@media (max-width: 768px) { 
.tv-hero .hero-content {
    min-height: 100px;
}
}



.tv-hero .hero-tv {
    display: flex;
    justify-content: center;
    align-items: center;    
    background: #000000;
    border-radius: 8px;
}

.tv-hero .tv-player-container-small {
    background: rgba(255, 255, 255, .1);
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #000000;
    width: 100%;
    max-width: 100%;
}

.tv-hero .tv-player-wrapper-small {
    background: #000;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.tv-hero .tv-player-wrapper-small .video-container,
.tv-hero .tv-player-wrapper-small .youtube-container,
.tv-hero .tv-player-wrapper-small .iframe-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    background: #000;
    overflow: hidden;
}

.tv-hero .tv-player-wrapper-small .video-js,
.tv-hero .tv-player-wrapper-small iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.appstores-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 10px 16px;
    margin: 0 20px 20px;
    background: #1a1a1a;
    border-radius: 8px;
}

.appstores-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
}

.appstores-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
}

.appstores-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.appstore-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    color: #111;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    min-width: 200px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.appstore-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.appstore-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.appstore-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.appstore-badge-small {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.appstore-badge-big {
    font-size: 1rem;
    font-weight: 800;
}

body.has-appstores .home-radio-player {
    height: calc(100vh - 260px);
    min-height: 520px;
}

@media screen and (max-width: 860px) {
    .appstores-section {
        padding-top: 14px;
    }

    .appstores-badges {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        justify-content: center;
    }

    .appstores-title {
        font-size: 1.05rem;
    }

    .appstores-subtitle {
        font-size: 0.95rem;
    }

    .appstore-badge {
        min-width: 0;
        width: 100%;
        padding: 10px 12px;
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    .appstore-badge-icon {
        font-size: 1.6rem;
        line-height: 1;
    }

    .appstore-badge-text {
        align-items: center;
        text-align: center;
    }

    .appstore-badge-small {
        display: none;
    }

    .appstore-badge-big {
        font-size: 0.95rem;
    }

    body.has-appstores .home-radio-player {
        height: calc(100vh - 60px - 280px);
        min-height: 420px;
    }
}

@media (max-width: 768px) {
    .tv-hero .container {
        padding: 0 5px;
    }

    .tv-hero {
        padding: 0px 0;
    }
}
/****** CAMARAS ******/
.camaras-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.camaras-hero {
    background: linear-gradient(90deg, #000 0%, #212121 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.camaras-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><defs><pattern id='grain' width='100' height='100' patternUnits='userSpaceOnUse'><circle cx='50' cy='50' r='1' fill='rgba(255,255,255,0.1)'/></pattern></defs><rect width='100' height='100' fill='url(%23grain)'/></svg>");
    opacity: .3;
}

.camaras-hero .hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 300px;
}

.camaras-hero .hero-info {
    text-align: left;
}

.camaras-hero .hero-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.camaras-hero .contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.camaras-hero .contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, .1);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, .2);
    transition: all .3s ease;
}

.camaras-hero .contact-item:hover {
    background: rgba(255, 255, 255, .15);
    transform: translateY(-2px);
}

.camaras-hero .contact-item i {
    font-size: 1.5rem;
    color: #96bf0b;
    min-width: 24px;
}

.camaras-hero .contact-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.camaras-hero .contact-label {
    font-size: .9rem;
    color: rgba(255, 255, 255, .8);
    font-weight: 500;
}

.camaras-hero .contact-value {
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.camaras-hero .contact-value:hover {
    color: #96bf0b;
    text-decoration: none;
}

.camaras-hero .hero-title {
    font-size: 2.2rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.camaras-hero .hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: .9;
}

.camaras-hero .hero-social {
    margin-top: 40px;
}

.camaras-hero .hero-tv {
    display: flex;
    justify-content: center;
    align-items: center;
}

.camaras-hero .tv-player-container-small {
    background: rgba(255, 255, 255, .1);
    padding: 10px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .1);
    width: 100%;
    max-width: 100%;
}

.camaras-hero .tv-player-wrapper-small {
    background: #000;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.camaras-hero .tv-player-wrapper-small .video-container,
.camaras-hero .tv-player-wrapper-small .youtube-container,
.camaras-hero .tv-player-wrapper-small .iframe-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    background: #000;
    overflow: hidden;
}

.camaras-hero .tv-player-wrapper-small .video-js,
.camaras-hero .tv-player-wrapper-small iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.camaras-hero .social-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, .9);
    text-align: left;
}

.camaras-hero .social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.camaras-hero .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all .3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, .2);
}

.camaras-hero .social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
    color: #fff;
}

.camaras-hero .social-link.facebook {
    background: rgba(24, 119, 242, .8);
}

.camaras-hero .social-link.facebook:hover {
    background: rgba(24, 119, 242, 1);
}

.camaras-hero .social-link.youtube {
    background: rgba(255, 0, 0, .8);
}

.camaras-hero .social-link.youtube:hover {
    background: rgba(255, 0, 0, 1);
}

.camaras-hero .social-link.tiktok {
    background: rgba(0, 0, 0, .8);
}

.camaras-hero .social-link.tiktok:hover {
    background: rgba(0, 0, 0, 1);
}

.camaras-hero .social-link.instagram {
    background: linear-gradient(45deg, rgba(225, 48, 108, .8), rgba(255, 220, 128, .8));
}

.camaras-hero .social-link.instagram:hover {
    background: linear-gradient(45deg, rgba(225, 48, 108, 1), rgba(255, 220, 128, 1));
}

@media (max-width: 1020px) {
    .camaras-hero .hero-info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .camaras-hero .container {
        padding: 0 5px;
    }

    .camaras-hero .hero-content {
        gap: 40px;
        text-align: center;
    }

    .camaras-hero .hero-description {
        font-size: 1rem;
    }

    .camaras-hero .hero-title {
        font-size: 2rem;
    }

    .camaras-hero .hero-social {
        text-align: center;
    }

    .camaras-hero .social-title {
        text-align: center;
    }

    .camaras-hero .social-links {
        justify-content: center;
    }

    .camaras-hero .social-link {
        width: 30px;
        height: 30px;
    }

    .camaras-hero {
        padding: 40px 0;
    }

    .camaras-hero .hero-info {
        text-align: center;
        order: 2;
    }

    .camaras-hero .contact-info {
        border-radius: 8px;
        padding: 10px;
    }

    .camaras-hero .hero-tv {
        order: 1;
    }
}

@media screen and (max-width: 860px) {

}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.blog-cat-nav {
    margin-bottom: 16px;
}

.blog-cat-nav-inner {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    background: #ebebeb;
    border: 1px solid #eef1f4;
    border-radius: 14px;
    padding: 10px;
}

.blog-cat-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #dde2e8;
    background: #f6f7f9;
    color: #1f2328;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.blog-cat-link:hover {
    background: #eef1f4;
    border-color: #cfd6dd;
    color: #1f2328;
}

.blog-cat-link.active {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #ffffff;
}

.blog-category-header {
    padding: 10px 0 18px;
}

.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6c757d;
    font-size: 14px;
    margin: 40px 0px 30px;
}

.blog-breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.blog-breadcrumb-link:hover {
    color: #1f2328;
}

.blog-breadcrumb-sep {
    opacity: 0.7;
}

.blog-breadcrumb-current {
    color: #1f2328;
}

@media (max-width: 860px) {
    .blog-breadcrumb {
        display: none;
    }
}

.blog-category-title {
    margin: 0;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1f2328;
}

.blog-category-desc {
    margin: 10px 0 0;
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 100%;
}

@media (max-width: 860px) {
    .blog-category-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 860px) {
    .blog-cat-nav-inner {
        justify-content: center;
        flex-wrap: wrap;
        overflow-x: visible;
        -webkit-overflow-scrolling: auto;
    }

    .blog-cat-link {
        white-space: normal;
    }
}

.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #007bff;
    text-align: center;
}

.blog-list-header {
    display: none;
}

.whatsapp-float,
.share-button,
.share-options {
    display: none !important;
}

.page-header h1 {
    color: #333;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.blog-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.5;
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-weight: 400;
}

.blog-main-content {
    width: 100%;
}

.blog-main-content iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: none;
    display: block;
}

.nota-iframe {
    margin: 2rem 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.iframe-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.iframe-container iframe {
    width: 100%;
    min-height: 315px;
    border: none;
    border-radius: 8px;
}

.nota-fuente {
    padding: 10px 20px;
    background: #f8f9fa;
    margin: 1.5rem 0;
}

.fuente-texto {
    margin: 0;
    font-size: 0.95rem;
    color: #495057;
}

.fuente-enlace {
    color: #007bff;
    text-decoration: none;
    word-break: break-all;
    transition: color 0.3s ease;
}

.fuente-enlace:hover {
    color: #0056b3;
    text-decoration: underline;
}

.fuente-enlace i {
    font-size: 0.8rem;
    opacity: 0.7;
}

.blog-grid-3-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 0;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    flex-shrink: 0;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffc107;
    color: #000;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.blog-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-card-meta {
    color: #6c757d;
    font-size: 13px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-card-meta i {
    margin-right: 3px;
}

.blog-card-meta .badge {
    font-size: 11px;
    padding: 3px 8px;
}

.blog-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-title a:hover {
    color: #007bff;
}

.blog-card-excerpt {
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
    font-size: 14px;
    margin-top: auto;
}

.blog-card-link:hover {
    color: #0056b3;
}

.blog-card-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.blog-card-link:hover i {
    transform: translateX(3px);
}

.nota-extracto {
    margin-top: 20px;
    padding: 5px 20px;
    border-radius: 0 8px 8px 0;
    text-align: left;
}

.nota-extracto .lead {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 0;
    font-style: italic;
}

.page-header.text-start h1,
.page-header.text-start p,
.page-header.text-start .nota-extracto {
    text-align: left !important;
}

.nota-imagen img {
    width: 100%;
    height: auto;
    display: block;
}

.nota-contenido {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    max-width: 100%;
    padding-bottom: 10px;
    overflow-wrap: break-word;
}

.author-profile {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #eef1f4;
}

.author-profile-inner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.author-avatar {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border-radius: 999px;
    overflow: hidden;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.author-avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 22px;
    color: #ffffff;
    background: #6c757d;
}

.author-info {
    min-width: 0;
}

.author-name {
    font-size: 18px;
    font-weight: 800;
    color: #1f2328;
    line-height: 1.2;
}

.author-bio {
    margin-top: 6px;
    color: #6c757d;
    line-height: 1.5;
}

.ir-atras {
    padding: 10px 15px;
    border-radius: 8px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nota-contenido p {
    margin-bottom: 6px;
}

h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 20px 0 6px 0;
    line-height: 1.2;
    padding-bottom: 10px;
}

.nota-contenido h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #34495e;
    margin: 20px 0 6px 0;
    line-height: 1.3;
    padding-left: 15px;
}

.nota-contenido h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #34495e;
    margin: 20px 0 6px 0;
    line-height: 1.4;
}

.nota-contenido h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #34495e;
    margin: 20px 0 6px 0;
    line-height: 1.4;
}

.nota-contenido h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #34495e;
    margin: 20px 0 6px 0;
    line-height: 1.4;
}

.nota-contenido h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #34495e;
    margin: 20px 0 6px 0;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nota-contenido b,
.nota-contenido strong {
    font-weight: 700;
    color: #2c3e50;
}

.nota-contenido em,
.nota-contenido i {
    font-style: italic;
    color: #34495e;
}

.nota-contenido small {
    font-size: 0.875rem;
    color: #7f8c8d;
}

.nota-contenido a {
    color: #3498db;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.nota-contenido a:hover {
    color: #2980b9;
    text-decoration: none;
}

.nota-contenido ul,
.nota-contenido ol {
    margin: 20px 0;
    padding-left: 30px;
}

.nota-contenido ul li {
    list-style-type: disc;
    margin-bottom: 8px;
    line-height: 1.6;
}

.nota-contenido ol li {
    list-style-type: decimal;
    margin-bottom: 8px;
    line-height: 1.6;
}

.nota-contenido ul ul,
.nota-contenido ol ol,
.nota-contenido ul ol,
.nota-contenido ol ul {
    margin: 10px 0;
}

.nota-contenido li p {
    margin-bottom: 10px;
}

.nota-contenido hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, #bdc3c7, transparent);
    margin: 20px 0;
}

.nota-contenido blockquote {
    margin: 25px 0;
    padding: 10px 10px 10px 45px;
    background: #f8f9fa;
    font-style: italic;
    color: #34495e;
    position: relative;
}

.nota-contenido blockquote::before {
    content: '"';
    font-size: 4rem;
    color: #bdc3c7;
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: Georgia, serif;
}

.nota-contenido blockquote p:last-child {
    margin-bottom: 0;
}

.nota-contenido cite {
    font-style: normal;
    font-weight: 600;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.nota-contenido code {
    background: #f1f2f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #e74c3c;
}

.nota-contenido pre {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    line-height: 1.4;
}

.nota-contenido pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.nota-contenido span.highlight {
    background: #f39c12;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
}

.nota-contenido span.badge {
    background: #3498db;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.nota-contenido br {
    line-height: 0;
    display: none;
    margin: 0;
    padding: 0;
}

.nota-contenido table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.nota-contenido th,
.nota-contenido td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
}

.nota-contenido th {
    background: #34495e;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.nota-contenido tr:hover {
    background: #f8f9fa;
}

.nota-contenido img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.nota-contenido img:hover {
    transform: scale(1.02);
}

.nota-contenido .info-box {
    background: #e8f4fd;
    border: 1px solid #3498db;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.nota-contenido .warning-box {
    background: #fef9e7;
    border: 1px solid #f39c12;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.nota-contenido .success-box {
    background: #eafaf1;
    border: 1px solid #27ae60;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .blog-description {
        font-size: 1rem;
        line-height: 1.4;
    }

    .nota-contenido {
        font-size: 15px;
        line-height: 1.7;
    }

    .nota-contenido h1 {
        font-size: 2rem;
    }

    .nota-contenido h2 {
        font-size: 1.5rem;
    }

    .nota-contenido h3 {
        font-size: 1.25rem;
    }

    .nota-contenido ul,
    .nota-contenido ol {
        padding-left: 20px;
    }

    .nota-contenido blockquote {
        padding: 15px 20px;
        margin: 20px 0;
    }

    .nota-contenido table {
        font-size: 0.9rem;
    }

    .nota-contenido th,
    .nota-contenido td {
        padding: 8px 10px;
    }
}

.no-content {
    text-align: center;
    padding: 60px 20px;
}

.no-content i {
    display: block;
    margin: 0 auto 20px;
}

.pagination-container {
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
}

.pagination {
    margin-bottom: 0;
    display: inline-flex;
    list-style: none;
    gap: 5px;
}

.pagination .page-link {
    color: #007bff;
    border: 1px solid #dee2e6;
    padding: 8px 12px;
    margin: 0;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-weight: 500;
    background: white;
    text-decoration: none;
    min-width: 40px;
    text-align: center;
}

.pagination .page-link:hover {
    color: #0056b3;
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
    font-weight: 600;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
    cursor: not-allowed;
}

.pagination .page-item.disabled .page-link:hover {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
}

.pagination-info {
    color: #6c757d;
    font-size: 14px;
    margin-top: 15px;
}

@media (max-width: 1100px) {
    .blog-grid-3-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .blog-container {
        padding: 25px 15px;
    }
}

@media (max-width: 600px) {
    .blog-grid-3-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-container {
        padding: 20px 10px;
    }

    .blog-card-image {
        height: 180px;
    }
}

.sections-float {
    position: fixed;
    bottom: 180px;
    right: 15px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    user-select: none;
    animation: pulse-sections 2s infinite;
}

.sections-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, #0056b3, #004085);
}

.sections-float i {
    font-size: 16px;
}

@keyframes pulse-sections {
    0% {
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    }

    50% {
        box-shadow: 0 4px 20px rgba(0, 123, 255, 0.5);
    }

    100% {
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    }
}

.sections-menu {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.sections-menu.active {
    right: 0;
}

.sections-menu-header {
    padding: 20px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.sections-menu-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-sections {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.close-sections:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sections-menu-content {
    padding: 20px;
}

.section-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.section-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
    text-decoration: none;
    color: #333;
}

.section-item.active {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-left-color: #004085;
}

.section-item.active:hover {
    color: white;
}

.section-item.empty {
    opacity: 0.6;
}

.section-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.section-item span:first-of-type {
    flex: 1;
    font-weight: 500;
}

.section-count {
    background: #007bff;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    min-width: 25px;
    text-align: center;
}

.section-item.active .section-count {
    background: rgba(255, 255, 255, 0.2);
}

.section-item.empty .section-count {
    background: #6c757d;
}

.sections-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sections-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 860px) {
    .sections-float {
        bottom: 10px;
    }
}

@media (max-width: 768px) {
    .sections-menu {
        width: 300px;
        right: -300px;
    }

    .sections-float {
        bottom: 10px;
        right: 10px;
        padding: 10px 16px;
        font-size: 13px;
    }

    .sections-float span {
        display: none;
    }

    .sections-float {
        border-radius: 50%;
        width: 50px;
        height: 50px;
        padding: 0;
        justify-content: center;
    }

    .section-item {
        padding: 12px;
        margin-bottom: 8px;
    }

    .sections-menu-header {
        padding: 15px;
    }

    .sections-menu-content {
        padding: 15px;
    }
}

.share-buttons,
.share-buttons-end {
    border-top: 1px solid #e9ecef;
    margin-top: 20px;
    padding-top: 10px;
}

.share-title {
    color: #495057;
    text-align: center;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1rem;
}

.share-buttons-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 0 15px 0;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.share-btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.share-btn.facebook:hover {
    background-color: #166fe5;
    color: white;
}

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

.share-btn.whatsapp:hover {
    background-color: #22c55e;
    color: white;
}

.share-btn.telegram {
    background-color: #0088cc;
    color: white;
}

.share-btn.telegram:hover {
    background-color: #0077b5;
    color: white;
}

.share-btn.twitter {
    background-color: #000000;
    color: white;
}

.share-btn.twitter:hover {
    background-color: #333333;
    color: white;
}

.related-posts {
    border-top: 2px solid #e9ecef;
    padding-top: 30px;
    margin-bottom: 30px;
}

.related-posts-title {
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

.related-posts-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #007bff;
    border-radius: 2px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.related-post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

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

.related-post-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.related-post-content {
    padding: 20px;
}

.related-post-title {
    margin: 0 0 12px 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

.related-post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-title a:hover {
    color: #007bff;
    text-decoration: none;
}

.related-post-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.related-post-meta {
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
}

.related-post-meta small {
    color: #999;
    font-size: 0.85rem;
}

.related-post-meta i {
    margin-right: 5px;
    color: #007bff;
}

@media (max-width: 768px) {
    .share-buttons-group {
        justify-content: center;
    }

    .share-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .related-post-image {
        height: 200px;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

.latest-slider {
    border-radius: 14px;
    padding: 16px 0px 24px 0px;
    margin-bottom: 24px;
}

.latest-slider-track {
    position: relative;
    overflow: hidden;
}

.latest-slide {
    display: none;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    gap: 16px;
    align-items: stretch;
}

.latest-slide.active {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
}

.latest-slide-image {
    border-radius: 12px;
    overflow: hidden;
    background: #eef1f4;
    height: clamp(240px, 32vw, 420px);
}

.latest-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.latest-slide-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 0px;
}

.latest-slide-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6c757d;
    font-size: 14px;
}

.latest-badge {
    display: inline-block;
    background: #e6f0ff;
    color: #0d6efd;
    border: 1px solid #cfe2ff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.latest-title {
    font-size: 1.8rem;
    margin: 4px 0;
    line-height: 1.25;
}

.latest-title a {
    color: #1f2328;
    text-decoration: none;
}

.latest-excerpt {
    color: #495057;
    font-size: 1rem;
    line-height: 1.5;
}

.latest-cta {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #16a34a;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #128a3f;
    font-weight: 600;
    transition: background 0.2s ease;
    width: fit-content;
}

.latest-cta:hover {
    background: #15803d;
    color: #ffffff;
}

.latest-slider-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 24px;
}

.latest-slider-dots button {
    width: 32px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: #adb5bd;
    cursor: pointer;
    transition: all 0.2s ease;
}

.latest-slider-dots button.active {
    background: #0d6efd;
}

@media (max-width: 1100px) {
    .latest-slide.active {
        grid-template-columns: 1fr;
    }

    .latest-slide-image {
        height: clamp(220px, 56vw, 360px);
    }
}

.home-listen-section {
    padding: 18px 0 30px;
    border-top: 1px solid #d4d4d4;
}

.home-listen-section .latest-posts-title {
    text-align: center;
}
.blog-container .latest-posts-title {
    text-align: center;
}

.home-listen-grid {
    display: grid;
    grid-template-columns: repeat(5, 150px);
    gap: 14px;
    justify-content: center;
}

.home-listen-item {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    background: #eef1f4;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin: 0 auto;
}

.home-listen-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.home-listen-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 38px;
    color: #ffffff;
    background: #6c757d;
}

@media (max-width: 900px) {
    .home-listen-grid {
        grid-template-columns: repeat(3, 150px);
    }
}

@media (max-width: 520px) {
    .home-listen-grid {
        grid-template-columns: repeat(2, 150px);
        gap: 10px;
    }
}



/*** CSS DE PAGINAS  ***/

/* Contenedor principal de las páginas */
.pages-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 30px 20px;
}





.page-content {
    line-height: 1.6;
}

.page-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Estilos para la página de Staff */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.staff-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    text-align: center;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.staff-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center top;
}

.staff-name {
    margin: 1rem 0 0.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.staff-role {
    color: var(--dark-gray);
    font-style: italic;
    margin-bottom: 1rem;
}

.staff-description {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .staff-image {
        width: 100%;
        height: auto;
    }
    
}


/* Estilos para la página Nosotros */
.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.nosotros-imagen {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.nosotros-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.nosotros-img:hover {
    transform: scale(1.03);
}

.nosotros-content {
    margin: 0 auto;
    color: var(--text-color);
}

.nosotros-content h2 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.nosotros-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.imagen-placeholder {
    background-color: var(--medium-gray);
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
    font-style: italic;
}

@media (max-width: 768px) {
    .nosotros-grid {
        grid-template-columns: 1fr;
    }
    
    .nosotros-imagen {
        margin-bottom: 1.5rem;
    }
}

/* Estilos para la página de Programación */
.program-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.program-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid var(--primary-color);
}

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

.program-banner {
    width: 100%;
    height: auto;
    min-height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, rgb(13,181,196), rgb(255,0,255));
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-banner-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
    max-height: 250px;
}

.program-card:hover .program-banner-img {
    transform: scale(1.05);
}

.program-banner-link{
    display: block;
    width: 100%;
    text-decoration: none;
}

.program-content {
    padding: 1.5rem;
}

.program-name {
    margin: 0 0 0.8rem;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
}

.program-schedule {
    color: var(--dark-gray);
    font-size: 1rem;
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.program-schedule i {
    margin-right: 0.5rem;
    color: var(--primary-color);
    width: 16px;
}

.program-host {
    color: var(--dark-gray);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    margin: 0;
}

.program-host i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
    width: 16px;
}

.program-host strong {
    color: var(--primary-color);
}

.program-more-link{
    display: inline-block;
    margin-top: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.program-more-link:hover{
    text-decoration: underline;
}

/* Estilos para la página de Contacto */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info {
   /* background-color: var(--light-gray);*/
    border-radius: 8px;
    padding: 2rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
}

.contact-info-item strong {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.contact-form-container {
    border-radius: 8px;
    padding: 2rem;
    box-shadow: none;
}

.contact-form-container h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(13, 131, 181, 0.2);
}

.btn-submit {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    font-weight: bold;
}

.btn-submit:hover {
    background-color: var(--secondary-color);
}

/* botones de redes sociales  */
.social-media-section {
    /*margin-top: 2rem;*/
    padding-top: 10px;
}

.social-media-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

.social-media-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: white;
}

.social-btn i {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.social-btn.facebook {
    background: linear-gradient(135deg, #3b5998, #4c70ba);
}

.social-btn.facebook:hover {
    background: linear-gradient(135deg, #2d4373, #3b5998);
    color: white;
}

.social-btn.youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

.social-btn.youtube:hover {
    background: linear-gradient(135deg, #cc0000, #990000);
    color: white;
}

.social-btn.tiktok {
    background: linear-gradient(135deg, #000000, #333333);
}

.social-btn.tiktok:hover {
    background: linear-gradient(135deg, #333333, #000000);
    color: white;
}

.social-btn.instagram {
    background: linear-gradient(135deg, #e4405f, #833ab4, #fcb045);
}

.social-btn.instagram:hover {
    background: linear-gradient(135deg, #d62976, #962fbf, #fa7e1e);
    color: white;
}

.nosotros-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* Estilos responsivos */
@media (max-width: 992px) {
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .program-grid {
        grid-template-columns: 1fr;
    }
    
    .staff-grid {
        grid-template-columns: 1fr;
    }
    
    .pages-container {
        padding: 20px 10px;
    }
}

.tabs-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--medium-gray);
    padding-bottom: 1rem;
}

.tab-button {
    background-color: transparent;
    border: 1px solid var(--medium-gray);
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
}

.tab-button:hover {
    background-color: var(--light-gray);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-button.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.program-list-container {
    max-width: 100%;
    margin: 0 auto;
}

.programa-card {
    background: var(--white);
    border-radius: 8px;
    padding: 10px 20px;
    margin-bottom: 15px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid var(--medium-gray);
    border-left: 5px solid var(--secondary-color);
    display: flex;
    align-items: center;
}

.programa-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.programa-hora {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 90px;
    padding-right: 15px;
    border-right: 1px solid var(--medium-gray);
    margin-right: 15px;
}

.programa-info {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.programa-nombre {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--text-color);
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.programa-conductor {
    color: var(--dark-gray);
    font-size: 0.95rem;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 40%;
}

.programa-conductor i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.no-program-msg {
    text-align: center;
    padding: 3rem 0;
    color: var(--dark-gray);
}

.programa-live {
    border-color: #f00 !important;
    border-width: 2px;
    background-color: #fff5f5;
    position: relative;
}

.live-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background-color: #f00;
    color: #fff;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.day-short {
    display: none;
}

@media (max-width: 768px) {
    .day-full {
        display: none;
    }

    .day-short {
        display: inline;
    }

    .tabs-container {
        justify-content: center;
        overflow-x: visible;
        padding-bottom: 0;
        flex-wrap: wrap;
    }

    .tab-button {
        white-space: normal;
        margin-bottom: 5px;
    }

    .programa-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .programa-hora {
        width: 100%;
        min-width: 0;
        padding-right: 0;
        margin-right: 0;
        border-right: none;
        margin-bottom: 6px;
    }

    .programa-info {
        width: 100%;
        justify-content: center;
        flex-direction: column;
        gap: 6px;
    }

    .programa-nombre {
        white-space: normal;
    }

    .programa-conductor {
        text-align: center;
        max-width: 100%;
        white-space: normal;
    }
}

.timezone-selector-container {
    text-align: center;
    margin-bottom: 2rem;
    background-color: var(--light-gray);
    padding: 1rem;
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.timezone-selector-container label {
    font-weight: 600;
    margin-right: 10px;
    color: var(--text-color);
}

.timezone-select {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid var(--medium-gray);
    background-color: #fff;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
    max-width: 350px;
}

body.has-mensajito {
    padding-bottom: 30px;
}

.mensajito-ticker {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 30px;
    overflow: hidden;
    z-index: 9999;
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.mensajito-content {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: marquee 30s linear infinite;
    font-size: 1.05rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/*.home-radio-player #lunaradiotextradioname {
    position: absolute !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    text-align: center;
    top: 296px !important;
    left: 20px !important;
    width: calc(100% - 40px) !important;
    height: 74.5px !important;
    line-height: 74.5px !important;
}

.home-radio-player #lunaradiotexttitle {
    position: absolute !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    text-align: center;
    top: 348.5px !important;
    left: 20px !important;
    width: calc(100% - 40px) !important;
    height: 64.5px !important;
    line-height: 64.5px !important;
}
*/

/* Estilos para enlaces legales en pÃ¡ginas de contenido */
.legal-links-container {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.legal-links-container h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.legal-links-content {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;    
    justify-content: center !important;
}

.legal-link {
    display: inline-block;
    padding: 8px 15px;
    background-color: #f5f5f5;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.legal-link:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}
