/* ========== Header Flat Bar ========== */
.header-flat { width: 100%; margin-bottom: 25px; }
.header-flat-bar { background: #1c1c1c; border-bottom: 3px solid #db2e1c; }
.header-flat-bar .container { display: flex; align-items: center; height: 50px; }

/* Logo */
.hf-logo { background: #db2e1c; height: 50px; display: flex; align-items: center; padding: 0 20px; flex-shrink: 0; }
.hf-logo img { height: 36px; display: block; }

/* Nav */
.hf-nav { flex: 1; height: 50px; }
.hf-nav ul { display: flex; list-style: none; margin: 0; padding: 0; height: 100%; }
.hf-nav li { height: 100%; }
.hf-nav li a { display: flex; align-items: center; height: 100%; color: #ccc; font: 600 13px/1 'Oswald', sans-serif; padding: 0 16px; text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px; transition: color 0.25s; }
.hf-nav li a:hover { color: #fff; }
.hf-nav .icon-menu-mobile { display: none; }

/* Right */
.hf-right { display: flex; align-items: center; flex-shrink: 0; height: 50px; margin-left: auto; }
.hf-social { display: flex; align-items: center; gap: 0; height: 100%; }
.hf-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 100%; color: #999; font-size: 14px; transition: color 0.3s; }
.hf-social a:hover { color: #fff; }

/* Search Button */
.hf-search { margin: 0; padding: 0; }
.hf-search button { background: #db2e1c; border: none; color: #fff; width: 42px; height: 50px; cursor: pointer; transition: background 0.3s; font-size: 14px; }
.hf-search button:hover { background: #ff3b2b; }

/* Mobile */
@media (max-width: 991px) {
    .hf-nav li a { padding: 0 10px; font-size: 12px; }
}
@media (max-width: 768px) {
    .header-flat-bar .container { flex-wrap: wrap; height: auto; }
    .hf-logo { height: 46px; padding: 0 15px; }
    .hf-logo img { height: 30px; }
    .hf-nav { order: 3; width: 100%; height: auto; display: none; }
    .hf-nav ul { flex-direction: column; }
    .hf-nav li { height: auto; }
    .hf-nav li a { height: auto; padding: 12px 15px; border-top: 1px solid rgba(255,255,255,0.05); }
    .hf-nav .icon-menu-mobile { display: block; color: #fff; font-size: 20px; cursor: pointer; padding: 12px; margin-left: auto; }
    .hf-right { height: 46px; }
    .hf-search button { height: 46px; }
    .hf-social a { height: 46px; }
}

/* Hero Slider - Noticias Destacadas */
.hero-slider {
    position: relative;
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-slide {
    position: relative;
    height: 420px;
    overflow: hidden;
    display: block;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.hero-slide .slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 35px 30px 25px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
}

.hero-slide .slide-cat {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 3px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.hero-slide .slide-title {
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.hero-slide .slide-date {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
}

.hero-slide .slide-date i {
    margin-right: 5px;
}

.hero-slider .owl-dots {
    position: absolute;
    bottom: 12px;
    right: 20px;
}

.hero-slider .owl-dot span {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5) !important;
    border-radius: 50%;
    margin: 0 4px;
    transition: all 0.3s;
}

.hero-slider .owl-dot.active span {
    background: #fff !important;
    width: 24px;
    border-radius: 5px;
}

.hero-slider .owl-nav {
    pointer-events: none;
}

.hero-slider .owl-prev,
.hero-slider .owl-next {
    pointer-events: all;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45) !important;
    color: #fff !important;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 0 !important;
    line-height: 42px !important;
    text-align: center;
    transition: all 0.3s;
    border: none;
    z-index: 5;
}

.hero-slider .owl-prev {
    left: 12px;
}

.hero-slider .owl-next {
    right: 12px;
}

.hero-slider .owl-prev:hover,
.hero-slider .owl-next:hover {
    background: rgba(192, 57, 43, 0.9) !important;
}

@media (max-width: 768px) {
    .hero-slide {
        height: 280px;
    }

    .hero-slide .slide-title {
        font-size: 18px;
    }

    .hero-slide .slide-overlay {
        padding: 20px 15px 15px;
    }
}

/* News Grid - Sección de noticias recientes */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 30px;
    min-height: 430px;
}

.news-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 6px;
    text-decoration: none;
}

.news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.news-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
}

.news-card-cat {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.news-card-title {
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

.news-card-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    margin: 6px 0 0;
    line-height: 1.4;
}

.news-card-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.news-card-main {
    height: 100%;
    min-height: 420px;
}

.news-card-main .news-card-title {
    font-size: 20px;
}

.news-card-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
}

.news-card-small {
    min-height: 200px;
}

.news-card-small .news-card-title {
    font-size: 12px;
    line-height: 1.4;
}

.news-card-small .news-card-overlay {
    padding: 10px 12px;
}

.news-card-small .news-card-cat {
    font-size: 9px;
    margin-bottom: 4px;
    padding: 2px 6px;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card-main {
        height: 280px;
    }

    .news-card-side {
        grid-template-columns: 1fr 1fr;
    }

    .news-card-small {
        height: 160px;
    }
}

/* Section Header con Tabs */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid #c0392b;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-tabs {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.section-tab {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.section-tab:hover {
    background: #c0392b;
    color: #fff;
}

/* News List - Listado de noticias */
.news-list {
    margin-bottom: 25px;
}

.news-list-item {
    display: flex;
    gap: 18px;
    padding: 16px 12px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    transition: all 0.2s;
    border-radius: 4px;
    margin-bottom: 2px;
}

.news-list-item:first-child {
    border-top: 1px solid #eee;
}

.news-list-item:hover {
    background: #f5f5f5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.news-list-img {
    flex: 0 0 200px;
    height: 130px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.news-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.news-list-item:hover .news-list-img img {
    transform: scale(1.05);
}

.news-list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-list-cat {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 2px;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

.news-list-title {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0 0 5px;
    text-transform: uppercase;
}

.news-list-item:hover .news-list-title {
    color: #c0392b;
}

.news-list-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 6px;
}

.news-list-meta {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: #999;
}

.news-list-meta span {
    margin-right: 14px;
}

.news-list-meta i {
    margin-right: 4px;
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .news-list-img {
        flex: 0 0 100px;
        height: 80px;
    }

    .news-list-title {
        font-size: 14px;
    }

    .news-list-desc {
        display: none;
    }
}

/* Sidebar Widgets */
.col-md-4 .widget { margin-bottom: 22px; }
.col-md-4 .widget .banner { border-radius: 6px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.col-md-4 .widget .banner img { width: 100%; display: block; transition: opacity 0.3s; }
.col-md-4 .widget .banner a:hover img { opacity: 0.9; }
.col-md-4 .widget.popular { background: #fff; border-radius: 8px; padding: 18px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.col-md-4 .widget.popular .widget-title { font-family: 'Oswald', sans-serif; font-size: 18px; border-bottom: 3px solid #c0392b; padding-bottom: 10px; margin-bottom: 15px; }
.col-md-4 .widget.popular .post-item.ver2 { padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.col-md-4 .widget.popular .post-item.ver2:last-child { border-bottom: none; }
.col-md-4 .widget .banner audio { border-radius: 6px; }