/* Estilos para a página Jornal */

/* SEÇÃO DE NOTÍCIAS (GRID) */
.news-section {
    padding: 6rem 2rem;
    background-color: #ffffff;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
}

.news-header {
    margin-bottom: 3rem;
}

.news-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 3rem;
    font-weight: 800;
    color: #000;
}

@media (max-width: 768px) {
    .news-section {
        padding: 3rem 1.5rem;
    }

    .news-title {
        font-size: 2rem;
    }

    .news-grid {
        gap: 2rem;
    }
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
}

.news-card {
    display: flex;
    flex-direction: column;
}

.news-image {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 0;
}

.news-image img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* O efeito de "aba" do título */
.news-label {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    padding: 1rem 1.5rem 0.5rem 0;
    border-top-right-radius: 20px;
    z-index: 2;
}

.news-label h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #000;
}

@media (max-width: 600px) {
    .news-label {
        padding: 0.8rem 1rem 0.4rem 0;
    }

    .news-label h3 {
        font-size: 1.2rem;
    }
}

.news-content {
    padding-top: 1rem;
}

.news-meta {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.news-meta .date {
    color: #0A1ECD;
    font-weight: 700;
    text-decoration: underline;
}

.news-excerpt {
    font-size: 1rem;
    line-height: 1.5;
    color: #444;
    margin-bottom: 1.5rem;
}

.read-more {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0A1ECD;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s;
}

.read-more:hover {
    transform: translateX(5px);
}

.read-more .arrow {
    font-size: 1.2rem;
}

/* Responsividade */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-title {
        font-size: 2.2rem;
    }
}

/* BANNERS ESTÁTICOS (JORNAL) - mantidos para compatibilidade */
.hero-visuals.jornal-static-banners {
    display: none; /* substituído pelo novo banner */
}

/* ================================================= */
/* BANNER JORNAL IP TECH                             */
/* ================================================= */

.hero.jornal-hero {
    position: relative;
    width: 100%;
    height: clamp(420px, 36vw, 560px) !important;
    min-height: clamp(420px, 36vw, 560px) !important;
    max-height: clamp(420px, 36vw, 560px) !important;
    padding: 0;
    overflow: hidden;

    background-color: #FFA51F !important;
    background-image: none !important;
    display: flex;
    align-items: center;
}

/* Remove overlay azul herdado */
.hero.jornal-hero::before {
    display: none !important;
    content: none !important;
    background: none !important;
}

/* ---- Texto esquerda ---- */
.jornal-hero-text {
    position: absolute;
    left: clamp(5%, 8%, 12%);
    top: 50%;
    transform: translateY(-50%);
    max-width: clamp(340px, 42%, 600px);
    z-index: 10;
    text-align: left;
}

.jornal-hero-text h1 {
    font-size: clamp(1.8rem, 2.8vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 0;
}

/* Subtítulo azul bold */
.jornal-highlight {
    color: #1f3dbb;
    display: block;
    font-size: clamp(1.8rem, 2.8vw, 3.2rem);
    font-weight: 800;
}

/* Linha separadora branca */
.jornal-hero-line {
    width: 100%;
    max-width: 420px;
    height: 2px;
    background-color: #1f3dbb;
    margin: 12px 0 16px;
}

/* Parágrafo em branco */
.jornal-hero-text p {
    font-size: clamp(0.9rem, 1.15vw, 1.2rem);
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
    font-weight: 400;
}

/* ---- Imagem direita (menino com jornal) ---- */
.jornal-hero-image {
    position: absolute;
    right: clamp(2%, 5%, 8%);
    bottom: 0;
    z-index: 5;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.jornal-hero-image img {
    height: clamp(340px, 95%, 540px);
    width: auto;
    max-width: none;
    object-fit: contain;
    display: block;
}

/* ---- Círculos decorativos (azuis) atrás do menino ---- */
.jornal-hero-circles {
    position: absolute;
    right: -2%;
    top: -10%;
    width: 55%;
    height: 120%;
    background-image: url('../assets/img/efeito.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center right;
    z-index: 3;
    pointer-events: none;
    opacity: 0.6;
}

/* ---- Barra inferior com opções ---- */
.jornal-hero-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;

    background-color: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    height: 90px; /* Aumentado de 72px para 90px */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    overflow: hidden;
}

.jornal-hero-bottom img {
    height: 68px; /* Aumentado de 50px para 68px */
    width: auto;
    max-width: 850px; /* Aumentado de 700px para 850px */
    object-fit: contain;
    display: block;
}

@media (max-width: 1100px) {
    .hero.jornal-hero {
        height: 600px !important;
        min-height: 600px !important;
        max-height: 600px !important;
        position: relative !important;
        overflow: hidden !important;
        padding: 0 !important;
        display: block !important;
    }

    .jornal-hero-text {
        position: absolute !important;
        left: 20px !important;
        right: 20px !important;
        top: 90px !important;
        transform: none !important;
        max-width: none !important;
        margin: 0 !important;
        text-align: center !important;
        z-index: 10 !important;
    }

    .jornal-hero-line {
        margin: 12px auto 16px !important;
    }

    .jornal-hero-image {
        position: absolute !important;
        bottom: 0 !important; /* Descido até o final do background */
        left: 0 !important;
        right: 0 !important;
        margin: 0 auto !important;
        height: 365px !important; /* Aumentado conforme solicitado */
        width: 100% !important;
        max-width: 400px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-end !important;
        z-index: 4 !important;
    }

    .jornal-hero-image img {
        height: 100% !important;
        width: auto !important;
        max-width: 100% !important;
        display: block !important;
        object-fit: contain !important;
        object-position: bottom center !important;
    }

    .jornal-hero-circles {
        display: none !important;
    }

    .jornal-hero-bottom {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 75px !important;
        margin-top: 0 !important;
        padding: 0 1rem !important;
        z-index: 10 !important;
        background: rgba(0, 0, 0, 0.18) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
    }
}

@media (max-width: 768px) {
    .jornal-hero-text h1,
    .jornal-highlight {
        font-size: 1.8rem !important;
    }

    .jornal-hero-image {
        height: 350px !important; /* Mantido proporcionalmente grande */
    }

    .jornal-hero-bottom img {
        height: 48px !important; /* Aumentado de 38px para 48px */
        max-width: 100% !important;
    }
}