:root {
    --red: #e00000;
    --dark: #070008;
    --blue: #061b46;
    --bg: #f4f5f7
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--bg);
    font-family: Arial, Helvetica, sans-serif;
    color: #111
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer
}

button {
    cursor: pointer
}

.top-red {
    height: 5px;
    background: var(--red)
}

.logo-header {
    background: transparent;
    text-align: center;
    padding: 10px 0;
}

.logo-header img {
    max-width: 850px;
    width: auto;
    height: auto;
    display: inline-block;
}

.main-menu {
    background: #09000b;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 99;
    box-shadow: 0 6px 18px #0002
}

.main-menu a,
.main-menu button {
    color: #fff;
    font-weight: 900;
    font-size: 14px;
    padding: 18px 22px;
    background: transparent;
    border: 0
}

.main-menu a:hover,
.main-menu button:hover {
    background: var(--red)
}

.admin-link {
    background: var(--red) !important;
    margin-left: 6px
}

.dropdown {
    position: relative
}

.drop-content {
    display: none;
    position: absolute;
    top: 54px;
    left: 0;
    background: #111;
    min-width: 210px;
    box-shadow: 0 12px 30px #0004;
    z-index: 150
}

.drop-content a {
    display: block;
    padding: 14px 18px
}

.dropdown:hover .drop-content {
    display: block
}

.breaking {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    align-items: center;
    min-height: 42px
}

.breaking b {
    background: var(--red);
    color: #fff;
    padding: 12px 18px
}

.breaking marquee {
    font-weight: 800
}

.sponsor-carousel {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    overflow: hidden;
    padding: 12px 0;
    box-shadow: 0 6px 18px #0000000d
}

.sponsor-track {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: sponsorMove 34s linear infinite
}

.sponsor-carousel:hover .sponsor-track {
    animation-play-state: paused
}

.sponsor-item {
    min-width: 220px;
    height: 92px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 22px #0001
}

.sponsor-item img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.sponsor-empty {
    width: 100%;
    text-align: center;
    font-weight: 900;
    color: #555
}

.sponsor-name {
    position: absolute;
    left: -9999px
}

@keyframes sponsorMove {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

.site-wrap {
    width: 97%;
    margin: 0 auto
}

.top-promo {
    margin: 16px auto;
    background: linear-gradient(120deg, #07111f, #061b46);
    color: #fff;
    border-radius: 4px;
    min-height: 105px;
    padding: 18px 28px;
    display: grid;
    grid-template-columns: 1fr 1.2fr auto;
    align-items: center;
    gap: 20px;
    box-shadow: 0 16px 34px #0002
}

.top-promo h2 {
    font-size: 32px;
    margin: 0;
    color: #ffcf24
}

.top-promo h3 {
    font-size: 30px;
    margin: 0
}

.btn {
    display: inline-flex;
    align-items: center;
    background: var(--red);
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 13px 18px;
    font-weight: 900
}

.layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr) 260px;
    gap: 22px;
    align-items: start
}

.block-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 13px
}

.block-title span,
.side-ad-title span {
    background: var(--red);
    color: #fff;
    padding: 9px 18px;
    border-radius: 3px;
    font-size: 18px;
    font-weight: 900
}

.block-title:after {
    content: "";
    height: 1px;
    background: #cbd5e1;
    flex: 1
}

.latest-list {
    display: grid;
    gap: 14px
}

.latest-card {
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 12px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 14px
}

.latest-card img {
    width: 105px;
    height: 78px;
    object-fit: cover;
    border-radius: 5px
}

.latest-card small {
    font-size: 11px;
    color: #0066c9;
    font-weight: 900
}

.latest-card b {
    display: block;
    font-size: 13px;
    line-height: 1.22;
    margin: 5px 0
}

.latest-card em {
    font-style: normal;
    font-size: 11px;
    color: #666
}

.hero-slider {
    position: relative;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 10px 30px #0001;
    min-height: 462px
}

.hero-slider img {
    width: 100%;
    height: 462px;
    object-fit: cover;
    display: block
}

.hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 34px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .86));
    color: #fff
}

.hero-overlay h1 {
    font-size: 34px;
    line-height: 1.08;
    margin: 10px 0
}

.badge {
    background: var(--red);
    color: #fff;
    border-radius: 3px;
    padding: 7px 10px;
    font-weight: 900;
    font-size: 12px;
    display: inline-block
}

.hero-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px
}

.hero-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff8;
    display: block
}

.hero-dots span.active {
    background: #e7a1a1
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #0008;
    color: #fff;
    border: 0;
    border-radius: 999px;
    width: 44px;
    height: 44px;
    font-size: 24px
}

.arrow.left {
    left: 18px
}

.arrow.right {
    right: 18px
}

.promo-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    margin-bottom: 16px;
    text-align: center;
    box-shadow: 0 10px 28px #0001
}

.promo-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    background: #111
}

.promo-body {
    padding: 18px
}

.promo-card h3 {
    font-size: 26px;
    margin: 0 0 8px;
    color: #ffcf24
}

.news-section {
    margin: 28px 0
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.news-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 26px #0001
}

.news-card img {
    width: 100%;
    height: 185px;
    object-fit: cover
}

.news-card-body {
    padding: 15px
}

.news-card h3 {
    font-size: 19px;
    line-height: 1.16;
    margin: 9px 0
}

.meta {
    color: #666;
    font-size: 12px;
    font-weight: 700
}

.read {
    display: inline-block;
    background: var(--dark);
    color: #fff;
    border-radius: 4px;
    padding: 10px 14px;
    font-weight: 900
}

.sections-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin: 24px 0
}

.section-tile {
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    color: #fff;
    display: flex;
    align-items: end;
    justify-content: center;
    padding: 12px;
    font-weight: 900;
    text-shadow: 0 2px 8px #000;
    border: 0;
    background: #111
}

.section-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(.66)
}

.section-tile span {
    position: relative;
    z-index: 1
}

.float-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 120;
    background: #18b85b;
    color: #fff;
    border-radius: 16px;
    padding: 12px 18px;
    font-weight: 900;
    box-shadow: 0 13px 30px #0004
}

.search-tools {
    display: flex;
    gap: 12px;
    margin: 0 0 16px
}

.search-tools input,
.search-tools select {
    width: 100%;
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-weight: 800
}

.search-tools select {
    max-width: 240px
}

footer {
    background: #07111f;
    color: #fff;
    margin-top: 30px;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap
}

@media(max-width:1150px) {
    .layout {
        grid-template-columns: 1fr
    }

    .news-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:850px) {
    .main-menu {
        overflow-x: auto;
        justify-content: flex-start
    }

    .main-menu a,
    .main-menu button {
        white-space: nowrap;
        padding: 16px
    }

    .top-promo {
        grid-template-columns: 1fr;
        text-align: center
    }

    .sections-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

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

    .hero-overlay h1 {
        font-size: 25px
    }

    .hero-slider img {
        height: 390px
    }
}


/* ===============================
   CARRUSEL DE ÚLTIMAS NOTICIAS
   Reemplaza el bloque de anuncio superior
================================ */
.top-promo {
    display: none !important
}

.latest-news-carousel {
    margin: 16px auto;
    background: linear-gradient(120deg, #07111f, #061b46);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 16px 34px #0002;
    color: #fff;
}

.carousel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.carousel-head h2 {
    margin: 0;
    font-size: 22px;
    color: #ffcf24;
    font-weight: 900;
}

.carousel-head span {
    font-size: 13px;
    font-weight: 800;
    color: #dbeafe;
}

.latest-news-track {
    display: flex;
    gap: 16px;
    width: max-content;
    padding: 16px;
    animation: latestNewsMove 42s linear infinite;
}

.latest-news-carousel:hover .latest-news-track {
    animation-play-state: paused;
}

.latest-news-item {
    width: 330px;
    height: 170px;
    background: #fff;
    color: #111;
    border-radius: 10px;
    overflow: hidden;
    flex: 0 0 auto;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}

.latest-news-item a {
    display: grid;
    grid-template-columns: 125px 1fr;
    height: 100%;
}

.latest-news-item img {
    width: 125px;
    height: 100%;
    object-fit: cover;
    display: block;
}

.latest-news-info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.latest-news-info span {
    color: #e00000;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.latest-news-info h3 {
    margin: 6px 0;
    font-size: 16px;
    line-height: 1.14;
}

.latest-news-info p {
    margin: 0 0 8px;
    color: #555;
    font-size: 12px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-news-info b {
    color: #061b46;
    font-size: 13px;
    font-weight: 900;
}

.latest-carousel-empty {
    padding: 22px;
    font-weight: 900;
}

@keyframes latestNewsMove {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

@media(max-width:650px) {
    .carousel-head {
        align-items: flex-start;
        flex-direction: column
    }

    .latest-news-item {
        width: 280px;
        height: 150px
    }

    .latest-news-item a {
        grid-template-columns: 105px 1fr
    }

    .latest-news-item img {
        width: 105px
    }

    .latest-news-info h3 {
        font-size: 14px
    }

    .latest-news-info p {
        display: none
    }
}

/* LOGOS DEL CARRUSEL DE PATROCINADORES SIN CORTAR */
.sponsor-item {
    height: 100px;
    padding: 10px;
    overflow: hidden
}

.sponsor-item img {
    max-width: 95% !important;
    max-height: 80px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block
}