/*
Theme Name: Planet Friendly People
Theme URI: https://planetfriendlypeople.net/
Author: Planet Friendly People
Description: Lightweight custom theme preserving the Planet Friendly People static design.
Version: 1.0.0
Text Domain: planet-friendly-people
*/
/* ============================================
   PFP — Planet Friendly People
   Professional Design System
   ============================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem; line-height: 1.75; color: #1e293b;
  background: #faf9f7; -webkit-font-smoothing: antialiased;
}

/* --- Variables --- */
:root {
  --green-900: #1a3a2a;
  --green-700: #2d6a4f;
  --green-500: #40916c;
  --green-300: #74c69d;
  --green-100: #d8f3dc;
  --green-50:  #f0faf3;
  --accent:    #e07a5f;
  --accent-hover: #c96a4f;
  --gold:      #d4a373;
  --bg-warm:   #faf9f7;
  --bg-card:   #ffffff;
  --text-dark: #1e293b;
  --text-body: #475569;
  --text-muted:#94a3b8;
  --border:    #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --container: 1200px;
  --header-h:  72px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600; line-height: 1.3; color: var(--text-dark);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.125rem; }
p  { margin-bottom: 1.15rem; color: var(--text-body); }
a  { color: var(--green-500); text-decoration: none; transition: all 0.2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }
li { margin-bottom: 0.4rem; color: var(--text-body); }
hr { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }

/* --- Container --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }

/* --- Header --- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem; font-weight: 700; color: var(--green-700);
  text-decoration: none !important;
}
.logo:hover { color: var(--green-500); }
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem;
}

/* --- Navigation --- */
.nav-toggle {
  display: none; background: none; border: none;
  width: 40px; height: 40px; cursor: pointer; position: relative;
  color: var(--text-dark);
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-dark); margin: 5px auto;
  transition: all 0.3s; border-radius: 2px;
}
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; padding: 0; margin: 0; }
.nav-links > li { margin: 0; position: relative; }
.nav-links a {
  display: block; padding: 0.5rem 1rem;
  font-size: 0.875rem; font-weight: 500; color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active { background: var(--green-50); color: var(--green-700); }
.nav-links a.active { font-weight: 600; }

/* Dropdown */
.dropdown-content {
  display: none; position: absolute; top: 100%; left: 0;
  min-width: 220px; background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md); padding: 0.5rem; z-index: 100;
}
.dropdown-content a {
  padding: 0.5rem 0.75rem; border-radius: 6px; font-size: 0.85rem;
}
.dropdown-content a:hover { background: var(--green-50); }
.dropdown:hover .dropdown-content,
.dropdown-content.show { display: block; }

/* --- Hero --- */
.hero {
  position: relative; min-height: 70vh; margin-top: var(--header-h);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--green-900);
}
.hero-lg { min-height: 80vh; }
.hero-sm { min-height: 40vh; }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,58,42,0.75) 0%, rgba(26,58,42,0.45) 100%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  max-width: 720px; padding: 2rem 1.5rem;
}
.hero-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 1rem;
}
.hero-sub {
  font-size: 1.15rem; color: rgba(255,255,255,0.85);
  margin-bottom: 2rem; font-weight: 300; line-height: 1.6;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent); color: #fff; font-weight: 600;
  font-size: 0.95rem; padding: 0.9rem 2.25rem;
  border-radius: 50px; border: none; cursor: pointer;
  transition: all 0.25s;
}
.hero-cta:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(224,122,95,0.3); }
.hero-cta-outline {
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3);
  margin-left: 1rem;
}
.hero-cta-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* --- Page Header (inner pages) --- */
.page-header {
  margin-top: var(--header-h); padding: 5rem 0 3rem;
  background: linear-gradient(180deg, var(--green-50) 0%, var(--bg-warm) 100%);
  text-align: center;
}
.page-header h1 { margin-bottom: 0.75rem; }
.page-header p { max-width: 600px; margin: 0 auto; font-size: 1.1rem; color: var(--text-muted); }
.breadcrumb {
  display: flex; justify-content: center; gap: 0.5rem;
  font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--green-500); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-muted); }

/* --- Sections --- */
.section { padding: 5rem 0; }
.section-alt { background: var(--green-50); }
.section-dark { background: var(--green-900); color: #fff; }
.section-dark h2 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.75); }
.section-sm { padding: 3rem 0; }

.section-title {
  text-align: center; margin-bottom: 3rem;
}
.section-title h2 { margin-bottom: 0.75rem; }
.section-title p { max-width: 600px; margin: 0 auto; color: var(--text-muted); font-size: 1.05rem; }

/* --- Content Page Layout --- */
.content-page { margin-top: var(--header-h); padding: 4rem 0; }
.content-page h2 { margin-top: 2.5rem; margin-bottom: 1rem; color: var(--green-700); }
.content-page h3 { margin-top: 2rem; margin-bottom: 0.75rem; }
.content-page p, .content-page li { font-size: 1.05rem; line-height: 1.8; }
.content-page ul, .content-page ol { margin-bottom: 1.5rem; }

/* --- Cards --- */
.card {
  background: var(--bg-card); border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card-body { padding: 2rem; }
.card-image { width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius-md) var(--radius-md) 0 0; }
.card-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* --- Feature Section --- */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.feature-image { border-radius: var(--radius-lg); width: 100%; height: 400px; object-fit: cover; }
.feature-image-sm { height: 300px; }
.feature-content h2 { margin-bottom: 1rem; }
.feature-content p { font-size: 1.05rem; }

/* --- Newsletter --- */
.newsletter {
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  padding: 4rem 0; text-align: center; color: #fff;
}
.newsletter h2 { color: #fff; margin-bottom: 0.75rem; }
.newsletter p { color: rgba(255,255,255,0.85); margin-bottom: 1.75rem; font-size: 1.05rem; }
.newsletter-form {
  display: flex; justify-content: center; gap: 0.75rem;
  max-width: 480px; margin: 0 auto;
}
.newsletter-form input {
  flex: 1; padding: 0.9rem 1.25rem; border: none;
  border-radius: 50px; font-family: 'Inter', sans-serif;
  font-size: 0.95rem; outline: none;
}
.newsletter-form button {
  background: var(--accent); color: #fff; font-weight: 600;
  font-size: 0.9rem; padding: 0.9rem 2rem; border: none;
  border-radius: 50px; cursor: pointer; white-space: nowrap;
  transition: background 0.25s;
}
.newsletter-form button:hover { background: var(--accent-hover); }

/* --- Hub Cards (section category pages) --- */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.hub-card {
  background: var(--bg-card); border-radius: var(--radius-md);
  border: 1px solid var(--border); overflow: hidden;
  transition: all 0.25s;
}
.hub-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.hub-card-img { width: 100%; height: 200px; object-fit: cover; }
.hub-card-body { padding: 1.5rem; }
.hub-card-body h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.hub-card-body p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0; }
.hub-card-body .hub-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin-top: 1rem; font-weight: 600; font-size: 0.9rem;
  color: var(--green-500);
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: 50px; font-weight: 600;
  font-size: 0.9rem; border: none; cursor: pointer;
  transition: all 0.25s; text-decoration: none !important;
}
.btn-primary { background: var(--green-500); color: #fff; }
.btn-primary:hover { background: var(--green-700); color: #fff; transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); }
.btn-outline {
  background: transparent; border: 2px solid var(--green-500);
  color: var(--green-500);
}
.btn-outline:hover { background: var(--green-50); color: var(--green-700); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }

/* --- Quote Block --- */
.quote-block {
  background: var(--bg-card); border-left: 4px solid var(--accent);
  padding: 2rem 2.5rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2rem 0;
}
.quote-block p {
  font-family: 'Playfair Display', Georgia, serif; font-style: italic;
  font-size: 1.2rem; color: var(--text-dark); margin-bottom: 0.5rem;
}
.quote-block cite { font-size: 0.9rem; color: var(--text-muted); font-style: normal; }

/* --- Blog --- */
.blog-card { margin-bottom: 2rem; }
.blog-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.blog-card .card-body h3 { margin-bottom: 0.5rem; }
.blog-card .card-body h3 a { color: var(--text-dark); }
.blog-card .card-body h3 a:hover { color: var(--green-500); }

/* --- Contact Form --- */
.contact-form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-weight: 500; font-size: 0.9rem;
  margin-bottom: 0.35rem; color: var(--text-dark);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 0.8rem 1rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif; font-size: 0.95rem;
  transition: border-color 0.2s; background: #fff;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(64,145,108,0.1); }
.form-group textarea { min-height: 140px; resize: vertical; }

/* --- Footer --- */
.site-footer {
  background: var(--green-900); color: rgba(255,255,255,0.7);
  padding: 4rem 0 0; font-size: 0.9rem;
}
.footer-grid {
  max-width: var(--container); margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
}
.footer-col h4 {
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px;
  color: #fff; margin-bottom: 1.25rem;
}
.footer-col p, .footer-col li { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: rgba(255,255,255,0.6); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-brand .logo { color: #fff; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.9rem; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6);
  transition: all 0.25s;
}
.footer-social a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.footer-social a svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom {
  max-width: var(--container); margin: 0 auto;
  padding: 1.5rem; text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 3rem; font-size: 0.8rem; color: rgba(255,255,255,0.4);
}

/* --- Sub-category nav (nested pages) --- */
.sub-nav {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  justify-content: center; margin-bottom: 3rem;
}
.sub-nav a {
  padding: 0.5rem 1rem; border-radius: 50px;
  font-size: 0.85rem; font-weight: 500; color: var(--text-body);
  background: var(--bg-card); border: 1px solid var(--border);
  transition: all 0.2s;
}
.sub-nav a:hover,
.sub-nav a.active { background: var(--green-50); color: var(--green-700); border-color: var(--green-300); }

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  padding: 5rem 0; text-align: center; color: #fff;
}
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 2rem; font-size: 1.1rem; }

/* --- Back to top --- */
.back-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--green-500); color: #fff; border: none;
  font-size: 1.25rem; cursor: pointer; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(20px);
  transition: all 0.3s; pointer-events: none;
}
.back-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { background: var(--green-700); }

/* --- Responsive --- */
/* ===== POLISHED CONTENT STYLES ===== */
.content-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.content-section-alt {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  background: #f0f7f4;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(45,106,79,0.08);
}

.content-section h2,
.content-section-alt h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  color: #2d6a4f;
  margin: 2.5rem 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #e07a5f;
  display: inline-block;
}

.content-section h3,
.content-section-alt h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #1a3a2a;
  margin: 2rem 0 1rem;
  padding: 0.5rem 0 0.5rem 1rem;
  border-left: 4px solid #d4a373;
}

.content-section p,
.content-section-alt p {
  font-family: Inter, -apple-system, system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #2d3748;
  margin-bottom: 1.25rem;
}

.content-section-alt p {
  line-height: 1.9;
}

/* Section image */
.section-image {
  margin: 2rem auto;
  max-width: 760px;
  padding: 0 1.5rem;
}

.section-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.section-image .img-caption {
  font-size: 0.85rem;
  color: #6b7280;
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Pull quote */
.pull-quote {
  margin: 2rem auto;
  max-width: 680px;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #faf9f7 0%, #f0f4f1 100%);
  border-left: 5px solid #e07a5f;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: relative;
}

.pull-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #1a3a2a;
  font-style: italic;
  margin: 0;
}

.pull-quote::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: #e07a5f;
  opacity: 0.3;
  position: absolute;
  top: -8px;
  left: 12px;
  line-height: 1;
}

/* Link cards */
.link-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 1.5rem auto;
  max-width: 600px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  text-decoration: none;
  color: #2d6a4f;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.link-card:hover {
  border-color: #40916c;
  background: #f0f7f4;
  box-shadow: 0 3px 12px rgba(45,106,79,0.12);
  transform: translateX(4px);
}

.link-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Page header subtitle */
.page-header .subtitle {
  font-size: 1.2rem;
  color: #6b7280;
  margin-top: 0.5rem;
  font-weight: 400;
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .feature-grid { gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 0.5rem; box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 1rem; }
  .dropdown-content { position: static; box-shadow: none; border: none; padding-left: 1rem; display: none; }
  .dropdown-content.show { display: block; }
  .hero { min-height: 50vh; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-image { height: 250px; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; padding: 0 1rem; }
  .newsletter-form input,
  .newsletter-form button { border-radius: 50px; width: 100%; }
  .sub-nav { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; padding-bottom: 0.5rem; }
}

@media (max-width: 480px) {
  .hero-tagline { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  .container { padding: 0 1rem; }
  .section { padding: 3rem 0; }
}


/* ===== Source Document Content ===== */
.content-section h3,
.content-section-alt h3 {
  margin: 2rem 0 1rem;
  color: var(--green-700, #2d6a4f);
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
}
.content-list {
  margin: 1rem 0 1.5rem 1.35rem;
  padding: 0;
}
.content-list li {
  margin: 0.55rem 0;
  padding-left: 0.25rem;
  line-height: 1.7;
}
.recipe-list {
  columns: 2;
  column-gap: 2rem;
  list-style-position: inside;
  padding: 1rem 1.25rem;
  margin-left: 0;
  background: rgba(64,145,108,0.08);
  border-radius: 10px;
}
.table-scroll {
  width: 100%;
  margin: 1.5rem 0;
  overflow-x: auto;
  border-radius: 10px;
  box-shadow: 0 3px 14px rgba(26,58,42,0.08);
}
.content-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.96rem;
}
.content-table th,
.content-table td {
  padding: 0.8rem 1rem;
  border: 1px solid #dfe7e2;
  text-align: left;
  vertical-align: top;
}
.content-table th {
  background: var(--green-700, #2d6a4f);
  color: #fff;
  font-weight: 600;
}
.content-table tbody tr:nth-child(even) { background: #f7faf8; }
.document-figure {
  max-width: 680px;
  margin: 2rem auto;
  text-align: center;
}
.document-figure img {
  display: block;
  max-width: 100%;
  width: auto;
  max-height: 620px;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 22px rgba(26,58,42,0.13);
}
.document-figure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
  margin: 2rem 0;
}
.document-figure-grid .document-figure { margin: 0; }
.document-figure-grid .document-figure img { max-height: 300px; }
.content-section code,
.content-section-alt code {
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: rgba(212,163,115,0.18);
  color: #1a3a2a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
@media (max-width: 700px) {
  .document-figure-grid { grid-template-columns: 1fr; }
  .recipe-list { columns: 1; }
  .content-table { min-width: 560px; }
}


/* ===== Uploaded Homepage, Who & Travel Sources ===== */
.home-welcome-inner {
  max-width: 760px;
  margin: 0 auto;
}
.home-welcome-inner > h2 {
  margin-bottom: 1.5rem;
  color: #2d6a4f;
  font-family: 'Playfair Display', serif;
}
.home-welcome-inner > p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
}
.home-welcome .pull-quote {
  margin: 2rem 0;
}
.document-figure figcaption {
  margin-top: 0.7rem;
  color: #666;
  font-size: 0.88rem;
  text-align: center;
}
.source-image-grid {
  display: grid;
  max-width: 760px;
  margin: 2rem auto;
  gap: 1.25rem;
  padding: 0 1.5rem;
}
.source-image-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.source-image-grid .document-figure {
  margin: 0;
}
.source-image-grid .document-figure img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}
.source-story-flow .document-figure {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.source-story-flow .document-figure img {
  max-height: 480px;
}
@media (max-width: 700px) {
  .source-image-grid-two { grid-template-columns: 1fr; }
  .source-image-grid .document-figure img { height: auto; max-height: 460px; }
}


/* WordPress integration */
body.admin-bar .site-header { top: 32px; }
.pfp-contact-form { margin-top: 2rem; padding: 2rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.pfp-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pfp-field { margin-bottom: 1rem; }
.pfp-field-full { grid-column: 1 / -1; }
.pfp-field label { display: block; margin-bottom: .35rem; font-weight: 600; color: var(--text-dark); }
.pfp-field input, .pfp-field select, .pfp-field textarea { width: 100%; padding: .75rem .85rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; color: var(--text-dark); font: inherit; }
.pfp-field input:focus, .pfp-field select:focus, .pfp-field textarea:focus { outline: 3px solid rgba(64,145,108,.18); border-color: var(--green-500); }
.pfp-field textarea { min-height: 170px; resize: vertical; }
.pfp-consent { display: flex; gap: .65rem; align-items: flex-start; }
.pfp-consent input { width: auto; margin-top: .35rem; }
.pfp-form-status { margin: 0 0 1.25rem; padding: .85rem 1rem; border-radius: var(--radius-sm); }
.pfp-form-success { background: var(--green-100); color: var(--green-900); }
.pfp-form-error { background: #fff1f0; color: #8a2d20; }
.pfp-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
@media (max-width: 640px) { .pfp-contact-grid { grid-template-columns: 1fr; } .pfp-contact-form { padding: 1.25rem; } }
