/* Vitality Insiders - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

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

:root {
  --green: #16a34a;
  --green-light: #dcfce7;
  --green-mid: #86efac;
  --green-dark: #15803d;
  --text: #111827;
  --text-light: #4b5563;
  --text-muted: #9ca3af;
  --bg: #ffffff;
  --bg-gray: #f9fafb;
  --border: #e5e7eb;
  --max-width: 1200px;
}

body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; }

/* ===== NAV ===== */
.nav { background: white; border-bottom: 2px solid var(--green); position: sticky; top: 0; z-index: 100; }
.nav-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo .site-name { font-size: 1.35rem; font-weight: 700; color: var(--green); letter-spacing: -0.5px; }
.nav-logo .site-tagline { font-size: 0.6rem; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; gap: 0.25rem; list-style: none; }
.nav-links a { color: var(--text-light); text-decoration: none; font-size: 0.88rem; font-weight: 500; padding: 0.4rem 0.75rem; border-radius: 6px; transition: all 0.2s; }
.nav-links a:hover { color: var(--green); background: var(--green-light); }

/* ===== CONTAINER ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ===== HERO ===== */
.hero { background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #f0fdf4 100%); padding: 3.5rem 1.5rem; border-bottom: 1px solid var(--green-mid); }
.hero-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr 420px; gap: 3rem; align-items: center; }
.hero-badge { display: inline-block; background: var(--green); color: white; font-size: 0.7rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 0.3rem 0.85rem; border-radius: 999px; margin-bottom: 1rem; }
.hero-title { font-size: 2.4rem; font-weight: 700; line-height: 1.2; margin-bottom: 1rem; color: var(--text); }
.hero-excerpt { color: var(--text-light); font-size: 1.05rem; margin-bottom: 1.5rem; line-height: 1.75; }
.hero-meta { display: flex; align-items: center; gap: 1.25rem; font-size: 0.82rem; color: var(--text-muted); flex-wrap: wrap; }
.hero-meta .divider { color: var(--border); }
.hero-img { background: linear-gradient(135deg, #bbf7d0 0%, #4ade80 100%); border-radius: 16px; height: 300px; display: flex; align-items: center; justify-content: center; font-size: 5rem; box-shadow: 0 20px 40px rgba(22,163,74,0.15); }
.btn-read { display: inline-block; background: var(--green); color: white; padding: 0.8rem 1.75rem; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: all 0.2s; box-shadow: 0 2px 8px rgba(22,163,74,0.3); }
.btn-read:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(22,163,74,0.4); }

/* ===== MAIN LAYOUT ===== */
.main-layout { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; padding: 3rem 0 4rem; }

/* ===== SECTION HEADER ===== */
.section-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.section-title { font-size: 1.25rem; font-weight: 700; color: var(--text); white-space: nowrap; }
.section-line { flex: 1; height: 1px; background: var(--border); }

/* ===== ARTICLE GRID ===== */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem; }

/* ===== ARTICLE CARD ===== */
.article-card { background: white; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.article-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.card-img { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 2.75rem; }
.img-green { background: linear-gradient(135deg, #bbf7d0, #4ade80); }
.img-blue { background: linear-gradient(135deg, #bfdbfe, #60a5fa); }
.img-purple { background: linear-gradient(135deg, #e9d5ff, #a78bfa); }
.img-orange { background: linear-gradient(135deg, #fed7aa, #fb923c); }
.img-teal { background: linear-gradient(135deg, #99f6e4, #2dd4bf); }
.img-yellow { background: linear-gradient(135deg, #fef08a, #facc15); }
.card-body { padding: 1.1rem; }
.card-category { display: inline-block; color: var(--green); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.75px; margin-bottom: 0.4rem; text-decoration: none; }
.card-title { font-size: 0.975rem; font-weight: 600; line-height: 1.4; margin-bottom: 0.5rem; }
.card-title a { color: var(--text); text-decoration: none; }
.card-title a:hover { color: var(--green); }
.card-excerpt { font-size: 0.82rem; color: var(--text-light); line-height: 1.55; margin-bottom: 0.75rem; }
.card-meta { font-size: 0.73rem; color: var(--text-muted); }

/* ===== SIDEBAR ===== */
.sidebar-widget { background: var(--bg-gray); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; margin-bottom: 1.5rem; }
.widget-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.25px; color: var(--text-muted); margin-bottom: 1rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--green); display: inline-block; }
.trending-list { list-style: none; }
.trending-item { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
.trending-item:last-child { border-bottom: none; padding-bottom: 0; }
.trending-num { font-size: 1.6rem; font-weight: 800; color: var(--green-light); line-height: 1; min-width: 2rem; }
.trending-content .trending-title { font-size: 0.875rem; font-weight: 500; line-height: 1.4; }
.trending-content .trending-title a { color: var(--text); text-decoration: none; }
.trending-content .trending-title a:hover { color: var(--green); }
.trending-content .trending-cat { font-size: 0.7rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ===== EDITORS PICK WIDGET ===== */
.editors-pick-widget { background: linear-gradient(135deg, #f0fdf4, #dcfce7); border: 1px solid var(--green-mid); border-radius: 12px; padding: 1.25rem; margin-bottom: 1.5rem; }
.editors-pick-widget .widget-title { color: var(--green-dark); border-color: var(--green-dark); }
.pick-name { font-size: 1rem; font-weight: 700; color: var(--text); margin: 0.5rem 0 0.3rem; }
.pick-rating { color: #f59e0b; font-size: 0.9rem; margin-bottom: 0.5rem; }
.pick-desc { font-size: 0.83rem; color: var(--text-light); line-height: 1.55; margin-bottom: 0.9rem; }
.pick-cta { display: block; text-align: center; background: var(--green); color: white; padding: 0.65rem 1rem; border-radius: 8px; text-decoration: none; font-size: 0.83rem; font-weight: 600; transition: background 0.2s; }
.pick-cta:hover { background: var(--green-dark); }

/* ===== ARTICLE PAGE ===== */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; padding: 2.5rem 0 4rem; }
.article-category-tag { display: inline-block; background: var(--green-light); color: var(--green-dark); font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 0.3rem 0.8rem; border-radius: 999px; margin-bottom: 1rem; text-decoration: none; }
.article-title { font-size: 2.1rem; font-weight: 700; line-height: 1.25; margin-bottom: 1rem; color: var(--text); }
.article-meta { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: 0.82rem; color: var(--text-light); padding: 1rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 2rem; align-items: center; }
.article-meta .meta-author { font-weight: 600; color: var(--text); }
.article-hero-img { width: 100%; height: 360px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 6rem; margin-bottom: 2rem; }
.article-body { font-size: 1.05rem; line-height: 1.85; color: #1f2937; }
.article-body h2 { font-size: 1.5rem; font-weight: 700; margin: 2.5rem 0 1rem; color: var(--text); border-left: 3px solid var(--green); padding-left: 0.75rem; }
.article-body h3 { font-size: 1.2rem; font-weight: 600; margin: 2rem 0 0.75rem; color: var(--text); }
.article-body p { margin-bottom: 1.4rem; }
.article-body ul, .article-body ol { margin: 0.75rem 0 1.4rem 1.75rem; }
.article-body li { margin-bottom: 0.6rem; }
.article-body strong { font-weight: 600; }

/* ===== EDITORS PICK CALLOUT ===== */
.editors-pick-callout { background: linear-gradient(135deg, #f0fdf4, #ecfdf5); border: 1px solid var(--green-mid); border-left: 4px solid var(--green); border-radius: 10px; padding: 1.4rem 1.6rem; margin: 2.5rem 0; }
.callout-label { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--green); margin-bottom: 0.4rem; }
.callout-title { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
.callout-text { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0.9rem; line-height: 1.65; }
.callout-link { color: var(--green); font-weight: 700; text-decoration: none; font-size: 0.9rem; border-bottom: 1px solid var(--green-mid); padding-bottom: 1px; }
.callout-link:hover { color: var(--green-dark); border-color: var(--green); }

/* ===== RANK CARDS ===== */
.rank-card { border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; margin: 1.75rem 0; position: relative; }
.rank-card.rank-1 { border-color: #fbbf24; background: #fffbeb; }
.rank-card.rank-2 { border-color: #d1d5db; background: #f9fafb; }
.rank-card.rank-3 { border-color: #d97706; background: #fff7ed; }
.rank-badge { display: inline-block; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; padding: 0.2rem 0.75rem; border-radius: 999px; margin-bottom: 0.75rem; }
.rank-1 .rank-badge { background: #f59e0b; color: white; }
.rank-2 .rank-badge { background: #6b7280; color: white; }
.rank-3 .rank-badge { background: #d97706; color: white; }
.rank-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.4rem; }
.rank-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 0.5rem; }
.rank-score { font-size: 0.82rem; font-weight: 600; color: var(--text-light); margin-bottom: 0.75rem; }
.rank-pros { margin: 0.75rem 0; }
.rank-pros li { font-size: 0.9rem; margin-bottom: 0.4rem; }
.rank-link { display: inline-block; background: var(--green); color: white; padding: 0.6rem 1.25rem; border-radius: 8px; text-decoration: none; font-size: 0.875rem; font-weight: 600; margin-top: 0.75rem; transition: background 0.2s; }
.rank-link:hover { background: var(--green-dark); }

/* ===== DISCLOSURE ===== */
.disclosure { background: #f9fafb; border: 1px solid var(--border); border-radius: 8px; padding: 1rem 1.25rem; margin-top: 2.5rem; font-size: 0.78rem; color: var(--text-muted); font-style: italic; line-height: 1.6; }

/* ===== PAGE HEADER ===== */
.page-header { background: var(--bg-gray); border-bottom: 1px solid var(--border); padding: 2.5rem 1.5rem; }
.page-header-inner { max-width: var(--max-width); margin: 0 auto; }
.page-header h1 { font-size: 2rem; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
.page-header p { color: var(--text-light); font-size: 1rem; }

/* ===== PROSE (about/policy) ===== */
.prose { max-width: 820px; margin: 3rem auto 5rem; padding: 0 1.5rem; }
.prose h2 { font-size: 1.4rem; font-weight: 700; margin: 2.5rem 0 0.9rem; color: var(--text); }
.prose h3 { font-size: 1.1rem; font-weight: 600; margin: 1.75rem 0 0.6rem; color: var(--text); }
.prose p { margin-bottom: 1.25rem; line-height: 1.85; color: #1f2937; }
.prose ul, .prose ol { margin: 0.75rem 0 1.25rem 1.75rem; }
.prose li { margin-bottom: 0.5rem; line-height: 1.75; color: #1f2937; }

/* ===== FOOTER ===== */
.footer { background: #0f172a; color: #94a3b8; padding: 3.5rem 1.5rem 1.5rem; margin-top: auto; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand .site-name { font-size: 1.3rem; font-weight: 700; color: white; margin-bottom: 0.25rem; }
.footer-brand .site-tagline { font-size: 0.65rem; color: #475569; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.83rem; line-height: 1.75; max-width: 300px; }
.footer-col h4 { color: white; font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: #94a3b8; text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.78rem; }
.footer-disclaimer { font-size: 0.75rem; color: #64748b; font-style: italic; max-width: 600px; line-height: 1.6; }

/* ===== RELATED ===== */
.related-section { padding-top: 2.5rem; margin-top: 2.5rem; border-top: 2px solid var(--border); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.25rem; }
.related-card { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--text); transition: box-shadow 0.2s; }
.related-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.07); }
.related-img { height: 100px; display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.related-body { padding: 0.75rem; }
.related-body .cat { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--green); margin-bottom: 0.3rem; }
.related-body .title { font-size: 0.875rem; font-weight: 600; line-height: 1.4; color: var(--text); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .hero-title { font-size: 1.7rem; }
  .main-layout { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-title { font-size: 1.6rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }
  .nav-links { gap: 0; }
  .nav-links a { font-size: 0.8rem; padding: 0.35rem 0.5rem; }
  .related-grid { grid-template-columns: 1fr; }
  .article-hero-img { height: 220px; font-size: 4rem; }
}

@media (max-width: 480px) {
  .nav-links { display: none; }
  .footer-top { grid-template-columns: 1fr; }
}
