/*
Theme Name: ORHI Newsletter V2
Theme URI: https://oliverightng.com/
Author: OpenAI for Olive Right to Health Initiative
Author URI: https://oliverightng.com/
Description: A clean, mobile-responsive newsletter and communications theme for Olive Right to Health Initiative.
Version: 2.0.0
Requires at least: 5.9
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: orhi-newsletter-v2
*/

:root{
  --orhi-green:#0f766e;
  --orhi-green-dark:#115e59;
  --orhi-green-soft:#ecfdf5;
  --orhi-ink:#0f172a;
  --orhi-text:#334155;
  --orhi-border:#e2e8f0;
  --orhi-bg:#f8fafc;
  --orhi-white:#ffffff;
  --orhi-accent:#14b8a6;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--orhi-text);background:var(--orhi-bg);line-height:1.65}
a{color:var(--orhi-green);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block}
.container{width:min(1120px,92%);margin:0 auto}
.site-header{background:var(--orhi-white);border-bottom:1px solid var(--orhi-border);position:sticky;top:0;z-index:20}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0}
.branding{display:flex;align-items:center;gap:12px}
.site-title{font-size:1.15rem;font-weight:700;color:var(--orhi-ink);margin:0}
.site-description{font-size:.92rem;color:#64748b;margin:2px 0 0}
.menu-toggle{display:none;background:var(--orhi-green);color:#fff;border:none;border-radius:8px;padding:10px 14px;cursor:pointer}
.primary-menu{display:flex;gap:20px;list-style:none;padding:0;margin:0}
.primary-menu a{font-weight:600;color:var(--orhi-ink)}
.hero{background:linear-gradient(135deg,var(--orhi-green-dark),var(--orhi-green));color:#fff;padding:72px 0}
.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:36px;align-items:center}
.hero h1{font-size:clamp(2rem,4vw,3.3rem);line-height:1.08;margin:0 0 16px}
.hero p{font-size:1.05rem;color:#dffaf5;margin:0 0 26px}
.button,.wp-block-button__link,input[type=submit],button[type=submit]{display:inline-block;background:var(--orhi-green);color:#fff;border:none;border-radius:10px;padding:14px 18px;font-weight:700;cursor:pointer}
.button.alt{background:#fff;color:var(--orhi-green-dark)}
.hero-card,.card,.newsletter-form-wrap,.archive-card,.widget{background:#fff;border:1px solid var(--orhi-border);border-radius:18px;box-shadow:0 8px 25px rgba(15,23,42,.05)}
.hero-card{padding:24px;color:var(--orhi-text)}
.section{padding:64px 0}
.section h2{font-size:2rem;margin:0 0 12px;color:var(--orhi-ink)}
.section-intro{max-width:720px;color:#64748b;margin-bottom:28px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.card{padding:24px}
.card h3{margin:0 0 10px;color:var(--orhi-ink)}
.card p{margin:0;color:#64748b}
.newsletter-form-wrap{padding:26px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.newsletter-form-wrap label{display:block;font-weight:700;color:var(--orhi-ink);margin:0 0 6px}
.newsletter-form-wrap input,.newsletter-form-wrap textarea,.newsletter-form-wrap select,.search-form input[type=search]{width:100%;padding:13px 14px;border:1px solid #cbd5e1;border-radius:10px;font-size:1rem;background:#fff}
.newsletter-highlight{background:var(--orhi-green-soft);border:1px solid #c7f2e7;padding:18px;border-radius:14px;color:var(--orhi-green-dark)}
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.archive-card{overflow:hidden}
.archive-card-content{padding:20px}
.entry-title{font-size:1.4rem;color:var(--orhi-ink);margin:0 0 12px}
.entry-meta{font-size:.92rem;color:#64748b;margin-bottom:10px}
.content-area{display:grid;grid-template-columns:2fr 1fr;gap:28px;padding:44px 0}
.site-footer{background:#0b1220;color:#cbd5e1;padding:40px 0 24px;margin-top:40px}
.footer-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:24px}
.footer-title{color:#fff;margin-top:0}
.footer-note{border-top:1px solid rgba(255,255,255,.1);margin-top:22px;padding-top:18px;font-size:.92rem;color:#94a3b8}
.notice{padding:12px 14px;border-radius:10px;margin-bottom:12px}
.notice.success{background:#ecfdf5;color:#166534;border:1px solid #bbf7d0}
.notice.error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}
.screen-reader-text{position:absolute;left:-9999px}
@media (max-width: 900px){
  .hero-grid,.content-area,.footer-grid,.grid-3,.post-grid{grid-template-columns:1fr}
  .form-row{grid-template-columns:1fr}
  .menu-toggle{display:block}
  .primary-nav{position:relative}
  .primary-menu{display:none;position:absolute;top:48px;right:0;background:#fff;border:1px solid var(--orhi-border);border-radius:12px;padding:14px;flex-direction:column;min-width:220px;box-shadow:0 10px 28px rgba(2,6,23,.1)}
  .primary-nav.open .primary-menu{display:flex}
}
