*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --red: #114184;
    --red-dark: #0e3263;
    --red-light: #F5E6E9;
    --black: #0F0F0F;
    --gray-900: #1A1A1A;
    --gray-800: #2D2D2D;
    --gray-600: #555;
    --gray-400: #888;
    --gray-200: #E5E5E5;
    --gray-100: #F5F5F5;
    --white: #FFFFFF;
    --yellow: #F5B800;
    --font-display: 'Sora', 'Helvetica Neue', sans-serif;
    --font-body: 'Sora', 'Helvetica Neue', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--gray-100);
    color: var(--black);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

/* ---- TOP BAR ---- */
.topbar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    font-size: 12px;
    font-family: var(--font-body);
    padding: 7px 0;
}

.topbar .inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.social-links span {
    font-size: 11px;
    color: var(--gray-400);
    margin-right: 6px;
    letter-spacing: .3px;
}

.social-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-600);
    cursor: pointer;
    transition: all .15s;
    text-decoration: none;
}

.social-btn:hover {
    border-color: var(--red);
    color: var(--red);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: var(--gray-400);
}

.weather-badge {
    display: flex;
    align-items: center;
    gap: 5px;
}

.weather-badge strong {
    color: var(--black);
    font-weight: 700;
}

.topbar-date {
    color: var(--gray-400);
}

.topbar-sep {
    color: var(--gray-200);
}

/* ---- HEADER ---- */
.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--gray-200);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 68px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-align: center;
    justify-self: center;
}

.logo-main {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 30px;
    color: var(--black);
    letter-spacing: -1px;
    line-height: 1;
}

.logo-main em {
    color: var(--red);
    font-style: normal;
}

.logo-sub {
    font-size: 8px;
    letter-spacing: 3.5px;
    color: var(--gray-400);
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 2px;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.search-bar {
    display: flex;
    border: 1.5px solid var(--gray-200);
    border-radius: 24px;
    overflow: hidden;
    align-items: center;
    background: var(--gray-100);
    transition: border-color .2s;
}

.search-bar:focus-within {
    border-color: var(--red);
}

.search-bar input {
    border: none;
    outline: none;
    padding: 7px 14px;
    font-family: var(--font-body);
    font-size: 13px;
    background: transparent;
    color: var(--black);
    width: 200px;
}

.search-bar button {
    background: var(--red);
    border: none;
    color: var(--white);
    padding: 0 14px;
    cursor: pointer;
    font-size: 13px;
    height: 34px;
    border-radius: 0 22px 22px 0;
    display: flex;
    align-items: center;
}

.btn-assine {
    background: transparent;
    color: var(--red);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .5px;
    padding: 6px 16px;
    border: 1.5px solid var(--red);
    cursor: pointer;
    border-radius: 24px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all .15s;
}

.btn-assine:hover {
    background: var(--red);
    color: var(--white);
}

/* ---- NAV ---- */
nav {
    background: var(--white);
    border-bottom: 2px solid var(--gray-200);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: center;
}

.nav-inner::-webkit-scrollbar {
    display: none;
}

.nav-item {
    display: block;
    padding: 11px 18px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-600);
    letter-spacing: .6px;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all .2s;
    position: relative;
    top: 2px;
}

.nav-item:hover {
    color: var(--black);
}

.nav-item.active {
    color: var(--red);
    border-bottom-color: var(--red);
}

/* ---- TICKER ---- */
.ticker-bar {
    background: var(--red);
    overflow: hidden;
}

.ticker-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 0;
}

.ticker-label {
    background: var(--black);
    color: var(--white);
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
}

.ticker-scroll {
    overflow: hidden;
    flex: 1;
    padding: 6px 16px;
}

.ticker-text {
    white-space: nowrap;
    animation: scroll-ticker 35s linear infinite;
    font-size: 12px;
    color: var(--white);
    font-weight: 600;
    letter-spacing: .2px;
}

@keyframes scroll-ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ---- CONTAINER ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---- PAGE SYSTEM ---- */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* ======== HOME PAGE ======== */

/* Hero Section */
.hero {
    background: var(--white);
    padding: 24px 0 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    grid-template-rows: auto auto;
    gap: 2px;
    background: var(--gray-200);
}

.hero-main {
    grid-row: 1 / 3;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.hero-main img {
    height: 480px;
    transition: transform .4s ease;
}

.hero-main:hover img {
    transform: scale(1.03);
}

.hero-main-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .4) 60%, transparent 100%);
    padding: 32px 24px 24px;
}

.tag {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 3px 10px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.tag.verde {
    background: #1A8C4E;
}

.tag.azul {
    background: #1A5FA8;
}

.tag.laranja {
    background: #D4660A;
}

.hero-main-overlay h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 8px;
}

.hero-main-overlay p {
    font-size: 14px;
    color: rgba(255, 255, 255, .75);
    line-height: 1.5;
}

.hero-secondary {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
}

.hero-sub {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.hero-sub img {
    height: 239px;
    transition: transform .4s ease;
}

.hero-sub:hover img {
    transform: scale(1.05);
}

.hero-sub-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .88) 0%, transparent 100%);
    padding: 16px;
}

.hero-sub-overlay h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
}

/* Section header */
.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px 0 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--black);
}

.section-line {
    flex: 1;
    height: 2px;
    background: var(--gray-200);
    position: relative;
}

.section-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 2px;
    background: var(--red);
}

.section-more {
    font-size: 12px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: .5px;
    text-transform: uppercase;
    cursor: pointer;
}

.section-more:hover {
    text-decoration: underline;
}

/* Main content layout */
.content-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    padding: 24px 0 32px;
}

.content-layout--top {
    align-items: start;
    padding-bottom: 0;
    margin-bottom: 34px;
}

@media (min-width: 901px) {
    .content-layout--top {
        align-items: stretch;
    }

    .home-recent {
        display: flex;
        flex-direction: column;
        min-height: 100%;
    }

    .home-recent .card-list {
        flex: 0 0 auto;
        justify-content: flex-start;
    }
}

.home-recent > .section-header:first-child {
    margin-top: 0;
}

.home-editorias-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 0 0 36px;
}

.home-editorias-layout .section-header {
    margin-top: 0;
}

.editoria-column {
    min-width: 0;
}

.editoria-card-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.editoria-card-list .card-v {
    border: 1px solid var(--gray-200);
    box-shadow: none;
}

.editoria-card-list .card-v:hover {
    border-color: var(--red);
}

.editoria-card-list .card-v img {
    height: 135px;
}

.editoria-card-list .card-v-body {
    padding: 14px 18px 18px;
}

.editoria-card-list .tag-card {
    display: block;
    width: fit-content;
    margin-bottom: 3px;
    padding: 0;
    background: transparent;
    color: #008f45;
    font-size: 12px;
    line-height: 1.1;
    letter-spacing: .2px;
}

.editoria-card-list .card-v-body h3 {
    font-size: 15px;
    line-height: 1.18;
    margin-bottom: 0;
}

.editoria-card-list .card-v-body p {
    display: none;
}

.editoria-ad-stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 4px;
}

.editoria-ad-label {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--gray-400);
    font-size: 9px;
    line-height: 1;
    text-transform: uppercase;
}

.editoria-ad-stack .ad-banner--box {
    min-height: 295px;
    border: none;
    border-radius: 0;
    background: #E9E9E9;
}

.editoria-ad-stack .ad-banner-label,
.editoria-ad-stack .ad-banner-size {
    display: none;
}

/* Card list */
.card-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card-h {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 0;
    background: var(--white);
    border: 1px solid #e9e9e9;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .18s, box-shadow .18s;
}

.card-h:hover {
    border-color: rgba(17, 65, 132, .35);
    box-shadow: 0 10px 26px rgba(15, 15, 15, .06);
}

.card-h img {
    height: 100%;
    min-height: 154px;
    object-fit: cover;
    transition: transform .3s;
}

.card-h:hover img {
    transform: scale(1.04);
}

.card-h:hover h3,
.card-v:hover h3,
.related-card:hover h4,
.widget-news-item:hover h4 {
    color: var(--red);
}

.card-h-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.card-meta {
    font-size: 11px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: .5px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.card-meta .dot {
    color: var(--gray-200);
}

.card-h-body h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.28;
    color: var(--black);
    transition: color .15s;
}

.card-h-body h3:hover {
    color: var(--red);
}

.card-h-body p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Grid cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.card-v {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow .2s;
}

.card-v:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
}

.card-v img {
    height: 160px;
    transition: transform .3s;
}

.card-v:hover img {
    transform: scale(1.04);
}

.card-v-body {
    padding: 14px;
}

.card-v-body h3 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
    color: var(--black);
    transition: color .15s;
}

.card-v-body p {
    font-size: 12px;
    color: var(--gray-600);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
}

.widget-title {
    background: var(--black);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 10px 16px;
    border-left: 4px solid var(--red);
}

.widget-news-list {
    padding: 0;
}

.widget-news-item {
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    transition: background .15s;
    align-items: center;
}

.widget-news-item:hover {
    background: var(--gray-100);
}

.widget-news-item:last-child {
    border-bottom: none;
}

.widget-rank {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 900;
    color: var(--gray-200);
    min-width: 28px;
    line-height: 1;
}

.widget-news-info h4 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--black);
    transition: color .15s;
}

.widget-news-info span {
    font-size: 11px;
    color: var(--gray-400);
}

/* Ad banner placeholder */
.ad-banner {
    background: var(--gray-200);
    border: 1px dashed var(--gray-400);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    color: var(--gray-400);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    min-height: 250px;
}

.ad-banner-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--gray-400);
}

.ad-banner--image {
    padding: 0;
    border: 0;
    overflow: hidden;
    background: transparent;
}

.ad-banner--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Climate widget */
.climate-widget {
    padding: 0;
    background: var(--white);
}

.climate-title {
    min-height: 54px;
    padding: 0 18px;
    border-left: 5px solid var(--red);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--black);
    color: var(--white);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
}

.climate-title button {
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 999px;
    background: transparent;
    color: var(--white);
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .4px;
    padding: 7px 10px;
    text-transform: uppercase;
}

.climate-title button:hover {
    background: rgba(255, 255, 255, .12);
}

.climate-city-form {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    background: #f8f8f8;
}

.climate-city-form[hidden] {
    display: none;
}

.climate-city-form input {
    min-width: 0;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    padding: 10px 12px;
    color: var(--black);
    outline: none;
}

.climate-city-form input:focus {
    border-color: var(--red);
}

.climate-city-form button {
    border: 0;
    border-radius: 4px;
    background: var(--red);
    color: var(--white);
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    padding: 0 14px;
}

.climate-body {
    padding: 22px 20px 24px;
}

.climate-main {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 20px;
}

.climate-temp {
    font-family: var(--font-display);
    min-width: 70px;
    font-size: 58px;
    font-weight: 800;
    color: var(--black);
    line-height: 1;
}

.climate-temp sup {
    position: relative;
    top: -22px;
    font-size: 24px;
    font-weight: 400;
}

.climate-details {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.7;
}

.climate-city {
    font-weight: 700;
    color: var(--black);
    font-size: 17px;
    margin-bottom: 5px;
}

.climate-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--gray-600);
    border-top: 1px solid var(--gray-100);
    padding-top: 16px;
    gap: 6px;
}

.climate-day {
    text-align: center;
    min-width: 42px;
}

.climate-day span {
    display: block;
}

.climate-day .day-name {
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--gray-400);
}

.climate-day .day-icon {
    min-height: 24px;
    margin: 6px 0 5px;
    font-size: 16px;
}

.climate-day .day-temp {
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    margin-top: 2px;
}

/* ======== ARTICLE PAGE ======== */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    padding: 28px 0 40px;
}

.breadcrumb {
    font-size: 12px;
    color: var(--gray-400);
    margin-bottom: 16px;
    display: flex;
    gap: 6px;
    align-items: center;
}

.breadcrumb span {
    color: var(--red);
    font-weight: 600;
}

.article-header {
    margin-bottom: 24px;
}

.article-category {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.article-title {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 900;
    line-height: 1.15;
    color: var(--black);
    margin-bottom: 14px;
}

.article-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.5;
    font-weight: 300;
    border-left: 4px solid var(--red);
    padding-left: 16px;
    margin-bottom: 18px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--gray-600);
    flex-wrap: wrap;
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 13px;
}

.author-name {
    font-weight: 600;
    color: var(--black);
}

.article-meta .share-btns {
    margin-left: auto;
    display: flex;
    gap: 6px;
}

.share-btn {
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    cursor: pointer;
    border: none;
    color: var(--white);
}

.share-btn.fb {
    background: #1877F2;
}

.share-btn.wa {
    background: #25D366;
}

.share-btn.tw {
    background: #000;
}

.article-hero-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.img-caption {
    font-size: 12px;
    color: var(--gray-400);
    margin-bottom: 24px;
    font-style: italic;
}

.article-body {
    font-size: 17px;
    line-height: 1.75;
    color: var(--gray-800);
}

.article-body p {
    margin-bottom: 20px;
}

.article-body h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
    margin: 28px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gray-200);
}

.article-body blockquote {
    border-left: 4px solid var(--red);
    padding: 4px 20px;
    margin: 24px 0;
    color: var(--gray-600);
    font-style: italic;
    font-size: 19px;
    line-height: 1.6;
}

.static-page {
    padding: 30px 0 52px;
}

.static-page-content {
    max-width: 860px;
    padding: 34px 0 0;
}

.static-page-header {
    max-width: 860px;
    margin-bottom: 24px;
    background: transparent;
    border: 0;
    position: static;
    top: auto;
    z-index: auto;
}

.static-page-header h1 {
    font-family: var(--font-display);
    color: var(--black);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.12;
    margin-top: 6px;
}

.static-page-header p {
    max-width: 720px;
    margin-top: 12px;
    color: var(--gray-600);
    font-size: 17px;
    line-height: 1.65;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
}

.sitemap-block {
    padding: 22px;
    border: 1px solid var(--gray-200);
    border-radius: 5px;
    background: var(--white);
}

.sitemap-block--wide {
    grid-column: 1 / -1;
}

.sitemap-block h2 {
    margin-bottom: 14px;
    color: var(--black);
    font-size: 20px;
}

.sitemap-block ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.sitemap-block a {
    color: var(--gray-800);
    font-weight: 600;
    transition: color .15s;
}

.sitemap-block a:hover {
    color: var(--red);
}

.article-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 28px 0;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.article-tag {
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 2px;
    cursor: pointer;
    border: 1px solid var(--gray-200);
}

.article-tag:hover {
    background: var(--red-light);
    color: var(--red);
    border-color: var(--red-light);
}

.related-section {
    margin-top: 32px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.related-card {
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    background: var(--white);
    transition: box-shadow .2s;
}

.related-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
}

.related-card img {
    height: 120px;
}

.related-card-body {
    padding: 10px 12px;
}

.related-card-body h4 {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--black);
    transition: color .15s;
}

/* ---- FOOTER ---- */
footer {
    background: var(--gray-900);
    color: #AAA;
    padding: 40px 0 0;
    margin-top: 40px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-logo-area .logo-main {
    font-size: 28px;
    margin-bottom: 10px;
}

.footer-logo-area p {
    font-size: 13px;
    line-height: 1.7;
    color: #888;
}

.footer-col h5 {
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--red);
    display: inline-block;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    font-size: 13px;
    padding: 5px 0;
    cursor: pointer;
    color: #888;
    transition: color .15s;
}

.footer-col li:hover {
    color: var(--white);
}

.footer-bottom {
    background: var(--black);
    text-align: center;
    padding: 14px;
    font-size: 12px;
    color: #555;
}

/* Highlight strip */
.highlight-strip {
    background: var(--white);
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 4px;
}

.highlight-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

.highlight-inner::-webkit-scrollbar {
    display: none;
}

.highlight-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    flex-shrink: 0;
}

.highlight-pill:hover {
    color: var(--red);
    border-bottom-color: var(--red);
}

.highlight-pill .pill-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* ---- ORGANIZED LAYOUT HELPERS ---- */
.header-inner {
    height: 84px;
}

.logo {
    text-decoration: none;
    align-items: center;
    justify-content: center;
}

.site-logo {
    width: auto;
    height: 68px;
    max-width: min(240px, 38vw);
    object-fit: contain;
}

.hero-shell,
.ad-strip {
    background: var(--white);
}

.hero-shell {
    padding-bottom: 2px;
}

.hero-grid--framed {
    margin: 0;
    border-radius: 4px;
    overflow: hidden;
}

.ad-strip {
    padding: 10px 0;
}

.ad-banner--leaderboard {
    min-height: 90px;
    flex-direction: row;
}

.ad-banner--box {
    min-height: 250px;
}

.ad-banner-size {
    font-weight: 700;
    color: var(--gray-600);
}

.ad-banner-size--leaderboard {
    font-size: 18px;
}

.ad-banner-size--box {
    font-size: 14px;
}

.section-header--spaced {
    margin-top: 32px;
}

.tag-sm {
    font-size: 9px;
    padding: 2px 8px;
}

.tag-overlay,
.tag-related {
    margin-bottom: 6px;
}

.tag-card {
    margin-bottom: 8px;
}

.breadcrumb-link {
    color: var(--gray-400);
}

.breadcrumb-link:hover {
    color: var(--red);
}

.author-role {
    font-size: 12px;
    color: var(--gray-400);
}

.article-tags-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-right: 4px;
}

.newsletter-widget {
    padding: 16px;
}

.newsletter-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.newsletter-copy {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.newsletter-input {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid var(--gray-200);
    border-radius: 3px;
    font-size: 13px;
    margin-bottom: 8px;
    font-family: var(--font-body);
}

.newsletter-button {
    width: 100%;
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 10px;
    font-weight: 700;
    font-size: 13px;
    border-radius: 3px;
    cursor: pointer;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
}

.footer-logo-img {
    width: auto;
    height: 58px;
    max-width: 220px;
    object-fit: contain;
}

.footer-description {
    margin-top: 12px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.footer-social-link {
    background: var(--gray-800);
    color: #AAA;
    padding: 6px 14px;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
}

.footer-social-link:hover {
    color: var(--white);
}

[data-href] {
    cursor: pointer;
}

[data-href]:focus-visible,
.nav-item:focus-visible,
.logo:focus-visible,
.breadcrumb-link:focus-visible,
.footer-logo:focus-visible,
.footer-social-link:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .header-inner {
        grid-template-columns: 1fr;
        height: auto;
        padding: 12px 16px;
        gap: 12px;
    }

    .header-left,
    .header-right {
        justify-content: center;
    }

    .search-bar input {
        width: min(260px, 70vw);
    }

    .hero-grid,
    .content-layout,
    .article-layout,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .home-editorias-layout {
        gap: 28px;
    }

    .editoria-card-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .editoria-ad-stack {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-top: 0;
    }

    .editoria-ad-stack .ad-banner--box {
        min-height: 180px;
    }

    .hero-main,
    .hero-main img {
        height: auto;
        min-height: 320px;
    }

    .hero-secondary {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .card-grid,
    .related-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .topbar .inner,
    .topbar-right {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-logo {
        height: 56px;
    }

    .hero-secondary,
    .card-grid,
    .related-grid,
    .card-h,
    .sitemap-grid {
        grid-template-columns: 1fr;
    }

    .editoria-ad-stack {
        grid-template-columns: 1fr;
    }

    .editoria-card-list {
        grid-template-columns: 1fr;
    }

    .hero-main-overlay h2,
    .article-title,
    .static-page-header h1 {
        font-size: 28px;
    }

    .card-h-body {
        padding: 14px;
    }

    .card-h img,
    .card-v img {
        height: 190px;
    }

    .article-hero-img {
        height: 280px;
    }

    .ad-banner--leaderboard {
        flex-direction: column;
    }
}

/* ---- SOUMT-STYLE HEADER ---- */
.site-header {
    background: #114184;
    border-bottom: none;
    color: var(--white);
    position: relative;
    z-index: 100;
}

.masthead {
    background: #114184;
}

.masthead-inner {
    max-width: 1200px;
    min-height: 108px;
    margin: 0 auto;
    padding: 16px 16px 6px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    gap: 24px;
}

.masthead-left {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.masthead-menu {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 0;
    background: transparent;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}

.hamburger {
    width: 30px;
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    height: 4px;
    border-radius: 999px;
    background: var(--white);
}

.masthead-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2.5px solid var(--white);
    border-radius: 8px;
    background: transparent;
    color: var(--white);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.masthead-icon--search {
    border-color: transparent;
}

.search-icon {
    width: 27px;
    height: 27px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    pointer-events: none;
}

.masthead-icon--rss {
    width: auto;
    min-width: 42px;
    padding: 0 6px;
    font-size: 12px;
}

.masthead-social {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.masthead-social img {
    width: 21px;
    height: 21px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: opacity .15s, transform .15s;
}

.masthead-social:hover img {
    opacity: .82;
    transform: translateY(-1px);
}

.site-header .logo {
    align-self: center;
    justify-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 7px 20px;
}

.site-header .site-logo {
    width: auto;
    height: 88px;
    max-width: min(300px, 30vw);
    object-fit: contain;
}

.masthead-weather {
    justify-self: end;
    margin-top: 14px;
    text-align: right;
    color: var(--white);
    line-height: 1.1;
}

.masthead-weather strong {
    display: block;
    color: #182032;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: .3px;
}

.masthead-weather span {
    display: block;
    margin-top: 4px;
    color: var(--white);
    font-size: 19px;
    font-weight: 800;
}

.topic-nav-inner {
    max-width: 1200px;
    height: 54px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) auto;
    align-items: end;
    gap: 24px;
}

.latest-label {
    height: 54px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    border-radius: 9px 9px 0 0;
    background: var(--white);
    color: var(--gray-800);
    font-size: 18px;
    font-weight: 900;
    white-space: nowrap;
}

.topic-rail-wrap {
    min-width: 0;
    align-self: stretch;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.topic-rail {
    min-width: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.topic-rail::-webkit-scrollbar {
    display: none;
}

.topic-item {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 5px;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    white-space: nowrap;
    transition: background .2s, color .2s;
}

.topic-item:hover,
.topic-item.active {
    background: rgba(0, 0, 0, .40);
    color: var(--white);
    font-weight: 700;
}

.topic-arrows {
    align-self: stretch;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
}

.topic-arrow {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: var(--white);
    color: var(--black);
    cursor: pointer;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    transition: transform .15s, background .15s;
}

.topic-arrow:hover {
    transform: translateY(-1px);
    background: #f2f2f2;
}

.headline-strip {
    height: 54px;
    background: var(--white);
    box-shadow: 0 5px 18px rgba(0, 0, 0, .08);
    overflow: hidden;
}

.headline-window {
    position: relative;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}

.headline-track {
    position: absolute;
    inset: 0 auto 0 0;
    height: 100%;
    display: inline-flex;
    align-items: center;
    gap: 32px;
    min-width: max-content;
    padding-left: 0;
    animation: headline-marquee 48s linear infinite;
}

.headline-strip:hover .headline-track {
    animation-play-state: paused;
}

.headline-item {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
    color: var(--gray-800);
    font-size: 15px;
    font-weight: 700;
    transition: color .15s;
}

.headline-item span:last-child {
    transition: color .15s;
}

.headline-item:hover span:last-child {
    color: var(--red);
}

.headline-tag {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 4px;
    background: var(--red);
    color: var(--white);
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

.headline-tag.cidade {
    background: #108a49;
}

.headline-tag.cultura {
    background: #8226dc;
}

.headline-tag.seguranca {
    background: #1a5fa8;
}

.headline-showcase {
    background: var(--white);
    padding: 24px 0 30px;
}

.headline-showcase-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.headline-feature {
    min-height: 330px;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    overflow: hidden;
    background: var(--white);
    color: var(--black);
}

.headline-feature-copy {
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
}

.headline-category {
    color: #008c45;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .2px;
    text-transform: uppercase;
}

.headline-feature h2 {
    max-width: 620px;
    margin-top: 5px;
    font-family: var(--font-display);
    color: #33343a;
    font-size: 31px;
    font-weight: 900;
    line-height: 1.13;
}

.headline-feature h2 a,
.headline-bullets a {
    color: inherit;
    transition: color .15s;
}

.headline-feature h2 a:hover,
.headline-bullets a:hover {
    color: var(--red);
}

.headline-bullets {
    display: grid;
    gap: 14px;
    margin-top: 22px;
    padding-left: 18px;
    color: #303238;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
}

.headline-feature-media {
    display: block;
    min-height: 330px;
    background: var(--gray-100);
    overflow: hidden;
}

.headline-feature-media img,
.headline-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.headline-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.headline-card {
    min-width: 0;
    border: 1px solid var(--gray-200);
    border-radius: 5px;
    overflow: hidden;
    background: var(--white);
    color: var(--black);
    box-shadow: none;
    transition: border-color .18s;
}

.headline-card:hover {
    border-color: var(--red);
}

.headline-card img {
    height: 135px;
}

.headline-card-body {
    min-height: auto;
    padding: 14px 18px 18px;
}

.headline-card-body span {
    display: block;
    width: fit-content;
    margin-bottom: 3px;
    padding: 0;
    background: transparent;
    color: #008f45;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: .2px;
    text-transform: uppercase;
}

.headline-card-body h3 {
    color: #2e3036;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.18;
}

@media (max-width: 900px) {
    .headline-feature {
        grid-template-columns: 1fr;
    }

    .headline-feature-media {
        min-height: 240px;
    }

    .headline-feature h2 {
        font-size: 27px;
    }

    .headline-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 560px) {
    .headline-showcase-inner {
        width: 90%;
        padding: 0;
    }

    .headline-showcase {
        padding: 18px 0 22px;
    }

    .headline-feature-copy {
        padding: 22px 18px;
    }

    .headline-feature h2 {
        font-size: 24px;
    }

    .headline-card-grid {
        grid-template-columns: 1fr;
        margin-top: 18px;
    }
}

#page-home > .ad-strip:first-child {
    padding-top: 26px;
    padding-bottom: 10px;
}

/* ---- MENU AND SEARCH OVERLAYS ---- */
body.menu-open,
body.search-open {
    overflow: hidden;
}

.site-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 190;
    background: rgba(0, 0, 0, .38);
}

.site-menu-panel {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 200;
    width: min(390px, 92vw);
    background: var(--white);
    color: var(--gray-900);
    transform: translateX(-105%);
    transition: transform .24s ease;
    box-shadow: 18px 0 42px rgba(0, 0, 0, .24);
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
}

body.menu-open .site-menu-panel {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.site-menu-head {
    min-height: 86px;
    padding: 16px 20px;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-menu-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 190px;
    padding: 8px 14px;
}

.site-menu-logo img {
    width: auto;
    height: 44px;
    object-fit: contain;
}

.site-menu-close {
    border: 0;
    background: transparent;
    color: var(--white);
    cursor: pointer;
    font-size: 36px;
    line-height: 1;
}

.site-menu-actions {
    padding: 28px 20px 22px;
    border-bottom: 1px solid var(--gray-200);
    text-align: center;
}

.site-menu-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 7px;
    background: var(--red);
    color: var(--white);
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
}

.site-menu-primary:hover {
    background: var(--red-dark);
}

.site-menu-login {
    display: inline-flex;
    margin-top: 20px;
    color: var(--black);
    font-weight: 800;
    text-decoration: underline;
}

.site-menu-list {
    display: flex;
    flex-direction: column;
}

.site-menu-list a {
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 0 20px;
    border-bottom: 1px solid var(--gray-200);
    color: #1d2430;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    transition: color .15s, background .15s;
}

.site-menu-list a:hover {
    background: var(--gray-100);
    color: var(--red);
}

.search-overlay {
    position: fixed;
    inset: 0 0 auto;
    z-index: 210;
    min-height: 150px;
    padding: 28px 16px;
    background: var(--white);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .16);
    transform: translateY(-110%);
    transition: transform .22s ease;
    visibility: hidden;
    pointer-events: none;
}

body.search-open .search-overlay {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.search-overlay-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.search-overlay-form label {
    display: block;
    margin-bottom: 12px;
    color: var(--gray-600);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.search-overlay-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
}

.search-overlay-row input {
    width: 100%;
    height: 54px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    padding: 0 16px;
    font-family: var(--font-body);
    font-size: 18px;
    outline: none;
}

.search-overlay-row input:focus {
    border-color: var(--red);
}

.search-overlay-row button {
    height: 54px;
    border: 0;
    border-radius: 8px;
    padding: 0 18px;
    background: var(--red);
    color: var(--white);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.search-overlay-close {
    width: 54px;
    padding: 0 !important;
    background: var(--gray-900) !important;
    font-size: 28px !important;
}

/* ---- LISTING PAGES ---- */
.listing-page {
    padding: 38px 0 54px;
}

.listing-header {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--gray-200);
}

.listing-kicker {
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.listing-title {
    margin-top: 6px;
    color: var(--black);
    font-size: 32px;
    font-weight: 900;
    line-height: 1.15;
}

.listing-summary {
    margin-top: 8px;
    color: var(--gray-600);
    font-size: 15px;
}

.result-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.result-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    padding: 14px;
    border-radius: 6px;
    background: var(--white);
    cursor: pointer;
    transition: box-shadow .18s, transform .18s;
}

.result-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, .1);
    transform: translateY(-1px);
}

.result-card img {
    height: 140px;
    border-radius: 4px;
}

.result-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.result-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-400);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.result-card h2 {
    color: var(--black);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.25;
    transition: color .15s;
}

.result-card:hover h2 {
    color: var(--red);
}

.result-card p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.55;
}

.empty-state {
    padding: 34px;
    border-radius: 6px;
    background: var(--white);
    color: var(--gray-600);
}

@keyframes headline-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.masthead-menu:focus-visible,
.masthead-icon:focus-visible,
.topic-item:focus-visible,
.topic-arrow:focus-visible,
.headline-item:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 4px;
}

@media (max-width: 1100px) {
    .masthead-inner {
        padding: 22px 24px 10px;
    }

    .topic-nav-inner {
        grid-template-columns: 185px minmax(0, 1fr) auto;
        padding: 0 24px;
        gap: 18px;
    }

    .latest-label {
        font-size: 18px;
    }

    .topic-item {
        font-size: 17px;
    }

    .headline-track {
        padding-left: 24px;
    }
}

@media (max-width: 820px) {
    .masthead-inner {
        min-height: auto;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo weather"
            "tools tools";
        align-items: center;
        gap: 14px;
    }

    .masthead-left {
        grid-area: tools;
        margin-top: 4px;
        flex-wrap: wrap;
    }

    .site-header .logo {
        grid-area: logo;
        justify-self: start;
        padding: 8px 16px;
    }

    .site-header .site-logo {
        height: 58px;
        max-width: 220px;
    }

    .masthead-weather {
        grid-area: weather;
        margin-top: 0;
    }

    .masthead-weather strong {
        font-size: 24px;
    }

    .masthead-weather span {
        font-size: 16px;
    }

    .topic-nav-inner {
        height: auto;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
    }

    .latest-label {
        grid-column: 1 / -1;
        height: 50px;
        width: max-content;
        max-width: 100%;
        font-size: 18px;
    }

    .topic-rail-wrap {
        height: 58px;
    }

    .topic-arrows {
        height: 58px;
        padding-bottom: 0;
    }
}

@media (max-width: 560px) {
    .masthead-inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "logo"
            "weather"
            "tools";
        justify-items: start;
    }

    .masthead-inner,
    .topic-nav-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .masthead-menu {
        font-size: 18px;
        gap: 10px;
    }

    .hamburger {
        width: 28px;
        gap: 5px;
    }

    .hamburger span {
        height: 4px;
    }

    .masthead-icon {
        width: 34px;
        height: 34px;
        font-size: 20px;
    }

    .masthead-icon--rss {
        min-width: 38px;
        font-size: 10px;
    }

    .site-header .site-logo {
        height: 46px;
        max-width: 170px;
    }

    .masthead-weather {
        justify-self: start;
        text-align: left;
    }

    .masthead-weather strong {
        font-size: 20px;
    }

    .masthead-weather span {
        font-size: 13px;
    }

    .latest-label {
        height: 46px;
        padding: 0 16px;
        font-size: 17px;
    }

    .topic-nav-inner {
        grid-template-columns: 1fr;
    }

    .topic-arrows {
        justify-self: start;
        height: 42px;
    }

    .topic-item {
        min-height: 40px;
        padding: 0 11px;
        font-size: 16px;
    }

    .topic-arrow {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .hero-main-overlay {
        padding: 28px 16px 20px;
    }

    .hero-main-overlay h2 {
        font-size: 25px;
        line-height: 1.2;
    }

    .hero-main-overlay p {
        font-size: 13px;
    }

    .headline-strip {
        height: 54px;
    }

    .headline-track {
        gap: 24px;
        padding-left: 16px;
    }

    .headline-item,
    .headline-tag {
        font-size: 14px;
    }

    .headline-tag {
        min-height: 30px;
    }
}

@media (max-width: 700px) {
    .search-overlay {
        padding: 22px 14px;
    }

    .search-overlay-row {
        grid-template-columns: 1fr;
    }

    .search-overlay-row input,
    .search-overlay-row button {
        height: 48px;
    }

    .search-overlay-close {
        width: 100%;
    }

    .listing-page {
        padding: 28px 0 42px;
    }

    .listing-title {
        font-size: 25px;
    }

    .result-card {
        grid-template-columns: 1fr;
    }

    .result-card img {
        height: 190px;
    }

    .site-menu-list a {
        min-height: 54px;
        font-size: 15px;
    }
}

/* ---- MOBILE REFINEMENT ---- */
@media (max-width: 760px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .site-header,
    .masthead,
    .topic-nav,
    .headline-strip,
    .hero-shell,
    .ad-strip,
    footer {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .container,
    .masthead-inner,
    .topic-nav-inner,
    .headline-window,
    .footer-inner,
    .search-overlay-inner {
        width: 90%;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .container {
        padding-left: 0;
        padding-right: 0;
    }

    .masthead-inner {
        min-height: 0;
        padding: 12px 16px 10px;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "logo"
            "tools";
        align-items: center;
        justify-items: center;
        gap: 8px;
    }

    .masthead-left {
        grid-area: tools;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
        margin-top: 0;
    }

    .masthead-menu {
        gap: 8px;
        font-size: 15px;
    }

    .hamburger {
        width: 30px;
        gap: 5px;
    }

    .hamburger span {
        height: 4px;
    }

    .masthead-icon--search {
        display: inline-flex;
        width: 36px;
        height: 36px;
    }

    .masthead-social {
        display: inline-flex;
        width: 28px;
        height: 28px;
    }

    .masthead-social img {
        width: 20px;
        height: 20px;
    }

    .site-header .logo {
        grid-area: logo;
        justify-self: center;
        padding: 0;
        min-width: 0;
    }

    .site-header .site-logo {
        height: 54px;
        max-width: min(190px, 58vw);
    }

    .masthead-weather {
        display: none;
    }

    .topic-nav-inner {
        height: auto;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px;
        padding: 0 16px 10px;
    }

    .latest-label {
        grid-column: 1 / -1;
        width: fit-content;
        height: 38px;
        padding: 0 14px;
        border-radius: 8px 8px 0 0;
        font-size: 15px;
    }

    .topic-rail-wrap {
        height: 38px;
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .topic-rail {
        gap: 8px;
        max-width: 100%;
    }

    .topic-item {
        min-height: 32px;
        padding: 0 10px;
        font-size: 14px;
        border-radius: 5px;
    }

    .topic-arrows {
        height: 38px;
        justify-self: end;
        gap: 6px;
        padding-bottom: 0;
    }

    .topic-arrow {
        width: 30px;
        height: 30px;
        font-size: 17px;
    }

    .headline-strip {
        height: 44px;
    }

    .headline-window {
        -webkit-mask-image: linear-gradient(to right, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
        mask-image: linear-gradient(to right, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
    }

    .headline-track {
        gap: 18px;
        padding-left: 0;
    }

    .headline-item {
        gap: 8px;
        font-size: 12px;
    }

    .headline-tag {
        min-height: 28px;
        padding: 0 8px;
        font-size: 12px;
    }

    #page-home > .ad-strip:first-child {
        padding-top: 20px;
    }

    .ad-banner--leaderboard {
        min-height: 72px;
    }

    .ad-banner-size--leaderboard {
        font-size: 15px;
    }

    .hero-grid--framed {
        border-radius: 0;
    }

    .hero-grid,
    .hero-main,
    .hero-secondary,
    .hero-sub,
    .hero-main-overlay,
    .hero-sub-overlay {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .hero-main img {
        min-height: 360px;
    }

    .hero-main-overlay {
        padding: 24px 16px 18px;
    }

    .hero-main-overlay h2 {
        font-size: 22px;
        line-height: 1.22;
        overflow-wrap: anywhere;
    }

    .hero-main-overlay p {
        font-size: 12px;
        line-height: 1.45;
    }

    .hero-sub img {
        height: 185px;
    }

    .hero-sub-overlay h3 {
        font-size: 15px;
    }

    .section-title {
        font-size: 19px;
    }

    .content-layout {
        gap: 20px;
        padding-top: 18px;
    }

    .section-header {
        gap: 8px;
        min-width: 0;
    }

    .section-title,
    .section-more {
        flex-shrink: 0;
    }

    .section-more {
        font-size: 11px;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .section-line {
        min-width: 22px;
    }

    .section-line::before {
        width: min(44px, 100%);
    }

    .card-h,
    .card-v,
    .result-card,
    .card-h-body,
    .card-v-body,
    .result-card-body,
    .widget-news-info,
    .sidebar-widget,
    .ad-banner {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .card-h-body h3,
    .card-v-body h3,
    .result-card h2,
    .result-card p,
    .widget-news-info h4 {
        overflow-wrap: anywhere;
    }

    .footer-inner {
        gap: 24px;
    }
}

@media (max-width: 430px) {
    .site-header .site-logo {
        height: 48px;
        max-width: 165px;
    }

    .latest-label {
        height: 36px;
        font-size: 14px;
    }

    .topic-item {
        font-size: 13px;
    }

    .hero-main img {
        min-height: 330px;
    }

    .hero-main-overlay h2 {
        font-size: 20px;
    }

    .card-h img,
    .card-v img,
    .result-card img {
        height: 170px;
    }
}

/* ---- MOBILE HEADER LIKE REFERENCE ---- */
@media (max-width: 760px) {
    .masthead-inner {
        min-height: 158px;
        padding: 30px 24px 24px;
        grid-template-columns: minmax(0, 1fr) 44px 38px;
        grid-template-areas: "logo menu search";
        justify-items: initial;
        align-items: center;
        gap: 14px;
        max-width: 1200px;
        justify-content: start;
    }

    .masthead-left {
        display: contents;
    }

    .site-header .logo {
        grid-area: logo;
        justify-self: start;
        padding: 0;
        min-width: 0;
        max-width: 100%;
    }

    .site-header .site-logo {
        width: min(220px, 100%);
        height: auto;
        max-width: 100%;
    }

    .masthead-menu {
        grid-area: menu;
        justify-self: center;
        width: 44px;
        height: 44px;
        font-size: 0;
        gap: 0;
    }

    .masthead-menu > span:not(.hamburger) {
        display: none;
    }

    .hamburger {
        width: 40px;
        gap: 7px;
    }

    .hamburger span {
        height: 6px;
    }

    .masthead-icon--search {
        grid-area: search;
        justify-self: end;
        width: 34px;
        height: 34px;
    }

    .search-icon {
        width: 30px;
        height: 30px;
    }

    .masthead-social,
    .masthead-weather,
    .topic-nav {
        display: none;
    }

    .headline-strip {
        height: 48px;
    }

    #page-home > .ad-strip:first-child {
        padding-top: 18px;
    }
}

@media (max-width: 420px) {
    .masthead-inner {
        padding-left: 20px;
        padding-right: 20px;
        grid-template-columns: minmax(0, 1fr) 40px 36px;
        gap: 12px;
    }

    .site-header .site-logo {
        width: min(200px, 100%);
        height: auto;
    }

    .hamburger {
        width: 36px;
    }
}
