/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    /* G1 uses a clean sans-serif like Inter/Arial */
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.5;
}

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

ul,
ol {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* --- Header G1 Style --- */
.g1-header {
    background-color: #C4170C;
    /* G1 Red */
    height: 56px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.menu-icon {
    display: flex;
    align-items: center;
    color: white;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
}

.menu-icon span:not(.menu-label) {
    display: block;
    width: 18px;
    height: 2px;
    background-color: white;
    margin-bottom: 3px;
}

.menu-icon span:not(.menu-label):last-child {
    margin-bottom: 0;
}

.menu-icon .menu-label {
    margin-left: 8px;
    display: none;
    /* Hidden on mobile usually */
}

@media (min-width: 768px) {
    .menu-icon .menu-label {
        display: block;
    }
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-lotoia {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: white;
    letter-spacing: -1px;
}

.logo-news {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
}

.search-area {
    display: flex;
    align-items: center;
    color: white;
    cursor: pointer;
    font-weight: 700;
    font-size: 12px;
}

.search-icon {
    width: 20px;
    height: 20px;
}

.search-label {
    margin-left: 6px;
    display: none;
}

@media (min-width: 768px) {
    .search-label {
        display: block;
    }
}

/* --- Ad Banner --- */
.ad-banner {
    margin: 20px auto;
    text-align: center;
}

.ad-placeholder {
    background-color: #e0e0e0;
    color: #999;
    padding: 20px;
    font-size: 12px;
    letter-spacing: 1px;
}

/* --- Lotoia Promo Banner --- */
.lotoia-promo {
    background: linear-gradient(90deg, #0066b3 0%, #004a80 100%);
    color: white;
    padding: 16px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.promo-tag {
    background-color: #f5821f;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.promo-text {
    font-size: 14px;
}

.promo-text strong {
    text-decoration: underline;
    cursor: pointer;
}

/* --- Main Content --- */
.main-content {
    margin-bottom: 40px;
}

/* Hero Grid */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 2fr 1fr;
        /* 2/3 for main, 1/3 for side */
    }
}

/* Hero Main Article */
.hero-main .hero-image-wrapper {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 12px;
}

.hero-main .hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-main:hover .hero-img {
    transform: scale(1.02);
}

.chapeu {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #C4170C;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    color: #C4170C;
    /* G1 Headlines are often the brand color or black, but let's use Red for impact or black */
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.hero-main:hover .hero-title {
    color: #C4170C;
}

.hero-summary {
    font-size: 16px;
    color: #555;
    line-height: 1.4;
}

/* Secondary Items */
.hero-secondary {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.secondary-item {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 16px;
}

.secondary-item:last-child {
    border-bottom: none;
}

.chapeu-sm {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
}

.secondary-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
}

.secondary-item:hover .secondary-title {
    color: #C4170C;
}

.secondary-item.has-image .secondary-link-img {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.secondary-item.has-image .sec-text {
    flex: 1;
}

.secondary-item.has-image .sec-img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 4px;
}

/* Divider */
.section-divider {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 32px 0;
}

/* Feed Grid */
.feed-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .feed-grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* Feed Items */
.feed-item {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}

.feed-link {
    display: flex;
    gap: 16px;
    flex-direction: row;
}

.feed-img-wrapper {
    width: 140px;
    height: 90px;
    flex-shrink: 0;
}

.feed-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.feed-content {
    flex: 1;
}

.feed-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.2;
}

.feed-item:hover .feed-title {
    color: #C4170C;
}

.feed-meta {
    font-size: 12px;
    color: #777;
    margin-top: 4px;
}

/* Sidebar */
.sidebar-widget {
    background: white;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 16px;
    border-bottom: 2px solid #C4170C;
    padding-bottom: 8px;
    display: inline-block;
}

.most-read-list li {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.most-read-list li a:hover {
    color: #C4170C;
    text-decoration: underline;
}

/* Footer */
.g1-footer {
    background-color: #C4170C;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    margin-bottom: 16px;
}

/* --- ARTICLE SPECIFIC STYLES --- */

.article-header {
    margin-bottom: 24px;
}

.article-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.article-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: #555;
    line-height: 1.4;
    margin-bottom: 24px;
}

.article-meta {
    font-size: 13px;
    color: #777;
    border-top: 1px solid #eee;
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
}

.article-body {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
}

.article-body p {
    margin-bottom: 24px;
}

.article-image-container {
    width: 100%;
    margin-bottom: 32px;
    border-radius: 4px;
    overflow: hidden;
}

.article-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.article-image-caption {
    font-size: 12px;
    color: #777;
    background: #f0f0f0;
    padding: 8px;
    margin-top: -4px;
}

.reporter-note {
    background-color: #fce8e6;
    /* Light red/pinkish tint */
    border-left: 4px solid #C4170C;
    padding: 24px;
    margin: 32px 0;
    border-radius: 0 4px 4px 0;
}

.reporter-note h3 {
    color: #C4170C;
    font-size: 18px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.reporter-note p {
    margin-bottom: 16px;
    font-size: 17px;
    font-style: italic;
}

.reporter-note p:last-child {
    margin-bottom: 0;
}

.cta-container {
    text-align: center;
    margin: 40px 0;
    padding: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-button {
    display: inline-block;
    background-color: #28a745;
    /* Success Green - indicates money/go */
    color: white;
    font-size: 24px;
    font-weight: 700;
    padding: 20px 40px;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    color: white;
}

/* Adjust layout for single article */
.article-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 1024px) {
    .article-wrapper {
        grid-template-columns: 7fr 3fr;
        /* Main article wider, sidebar narrower */
    }
}