/* Home 2 — faixa de últimas e cards capa (só neste bloco). */
.prestige-layout-2 .mais-recentes,
.pn-home-l2 .mais-recentes {
    width: auto;
    max-width: none !important;
    margin-left: 15px !important;
    margin-right: 15px !important;
    padding: 30px 80px 10px;
    display: block;
    box-sizing: border-box;
    border-radius: 10px !important;
    overflow: hidden;
    position: relative;
    background-color: #212529;
    border: none;
}

.prestige-layout-2 .mais-recentes > .container-fluid,
.pn-home-l2 .mais-recentes > .container-fluid {
    max-width: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.prestige-layout-2 .mais-recentes .header-revista,
.pn-home-l2 .mais-recentes .header-revista {
    border-bottom: 1px solid #444;
    padding-left: .75rem;
    padding-right: .75rem;
    padding-bottom: 15px;
    margin-bottom: 1.25rem;
}

.prestige-layout-2 .mais-recentes .titulo-edicao,
.pn-home-l2 .mais-recentes .titulo-edicao {
    color: #fff;
}

.prestige-layout-2 .mais-recentes .data-edicao,
.pn-home-l2 .mais-recentes .data-edicao {
    color: #888;
}

.prestige-layout-2 .mais-recentes .header-revista .nav-text,
.pn-home-l2 .mais-recentes .header-revista .nav-text {
    color: #fff !important;
}

.prestige-layout-2 .mais-recentes .header-revista .nav-text i,
.pn-home-l2 .mais-recentes .header-revista .nav-text i {
    color: var(--cor-primaria);
}

.prestige-layout-2 .mais-recentes .header-revista .nav-text:hover,
.prestige-layout-2 .mais-recentes .header-revista .nav-text:hover i,
.pn-home-l2 .mais-recentes .header-revista .nav-text:hover,
.pn-home-l2 .mais-recentes .header-revista .nav-text:hover i {
    color: var(--cor-primaria) !important;
}

.prestige-layout-2 main:not(:has(.banner_carrosel)),
.pn-home-l2 main:not(:has(.banner_carrosel)) {
    margin-top: .5rem;
}

.prestige-layout-2 main > .container:has(.banner_carrosel),
.pn-home-l2 main > .container:has(.banner_carrosel) {
    margin-bottom: 0;
}

.prestige-layout-2 main > .container .banner_carrosel,
.pn-home-l2 main > .container .banner_carrosel {
    margin-bottom: var(--home-block-gap, 1.25rem);
}

.prestige-layout-2 main > .container:has(.banner_carrosel) + .section-home.mais-recentes,
.pn-home-l2 main > .container:has(.banner_carrosel) + .section-home.mais-recentes {
    margin-top: var(--home-block-gap, 1.25rem);
}

.prestige-layout-2 main:not(:has(.banner_carrosel)) > .section-home.mais-recentes,
.pn-home-l2 main:not(:has(.banner_carrosel)) > .section-home.mais-recentes {
    margin-top: var(--home-block-gap, 1.25rem);
    padding-top: 1.25rem;
}

.prestige-layout-2 main > .section-home.mais-recentes,
.pn-home-l2 main > .section-home.mais-recentes {
    margin-bottom: var(--home-block-gap, 1.25rem);
}

.prestige-layout-2 main > .section-home.mais-recentes + .container,
.pn-home-l2 main > .section-home.mais-recentes + .container {
    margin-top: 0;
}

.prestige-layout-2 main > .section-home.mais-recentes + .container > .section-home:first-child,
.pn-home-l2 main > .section-home.mais-recentes + .container > .section-home:first-child {
    margin-top: 0;
}

.prestige-layout-2 .section-home:not(.mais-recentes) .linha,
.pn-home-l2 .section-home:not(.mais-recentes) .linha {
    margin-bottom: 1.25rem;
}

.pn-home-l2 .card-capa,
.prestige-layout-2 .card-capa {
    background-color: var(--cor-primaria);
    background-size: cover;
    background-position: center;
    color: var(--pn-text-on-brand);
    position: relative;
    border: none;
    min-height: 300px;
    transition: all .3s ease;
}

.pn-home-l2 .card-capa .card-body,
.prestige-layout-2 .card-capa .card-body {
    background: rgba(0, 0, 0, .6);
    height: 100%;
    padding: 2rem !important;
    transition: all .3s ease;
}

.pn-home-l2 .card-capa:hover .card-body,
.prestige-layout-2 .card-capa:hover .card-body {
    background: var(--cor-primaria);
}

.pn-home-l2 .card-capa .menu-icon,
.prestige-layout-2 .card-capa .menu-icon {
    font-size: 2rem;
    margin-bottom: .5rem;
}

.pn-home-l2 .card-capa .card-title,
.prestige-layout-2 .card-capa .card-title {
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255, 255, 255, .3);
    padding-bottom: 5px;
    margin-bottom: 20px;
    color: var(--destaque-titulo) !important;
}

.pn-home-l2 .card-capa:hover .card-title,
.pn-home-l2 .card-capa a:hover .card-title,
.prestige-layout-2 .card-capa:hover .card-title,
.prestige-layout-2 .card-capa a:hover .card-title {
    color: var(--destaque-titulo-hover) !important;
}

.pn-home-l2 .fundo-texto-capa,
.prestige-layout-2 .fundo-texto-capa {
    font-family: 'Times New Roman', serif;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.1;
    opacity: .9;
    color: var(--pn-text-on-brand);
}

.pn-home-l2 .mais-recentes .card,
.prestige-layout-2 .mais-recentes .card {
    background-color: transparent;
    transition: transform .2s;
}

.pn-home-l2 .mais-recentes .card:hover,
.prestige-layout-2 .mais-recentes .card:hover {
    transform: translateY(-5px);
}

.pn-home-l2 .card-noticia,
.prestige-layout-2 .card-noticia {
    background-color: transparent !important;
    flex: 1;
    display: flex;
    flex-direction: column;
    border: none !important;
    overflow: hidden;
    border-radius: 8px !important;
    position: relative;
}

.pn-home-l2 .card-noticia,
.pn-home-l2 .card-capa,
.prestige-layout-2 .card-noticia,
.prestige-layout-2 .card-capa {
    height: 100% !important;
}

.pn-home-l2 .card-noticia img.card-img-top,
.prestige-layout-2 .card-noticia img.card-img-top {
    height: 180px;
    object-fit: cover;
    width: 100%;
    display: block;
    margin: 0;
    border-radius: 8px 8px 0 0;
}

.pn-home-l2 .card-noticia .card-title,
.prestige-layout-2 .card-noticia .card-title {
    color: var(--home-l2-balao-texto) !important;
    font-weight: 700;
    font-size: 1.1rem !important;
    line-height: 1.3;
    margin: 0 0 .35rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pn-home-l2 .mais-recentes a:hover .card-title,
.pn-home-l2 .mais-recentes .card-title:hover,
.pn-home-l2 .mais-recentes .card-body a:hover h5,
.pn-home-l2 .mais-recentes .card-body h5:hover,
.prestige-layout-2 .mais-recentes a:hover .card-title,
.prestige-layout-2 .mais-recentes .card-title:hover,
.prestige-layout-2 .mais-recentes .card-body a:hover h5,
.prestige-layout-2 .mais-recentes .card-body h5:hover {
    color: var(--home-l2-balao-texto) !important;
    opacity: .9;
}

.pn-home-l2 .card-noticia .card-autor,
.prestige-layout-2 .card-noticia .card-autor {
    color: var(--home-l2-balao-texto) !important;
    font-size: .75rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0 !important;
    margin-top: auto;
}

.pn-home-l2 .card.h-100.card-noticia > .card-body,
.prestige-layout-2 .card.h-100.card-noticia > .card-body {
    padding: 1rem !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: .25rem;
    min-height: 140px;
    max-height: 140px;
    height: 140px;
    overflow: hidden;
    background-color: var(--home-l2-balao-bg);
    color: var(--home-l2-balao-texto);
    border-radius: 0 0 8px 8px;
}

.pn-home-l2 .mais-recentes-slider,
.prestige-layout-2 .mais-recentes-slider {
    margin-bottom: 30px;
    width: 100%;
    position: relative;
}

.pn-home-l2 .mais-recentes-slider .prestige-carousel__viewport,
.prestige-layout-2 .mais-recentes-slider .prestige-carousel__viewport {
    width: 100%;
}

.pn-home-l2 .mais-recentes-slider .prestige-carousel__slide,
.prestige-layout-2 .mais-recentes-slider .prestige-carousel__slide {
    margin: 0;
    padding: 0;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pn-home-l2 .mais-recentes-slider .prestige-carousel__track,
.prestige-layout-2 .mais-recentes-slider .prestige-carousel__track {
    display: flex;
    align-items: stretch;
}

.pn-home-l2 .mais-recentes-slider .prestige-carousel__arrow,
.prestige-layout-2 .mais-recentes-slider .prestige-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: none;
    background-color: rgba(0, 0, 0, .5);
    border-radius: 50%;
    display: block !important;
    cursor: pointer;
    transition: background .3s;
}

.pn-home-l2 .mais-recentes-slider .prestige-carousel__arrow i,
.prestige-layout-2 .mais-recentes-slider .prestige-carousel__arrow i {
    display: none !important;
}

.pn-home-l2 .mais-recentes-slider .prestige-carousel__arrow:hover,
.prestige-layout-2 .mais-recentes-slider .prestige-carousel__arrow:hover {
    background-color: var(--cor-primaria);
}

.pn-home-l2 .mais-recentes-slider .prestige-carousel__arrow--prev,
.prestige-layout-2 .mais-recentes-slider .prestige-carousel__arrow--prev {
    /* 80px padding − metade do botão (20px) − 12px respiro ≈ visível dentro da faixa */
    left: -48px;
}

.pn-home-l2 .mais-recentes-slider .prestige-carousel__arrow--next,
.prestige-layout-2 .mais-recentes-slider .prestige-carousel__arrow--next {
    right: -48px;
}

.pn-home-l2 .mais-recentes-slider .prestige-carousel__arrow:before,
.prestige-layout-2 .mais-recentes-slider .prestige-carousel__arrow:before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    font-family: sans-serif;
    font-size: 30px;
    color: var(--pn-text-on-brand);
    opacity: 1;
    line-height: 1;
}

.pn-home-l2 .mais-recentes-slider .prestige-carousel__arrow--prev:before,
.prestige-layout-2 .mais-recentes-slider .prestige-carousel__arrow--prev:before {
    content: '\2039';
    transform: translate(calc(-50% - 1px), -50%);
}

.pn-home-l2 .mais-recentes-slider .prestige-carousel__arrow--next:before,
.prestige-layout-2 .mais-recentes-slider .prestige-carousel__arrow--next:before {
    content: '\203A';
    transform: translate(calc(-50% + 1px), -50%);
}

.pn-home-l2 .mais-recentes-slider .prestige-carousel__dots,
.prestige-layout-2 .mais-recentes-slider .prestige-carousel__dots {
    bottom: -35px;
    position: absolute;
    width: 100%;
    display: flex !important;
    justify-content: center;
    list-style: none;
    padding: 10px;
}

.pn-home-l2 .mais-recentes-slider .prestige-carousel__dots li,
.prestige-layout-2 .mais-recentes-slider .prestige-carousel__dots li {
    margin: 0 6px;
}

.pn-home-l2 .mais-recentes-slider .prestige-carousel__dots li.is-active button,
.prestige-layout-2 .mais-recentes-slider .prestige-carousel__dots li.is-active button {
    background-color: var(--chapeu-bg);
    transform: scale(1.1);
}

.pn-home-l2 .mais-recentes-slider:not(.is-ready),
.prestige-layout-2 .mais-recentes-slider:not(.is-ready) {
    display: flex;
    overflow: hidden;
    gap: 20px;
}

.pn-home-l2 .mais-recentes-slider:not(.is-ready) .prestige-carousel__slide,
.prestige-layout-2 .mais-recentes-slider:not(.is-ready) .prestige-carousel__slide {
    min-width: 250px;
    width: 25%;
    flex-shrink: 0;
}

@media (max-width: 1400px) {
    .prestige-layout-2 .mais-recentes,
    .pn-home-l2 .mais-recentes {
        padding: 30px 40px 10px;
    }

    .prestige-layout-2 .mais-recentes-slider .prestige-carousel__arrow--prev,
    .pn-home-l2 .mais-recentes-slider .prestige-carousel__arrow--prev {
        left: 4px;
    }

    .prestige-layout-2 .mais-recentes-slider .prestige-carousel__arrow--next,
    .pn-home-l2 .mais-recentes-slider .prestige-carousel__arrow--next {
        right: 4px;
    }
}

/* Última editoria → banner rodapé mais perto (espelha L1). */
.prestige-layout-2 .section-home:not(.mais-recentes):last-of-type,
.pn-home-l2 .section-home:not(.mais-recentes):last-of-type {
    margin-bottom: 0;
}

.prestige-layout-2 .prestige-banner-before-footer,
.pn-home-l2 .prestige-banner-before-footer {
    margin-top: .75rem;
    margin-bottom: 0;
}

body.prestige-layout-2:has(.prestige-banner-before-footer) main,
body.pn-home-l2:has(.prestige-banner-before-footer) main {
    margin-bottom: .75rem;
}
