@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/Roboto-VariableFont_wdth\,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto';
}

body {
    background-color: #E5E5E5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ================= HEADER ================= */
header {
    background-color: #632327;
    color: #ffffff;
    height: 48px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-area img {
    height: 24px;
    width: auto;
    display: block;
}

.slogan-portal {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.nav-direita a {
    color: #dedede;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

.nav-direita a:hover {
    color: #ffffff;
}

/* ================= CONTAINER ================= */
.main-container {
    flex: 1;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 30px 20px 50px 20px;
}

.lista-noticias {
    display: flex;
    flex-direction: column;
}

/* ================= CARDS DO FEED ================= */
.card-noticia {
    display: flex;
    gap: 24px;
    text-decoration: none;
    color: inherit;
    padding: 24px 0;
    border-bottom: 1.5px solid #222222;
}

.card-noticia:first-child {
    padding-top: 8px;
}
.card-noticia:last-child {
    border: 0px;
}

.card-img-box {
    width: 46%;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
}

.card-img-box img,
.placeholder-cinza {
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #7d7d7d;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

.card-info {
    width: 54%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-titulo {
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.card-subtitulo {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #222222;
    text-align: justify;
    margin-bottom: 12px;
}

.card-autores {
    font-size: 0.78rem;
    color: #222222;
    margin-top: auto;
    padding-top: 8px;
}

/* ================= PÁGINA DE NOTÍCIA ================= */
.banner-box {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.banner-box img {
    width: 100%;
    aspect-ratio: 16 / 9.5;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.noticia-titulo {
    font-size: 1.65rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 12px;
}

.noticia-subtitulo {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #2b2b2b;
    margin-bottom: 14px;
}

.noticia-meta {
    font-size: 0.82rem;
    color: #222222;
    margin-bottom: 22px;
}

.noticia-texto-colunas p {
    margin-bottom: 16px;
    line-height: 1.5;
    text-align: justify;
}

.noticia-texto-colunas a {
    word-break: break-all;
}

/* ================= FOOTER ================= */
footer {
    background-color: #632327;
    color: #ffffff;
    padding: 22px 16px 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-social a {
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-social img {
    height: 24px;
    width: auto;
    display: block;
}


.footer-subtexto {
    font-size: 12px;
    color: #f1f1f1;
}

/* ================= MOBILE ================= */
@media (max-width: 580px) {
    .card-noticia {
        flex-direction: column;
        gap: 12px;
    }

    .card-img-box,
    .card-info {
        width: 100%;
    }

    .card-titulo {
        font-size: 1.1rem;
    }

    .slogan-portal {
        font-size: 10px;
    }
}