@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

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

:root {
  --green-dark: #1a2e10;
  --green-mid: #2d4a1e;
  --green-nav: #1e3310;
  --green-light: #f0f7ea;
  --green-border: #dde8d5;
  --green-accent: #b8d490;
  --green-muted: #7a9a6a;
  --body-bg: #f7f9f5;
  --white: #ffffff;
  --text-primary: #1a2e10;
  --text-secondary: #555;
  --text-muted: #888;
  --font: 'Outfit', sans-serif;
}

body { font-family: var(--font); background: var(--body-bg); color: var(--text-primary); font-size: 18px; line-height: 1.6; }

a { color: var(--green-mid); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── HEADER ── */
.site-header { background: var(--white); border-bottom: 1px solid var(--green-border); padding: 1.5rem 2rem; }
.site-header-inner { max-width: 900px; margin: 0 auto; display: flex; align-items: center; gap: 1rem; }
.logo-mark { width: 44px; height: 44px; background: var(--green-mid); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; font-weight: 700; color: var(--green-accent); text-decoration: none; }
.site-title { font-size: 28px; font-weight: 700; color: var(--green-dark); line-height: 1; }
.site-location { font-size: 14px; font-weight: 300; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-muted); margin-top: 2px; }
.site-tagline { font-size: 16px; font-weight: 300; color: var(--text-secondary); margin-top: 0.5rem; }

/* ── NAV ── */
.site-nav { background: var(--green-mid); }
.site-nav-inner { max-width: 900px; margin: 0 auto; display: flex; overflow-x: auto; }
.site-nav a { font-size: 16px; font-weight: 400; letter-spacing: 0.03em; color: rgba(255,255,255,0.65); text-decoration: none; padding: 0.7rem 1rem; white-space: nowrap; border-bottom: 2px solid transparent; display: block; }
.site-nav a:hover, .site-nav a.active { color: var(--green-accent); border-bottom-color: var(--green-accent); text-decoration: none; }

/* ── LAYOUT ── */
.page-wrap { max-width: 900px; margin: 0 auto; padding: 1.5rem 2rem 3rem; }
.page-title { font-size: 26px; font-weight: 700; color: var(--green-dark); margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--green-border); }

/* ── LATEST ISSUE BANNER ── */
.latest-banner { background: var(--white); border: 0.5px solid var(--green-border); border-left: 4px solid var(--green-mid); border-radius: 10px; padding: 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.latest-label { font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-muted); font-weight: 600; margin-bottom: 0.25rem; }
.latest-title { font-size: 20px; font-weight: 600; color: var(--text-primary); margin-bottom: 0.25rem; }
.latest-meta { font-size: 16px; font-weight: 300; color: var(--text-muted); }
.btn { display: inline-block; background: var(--green-mid); color: #e8f5d4; border: none; border-radius: 6px; font-family: var(--font); font-size: 14px; font-weight: 500; padding: 0.75rem 1.5rem; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--green-dark); text-decoration: none; color: #e8f5d4; }
.btn-outline { background: transparent; border: 1px solid var(--green-border); color: var(--green-mid); }
.btn-outline:hover { background: var(--green-light); color: var(--green-mid); }

/* ── SECTION HEADING ── */
.section-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--green-border); padding-bottom: 0.5rem; margin-bottom: 1rem; }
.section-head h2 { font-size: 20px; font-weight: 600; color: var(--green-dark); }
.section-head a { font-size: 14px; color: var(--green-muted); text-decoration: none; }
.section-head a:hover { text-decoration: underline; }

/* ── CARDS GRID ── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 2rem; }
.card { background: var(--white); border: 0.5px solid var(--green-border); border-radius: 10px; padding: 1.5rem; }
.card h3 { font-size: 18px; font-weight: 600; color: var(--text-primary); margin-bottom: 0.5rem; line-height: 1.3; }
.card p { font-size: 16px; font-weight: 300; color: var(--text-secondary); line-height: 1.5; }
.card a { text-decoration: none; display: block; }
.card a:hover h3 { color: var(--green-mid); }

/* ── TAGS ── */
.tag { display: inline-block; font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; font-weight: 600; padding: 4px 12px; border-radius: 20px; margin-bottom: 0.75rem; text-decoration: none; }
.tag-green  { background: #eaf3de; color: #3B6D11; }
.tag-amber  { background: #faeeda; color: #854F0B; }
.tag-teal   { background: #e1f5ee; color: #0F6E56; }
.tag-coral  { background: #faece7; color: #993C1D; }
.tag-blue   { background: #e6f1fb; color: #185FA5; }
.tag-purple { background: #eeedfe; color: #534AB7; }

/* ── EVENTS ── */
.events-list { background: var(--white); border: 0.5px solid var(--green-border); border-radius: 10px; overflow: hidden; margin-bottom: 2rem; }
.event-item { display: flex; gap: 1.5rem; align-items: flex-start; padding: 1.25rem 1.5rem; border-bottom: 0.5px solid #eef3eb; }
.event-item:last-child { border-bottom: none; }
.event-date { min-width: 60px; text-align: center; background: var(--green-light); border-radius: 6px; padding: 10px 8px; flex-shrink: 0; }
.event-day { font-size: 24px; font-weight: 700; color: var(--green-mid); line-height: 1; display: block; }
.event-mon { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-muted); font-weight: 500; display: block; margin-top: 4px; }
.event-title { font-size: 16px; font-weight: 500; color: var(--text-primary); margin-bottom: 4px; }
.event-where { font-size: 16px; font-weight: 300; color: var(--text-muted); }

/* ── BLOG / POST LIST ── */
.post-list { display: flex; flex-direction: column; gap: 1.5rem; }
.post-item { background: var(--white); border: 0.5px solid var(--green-border); border-radius: 10px; padding: 1.5rem; }
.post-item h2 { font-size: 20px; font-weight: 600; margin-bottom: 0.5rem; }
.post-item h2 a { color: var(--text-primary); }
.post-item h2 a:hover { color: var(--green-mid); text-decoration: none; }
.post-meta { font-size: 14px; font-weight: 300; color: var(--text-muted); margin-bottom: 0.75rem; }
.post-excerpt { font-size: 16px; font-weight: 300; color: var(--text-secondary); line-height: 1.6; }

/* ── SINGLE POST ── */
.post-header { margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--green-border); }
.post-header h1 { font-size: 32px; font-weight: 700; color: var(--green-dark); margin-bottom: 0.75rem; line-height: 1.2; }
.post-content { background: var(--white); border: 0.5px solid var(--green-border); border-radius: 10px; padding: 2rem 2.5rem; }
.post-content p { font-size: 18px; font-weight: 400; line-height: 1.8; color: var(--text-secondary); margin-bottom: 1.5rem; }
.post-content h2 { font-size: 24px; font-weight: 600; color: var(--green-dark); margin: 2rem 0 1rem; }
.post-content h3 { font-size: 20px; font-weight: 600; color: var(--green-dark); margin: 1.5rem 0 0.75rem; }
.post-content ul, .post-content ol { padding-left: 1.75rem; margin-bottom: 1.5rem; }
.post-content li { font-size: 18px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 0.5rem; }

/* ── NEWSLETTER ARCHIVE ── */
.newsletter-list { display: flex; flex-direction: column; gap: 0; background: var(--white); border: 0.5px solid var(--green-border); border-radius: 10px; overflow: hidden; }
.newsletter-item { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; border-bottom: 0.5px solid #eef3eb; gap: 1rem; }
.newsletter-item:last-child { border-bottom: none; }
.newsletter-issue { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-muted); margin-bottom: 4px; }
.newsletter-title { font-size: 16px; font-weight: 500; color: var(--text-primary); }

/* ── SEARCH ── */
.search-wrap { margin-bottom: 2rem; }
#search { width: 100%; padding: 1rem 1.25rem; font-family: var(--font); font-size: 18px; font-weight: 300; border: 1px solid var(--green-border); border-radius: 8px; background: var(--white); color: var(--text-primary); outline: none; }
#search:focus { border-color: var(--green-muted); }
.pagefind-ui { font-family: var(--font) !important; }

/* ── FOOTER ── */
.site-footer { background: var(--green-mid); padding: 2rem; margin-top: 3rem; }
.site-footer-inner { max-width: 900px; margin: 0 auto; }
.site-footer p { font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.5); line-height: 1.6; }
.site-footer strong { font-weight: 600; font-size: 15px; color: rgba(255,255,255,0.8); }
.cal-sub { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 400; letter-spacing: 0.06em; color: rgba(255,255,255,0.55); text-decoration: none; border: 0.5px solid rgba(255,255,255,0.2); border-radius: 20px; padding: 6px 14px; margin-top: 1rem; }
.cal-sub:hover { color: rgba(255,255,255,0.8); text-decoration: none; }
.cal-dot { width: 8px; height: 8px; background: var(--green-accent); border-radius: 50%; flex-shrink: 0; display: inline-block; }

/* ── ABOUT PAGE ── */
.about-content { background: var(--white); border: 0.5px solid var(--green-border); border-radius: 10px; padding: 2rem 2.5rem; }
.about-content p { font-size: 18px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 1.5rem; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .page-wrap { padding: 1rem 1rem 2rem; }
  .site-header { padding: 1rem; }
  .ph-site-title { font-size: 24px; }
  .latest-banner { flex-direction: column; align-items: flex-start; }
  .cards { grid-template-columns: 1fr; }
}
