/* NovaCambios France — Editorial V3 */

/* Subheader mais compacto */
body.nc-fr-editorial-active .entry-hero-container-inner,
body.page .entry-hero-container-inner {
    min-height: 95px !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}

body.page .entry-hero h1 {
    font-size: clamp(24px, 2.5vw, 30px) !important;
}

/* Estrutura editorial */
.nc-fr-editorial-v3-layout {
    width: 100%;
    color: #24334d;
}

/* Imagem de topo */
.nc-fr-editorial-hero {
    margin: 0 0 20px !important;
    overflow: hidden;
    border-radius: 12px;
    background: #eaf4fb;
}

.nc-fr-editorial-hero img {
    display: block;
    width: 100%;
    height: clamp(180px, 23vw, 275px);
    object-fit: cover;
}

/* Cartões */
.nc-fr-editorial-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}

.nc-fr-editorial-card {
    min-height: 90px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f2f8fc;
    border: 1px solid #d6e9f2;
    border-radius: 11px;
    color: #1f2d50;
    font-size: 14px;
    font-weight: 600;
}

.nc-fr-editorial-card .dashicons {
    color: #159fc2;
    font-size: 25px;
    width: 27px;
    height: 27px;
    flex: none;
}

/* Texto editorial */
.nc-fr-editorial-body,
.nc-fr-editorial-body .nc-fr-conteudo-recuperado {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #24334d !important;
    font-weight: 400 !important;
}

.nc-fr-editorial-body p,
.nc-fr-editorial-body .nc-fr-conteudo-recuperado p {
    font-size: 15px !important;
    line-height: 1.7 !important;
    font-weight: 400 !important;
    color: #24334d !important;
    margin-bottom: 16px !important;
}

/* Remover negrito herdado dos antigos widgets Kata,
   sem alterar os títulos e destaques semânticos. */
.nc-fr-editorial-body p span,
.nc-fr-editorial-body p font,
.nc-fr-editorial-body p em {
    font-size: inherit !important;
    font-weight: 400 !important;
}

.nc-fr-editorial-body strong,
.nc-fr-editorial-body b {
    font-weight: 600;
}

.nc-fr-editorial-body h2 {
    font-size: 22px !important;
    color: #1f2d50 !important;
    margin: 24px 0 12px !important;
}

.nc-fr-editorial-body h3 {
    font-size: 18px !important;
    color: #1f2d50 !important;
    margin: 20px 0 10px !important;
}

.nc-fr-editorial-body a:not(.nc-button) {
    color: #1388ac !important;
}

/* Preservar layout e botões do localizador */
.nc-fr-editorial-body .nc-locator p,
.nc-fr-editorial-body .nc-locator button,
.nc-fr-editorial-body .nc-locator a {
    font-weight: inherit;
}

/* Mobile */
@media(max-width:767px) {
    .nc-fr-editorial-cards {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .nc-fr-editorial-card {
        min-height: 62px;
    }

    .nc-fr-editorial-hero img {
        height: 185px;
    }
}
