/* ===== YPANÉ FM - Modern UI Overrides ===== */

:root {
    --modern-radius: 12px;
    --modern-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --modern-shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.12);
    --modern-orange: #ff6600;

    /* Theme Variables - Default Light */
    --bg-body: #f5f7f9;
    --bg-card: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-main: #2c3e50;
    --text-light: #7f8c8d;
    --border-soft: #eeeeee;
    --bg-footer: #cecece;
    --text-footer: #2c3e50;
    --border-footer: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --bg-body: #121212;
    --bg-card: #1e1e1e;
    --bg-secondary: #2d2d2d;
    --text-main: #eeeeee;
    --text-light: #aaaaaa;
    --border-soft: #333333;
    --modern-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --bg-footer: #1a1a1a;
    --text-footer: #eeeeee;
    --border-footer: rgba(255, 255, 255, 0.1);
}

/* Swup Transitions */
.swup-transition-main {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    opacity: 1;
    transform: translateY(0);
}

html.is-leaving .swup-transition-main {
    opacity: 0;
    transform: translateY(10px);
}

html.is-rendering .swup-transition-main {
    opacity: 0;
    transform: translateY(-10px);
}

/* Swup Progress Bar */
.swup-progress-bar {
    background-color: #ff6d22 !important;
    height: 4px !important;
}


body {
    font-family: 'Roboto', sans-serif !important;
    color: var(--text-main);
    background-color: var(--bg-body) !important;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Container & Content --- */
.main-content {
    background: transparent !important;
    box-shadow: none !important;
}

/* --- Modern Pagination --- */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 30px 0;
    margin-top: 20px;
    gap: 10px;
}

.pagination-item {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    background: var(--bg-secondary);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.pagination-item:hover {
    background: #ffffff;
    border-color: rgba(255, 126, 38, 0.24);
    color: var(--modern-orange);
    text-decoration: none;
    transform: translateY(-1px);
}

.pagination-item.active {
    background: #ff7e26;
    color: #ffffff;
    border-color: #ff7e26;
    box-shadow: 0 10px 22px rgba(255, 126, 38, 0.32);
}

.pagination-item.dots {
    background: transparent;
    cursor: default;
    box-shadow: none;
    border-color: transparent;
}

.pagination-item.dots:hover {
    color: var(--text-main);
    background: transparent;
    transform: none;
}

.pagination-nav {
    gap: 8px;
    min-width: 88px;
}

.pagination-disabled {
    opacity: 0.45;
    pointer-events: none;
    box-shadow: none;
}

[data-theme="dark"] .pagination-item {
    background: #2d2d2d;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .pagination-item:hover {
    background: #444;
}

[data-theme="dark"] .pagination-item.active {
    background: #ff7e26;
    border-color: #ff7e26;
}

@media (max-width: 768px) {
    .pagination-container {
        gap: 8px;
        justify-content: flex-start;
    }

    .pagination-item {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
    }

    .pagination-nav {
        min-width: 74px;
    }
}

/* --- Modern Single Article (noticia.php) --- */
.post-wrapper {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--modern-radius);
    box-shadow: var(--modern-shadow);
    margin-bottom: 40px;
}

.post-header .post-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin: 20px 0;
    color: var(--text-main);
}

.post-header .simple-share {
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 15px;
    margin-bottom: 25px;
    font-size: 14px;
    color: var(--text-light);
}

.post-header .simple-share b {
    color: var(--modern-orange);
}

.post-wrapper .image-overlay {
    border-radius: var(--modern-radius);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.post-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-main);
    font-family: 'Roboto', sans-serif;
}

.post-content p {
    margin-bottom: 25px;
}

.post-content img {
    border-radius: var(--modern-radius);
    margin: 20px 0;
    max-width: 100%;
    height: auto;
}

.post-content audio,
.post-content video {
    border-radius: var(--modern-radius);
    margin: 20px 0;
    box-shadow: var(--modern-shadow);
}

.post-meta {
    border-top: 1px solid var(--border-soft);
    padding-top: 25px;
    margin-top: 40px;
}

[data-theme="dark"] .post-wrapper {
    background: #1e1e1e;
    border: 1px solid #333;
}

/* Related Posts Fixes */
.related-posts .news-block {
    background: var(--bg-card);
    border-radius: var(--modern-radius);
    overflow: hidden;
    box-shadow: var(--modern-shadow);
    transition: transform 0.3s ease;
}

.related-posts .news-block:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .post-wrapper {
        padding: 20px;
    }

    .post-header .post-title {
        font-size: 28px;
    }
}

/* --- Block Titles --- */
.block-title {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px !important;
    border-bottom: 2px solid var(--border-soft);
    padding-bottom: 10px;
}

.block-title span {
    background: var(--modern-orange);
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 13px;
}

/* --- Articles & Post Blocks --- */
.news-block,
.small-article,
.widget-post {
    background: var(--bg-card);
    border-radius: var(--modern-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-soft);
    margin-bottom: 20px !important;
}

.news-block:hover,
.small-article:hover,
.simple-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--modern-shadow-hover);
}

.simple-post {
    display: flex !important;
    align-items: flex-start;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--border-soft) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 15px 0 !important;
    margin-bottom: 0 !important;
}

.simple-post header {
    flex: 1;
    padding: 0 0 0 20px !important;
}

.simple-post h3 {
    font-size: 18px !important;
    line-height: 1.3 !important;
    margin-bottom: 5px !important;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important;
}

.simple-post h3 a {
    color: var(--text-main) !important;
    text-decoration: none !important;
}

.simple-post .excerpt {
    color: var(--text-light) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-top: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Image overlays & Boxes */
.image-overlay,
.feed-image,
.simple-thumb {
    background: #f0f0f0 !important;
    overflow: hidden;
    position: relative;
    display: block;
}

/* Specific clipping fixes for the "perfect box" feel */
.news-block .image-overlay {
    border-radius: var(--modern-radius) var(--modern-radius) 0 0;
    height: 350px;
    /* Fixed height for main news block */
}

.small-article .feed-image {
    border-radius: 8px;
    height: 70px;
    /* Fixed height for sidebar list */
}

.simple-post .simple-thumb {
    border-radius: 8px;
    width: 180px !important;
    height: 110px !important;
    flex-shrink: 0;
    margin-right: 0 !important;
}

/* Global image treatment */
.image-overlay img,
.feed-image img,
.simple-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    /* Crucial: ensures image fills the box without distortion */
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.news-block:hover .image-overlay img,
.small-article:hover .feed-image img,
.simple-post:hover .simple-thumb img {
    transform: scale(1.1);
}

/* --- Details & Titles --- */
.news-details {
    background: transparent !important;
    margin-top: 0 !important;
    padding: 20px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.news-title,
.small-article h3,
.simple-post h3 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important;
}

.news-title {
    font-size: 24px !important;
    line-height: 1.3 !important;
}

.news-title a,
.small-article h3 a,
.simple-post h3 a,
.widget-post h3 a,
.widget-post h3,
.widget-content li h3 a,
.widget-content li h3 {
    color: var(--text-main) !important;
    text-decoration: none !important;
}

.news-title a:hover,
.small-article h3 a:hover,
.simple-post h3 a:hover,
.widget-post h3 a:hover {
    color: var(--modern-orange) !important;
}

/* Metadata & General Text */
.post-metadata,
.post-date,
.news-details span,
.excerpt,
p {
    color: var(--text-light) !important;
}

/* Category Label */
.category {
    background: var(--modern-orange) !important;
    border-radius: 20px !important;
    padding: 4px 12px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    top: 15px !important;
    left: 15px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* --- Sidebar & Widgets --- */
.sidebar {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

.widget {
    background: var(--bg-card) !important;
    border-radius: var(--modern-radius);
    padding: 20px !important;
    box-shadow: var(--modern-shadow);
    margin-bottom: 25px !important;
    border: 1px solid var(--border-soft) !important;
}

.widget .block-title {
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 12px;
    margin-bottom: 20px !important;
}

.widget .block-title span {
    background: transparent !important;
    color: var(--modern-orange) !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
}

.widget-post {
    display: flex;
    align-items: flex-start;
    padding: 12px 0 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--border-soft) !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    transition: all 0.2s ease;
}

.widget-post:last-child {
    border-bottom: none !important;
}

.widget-post:hover {
    transform: translateX(5px);
}

.widget-post .simple-thumb {
    width: 80px !important;
    height: 80px !important;
    flex-shrink: 0;
    border-radius: 8px !important;
    margin-right: 15px !important;
    float: none !important;
}

.widget-post h3 {
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

/* Sidebar Ads */
.slider-item img {
    border-radius: var(--modern-radius);
    box-shadow: var(--modern-shadow);
}

/* --- News Feed (En Destaque) --- */
.news-feed {
    background: var(--bg-card);
    padding: 15px;
    border-radius: var(--modern-radius);
    box-shadow: var(--modern-shadow);
}

.news-feed .small-article {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--border-soft) !important;
    padding-bottom: 15px !important;
    margin-bottom: 15px !important;
}

.news-feed .small-article:last-child {
    border-bottom: none !important;
}

/* Rediseño para Móvil (Horizontal List) */
@media (max-width: 767px) {
    .news-feed {
        padding: 10px !important;
        margin-bottom: 30px;
    }

    .news-feed .small-article {
        display: flex !important;
        align-items: center !important;
        gap: 15px;
        padding-bottom: 12px !important;
        margin-bottom: 12px !important;
    }

    .news-feed .small-article .feed-image {
        width: 120px !important;
        height: 85px !important;
        /* Aumentado para ver más de la imagen */
        margin-bottom: 0 !important;
        border-radius: 8px !important;
        flex-shrink: 0;
        background: transparent !important;
        /* Elimina la barra gris */
    }

    .news-feed .small-article .feed-image a {
        display: block;
        height: 100%;
    }

    .news-feed .small-article h3 {
        font-size: 15px !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        font-weight: 600 !important;
    }
}


/* Newsletter / Category Widget list */
.categorywidget li a {
    background: var(--bg-secondary) !important;
    color: var(--text-main) !important;
}

.categorywidget li a:hover {
    background: var(--modern-orange) !important;
    color: #fff !important;
}

.categorywidget .count {
    background: rgba(128, 128, 128, 0.1);
}

/* Tab Widgets */
.nav-tabs {
    border-bottom: 2px solid var(--border-soft);
}

.nav-tabs>li>a {
    color: var(--text-light);
}

.nav-tabs>li.active>a {
    background: transparent !important;
    color: var(--modern-orange) !important;
    border-bottom: 2px solid var(--modern-orange) !important;
}

/* --- Video Section Modernization --- */
.youtube_video {
    border-radius: var(--modern-radius);
    margin: 30px 0 !important;
    background: linear-gradient(135deg, #ff7f00 0%, #ff6600 100%) !important;
    box-shadow: var(--modern-shadow);
    overflow: hidden;
}

#tvPlayer {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: #ff6d22;
}

/* Force sticky header color on scroll */
#main-menu.set-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10040;
    background-color: #ff6d22 !important;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

body.menu-fixed-active #swup > .container.main-wrapper > .mag-content.clearfix {
    padding-top: calc(var(--menu-fixed-offset, 56px) + 22px) !important;
}

body.menu-fixed-active .main-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.menu-fixed-active .blog-content > [class*="col-"]:first-child > .block-title {
    margin-top: 0 !important;
}

body.menu-fixed-active .blog-content > [class*="col-"]:first-child > .news-block:first-of-type,
body.menu-fixed-active .blog-content > [class*="col-"]:first-child > .simple-post:first-of-type {
    margin-top: 10px;
}

@media (max-width: 768px) {
    #main-menu {
        position: relative;
        z-index: 10040;
    }

    #main-menu .menu-list.active {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
    }

    body.menu-fixed-active #main-menu .menu-list.active {
        max-height: calc(100vh - var(--menu-fixed-offset, 52px));
        overflow-y: auto;
    }

    body.menu-fixed-active #swup > .container.main-wrapper > .mag-content.clearfix {
        padding-top: calc(var(--menu-fixed-offset, 52px) + 18px) !important;
    }

    body.menu-fixed-active .main-content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    body.menu-fixed-active .blog-content > [class*="col-"]:first-child > .news-block:first-of-type,
    body.menu-fixed-active .blog-content > [class*="col-"]:first-child > .simple-post:first-of-type {
        margin-top: 8px;
    }
}

#go-top-button {
    background-color: #ff6d22 !important;
    color: #fff !important;
    border: none !important;
}

/* --- Pro Sports Section (Symmetric Design) --- */
.sports-section-modern {
    background: #0a0a0a;
    padding: 60px 40px;
    margin: 40px 0;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.sports-header-pro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.title-group .sports-label {
    color: var(--modern-orange);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 5px;
}

.sports-title-main {
    color: #fff !important;
    font-size: 32px !important;
    font-weight: 900 !important;
    margin: 0 !important;
    text-transform: uppercase;
}

.sports-controls {
    display: flex;
    gap: 12px;
}

.sports-btn {
    background: #222;
    border: 1px solid #333;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sports-btn:hover {
    background: var(--modern-orange);
    border-color: var(--modern-orange);
    transform: scale(1.1);
}

.sports-slider-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.sports-slider-viewport::-webkit-scrollbar {
    display: none;
}

.sports-track {
    display: flex;
    gap: 20px;
}

.sports-item-card {
    flex: 0 0 calc((100% - 40px) / 3);
    /* Exactly 3 items symmetric */
    scroll-snap-align: start;
    background: #151515;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid #222;
}

.sports-item-card:hover {
    transform: translateY(-10px);
    border-color: #333;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.sports-image-wrap {
    width: 100%;
    height: 200px;
    aspect-ratio: 10 / 13;
    position: relative;
    overflow: hidden;
}

.sports-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
}

.sports-item-card:hover .sports-image-wrap img {
    transform: scale(1.1);
}

.sports-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}

.view-more-tag {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: var(--modern-orange);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    transition: all 0.3s ease;
}

.sports-item-card:hover .view-more-tag {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.sports-info {
    padding: 25px;
}

.sports-category-badge {
    background: rgba(255, 127, 0, 0.1);
    color: var(--modern-orange);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.sports-info h3 {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4;
    margin: 0 !important;
    transition: color 0.3s ease;
}

.sports-item-card:hover .sports-info h3 {
    color: var(--modern-orange) !important;
}

@media (max-width: 1100px) {
    .sports-item-card {
        flex: 0 0 calc((100% - 20px) / 2);
        /* 2 items visible */
    }
}

@media (max-width: 768px) {
    .sports-section-modern {
        padding: 40px 20px;
        margin: 20px 0;
        border-radius: 0;
    }

    .sports-item-card {
        flex: 0 0 85%;
        /* Mobile peek for context */
    }

    .sports-title-main {
        font-size: 24px !important;
    }

    .sports-controls {
        display: none;
    }
}

/* --- Modern Footer (Amambay Style) --- */
#main-footer {
    border-top: 1px solid var(--border-soft);
    padding: 10px 0;
    font-size: 15px;
    background-color: var(--bg-footer) !important;
    color: var(--text-footer);
    margin-top: 40px;
}

#main-footer .main-wrapper,
#bottom-pie .main-wrapper {
    padding-top: 0 !important;
}

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

.footer-content-row {
    margin-top: 0;
}

.footer-col {
    margin-bottom: 40px;
}

.footer-sections-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.footer-sections-list li {
    display: block;
    padding: 0;
    border: none;
}

.footer-sections-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-decoration: none;
    color: var(--text-footer);
    font-weight: 700;
    font-size: 13.5px;
    text-transform: uppercase;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-col.brand img {
    max-width: 180px;
    height: auto;
    margin-bottom: 25px;
}

.brand-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
}

.contact-data p {
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-main);
}

.contact-data strong {
    color: var(--modern-orange);
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.footer-social-icons .social-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 18px;
    transition: all 0.3s ease;
    background: #444;
}

.footer-social-icons .social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-social-icons .facebook {
    background: #1877f2;
}

.footer-social-icons .twitter {
    background: #1da1f2;
}

.footer-social-icons .instagram {
    background: #e4405f;
}

.footer-social-icons .youtube {
    background: #ff0000;
}

.footer-social-icons .whatsapp {
    background: #25d366;
}

.footer-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-footer);
    margin-bottom: 25px;
    padding-bottom: 0;
    color: var(--text-main);
}

.footer-header::before {
    display: none;
}

.footer-header span {
    font-size: 17px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--modern-orange);
    margin-bottom: -1.5px;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none !important;
}

.footer-item .f-thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.footer-item .f-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.footer-item:hover .f-thumb img {
    transform: scale(1.1);
}

.footer-item h4 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-main);
    margin: 0;
}

.footer-col.sections ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px 12px 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    position: relative;
}

.footer-col.sections ul li a::before {
    content: '\f105';
    font-family: FontAwesome;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--modern-orange);
}

.footer-col.sections ul li a:hover {
    color: var(--modern-orange);
    border-color: rgba(255, 109, 34, 0.35);
    transform: translateY(-1px);
}

.footer-col.sections ul li a .cat-label {
    display: block;
    padding-left: 16px;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1.2;
    flex: 1;
    min-width: 0;
}

.footer-col.sections ul li a .cat-count {
    flex: 0 0 auto;
    min-width: 42px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 109, 34, 0.12);
    color: var(--modern-orange);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
}

/* Bottom Pie */
#bottom-pie {
    background: #000;
    color: #888;
    padding: 30px 0 110px 0;
    /* Extra padding for sticky player */
    text-align: center;
    font-size: 13px;
    border-top: 1px solid #222;
}

#bottom-pie p {
    margin: 0;
}

#bottom-pie a {
    color: #fff;
    text-decoration: none;
}

#bottom-pie .dev-credit {
    margin-top: 15px;
}

#bottom-pie .dev-credit img {
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

#bottom-pie .dev-credit img:hover {
    opacity: 1;
}

@media (max-width: 992px) {
    .footer-col {
        margin-bottom: 50px;
    }
}

/* Sticky Player Bar */
.player-bar-container {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 30px);
    max-width: 1170px;
    background-color: rgba(10, 10, 10, 0.5);
    color: white;
    z-index: 9999;
    padding: 8px 0;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
}

.player-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 30px !important;
    width: 100%;
}

.player-left-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.player-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    background: white;
}

.player-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-info-text {
    display: flex;
    flex-direction: column;
}

.station-name-player {
    font-weight: bold;
    font-size: 14px;
}

.live-indicator {
    font-size: 10px;
    color: #ff0000;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 5px;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #ff0000;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.player-right-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.player-vol {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #888;
}

.player-vol input[type=range] {
    width: 60px;
}

.play-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: var(--modern-orange);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

@media (max-width: 600px) {
    .player-vol {
        display: none;
    }
}

/* --- Sticky Sidebar Effect --- */
@media (min-width: 992px) {
    .blog-content {
        display: flex !important;
        align-items: stretch !important;
    }

    .col-md-4 {
        display: flex !important;
        flex-direction: column !important;
    }

    .sidebar-sticky-wrapper {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 70px !important;
        z-index: 100;
        align-self: flex-start !important;
        width: 100%;
        margin-top: 0 !important;
    }
}

/* Reset de margenes para el sidebar */
.sidebar {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.sidebar .widget:first-child {
    margin-top: 0 !important;
}
