/* The Natural Parent - Shared Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #FDFBF8;
  --bg-section: #F8F6F3;
  --text-primary: #2D2D2D;
  --text-body: #4A4A4A;
  --text-muted: #7A7A7A;
  --accent-sage: #6B8E6B;
  --accent-sage-light: #8FB08F;
  --accent-warm: #C9956C;
  --border: #E8E4DE;
  --white: #FFFFFF;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-body);
  background: var(--bg-primary);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3 {
  font-family: 'Lora', serif;
  color: var(--text-primary);
  font-weight: 400;
  line-height: 1.3;
}

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

a:hover {
  text-decoration: underline;
}

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

/* Header */
.header {
  background: var(--white);
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-family: 'Lora', serif;
  font-size: 24px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo a {
  color: var(--text-primary);
  text-decoration: none;
}

.logo a:hover {
  text-decoration: none;
}

.logo-tagline {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 14px;
  color: var(--text-body);
  font-weight: 500;
}

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

/* Main Layout */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  padding: 64px 0;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--accent-sage);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 4px;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #5A7D5A;
  text-decoration: none;
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--accent-sage);
  color: var(--accent-sage);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 4px;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: var(--accent-sage);
  color: var(--white);
  text-decoration: none;
}

/* Section Title */
.section-title {
  font-size: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--accent-sage);
  margin-bottom: 24px;
}

/* Sidebar */
.sidebar {
  font-size: 14px;
}

.sidebar-widget {
  margin-bottom: 32px;
}

.sidebar-title {
  font-family: 'Lora', serif;
  font-size: 16px;
  color: var(--text-primary);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.sidebar-about {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.sidebar-about-photo-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  display: block;
}

.sidebar-about p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 10px;
}

.sidebar-about a {
  font-size: 13px;
  font-weight: 600;
}

.sidebar-quiz {
  padding: 20px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.sidebar-quiz p {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.sidebar-quiz-btn {
  display: block;
  background: var(--accent-sage);
  color: var(--white);
  padding: 12px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
}

.sidebar-quiz-btn:hover {
  text-decoration: none;
  background: #5A7D5A;
}

.sidebar-seen-in {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar-seen-in span {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.sidebar-newsletter p {
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.sidebar-newsletter input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 8px;
  font-family: inherit;
}

.sidebar-newsletter button {
  width: 100%;
  background: var(--accent-sage);
  color: var(--white);
  border: none;
  padding: 10px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: rgba(255,255,255,0.7);
  padding: 48px 0;
  margin-top: 64px;
}

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

.footer-logo {
  font-family: 'Lora', serif;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  margin: 0 14px;
  font-size: 13px;
}

.footer-disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* =========================================
   ARTICLE PAGE STYLES
   ========================================= */

.article-breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding-top: 24px;
}

.article-breadcrumb a {
  color: var(--text-muted);
}

.article-breadcrumb a:hover {
  color: var(--accent-sage);
}

.article-category-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-warm);
  font-weight: 600;
  margin-bottom: 12px;
}

.article-title {
  font-size: 36px;
  margin-bottom: 16px;
  line-height: 1.25;
}

.article-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.article-meta a {
  color: var(--accent-sage);
  font-weight: 500;
}

.article-hero-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 40px;
}

.article-sponsor {
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  color: #888;
  text-align: center;
  padding: 8px 0;
  margin-bottom: 24px;
  border-bottom: 1px solid #eee;
}

.article-sponsor a {
  color: #6B8E6B;
  text-decoration: none;
  font-weight: 600;
}

.article-sponsor a:hover {
  text-decoration: underline;
}

.article-body-image {
  margin: 32px 0;
  text-align: center;
}

.article-body-image img {
  width: 100%;
  max-width: 720px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 16/10;
}

.article-body h2 {
  font-size: 26px;
  margin: 40px 0 16px;
}

.article-body h3 {
  font-size: 22px;
  margin: 32px 0 12px;
}

.article-body p {
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 20px;
}

.article-body blockquote {
  background: var(--bg-section);
  border-left: 3px solid var(--accent-warm);
  padding: 20px 24px;
  margin: 28px 0;
  font-style: italic;
  font-size: 17px;
  line-height: 1.7;
}

.article-body ul, .article-body ol {
  margin: 16px 0 24px 24px;
  font-size: 17px;
  line-height: 1.85;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body strong {
  color: var(--text-primary);
}

.article-cta-box {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}

.article-cta-box h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.article-cta-box p {
  font-size: 15px;
  margin-bottom: 20px;
  color: var(--text-body);
}

/* Related Articles */
.related-articles {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  margin-bottom: 48px;
}

.related-articles h3 {
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-sage);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.related-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.related-card-content {
  padding: 16px;
}

.related-card h4 {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 8px;
}

.related-card h4 a {
  color: var(--text-primary);
}

.related-card .article-category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-warm);
  font-weight: 600;
  margin-bottom: 6px;
}

/* =========================================
   PAGE HEADER (Articles Hub, Resources)
   ========================================= */

.page-header {
  padding: 48px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: 36px;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 17px;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto;
}

/* Articles Grid */
.articles-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 48px;
}

.article-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.article-card img {
  width: 200px;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
}

.article-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.article-card h3 a {
  color: var(--text-primary);
}

.article-card .article-category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-warm);
  font-weight: 600;
  margin-bottom: 6px;
}

.article-card p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.article-link {
  font-size: 14px;
  font-weight: 600;
}

/* =========================================
   RESOURCES PAGE
   ========================================= */

.resource-section {
  margin-bottom: 48px;
}

.resource-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-sage);
}

.resource-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 24px;
  background: var(--bg-section);
  border-radius: 8px;
  margin-bottom: 16px;
  align-items: start;
}

.resource-icon {
  width: 80px;
  height: 80px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.resource-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.resource-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* =========================================
   ABOUT PAGE
   ========================================= */

.about-hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

.about-hero-photo {
  width: 280px;
  border-radius: 8px;
  object-fit: cover;
}

.about-story h2 {
  font-size: 26px;
  margin: 36px 0 16px;
}

.about-story h2:first-child {
  margin-top: 0;
}

.about-story p {
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 20px;
}

.about-story blockquote {
  background: var(--bg-section);
  border-left: 3px solid var(--accent-warm);
  padding: 20px 24px;
  margin: 28px 0;
  font-style: italic;
  font-size: 17px;
  line-height: 1.7;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
}

.about-value {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-section);
  border-radius: 8px;
}

.about-value-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.about-value h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.about-value p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Disclaimer bar */
.disclaimer-bar {
  background: var(--bg-section);
  padding: 16px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-style: italic;
  color: var(--text-muted);
  margin: 32px 0;
  line-height: 1.6;
}

/* =========================================
   RESPONSIVE - TABLET
   ========================================= */

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

  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    order: -1;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
  }

  .sidebar-widget {
    margin-bottom: 0;
  }
}

/* =========================================
   RESPONSIVE - MOBILE
   ========================================= */

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .container {
    padding: 0 16px;
  }

  .header {
    padding: 16px 0;
  }

  .header-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .logo {
    font-size: 20px;
  }

  .logo-tagline {
    display: none;
  }

  .nav {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav a {
    font-size: 13px;
  }

  .main-layout {
    padding: 40px 0;
    gap: 40px;
  }

  .btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px 24px;
    font-size: 14px;
  }

  .btn-outline {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }

  /* Article pages */
  .article-title {
    font-size: 26px;
  }

  .article-body h2 {
    font-size: 22px;
  }

  .article-body h3 {
    font-size: 18px;
  }

  .article-body p,
  .article-body blockquote,
  .article-body ul,
  .article-body ol {
    font-size: 15px;
  }

  .article-cta-box {
    padding: 24px 16px;
  }

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

  /* Hub pages */
  .article-card {
    grid-template-columns: 1fr;
  }

  .article-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }

  .page-header {
    padding: 32px 0;
  }

  .page-header h1 {
    font-size: 26px;
  }

  /* About page */
  .about-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-hero-photo {
    width: 200px;
    margin: 0 auto;
  }

  .about-story h2 {
    font-size: 22px;
  }

  .about-story p {
    font-size: 15px;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  /* Resources */
  .resource-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .resource-icon {
    margin: 0 auto;
  }

  /* Product comparisons */
  .product-card {
    padding: 16px;
  }

  .product-card-header h3 {
    font-size: 18px;
  }

  .comparison-table {
    font-size: 13px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 8px 10px;
  }

  .verdict-box {
    padding: 16px;
  }

  /* Sidebar */
  .sidebar {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sidebar-about-photo-img {
    width: 70px;
    height: 70px;
  }

  .sidebar-about p {
    font-size: 13px;
  }

  .sidebar-quiz p {
    font-size: 13px;
  }

  .sidebar-quiz-btn {
    padding: 14px;
  }

  .sidebar-title {
    font-size: 15px;
  }

  .sidebar-seen-in span {
    font-size: 9px;
    padding: 5px 8px;
  }

  .sidebar-newsletter p {
    font-size: 13px;
  }

  /* Footer */
  .footer {
    padding: 32px 0;
    margin-top: 40px;
  }

  .footer-logo {
    font-size: 18px;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
  }

  .footer-links a {
    margin: 0;
    font-size: 12px;
  }

  .footer-disclaimer {
    font-size: 11px;
    padding: 0 8px;
  }
}

/* =========================================
   PRODUCT COMPARISON STYLES
   ========================================= */

.product-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  margin: 28px 0;
}

.product-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.product-card-header h3 {
  font-size: 20px;
  margin: 0;
  line-height: 1.3;
}

.product-card-header h3 a {
  color: var(--text-primary);
}

.product-card-header h3 a:hover {
  color: var(--accent-sage);
}

.product-card-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-card-meta span {
  margin-right: 16px;
}

.product-pathway-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 3px;
  margin-right: 6px;
  margin-bottom: 6px;
}

.pathway-dopamine {
  background: #FFF3E0;
  color: #E65100;
}

.pathway-serotonin {
  background: #F3E5F5;
  color: #6A1B9A;
}

.pathway-gaba {
  background: #E8F5E9;
  color: #2E7D32;
}

.pathway-norepinephrine {
  background: #E3F2FD;
  color: #1565C0;
}

.pathway-none {
  background: #F5F5F5;
  color: #757575;
}

.product-card-verdict {
  font-size: 15px;
  font-style: italic;
  color: var(--text-body);
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: 12px;
}

.product-card-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-sage);
  margin-top: 8px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 15px;
}

.comparison-table th {
  background: var(--accent-sage);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.comparison-table tr:nth-child(even) {
  background: var(--bg-section);
}

.comparison-table .check {
  color: #2E7D32;
  font-weight: 700;
}

.comparison-table .cross {
  color: #C62828;
  font-weight: 700;
}

.comparison-table .partial {
  color: var(--accent-warm);
  font-weight: 700;
}

.verdict-box {
  background: #F1F8E9;
  border: 2px solid var(--accent-sage);
  border-radius: 8px;
  padding: 24px;
  margin: 32px 0;
}

.verdict-box h3 {
  font-size: 20px;
  color: var(--accent-sage);
  margin-bottom: 8px;
}

.verdict-box p {
  font-size: 16px;
  line-height: 1.7;
}

.affiliate-disclaimer {
  font-size: 12px;
  font-style: italic;
  color: var(--text-muted);
  padding: 12px 16px;
  background: var(--bg-section);
  border-radius: 4px;
  margin: 20px 0;
  line-height: 1.5;
}

/* =========================================
   RESPONSIVE - SMALL MOBILE
   ========================================= */

@media (max-width: 400px) {
  .article-title {
    font-size: 22px;
  }

  .page-header h1 {
    font-size: 22px;
  }

  .nav {
    gap: 12px;
  }

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