/* Global Reset & Base */
:root {
  --primary-color: #228B22; /* Forest Green - Calm/Medical */
  --secondary-color: #F5F5F5; /* Light Gray/White Smoke - Background */
  --accent-color: #2c7a7b; /* Teal - Secondary Accent */
  --text-color: #2d3748;
  --bg-color: #ffffff;
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --header-height: 70px;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--secondary-color);
  line-height: 1.6;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  text-decoration: underline;
  color: #1a6b1a;
}

/* Header */
header {
  background-color: var(--bg-color);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 0;
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
}

nav {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

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

.nav-links a {
  font-weight: 600;
  color: var(--text-color);
}

.nav-links a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-links {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
  }

  .logo {
    font-size: 1.2rem;
  }
}

/* AdSense CLS Armor - Phase 4 */
.ad-container-leaderboard {
  min-height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  background-color: #e2e8f0;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .ad-container-leaderboard {
    min-height: 250px;
  }
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

main {
  min-height: 60vh;
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Typography */
h1, h2, h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; border-bottom: 2px solid #c6f6d5; padding-bottom: 0.5rem; margin-top: 2rem; }
h3 { font-size: 1.5rem; margin-top: 1.5rem; }

p { margin-bottom: 1rem; }

/* Buttons & CTA */
.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  background-color: #1a6b1a;
  text-decoration: none;
  transform: translateY(-2px);
  color: white;
}

/* Hero Section */
.hero {
    background: white;
    padding: 5rem 2rem;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 5px solid var(--primary-color);
}

.hero h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* Featured Story Card */
.featured-story {
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 3rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border-left: 5px solid var(--primary-color);
}

.featured-story h2 {
  border-bottom: none;
  margin-top: 0;
  color: var(--text-color);
}

.featured-story .story-meta {
  font-size: 0.9rem;
  color: #718096;
  margin-bottom: 1rem;
  font-style: italic;
}

.featured-story blockquote {
  font-size: 1.1rem;
  color: #4a5568;
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
  margin: 1.5rem 0;
  background-color: #f0fff4;
  padding: 1rem;
}

/* Footer */
footer {
  background-color: #e2e8f0;
  padding: 60px 0;
  margin-top: 60px;
  border-top: 1px solid #cbd5e0;
  text-align: center;
  color: #4a5568;
}

footer a {
  color: #2d3748;
  margin: 0 10px;
}

footer a:hover {
  color: var(--primary-color);
}

/* Newsletter */
.newsletter-signup {
  background: var(--primary-color);
  color: white;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}
.newsletter-signup h3 { color: white; margin-top: 0; }
.newsletter-signup input {
  padding: 0.5rem;
  border-radius: 4px;
  border: none;
  margin-right: 0.5rem;
}
.newsletter-signup button {
  padding: 0.5rem 1rem;
  background: #1a202c;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

/* Utility */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* Disclaimer */
.disclaimer-box {
    background-color: #fffaf0;
    border: 1px solid #fbd38d;
    padding: 1rem;
    font-size: 0.9rem;
    color: #744210;
    margin-top: 2rem;
    border-radius: 6px;
}
