/* GREENHAVEN NETWORK ARCHITECTURE - CORE STYLESHEET
    AdSense 2026 Compliance: Dark/Teal/Coral Palette
*/

:root {
    --primary-dark: #04342C;
    --accent-teal: #1D9E75;
    --highlight-coral: #D85A30;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-main: #FFFFFF;
    --text-muted: #a0b1af;
    --max-width: 1200px;
    --heading-font: 'Lora', serif;
    --body-font: 'DM Sans', sans-serif;
}

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

body {
    background-color: var(--primary-dark);
    color: var(--text-main);
    font-family: var(--body-font);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 25px;
}

/* Navigation & Header */
.centered-header {
    background: rgba(0,0,0,0.3);
    border-bottom: 2px solid var(--accent-teal);
}

nav.main-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-teal);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--highlight-coral);
}

/* News Ticker Bar */
.ticker-wrap {
    background: var(--accent-teal);
    color: var(--primary-dark);
    padding: 8px 0;
    font-weight: 500;
}

.ticker-container {
    display: flex;
    gap: 15px;
}

.ticker-label {
    font-weight: 800;
    color: #fff;
}

/* Main Layout Grid */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
    margin: 60px auto;
}

/* Content Cards (Index) */
#topical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.news-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 4px;
    border-top: 4px solid var(--highlight-coral);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card h3 {
    font-family: var(--heading-font);
    margin-bottom: 15px;
}

/* Legal Pages Architecture (Privacy, About, Contact) */
.legal-container {
    padding-top: 80px;
    padding-bottom: 80px;
}

.legal-content {
    max-width: 850px; /* Optimal reading width for AdSense review */
    margin: 0 auto;
    background: rgba(255,255,255,0.02);
    padding: 60px;
    border: 1px solid rgba(29, 158, 117, 0.2);
}

.legal-content h1 {
    font-family: var(--heading-font);
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--highlight-coral);
}

.compliance-box {
    border-left: 5px solid var(--accent-teal);
    padding: 30px;
    background: rgba(29, 158, 117, 0.08);
    margin: 40px 0;
}

/* AdSense Placeholder Zones */
.ad-slot {
    background: #021a16;
    border: 1px dashed var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-teal);
    font-size: 0.75rem;
    margin: 30px auto;
}

.top-banner { width: 728px; height: 90px; }
.sidebar-ad { width: 300px; height: 600px; }

/* Footer */
footer {
    margin-top: auto;
    padding: 50px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Responsiveness Rules */
@media (max-width: 1024px) {
    .main-layout { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    .top-banner { width: 100%; height: 60px; }
}

@media (max-width: 600px) {
    .nav-links { display: none; } /* Mobile Menu Placeholder */
    .legal-content { padding: 30px; }
}