:root {
    --fondo-web: #ffffff;
    --text-page: #242424;
    --title-page: #313131;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/** COLORS LINK **/

.page-header h1 {
    color: var(--title-page);
}
.blog-card-title a {
    color: var(--title-page);
}

/**************************/

body {
    height: 100vh;
    height: 100dvh;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-page);
}

.mobile-topbar,
.mobile-drawer,
.mobile-drawer-backdrop {
    display: none;
}

.main {
    display: grid;
    grid-template-columns: 300px 1fr;
    height: 100%;
}

.header {
    background: var(--sidebar-bg, #2c3e50);
    color: var(--menu-text, #ffffff);
    padding: 20px;
    border-right: 1px solid var(--sidebar-border, rgba(255, 255, 255, 0.12));
    overflow-y: auto;
}

.container-header {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 100%;
}

.container-header .widget-header:last-child {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.logo {
    margin: 0 auto;
    width: 100%;
    max-width: 250px;
    height: auto;
    display: block;
}

.site-title {
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.4px;
    line-height: 1.2;
}

.menu-vertical {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-vertical a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--menu-text, #ffffff);
    background: var(--menu-bg, rgba(0, 0, 0, 0.3));
    border: 1px solid var(--menu-item-border, rgba(255, 255, 255, 0.18));
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.menu-vertical a:hover {
    background: var(--menu-hover, rgba(255, 255, 255, 0.15));
    color: var(--menu-text-hover, #ffffff);
    transform: translateX(6px);
}

.menu-vertical a i {
    width: 20px;
    text-align: center;
    color: var(--menu-icon, #ffffff);
    flex: 0 0 20px;
}

.menu-vertical a span {
    flex: 1 1 auto;
}

.menu-vertical a:hover i {
    color: var(--menu-icon-hover, #ffffff);
}

.menu-credit {
    color:#ffffff;
    margin-top: auto;
    padding-top: 14px;
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.85;
    text-align: center;
}

.menu-credit a {
    color: var(--menu-text, #ffffff);
    text-decoration: none;
    border-bottom: 1px dotted var(--menu-item-border, rgba(255, 255, 255, 0.18));
}

.menu-credit a:hover {
    color: var(--menu-text-hover, #ffffff);
    border-bottom-color: var(--menu-text-hover, #ffffff);
}

.main-content {
    background: var(--fondo-web);
    padding: 20px;
    overflow-y: auto;
}

.container-main {
    height: 100%;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.container-main-full {
    max-width: none;
    margin: 0;
    width: 100%;
    height: 100%;
}

body.home-shortcodes .main-content {
    padding: 0;
}

.home-fullwidth {
    width: 100%;
}

.home-fullheight {
    width: 100%;
}

.home-fullheight .radio-hero {
    height: 100%;
    min-height: 100%;
    display: flex;
}

.home-fullheight .radio-hero .radio-player {
    flex: 1 1 auto;
    min-height: 0;
}

.home-fullheight .radio-hero .radio-player #lunaradio {
    width: 100% !important;
    height: 100% !important;
    min-height: 420px;
    display: block;
}

.home-fullheight:not(.home-hero-mobile-full) {
    height: 600px;
    min-height: 600px;
}

@media (max-width: 1199px) {
    .home-fullheight:not(.home-hero-mobile-full) {
        height: auto;
        min-height: 420px;
    }
}

.home-fullheight.home-hero-mobile-full {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
}

@supports (height: 100dvh) {
    .home-fullheight.home-hero-mobile-full {
        height: 100dvh;
        min-height: 100dvh;
    }
}

.home-fullheight.home-hero-mobile-full .radio-hero,
.home-fullheight.home-hero-mobile-full .radio-hero .radio-player {
    height: 100%;
    min-height: 0;
}

.home-fullheight.home-hero-mobile-full .radio-hero .radio-player #lunaradio {
    height: 100% !important;
    min-height: 0 !important;
    display: block;
}

@media (max-width: 959px) {
    body {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .main {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .header {
        display: none;
    }

    .main-content {
        overflow: visible;
        padding: 0;        
    }

    .mobile-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 14px;
        background: var(--sidebar-bg, #2c3e50);
        color: var(--menu-text, #ffffff);
        border-bottom: 1px solid var(--sidebar-border, rgba(255, 255, 255, 0.12));
    }

    .mobile-title {
        font-weight: 800;
        font-size: 15px;
        letter-spacing: 0.3px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .mobile-menu-toggle {
        appearance: none;
        border: 1px solid var(--menu-item-border, rgba(255, 255, 255, 0.18));
        background: var(--menu-bg, rgba(0, 0, 0, 0.3));
        color: var(--menu-text, #ffffff);
        border-radius: 10px;
        padding: 10px 12px;
        cursor: pointer;
        line-height: 1;
        font-size: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
    }

    .mobile-drawer-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 12000;
    }

    .mobile-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: 80vw;
        max-width: 420px;
        background: var(--sidebar-bg, #2c3e50);
        color: var(--menu-text, #ffffff);
        z-index: 12001;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        overflow-y: auto;
        border-right: 1px solid var(--sidebar-border, rgba(255, 255, 255, 0.12));
        padding: 16px;
        gap: 16px;
        pointer-events: none;
    }

    .mobile-drawer nav.menu-vertical {
        flex: 1 1 auto;
    }

    .mobile-drawer .menu-credit {
        padding-bottom: 6px;
    }

    .mobile-drawer.is-open {
        transform: translateX(0);
        pointer-events: auto;
    }

    body.drawer-open {
        overflow: hidden;
    }

    body.drawer-open .mobile-drawer-backdrop {
        display: block;
    }

    .mobile-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .mobile-drawer-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        flex: 1 1 auto;
    }

    .mobile-drawer-logo {
        width: 40px;
        height: 40px;
        object-fit: contain;
        flex: 0 0 40px;
    }

    .mobile-drawer-title {
        color: #ffffff;
        font-weight: 800;
        font-size: 16px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-drawer-close {
        appearance: none;
        border: 1px solid var(--menu-item-border, rgba(255, 255, 255, 0.18));
        background: var(--menu-bg, rgba(0, 0, 0, 0.3));
        color: var(--menu-text, #ffffff);
        border-radius: 10px;
        padding: 10px 12px;
        cursor: pointer;
        line-height: 1;
        font-size: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
    }
}

/************************************* */
/* CSS MODIFICACION PAGE TITLE */
/*************************************/

.page-title {
    text-align: center;
    color: #212121;
    border-bottom: 3px solid #6e6e6e; 
    width: 100%;  
    padding-bottom: 10px; 
    text-transform: uppercase;
    font-size: 2.4rem;
    font-weight: 700;
    margin: 20px 0;
    padding-bottom: 20px;
}

.social-media-section {
    margin-top: 2rem;
    padding-top: 10px;
}
@media (max-width: 768px) {
.page-title {
    font-size: 1.8rem;
}
}

/**************************
css blog
**************************/

.blog-card-title {
    color: #3f3f3f;
}

.blog-card-title a {
    color: #3f3f3f;
}

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

.blog-card-link {
    color: #3f3f3f;
}
.blog-card-link:hover {
    color: #000000;
}
.related-post-excerpt, .blog-card-excerpt {
    color: rgb(43, 43, 43);
}
.related-post-meta {
    color: rgb(128, 128, 128);
}
.main-content .ir-atras a {
    color: rgb(212, 212, 212);
}
