/*
 * CSS principal do Conquista Blog.
 * As regras serão adicionadas durante as fases do projeto.
 */

/* =========================================================
   FAIXA PUBLICITÁRIA SUPERIOR
   Posição: abaixo do menu principal e acima das notícias
   ========================================================= */

.cb-top-ad-area {
    width: 100%;
    padding: 22px 20px;
    background-color: #f5f6f8;
    border-bottom: 1px solid #e2e5e9;
}

.cb-top-ad-area .grid-container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
}

.cb-top-ad-slot {
    width: 100%;
    max-width: 970px;
    min-height: 120px;
    margin: 0 auto;
}

.cb-top-ad-label {
    display: block;
    margin-bottom: 6px;
    color: #646b73;
    font-family: Inter, Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
}

.cb-top-ad-rotator {
    display: grid;
    width: 100%;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 3px 14px rgba(11, 37, 64, 0.08);
}

.cb-top-ad-slide {
    grid-area: 1 / 1;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    will-change: opacity;
    transition:
        opacity 1.2s ease-in-out,
        visibility 0s linear 1.2s;
}

.cb-top-ad-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
        opacity 1.2s ease-in-out,
        visibility 0s linear 0s;
}

.cb-top-ad-slide a,
.cb-top-ad-slide picture {
    display: block;
    width: 100%;
}

.cb-top-ad-slide img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
}

/* Ajuste da publicidade para celulares */
@media (max-width: 768px) {
    .cb-top-ad-area {
        padding: 14px 12px;
    }

    .cb-top-ad-slot {
        min-height: 100px;
    }

    .cb-top-ad-label {
        margin-bottom: 5px;
        font-size: 10px;
    }

    .cb-top-ad-rotator {
        border-radius: 3px;
    }
}

/* Respeita usuários que preferem menos animações */
@media (prefers-reduced-motion: reduce) {
    .cb-top-ad-slide {
        transition: none;
    }
}

/* =========================================================
   VITRINE EDITORIAL DA PÁGINA INICIAL
   Manchete principal e quatro destaques secundários
   ========================================================= */

.cb-home-highlights {
    width: 100%;
    padding: 30px 20px;
    background-color: #f5f6f8;
}

.cb-home-highlights > .grid-container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
}

.cb-home-highlights-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr);
    gap: 22px;
    align-items: stretch;
}

.cb-home-highlights-grid--without-main {
    grid-template-columns: 1fr;
}

.cb-home-highlights-grid--only-main {
    grid-template-columns: 1fr;
}

.cb-home-highlights-grid--only-main .cb-main-headline {
    width: 100%;
}

/* Manchete principal */

.cb-main-headline {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #e2e5e9;
    border-radius: 6px;
    box-shadow: 0 5px 18px rgba(11, 37, 64, 0.08);
}

.cb-main-headline-media {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #e2e5e9;
    aspect-ratio: 16 / 9;
}

.cb-main-headline-media .cb-highlight-image {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.cb-main-headline-media:hover .cb-highlight-image {
    transform: scale(1.025);
}

.cb-main-headline-content {
    padding: 22px 24px 24px;
}

.cb-main-headline-title {
    margin: 8px 0 10px;
    font-family: "Roboto Slab", Georgia, serif;
    font-size: clamp(28px, 2.5vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
}

.cb-main-headline-title a {
    color: #12345b;
    text-decoration: none;
}

.cb-main-headline-title a:hover {
    color: #c62828;
}

.cb-main-headline-excerpt {
    margin: 0;
    color: #646b73;
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

/* Destaques secundários */

.cb-secondary-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    min-width: 0;
    align-self: start;
    align-content: start;
    height: fit-content;
}

.cb-secondary-highlight {
    align-self: start;
    height: auto;
}

.cb-secondary-highlights--single {
    grid-template-columns: 1fr;
    align-self: start;
    align-content: start;
    height: fit-content;
}

.cb-secondary-highlights--single .cb-secondary-highlight {
    align-self: start;
    height: auto;
}

.cb-secondary-highlight {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #e2e5e9;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(11, 37, 64, 0.06);
}

.cb-secondary-highlight-media {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #e2e5e9;
    aspect-ratio: 16 / 9;
}

.cb-secondary-highlight-media .cb-highlight-image {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.cb-secondary-highlight-media:hover .cb-highlight-image {
    transform: scale(1.035);
}

.cb-secondary-highlight-content {
    padding: 14px 15px 17px;
}

.cb-secondary-highlight-title {
    margin: 6px 0 0;
    font-family: "Roboto Slab", Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.cb-secondary-highlight-title a {
    color: #20242a;
    text-decoration: none;
}

.cb-secondary-highlight-title a:hover {
    color: #c62828;
}

/* Categoria */

.cb-highlight-category {
    display: inline-block;
    color: #12345b;
    font-family: Inter, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.045em;
    text-decoration: none;
    text-transform: uppercase;
}

.cb-highlight-category:hover {
    color: #c62828;
}

/* Selos editoriais */

.cb-editorial-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.cb-editorial-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 3px;
    color: #ffffff;
    font-family: Inter, Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.cb-editorial-badge--urgent {
    background-color: #c62828;
}

.cb-editorial-badge--latest {
    background-color: #12345b;
}

/* Imagem provisória quando a matéria não possui imagem destacada */

.cb-highlight-image--placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(
            135deg,
            #e2e5e9 0%,
            #f5f6f8 50%,
            #e2e5e9 100%
        );
}

/* Tablet */

@media (max-width: 1024px) {
    .cb-home-highlights-grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr);
        gap: 18px;
    }

    .cb-secondary-highlights {
        grid-template-columns: 1fr;
    }

    .cb-secondary-highlight {
        display: grid;
        grid-template-columns: 145px minmax(0, 1fr);
    }

    .cb-secondary-highlight-media {
        height: 100%;
        aspect-ratio: auto;
    }

    .cb-secondary-highlight-title {
        font-size: 17px;
    }
}

/* Celular */

@media (max-width: 768px) {
    .cb-home-highlights {
        padding: 18px 12px;
    }

    .cb-home-highlights-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cb-main-headline-content {
        padding: 17px 17px 20px;
    }

    .cb-main-headline-title {
        font-size: 27px;
        line-height: 1.2;
    }

    .cb-main-headline-excerpt {
        font-size: 15px;
    }

    .cb-secondary-highlights {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cb-secondary-highlight {
        grid-template-columns: 125px minmax(0, 1fr);
    }

    .cb-secondary-highlight-content {
        padding: 12px;
    }

    .cb-secondary-highlight-title {
        font-size: 16px;
        line-height: 1.3;
    }
}

/* Telas muito pequenas */

@media (max-width: 420px) {
    .cb-secondary-highlight {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .cb-secondary-highlight-title {
        font-size: 15px;
    }
}

/* Redução de movimento */

@media (prefers-reduced-motion: reduce) {
    .cb-main-headline-media .cb-highlight-image,
    .cb-secondary-highlight-media .cb-highlight-image {
        transition: none;
    }
}

/* =========================================================
   ÚLTIMAS NOTÍCIAS — PÁGINA INICIAL
   ========================================================= */

.cb-latest-news-section {
    width: 100%;
    margin: 0;
    padding: 28px;
    background-color: #ffffff;
    border: 1px solid #e2e5e9;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(11, 37, 64, 0.06);
}

.cb-latest-news-header {
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e5e9;
}

.cb-latest-news-section-title {
    position: relative;
    margin: 0;
    padding-left: 14px;
    color: #12345b;
    font-family: "Roboto Slab", Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.cb-latest-news-section-title::before {
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 0;
    width: 5px;
    background-color: #c62828;
    border-radius: 2px;
    content: "";
}

/* Lista de notícias */

.cb-latest-news-list {
    display: grid;
    gap: 22px;
}

.cb-latest-news-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0 0 22px;
    border-bottom: 1px solid #e2e5e9;
}

.cb-latest-news-card:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.cb-latest-news-media {
    display: block;
    width: 100%;
    overflow: hidden;
    background-color: #e2e5e9;
    border-radius: 5px;
    aspect-ratio: 16 / 10;
}

.cb-latest-news-image {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.cb-latest-news-media:hover .cb-latest-news-image {
    transform: scale(1.035);
}

.cb-latest-news-image--placeholder {
    background:
        linear-gradient(
            135deg,
            #e2e5e9 0%,
            #f5f6f8 50%,
            #e2e5e9 100%
        );
}

.cb-latest-news-content {
    min-width: 0;
}

.cb-latest-news-category {
    display: inline-block;
    margin-bottom: 7px;
    color: #12345b;
    font-family: Inter, Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: uppercase;
}

.cb-latest-news-category:hover {
    color: #c62828;
}

.cb-latest-news-title {
    margin: 0 0 7px;
    font-family: "Roboto Slab", Georgia, serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.25;
}

.cb-latest-news-title a {
    color: #20242a;
    text-decoration: none;
}

.cb-latest-news-title a:hover {
    color: #c62828;
}

.cb-latest-news-meta {
    margin-bottom: 10px;
    color: #646b73;
    font-family: Inter, Arial, sans-serif;
    font-size: 12px;
    line-height: 1.4;
}

.cb-latest-news-excerpt {
    margin: 0 0 12px;
    color: #646b73;
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
}

.cb-latest-news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #12345b;
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.cb-latest-news-read-more:hover {
    color: #c62828;
}

/* Mensagem quando ainda não existem notícias */

.cb-latest-news-empty {
    padding: 25px;
    background-color: #f5f6f8;
    border: 1px dashed #a5abb3;
    border-radius: 5px;
    text-align: center;
}

.cb-latest-news-empty p {
    margin: 0;
    color: #646b73;
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

/* Paginação */

.cb-latest-news-pagination {
    margin-top: 28px;
}

.cb-latest-news-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cb-latest-news-pagination .page-numbers a,
.cb-latest-news-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 7px 11px;
    color: #12345b;
    background-color: #f5f6f8;
    border: 1px solid #e2e5e9;
    border-radius: 4px;
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.cb-latest-news-pagination .page-numbers a:hover,
.cb-latest-news-pagination .page-numbers .current {
    color: #ffffff;
    background-color: #12345b;
    border-color: #12345b;
}

/* Tablet */

@media (max-width: 1024px) {
    .cb-latest-news-section {
        padding: 22px;
    }

    .cb-latest-news-card {
        grid-template-columns: 185px minmax(0, 1fr);
        gap: 17px;
    }

    .cb-latest-news-title {
        font-size: 21px;
    }
}

/* Celular */

@media (max-width: 768px) {
    .cb-latest-news-section {
        padding: 18px 16px;
        border-radius: 4px;
    }

    .cb-latest-news-section-title {
        font-size: 24px;
    }

    .cb-latest-news-card {
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 13px;
        padding-bottom: 17px;
    }

    .cb-latest-news-title {
        font-size: 17px;
        line-height: 1.3;
    }

    .cb-latest-news-excerpt {
        display: none;
    }

    .cb-latest-news-read-more {
        font-size: 12px;
    }
}

/* Telas muito pequenas */

@media (max-width: 420px) {
    .cb-latest-news-card {
        grid-template-columns: 1fr;
    }

    .cb-latest-news-media {
        aspect-ratio: 16 / 9;
    }

    .cb-latest-news-excerpt {
        display: block;
        font-size: 14px;
    }
}

/* Redução de movimento */

@media (prefers-reduced-motion: reduce) {
    .cb-latest-news-image {
        transition: none;
    }
}

/* =========================================================
   F08 — BARRA LATERAL DIREITA
   Pesquisa, categorias e notícias recentes
   ========================================================= */

#right-sidebar .inside-right-sidebar {
    display: grid;
    gap: 20px;
}

#right-sidebar .widget {
    margin: 0;
    padding: 22px;
    background-color: #ffffff;
    border: 1px solid #e2e5e9;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(11, 37, 64, 0.06);
}

/* Títulos dos blocos */

#right-sidebar .widget h2,
#right-sidebar .widget h3,
#right-sidebar .widget .widget-title {
    position: relative;
    margin: 0 0 18px;
    padding: 0 0 11px 13px;
    color: #12345b;
    border-bottom: 1px solid #e2e5e9;
    font-family: "Roboto Slab", Georgia, serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.25;
}

#right-sidebar .widget h2::before,
#right-sidebar .widget h3::before,
#right-sidebar .widget .widget-title::before {
    position: absolute;
    top: 2px;
    bottom: 12px;
    left: 0;
    width: 4px;
    background-color: #c62828;
    border-radius: 2px;
    content: "";
}

/* Pesquisa */

#right-sidebar .wp-block-search__label {
    display: block;
    margin-bottom: 9px;
    color: #12345b;
    font-family: "Roboto Slab", Georgia, serif;
    font-size: 20px;
    font-weight: 700;
}

#right-sidebar .wp-block-search__inside-wrapper {
    display: flex;
    gap: 8px;
}

#right-sidebar .wp-block-search__input {
    min-width: 0;
    padding: 10px 12px;
    color: #20242a;
    background-color: #ffffff;
    border: 1px solid #a5abb3;
    border-radius: 4px;
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
}

#right-sidebar .wp-block-search__input:focus {
    border-color: #12345b;
    outline: 2px solid rgba(18, 52, 91, 0.12);
}

#right-sidebar .wp-block-search__button {
    margin: 0;
    padding: 10px 15px;
    color: #ffffff;
    background-color: #12345b;
    border: 0;
    border-radius: 4px;
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

#right-sidebar .wp-block-search__button:hover {
    background-color: #c62828;
}

/* Categorias */

#right-sidebar .wp-block-categories-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

#right-sidebar .wp-block-categories-list li {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid #e2e5e9;
}

#right-sidebar .wp-block-categories-list li:first-child {
    padding-top: 0;
}

#right-sidebar .wp-block-categories-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

#right-sidebar .wp-block-categories-list a {
    color: #20242a;
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

#right-sidebar .wp-block-categories-list a:hover {
    color: #c62828;
}

/* Notícias recentes */

#right-sidebar .wp-block-latest-posts {
    margin: 0;
    padding: 0;
    list-style: none;
}

#right-sidebar .wp-block-latest-posts li {
    min-height: 62px;
    margin: 0 0 15px;
    padding: 0 0 15px;
    overflow: hidden;
    border-bottom: 1px solid #e2e5e9;
}

#right-sidebar .wp-block-latest-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

#right-sidebar .wp-block-latest-posts__featured-image {
    float: left;
    width: 86px;
    margin: 0 12px 6px 0;
}

#right-sidebar .wp-block-latest-posts__featured-image img {
    display: block;
    width: 86px;
    height: 58px;
    margin: 0;
    object-fit: cover;
    border-radius: 4px;
}

#right-sidebar .wp-block-latest-posts__post-title {
    color: #20242a;
    font-family: "Roboto Slab", Georgia, serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

#right-sidebar .wp-block-latest-posts__post-title:hover {
    color: #c62828;
}

#right-sidebar .wp-block-latest-posts__post-date {
    display: block;
    margin-top: 5px;
    color: #646b73;
    font-family: Inter, Arial, sans-serif;
    font-size: 11px;
    line-height: 1.3;
}

/* Celular */

@media (max-width: 768px) {
    #right-sidebar .widget {
        padding: 18px;
    }

    #right-sidebar .widget h2,
    #right-sidebar .widget h3,
    #right-sidebar .widget .widget-title {
        font-size: 21px;
    }
}

/* =========================================================
   F08 — CARD VOCÊ REPÓRTER
   ========================================================= */

#right-sidebar .cb-reporter-card {
    position: relative;
    overflow: hidden;
    margin: -22px;
    padding: 26px 24px;
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            #c62828 0%,
            #a91f1f 55%,
            #7f1717 100%
        );
    border-radius: 6px;
}

#right-sidebar .cb-reporter-card::after {
    position: absolute;
    right: -35px;
    bottom: -55px;
    width: 150px;
    height: 150px;
    background-color: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

#right-sidebar .cb-reporter-card-kicker {
    display: inline-block;
    position: relative;
    z-index: 1;
    margin-bottom: 8px;
    padding: 5px 9px;
    color: #ffffff;
    background-color: rgba(11, 37, 64, 0.36);
    border-radius: 3px;
    font-family: Inter, Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#right-sidebar .cb-reporter-card h3,
#right-sidebar .widget .cb-reporter-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 12px;
    padding: 0;
    color: #ffffff;
    border: 0;
    font-family: "Roboto Slab", Georgia, serif;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.15;
}

#right-sidebar .cb-reporter-card h3::before {
    display: none;
}

#right-sidebar .cb-reporter-card p {
    position: relative;
    z-index: 1;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.92);
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

#right-sidebar .cb-reporter-card-button {
    display: inline-flex;
    position: relative;
    z-index: 1;
    align-items: center;
    gap: 7px;
    padding: 11px 15px;
    color: #12345b;
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(11, 37, 64, 0.18);
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

#right-sidebar .cb-reporter-card-button:hover {
    color: #ffffff;
    background-color: #12345b;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    #right-sidebar .cb-reporter-card {
        margin: -18px;
        padding: 23px 20px;
    }

    #right-sidebar .cb-reporter-card h3,
    #right-sidebar .widget .cb-reporter-card h3 {
        font-size: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #right-sidebar .cb-reporter-card-button {
        transition: none;
    }
}

/* =========================================================
   F08.3 — PUBLICIDADE DA BARRA LATERAL
   ========================================================= */

.cb-sidebar-ad {
    width: 100%;
    max-width: 300px;
    margin: 28px auto;
}

.cb-sidebar-ad-label {
    display: block;
    margin-bottom: 7px;
    color: #646B73;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.cb-sidebar-ad-placeholder {
    display: flex;
    width: 100%;
    aspect-ratio: 6 / 5;
    padding: 24px;
    border: 1px dashed #A5ABB3;
    border-radius: 8px;
    background: #F5F6F8;
    color: #646B73;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}

.cb-sidebar-ad-placeholder strong {
    color: #20242A;
    font-size: 15px;
    font-weight: 700;
}

.cb-sidebar-ad-placeholder span {
    font-size: 13px;
}

/* Preparação para banners reais futuros */
.cb-sidebar-ad a {
    display: block;
}

.cb-sidebar-ad img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}
/* =========================================================
   F09.1 — PÁGINA INDIVIDUAL DA NOTÍCIA
   Cabeçalho editorial, compartilhamento e imagem principal
   ========================================================= */

.single-post .inside-article {
    overflow: hidden;
}

.single-post .cb-single-header {
    margin: 0 0 28px;
    padding: 0 0 24px;
    border-bottom: 1px solid #e2e5e9;
}

.single-post .cb-single-header-topline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.single-post .cb-single-category {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    color: #ffffff;
    background-color: #12345b;
    border-radius: 3px;
    font-family: Inter, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
}

.single-post .cb-single-category:hover,
.single-post .cb-single-category:focus {
    color: #ffffff;
    background-color: #c62828;
}

.single-post .cb-single-header-topline .cb-editorial-badges {
    margin: 0;
}

.single-post .cb-single-title {
    margin: 0;
    color: #12345b;
    font-family: "Roboto Slab", Georgia, serif;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.13;
    overflow-wrap: anywhere;
}

.single-post .cb-single-subtitle {
    max-width: 850px;
    margin: 16px 0 0;
    color: #4f5863;
    font-family: Inter, Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
}

.single-post .cb-single-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 17px;
    color: #646b73;
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

.single-post .cb-single-meta a {
    color: #12345b;
    font-weight: 600;
    text-decoration: none;
}

.single-post .cb-single-meta a:hover,
.single-post .cb-single-meta a:focus {
    color: #c62828;
    text-decoration: underline;
}

.single-post .cb-single-meta-separator {
    color: #a5abb3;
}

.single-post .cb-single-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.single-post .cb-single-share-label {
    color: #20242a;
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.single-post .cb-single-share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.single-post .cb-single-share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 12px;
    color: #ffffff;
    background-color: #12345b;
    border-radius: 4px;
    font-family: Inter, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.single-post .cb-single-share-link:hover,
.single-post .cb-single-share-link:focus {
    color: #ffffff;
    background-color: #0b2540;
    transform: translateY(-1px);
}

.single-post .cb-single-share-link--whatsapp {
    background-color: #167f4f;
}

.single-post .cb-single-share-link--facebook {
    background-color: #315b9d;
}

.single-post .cb-single-share-link--x {
    background-color: #20242a;
}

.single-post .cb-single-featured-media {
    margin: 0 0 30px;
}

.single-post .cb-single-featured-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    border-radius: 6px;
}

.single-post .cb-single-featured-caption {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 16px;
    margin-top: 8px;
    color: #646b73;
    font-family: Inter, Arial, sans-serif;
    font-size: 12px;
    line-height: 1.45;
}

.single-post .cb-single-image-credit {
    font-weight: 600;
}

.single-post .entry-content {
    color: #20242a;
    font-family: Inter, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.78;
}

.single-post .entry-content > :first-child {
    margin-top: 0;
}

.single-post .entry-content p {
    margin-bottom: 1.35em;
}

.single-post footer.entry-meta[aria-label="Entry meta"] {
    display: none;
}

@media (max-width: 768px) {
    .single-post .cb-single-header {
        margin-bottom: 22px;
        padding-bottom: 20px;
    }

    .single-post .cb-single-title {
        font-size: clamp(30px, 9vw, 38px);
        line-height: 1.16;
    }

    .single-post .cb-single-subtitle {
        margin-top: 13px;
        font-size: 18px;
        line-height: 1.48;
    }

    .single-post .cb-single-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
        font-size: 12px;
    }

    .single-post .cb-single-meta-separator {
        display: none;
    }

    .single-post .cb-single-share {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 17px;
    }

    .single-post .cb-single-share-links {
        width: 100%;
    }

    .single-post .cb-single-share-link {
        flex: 1 1 auto;
    }

    .single-post .cb-single-featured-media {
        margin-bottom: 24px;
    }

    .single-post .cb-single-featured-caption {
        flex-direction: column;
    }

    .single-post .entry-content {
        font-size: 17px;
        line-height: 1.72;
    }
}

@media (max-width: 420px) {
    .single-post .cb-single-share-link {
        flex-basis: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .single-post .cb-single-share-link {
        transition: none;
    }
}


/* F09.1 hotfix: impede a duplicação da imagem destacada padrão do GeneratePress. */
.single-post .inside-article > .featured-image.page-header-image-single {
    display: none !important;
}

/* =========================================================
   F09.2 — COMPLEMENTOS DA PÁGINA INDIVIDUAL
   Publicidade, tags, compartilhamento final, relacionadas e autor
   ========================================================= */

.single-post .cb-single-after-content {
    margin-top: 38px;
    padding-top: 4px;
}

.single-post .cb-single-after-content > * + * {
    margin-top: 34px;
}

.single-post .cb-single-section-title {
    margin: 0;
    color: #12345b;
    font-family: "Roboto Slab", Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.single-post .cb-single-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e5e9;
}

.single-post .cb-single-section-heading .cb-single-section-title {
    position: relative;
    padding-left: 13px;
}

.single-post .cb-single-section-heading .cb-single-section-title::before {
    position: absolute;
    top: 0.12em;
    bottom: 0.12em;
    left: 0;
    width: 4px;
    background-color: #c62828;
    border-radius: 2px;
    content: "";
}

.single-post .cb-single-section-link {
    color: #646b73;
    font-family: Inter, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.single-post .cb-single-section-link:hover,
.single-post .cb-single-section-link:focus {
    color: #c62828;
    text-decoration: underline;
}

.single-post .cb-single-tags {
    padding-top: 24px;
    border-top: 1px solid #e2e5e9;
}

.single-post .cb-single-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 14px;
}

.single-post .cb-single-tags-list a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    color: #12345b;
    background-color: #f5f6f8;
    border: 1px solid #e2e5e9;
    border-radius: 999px;
    font-family: Inter, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.single-post .cb-single-tags-list a:hover,
.single-post .cb-single-tags-list a:focus {
    color: #ffffff;
    background-color: #12345b;
    border-color: #12345b;
}

.single-post .cb-single-share-bottom {
    padding: 22px;
    background-color: #f5f6f8;
    border: 1px solid #e2e5e9;
    border-radius: 7px;
}

.single-post .cb-single-share-bottom .cb-single-share {
    margin-top: 14px;
}

.single-post .cb-single-share-bottom .cb-single-share-label {
    display: none;
}

.single-post .cb-single-ad {
    clear: both;
    width: 100%;
    margin: 34px 0;
    text-align: center;
}

.single-post .entry-content .cb-single-ad {
    margin: 34px 0 38px;
}

.single-post .cb-single-ad-label {
    display: block;
    margin-bottom: 7px;
    color: #646b73;
    font-family: Inter, Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.single-post .cb-single-ad-media,
.single-post .cb-single-ad-media a,
.single-post .cb-single-ad-media picture {
    display: block;
}

.single-post .cb-single-ad-media img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 6px;
}

.single-post .cb-single-ad--inline .cb-single-ad-media {
    max-width: 728px;
    margin: 0 auto;
}

.single-post .cb-single-ad--final .cb-single-ad-media {
    max-width: 970px;
    margin: 0 auto;
}

.single-post .cb-single-ad-placeholder {
    display: flex;
    min-height: 130px;
    padding: 24px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    color: #646b73;
    background: #f5f6f8;
    border: 1px dashed #a5abb3;
    border-radius: 7px;
    font-family: Inter, Arial, sans-serif;
    font-size: 12px;
    line-height: 1.45;
}

.single-post .cb-single-ad-placeholder strong {
    color: #20242a;
    font-size: 15px;
}

.single-post .cb-single-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.single-post .cb-single-related-card {
    min-width: 0;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #e2e5e9;
    border-radius: 7px;
}

.single-post .cb-single-related-media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #e2e5e9;
    text-decoration: none;
}

.single-post .cb-single-related-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.single-post .cb-single-related-card:hover .cb-single-related-image {
    transform: scale(1.035);
}

.single-post .cb-single-related-fallback {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background-color: #12345b;
    font-family: "Roboto Slab", Georgia, serif;
    font-size: 17px;
    font-weight: 700;
}

.single-post .cb-single-related-content {
    padding: 14px 15px 17px;
}

.single-post .cb-single-related-date {
    display: block;
    margin-bottom: 7px;
    color: #646b73;
    font-family: Inter, Arial, sans-serif;
    font-size: 11px;
    line-height: 1.35;
}

.single-post .cb-single-related-title {
    margin: 0;
    font-family: "Roboto Slab", Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.single-post .cb-single-related-title a {
    color: #12345b;
    text-decoration: none;
}

.single-post .cb-single-related-title a:hover,
.single-post .cb-single-related-title a:focus {
    color: #c62828;
}

.single-post .cb-single-author-box {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
    background-color: #f5f6f8;
    border-left: 4px solid #12345b;
    border-radius: 0 7px 7px 0;
}

.single-post .cb-single-author-photo {
    flex: 0 0 72px;
}

.single-post .cb-single-author-avatar {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 50%;
}

.single-post .cb-single-author-content {
    min-width: 0;
}

.single-post .cb-single-author-kicker {
    display: block;
    margin-bottom: 3px;
    color: #c62828;
    font-family: Inter, Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.single-post .cb-single-author-name {
    margin: 0;
    font-family: "Roboto Slab", Georgia, serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

.single-post .cb-single-author-name a {
    color: #12345b;
    text-decoration: none;
}

.single-post .cb-single-author-name a:hover,
.single-post .cb-single-author-name a:focus {
    color: #c62828;
}

.single-post .cb-single-author-content p {
    margin: 7px 0 0;
    color: #4f5863;
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .single-post .cb-single-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .single-post .cb-single-related-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .single-post .cb-single-after-content {
        margin-top: 30px;
    }

    .single-post .cb-single-after-content > * + * {
        margin-top: 28px;
    }

    .single-post .cb-single-section-title {
        font-size: 22px;
    }

    .single-post .cb-single-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .single-post .cb-single-share-bottom {
        padding: 18px;
    }

    .single-post .cb-single-related-grid {
        grid-template-columns: 1fr;
    }

    .single-post .cb-single-related-card:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .single-post .cb-single-author-box {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

    .single-post .cb-single-ad-placeholder {
        min-height: 110px;
        padding: 20px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .single-post .cb-single-related-image {
        transition: none;
    }
}

/* =========================================================
   F10.1 — CATEGORIAS, ARQUIVOS, AUTORES, TAGS E PESQUISA
   Listagem jornalística compacta e responsiva
   ========================================================= */

.archive .page-header,
.search-results .page-header {
    margin-bottom: 20px;
    padding: 28px 30px;
    background-color: #ffffff;
    border-left: 4px solid #c62828;
    border-radius: 0 7px 7px 0;
    box-shadow: 0 4px 16px rgba(11, 37, 64, 0.05);
}

.archive .page-header .page-title,
.search-results .page-header .page-title {
    margin: 0;
    color: #12345b;
    font-family: "Roboto Slab", Georgia, serif;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.2;
}

.archive .page-header .taxonomy-description,
.search-results .page-header .page-header-description {
    max-width: 760px;
    margin-top: 9px;
    color: #646b73;
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
}

.archive .page-header .taxonomy-description p,
.search-results .page-header .page-header-description p {
    margin: 0;
}

.archive .site-main > .cb-archive-card,
.search-results .site-main > .cb-archive-card {
    margin-bottom: 18px;
}

.archive .cb-archive-card .inside-article,
.search-results .cb-archive-card .inside-article {
    display: grid;
    grid-template-columns: minmax(220px, 32%) minmax(0, 1fr);
    grid-template-areas:
        "media header"
        "media summary";
    gap: 9px 24px;
    align-items: start;
    padding: 22px;
    overflow: hidden;
    border: 1px solid #e2e5e9;
    border-radius: 7px;
    box-shadow: 0 4px 16px rgba(11, 37, 64, 0.05);
}

.archive .cb-archive-card--no-image .inside-article,
.search-results .cb-archive-card--no-image .inside-article {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "header"
        "summary";
}

.archive .cb-archive-card .post-image,
.search-results .cb-archive-card .post-image {
    grid-area: media;
    align-self: stretch;
    width: 100%;
    margin: 0 !important;
    overflow: hidden;
    background-color: #e2e5e9;
    border-radius: 5px;
    aspect-ratio: 16 / 9;
}

.archive .cb-archive-card .post-image a,
.search-results .cb-archive-card .post-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.archive .cb-archive-card .post-image img,
.search-results .cb-archive-card .post-image img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center;
    transition: transform 0.25s ease;
}

.archive .cb-archive-card:hover .post-image img,
.search-results .cb-archive-card:hover .post-image img {
    transform: scale(1.025);
}

.archive .cb-archive-card .entry-header,
.search-results .cb-archive-card .entry-header {
    grid-area: header;
    min-width: 0;
}

.archive .cb-archive-card .entry-title,
.search-results .cb-archive-card .entry-title {
    margin: 6px 0 8px;
    font-family: "Roboto Slab", Georgia, serif;
    font-size: clamp(21px, 2vw, 27px);
    font-weight: 700;
    line-height: 1.25;
}

.archive .cb-archive-card .entry-title a,
.search-results .cb-archive-card .entry-title a {
    color: #12345b;
    text-decoration: none;
}

.archive .cb-archive-card .entry-title a:hover,
.archive .cb-archive-card .entry-title a:focus,
.search-results .cb-archive-card .entry-title a:hover,
.search-results .cb-archive-card .entry-title a:focus {
    color: #c62828;
}

.archive .cb-archive-card .entry-meta,
.search-results .cb-archive-card .entry-meta {
    color: #646b73;
    font-family: Inter, Arial, sans-serif;
    font-size: 11px;
    line-height: 1.45;
}

.archive .cb-archive-card .entry-summary,
.archive .cb-archive-card .entry-content,
.search-results .cb-archive-card .entry-summary,
.search-results .cb-archive-card .entry-content {
    grid-area: summary;
    min-width: 0;
    margin: 0;
    color: #4f5863;
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.archive .cb-archive-card .entry-summary p,
.archive .cb-archive-card .entry-content p,
.search-results .cb-archive-card .entry-summary p,
.search-results .cb-archive-card .entry-content p {
    margin: 0;
}

.archive .cb-archive-card footer.entry-meta,
.search-results .cb-archive-card footer.entry-meta,
.archive .cb-archive-card .read-more-container,
.search-results .cb-archive-card .read-more-container {
    display: none;
}

.cb-archive-primary-category {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    color: #ffffff !important;
    background-color: #12345b;
    border-radius: 3px;
    font-family: Inter, Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.045em;
    text-decoration: none !important;
    text-transform: uppercase;
}

.cb-archive-primary-category:hover,
.cb-archive-primary-category:focus {
    color: #ffffff !important;
    background-color: #c62828;
}

.cb-archive-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    color: #12345b;
    font-family: Inter, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.cb-archive-read-more:hover,
.cb-archive-read-more:focus {
    color: #c62828;
    text-decoration: underline;
}

.archive .paging-navigation,
.search-results .paging-navigation {
    margin-top: 24px;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #e2e5e9;
    border-radius: 7px;
}

.archive .paging-navigation .nav-links,
.search-results .paging-navigation .nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.archive .paging-navigation .page-numbers,
.search-results .paging-navigation .page-numbers {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    padding: 7px 11px;
    align-items: center;
    justify-content: center;
    color: #12345b;
    background-color: #f5f6f8;
    border: 1px solid #e2e5e9;
    border-radius: 4px;
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.archive .paging-navigation .page-numbers.current,
.archive .paging-navigation .page-numbers:hover,
.archive .paging-navigation .page-numbers:focus,
.search-results .paging-navigation .page-numbers.current,
.search-results .paging-navigation .page-numbers:hover,
.search-results .paging-navigation .page-numbers:focus {
    color: #ffffff;
    background-color: #12345b;
    border-color: #12345b;
}

@media (max-width: 900px) {
    .archive .cb-archive-card .inside-article,
    .search-results .cb-archive-card .inside-article {
        grid-template-columns: minmax(180px, 34%) minmax(0, 1fr);
        gap: 8px 18px;
    }
}

@media (max-width: 768px) {
    .archive .page-header,
    .search-results .page-header {
        padding: 22px 20px;
    }

    .archive .cb-archive-card .inside-article,
    .search-results .cb-archive-card .inside-article,
    .archive .cb-archive-card--no-image .inside-article,
    .search-results .cb-archive-card--no-image .inside-article {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "media"
            "header"
            "summary";
        gap: 14px;
        padding: 18px;
    }

    .archive .cb-archive-card--no-image .inside-article,
    .search-results .cb-archive-card--no-image .inside-article {
        grid-template-areas:
            "header"
            "summary";
    }

    .archive .cb-archive-card .entry-title,
    .search-results .cb-archive-card .entry-title {
        font-size: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .archive .cb-archive-card .post-image img,
    .search-results .cb-archive-card .post-image img {
        transition: none;
    }
}
