.elementor-93515 .elementor-element.elementor-element-a750344{--display:flex;--padding-top:50px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );}.elementor-93515 .elementor-element.elementor-element-404e383 img{width:10%;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-93515 .elementor-element.elementor-element-fa9b7eb{text-align:center;}.elementor-93515 .elementor-element.elementor-element-fa9b7eb .elementor-heading-title{font-family:"Ubuntu", Sans-serif;font-size:45px;font-weight:500;color:#FFFFFF;}@media(min-width:2400px){.elementor-widget-image .widget-image-caption{font-size:var( --e-global-typography-text-font-size );}.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );}}@media(max-width:1366px){.elementor-widget-image .widget-image-caption{font-size:var( --e-global-typography-text-font-size );}.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );}}@media(max-width:1024px){.elementor-widget-image .widget-image-caption{font-size:var( --e-global-typography-text-font-size );}.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );}}@media(max-width:767px){.elementor-93515 .elementor-element.elementor-element-a750344{--padding-top:50px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-image .widget-image-caption{font-size:var( --e-global-typography-text-font-size );}.elementor-93515 .elementor-element.elementor-element-404e383 img{width:30%;}.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );}.elementor-93515 .elementor-element.elementor-element-fa9b7eb .elementor-heading-title{font-size:35px;}}/* Start custom CSS for container, class: .elementor-element-a750344 *//* ============================================================
   NOTÍCIAS DA SEMANA — CBTP
   Versão final consolidada
   ============================================================ */

/* Importa Ubuntu do Google Fonts (remova se o tema já carrega) */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&display=swap');

/* ============================================================
   FUNDO VERDE COM TEXTURA — só nas edições semanais
   Preserva header e footer do tema CBTP
   ============================================================ */
body.single-edicao_semanal #content,
body.single-edicao_semanal main,
body.single-edicao_semanal .site-main,
body.single-edicao_semanal .elementor-location-single,
body.single-edicao_semanal .page-content,
body.single-edicao_semanal .entry-content {
    position: relative;
    background: linear-gradient(180deg, #074039 0%, #106D70 100%);
    color: #f4d03f;
}

/* Camada das listras diagonais — somem na metade da altura */
body.single-edicao_semanal #content::before,
body.single-edicao_semanal main::before,
body.single-edicao_semanal .site-main::before,
body.single-edicao_semanal .elementor-location-single::before,
body.single-edicao_semanal .page-content::before,
body.single-edicao_semanal .entry-content::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        135deg,
        transparent 0px,
        transparent 3px,
        rgba(255, 255, 255, 0.03) 3px,
        rgba(255, 255, 255, 0.03) 4px
    );
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 50%);
            mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 50%);
    z-index: 0;
}

/* Conteúdo fica acima da camada de listras */
body.single-edicao_semanal #content > *,
body.single-edicao_semanal main > *,
body.single-edicao_semanal .site-main > *,
body.single-edicao_semanal .elementor-location-single > *,
body.single-edicao_semanal .page-content > *,
body.single-edicao_semanal .entry-content > * {
    position: relative;
    z-index: 1;
}

/* ============================================================
   WRAPPER DO GRID
   ============================================================ */
.nds-grid {
    background: transparent;
    font-family: 'Ubuntu', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: #f4d03f;

    display: grid;
    gap: clamp(28px, 4vw, 50px);
    grid-template-columns: 1fr;

    padding: clamp(30px, 5vw, 60px) clamp(16px, 4vw, 40px);

    max-width: 1320px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Forçar Ubuntu em todos os elementos internos */
.nds-grid,
.nds-grid * {
    font-family: 'Ubuntu', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ============================================================
   BREAKPOINTS RESPONSIVOS
   ============================================================ */

/* Tablet pequeno (600px+): 2 colunas */
@media (min-width: 600px) {
    .nds-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop (992px+): 3 colunas */
@media (min-width: 992px) {
    .nds-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================================
   CARDS
   ============================================================ */
.nds-card {
    margin: 0;
    padding: 0;
    min-width: 0;
}

.nds-card-link {
    display: block;
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.25s ease, opacity 0.25s ease;
    border-radius: 12px;
}

.nds-card-link:hover {
    transform: translateY(-4px);
    opacity: 0.95;
}

.nds-card-link:focus-visible {
    outline: 3px solid #f4d03f;
    outline-offset: 4px;
}

/* ============================================================
   IMAGEM — preenche o card, prioriza o centro
   ============================================================ */
.nds-card-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #074039;
    border-radius: 12px;
    margin-bottom: clamp(14px, 2vw, 20px);
    overflow: hidden;
}

.nds-card-thumb-empty {
    background-color: rgba(244, 208, 63, 0.08);
    border: 2px dashed rgba(244, 208, 63, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nds-card-thumb-empty::before {
    content: "Sem imagem";
    color: rgba(244, 208, 63, 0.5);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
   TÍTULO
   ============================================================ */
.nds-card-title {
    color: #f4d03f !important;
    font-family: 'Ubuntu', sans-serif !important;
    font-size: clamp(18px, 2.2vw, 22px);
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 clamp(12px, 1.8vw, 16px) 0;
    letter-spacing: -0.01em;

    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* ============================================================
   PILL DA DATA
   ============================================================ */
.nds-card-data {
    display: inline-block;
    background-color: #f4d03f;
    color: #074039;
    padding: clamp(6px, 1vw, 8px) clamp(16px, 2vw, 22px);
    border-radius: 50px;
    font-family: 'Ubuntu', sans-serif !important;
    font-size: clamp(13px, 1.4vw, 15px);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
}

/* ============================================================
   ESTADO VAZIO (edição sem notícias)
   ============================================================ */
.nds-empty {
    color: #f4d03f;
    font-family: 'Ubuntu', sans-serif;
    text-align: center;
    padding: clamp(40px, 8vw, 80px) 20px;
    font-style: italic;
    opacity: 0.7;
    margin: 0;
}

/* ============================================================
   ACESSIBILIDADE — respeita preferência de reduzir animações
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .nds-card-link {
        transition: none;
    }
    .nds-card-link:hover {
        transform: none;
    }
}

/* ============================================================
   TELAS PEQUENAS (até 360px) — anti-quebra final
   ============================================================ */
@media (max-width: 360px) {
    .nds-grid {
        padding: 24px 14px;
        gap: 28px;
    }
    .nds-card-title {
        font-size: 17px;
    }
}/* End custom CSS */