/* Portal O Norte: estilos comuns (layout de 06/10/2026) */
:root {
    --vermelho: #d10a0a;
    --vermelho-escuro: #a80808;
    --rosa: #fdeeee;
    --escuro: #161616;
    --texto: #222;
    --suave: #666;
    --linha: #ececec;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--texto);
    background: #fff;
}

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

.serif {
    font-family: 'Source Serif 4', serif;
}

.barra {
    background: var(--escuro);
    color: #ddd;
    font-size: 13px;
    padding: 8px 0;
}

.barra a:hover {
    color: #fff;
}

.barra nav a + a {
    margin-left: 18px;
}

/* Cabeçalho */
.cabecalho {
    padding: 14px 0;
    border-bottom: 1px solid var(--linha);
}

.cabecalho .logo img {
    height: 56px;
}

.menu a {
    font-weight: 600;
    font-size: 15px;
    padding: 6px 0;
    margin: 0 12px;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.menu a.ativo,
.menu a:hover {
    color: var(--vermelho);
    border-color: var(--vermelho);
}

.busca {
    display: flex;
    max-width: 280px;
}

.busca input {
    border: 1px solid #ddd;
    border-right: 0;
    border-radius: 4px 0 0 4px;
    padding: 8px 12px;
    font-size: 14px;
    width: 100%;
}

.busca button {
    background: var(--vermelho);
    border: 0;
    color: #fff;
    padding: 0 14px;
    border-radius: 0 4px 4px 0;
}

/* Últimas */
.ultimas {
    background: var(--rosa);
    padding: 10px 0;
    font-size: 14px;
}

.selo-ultimas {
    background: var(--vermelho);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 4px;
    white-space: nowrap;
}

.ultimas .itens {
    display: flex;
    gap: 24px;
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
}

.ultimas .itens a {
    overflow: hidden;
    text-overflow: ellipsis;
}

.ultimas .itens a:hover {
    color: var(--vermelho);
}

.ultimas .hora {
    color: var(--vermelho);
    font-weight: 700;
    margin-right: 6px;
}

.ver-todas {
    color: var(--vermelho);
    font-weight: 700;
    white-space: nowrap;
}

/* Rótulo de editoria */
.rotulo {
    color: var(--vermelho);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.rotulo-cheio {
    background: var(--vermelho);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 3px;
}

/* Manchete */
.manchete {
    position: relative;
    display: block;
    min-height: 440px;
    height: 100%;
    border-radius: 6px;
    overflow: hidden;
    background: #222 center / cover no-repeat;
    color: #fff;
}

.manchete::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.1) 65%);
}

.manchete .conteudo {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
}

.manchete h1 {
    font-family: 'Source Serif 4', serif;
    font-weight: 700;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.15;
    margin: 12px 0 10px;
}

.manchete p {
    font-size: 15px;
    opacity: 0.9;
    max-width: 560px;
}

.botao {
    display: inline-block;
    background: var(--vermelho);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 4px;
    padding: 8px 18px;
    transition: background 0.2s ease;
}

.botao:hover,
.manchete:hover .botao {
    background: var(--vermelho-escuro);
    color: #fff;
}

/* Lista lateral */
.lateral a {
    display: flex;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--linha);
}

.lateral a:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

.lateral img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    flex: none;
}

.lateral h3 {
    font-family: 'Source Serif 4', serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    margin: 2px 0 4px;
}

.lateral a:hover h3 {
    color: var(--vermelho);
}

.quando {
    color: var(--suave);
    font-size: 12px;
}

/* Opinião */
.opiniao {
    border: 1px solid var(--linha);
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    padding: 16px;
    height: 100%;
}

.opiniao a.coluna {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--linha);
}

.opiniao a.coluna:last-of-type {
    border-bottom: 0;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--rosa);
    color: var(--vermelho);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.opiniao h4 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 2px;
}

.opiniao a.coluna:hover h4 {
    color: var(--vermelho);
}

/* Editorias */
.editoria {
    display: block;
    border: 1px solid var(--linha);
    border-radius: 6px;
    padding: 8px 8px 14px;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.editoria:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.editoria img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 4px;
}

.editoria h3 {
    font-family: 'Source Serif 4', serif;
    font-size: 20px;
    font-weight: 700;
    margin: 10px 4px 4px;
    display: flex;
    justify-content: space-between;
}

.editoria h3 span {
    color: var(--vermelho);
}

.editoria p {
    font-size: 13px;
    color: var(--suave);
    margin: 0 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Banners */
.banner {
    position: relative;
    display: block;
    min-height: 200px;
    height: 100%;
    border-radius: 6px;
    overflow: hidden;
    background: #111 center / cover no-repeat;
}

.banner .conteudo {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 55%;
}

.banner-videos {
    color: #fff;
}

.banner-videos .tag {
    background: rgba(255, 255, 255, 0.12);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 3px;
}

.banner-videos h2 {
    font-family: 'Source Serif 4', serif;
    font-weight: 700;
    font-size: 26px;
    margin: 10px 0 6px;
}

.banner-videos p {
    font-size: 14px;
    opacity: 0.85;
}

.banner-conecta {
    background-color: #eee;
}

.banner-conecta .frase {
    color: var(--vermelho);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.6;
    text-transform: uppercase;
}

.banner-conecta img {
    height: 52px;
    margin-top: 12px;
}

/* Rodapé */
footer {
    background: var(--escuro);
    color: #bbb;
    font-size: 14px;
    margin-top: 48px;
}

footer h5 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
}

footer a:hover {
    color: #fff;
}

.selo {
    background: #fff;
    border-radius: 6px;
    padding: 8px 12px;
    display: inline-block;
}

.selo img {
    height: 52px;
}

.rodape-fim {
    border-top: 1px solid #333;
    font-size: 12px;
    color: #888;
}

@media (max-width: 767px) {
    .ultimas .itens a:not(:first-child) {
        display: none;
    }
}

@media (max-width: 991px) {
    .manchete {
        min-height: 380px;
    }

    .banner .conteudo {
        max-width: 80%;
    }

    .banner-conecta {
        background-position: 80% center;
    }

    .banner-conecta::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(238, 238, 238, 0.7);
    }
}

.redes {
    display: flex;
    gap: 14px;
}

.icone {
    vertical-align: -0.15em;
}
