/* Área de Notícias - Reis & Borges (complementa o style.css do site) */

:root {
    --rb-bordo: #6d2624;
    --rb-dourado: #b8913f;
    --rb-texto: #111111;
    --rb-cinza: #777777;
    --rb-claro: #f3f1ea;
    --rb-linha: #e5e2d9;
}

/* Faixa de título */
.rb-hero {
    padding: 190px 0 90px;
    background-size: cover;
    background-position: center center;
}
.rb-hero-pre {
    color: rgba(255, 255, 255, .8);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.rb-hero-titulo {
    font-family: Begum, Georgia, serif;
    font-weight: 700;
    color: #fff;
    font-size: 46px;
    line-height: 1.15;
    margin: 0;
}
.rb-hero-sub {
    margin-top: 16px;
    color: rgba(255, 255, 255, .75);
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.rb-sep { margin: 0 8px; opacity: .6; }

/* Filtros por categoria */
.rb-filtros {
    margin: 0 0 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.rb-filtros a {
    display: inline-block;
    padding: 7px 16px;
    border: 1px solid var(--rb-linha);
    color: var(--rb-cinza);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all .2s ease;
}
.rb-filtros a:hover,
.rb-filtros a.ativo {
    border-color: var(--rb-bordo);
    color: #fff;
    background: var(--rb-bordo);
}

/* Grade de cartões */
.rb-grade { display: flex; flex-wrap: wrap; }
.rb-grade:before, .rb-grade:after { display: none; }
.rb-col { display: flex; margin-bottom: 40px; }
.rb-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border: 1px solid var(--rb-linha);
    transition: box-shadow .25s ease, transform .25s ease;
}
.rb-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transform: translateY(-2px);
}
.rb-card-img {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #1b1b1b;
}
.rb-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(15%);
    transition: transform .4s ease, filter .4s ease;
}
.rb-card:hover .rb-card-img img { transform: scale(1.04); filter: none; }
.rb-card-sem-img {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}
.rb-card-sem-img img {
    width: 64px !important;
    height: 64px !important;
    object-fit: contain !important;
    opacity: .8;
}
.rb-card-corpo {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 26px 26px 24px;
}
.rb-meta {
    color: var(--rb-cinza);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.rb-card-titulo {
    font-family: Begum, Georgia, serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 14px;
}
.rb-card-titulo a { color: var(--rb-bordo); text-decoration: none; }
.rb-card-titulo a:hover { color: var(--rb-texto); }
.rb-card-texto {
    color: #555;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 20px;
}
.rb-leia {
    margin-top: auto;
    align-self: flex-start;
    color: var(--rb-texto);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid var(--rb-dourado);
    padding-bottom: 3px;
}
.rb-leia:hover { color: var(--rb-bordo); text-decoration: none; }

/* Paginação */
.rb-paginacao { text-align: center; margin-top: 20px; }
.rb-paginacao a {
    display: inline-block;
    min-width: 38px;
    height: 38px;
    line-height: 36px;
    margin: 0 3px;
    border: 1px solid var(--rb-linha);
    color: var(--rb-cinza);
    text-decoration: none;
}
.rb-paginacao a:hover,
.rb-paginacao a.ativo { background: var(--rb-bordo); border-color: var(--rb-bordo); color: #fff; }

.rb-vazio { text-align: center; color: var(--rb-cinza); font-size: 15px; padding: 40px 0; }

/* Página da notícia */
.rb-artigo-img { margin: 0 0 40px; }
.rb-artigo-img img { width: 100%; height: auto; display: block; }
.rb-artigo-img figcaption { font-size: 12px; color: var(--rb-cinza); margin-top: 10px; }
.rb-artigo-lead {
    font-size: 19px;
    line-height: 1.6;
    color: #333;
    font-weight: 400;
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 3px solid var(--rb-dourado);
}
.rb-artigo-texto {
    font-size: 16px;
    line-height: 1.85;
    color: #333;
    text-align: justify;
}
.rb-artigo-texto p { margin: 0 0 22px; }
.rb-artigo-texto h3 {
    font-family: Begum, Georgia, serif;
    font-weight: 700;
    font-size: 26px;
    color: var(--rb-bordo);
    margin: 40px 0 18px;
    text-align: left;
}
.rb-artigo-texto ul, .rb-artigo-texto ol { margin: 0 0 22px 22px; padding: 0; }
.rb-artigo-texto li { margin-bottom: 8px; }
.rb-artigo-texto blockquote {
    margin: 30px 0;
    padding: 6px 0 6px 24px;
    border-left: 3px solid var(--rb-bordo);
    font-size: 16px;
    font-style: italic;
    color: #444;
}
.rb-artigo-texto a { color: var(--rb-bordo); text-decoration: underline; }
.rb-fonte { font-size: 13px; color: var(--rb-cinza); margin-top: 30px; }
.rb-fonte a { color: var(--rb-bordo); }
.rb-assinatura {
    margin-top: 30px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rb-texto);
}
.rb-compartilhar {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--rb-linha);
    border-bottom: 1px solid var(--rb-linha);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rb-cinza);
}
.rb-compartilhar a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    margin-left: 8px;
    border: 1px solid var(--rb-linha);
    color: var(--rb-texto);
    font-size: 15px;
}
.rb-compartilhar a:hover { background: var(--rb-bordo); border-color: var(--rb-bordo); color: #fff; }
.rb-aviso { font-size: 12px; color: #999; font-style: italic; }
.rb-voltar {
    display: inline-block;
    margin-top: 20px;
    color: var(--rb-texto);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
}
.rb-voltar:hover { color: var(--rb-bordo); text-decoration: none; }

@media (max-width: 767px) {
    .rb-hero { padding: 140px 0 60px; }
    .rb-hero-titulo { font-size: 32px; }
    .rb-artigo-texto { font-size: 15px; text-align: left; }
    .rb-artigo-lead { font-size: 17px; }
    .rb-card-titulo { font-size: 20px; }
}
