/*
Theme Name: Portal Notícias Modular
Theme URI:
Author: Pablo Lima
Description: Tema modular para portais de notícias, com painel próprio de identidade e organização da home.
Version: 2.0.1
Text Domain: cidade40graus
*/

/* =========================
   CONFIGURAÇÕES GERAIS
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #161616;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Largura principal do portal */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}
/* =========================
   CABEÇALHO
========================= */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e6e6e6;
}

.header-top {
    padding: 20px 0;
}

.header-top-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-logo {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -1px;
}

.header-extra {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 14px;
}

.header-navigation {
    border-top: 1px solid #eeeeee;
}

.navigation-content {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.menu-toggle,
.search-toggle {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
}

.main-navigation {
    flex: 1;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu a {
    font-size: 14px;
    font-weight: 700;
}


/* =========================
   ÚLTIMAS NOTÍCIAS
========================= */

.latest-news {
    border-bottom: 1px solid #e5e5e5;
    padding: 18px 0;
}

.section-label {
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px;
}

.latest-news-list {
    display: flex;
    gap: 24px;
    overflow-x: auto;
}

.latest-news-item {
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.latest-news-time {
    font-size: 12px;
    font-weight: 700;
}

.latest-news-title {
    font-size: 14px;
    line-height: 1.35;
}


/* =========================
   PUBLICIDADE
========================= */

.home-ad {
    padding: 32px 0;
}

.ad-placeholder {
    min-height: 120px;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #777;
}


/* =========================
   DESTAQUES PRINCIPAIS
========================= */

.home-highlights {
    padding: 10px 0 45px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.main-highlight {
    grid-row: 1 / 3;
}

.main-highlight a,
.secondary-highlight a {
    display: block;
}

.main-highlight-image,
.secondary-highlight-image {
    overflow: hidden;
}

.main-highlight-image img,
.secondary-highlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-highlight-image {
    height: 520px;
}

.secondary-highlight-image {
    height: 210px;
}

.main-highlight-content,
.secondary-highlight-content {
    padding-top: 12px;
}

.post-category {
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.main-highlight h1 {
    font-size: 36px;
    line-height: 1.08;
}

.secondary-highlight h2 {
    font-size: 21px;
    line-height: 1.18;
}


/* =========================
   RODAPÉ
========================= */

.site-footer {
    margin-top: 50px;
    padding: 45px 0;
    border-top: 1px solid #e5e5e5;
}

.footer-brand {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 20px;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.footer-copy {
    font-size: 13px;
    color: #666;
}


/* =========================
   RESPONSIVO
========================= */

@media (max-width: 800px) {

    .header-top-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-extra {
        width: 100%;
        overflow-x: auto;
    }

    .main-menu {
        display: none;
    }

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

    .main-highlight {
        grid-row: auto;
    }

    .main-highlight-image {
        height: 320px;
    }

    .secondary-highlight-image {
        height: 240px;
    }

    .main-highlight h1 {
        font-size: 28px;
    }

    .site-logo {
        font-size: 29px;
    }
}
/* =========================
   SEÇÕES DA HOME
========================= */

.home-section {
    padding: 35px 0 45px;
    border-top: 1px solid #e8e8e8;
}

.home-section-header {
    margin-bottom: 20px;
}

.home-section-header h2 {
    font-size: 28px;
    line-height: 1.1;
    font-weight: 900;
}

.home-section-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}


/* =========================
   CARD DE NOTÍCIA
========================= */

.news-card {
    min-width: 0;
}

.news-card-link {
    display: block;
}

.news-card-image {
    width: 100%;
    height: 190px;
    overflow: hidden;
    margin-bottom: 12px;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.03);
}

.news-card-category {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
}

.news-card-title {
    font-size: 19px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 9px;
}

.news-card-date {
    display: block;
    font-size: 12px;
    color: #707070;
}


/* =========================
   MAIS LIDAS
========================= */

.home-most-read {
    padding: 40px 0 50px;
    border-top: 1px solid #e8e8e8;
}

.most-read-header {
    margin-bottom: 20px;
}

.most-read-header h2 {
    font-size: 28px;
    font-weight: 900;
}

.most-read-list {
    max-width: 850px;
}

.most-read-item {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid #e8e8e8;
}

.most-read-number {
    font-size: 36px;
    line-height: 1;
    font-weight: 900;
}

.most-read-category {
    display: block;
    margin-bottom: 5px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.most-read-content h3 {
    font-size: 19px;
    line-height: 1.25;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {

    .home-section-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================
   CELULAR
========================= */

@media (max-width: 600px) {

    .home-section {
        padding: 28px 0 35px;
    }

    .home-section-header h2 {
        font-size: 24px;
    }

    .home-section-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .news-card-image {
        height: 230px;
    }

    .news-card-title {
        font-size: 20px;
    }

    .most-read-item {
        grid-template-columns: 42px 1fr;
    }

    .most-read-number {
        font-size: 30px;
    }

}
/* =========================
   BUSCA DO CABEÇALHO
========================= */

.header-search-box {
    border-top: 1px solid #eeeeee;
    background: #ffffff;
}

.header-search-box form {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;

    display: flex;
    gap: 10px;
}

.header-search-box input {
    flex: 1;
    min-width: 0;

    border: 1px solid #cccccc;
    padding: 12px 14px;

    font-size: 15px;
    outline: none;
}

.header-search-box button {
    border: 0;
    padding: 12px 20px;

    background: #161616;
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
}


/* =========================
   MENU MOBILE
========================= */

@media (max-width: 800px) {

    .navigation-content {
        position: relative;
    }

    .main-navigation {
        display: none;

        position: absolute;
        top: 58px;
        left: 20px;
        right: 20px;

        z-index: 999;

        background: #ffffff;
        border: 1px solid #e5e5e5;

        padding: 15px;
    }

    .main-navigation.is-open {
        display: block;
    }

    .main-navigation .main-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 0;
    }

    .main-navigation .main-menu li {
        width: 100%;
        border-bottom: 1px solid #eeeeee;
    }

    .main-navigation .main-menu li:last-child {
        border-bottom: 0;
    }

    .main-navigation .main-menu a {
        display: block;
        padding: 13px 5px;
    }

    .search-toggle {
        margin-left: auto;
    }

    .header-search-box form {
        flex-direction: column;
    }

    .header-search-box button {
        width: 100%;
    }

}
/* =========================
   NOVO CABEÇALHO DO PORTAL
========================= */

.top-date-bar {
    background: #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
    font-size: 12px;
    color: #555;
}

.top-date-bar .container {
    padding-top: 7px;
    padding-bottom: 7px;
}


/* FAIXA AZUL PRINCIPAL */

.main-blue-header {
    background: #0f4f92;
    color: #ffffff;
}

.blue-header-content {
    min-height: 105px;
    display: grid;
    grid-template-columns: auto auto 1fr auto auto;
    align-items: center;
    gap: 22px;
}


/* BOTÃO MENU */

.main-blue-header .menu-toggle {
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
}


/* CIDADE / CLIMA */

.header-weather {
    display: flex;
    align-items: center;
    gap: 10px;
}

.weather-icon {
    font-size: 28px;
}

.weather-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.weather-info strong {
    font-size: 14px;
}

.weather-info span {
    margin-top: 3px;
    font-size: 11px;
    opacity: 0.85;
}


/* LOGO */

.header-logo {
    text-align: center;
}

.header-logo > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    display: inline-block;
    font-size: 38px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: #ffffff;
}

.header-logo .custom-logo-link {
    display: inline-block;
}

.header-logo .custom-logo {
    width: auto;
    max-width: 310px;
    max-height: 80px;
}


/* REDES SOCIAIS */

.header-social {
    display: flex;
    align-items: center;
    gap: 9px;
}

.header-social a {
    width: 31px;
    height: 31px;
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}


/* BUSCA */

.main-blue-header .search-toggle {
    color: #ffffff;
    font-size: 22px;
}


/* =========================
   MENU DE CATEGORIAS
========================= */

.category-menu-bar {
    background: #ffffff;
    border-bottom: 1px solid #e7e7e7;
}

.category-menu-bar .main-navigation {
    width: 100%;
}

.category-menu-bar .main-menu {
    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 24px;

    overflow-x: auto;
    white-space: nowrap;

    scrollbar-width: none;
}

.category-menu-bar .main-menu::-webkit-scrollbar {
    display: none;
}

.category-menu-bar .main-menu a {
    display: block;
    padding: 17px 0;

    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}


/* =========================
   STORIES DE NOTÍCIAS
========================= */

.news-stories {
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    padding: 18px 0;
}

.stories-track {
    display: flex;
    align-items: flex-start;
    gap: 17px;

    overflow-x: auto;
    padding-bottom: 3px;

    scrollbar-width: none;
}

.stories-track::-webkit-scrollbar {
    display: none;
}

.story-item {
    width: 92px;
    min-width: 92px;
    text-align: center;
}

.story-item a {
    display: block;
}

.story-image {
    width: 78px;
    height: 78px;

    margin: 0 auto 8px;

    border-radius: 50%;
    overflow: hidden;

    border: 3px solid #0f4f92;
    padding: 3px;

    background: #ffffff;
}

.story-image img {
    width: 100%;
    height: 100%;

    border-radius: 50%;

    object-fit: cover;
}

.story-title {
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {

    .blue-header-content {
        grid-template-columns: auto 1fr auto;
    }

    .header-weather {
        display: none;
    }

    .header-social {
        display: none;
    }

    .logo-text {
        font-size: 32px;
    }

}


/* =========================
   CELULAR
========================= */

@media (max-width: 800px) {

    .top-date-bar {
        text-align: center;
    }

    .blue-header-content {
        min-height: 82px;
        grid-template-columns: 45px 1fr 45px;
        gap: 8px;
    }

    .main-blue-header .menu-toggle {
        font-size: 25px;
    }

    .header-logo {
        overflow: hidden;
    }

    .logo-text {
        font-size: 25px;
        letter-spacing: -1px;
    }

    .header-logo .custom-logo {
        max-width: 220px;
        max-height: 65px;
    }

    .main-blue-header .search-toggle {
        font-size: 19px;
    }

    .category-menu-bar .container {
        padding-left: 0;
        padding-right: 0;
    }

    .category-menu-bar .main-menu {
        justify-content: flex-start;
        gap: 20px;
        padding: 0 20px;
    }

    .story-item {
        width: 82px;
        min-width: 82px;
    }

    .story-image {
        width: 70px;
        height: 70px;
    }

    .story-title {
        font-size: 10px;
    }

}
/* =========================================================
   CIDADE40GRAUS - BLOCO EDITORIAL PRINCIPAL
   ========================================================= */

.home-editorial {
    padding: 35px 0 50px;
}

.editorial-heading {
    max-width: 1050px;
    margin: 0 auto 28px;
    text-align: center;
}

.editorial-location {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #e46d16;
}

.editorial-main-title {
    margin: 0;
    font-size: 42px;
    line-height: 1.08;
    font-weight: 800;
}

.editorial-main-title a {
    color: #111;
    text-decoration: none;
}

.editorial-main-title a:hover {
    text-decoration: underline;
}

.editorial-main-subtitle {
    max-width: 900px;
    margin: 14px auto 0;
    font-size: 19px;
    line-height: 1.5;
    color: #555;
}

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

.editorial-hero {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    min-height: 520px;
    background: #111;
}

.editorial-hero > a {
    display: block;
    height: 100%;
    color: #fff;
    text-decoration: none;
}

.editorial-hero-image {
    width: 100%;
    height: 100%;
    min-height: 520px;
}

.editorial-hero-image img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.editorial-hero:hover .editorial-hero-image img {
    transform: scale(1.025);
}

.editorial-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.40) 42%,
        rgba(0, 0, 0, 0.05) 72%
    );
    pointer-events: none;
}

.editorial-hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 30px;
}

.editorial-category {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #e46d16;
}

.editorial-hero-overlay h2 {
    margin: 0;
    max-width: 90%;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 800;
    color: #fff;
}

.editorial-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.editorial-secondary-card {
    overflow: hidden;
    border-radius: 9px;
    background: #fff;
    border: 1px solid #e8e8e8;
}

.editorial-secondary-card a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.editorial-secondary-image {
    height: 155px;
    overflow: hidden;
    background: #eee;
}

.editorial-secondary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.editorial-secondary-card:hover .editorial-secondary-image img {
    transform: scale(1.035);
}

.editorial-secondary-content {
    padding: 14px 14px 16px;
}

.editorial-secondary-content h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
    color: #171717;
}

.editorial-secondary-content .editorial-category {
    margin-bottom: 6px;
    font-size: 11px;
}


/* TABLET */
@media (max-width: 980px) {

    .editorial-main-title {
        font-size: 34px;
    }

    .editorial-grid {
        grid-template-columns: 1fr;
    }

    .editorial-hero,
    .editorial-hero-image,
    .editorial-hero-image img {
        min-height: 470px;
    }

    .editorial-secondary {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* CELULAR */
@media (max-width: 640px) {

    .home-editorial {
        padding: 24px 0 35px;
    }

    .editorial-heading {
        margin-bottom: 20px;
    }

    .editorial-location {
        font-size: 12px;
    }

    .editorial-main-title {
        font-size: 28px;
        line-height: 1.12;
    }

    .editorial-main-subtitle {
        font-size: 16px;
        line-height: 1.45;
    }

    .editorial-hero,
    .editorial-hero-image,
    .editorial-hero-image img {
        min-height: 390px;
    }

    .editorial-hero-overlay {
        padding: 22px;
    }

    .editorial-hero-overlay h2 {
        max-width: 100%;
        font-size: 23px;
    }

    .editorial-secondary {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .editorial-secondary-card {
        display: block;
    }

    .editorial-secondary-image {
        height: 210px;
    }

    .editorial-secondary-content h3 {
        font-size: 19px;
    }

}
/* =========================================================
   CIDADE40GRAUS - CORPO PRINCIPAL + SIDEBAR
   ========================================================= */

.home-content-area {
    padding: 10px 0 55px;
}

.home-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(300px, 0.8fr);
    gap: 38px;
    align-items: start;
}


/* =========================
   COLUNA ESQUERDA
========================= */

.home-news-column {
    min-width: 0;
}

.home-column-title {
    margin-bottom: 22px;
    padding-bottom: 10px;
    border-bottom: 3px solid #0f4f92;
}

.home-column-title h2 {
    margin: 0;
    font-size: 27px;
    line-height: 1.1;
    font-weight: 900;
}

.home-list-news {
    padding: 0 0 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e7e7e7;
}

.home-list-news > a {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.home-list-image {
    width: 245px;
    height: 165px;
    overflow: hidden;
    border-radius: 7px;
    background: #eeeeee;
}

.home-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.home-list-news:hover .home-list-image img {
    transform: scale(1.03);
}

.home-list-content {
    min-width: 0;
}

.home-list-category {
    display: inline-block;
    margin-bottom: 7px;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #0f4f92;
}

.home-list-content h3 {
    margin: 0 0 9px;
    font-size: 23px;
    line-height: 1.17;
    font-weight: 850;
    color: #151515;
}

.home-list-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    color: #666666;
}

.content-ad {
    margin: 35px 0;
}


/* =========================
   SIDEBAR
========================= */

.home-sidebar {
    min-width: 0;
}

.sidebar-box {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e5e5;
}

.sidebar-title {
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 3px solid #0f4f92;

    font-size: 18px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
}

.sidebar-placeholder {
    min-height: 90px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 7px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    font-size: 13px;
    line-height: 1.4;
    color: #777;
}


/* =========================
   ÚLTIMAS NOTÍCIAS DA LATERAL
========================= */

.sidebar-latest-item {
    padding: 14px 0;
    border-bottom: 1px solid #ececec;
}

.sidebar-latest-item:first-of-type {
    padding-top: 0;
}

.sidebar-latest-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.sidebar-latest-item a {
    display: block;
}

.sidebar-latest-category {
    display: block;
    margin-bottom: 5px;

    font-size: 10px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3px;

    color: #0f4f92;
}

.sidebar-latest-item h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.28;
    font-weight: 800;
    color: #191919;
}

.sidebar-latest-item:hover h3 {
    text-decoration: underline;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {

    .home-content-grid {
        grid-template-columns: minmax(0, 1fr) 290px;
        gap: 28px;
    }

    .home-list-news > a {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .home-list-image {
        width: 210px;
        height: 145px;
    }

    .home-list-content h3 {
        font-size: 21px;
    }

}


/* =========================
   CELULAR
========================= */

@media (max-width: 800px) {

    .home-content-area {
        padding-bottom: 35px;
    }

    .home-content-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .home-list-news > a {
        grid-template-columns: 145px minmax(0, 1fr);
        gap: 15px;
    }

    .home-list-image {
        width: 145px;
        height: 105px;
    }

    .home-list-content h3 {
        font-size: 18px;
        line-height: 1.22;
    }

    .home-list-content p {
        display: none;
    }

    .home-column-title h2 {
        font-size: 24px;
    }

    .sidebar-title {
        font-size: 17px;
    }

}


/* =========================
   CELULAR PEQUENO
========================= */

@media (max-width: 480px) {

    .home-list-news > a {
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 12px;
    }

    .home-list-image {
        width: 120px;
        height: 92px;
    }

    .home-list-category {
        font-size: 9px;
        margin-bottom: 4px;
    }

    .home-list-content h3 {
        font-size: 16px;
    }

}
/* =========================================================
   CIDADE40GRAUS - VISUALIZADOR DE STORIES
   ========================================================= */

/* Botão das bolinhas */
.story-open {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    width: 100%;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.story-open .story-title {
    margin-top: 7px;
}


/* VISUALIZADOR FECHADO */
.story-viewer {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
}

.story-viewer.is-open {
    display: flex;
}


/* FUNDO PRETO */
.story-viewer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
}


/* ÁREA PRINCIPAL */
.story-viewer-container {
    position: relative;
    z-index: 2;

    width: min(470px, calc(100% - 40px));
    height: min(820px, calc(100% - 40px));

    overflow: hidden;

    background: #111;
    border-radius: 12px;
}


/* SLIDES */
.story-slides {
    position: absolute;
    inset: 0;
}

.story-slide {
    position: absolute;
    inset: 0;

    display: none;
    overflow: hidden;

    background: #111;
}

.story-slide.is-active {
    display: block;
}


/* IMAGEM */
.story-slide-image {
    position: absolute;
    inset: 0;
}

.story-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ESCURECIMENTO EMBAIXO */
.story-slide-gradient {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.62) 27%,
            rgba(0, 0, 0, 0.10) 60%,
            rgba(0, 0, 0, 0.20) 100%
        );
}


/* CONTEÚDO */
.story-slide-content {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 4;

    padding: 35px 28px 32px;

    color: #fff;
}


/* CATEGORIA */
.story-slide-category {
    display: inline-block;

    margin-bottom: 10px;

    font-size: 12px;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: 0.6px;

    color: #fff;
}


/* TÍTULO */
.story-slide-title {
    margin: 0 0 22px;

    font-size: 28px;
    line-height: 1.12;

    font-weight: 900;

    color: #fff;
}


/* SAIBA MAIS */
.story-read-more {
    display: inline-flex;

    min-height: 44px;

    align-items: center;
    justify-content: center;

    padding: 0 24px;

    border-radius: 30px;

    background: #fff;
    color: #111;

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;
}

.story-read-more:hover {
    background: #eeeeee;
}


/* BARRAS DE PROGRESSO */
.story-progress {
    position: absolute;

    top: 14px;
    left: 14px;
    right: 55px;

    z-index: 20;

    display: flex;

    gap: 4px;
}

.story-progress-item {
    position: relative;

    flex: 1;

    height: 3px;

    overflow: hidden;

    border-radius: 20px;

    background: rgba(255, 255, 255, 0.35);
}

.story-progress-bar {
    display: block;

    width: 0;
    height: 100%;

    background: #fff;
}


/* FECHAR */
.story-close {
    position: absolute;

    top: 24px;
    right: 14px;

    z-index: 30;

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.35);

    color: #fff;

    font-size: 30px;
    line-height: 1;

    cursor: pointer;
}


/* SETAS */
.story-navigation {
    position: absolute;

    top: 50%;

    z-index: 30;

    transform: translateY(-50%);

    width: 44px;
    height: 58px;

    border: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.28);

    color: #fff;

    font-size: 40px;
    line-height: 1;

    cursor: pointer;
}

.story-prev {
    left: 0;

    border-radius: 0 8px 8px 0;
}

.story-next {
    right: 0;

    border-radius: 8px 0 0 8px;
}


/* NÃO DEIXA A PÁGINA ROLAR COM STORY ABERTO */
body.story-viewer-open {
    overflow: hidden;
}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 600px) {

    .story-viewer {
        align-items: stretch;
    }

    .story-viewer-container {
        width: 100%;
        height: 100%;

        max-width: none;
        max-height: none;

        border-radius: 0;
    }

    .story-slide-content {
        padding:
            30px
            22px
            38px;
    }

    .story-slide-title {
        font-size: 25px;
        line-height: 1.15;
    }

    .story-progress {
        top: 12px;
        left: 10px;
        right: 52px;
    }

    .story-close {
        top: 19px;
        right: 9px;
    }

    .story-navigation {
        width: 42px;
        height: 70px;

        background: transparent;

        font-size: 36px;
    }

}

/* =========================
   PORTAL MODULAR 1.3 - EDIÇÃO VISUAL
   Visível somente quando a toolbar é impressa para administradores.
========================= */
.pm-visual-block { position: relative; }
.pm-visual-toolbar {
    position: absolute; z-index: 9998; top: 12px; right: 18px;
    display: flex; align-items: center; gap: 4px;
    padding: 5px; border-radius: 999px; background: #fff;
    border: 1px solid #dcdcde; box-shadow: 0 3px 14px rgba(0,0,0,.18);
    opacity: .92;
}
.pm-visual-block:hover > .pm-visual-toolbar { opacity: 1; }
.pm-visual-toolbar button, .pm-visual-toolbar a, .pm-drag-handle {
    width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 50%; background: #f0f0f1; color: #1d2327;
    font: 700 18px/1 Arial,sans-serif; cursor: pointer; text-decoration: none;
}
.pm-visual-toolbar .pm-edit-block { background: #2271b1; color: #fff; font-size: 21px; }
.pm-visual-toolbar .pm-drag-handle { background: #1d2327; color: #fff; cursor: grab; }
.pm-visual-toolbar .pm-drag-handle:active { cursor: grabbing; }
.pm-visual-toolbar button:hover, .pm-visual-toolbar a:hover { transform: scale(1.06); }
.pm-sort-placeholder { min-height: 120px; margin: 10px 20px; border: 2px dashed #2271b1; background: rgba(34,113,177,.06); }
.pm-save-state {
    position: fixed; z-index: 100000; right: 24px; bottom: 24px; padding: 12px 18px;
    border-radius: 7px; background: #1d2327; color: #fff; font: 600 14px/1.3 Arial,sans-serif;
    box-shadow: 0 4px 18px rgba(0,0,0,.25);
}
@media (max-width: 782px) {
    .pm-visual-toolbar { right: 8px; top: 8px; }
    .pm-visual-toolbar button, .pm-visual-toolbar a, .pm-drag-handle { width: 31px; height: 31px; }
}


/* Portal Modular 1.4 - mobile first widgets */
.pm-story-section{padding:18px 0}.pm-story-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:12px}.pm-story-head h2{margin:0}.pm-story-carousel{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 12px;scrollbar-width:none}.pm-story-carousel::-webkit-scrollbar{display:none}.pm-story-card{flex:0 0 min(78vw,300px);aspect-ratio:9/16;border-radius:16px;overflow:hidden;background:#111;scroll-snap-align:start;box-shadow:0 3px 14px rgba(0,0,0,.12)}.pm-story-card iframe{width:100%;height:100%;border:0}.pm-social-video-link{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;text-decoration:none;gap:8px}.pm-social-video-link span{font-size:44px}.pm-social-video-link small{opacity:.8}.pm-widget{background:#fff;border:1px solid #e5e5e5;border-radius:14px;padding:16px;margin-bottom:18px}.pm-widget-title{font-size:19px;font-weight:800;margin-bottom:12px}.pm-weather-main{display:flex;align-items:center;gap:14px}.pm-weather-temp{font-size:42px;font-weight:800}.pm-weather-desc{font-size:14px}.pm-weather-extra{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;font-size:13px}.pm-weather-days{display:flex;justify-content:space-between;gap:5px;border-top:1px solid #eee;margin-top:12px;padding-top:12px}.pm-weather-day{text-align:center;font-size:12px}.pm-signs{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.pm-sign{border:1px solid #eee;border-radius:10px;padding:9px 4px;background:#fff;text-align:center;cursor:pointer;font-size:12px}.pm-sign b{display:block;font-size:21px}.pm-horoscope-text{display:none;margin-top:12px;padding:12px;background:#f7f7f7;border-radius:10px;font-size:14px}.pm-lottery-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.pm-lottery-slide{flex:0 0 100%;scroll-snap-align:start}.pm-lottery-balls{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.pm-lottery-ball{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#188038;color:#fff;font-weight:800}.pm-lottery-nav{display:flex;justify-content:flex-end;gap:6px}.pm-lottery-nav button{border:0;border-radius:50%;width:32px;height:32px;cursor:pointer}.pm-mobile-widgets{display:none}@media(max-width:780px){.home-sidebar{display:none!important}.pm-mobile-widgets{display:block}.home-content-grid{display:block!important}.home-news-column{width:100%!important}.pm-widget{border-radius:12px;margin:14px 0}.pm-story-card{flex-basis:76vw}.pm-signs{grid-template-columns:repeat(4,1fr)}}


/* =========================================================
   PORTAL MODULAR 1.5 — HOME MAIS AREJADA + MOBILE FIRST
   ========================================================= */
.pm-mid-ad{padding:8px 0 30px}.pm-mid-ad-inner{width:100%;display:flex;justify-content:center;overflow:hidden}.pm-mid-ad-inner a{display:block;width:100%}.pm-mid-ad-inner img{display:block;width:100%;max-width:970px;height:auto;max-height:150px;object-fit:contain;margin:0 auto}.pm-mid-ad-placeholder{min-height:118px;border:2px dashed #d8d8d8;background:#fafafa;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:5px;border-radius:10px;color:#777}.pm-mid-ad-placeholder span{font-size:10px;letter-spacing:1px}.pm-mid-ad-placeholder strong{font-size:18px;color:#333}.pm-mid-ad-placeholder small{font-size:12px}
.home-content-area{padding-top:18px}.home-content-grid{grid-template-columns:minmax(0,1.95fr) minmax(280px,.72fr);gap:46px}.home-sidebar{padding-top:0}.pm-sidebar-widget-slot{margin:0 0 44px}.pm-sidebar-horoscope{margin-top:12px}.pm-sidebar-lottery{margin-top:18px}.pm-widget{margin:0;background:#fff;border:1px solid #e7e7e7;border-radius:12px;padding:15px;box-shadow:none}.pm-widget-title{font-size:18px;margin-bottom:14px}.pm-weather-main{display:grid;grid-template-columns:auto auto 1fr;gap:8px 10px;align-items:center}.pm-weather-icon{font-size:30px}.pm-weather-temp{font-size:38px;line-height:1;font-weight:900}.pm-weather-desc{font-size:13px;font-weight:700}.pm-weather-minmax{margin-top:3px;font-size:11px;color:#666}.pm-weather-extra{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin-top:14px;border-top:1px solid #eee}.pm-weather-extra>div{padding:10px 6px 8px;border-bottom:1px solid #eee}.pm-weather-extra>div:nth-child(odd){border-right:1px solid #eee}.pm-weather-extra b{display:block;font-size:12px}.pm-weather-extra span{display:block;font-size:10px;color:#777;margin-top:2px}.pm-weather-days{margin-top:13px;padding-top:0;border-top:0;gap:3px}.pm-weather-day{flex:1;min-width:0;padding:6px 2px;border-radius:8px;background:#fafafa}.pm-weather-day b,.pm-weather-day strong,.pm-weather-day small{display:block}.pm-weather-day-icon{display:block;font-size:18px;margin:3px 0}.pm-weather-updated{font-size:10px;color:#999;text-align:right;margin-top:8px}.pm-weather-error{padding:16px 0;color:#666}.pm-weather-error strong,.pm-weather-error span{display:block}.pm-weather-error span{font-size:12px;margin-top:5px}.pm-signs{grid-template-columns:repeat(3,1fr);gap:6px}.pm-sign{min-height:54px;padding:6px 3px;border-radius:8px}.pm-sign b{font-size:20px}.pm-lottery-ball{width:29px;height:29px;font-size:11px}.pm-lottery-nav{margin-top:8px}.pm-mobile-widget-slot{display:none}
@media(max-width:1000px) and (min-width:801px){.home-content-grid{grid-template-columns:minmax(0,1fr) 280px;gap:28px}}
@media(max-width:800px){.pm-mid-ad{padding:4px 0 20px}.pm-mid-ad .container{padding-left:12px;padding-right:12px}.pm-mid-ad-inner img{width:100%;height:auto;max-height:none}.home-content-area{padding-top:8px}.home-content-grid{display:block!important}.home-sidebar{display:none!important}.pm-mobile-widget-slot{display:block;margin:26px 0 30px}.pm-mobile-widget-slot .pm-widget{width:100%;padding:14px;border-radius:10px}.pm-signs{grid-template-columns:repeat(4,1fr)}.pm-sign{font-size:11px}.pm-weather-main{grid-template-columns:auto auto 1fr}.pm-weather-temp{font-size:34px}.pm-weather-days{overflow-x:auto;justify-content:flex-start}.pm-weather-day{flex:0 0 62px}.home-list-news{margin-bottom:18px;padding-bottom:18px}.home-list-news>a{grid-template-columns:120px minmax(0,1fr);gap:12px}.home-list-image{width:120px;height:86px}.home-list-content h3{font-size:17px}.home-list-category{font-size:10px}.pm-story-section{margin-top:22px}.pm-story-card{flex-basis:72vw}}
@media(max-width:480px){.home-list-news>a{grid-template-columns:108px minmax(0,1fr);gap:11px}.home-list-image{width:108px;height:82px}.home-list-content h3{font-size:16px}.pm-signs{grid-template-columns:repeat(4,1fr);gap:5px}.pm-sign b{font-size:18px}.pm-sign{min-height:50px;padding:5px 2px}.pm-widget-title{font-size:17px}}

/* Portal Modular 1.5.1 — embeds reais de Instagram/Stories */
.pm-story-card .pm-instagram-embed{display:block;width:100%!important;height:100%!important;min-width:0!important;border:0!important;background:#fff}
.pm-story-card > iframe,.pm-story-card > blockquote,.pm-story-card > div{max-width:100%!important;margin:0!important}
.pm-story-card iframe{display:block;width:100%!important;height:100%!important;min-height:100%!important}
@media (min-width:1100px){.pm-story-card{flex-basis:calc((100% - 48px)/5);min-width:0}}

/* v1.5.2 - Carrossel real das manchetes */
.pm-feature-carousel{position:relative}
.pm-feature-slide{display:none}
.pm-feature-slide.is-active{display:block;animation:pmFeatureFade .28s ease}
@keyframes pmFeatureFade{from{opacity:.35}to{opacity:1}}
.pm-feature-controls{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:18px}
.pm-feature-prev,.pm-feature-next{width:38px;height:38px;border:1px solid #ddd;border-radius:50%;background:#fff;font-size:26px;line-height:1;cursor:pointer}
.pm-feature-dots{display:flex;align-items:center;justify-content:center;gap:7px}
.pm-feature-dot{width:9px;height:9px;border:0;border-radius:50%;background:#c7c7c7;padding:0;cursor:pointer}
.pm-feature-dot.is-active{background:var(--cidade40-cor-destaque,#e46d16);transform:scale(1.25)}
@media(max-width:640px){.pm-feature-controls{margin-top:12px}.pm-feature-prev,.pm-feature-next{width:34px;height:34px}.pm-feature-dot{width:8px;height:8px}}

/* =========================================================
   PORTAL MODULAR 1.6 — DESTAQUES + PUBLICIDADE PROFISSIONAL
   ========================================================= */
.pm-feature-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,.9fr);gap:18px;align-items:stretch}.pm-feature-layout.slider-right .pm-feature-carousel{order:2}.pm-feature-layout.slider-right .pm-feature-side{order:1}.pm-feature-layout.only-slider{display:block}.pm-feature-layout .editorial-hero{height:465px;border-radius:8px;overflow:hidden}.pm-feature-layout .editorial-hero>a{display:block;height:100%;position:relative}.pm-feature-layout .editorial-hero-image,.pm-feature-layout .editorial-hero-image img{width:100%;height:100%;object-fit:cover}.pm-feature-layout .editorial-hero-overlay{position:absolute;left:0;right:0;bottom:0;padding:80px 24px 24px;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.9))}.pm-feature-layout .editorial-hero-overlay h2{font-size:30px;line-height:1.08;margin:7px 0}.pm-feature-layout .editorial-hero-overlay p{margin:8px 0 0;font-size:14px}.pm-feature-side{display:grid;grid-template-rows:1fr 1fr;gap:14px}.pm-side-news{border:1px solid #e3e3e3;border-radius:8px;overflow:hidden;background:#fff}.pm-side-news a{display:grid;grid-template-columns:42% 58%;height:100%;color:inherit;text-decoration:none}.pm-side-image,.pm-side-image img{width:100%;height:100%;object-fit:cover}.pm-side-copy{padding:13px}.pm-side-copy h3{font-size:18px;line-height:1.08;margin:5px 0}.pm-side-copy p{font-size:12px;line-height:1.3;margin:7px 0 0}.c40-ad{position:relative;text-align:center;margin:22px auto;max-width:970px}.c40-ad img{display:block;max-width:100%;height:auto;margin:auto}.c40-ad-label{display:block;font-size:9px;letter-spacing:.08em;color:#888;margin-bottom:4px}.c40-ad-lateral_300x250,.c40-ad-lateral_300x600,.c40-ad-story_vertical{max-width:300px}.c40-single-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:34px;align-items:start}.c40-ad-sidebar{position:sticky;top:25px}.c40-popup{position:fixed;z-index:99999;left:50%;top:50%;transform:translate(-50%,-50%);width:min(580px,92vw);background:#fff;padding:12px;border-radius:10px;box-shadow:0 12px 60px rgba(0,0,0,.4)}.c40-popup>button{position:absolute;z-index:2;right:-8px;top:-8px;width:34px;height:34px;border:0;border-radius:50%;background:#111;color:#fff;font-size:24px;cursor:pointer}.c40-popup .c40-ad{margin:0}.c40-device-mobile{display:none}
@media(max-width:800px){.pm-feature-layout{display:block}.pm-feature-layout .editorial-hero{height:430px}.pm-feature-side{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:none;margin-top:12px}.pm-side-news a{display:block}.pm-side-image{height:120px}.pm-side-copy p{display:none}.pm-side-copy h3{font-size:15px}.c40-single-grid{display:block}.c40-ad-sidebar{position:static}.c40-ad-sidebar .c40-ad{margin:24px auto}.c40-device-desktop{display:none!important}.c40-device-mobile{display:block}.c40-ad-lateral_300x600,.c40-ad-story_vertical{max-width:min(300px,90vw)}}
@media(max-width:520px){.pm-feature-layout .editorial-hero{height:380px}.pm-feature-layout .editorial-hero-overlay h2{font-size:24px}.pm-feature-side{grid-template-columns:1fr}.pm-side-news a{display:grid;grid-template-columns:120px 1fr}.pm-side-image{height:105px}}


/* =========================================================
   PORTAL MODULAR 1.7 — BLOCOS EDITORIAIS + BANNERS HOME
   ========================================================= */
.pm-editorial-block{margin:0 0 28px}.pm-editorial-block+.pm-editorial-block{margin-top:34px}.pm-home-banner-slot{margin:20px 0 36px}.pm-home-banner-slot .c40-ad{margin:0 auto}.pm-empty-block{padding:18px 0;color:#777;border-bottom:1px solid #eee}.home-sidebar>.c40-ad{margin-top:0;margin-bottom:28px}.c40-ad-home_sidebar_300x250,.c40-ad-home_sidebar_300x600{max-width:300px}.c40-home-stories{margin:0 0 28px;padding:14px;border:1px solid #e7e7e7;border-radius:12px;background:#fff}.c40-home-stories-title{font-weight:800;font-size:15px;margin-bottom:11px}.c40-home-stories-track{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.c40-home-story{text-align:center;min-width:0}.c40-home-story a{display:block;text-decoration:none}.c40-home-story img{width:72px;height:72px;object-fit:cover;border:3px solid var(--cidade40-cor-principal,#0f4f92);display:block;margin:0 auto}.c40-home-story-round img{border-radius:50%}.c40-home-story-square img{border-radius:12px}.c40-home-story span{display:block;margin-top:5px;font-size:10px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.c40-ad-home_banner_1,.c40-ad-home_banner_2,.c40-ad-home_banner_3,.c40-ad-home_banner_4,.c40-ad-home_banner_5,.c40-ad-home_banner_6{max-width:970px}
@media(max-width:800px){.c40-home-stories{margin:20px 0}.c40-home-stories-track{display:flex;overflow-x:auto;gap:13px;padding-bottom:4px}.c40-home-story{flex:0 0 82px}.c40-home-story img{width:70px;height:70px}.pm-home-banner-slot{margin:18px 0 28px}.home-sidebar>.c40-ad{margin:22px auto}}
@media(max-width:800px){.home-content-grid .home-sidebar{display:block!important;margin-top:24px}.home-content-grid .pm-sidebar-widget-slot{margin-bottom:24px}}

/* =========================================================
   PORTAL MODULAR 1.8 — BLOCOS DUPLICÁVEIS + LATERAL + STORIES FINAIS
   ========================================================= */
.pm-sidebar-news{margin:0 0 28px;background:#fff;border:1px solid #e7e7e7;border-radius:12px;padding:14px}.pm-sidebar-news-title{font-size:18px;font-weight:900;margin:0 0 12px}.pm-sidebar-news-item{padding:10px 0;border-top:1px solid #eee}.pm-sidebar-news-item:first-of-type{border-top:0;padding-top:0}.pm-sidebar-news-item a{display:grid;grid-template-columns:92px 1fr;gap:10px;align-items:center;color:inherit;text-decoration:none}.pm-sidebar-news-thumb,.pm-sidebar-news-thumb img{width:92px;height:68px;object-fit:cover;border-radius:7px}.pm-sidebar-news-item span{display:block;font-size:9px;font-weight:800;text-transform:uppercase;color:var(--cidade40-cor-destaque,#e46d16);margin-bottom:3px}.pm-sidebar-news-item h4{font-size:14px;line-height:1.15;margin:0;font-weight:800}.pm-end-stories{padding:30px 0 42px;border-top:1px solid #eee;background:#fff}.pm-end-stories-head h2{font-size:24px;margin:0 0 18px}.pm-end-stories-track{display:flex;gap:22px;overflow-x:auto;padding:2px 2px 10px}.pm-end-story{flex:0 0 118px;text-align:center}.pm-end-story a{display:block;color:inherit;text-decoration:none}.pm-end-story-circle{width:104px;height:104px;border-radius:50%;border:4px solid var(--cidade40-cor-principal,#0f4f92);display:flex;align-items:center;justify-content:center;overflow:hidden;margin:0 auto 8px;background:#f3f4f6}.pm-end-story-propaganda .pm-end-story-circle{border-color:var(--cidade40-cor-destaque,#e46d16)}.pm-end-story-circle img{width:100%;height:100%;object-fit:cover}.pm-end-story-play{color:#444;font-size:34px;line-height:1}.pm-end-story strong{display:block;font-size:12px;line-height:1.15;max-height:2.3em;overflow:hidden}.pm-end-story small{display:block;font-size:9px;text-transform:uppercase;color:#777;margin-top:3px}.c40-ad-home_banner_7,.c40-ad-home_banner_8,.c40-ad-home_banner_9,.c40-ad-home_banner_10,.c40-ad-home_banner_11,.c40-ad-home_banner_12,.c40-ad-home_banner_13,.c40-ad-home_banner_14,.c40-ad-home_banner_15,.c40-ad-home_banner_16,.c40-ad-home_banner_17,.c40-ad-home_banner_18,.c40-ad-home_banner_19,.c40-ad-home_banner_20{max-width:970px}
@media(max-width:800px){.pm-sidebar-news-item a{grid-template-columns:110px 1fr}.pm-sidebar-news-thumb,.pm-sidebar-news-thumb img{width:110px;height:78px}.pm-end-stories{padding:24px 0 30px}.pm-end-stories-track{gap:16px}.pm-end-story{flex-basis:96px}.pm-end-story-circle{width:84px;height:84px}.pm-end-story-play{font-size:28px}}

/* =========================
   PORTAL MODULAR 1.9 - STORIES FINAIS E RODAPÉ
========================= */
.pm-end-stories{padding:30px 0 34px;border-top:1px solid #eee;background:#fff;margin-top:22px}
.pm-end-stories-head h2{font-size:24px;margin:0 0 18px}
.pm-end-stories-track{display:flex;gap:22px;overflow-x:auto;padding:2px 2px 10px}
.pm-end-story{flex:0 0 118px;text-align:center}
.pm-end-story-open{appearance:none;border:0;background:transparent;padding:0;margin:0;width:100%;cursor:pointer;color:inherit;font:inherit;text-align:center}
.pm-end-story-circle{position:relative;width:104px;height:104px;border-radius:50%;border:4px solid var(--cidade40-cor-principal,#0f4f92);display:flex;align-items:center;justify-content:center;overflow:hidden;margin:0 auto 8px;background:#f3f4f6}
.pm-end-story-propaganda .pm-end-story-circle{border-color:var(--cidade40-cor-destaque,#e46d16)}
.pm-end-story-circle img{width:100%;height:100%;object-fit:cover;display:block}
.pm-end-story-video-badge{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.68);color:#fff;font-size:16px;padding-left:2px}
.pm-end-story strong{display:block;font-size:12px;line-height:1.15;max-height:2.3em;overflow:hidden}
.pm-end-story small{display:block;font-size:9px;text-transform:uppercase;color:#777;margin-top:3px}

.pm-story-modal[hidden]{display:none!important}
.pm-story-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px}
.pm-story-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.82)}
.pm-story-modal-dialog{position:relative;z-index:2;width:min(470px,94vw);max-height:92vh;background:#111;border-radius:18px;overflow:hidden;box-shadow:0 24px 80px rgba(0,0,0,.5)}
.pm-story-modal-content{max-height:92vh;overflow:auto;padding:18px;color:#fff}
.pm-story-modal-title{font-size:18px;font-weight:800;margin:0 44px 14px 0}
.pm-story-modal-media{display:flex;align-items:center;justify-content:center;min-height:260px;background:#000;border-radius:12px;overflow:hidden}
.pm-story-modal-media iframe,.pm-story-modal-media video{display:block;width:100%!important;min-height:520px;max-height:70vh;border:0}
.pm-story-view-image{display:block;width:100%;height:auto;max-height:70vh;object-fit:contain;background:#000}
.pm-story-open-link{display:block;margin-top:14px;padding:13px 18px;border-radius:10px;background:#fff;color:#111!important;text-align:center;text-decoration:none;font-weight:900}
.pm-story-modal-close{position:absolute;right:12px;top:10px;z-index:4;width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;font-size:28px;line-height:1;cursor:pointer}
.pm-story-modal-nav{position:absolute;top:50%;z-index:4;width:38px;height:52px;border:0;background:rgba(0,0,0,.4);color:#fff;font-size:34px;cursor:pointer;transform:translateY(-50%)}
.pm-story-prev{left:0;border-radius:0 10px 10px 0}.pm-story-next{right:0;border-radius:10px 0 0 10px}
body.pm-story-modal-open{overflow:hidden}

.pm-footer-ad{padding:28px 0 20px;background:#fff}
.pm-footer-ad .c40-ad{margin:0 auto}
.site-footer{margin-top:0;padding:36px 0 38px;border-top:1px solid #e5e5e5}
.footer-brand{margin-bottom:14px}
.footer-navigation:empty{display:none}
.footer-social{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 18px}
.footer-social a{display:inline-flex;align-items:center;gap:7px;text-decoration:none;color:inherit;border:1px solid #e2e2e2;border-radius:999px;padding:8px 12px;background:#fff}
.footer-social a span{font-size:17px;font-weight:900;line-height:1}.footer-social a small{font-size:12px;font-weight:700}
.c40-materia-final-ad{margin:28px 0 8px}

@media(max-width:800px){
 .pm-end-stories{padding:24px 0 26px;margin-top:16px}.pm-end-stories-track{gap:16px}.pm-end-story{flex-basis:96px}.pm-end-story-circle{width:84px;height:84px}
 .pm-story-modal{padding:0}.pm-story-modal-dialog{width:100vw;max-height:100vh;height:100vh;border-radius:0}.pm-story-modal-content{max-height:100vh;padding:16px 14px 24px}.pm-story-modal-media{min-height:55vh}.pm-story-modal-media iframe,.pm-story-modal-media video{min-height:68vh;max-height:78vh}
 .pm-footer-ad{padding:18px 12px 12px}.site-footer{padding:28px 0 30px;text-align:center}.footer-social{justify-content:center}.footer-menu{justify-content:center}.footer-brand{font-size:24px}
}


/* =========================
   STORIES REDONDOS 1.9.1
   Link social mostra mídia real; círculo abre Story;
   nome abaixo pode ir ao link de destino.
========================= */
.pm-end-story-open{cursor:pointer;outline:none}
.pm-end-story-open:focus-visible .pm-end-story-circle{box-shadow:0 0 0 3px rgba(19,94,150,.25)}
.pm-end-story-title-link,
.pm-end-story-title-button{
    display:block;
    width:100%;
    margin:0;
    padding:0 2px;
    border:0;
    background:none;
    color:inherit;
    font:inherit;
    font-size:12px;
    line-height:1.15;
    font-weight:800;
    text-align:center;
    text-decoration:none;
    cursor:pointer;
    max-height:2.3em;
    overflow:hidden;
}
.pm-end-story-title-link:hover{text-decoration:underline}
.pm-end-story-instagram-preview{
    position:absolute;
    inset:0;
    overflow:hidden;
    border-radius:50%;
    background:#fff;
    pointer-events:none;
}
.pm-end-story-instagram-preview iframe{
    position:absolute;
    width:330px;
    height:580px;
    left:50%;
    top:50%;
    transform:translate(-50%,-38%) scale(.40);
    transform-origin:center;
    border:0;
    pointer-events:none;
    background:#fff;
}

/* v1.9.2 - blocos independentes da lateral */
.pm-sidebar-independent{margin:0 0 28px}.pm-sidebar-independent>.pm-widget,.pm-sidebar-independent>.pm-sidebar-news,.pm-sidebar-independent>.c40-home-stories,.pm-sidebar-independent>.c40-ad{margin-bottom:0}


/* v2.0.0 - acabamento final */
.footer-copy{margin-bottom:14px}
.footer-social{margin:0 0 6px}
.pm-back-to-top{position:fixed;right:20px;bottom:20px;z-index:9998;width:44px;height:44px;border:0;border-radius:50%;background:#111;color:#fff;font-size:24px;font-weight:800;line-height:44px;text-align:center;cursor:pointer;box-shadow:0 4px 18px rgba(0,0,0,.22);opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .2s ease,transform .2s ease,visibility .2s ease}
.pm-back-to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}
.pm-back-to-top:hover{transform:translateY(-2px)}
@media(max-width:800px){.pm-back-to-top{right:14px;bottom:14px;width:42px;height:42px;line-height:42px}.footer-social{justify-content:center}}
