* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f5f7;
    color: #111827;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #071b3a;
    border-bottom: 4px solid #f4c400;
}

.header-content {
    max-width: 1250px;
    min-height: 82px;
    margin: auto;
    padding: 10px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
}

.brand img {
    width: 125px;
    height: auto;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav a {
    color: white;
    font-weight: 700;
    font-size: 15px;
    transition: 0.2s;
}

.nav a:hover {
    color: #f4c400;
}

.menu-button {
    display: none;
    border: 0;
    background: transparent;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
}

.breaking-news {
    width: 100%;
    display: flex;
    background: #111827;
    color: white;
    overflow: hidden;
}

.breaking-label {
    background: #f4c400;
    color: #071b3a;
    font-weight: 900;
    padding: 13px 20px;
    white-space: nowrap;
    z-index: 2;
}

.breaking-content {
    overflow: hidden;
    flex: 1;
}

.breaking-track {
    min-width: max-content;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 13px 20px;
    animation: ticker 25s linear infinite;
}

.breaking-separator {
    color: #f4c400;
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-35%);
    }
}

.site-layout {
    width: 100%;
    max-width: 1600px;
    margin: auto;

    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) 250px;
    gap: 20px;
    padding: 20px;
}

.side-ad {
    min-width: 0;
}

.ad-box {
    position: sticky;
    top: 110px;
    background: white;
    border: 1px solid #d9dde5;
    padding: 12px;
    text-align: center;
    border-radius: 10px;
}

.ad-label {
    display: block;
    color: #7b8492;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.ad-placeholder {
    min-height: 250px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 1px dashed #b9c0ca;
    background: #f8f9fb;
    padding: 20px;
    gap: 10px;
}

.ad-placeholder strong {
    font-size: 14px;
    color: #374151;
}

.ad-placeholder small {
    color: #6b7280;
}

.ad-placeholder span {
    color: #9ca3af;
    font-size: 12px;
}

.hero {
    min-height: 480px;
    border-radius: 14px;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(7, 27, 58, 0.97),
            rgba(7, 27, 58, 0.72),
            rgba(7, 27, 58, 0.20)
        ),
        url("assets/banner-azul.png");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 650px;
    padding: 60px;
    color: white;
}

.tag {
    display: inline-block;
    color: #071b3a;
    background: #f4c400;
    font-weight: 900;
    padding: 7px 12px;
    border-radius: 4px;
    font-size: 12px;
    letter-spacing: 1px;
}

.hero h1 {
    margin-top: 20px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.98;
}

.hero p {
    margin-top: 25px;
    font-size: 18px;
    line-height: 1.6;
    max-width: 550px;
}

.button {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 24px;
    border-radius: 6px;
    background: #f4c400;
    color: #071b3a;
    font-weight: 900;
    transition: 0.2s;
}

.button:hover {
    transform: translateY(-2px);
}

.section {
    padding: 75px 15px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 30px;
}

.section-heading span {
    color: #315b99;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
}

.section-heading h2 {
    margin-top: 7px;
    font-size: 34px;
    color: #071b3a;
}

.yellow-line {
    width: 100px;
    height: 5px;
    background: #f4c400;
    border-radius: 10px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    transition: 0.25s;
}

.news-card:hover {
    transform: translateY(-4px);
}

.news-card > img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.news-info {
    padding: 22px;
}

.news-info .category {
    color: #315b99;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.news-info h3 {
    margin-top: 8px;
    color: #071b3a;
    font-size: 24px;
}

.news-info p {
    margin-top: 10px;
    color: #667085;
    line-height: 1.6;
}

.news-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.read-button,
.share-news-button,
.back-button {
    border: 0;
    cursor: pointer;
    padding: 11px 15px;
    border-radius: 5px;
    font-weight: 800;
}

.read-button {
    background: #071b3a;
    color: white;
}

.share-news-button {
    background: #f4c400;
    color: #071b3a;
}

.read-button:hover,
.share-news-button:hover {
    opacity: 0.85;
}

.article-view {
    background: white;
    margin: 40px 15px;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
}

.back-button {
    background: #071b3a;
    color: white;
    margin-bottom: 25px;
}

.article-view img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 25px;
}

.article-view h1 {
    color: #071b3a;
    font-size: clamp(30px, 5vw, 50px);
    margin-bottom: 20px;
}

.article-view p {
    font-size: 18px;
    line-height: 1.8;
    color: #475467;
    margin-bottom: 18px;
}

.football {
    min-height: 400px;
    border-radius: 14px;
    overflow: hidden;

    background:
        linear-gradient(
            rgba(7, 27, 58, 0.9),
            rgba(7, 27, 58, 0.9)
        ),
        url("assets/banner-amarillo.png");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
}

.football-content {
    padding: 60px;
    color: white;
}

.football h2 {
    margin-top: 20px;
    font-size: clamp(38px, 5vw, 60px);
}

.football p {
    margin-top: 20px;
    font-size: 18px;
    max-width: 600px;
    line-height: 1.6;
}

.results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.result {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border-top: 5px solid #f4c400;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
}

.result small {
    color: #315b99;
    font-weight: 900;
}

.teams {
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.teams b {
    color: #f4c400;
    font-size: 20px;
}

.result p {
    color: #667085;
    font-size: 14px;
}

.social-box {
    background: #071b3a;
    color: white;
    border-radius: 14px;
    padding: 55px;
    text-align: center;
}

.social-box h2 {
    font-size: 38px;
    margin-top: 20px;
}

.social-box p {
    max-width: 650px;
    margin: 15px auto 25px;
    line-height: 1.6;
    color: #d5dbe5;
}

.facebook-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f4c400;
    color: #071b3a;
    padding: 13px 22px;
    border-radius: 6px;
    font-weight: 900;
}

.facebook-button span {
    font-size: 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
}

.contact-icon {
    font-size: 35px;
}

.contact-card h3 {
    margin-top: 15px;
    color: #071b3a;
}

.contact-card p {
    margin: 10px 0 18px;
    color: #667085;
    line-height: 1.5;
}

.contact-card a {
    color: #315b99;
    font-weight: 900;
}

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 48px;
    height: 48px;

    border: 0;
    border-radius: 50%;

    background: #f4c400;
    color: #071b3a;

    font-size: 22px;
    font-weight: 900;

    cursor: pointer;

    opacity: 0;
    pointer-events: none;

    transition: 0.25s;

    z-index: 900;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

footer {
    background: #071b3a;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

footer img {
    width: 100px;
    margin-bottom: 15px;
}

footer p {
    color: #cbd5e1;
    margin-bottom: 12px;
}

footer a {
    color: #f4c400;
    font-weight: 800;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .site-layout {
        grid-template-columns: 1fr;
    }

    .side-ad {
        display: none;
    }

    .nav {
        gap: 15px;
    }

}


/* =========================================
   MÓVIL
========================================= */

@media (max-width: 750px) {

    .header-content {
        min-height: 70px;
        padding: 8px 16px;
    }

    .brand img {
        width: 100px;
    }

    .nav {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .mobile-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;

        background: #071b3a;

        display: flex;
        flex-direction: column;

        max-height: 0;
        overflow: hidden;

        transition: 0.3s;

        z-index: 999;
    }

    .mobile-menu.open {
        max-height: 400px;
    }

    .mobile-menu a {
        color: white;
        padding: 16px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        font-weight: 800;
    }

    .mobile-menu a:hover {
        background: #102d58;
        color: #f4c400;
    }

    .breaking-label {
        font-size: 11px;
        padding: 13px 10px;
    }

    .site-layout {
        padding: 10px;
    }

    .hero {
        min-height: 430px;
    }

    .hero-content {
        padding: 35px 25px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .section {
        padding: 55px 5px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .news-grid,
    .results,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .news-card > img {
        height: auto;
        max-height: 260px;
    }

    .football-content,
    .social-box {
        padding: 35px 25px;
    }

    .social-box h2 {
        font-size: 30px;
    }

    .news-actions {
        flex-direction: column;
    }

    .read-button,
    .share-news-button {
        width: 100%;
    }

}/* ==========================================
   PÁGINAS LEGALES
========================================== */

.legal-page {
    max-width: 950px;
    margin: 50px auto;
    padding: 45px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.legal-page h1 {
    margin-top: 20px;
    margin-bottom: 30px;
    color: #071b3a;
    font-size: 42px;
}

.legal-page h2 {
    margin-top: 35px;
    margin-bottom: 12px;
    color: #071b3a;
}

.legal-page p {
    color: #475467;
    line-height: 1.8;
    margin-bottom: 15px;
}

@media (max-width: 700px) {

    .legal-page {
        margin: 20px 10px;
        padding: 25px;
    }

    .legal-page h1 {
        font-size: 32px;
    }

}