/* Fontes: Raleway (textos) e carbona-variable (títulos) — carregadas no header */
html, body {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 500;
    line-height: 120%; /* 16.8px */
}

h1, h2, h3, h4, h5, h6 {
    font-family: "carbona-variable", sans-serif;
}

h1 {
    font-family: var(--Font-style-Display-Display-font-family, "carbona-variable", sans-serif);
    font-size: var(--Font-sizes-Font-Size-Display-L, 36px) !important;
    font-style: normal;
    font-weight: 900;
    line-height: 110%; /* 39.6px */
    letter-spacing: -0.72px;
    text-transform: uppercase;
}

h3.editorias-card-link-title, 
h2.news-card-title {
    color: var(--Black, #202020);
    /* Display S */
    font-family: var(--Font-style-Display-Display-font-family, "carbona-variable", sans-serif);
    font-size: var(--Font-sizes-Font-Size-Display-S, 22px);
    font-style: normal;
    font-weight: 700;
    line-height: 105%; /* 23.1px */
}

h4.newsletter-widget-title span {
    color: #FFF;
    text-align: center;
    /* Display S */
    font-family: var(--Font-style-Display-Display-font-family, "carbona-variable", sans-serif);
    font-size: var(--Font-sizes-Font-Size-Display-S, 22px);
    font-style: normal;
    font-weight: 700;
    line-height: 105%; /* 23.1px */
}

/* html.is-chrome main {
    padding-top: 0 !important;
} */

.main-header-content .main-header-close-button {
    position: relative;
    font-size: 18px;
    font-weight: bold;
}

/* Menu recolhido: mostra botão Menu e oculta botão Fechar do header */
.main-header-content .main-header-close-button {
    display: none;
}

/* Menu expandido: oculta botão Menu e mostra botão Fechar (alinhado com .main-header-login) */
body.main-menu-open .main-header-content .main-header-button-menu {
    display: none !important;
}

body.main-menu-open .main-header-content .main-header-close-button {
    display: contents !important;
    align-items: center;
    gap: 0.25em;
    margin: 0;
    order: -1;
}

.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background: #BA141A !important;
}

.carousel-banners.owl-carousel .owl-dot.active {
    background-color: #BA141A !important;
}

.carousel-banners.owl-carousel .owl-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: absolute;
}

.carousel-banners.owl-carousel .owl-nav .owl-prev,
.carousel-banners.owl-carousel .owl-nav .owl-next {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 20px;
    color: #BA141A;
}

.carousel-banners.owl-carousel .owl-nav .owl-prev {
    background: linear-gradient(to right, #fff 0%, #fff 45%, transparent 90%) !important;
    padding-right: 20px;
    height: 150px;
    width: 40px;
}

.carousel-banners.owl-carousel .owl-nav .owl-next {
    background: linear-gradient(to left, #fff 0%, #fff 45%, transparent 90%) !important;
    padding-left: 20px;
    height: 150px;
    width: 50px;
}

/* Carrossel destaque: esconder overflow (apenas slide ativo visível; anterior e próximo ocultos) */
.news-card-feaured-cards {
    overflow: hidden !important;
}

.news-card-banner-2026-carousel.owl-carousel {
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.news-card-banner-2026-carousel.owl-carousel .owl-stage-outer {
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.news-card-banner-2026-carousel.owl-carousel .owl-viewport {
    overflow: hidden !important;
}

.news-card-banner-2026-carousel .owl-dot.active {
    background-color: #fff !important;
}

.news-card-banner-2026-carousel .owl-dots {
    margin-top: -30px !important;
    height: 30px;
}

/* Layout do bloco home-destaque 2026 */
h6.footer-nav-title, h4.nav-title {
    text-transform: none !important;
}

.main-header-nav, .main-footer { 
    background: linear-gradient(180deg, #E4142C 0%, #BA141A 100%) !important;
}

/* Header fixo no scroll apenas em desktop; mobile mantém comportamento original (evita conflitos) */
@media screen and (min-width: 1000px) {
    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        transition: transform 0.3s ease-out;
    }
    .main-header.header-hidden {
        transform: translateY(-100%) !important;
    }
    /* Garante que o nav abra ao clicar no menu em todos os navegadores */
    body.main-menu-open .main-header-nav {
        display: block !important;
        visibility: visible !important;
    }
}

h1.header-logos a img {
    width: 198px; 
    height: 106px;
}

.secondary-nav-social li.links {
    min-width: 180px !important;
}

.news-card-banner-2026 {
    display: flex;
    flex-direction: row;
    border-radius: 12px;
    overflow: hidden;
    min-height: 400px;
}

.news-card-banner-2026-left {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    min-width: 684px;
    min-height: 424px;
}

.news-card-banner-2026-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
}

.news-card-banner-2026-logo {
    margin-bottom: 20px;
}

.news-card-banner-2026-logo img {
    width: 100%;
    max-width: 273px;
    max-height: 146px;
    margin-top: 20px;
    margin-left: 20px;
    height: auto;
    display: block;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.news-card-banner-2026-slogan {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.news-card-banner-2026-right {
    background: linear-gradient(180deg, #E4142C 0%, #BA141A 100%) !important;
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-card-banner-2026-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    overflow: visible;
}

.news-card-banner-2026-tag {
    background-color: #fff;
    color: #DC143C;
    padding: 8px 20px 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card-banner-2026-social {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

strong.news-card-banner-2026-tag  {
    background-color: #DC143C;
    color: #fff;
}

.news-card-banner-2026-social .social-icons-white {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    background-size: auto 20px;
    background-repeat: no-repeat;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
    overflow: visible;
}

.news-card-banner-2026-social .social-icons-white.facebook {
    background-position-x: 0;
}

.news-card-banner-2026-social .social-icons-white.twitter {
    background-position-x: -49px;
}

.news-card-banner-2026-social .social-icons-white.whatsapp {
    background-position-x: -124px;
}

.news-card-banner-2026-social .social-icons-white:hover {
    opacity: 1;
}

.news-card-banner-2026-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    justify-content: flex-end;
}

.news-card-banner-2026-title {
    font-family: "carbona-variable", sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 105%;
    letter-spacing: -0.36px;
    color: #fff;
}

.news-card-banner-2026-description {
    font-size: 16px;
    color: #fff;
    line-height: 1.6;
    margin: 0;
    opacity: 0.95;
}

.main-header-login {
    margin-right: 30px;
}

.main-header-login a {
    display: inline-flex !important;
    padding: 12px 20px 12px 20px;
    margin-left: 15px;
    font-size: 16px;
}

.video-gallery-content  {
    max-width: none !important;
}

.link-button-outlined h1 img {
    margin-top: 10px !important;
    width: 38px;
    height: 38px;
}

.editorias-card {
    margin-bottom: 18px;
    margin-right: 10px;
  }
  
  
  .editorias-cards-links-list {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .editorias-cards-links-list a {
    margin: 0 2% 10px;
  }
  
  .editorias-card-category {
    background-color: #e4142c;
    border-radius: 30px;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 11px;
    text-decoration: none;
    text-transform: uppercase;
  }

  .editorias-card-link-description {
    font-size: 14px;
    margin: 0 0 0.3em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  @supports (-webkit-line-clamp: 6) {
    .editorias-card-link-description {
      display: -webkit-box;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: initial;
      /* -webkit-line-clamp: 6; */
      -webkit-box-orient: vertical;
    }
  }
  .editorias-card {
    background-color: rgba(221, 221, 221, 0.2);
    border: none;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
    margin-right: 0;
    padding: 10px 17px;
    width: 32%;
  }
  .editorias-card-link {
    color: #000;
    text-decoration: none;
  }
  .editorias-card-link-title {
    font-size: 18px;
    margin: 0 0 0.5em;
  }
  .editorias-card-category {
    font-size: 12px;
    padding: 7px 11px;
  }
  .editorias-card-social {
    align-items: center;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .editorias-card-social > a {
    margin-bottom: 7px;
  }
  .editorias-card-social li:last-of-type {
    margin-right: 0;
  }

  .sidebar-newsletter {
    max-width: 320px;
    margin: 80px 0 0;
}

  .newsletter-widget {
    background: none !important;
  }

  .mailing_widget {
    background: linear-gradient(180deg, #E4142C 0%, #BA141A 100%) !important;
    padding: 0;
    min-height: 520px;
}

p.newsletter-widget-field input {
    padding: 12px !important;
    font-size: 18px !important;
}

.link-button {
    background-color: #fff !important;
    border: 1px solid #E4142C !important;
    color: #E4142C;
    font-weight: 700 !important;
    font-size: 14px;
    padding: 12px 24px;
}

.link-button:hover {
    background-color: #E4142C !important;
    color: #fff !important;
}

.video-gallery-main .link-button-outlined:hover {
    background-color: #E4142C !important;
    color: #fff !important;
}

/* Destaque carousel: nav com prev à esquerda e next à direita */
.news-card-feaured-cards .news-card-banner-2026-carousel .owl-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 10px;
    padding: 0 4px;
}
.news-card-feaured-cards .news-card-banner-2026-carousel .owl-prev,
.news-card-feaured-cards .news-card-banner-2026-carousel .owl-next {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #DC143C !important;
    color: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
    transition: background-color 0.2s, opacity 0.2s;
}
.news-card-feaured-cards .news-card-banner-2026-carousel .owl-prev:hover,
.news-card-feaured-cards .news-card-banner-2026-carousel .owl-next:hover {
    background-color: #BA141A !important;
    color: #fff !important;
    opacity: 0.95;
}
.news-card-feaured-cards .news-card-banner-2026-carousel .owl-prev.disabled,
.news-card-feaured-cards .news-card-banner-2026-carousel .owl-next.disabled {
    opacity: 0.5;
}

.main-footer img {
    width: 351px;
    height: 188px;
}

/* Responsive */
@media (max-width: 768px) {
    .banner-news-whats:has(.radio-black-box):has(.zap-green-box) {
        flex-direction: column;
        gap: 16px;
    }

    .radio-black-box {
        width: 100%;
    }

    .zap-green-box {
        max-width: 100%;
        padding: 14px 48px 14px 16px;
        margin-top: 0;
    }

    .zap-green-box img {
        width: 32px;
        height: 32px;
    }

    .zap-green-box strong {
        font-size: 16px;
    }

    .zap-green-box small {
        font-size: 13px;
    }

    h1.header-logos a img {
        width: 133px !important;
        height: 71px !important;
    }

    .logo-pt {
        width: 133px !important;
        height: 71px !important;
    }

    .main-header-button-menu span {
        display: initial;
        margin-left: 10px;
        margin-right: 15px;
    }


    .main-header-login {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 15px;
        margin-bottom: 15px;
    }

    .main-header-login a {
        margin-left: 15px;
        width: 100%;
    }
    
    .secondary-nav-social strong {
        font-size: 14px;
        display: block !important;  
    }

    .news-card-banner-2026 {
        flex-direction: column;
        min-height: auto;
    }
    
    .news-card-banner-2026-left {
        min-width: 100% !important;
        min-height: 250px;
        width: 100%;
        padding: 20px;
        order: 1;
    }
    
    .news-card-banner-2026-right {
        width: 100%;
        padding: 30px 20px;
        order: 2;
    }
    
    .news-card-banner-2026-overlay {
        width: 100%;
    }
    
    .news-card-banner-2026-logo {
        margin-bottom: 0;
    }
    
    .news-card-banner-2026-logo img {
        max-width: 200px;
        width: auto;
        margin-top: 0;
        margin-left: 0;
    }
    
    .news-card-banner-2026-header {
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .news-card-banner-2026-tag {
        font-size: 12px;
        padding: 6px 16px;
    }
    
    .news-card-banner-2026-social {
        gap: 10px;
    }
    
    .news-card-banner-2026-title {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .news-card-banner-2026-description {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .news-card-banner-2026-link {
        gap: 15px;
    }

    .news-card-banner-2026-logo img {
        width: 100%;
        max-width: 95px;
        max-height: 51px;
        height: auto;
        display: block;
        filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    }

    .sidebar-newsletter {
        max-width: 100%;
        margin: 58px 0 0;
    }

    .newsletter-widget, .mailing_widget {
        padding: 0;
        min-height: 370px;
    }

    .carousel-banners.owl-carousel .owl-nav .owl-prev,
    .carousel-banners.owl-carousel .owl-nav .owl-next  {
        height: 80px;
    }
}

/* TVPT - estilo do print: fundo bege, header com botão pill, 3 vídeos com bordas arredondadas */
.video-gallery-main {
    background-color: #EBE5D9;
    padding: 30px 20px 40px;
    border-radius: 12px;
    width: 100%;
}

.video-gallery-main > div:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px 0;
}

.video-gallery-main > div:first-child img {
    width: 34px;
    height: 34px;
    display: block;
}

.video-gallery-main > div:first-child h1 {
    margin: 0;
    color: #000;
    font-weight: 900;
    line-height: 1;
}

.video-gallery-main > p {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 24px;
    margin-top: 0;
}

.video-gallery-main .link-button-outlined {
    background-color: #EBE5D9 !important;
    border: 1px solid #E4142C !important;
    color: #E4142C !important;
    border-radius: 30px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.video-gallery-main .link-button-outlined:hover {
    background-color: #E4142C !important;
    color: #fff !important;
}

.video-gallery-main .video-gallery-content {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
}

.video-gallery-main .video-gallery-content > p {
    flex: 0 0 100%;
}

.video-gallery-main .video-gallery-content > .video-gallery-content-video {
    flex: 1 1 calc(33.333% - 16px);
    min-width: 0;
    border-radius: 12px;
    overflow: hidden;
    border: none;
}

.video-gallery-main .video-gallery-content-video iframe {
    width: 100%;
    height: 180px;
    display: block;
    /* vertical-align: top; */
    border: none;
}

/* Rádio e Zap lado a lado */
.banner-news-whats:has(.radio-black-box):has(.zap-green-box) {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-black-box {
    background-color: #000;
    padding: 10px;
    border-radius: 10px;
    flex: 1;
    min-width: 0;
}

.zap-green-box {
    background-color: #25D366;
    color: #fff;
    padding: 16px 52px 16px 20px;
    border-radius: 10px;
    text-decoration: none;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 16px;
    row-gap: 2px;
    max-width: 452px;
    width: 100%;
    position: relative;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    flex: 0 0 auto;
    cursor: pointer;
}

.zap-green-box:visited {
    color: #fff;
}

.zap-green-box:hover {
    filter: brightness(0.98);
}

.zap-green-box:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.9);
    outline-offset: 3px;
}

.zap-green-box img {
    width: 58px;
    height: 60px;
    display: block;
    grid-row: 1 / -1;
    align-self: center;
}

.zap-green-box strong {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    display: block;
    margin: 0;
    grid-column: 2;
    grid-row: 1;
}

.zap-green-box small {
    font-size: 14px;
    line-height: 1.4;
    display: block;
    margin: 2px 0 0;
    opacity: 0.9;
    grid-column: 2;
    grid-row: 2;
}

.zap-green-box::after {
    content: "";
    position: absolute;
    right: 20px;
    width: 24px;
    height: 24px;
    background-image: url("https://pt.org.br/wp-content/themes/pt_2016/assets/images/icons/right_arrow.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 768px) {
    h1 {
        font-size: var(--Font-sizes-Font-Size-Display-L, 28px) !important;
    }

    .video-gallery-main {
        padding: 24px 16px 32px;
    }

    .video-gallery-main > div:first-child {
        margin-bottom: 16px;
    }

    .video-gallery-main > div:first-child img {
        width: 28px;
        height: 28px;
    }

    .video-gallery-main > div:first-child h1 {
        font-size: 28px !important;
    }

    /* TV PT mobile: header à esquerda e nav à direita na mesma linha */
    .video-gallery-main.lg-hide {
        position: relative;
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
    }
    .video-gallery-main.lg-hide .video-gallery-main-header {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        align-self: flex-start;
        gap: 12px;
        margin: 0 0 16px 0;
        min-height: 44px;
        width: auto;
        text-align: left;
    }
    .video-gallery-main.lg-hide .video-gallery-main-header img {
        width: 28px;
        height: 28px;
        display: block;
    }
    .video-gallery-main.lg-hide .video-gallery-main-header h1 {
        margin: 0;
        color: #000;
        font-size: 28px;
        font-weight: 900;
    }

    .video-gallery-main > p {
        margin-bottom: 20px;
    }

    .video-gallery-main {
        padding: 10px 20px;
        font-size: 12px;
    }

    .video-gallery-main .video-gallery-content {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        gap: 16px;
        padding-bottom: 8px;
    }

    .video-gallery-main .video-gallery-content::-webkit-scrollbar {
        height: 6px;
    }

    .video-gallery-main .video-gallery-content::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 3px;
    }

    .video-gallery-main .video-gallery-content::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.3);
        border-radius: 3px;
    }

    .video-gallery-main .video-gallery-content > p {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .video-gallery-main .video-gallery-content > .video-gallery-content-video {
        flex: 0 0 auto;
        min-width: 280px;
        max-width: 85vw;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .video-gallery-main .video-gallery-content-video iframe {
        height: 180px;
    }

    /* TV PT mobile: Owl Carousel — um vídeo por slide (sobrescreve scroll manual) */
    .video-gallery-main .video-gallery-content.video-gallery-content-carousel.owl-carousel {
        display: block;
        flex-wrap: unset;
        overflow: visible;
        scroll-snap-type: none;
        gap: 0;
        padding-bottom: 0;
    }
    .video-gallery-main .video-gallery-content.video-gallery-content-carousel .owl-stage-outer {
        overflow: hidden !important;
    }
    .video-gallery-main .video-gallery-content.video-gallery-content-carousel .owl-item .video-gallery-content-video {
        width: 100%;
        min-width: 0;
        max-width: none;
        border-radius: 12px;
        overflow: hidden;
    }
    .video-gallery-main .video-gallery-content.video-gallery-content-carousel .video-gallery-content-video iframe {
        width: 100%;
        height: 180px;
        display: block;
        border: none;
    }

    /* TV PT carousel: header à esquerda e nav à direita na mesma linha (acima dos vídeos) */
    .video-gallery-main.lg-hide .video-gallery-content.video-gallery-content-carousel.owl-carousel {
        position: static;
        padding-top: 0;
    }
    .video-gallery-main.lg-hide .video-gallery-content.video-gallery-content-carousel .owl-nav {
        position: absolute;
        top: 24px;
        right: 16px;
        left: auto;
        margin: 0;
        display: flex;
        justify-content: flex-end;
        gap: 16px;
    }
    .video-gallery-main .video-gallery-content.video-gallery-content-carousel .owl-prev,
    .video-gallery-main .video-gallery-content.video-gallery-content-carousel .owl-next {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background-color: #DC143C !important;
        color: #fff !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        line-height: 1;
        transition: background-color 0.2s, opacity 0.2s;
    }
    .video-gallery-main .video-gallery-content.video-gallery-content-carousel .owl-prev:hover,
    .video-gallery-main .video-gallery-content.video-gallery-content-carousel .owl-next:hover {
        background-color: #BA141A !important;
        color: #fff !important;
        opacity: 0.95;
    }
    .video-gallery-main .video-gallery-content.video-gallery-content-carousel .owl-prev.disabled,
    .video-gallery-main .video-gallery-content.video-gallery-content-carousel .owl-next.disabled {
        opacity: 0.5;
    }

    .main-footer .limit {
        align-items: normal;
    }

    .main-footer img {
        margin: 10px 0 0 20px;
        width: 185px;
        height: 99px;
    }
}

/* Editorias: cards com mesma altura (flexbox) — NÃO aplicar ao carrossel mobile */
.editorias-content:not(.editorias-carousel) {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch !important;
    gap: 15px;
}

.editorias-content:not(.editorias-carousel) .editorias-card,
.editorias-content:not(.editorias-carousel) article.editorias-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 280px;
}

.editorias-content:not(.editorias-carousel) .editorias-card-link {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0;
}

.editorias-content:not(.editorias-carousel) .editorias-card-link-description {
    flex: 1 1 auto !important;
    min-height: 0;
}

.editorias {
    max-width: 815px !important;
    padding: none !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.editorias > .editorias-title {
    margin-bottom: 0;
    margin-right: 1rem;
}

.editorias > .editorias-select {
    margin-bottom: 0;
}

.editorias > .editorias-content {
    flex: 1 1 100%;
    width: 100%;
}

.editorias-card {
    max-width: 320px !important;
}

.editorias .editorias-select select {
    font-family: var(--Font-style-Display-Display-font-family, "carbona-variable", sans-serif);
    font-size: var(--Font-sizes-Font-Size-Display-L, 36px);
    padding: 8px 48px 8px 20px;
    border-radius: 100px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-style: normal;
    font-weight: 900;
    line-height: 110%; /* 39.6px */
    letter-spacing: -0.72px;
    text-transform: uppercase;
    margin-bottom: 16px;
    max-width: 240px;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='black' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center; /* ← controla o alinhamento */
    background-size: 14px;
}


/* Editorias: carrossel no mobile — cards lado a lado com scroll horizontal */
@media screen and (max-width: 768px) {
    /* Seção não corta o scroll */
    .editorias:has(.editorias-carousel),
    section.editorias {
        overflow-x: visible !important;
        overflow-y: visible !important;
    }
    section.editorias:has(.editorias-carousel-mobile) {
        position: relative;
    }
    .editorias .editorias-title {
        padding-right: 80px;
    }

    /* Container do carrossel: flex em linha, sem quebra, scroll horizontal (body para vencer outros CSS) */
    body .editorias .editorias-content.editorias-carousel,
    body div.editorias-content.editorias-carousel,
    .editorias .editorias-content.editorias-carousel,
    div.editorias-content.editorias-carousel {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        gap: 16px;
        padding: 0 10px 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .editorias .editorias-content.editorias-carousel::-webkit-scrollbar,
    div.editorias-content.editorias-carousel::-webkit-scrollbar {
        height: 6px;
    }

    .editorias .editorias-content.editorias-carousel::-webkit-scrollbar-track,
    div.editorias-content.editorias-carousel::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.08);
        border-radius: 3px;
    }

    .editorias .editorias-content.editorias-carousel::-webkit-scrollbar-thumb,
    div.editorias-content.editorias-carousel::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.25);
        border-radius: 3px;
    }

    /* Cada card: largura fixa para ficar lado a lado, não quebra linha (body para vencer outros CSS) */
    body .editorias .editorias-content.editorias-carousel .editorias-card,
    body .editorias .editorias-content.editorias-carousel article.editorias-card,
    body div.editorias-content.editorias-carousel .editorias-card,
    body div.editorias-content.editorias-carousel article.editorias-card,
    .editorias .editorias-content.editorias-carousel .editorias-card,
    .editorias .editorias-content.editorias-carousel article.editorias-card,
    div.editorias-content.editorias-carousel .editorias-card,
    div.editorias-content.editorias-carousel article.editorias-card {
        flex: 0 0 auto !important;
        flex-shrink: 0 !important;
        width: 85vw !important;
        max-width: 320px !important;
        min-width: 280px !important;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        min-height: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    /* Exibir título e redes no carrossel (main.css esconde em mobile) */
    .editorias .editorias-content.editorias-carousel .editorias-card-link,
    .editorias .editorias-content.editorias-carousel .secondary-nav-social,
    div.editorias-content.editorias-carousel .editorias-card-link,
    div.editorias-content.editorias-carousel .secondary-nav-social {
        display: flex !important;
    }

    .editorias .editorias-content.editorias-carousel .editorias-card-link,
    div.editorias-content.editorias-carousel .editorias-card-link {
        flex: 1 1 auto !important;
        flex-direction: column !important;
        min-height: 0;
    }

    .editorias .editorias-content.editorias-carousel .editorias-card-link-description,
    div.editorias-content.editorias-carousel .editorias-card-link-description {
        /* -webkit-line-clamp: 4; */
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        flex: 0 1 auto;
    }

    /* Editorias mobile: Owl Carousel — um card por slide (position static para .owl-nav ser relativo à section) */
    .editorias .editorias-carousel-mobile.owl-carousel,
    .editorias-carousel-mobile.owl-carousel {
        width: 100%;
        position: static !important;
    }

    .editorias-carousel-mobile .owl-item {
        display: flex;
        align-items: stretch;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .editorias-carousel-mobile .owl-item .editorias-card,
    .editorias-carousel-mobile .owl-item article.editorias-card {
        width: 100%;
        flex: 1 1 auto;
        min-height: 0;
        box-sizing: border-box;
    }

    .editorias .editorias-carousel-mobile .editorias-card-link,
    .editorias .editorias-carousel-mobile .secondary-nav-social,
    .editorias-carousel-mobile .editorias-card-link,
    .editorias-carousel-mobile .secondary-nav-social {
        display: flex !important;
    }

    .editorias-carousel-mobile .editorias-card-link {
        flex: 1 1 auto;
        flex-direction: column;
        min-height: 0;
    }

    .editorias-carousel-mobile .editorias-card-link-description {
        /* -webkit-line-clamp: 4; */
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Editorias mobile: botões prev/next ao lado do h1 — círculo vermelho com seta branca */
    .editorias-carousel-mobile .owl-nav {
        position: absolute;
        top: 0;
        right: 16px;
        left: auto;
        margin: 0;
        display: flex;
        justify-content: flex-end;
        gap: 16px;
    }
    .editorias-carousel-mobile .owl-prev,
    .editorias-carousel-mobile .owl-next {
        width: 30px;
        height: 30px;
        border-radius: 50% !important;
        background-color: #DC143C !important;
        color: #fff !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 15px !important;
        line-height: 1;
        transition: background-color 0.2s, opacity 0.2s;
    }
    .editorias-carousel-mobile .owl-prev:hover,
    .editorias-carousel-mobile .owl-next:hover {
        background-color: #BA141A !important;
        color: #fff !important;
        opacity: 0.95;
    }
    .editorias-carousel-mobile .owl-prev.disabled,
    .editorias-carousel-mobile .owl-next.disabled {
        opacity: 0.5;
    }

    .editorias-card {
        margin-right: 15px;
      }
      
    .editorias-carousel-mobile .owl-dot.active {
        background-color: #fff !important;
    }
}

@media screen and (min-width: 1100px) {
    h1 {
        font-size: var(--Font-sizes-Font-Size-Display-L, 36px);
        color: #000;
    }

    .editorias-content:not(.editorias-carousel) {
        display: flex !important;
        flex-wrap: wrap;
        align-items: stretch !important;
        gap: 15px;
    }

    .editorias-content:not(.editorias-carousel) .editorias-card,
    .editorias-content:not(.editorias-carousel) article.editorias-card {
        display: flex !important;
        flex-direction: column !important;
        min-height: 280px;
    }

    .editorias-content:not(.editorias-carousel) .editorias-card-link {
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
        min-height: 0;
    }

    .editorias-content:not(.editorias-carousel) .editorias-card-link-description {
        flex: 1 1 auto !important;
        min-height: 0;
    }

    .video-gallery-content {
        max-width: none !important;
        width: 100%;
    }

    .video-gallery-content-video {
        margin-bottom: 15px;
        min-height: 200px !important;
    }

    .video-gallery-content-video iframe {
        height: auto;
        min-height: 200px !important;
    }

    .main-footer-copyright {
        text-align: left;
    }

    .carousel-instagram.owl-carousel, .carousel-banners.owl-carousel {
        margin-top: 45px;
    }
}