/*
Theme Name: Kadence RS Norte
Template: kadence
Description: Tema filho do Kadence para o Portal RS Norte
Version: 1.0
*/

/* =========================================
   MASTHEAD — cabeçalho tipo jornal
   ========================================= */
.rsnorte-masthead {
    background: #fff;
    width: 100%;
}

.rsnorte-masthead-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.rsnorte-masthead-top-line {
    height: 5px;
    background: linear-gradient(to right, #0a3d01, #0e5402, #1ead05, #0e5402, #0a3d01);
}

.rsnorte-masthead-content {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 28px !important;
    padding: 16px 0 12px !important;
    border-bottom: 3px solid #111;
    width: 100%;
}

.rsnorte-masthead-flag {
    height: 90px !important;
    width: 129px !important;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
    flex-shrink: 0 !important;
    display: block !important;
    object-fit: cover;
}

.rsnorte-masthead .rsnorte-masthead-brand,
a.rsnorte-masthead-brand {
    display: block !important;
    font-family: 'Barlow', sans-serif !important;
    font-size: 100px !important;
    font-weight: 900 !important;
    color: #1a3a7a !important;
    text-decoration: none !important;
    letter-spacing: -3px !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    text-align: center !important;
}

.rsnorte-masthead .rsnorte-masthead-brand:hover,
a.rsnorte-masthead-brand:hover {
    color: #0e5402 !important;
    text-decoration: none !important;
}

/* Esconde logo/título duplicado no header do Kadence */
/* Oculta a seção esquerda inteira (logo custom está no masthead acima) */
#masthead .site-branding,
.site-main-header-wrap .site-branding,
.mobile-site-branding,
.site-header-main-section-left {
    display: none !important;
}

/* Menu ocupa toda a largura disponível */
.site-header-main-section-right {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Itens alinhados à esquerda do container */
.main-navigation .primary-menu-container > ul,
ul#primary-menu {
    justify-content: flex-start !important;
}

/* =========================================
   MENU PRINCIPAL — verde RS Norte
   ========================================= */
#site-navigation,
.header-navigation,
nav.main-navigation,
.kadence-navigation {
    background-color: #0e5402 !important;
}

.main-navigation a,
.header-navigation a,
nav.main-navigation a {
    color: #f7f6f6 !important;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

.main-navigation a:hover,
.main-navigation li:hover > a,
.main-navigation .current-menu-item > a {
    background-color: #074a01 !important;
    color: #ffffff !important;
}

/* Sub-menus */
.main-navigation .sub-menu {
    background-color: #0e5402;
}

.main-navigation .sub-menu a {
    color: #f7f6f6 !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.main-navigation .sub-menu a:hover {
    background-color: #1ead05 !important;
}

/* =========================================
   HEADER — área do logo + banner
   ========================================= */
.site-header {
    border-bottom: 3px solid #0e5402;
}

.header-top-bar {
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

/* =========================================
   BLOCOS DE NOTÍCIA — estrutura portal
   ========================================= */
.rsnorte-news-block {
    margin-bottom: 30px;
}

.rsnorte-block-title {
    background-color: #0e5402;
    color: #ffffff;
    padding: 8px 14px;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-left: 4px solid #1ead05;
    margin-bottom: 15px;
}

.rsnorte-block-title a {
    color: #ffffff !important;
    text-decoration: none;
}

.rsnorte-post-card {
    border: 1px solid #e8e8e8;
    background: #fff;
    transition: box-shadow 0.2s;
}

.rsnorte-post-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.rsnorte-post-card .post-meta {
    color: #888;
    font-size: 12px;
}

.rsnorte-post-card .post-category {
    background-color: #0e5402;
    color: #fff;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

/* =========================================
   SIDEBAR
   ========================================= */
.sidebar-widget-title {
    background-color: #0e5402;
    color: #ffffff;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    border-left: 4px solid #1ead05;
}

/* =========================================
   ÁREA DE PUBLICIDADE
   ========================================= */
.rsnorte-banner-area {
    text-align: center;
    margin: 15px 0;
}

.rsnorte-banner-area img {
    max-width: 100%;
    height: auto;
}

/* Banner horizontal topo */
.rsnorte-banner-topo {
    padding: 10px 0;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
}

/* =========================================
   FLIPBOOK — área de revista
   ========================================= */
.rsnorte-revista-cta {
    background: linear-gradient(135deg, #0e5402 0%, #1ead05 100%);
    color: #ffffff;
    padding: 25px;
    text-align: center;
    border-radius: 4px;
    margin: 20px 0;
}

.rsnorte-revista-cta h3 {
    color: #ffffff;
    margin-bottom: 10px;
}

.rsnorte-revista-cta a {
    background: #ffffff;
    color: #0e5402 !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
    text-decoration: none;
}

/* =========================================
   RODAPÉ
   ========================================= */
.site-footer {
    background-color: #111111;
    color: #cccccc;
}

.site-footer a {
    color: #aaaaaa;
}

.site-footer a:hover {
    color: #1ead05;
}

.footer-top {
    background-color: #0e5402;
    padding: 10px 0;
}

/* =========================================
   HOME WRAP
   ========================================= */
.rsnorte-home-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* =========================================
   BANNERS PUBLICIDADE — 2 cards lado a lado
   ========================================= */
.rsnorte-pub-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
    overflow: hidden;
}

.rsnorte-pub-swiper {
    min-width: 0;
    width: 100%;
    height: 350px;
    border-radius: 4px;
    overflow: hidden;
    border: 2px dashed #ccc;
    box-sizing: border-box;
}

.rsnorte-pub-swiper .swiper-wrapper,
.rsnorte-pub-swiper .swiper-slide {
    height: 350px;
    width: 100%;
}

.rsnorte-pub-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    text-decoration: none;
}

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

.rsnorte-pub-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rsnorte-pub-placeholder small {
    font-size: 11px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.7;
}

.rsnorte-pub-pagination {
    bottom: 8px !important;
}

.rsnorte-pub-pagination .swiper-pagination-bullet-active {
    background: #0e5402 !important;
}

/* =========================================
   HERO GRID — 3 colunas
   ========================================= */
.rsnorte-hero-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr;
    gap: 4px;
    margin-bottom: 0;
}

/* Post grande esquerda — slider */
.rsnorte-hero-main {
    height: 500px;
    position: relative;
    overflow: hidden;
}

.rsnorte-hero-swiper,
.rsnorte-hero-swiper .swiper-wrapper,
.rsnorte-hero-swiper .swiper-slide {
    height: 100%;
}

.rsnorte-hero-pagination {
    position: absolute !important;
    bottom: 12px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    text-align: center !important;
    z-index: 10;
}

.rsnorte-hero-pagination .swiper-pagination-bullet {
    background: rgba(255,255,255,0.6);
    opacity: 1;
    width: 8px;
    height: 8px;
}

.rsnorte-hero-pagination .swiper-pagination-bullet-active {
    background: #ffffff !important;
    width: 22px;
    border-radius: 4px;
}

.rsnorte-hero-cat {
    display: inline-block;
    background: #0e5402;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

/* 2 posts empilhados centro */
.rsnorte-hero-stack {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    height: 500px;
}

/* Card base */
.rsnorte-hero-card {
    display: block;
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    text-decoration: none;
    overflow: hidden;
    height: 100%;
}

.rsnorte-hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.15);
    transition: background 0.3s;
}

.rsnorte-hero-card:hover::before {
    background: rgba(0,0,0,0.3);
}

.rsnorte-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.82));
    padding: 40px 16px 16px;
}

.rsnorte-hero-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rsnorte-hero-title {
    color: #ffffff;
    font-family: 'Barlow', sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.rsnorte-hero-title-sm {
    font-size: 16px;
}

.rsnorte-hero-date {
    color: rgba(255,255,255,0.75);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* =========================================
   SIDEBAR DIREITA
   ========================================= */
.rsnorte-hero-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-left: 8px;
}

/* Contadores sociais */
.rsnorte-social-counters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.rsnorte-social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    gap: 2px;
    transition: border-color 0.2s;
}

.rsnorte-social-item:hover {
    border-color: #0e5402;
}

.rsnorte-social-fb { color: #1877f2; }
.rsnorte-social-ig { color: #c13584; }

.rsnorte-social-count {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    line-height: 1;
}

.rsnorte-social-label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
}

/* Logo/banner sidebar */
.rsnorte-sidebar-logo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Tabs widget Recent/Popular */
.rsnorte-tabs-widget {
    flex: 1;
}

.rsnorte-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #0e5402;
    margin-bottom: 10px;
}

.rsnorte-tab-btn {
    background: none;
    border: none;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    color: #888;
    letter-spacing: 0.5px;
}

.rsnorte-tab-btn.active {
    color: #0e5402;
    border-bottom: 2px solid #0e5402;
    margin-bottom: -2px;
}

.rsnorte-tab-panel {
    display: none;
}

.rsnorte-tab-panel.active {
    display: block;
}

.rsnorte-tab-post {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
}

.rsnorte-tab-post:hover .rsnorte-tab-title {
    color: #0e5402;
}

.rsnorte-tab-num {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: #0e5402;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.rsnorte-tab-post-content {
    display: flex;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.rsnorte-tab-thumb {
    flex-shrink: 0;
    width: 55px;
    height: 45px;
    overflow: hidden;
    border-radius: 2px;
}

.rsnorte-tab-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rsnorte-tab-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.rsnorte-tab-cat {
    font-size: 10px;
    font-weight: 700;
    color: #0e5402;
    letter-spacing: 0.5px;
}

.rsnorte-tab-title {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    transition: color 0.2s;
}

.rsnorte-tab-date {
    font-size: 11px;
    color: #999;
}

/* =========================================
   ABAIXO DO HERO: 3 notícias + banner
   ========================================= */
.rsnorte-below-hero {
    display: grid;
    grid-template-columns: 3.2fr 1fr;
    gap: 4px;
    margin-bottom: 16px;
}

.rsnorte-below-news {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.rsnorte-below-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.rsnorte-below-card:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.rsnorte-below-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 10/9;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
}

.rsnorte-below-cat {
    position: absolute;
    top: 7px;
    left: 7px;
    background: #0e5402;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 2px;
}

.rsnorte-below-info {
    padding: 12px;
}

.rsnorte-below-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 6px;
    font-family: 'Barlow', sans-serif;
    color: #222;
}

.rsnorte-below-date {
    font-size: 13px;
    color: #999;
}

.rsnorte-below-pub {
    border: 2px dashed #ccc;
    border-radius: 4px;
    background: #f5f5f5;
    overflow: hidden;
}

.rsnorte-below-pub .swiper,
.rsnorte-below-pub .swiper-wrapper,
.rsnorte-below-pub .swiper-slide {
    width: 100%;
    height: 100%;
}

.rsnorte-below-pub-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #999;
    font-size: 13px;
    gap: 4px;
}

.rsnorte-below-pub-link small {
    font-size: 11px;
    opacity: 0.7;
}

/* =========================================
   SEÇÃO TABULADA + JORNAL DIGITAL
   ========================================= */
.rsnorte-tabbed-section {
    margin-top: 20px;
    margin-bottom: 28px;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.rsnorte-cat-tabs-row {
    display: flex;
    background: #f8f8f8;
    border-bottom: 3px solid #0e5402;
    overflow-x: auto;
}

.rsnorte-cat-tab-btn {
    padding: 11px 18px;
    background: transparent;
    border: none;
    border-right: 1px solid #e0e0e0;
    cursor: pointer;
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #444;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.rsnorte-cat-tab-btn:hover {
    background: #e8f5e4;
    color: #0e5402;
}

.rsnorte-cat-tab-btn.active {
    background: #0e5402;
    color: #fff;
}

.rsnorte-tabbed-body {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 0;
}

.rsnorte-tabbed-news {
    padding: 16px;
    border-right: 1px solid #e0e0e0;
}

.rsnorte-tab-panel {
    display: none;
}

.rsnorte-tab-panel.active {
    display: block;
}

.rsnorte-tab-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.rsnorte-tab-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.rsnorte-tab-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.rsnorte-tab-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
}

.rsnorte-tab-card-cat {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #0e5402;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 2px;
}

.rsnorte-tab-card-info {
    padding: 10px;
}

.rsnorte-tab-card-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 4px;
    font-family: 'Barlow', sans-serif;
    color: #222;
}

.rsnorte-tab-card-date {
    font-size: 11px;
    color: #999;
}

.rsnorte-tab-empty {
    grid-column: 1 / -1;
    color: #aaa;
    font-size: 13px;
    padding: 20px 0;
}

/* Jornal Digital */
.rsnorte-jornal-digital {
    display: flex;
    flex-direction: column;
    background: #f9f9f9;
}

.rsnorte-jd-header {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #0e5402;
    color: #fff;
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 11px 14px;
    letter-spacing: 0.5px;
}

.rsnorte-jd-edition {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.rsnorte-jd-edition:hover {
    opacity: 0.85;
}

.rsnorte-jd-cover-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.rsnorte-jd-cover-placeholder {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 180px;
    background: linear-gradient(160deg, #e8f5e4 0%, #f0f8ee 100%);
    font-family: 'Barlow', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: #0e5402;
    letter-spacing: -1px;
}

.rsnorte-jd-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 12px;
    background: #fff;
    border-top: 1px solid #e8e8e8;
}

.rsnorte-jd-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #0e5402;
    letter-spacing: 0.5px;
}

.rsnorte-jd-title {
    font-size: 13px;
    font-weight: 700;
    color: #222;
    font-family: 'Barlow', sans-serif;
    line-height: 1.3;
}

.rsnorte-jd-all-link {
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #0e5402;
    text-decoration: none;
    border-top: 1px solid #e8e8e8;
    background: #fff;
}

.rsnorte-jd-all-link:hover {
    background: #e8f5e4;
}

/* =========================================
   SEÇÕES EXTRAS POR CATEGORIA
   ========================================= */
.rsnorte-extra-section {
    margin-top: 24px;
}

.rsnorte-extra-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0e5402;
    color: #fff;
    padding: 9px 14px;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    border-left: 5px solid #1ead05;
    margin-bottom: 12px;
}

.rsnorte-extra-more {
    font-size: 11px;
    font-weight: 400;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    text-transform: none;
}

.rsnorte-extra-more:hover {
    color: #fff;
    text-decoration: underline;
}

.rsnorte-extra-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.rsnorte-extra-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.rsnorte-extra-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.rsnorte-extra-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
}

.rsnorte-extra-cat {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #0e5402;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 2px;
}

.rsnorte-extra-info {
    padding: 10px;
}

.rsnorte-extra-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 5px;
    font-family: 'Barlow', sans-serif;
    color: #222;
}

.rsnorte-extra-date {
    font-size: 11px;
    color: #999;
}

/* =========================================
   BANNER PUBLICIDADE — RODAPÉ
   ========================================= */
.rsnorte-footer-banner {
    margin-top: 28px;
    margin-bottom: 8px;
    border: 2px dashed #ccc;
    border-radius: 4px;
    background: #f5f5f5;
    overflow: hidden;
    height: 600px;
}

.rsnorte-footer-banner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.rsnorte-footer-banner-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.rsnorte-footer-banner-label {
    font-size: 14px;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rsnorte-footer-banner-size {
    font-size: 12px;
    color: #bbb;
}

/* =========================================
   RODAPÉ LEGAL — dentro do footer Kadence
   ========================================= */
.rsnorte-footer-legal {
    text-align: center;
    padding: 18px 24px 10px;
    font-family: 'Barlow', 'Roboto', sans-serif;
}

/* Linha 1 — Marca + contatos */
.rsnorte-fl-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0 12px;
    font-size: 15px;
    color: #a0aec0;
    margin-bottom: 14px;
}

.rsnorte-fl-jornal {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.rsnorte-fl-sep {
    color: rgba(255,255,255,0.18);
    font-weight: 300;
    font-size: 17px;
    line-height: 1;
}

.rsnorte-fl-top a {
    color: #76b7f5;
    text-decoration: none;
}

.rsnorte-fl-top a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Divisória */
.rsnorte-fl-rule {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 0 auto 14px;
    max-width: 860px;
}

/* Grade de CNPJs — colunas alinhadas */
.rsnorte-fl-grid {
    display: inline-grid;
    grid-template-columns: 1fr;
    gap: 7px;
    text-align: left;
}

.rsnorte-fl-row {
    display: grid;
    grid-template-columns: 240px 16px 1fr;
    align-items: baseline;
    gap: 0 10px;
    font-size: 14px;
    line-height: 1.55;
}

.rsnorte-fl-cnpj-num {
    color: #e2e8f0;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.rsnorte-fl-pipe {
    color: rgba(255,255,255,0.18);
    text-align: center;
    font-size: 16px;
}

.rsnorte-fl-desc {
    color: #718096;
    font-size: 13.5px;
    line-height: 1.55;
}

.rsnorte-fl-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12.5px;
    color: #4a5568;
    margin: 16px auto 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
    max-width: 860px;
    width: 100%;
}

.rsnorte-fl-bottom a {
    color: #76b7f5;
    text-decoration: none;
}

.rsnorte-fl-bottom a:hover {
    color: #fff;
    text-decoration: underline;
}

/* =========================================
   RESPONSIVO — tablet (≤ 1024px)
   ========================================= */
@media (max-width: 1024px) {
    .rsnorte-extra-grid { grid-template-columns: repeat(2, 1fr); }
    .rsnorte-tab-news-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================
   RESPONSIVO — mobile (≤ 768px)
   ========================================= */
@media (max-width: 768px) {

    /* ── Masthead ── */
    .rsnorte-masthead-content {
        flex-direction: column !important;
        gap: 8px !important;
    }
    .rsnorte-masthead-brand {
        font-size: 58px !important;
    }
    .rsnorte-masthead-flag {
        height: 52px !important;
        width: 74px !important;
    }

    /* ── Menu mobile ── */
    .main-navigation { background-color: #0e5402 !important; }

    /* ── Pub duo: empilha ── */
    .rsnorte-pub-duo {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .rsnorte-pub-swiper { height: 220px; }

    /* ── Hero grid ── */
    .rsnorte-hero-grid { grid-template-columns: 1fr; }
    .rsnorte-hero-main { height: 260px; }
    .rsnorte-hero-stack { height: auto; grid-template-rows: auto; }
    .rsnorte-hero-card.rsnorte-hero-small { height: 160px; }
    .rsnorte-hero-sidebar { padding-left: 0; }

    /* ── Below hero: empilha, esconde pub lateral ── */
    .rsnorte-below-hero { grid-template-columns: 1fr; }
    .rsnorte-below-news { grid-template-columns: 1fr; }
    .rsnorte-below-pub { display: none; }

    /* ── Seção de abas ── */
    .rsnorte-tabbed-body { grid-template-columns: 1fr; }
    .rsnorte-tabbed-news { border-right: none; border-bottom: 1px solid #e0e0e0; }
    .rsnorte-tab-news-grid { grid-template-columns: repeat(2, 1fr); }
    .rsnorte-jornal-digital { border-left: none; border-top: 1px solid #e0e0e0; }

    /* ── Seções extra de categorias ── */
    .rsnorte-extra-grid { grid-template-columns: repeat(2, 1fr); }

    /* ── Banner rodapé ── */
    .rsnorte-footer-banner { height: 160px; }

    /* ── Rodapé legal: CNPJ empilha ── */
    .rsnorte-fl-row {
        grid-template-columns: 1fr;
        gap: 2px 0;
        margin-bottom: 12px;
    }
    .rsnorte-fl-pipe { display: none; }
    .rsnorte-fl-cnpj-num { font-size: 13px; }
    .rsnorte-fl-desc { font-size: 12px; }
    .rsnorte-fl-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 4px;
    }

    /* ── Misc ── */
    .rsnorte-block-title { font-size: 14px; }
    .rsnorte-section-grid { grid-template-columns: repeat(2, 1fr); }
    .rsnorte-home-wrap { padding: 8px; }
}

/* =========================================
   RESPONSIVO — mobile pequeno (≤ 480px)
   ========================================= */
@media (max-width: 480px) {

    /* ── Masthead ── */
    .rsnorte-masthead-brand { font-size: 42px !important; }
    .rsnorte-masthead-flag {
        height: 38px !important;
        width: 54px !important;
    }

    /* ── Grids para coluna única ── */
    .rsnorte-tab-news-grid { grid-template-columns: 1fr; }
    .rsnorte-extra-grid { grid-template-columns: 1fr; }

    /* ── Pub swiper menor ── */
    .rsnorte-pub-swiper { height: 180px; }
}
