/* 
   Authentic News Portal Theme (G1/UOL style)
   Clean, rigid grid, high legibility.
*/

:root {
    --brand-main: #c00000;
    /* Classic news red */
    --brand-dark: #8b0000;
    --text-pure: #000000;
    --text-gray: #444444;
    --text-meta: #777777;
    --bg-body: #f7f7f7;
    --bg-white: #ffffff;
    --border-color: #e2e2e2;
    --link-color: #0066cc;
    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Georgia', serif;
    /* Serif for news articles */
}

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

body {
    background-color: var(--bg-body);
    color: var(--text-gray);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--link-color);
}

.container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* -------------------------------------
   Header
   ------------------------------------- */
.portal-header {
    background-color: var(--bg-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-top {
    background-color: #111;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 13px;
    padding: 8px 0;
}

.header-top .nav-links a {
    color: #ccc;
    font-weight: 500;
    margin-right: 20px;
}

.header-top .nav-links a:hover,
.header-top .nav-links a.active {
    color: #fff;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #ccc;
}

.header-search:hover {
    color: #fff;
}

.header-main {
    padding: 24px 0;
}

.logo h1 {
    font-family: var(--font-heading);
    color: var(--brand-main);
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -2px;
}

.weather {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.header-bottom {
    background-color: var(--brand-main);
    padding: 12px 0;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
}

.sub-nav a {
    color: #fff;
    margin-right: 24px;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.sub-nav a:hover {
    text-decoration: underline;
    opacity: 1;
}

/* -------------------------------------
   Main Layout Grid
   ------------------------------------- */
.main-content {
    margin-top: 24px;
    margin-bottom: 60px;
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    /* 70% / 30% split like news sites */
    gap: 40px;
    align-items: start;
}

/* -------------------------------------
   Article Area
   ------------------------------------- */
.article-content {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.breadcrumb {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-main);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--brand-main);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.headline {
    font-family: var(--font-heading);
    font-size: 42px;
    line-height: 1.1;
    font-weight: 900;
    color: var(--text-pure);
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.subtitle {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    color: #555;
    line-height: 1.4;
    margin-bottom: 24px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.author-info strong {
    display: block;
    color: var(--text-pure);
    font-size: 14px;
    margin-bottom: 4px;
}

.author-info time {
    color: var(--text-meta);
    font-size: 12px;
}

.social-share {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #000000;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.link {
    background: #888;
}

.share-btn:hover {
    transform: scale(1.05);
}

.divider {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin-bottom: 30px;
}

/* Article Images */
.featured-figure {
    margin-bottom: 30px;
    position: relative;
    /* For the overlay */
}

.featured-image,
.content-image {
    width: 100%;
    height: auto;
    display: block;
}

.media-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 120px;
    /* Adjust size of overlay */
    height: auto;
    z-index: 10;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.3));
    /* Makes it pop */
    border-radius: 8px;
}

figcaption {
    font-family: var(--font-heading);
    font-size: 13px;
    color: var(--text-meta);
    margin-top: 8px;
    line-height: 1.3;
}

/* Article Text Style */
.article-text p {
    font-size: 20px;
    /* News sites prefer large serif fonts */
    line-height: 1.6;
    margin-bottom: 24px;
    color: #111;
}

.article-text strong {
    color: #000;
}

.article-text a.inline-link strong {
    color: inherit;
}

.article-text h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--brand-main);
    margin: 40px 0 20px;
}

.inline-link {
    font-weight: bold;
    color: #0066cc;
    /* Azul clássico de links da internet */
    text-decoration: none;
}

.inline-link:hover {
    text-decoration: underline;
}

.bullet-list {
    margin-left: 20px;
    margin-bottom: 30px;
}

.bullet-list li {
    font-size: 18px;
    margin-bottom: 12px;
    color: #111;
}

/* Callouts / Highlights */
.news-callout {
    background: #fdfaf0;
    border-top: 2px solid #eab308;
    border-bottom: 2px solid #eab308;
    padding: 24px 0;
    margin: 40px 0;
}

.callout-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 20px;
    color: #000;
    margin-bottom: 10px;
}

.news-callout p {
    font-size: 18px;
    margin-bottom: 0;
}

.user-quote {
    background: var(--bg-body);
    padding: 30px 40px;
    border-left: 5px solid var(--brand-main);
    margin: 40px 0;
    position: relative;
    font-style: italic;
}

.quote-icon {
    position: absolute;
    top: -15px;
    left: 20px;
    color: #ddd;
    background: #fff;
    padding: 0 5px;
}

.quote-text {
    font-size: 19px !important;
    color: #333 !important;
    margin-bottom: 15px !important;
}

.quote-author {
    font-family: var(--font-heading);
    font-weight: 700;
    font-style: normal;
    color: #000;
    display: block;
}

.stars {
    color: #eab308;
    font-size: 22px;
    font-style: normal;
    margin-top: 5px;
}

/* Advertorial CTA */
.cta-container {
    text-align: center;
    background: #eef8ff;
    padding: 40px;
    border-radius: 8px;
    border: 1px dashed #bee3f8;
    margin-top: 40px;
}

.news-cta-button {
    display: inline-block;
    background-color: #008800;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 18px 32px;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 100, 0, 0.3);
    transition: all 0.2s;
    margin-bottom: 16px;
}

.news-cta-button:hover {
    background-color: #006600;
    transform: translateY(-2px);
    color: #fff;
}

.stock-alert {
    display: block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: #b91c1c;
}

/* Footer / Disclaimer */
.news-disclaimer {
    margin-top: 60px;
    padding: 20px;
    background: #eee;
    font-family: var(--font-heading);
    font-size: 12px;
    color: #666;
    border-radius: 4px;
}

.news-disclaimer strong {
    color: #333;
}

/* -------------------------------------
   Sidebar (Mais Lidas etc)
   ------------------------------------- */
.ad-banner-placeholder {
    margin-bottom: 40px;
    text-align: center;
}

.ad-banner-placeholder span {
    display: block;
    font-family: var(--font-heading);
    font-size: 10px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 4px;
}

.ad-banner-placeholder img {
    border: 1px solid #ddd;
    border-radius: 4px;
}

.most-read-box {
    background: var(--bg-white);
    border-top: 8px solid var(--brand-main);
    padding: 20px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 900;
    color: #111;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.most-read-list {
    list-style: none;
    counter-reset: top-number;
}

.most-read-list li {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px dotted var(--border-color);
}

.most-read-list li:last-child {
    border-bottom: none;
}

.most-read-list .number {
    counter-increment: top-number;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 900;
    line-height: 0.8;
    color: #e2e2e2;
    /* light gray giant number */
}

.most-read-list li:nth-child(1) .number {
    color: var(--brand-main);
}

/* Rank 1 is red */

.most-read-content .category {
    display: block;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 4px;
}

.most-read-content a {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #000;
    line-height: 1.3;
}

.most-read-content a:hover {
    color: var(--link-color);
}

.newsletter-box {
    background: #f1f5f9;
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    text-align: center;
}

.newsletter-box h4 {
    font-family: var(--font-heading);
    font-weight: 900;
    margin-bottom: 10px;
}

.newsletter-box p {
    font-family: var(--font-heading);
    font-size: 13px;
    margin-bottom: 16px;
    color: #555;
}

.newsletter-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    font-family: var(--font-heading);
}

.newsletter-box button {
    width: 100%;
    padding: 12px;
    background: #111;
    color: #fff;
    border: none;
    font-family: var(--font-heading);
    font-weight: bold;
    cursor: pointer;
}

.newsletter-box button:hover {
    background: var(--brand-main);
}

/* -------------------------------------
   Portal Footer
   ------------------------------------- */
.portal-footer {
    background: #111;
    color: #ccc;
    padding: 40px 0;
    font-family: var(--font-heading);
}

.footer-brand {
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #ccc;
    font-size: 13px;
}

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

.copyright {
    font-size: 12px;
    color: #777;
    border-top: 1px solid #333;
    padding-top: 20px;
}

/* Responsive */
@media (max-width: 900px) {
    .grid-layout {
        grid-template-columns: 1fr;
    }

    .weather {
        display: none;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 15px;
    }

    .header-top .nav-links {
        display: none;
    }

    .header-main {
        padding: 15px 0;
    }

    .logo h1 {
        font-size: 28px;
    }

    .main-content {
        margin-top: 15px;
        margin-bottom: 30px;
    }

    .article-content {
        padding: 20px 15px;
        margin: 0 -15px;
        /* Tenta encostar nas bordas na tela do celular igual app */
        border-radius: 0;
        box-shadow: none;
        border-top: 1px solid var(--border-color);
    }

    .breadcrumb {
        margin-bottom: 12px;
    }

    .headline {
        font-size: 26px;
        line-height: 1.25;
        margin-bottom: 16px;
    }

    .subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .article-text p,
    .bullet-list li,
    .news-callout p {
        font-size: 17px;
    }

    .article-text h3 {
        font-size: 22px;
        margin: 30px 0 15px;
    }

    .user-quote {
        padding: 25px 20px;
        margin: 30px 0;
    }

    .quote-text {
        font-size: 17px !important;
    }

    .cta-container {
        padding: 25px 15px;
    }

    .news-cta-button {
        font-size: 18px;
        padding: 15px 20px;
        width: 100%;
        /* Botão em toda a largura no celular */
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .footer-brand {
        text-align: center;
    }

    .copyright {
        text-align: center;
    }
}