/*
Theme Name: Healing Apothecary
Theme URI: https://example.com/
Author: Healing Apothecary
Description: A clean botanical WordPress theme for the Healing Apothecary herbal repository, articles, remedies, and wellness content.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: healing-apothecary
*/

:root{
  --ha-green:#596242;
  --ha-green-dark:#3f4732;
  --ha-lavender:#8a7e9d;
  --ha-taupe:#8d7b68;
  --ha-cream:#f8f5ef;
  --ha-ink:#2f3327;
  --ha-muted:#6f735f;
  --ha-line:#ded7ca;
  --ha-white:#ffffff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:#fff;
  color:var(--ha-ink);
  font-family:Arial,Helvetica,sans-serif;
  line-height:1.65;
}
a{color:var(--ha-green-dark);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto}
.ha-wrap{width:min(1180px,92%);margin:0 auto}

.site-header{
  background:#fff;
  border-bottom:1px solid var(--ha-line);
  position:sticky;
  top:0;
  z-index:50;
}
.ha-header-inner{
  min-height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.site-branding{display:flex;align-items:center;gap:14px}
.site-branding img{max-height:72px;width:auto}
.site-title{
  font-family:Georgia,serif;
  font-size:28px;
  font-weight:600;
  margin:0;
}
.site-description{margin:2px 0 0;color:var(--ha-muted);font-size:13px}
.main-navigation ul{
  list-style:none;
  display:flex;
  gap:20px;
  padding:0;
  margin:0;
  align-items:center;
}
.main-navigation a{font-weight:600;color:var(--ha-ink)}
.menu-toggle{display:none}

.ha-hero{
  background:linear-gradient(135deg,#fbfaf6,var(--ha-cream));
  padding:70px 0;
}
.ha-hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  align-items:center;
  gap:54px;
}
.ha-kicker{
  display:inline-block;
  color:var(--ha-lavender);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:12px;
  margin-bottom:10px;
}
.ha-hero h1{
  font-family:Georgia,serif;
  font-size:clamp(44px,7vw,80px);
  line-height:1.02;
  color:var(--ha-green-dark);
  margin:0 0 18px;
}
.ha-hero p{font-size:20px;color:#555b4e;max-width:720px}
.ha-hero-logo{
  background:#fff;
  border:1px solid var(--ha-line);
  border-radius:28px;
  padding:36px;
  box-shadow:0 20px 55px rgba(50,50,35,.08);
}
.ha-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.ha-button{
  display:inline-block;
  background:var(--ha-green);
  color:#fff!important;
  padding:12px 20px;
  border-radius:999px;
  font-weight:700;
  text-decoration:none!important;
}
.ha-button.secondary{
  background:#fff;
  color:var(--ha-green-dark)!important;
  border:1px solid var(--ha-line);
}

.ha-section{padding:64px 0}
.ha-section.alt{background:var(--ha-cream)}
.ha-section h2{
  font-family:Georgia,serif;
  font-size:40px;
  color:var(--ha-green-dark);
  margin:0 0 12px;
}
.ha-section-intro{max-width:760px;color:var(--ha-muted);margin-bottom:32px}
.ha-card-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}
.ha-card{
  background:#fff;
  border:1px solid var(--ha-line);
  border-radius:18px;
  padding:24px;
  box-shadow:0 8px 30px rgba(50,50,35,.045);
}
.ha-card h3{
  font-family:Georgia,serif;
  font-size:25px;
  color:var(--ha-green-dark);
  margin:0 0 10px;
}
.ha-card p{color:#5f6258}

.content-area{padding:48px 0 70px}
.entry-title,.page-title{
  font-family:Georgia,serif;
  color:var(--ha-green-dark);
}
.entry-title{font-size:46px;line-height:1.1}
.entry-content{font-size:18px}
.entry-content h2,.entry-content h3{
  font-family:Georgia,serif;
  color:var(--ha-green-dark);
}
.post-card{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:24px;
  padding:22px 0;
  border-bottom:1px solid var(--ha-line);
}
.post-card img{
  width:220px;height:160px;object-fit:cover;border-radius:14px;
}

.site-footer{
  background:var(--ha-green-dark);
  color:#f7f4ed;
  padding:46px 0 24px;
}
.site-footer a{color:#fff}
.ha-footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:30px;
}
.ha-footer-logo{max-width:180px;background:#fff;border-radius:12px;padding:10px}
.ha-copyright{border-top:1px solid rgba(255,255,255,.15);margin-top:30px;padding-top:18px;font-size:13px}

@media(max-width:850px){
  .ha-hero-grid,.ha-footer-grid{grid-template-columns:1fr}
  .ha-card-grid{grid-template-columns:1fr 1fr}
  .main-navigation{display:none}
  .main-navigation.is-open{display:block;position:absolute;left:0;right:0;top:88px;background:#fff;border-bottom:1px solid var(--ha-line);padding:18px 4%}
  .main-navigation ul{flex-direction:column;align-items:flex-start}
  .menu-toggle{display:inline-block;background:var(--ha-green);color:white;border:0;border-radius:8px;padding:10px 14px}
}
@media(max-width:600px){
  .ha-card-grid{grid-template-columns:1fr}
  .post-card{grid-template-columns:1fr}
  .post-card img{width:100%;height:220px}
  .ha-hero{padding:48px 0}
}
