@charset "UTF-8";

/* =====================================================
   FONTS
===================================================== */

@import url("https://solargentinotv.com.ar/assets/fonts/Barlow/Barlow.css");


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "BarlowC";
}

a {
    text-decoration: none;
    color: #fff;
    max-width: 5em;
}

a:hover {
    text-decoration: underline;
}

html,
body {
    height: 100%;
}


/* =====================================================
   VARIABLES
===================================================== */

:root {
    --red: #ff2020;
    --redGlow: rgba(255, 32, 32, .45);

    --dark1: #0b0e14;
    --dark2: #0a0c12;
    --dark3: #06070a;

    --card: #121722;
    --textSoft: #bdbdbd;
}


/* =====================================================
   BODY
===================================================== */

body {
    color: #fff;
    min-height: 100vh;

    background:
        radial-gradient(circle at 50% -15%, var(--redGlow), transparent 60%),
        linear-gradient(to bottom, var(--dark1) 0%, var(--dark2) 50%, var(--dark3) 100%);

    background-attachment: fixed;
}


/* =====================================================
   HEADER / TOPBAR
===================================================== */

.topbar {
    position: absolute;
    /* clave */
    top: 0;
    left: 0;
    width: 100%;

    z-index: 50;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 40px;

    background: rgba(0, 0, 0, .25);
    backdrop-filter: blur(10px);

    border-bottom: none;
    box-shadow: none;
}

.logo {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo span {
    color: var(--red);
    text-shadow: 0 0 12px var(--redGlow);
}


/* =====================================================
   SLIDER HERO
===================================================== */

.slider {
    height: 87vh;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    /* espacio para que el texto no quede debajo del header */
}

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 50px;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}


/* overlay cinematográfico */
.overlay {
    background: rgba(0, 0, 0, .78);
    backdrop-filter: blur(4px);

    padding: 25px;
    border-left: 6px solid var(--red);

    border-radius: 10px;

    box-shadow: 0 0 25px var(--redGlow);

    max-width: 700px;
}


/* =====================================================
   NUEVO BLOQUE INFO PARTIDO
===================================================== */

/* fecha arriba tipo cartel */
.matchFecha {
    display: inline-block;

    margin-bottom: 10px;
    padding: 4px 10px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;

    background: rgba(255, 255, 255, .08);
    border-radius: 6px;

    color: #e6e6e6;
}


/* contenedor datos */
.matchMeta {
    margin-top: 10px;

    display: flex;
    flex-direction: column;
    gap: 6px;

    font-size: 15px;
    line-height: 1.45;

    color: #fff;
}


/* cada línea */
.matchMeta span {
    opacity: .95;
}


/* estadio más importante */
.stadium {
    color: #ffffff;
}


/* canal estilo TV */
.badge {
    margin-top: 0.4em;
    width: 18em;
    padding: 5px 12px;
    background: var(--red);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
    border-radius: 5px;
    box-shadow: 0 0 14px var(--redGlow);
    text-align: center;
    margin-bottom: 0.7em;
}

/* =====================================================
   NEWS GRID
===================================================== */

.newsGrid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 40px;
}

.newsCard {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px;
    background: linear-gradient(180deg, #111622 0%, #0c1018 100%);
    border-radius: 14px;
    cursor: pointer;
    transition: .25s ease;
    overflow: hidden;
    text-align: justify;
}

.newsCard:hover {
    box-shadow: 0 0 22px var(--redGlow);
}

.newsCard:hover a {
    text-decoration: underline;
}

.newsCard img {
    width: 190px;
    height: 128px;
    object-fit: cover;
    transform: scale(1.25);
    /* agranda visual */
    transform-origin: left center;
    margin-left: -1em;
    /* opcional bleed */
    margin-right: 4em;
}

.newsContent {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    color: #fff !important;
    text-align: justify;
}

.newsCard h2 {
    font-size: 29px;
    font-weight: 800;
    text-align: justify;
}

.newsCard p {
    font-size: 19px;
    color: var(--textSoft);
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width:700px) {

    .newsCard {
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        gap: 12px;
    }

    .newsCard img {
        width: 100%;
        height: 180px;

        transform: none;
        /* 🔥 sacamos zoom */
        margin: 0;
        /* 🔥 sacamos bleed */

        border-radius: 12px;
    }

    .newsContent {
        margin: 0;
        text-align: justify;
    }

    .newsCard h2 {
        font-size: 20px;
    }

    .newsCard p {
        font-size: 14px;
    }
}

@media (max-width:700px) {

    .badge {
        align-self: center;
        /* 👈 ESTA es la clave */
    }

}