:root {
    --primary: #12345a;
    --accent: #e63946;
    --text: #202b38;
    --muted: #718096;
    --line: #e7ebf0;
    --surface: #ffffff;
    --background: #f5f7fa;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--background);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

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

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

.container {
    width: min(var(--container), calc(100% - 36px));
    margin-inline: auto;
}

.topline {
    background: var(--primary);
    color: #dce7f4;
    font-size: 12px;
}

.topline .container {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.header-main {
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
}

.brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--primary);
    color: white;
    font-size: 22px;
    font-weight: 900;
}

.brand-name {
    display: block;
    font-size: 25px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -1px;
}

.brand-subtitle {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.header-date {
    color: var(--muted);
    font-size: 13px;
}

.main-nav {
    background: var(--primary);
    color: white;
}

.nav-inner {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 25px;
    overflow-x: auto;
    white-space: nowrap;
}

.nav-inner a {
    font-size: 12px;
    font-weight: 700;
}

.nav-inner a:hover {
    color: #ffb8bd;
}

.page-content {
    min-height: 55vh;
    padding-top: 30px;
    padding-bottom: 55px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.section-heading h2 {
    margin: 0;
    color: var(--primary);
    font-size: 19px;
    line-height: 1.3;
}

.section-heading span {
    color: var(--muted);
    font-size: 12px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.news-card {
    min-width: 0;
    overflow: hidden;
    background: white;
    border: 1px solid var(--line);
    border-radius: 9px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 24px #152c4512;
}

.news-card-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e9eef4;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-body {
    padding: 17px;
}

.news-category {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.news-card h3 {
    margin: 0 0 9px;
    color: var(--primary);
    font-size: 18px;
    line-height: 1.35;
}

.news-card p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
}

.news-meta {
    color: var(--muted);
    font-size: 11px;
}

.featured-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr);
    gap: 24px;
    margin-bottom: 42px;
}

.featured-main {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    border-radius: 10px;
    background: #182c43;
}

.featured-main > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .72;
}

.featured-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
    background: linear-gradient(transparent 15%, #081727e8 100%);
}

.featured-overlay .news-category {
    color: #ffb8bd;
}

.featured-overlay h1 {
    max-width: 760px;
    margin: 0 0 10px;
    font-size: clamp(25px, 3.4vw, 40px);
    line-height: 1.16;
}

.featured-overlay p {
    max-width: 650px;
    margin: 0 0 12px;
    color: #e3eaf2;
    font-size: 14px;
}

.featured-side {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.side-story {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 13px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--line);
}

.side-story img {
    width: 112px;
    height: 84px;
    object-fit: cover;
    border-radius: 6px;
    background: #e9eef4;
}

.side-story h3 {
    margin: 2px 0 6px;
    color: var(--primary);
    font-size: 14px;
    line-height: 1.35;
}

.article {
    max-width: 850px;
    margin: 0 auto;
    padding: 34px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.article h1 {
    margin: 5px 0 15px;
    color: var(--primary);
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.15;
    letter-spacing: -1px;
}

.article-excerpt {
    margin: 0 0 20px;
    color: #657386;
    font-size: 19px;
    line-height: 1.5;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}

.article-cover {
    margin: 24px 0;
}

.article-cover img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 8px;
}

.article-content {
    color: #303b49;
    font-size: 17px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.article-content h2,
.article-content h3 {
    margin-top: 32px;
    color: var(--primary);
    line-height: 1.3;
}

.article-content p {
    margin: 0 0 22px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 7px;
}

.article-content blockquote {
    margin: 25px 0;
    padding: 15px 22px;
    border-left: 4px solid var(--accent);
    background: var(--background);
    color: #536174;
}

.article-content a {
    color: #1c62b5;
    text-decoration: underline;
}

.article-content ul,
.article-content ol {
    padding-left: 25px;
}

.article-content figure {
    margin: 28px 0;
}

.article-content figcaption {
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.empty-state {
    padding: 45px 20px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: white;
    color: var(--muted);
    text-align: center;
}

.site-footer {
    padding: 35px 0;
    background: #10243d;
    color: #dce5ef;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
}

.site-footer strong {
    color: white;
    font-size: 18px;
}

.site-footer p {
    margin: 6px 0 0;
    color: #aebdd0;
    font-size: 12px;
}

@media (max-width: 850px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-main {
        min-height: 350px;
    }

    .featured-side {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .header-main {
        min-height: 76px;
    }

    .brand-name {
        font-size: 21px;
    }

    .header-date {
        display: none;
    }

    .nav-inner {
        gap: 19px;
    }

    .page-content {
        padding-top: 20px;
    }

    .featured-main {
        min-height: 330px;
    }

    .featured-overlay {
        padding: 20px;
    }

    .featured-overlay h1 {
        font-size: 27px;
    }

    .featured-side {
        display: flex;
    }

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

    .article {
        padding: 22px 17px;
    }

    .article h1 {
        font-size: 31px;
    }

    .article-excerpt {
        font-size: 16px;
    }

    .article-content {
        font-size: 16px;
    }
}

/* GRAVOBEM VISUAL REFRESH 01 */

:root {
    --primary: #102b46;
    --accent: #d92332;
    --text: #202b38;
    --muted: #738092;
    --line: #e5e9ef;
    --surface: #fff;
    --background: #f3f5f8;
    --container: 1240px;
}

body {
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    background: #f3f5f8;
    color: #202b38;
}

.container {
    width: min(1240px, calc(100% - 48px));
}

.topline {
    background: #0b1e32;
    color: #d5dfeb;
    font-size: 11px;
    letter-spacing: .25px;
}

.topline .container {
    min-height: 32px;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #e8ebef;
}

.header-main {
    min-height: 112px;
}

.brand {
    gap: 14px;
}

.brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 5px;
    background: #d92332;
    font-size: 27px;
    box-shadow: 0 5px 14px #d923322b;
}

.brand-name {
    color: #102b46;
    font-size: 29px;
    font-weight: 900;
    letter-spacing: -1.2px;
}

.brand-subtitle {
    color: #788596;
    font-size: 10px;
    letter-spacing: 2.2px;
}

.header-date {
    font-size: 12px;
    font-weight: 600;
}

.main-nav {
    background: #102b46;
    border-top: 3px solid #d92332;
    box-shadow: 0 4px 12px #102b4612;
}

.nav-inner {
    min-height: 49px;
    gap: 0;
}

.nav-inner a {
    display: inline-flex;
    align-items: center;
    min-height: 49px;
    padding: 0 17px;
    color: #f5f7fa;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .55px;
    text-transform: uppercase;
    transition: background .2s, color .2s;
}

.nav-inner a:hover {
    color: #fff;
    background: #d92332;
}

.page-content {
    padding-top: 34px;
    padding-bottom: 65px;
}

.featured-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(290px, .9fr);
    gap: 26px;
    margin-bottom: 48px;
}

.featured-main {
    min-height: 440px;
    border-radius: 5px;
    background: #102b46;
    box-shadow: 0 10px 28px #102b461c;
}

.featured-main > img {
    opacity: .82;
    transition: transform .6s ease;
}

.featured-main:hover > img {
    transform: scale(1.025);
}

.featured-overlay {
    padding: 34px;
    background: linear-gradient(
        180deg,
        transparent 5%,
        #08172724 35%,
        #081727ed 100%
    );
}

.featured-overlay .news-category {
    display: inline-block;
    padding: 5px 10px;
    color: #fff;
    background: #d92332;
    border-radius: 2px;
    font-size: 10px;
    letter-spacing: 1px;
}

.featured-overlay h1 {
    max-width: 700px;
    font-size: clamp(29px, 3.4vw, 43px);
    line-height: 1.12;
    letter-spacing: -.8px;
}

.featured-overlay h1 a:hover {
    color: #f4cbd0;
}

.featured-overlay p {
    font-size: 14px;
    line-height: 1.6;
}

.featured-side {
    gap: 0;
    background: #fff;
    border: 1px solid #e6eaf0;
    padding: 18px;
}

.side-story {
    grid-template-columns: 116px 1fr;
    gap: 14px;
    padding: 0 0 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e9edf2;
}

.side-story:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.side-story img {
    width: 116px;
    height: 88px;
    border-radius: 3px;
}

.side-story .news-category {
    margin-bottom: 3px;
    font-size: 9px;
}

.side-story h3 {
    margin-top: 2px;
    font-size: 14px;
    line-height: 1.35;
}

.side-story h3 a:hover,
.news-card h3 a:hover {
    color: #d92332;
}

.section-heading {
    justify-content: space-between;
    margin-bottom: 22px;
    padding: 0 0 12px 14px;
    border-bottom: 1px solid #dfe4eb;
    border-left: 4px solid #d92332;
}

.section-heading h2 {
    color: #102b46;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -.4px;
}

.section-heading span {
    font-size: 11px;
    font-weight: 600;
}

.news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.news-card {
    border: 1px solid #e7ebf0;
    border-radius: 4px;
    box-shadow: 0 3px 12px #172b4208;
    transition: transform .22s ease, box-shadow .22s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px #172b4218;
}

.news-card-image {
    aspect-ratio: 16 / 10;
    background: #e8edf3;
}

.news-card-image img {
    transition: transform .45s ease;
}

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

.news-card-body {
    padding: 19px;
}

.news-category {
    color: #d92332;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .8px;
}

.news-card h3 {
    color: #102b46;
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -.25px;
}

.news-card p {
    color: #687789;
    font-size: 13px;
    line-height: 1.65;
}

.news-meta {
    padding-top: 10px;
    border-top: 1px solid #edf0f4;
    color: #8994a2;
    font-size: 10px;
}

.article {
    max-width: 900px;
    padding: 40px;
    border: 1px solid #e6eaf0;
    border-radius: 4px;
    box-shadow: 0 5px 25px #102b4608;
}

.article h1 {
    color: #102b46;
    font-weight: 900;
    letter-spacing: -1.2px;
}

.article-excerpt {
    color: #667487;
    font-size: 19px;
}

.article-content {
    color: #303b49;
    font-size: 17px;
    line-height: 1.9;
}

.empty-state {
    background: #fff;
    border: 1px solid #e6eaf0;
    border-radius: 4px;
}

.site-footer {
    padding: 48px 0;
    background: #0b1e32;
    border-top: 4px solid #d92332;
}

.site-footer strong {
    font-size: 20px;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 18px;
}

.footer-menu a {
    color: #dce5ef;
    font-size: 12px;
}

.footer-menu a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 850px) {
    .container {
        width: calc(100% - 32px);
    }

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

    .featured-main {
        min-height: 390px;
    }

    .featured-side {
        display: flex;
    }

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .container {
        width: calc(100% - 24px);
    }

    .header-main {
        min-height: 82px;
    }

    .brand-mark {
        width: 43px;
        height: 43px;
        font-size: 22px;
    }

    .brand-name {
        font-size: 21px;
    }

    .brand-subtitle {
        font-size: 8px;
        letter-spacing: 1.3px;
    }

    .nav-inner {
        gap: 0;
    }

    .nav-inner a {
        min-height: 45px;
        padding: 0 13px;
        font-size: 10px;
    }

    .page-content {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .featured-main {
        min-height: 340px;
    }

    .featured-overlay {
        padding: 20px;
    }

    .featured-overlay h1 {
        font-size: 27px;
    }

    .featured-side {
        padding: 14px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .news-card-body {
        padding: 16px;
    }

    .article {
        padding: 22px 17px;
    }

    .footer-inner {
        flex-direction: column;
    }
}

/* GRAVOBEM EDITORIAL HOMEPAGE 02 */

.home-editorial {
    width: 100%;
}

.home-lead {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(290px, .85fr);
    gap: 28px;
    margin-bottom: 55px;
}

.lead-main {
    min-height: 460px;
    position: relative;
    overflow: hidden;
    background: #102b46;
    border-radius: 5px;
}

.lead-image,
.lead-image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.lead-image img {
    object-fit: cover;
    transition: transform .5s ease;
}

.lead-main:hover .lead-image img {
    transform: scale(1.035);
}

.lead-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(22px, 4vw, 42px);
    color: #fff;
    background: linear-gradient(180deg, transparent 12%, #071727eF 100%);
}

.lead-category {
    align-self: flex-start;
    padding: 6px 11px;
    margin-bottom: 13px;
    background: #d92332;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.lead-content h1 {
    max-width: 760px;
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -1px;
}

.lead-content h1 a:hover {
    color: #ffdce0;
}

.lead-content p {
    max-width: 650px;
    margin: 0 0 13px;
    color: #e2e8ef;
    font-size: 15px;
    line-height: 1.6;
}

.lead-content time,
.lead-side-item time,
.editorial-card time {
    color: #8795a6;
    font-size: 11px;
}

.lead-content time {
    color: #c5d0dc;
}

.lead-sidebar {
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e9ef;
    border-top: 4px solid #d92332;
}

.editorial-label {
    margin-bottom: 17px;
    color: #102b46;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.lead-side-item {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    padding-bottom: 17px;
    margin-bottom: 17px;
    border-bottom: 1px solid #e8edf2;
}

.lead-side-item:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.lead-side-image {
    display: block;
    height: 90px;
    overflow: hidden;
    background: #e8edf2;
}

.lead-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lead-side-item h3 {
    margin: 4px 0 8px;
    color: #102b46;
    font-size: 14px;
    line-height: 1.4;
}

.lead-side-item h3 a:hover {
    color: #d92332;
}

.editorial-section {
    margin: 0 0 56px;
}

.editorial-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 22px;
    padding: 0 0 13px 15px;
    border-left: 5px solid #d92332;
    border-bottom: 1px solid #dce2e9;
}

.editorial-section-heading span {
    color: #d92332;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.8px;
}

.editorial-section-heading h2 {
    margin: 3px 0 0;
    color: #102b46;
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -.7px;
}

.editorial-section-heading > a {
    color: #52657a;
    font-size: 12px;
    font-weight: 700;
}

.editorial-section-heading > a:hover {
    color: #d92332;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 23px;
}

.editorial-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e9ef;
    box-shadow: 0 4px 16px #102b4609;
    transition: transform .2s ease, box-shadow .2s ease;
}

.editorial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px #102b4617;
}

.editorial-card-image {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8edf2;
}

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

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

.editorial-card-body {
    padding: 18px;
}

.editorial-card-body h3 {
    margin: 5px 0 10px;
    color: #102b46;
    font-size: 18px;
    line-height: 1.35;
}

.editorial-card-body h3 a:hover {
    color: #d92332;
}

.editorial-card-body p {
    margin: 0 0 13px;
    color: #687789;
    font-size: 13px;
    line-height: 1.6;
}

.editorial-card time {
    display: block;
    padding-top: 10px;
    border-top: 1px solid #edf0f4;
}

.news-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 90px;
    color: #fff;
    background: linear-gradient(135deg, #102b46, #d92332);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 3px;
}

@media (max-width: 850px) {
    .home-lead {
        grid-template-columns: 1fr;
    }

    .lead-main {
        min-height: 400px;
    }

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

@media (max-width: 560px) {
    .lead-main {
        min-height: 370px;
    }

    .lead-content {
        padding: 21px;
    }

    .lead-content h1 {
        font-size: 29px;
    }

    .lead-sidebar {
        padding: 15px;
    }

    .editorial-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .editorial-section-heading h2 {
        font-size: 24px;
    }

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

/* GRAVOBEM AD SLOTS 01 */
.ad-placeholder {
    min-height: 125px;
    margin: 0 0 42px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
    border: 1px dashed #b9c4d0;
    background: #edf1f5;
    color: #64748b;
}
.ad-placeholder > span {
    color: #d92332;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}
.ad-placeholder strong {
    color: #102b46;
    font-size: 15px;
}
.ad-placeholder small {
    font-size: 11px;
}
.ad-homepage_top {
    min-height: 110px;
}
.ad-homepage_middle {
    min-height: 150px;
}
.ad-homepage_bottom {
    min-height: 110px;
    margin-top: 10px;
}
@media (max-width: 560px) {
    .ad-placeholder {
        min-height: 105px;
        margin-bottom: 30px;
        padding: 14px;
    }
}

/* ==========================================================
   GRAVOBEM MODERN NEWS DESIGN 01
   Nova identidade editorial do Portal de Notícias
   ========================================================== */

:root {
    --primary: #142f4f;
    --accent: #d71920;
    --text: #202a36;
    --muted: #737f8e;
    --line: #e6e9ed;
    --surface: #ffffff;
    --background: #f4f5f7;
    --container: 1320px;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: min(var(--container), calc(100% - 48px));
}

/* CABEÇALHO */

.topline {
    background: #102943;
    color: #dce5ee;
    font-size: 11px;
}

.topline .container {
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.header-main {
    min-height: 105px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
}

.brand-mark {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: #fff;
    border-radius: 7px;
    font-size: 27px;
    font-weight: 900;
    box-shadow: 0 5px 14px #142f4f22;
}

.brand-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 190px;
    max-height: 76px;
    object-fit: contain;
    flex: 0 0 auto;
}


.brand-name {
    display: block;
    color: var(--primary);
    font-size: clamp(21px, 2.2vw, 29px);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.1;
}

.brand-subtitle {
    display: block;
    margin-top: 6px;
    color: #7b8795;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.header-date {
    color: #7b8795;
    font-size: 12px;
}

/* MENU PRINCIPAL */

.main-nav {
    position: relative;
    z-index: 5;
    background: var(--primary);
    border-top: 3px solid var(--accent);
    box-shadow: 0 4px 12px #10294312;
}

.nav-inner {
    min-height: 48px;
    display: flex;
    align-items: stretch;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-inner::-webkit-scrollbar {
    display: none;
}

.nav-inner a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 16px;
    color: #f5f7fa;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .35px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s ease;
}

.nav-inner a:hover {
    color: #fff;
    background: var(--accent);
}

/* ÁREA DE CONTEÚDO */

.page-content {
    padding-top: 30px;
    padding-bottom: 65px;
}

.home-editorial {
    width: 100%;
}

/* MANCHETE E DESTAQUES */

.home-lead {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(310px, .85fr);
    gap: 24px;
    margin-bottom: 48px;
    align-items: stretch;
}

.lead-main {
    position: relative;
    min-width: 0;
    min-height: 440px;
    overflow: hidden;
    background: #102943;
    border-radius: 5px;
    box-shadow: 0 8px 25px #142f4f16;
}

.lead-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

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

.lead-main:hover .lead-image img {
    transform: scale(1.035);
}

.lead-content {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: clamp(24px, 3.5vw, 42px);
    color: #fff;
    background: linear-gradient(
        180deg,
        transparent 15%,
        #07172735 45%,
        #071727ed 100%
    );
}

.lead-category {
    display: inline-flex;
    padding: 6px 10px;
    margin-bottom: 13px;
    background: var(--accent);
    color: #fff;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.lead-content h1 {
    max-width: 760px;
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(27px, 3vw, 43px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -.8px;
}

.lead-content h1 a {
    color: inherit;
    text-decoration: none;
}

.lead-content h1 a:hover {
    color: #f4d5d7;
}

.lead-content p {
    max-width: 650px;
    margin: 0 0 12px;
    color: #e4eaf0;
    font-size: 14px;
    line-height: 1.6;
}

.lead-content time {
    color: #cbd5df;
    font-size: 11px;
}

/* DESTAQUES LATERAIS */

.lead-sidebar {
    min-width: 0;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--accent);
    border-radius: 4px;
}

.editorial-label {
    padding-bottom: 13px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.lead-side-item {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 13px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.lead-side-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.lead-side-image {
    display: block;
    height: 88px;
    overflow: hidden;
    background: #e8edf2;
    border-radius: 3px;
}

.lead-side-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.lead-side-image:hover img {
    transform: scale(1.06);
}

.lead-side-item .news-category {
    color: var(--accent);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.lead-side-item h3 {
    margin: 5px 0 0;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.lead-side-item h3 a {
    color: inherit;
    text-decoration: none;
}

.lead-side-item h3 a:hover {
    color: var(--accent);
}

/* TÍTULOS DAS EDITORIAS */

.editorial-section {
    margin: 0 0 50px;
}

.editorial-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 0 0 13px 14px;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent);
    border-bottom: 1px solid #dfe4e9;
}

.editorial-section-heading span {
    color: var(--accent);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.6px;
}

.editorial-section-heading h2 {
    margin: 4px 0 0;
    color: var(--primary);
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 900;
    letter-spacing: -.7px;
}

.editorial-section-heading > a {
    color: #657386;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.editorial-section-heading > a:hover {
    color: var(--accent);
}

/* GRADE DE NOTÍCIAS */

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.editorial-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e9ee;
    border-radius: 4px;
    box-shadow: 0 3px 12px #142f4f08;
    transition: transform .2s ease, box-shadow .2s ease;
}

.editorial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 24px #142f4f15;
}

.editorial-card-image {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e8edf2;
}

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

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

.editorial-card-body {
    padding: 16px 17px 18px;
}

.editorial-card-body .news-category {
    color: var(--accent);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.editorial-card-body h3 {
    margin: 7px 0 9px;
    color: var(--primary);
    font-size: 17px;
    font-weight: 850;
    line-height: 1.35;
}

.editorial-card-body h3 a {
    color: inherit;
    text-decoration: none;
}

.editorial-card-body h3 a:hover {
    color: var(--accent);
}

.editorial-card-body p {
    margin: 0 0 12px;
    color: #687789;
    font-size: 12px;
    line-height: 1.6;
}

.editorial-card time {
    display: block;
    padding-top: 10px;
    border-top: 1px solid #edf0f3;
    color: #8a95a2;
    font-size: 10px;
}

.news-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 90px;
    color: #fff;
    background: linear-gradient(135deg, #142f4f, #d71920);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 3px;
}

/* PUBLICIDADE */

.ad-placeholder {
    min-height: 120px;
    margin: 0 0 40px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    border: 1px dashed #c5ced8;
    border-radius: 3px;
    background: #eef1f4;
    color: #738092;
}

.ad-placeholder > span {
    color: var(--accent);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ad-placeholder strong {
    color: var(--primary);
    font-size: 14px;
}

.ad-placeholder small {
    font-size: 10px;
}

.ad-homepage_top {
    min-height: 100px;
}

.ad-homepage_middle {
    min-height: 140px;
}

/* RODAPÉ */

.site-footer {
    background: #102943;
    color: #dce5ee;
}

.footer-inner {
    padding-top: 35px;
    padding-bottom: 35px;
}

.site-footer strong {
    color: #fff;
    font-size: 18px;
}

.site-footer p {
    color: #b7c5d3;
    font-size: 12px;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}

.footer-menu a {
    color: #dce5ee;
    font-size: 12px;
    text-decoration: none;
}

.footer-menu a:hover {
    color: #fff;
}

/* TABLETS */

@media (max-width: 1000px) {
    .home-lead {
        grid-template-columns: minmax(0, 1.4fr) minmax(270px, .9fr);
        gap: 16px;
    }

    .lead-main {
        min-height: 390px;
    }

    .lead-sidebar {
        padding: 15px;
    }

    .lead-side-item {
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 10px;
    }

    .lead-side-image {
        height: 76px;
    }

    .editorial-grid {
        gap: 16px;
    }
}

/* CELULARES E TELAS ESTREITAS */

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .header-main {
        min-height: 82px;
    }

    .brand-mark {
        width: 43px;
        height: 43px;
        font-size: 22px;
    }

    .brand-name {
        font-size: 19px;
    }

    .brand-subtitle {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .header-date {
        display: none;
    }

    .nav-inner {
        width: 100%;
        padding: 0 10px;
    }

    .nav-inner a {
        padding: 0 13px;
        font-size: 10px;
    }

    .page-content {
        padding-top: 20px;
    }

    .home-lead {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 36px;
    }

    .lead-main {
        min-height: 390px;
    }

    .lead-content {
        padding: 22px;
    }

    .lead-content h1 {
        font-size: clamp(25px, 6vw, 34px);
    }

    .lead-content p {
        font-size: 12px;
    }

    .lead-sidebar {
        padding: 17px;
    }

    .editorial-section {
        margin-bottom: 38px;
    }

    .editorial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px;
    }

    .editorial-card-body {
        padding: 12px;
    }

    .editorial-card-body h3 {
        font-size: 14px;
    }

    .editorial-card-body p {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .topline .container {
        min-height: 28px;
        font-size: 9px;
    }

    .lead-main {
        min-height: 350px;
    }

    .lead-content h1 {
        font-size: 26px;
    }

    .lead-content p {
        display: none;
    }

    .lead-side-item {
        grid-template-columns: 100px minmax(0, 1fr);
    }

    .lead-side-image {
        height: 78px;
    }

    .editorial-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .editorial-section-heading h2 {
        font-size: 23px;
    }

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

    .editorial-card {
        display: grid;
        grid-template-columns: 116px minmax(0, 1fr);
    }

    .editorial-card-image {
        height: 100%;
        min-height: 120px;
        aspect-ratio: auto;
    }

    .editorial-card-body {
        padding: 12px;
    }

    .editorial-card-body h3 {
        font-size: 14px;
    }

    .editorial-card-body p {
        display: none;
    }

    .ad-placeholder {
        min-height: 95px;
        margin-bottom: 28px;
        padding: 13px;
    }
}


/* GRAVOBEM - MENU HIERARQUICO */

.main-nav {
    overflow: visible;
}

.nav-inner {
    overflow: visible;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: stretch;
    flex: 0 0 auto;
}

.nav-item > a {
    text-decoration: none;
}

.submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    padding: 0 8px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
}

.nav-item:hover > a,
.nav-item:hover > .submenu-toggle {
    background: var(--accent);
    color: #fff;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    min-width: 210px;
    padding: 7px 0;
    background: #fff;
    border-top: 3px solid var(--accent);
    box-shadow: 0 8px 22px rgba(0,0,0,.18);
}

.submenu a {
    display: block !important;
    min-height: auto !important;
    padding: 12px 16px !important;
    color: #203b5b !important;
    font-size: 12px !important;
    font-weight: 700;
    text-transform: none !important;
    text-decoration: none;
    white-space: normal !important;
}

.submenu a:hover {
    background: #f0f3f7 !important;
    color: var(--accent) !important;
}

.nav-item:hover > .submenu,
.nav-item:focus-within > .submenu,
.nav-item.open > .submenu {
    display: block;
}

@media (max-width: 760px) {
    .nav-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        gap: 0;
        padding: 0;
    }

    .nav-item {
        flex-wrap: wrap;
    }

    .nav-item > a,
    .submenu-toggle {
        min-height: 45px;
    }

    .submenu {
        display: none;
        position: static;
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        box-shadow: none;
        border-top: 1px solid rgba(255,255,255,.2);
        background: #0d2339;
    }

    .submenu a {
        padding: 12px 20px !important;
        color: #fff !important;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .submenu a:hover {
        background: rgba(255,255,255,.1) !important;
        color: #fff !important;
    }

    .nav-item.open > .submenu {
        display: block;
    }
}
