/*
Theme Name: Green Also Green
Theme URI: https://www.greenalsogreen.com
Description: Custom theme matching GreenAlsoGreen.com design
Version: 1.0
Author: Henry
*/

/* ================================================================
   Design Tokens — identical to the live site
================================================================ */
:root {
  --color-primary-50:  #EDF5EE;
  --color-primary-100: #D3E8D5;
  --color-primary-200: #B0D6B3;
  --color-primary-300: #88C18C;
  --color-primary-400: #62AB67;
  --color-primary-500: #479349;
  --color-primary-600: #387A3C;
  --color-primary-700: #2C6331;
  --color-primary-800: #214C25;
  --color-primary-900: #16351A;

  --color-neutral-0:   #FFFFFF;
  --color-neutral-50:  #FAFAFA;
  --color-neutral-100: #F5F5F5;
  --color-neutral-200: #E5E5E5;
  --color-neutral-300: #D4D4D4;
  --color-neutral-400: #A3A3A3;
  --color-neutral-500: #737373;
  --color-neutral-600: #525252;
  --color-neutral-700: #404040;
  --color-neutral-800: #262626;
  --color-neutral-900: #171717;

  --color-bg-canvas:        #FFFFFF;
  --color-text-primary:     #171717;
  --color-text-secondary:   #525252;
  --color-text-muted:       #737373;
  --color-text-brand:       #387A3C;
  --color-text-heading:     #262626;
  --color-border-subtle:    #E5E5E5;
  --color-border-default:   #D4D4D4;
  --color-action-primary:       #387A3C;
  --color-action-primary-hover: #2C6331;
  --color-link-default:     #387A3C;
  --color-link-hover:       #2C6331;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --text-h1: 44px; --text-h2: 36px; --text-h3: 28px; --text-h4: 22px;
  --text-body-lg: 18px; --text-body: 16px; --text-body-sm: 14px; --text-caption: 12px;

  --weight-regular: 400; --weight-medium: 500; --weight-semibold: 600; --weight-bold: 700;

  --space-2: 8px;  --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-8: 48px; --space-10: 64px; --space-12: 80px;

  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 12px; --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08); --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --max-width-site: 1200px; --max-width-article: 680px;
  --duration-base: 250ms; --ease-standard: ease-in-out;
}

/* ================================================================ Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); font-size: var(--text-body); line-height: 1.7; color: var(--color-text-primary); background: var(--color-bg-canvas); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-link-default); text-decoration: none; transition: color var(--duration-base) var(--ease-standard); }
a:hover { color: var(--color-link-hover); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); color: var(--color-text-heading); line-height: 1.15; font-weight: var(--weight-bold); }

/* ================================================================ Layout */
.container { max-width: var(--max-width-site); margin: 0 auto; padding: 0 var(--space-5); }
.section { padding: var(--space-12) 0; }
.section-sm { padding: var(--space-8) 0; }

/* ================================================================ Navbar */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border-subtle); box-shadow: var(--shadow-sm);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-brand {
  display: flex; align-items: center; gap: var(--space-3);
  font-family: var(--font-display); font-weight: var(--weight-bold); font-size: 20px;
  color: var(--color-text-heading); text-decoration: none;
}
.nav-brand img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: var(--space-5); list-style: none; }
.nav-links a {
  font-family: var(--font-body); font-weight: var(--weight-medium); font-size: var(--text-body);
  color: var(--color-text-secondary); padding: var(--space-2) 0;
  border-bottom: 2px solid transparent; transition: all var(--duration-base) var(--ease-standard);
}
.nav-links a:hover, .nav-links a.active { color: var(--color-action-primary); border-bottom-color: var(--color-action-primary); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: var(--space-2); }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-text-primary); margin: 5px 0; transition: all var(--duration-base); }

/* ================================================================ Hero */
.hero {
  min-height: 85vh; display: flex; align-items: center; justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary-50) 0%, #ffffff 60%, var(--color-primary-100) 100%);
  padding: var(--space-12) var(--space-5);
}
.hero-content { max-width: 700px; }
.hero-greeting {
  font-size: var(--text-body-sm); font-weight: var(--weight-semibold);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-action-primary);
  margin-bottom: var(--space-4);
}
.hero h1 { font-size: clamp(36px, 6vw, 56px); font-weight: var(--weight-bold); color: var(--color-text-heading); margin-bottom: var(--space-5); line-height: 1.05; }
.hero h1 .accent { color: var(--color-action-primary); }
.hero-subtitle { font-size: var(--text-body-lg); color: var(--color-text-secondary); margin-bottom: var(--space-8); line-height: 1.6; }
.hero-social { display: flex; gap: var(--space-4); justify-content: center; }
.hero-social a {
  width: 44px; height: 44px; border-radius: var(--radius-full);
  background: var(--color-primary-50); border: 1px solid var(--color-border-subtle);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-action-primary); font-size: 18px;
  transition: all var(--duration-base) var(--ease-standard);
}
.hero-social a:hover { background: var(--color-action-primary); color: #fff; border-color: var(--color-action-primary); }

/* ================================================================ Buttons */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-body); font-weight: var(--weight-semibold); font-size: var(--text-body);
  padding: 12px 24px; border-radius: var(--radius-md); border: 2px solid transparent;
  cursor: pointer; transition: all var(--duration-base) var(--ease-standard);
  text-decoration: none; line-height: 1;
}
.btn-primary { background: var(--color-action-primary); color: #fff; border-color: var(--color-action-primary); }
.btn-primary:hover { background: var(--color-action-primary-hover); border-color: var(--color-action-primary-hover); color: #fff; }
.btn-outline { background: transparent; color: var(--color-action-primary); border-color: var(--color-action-primary); }
.btn-outline:hover { background: var(--color-action-primary); color: #fff; }

/* ================================================================ Section headings */
.section-tag { font-size: var(--text-body-sm); font-weight: var(--weight-semibold); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-action-primary); margin-bottom: var(--space-3); }
.section-title { font-size: var(--text-h2); font-weight: var(--weight-bold); color: var(--color-text-heading); margin-bottom: var(--space-4); line-height: 1.15; }
.section-subtitle { font-size: var(--text-body-lg); color: var(--color-text-secondary); max-width: 600px; line-height: 1.6; }
.section-header { margin-bottom: var(--space-10); }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* ================================================================ Blog grid */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--space-6); }
.post-card {
  background: var(--color-neutral-0); border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card-img { aspect-ratio: 16/9; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-standard); }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-body { padding: var(--space-5); }
.post-card-cat { display: inline-block; font-size: var(--text-caption); font-weight: var(--weight-semibold); letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-action-primary); margin-bottom: var(--space-2); }
.post-card-title { font-size: var(--text-h4); font-weight: var(--weight-bold); color: var(--color-text-heading); margin-bottom: var(--space-3); line-height: 1.3; }
.post-card-excerpt { font-size: var(--text-body-sm); color: var(--color-text-secondary); line-height: 1.6; margin-bottom: var(--space-4); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: var(--text-body-sm); color: var(--color-text-muted); border-top: 1px solid var(--color-border-subtle); padding-top: var(--space-4); }
.post-card-meta .read-more { color: var(--color-action-primary); font-weight: var(--weight-semibold); font-size: var(--text-body-sm); }

/* ================================================================ CTA */
.cta-section { background: var(--color-action-primary); color: #fff; text-align: center; padding: var(--space-12) var(--space-5); }
.cta-section h2 { color: #fff; font-size: var(--text-h2); margin-bottom: var(--space-4); }
.cta-section p { color: rgba(255,255,255,0.85); font-size: var(--text-body-lg); margin-bottom: var(--space-8); max-width: 560px; margin-left: auto; margin-right: auto; }
.btn-cta { background: #fff; color: var(--color-action-primary); border: 2px solid #fff; padding: 14px 32px; font-weight: var(--weight-bold); border-radius: var(--radius-md); font-size: var(--text-body-lg); transition: all var(--duration-base); display: inline-block; }
.btn-cta:hover { background: transparent; color: #fff; }

/* ================================================================ Footer */
.site-footer { background: var(--color-neutral-900); color: var(--color-neutral-400); padding: var(--space-10) 0 var(--space-6); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-10); margin-bottom: var(--space-8); }
.footer-brand { font-family: var(--font-display); font-size: 20px; font-weight: var(--weight-bold); color: #fff; margin-bottom: var(--space-4); }
.footer-desc { font-size: var(--text-body-sm); line-height: 1.7; max-width: 300px; }
.footer-heading { font-family: var(--font-display); color: #fff; font-size: var(--text-body); font-weight: var(--weight-semibold); margin-bottom: var(--space-4); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: var(--space-3); }
.footer-links a { color: var(--color-neutral-400); font-size: var(--text-body-sm); transition: color var(--duration-base); }
.footer-links a:hover { color: var(--color-primary-400); }
.footer-bottom { border-top: 1px solid var(--color-neutral-800); padding-top: var(--space-5); display: flex; justify-content: space-between; align-items: center; font-size: var(--text-body-sm); }
.footer-social { display: flex; gap: var(--space-3); }
.footer-social a { width: 36px; height: 36px; border-radius: var(--radius-full); background: var(--color-neutral-800); display: flex; align-items: center; justify-content: center; color: var(--color-neutral-400); transition: all var(--duration-base); }
.footer-social a:hover { background: var(--color-action-primary); color: #fff; }

/* ================================================================ Article content */
.entry-content { max-width: var(--max-width-article); margin: 0 auto; padding: var(--space-10) var(--space-5); }
.entry-content h1,.entry-content h2,.entry-content h3 { margin-top: var(--space-8); margin-bottom: var(--space-4); }
.entry-content p { margin-bottom: var(--space-5); color: var(--color-text-secondary); }
.entry-content ul,.entry-content ol { padding-left: var(--space-6); margin-bottom: var(--space-5); }
.entry-content li { margin-bottom: var(--space-2); color: var(--color-text-secondary); }

/* ================================================================ Responsive */
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: var(--space-6); }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--color-border-subtle); padding: var(--space-5); gap: var(--space-4); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 32px; }
  .posts-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-4); text-align: center; }
}

/* ================================================================
   Blog listing — two-column layout (posts + sidebar)
================================================================ */
.listing-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-10);
  align-items: start;
}
.listing-main { min-width: 0; }

/* ================================================================
   Archive header
================================================================ */
.archive-header { margin-bottom: var(--space-8); }
.archive-eyebrow {
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-action-primary);
  margin-bottom: var(--space-2);
}
.archive-title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: var(--weight-bold);
  color: var(--color-text-heading);
  margin-bottom: var(--space-3);
}
.archive-description { font-size: var(--text-body-lg); color: var(--color-text-secondary); }

/* ================================================================
   Sidebar
================================================================ */
.listing-sidebar { display: flex; flex-direction: column; gap: var(--space-5); }
.sidebar-widget {
  background: var(--color-neutral-0);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
}
.sidebar-widget-title {
  font-family: var(--font-display);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-heading);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-4);
  border-bottom: 2px solid var(--color-action-primary);
  display: block;
}
.sidebar-cat-list { list-style: none; }
.sidebar-cat-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid var(--color-neutral-100);
  font-size: var(--text-body-sm);
}
.sidebar-cat-list li:last-child { border-bottom: none; }
.sidebar-cat-list a { color: var(--color-text-secondary); }
.sidebar-cat-list a:hover { color: var(--color-action-primary); }
.sidebar-cat-count {
  font-size: var(--text-caption);
  color: var(--color-text-muted);
  background: var(--color-neutral-100);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}
.sidebar-widget-desc { font-size: var(--text-body-sm); color: var(--color-text-secondary); margin-bottom: var(--space-4); }
.newsletter-form { display: flex; flex-direction: column; gap: var(--space-2); }
.newsletter-input {
  padding: 10px 12px;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  font-size: var(--text-body-sm);
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--duration-base);
}
.newsletter-input:focus { border-color: var(--color-action-primary); }
.newsletter-btn {
  padding: 10px;
  background: var(--color-action-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-semibold);
  font-family: var(--font-body);
  cursor: pointer;
  transition: background var(--duration-base);
}
.newsletter-btn:hover { background: var(--color-action-primary-hover); }

/* ── Sidebar recent posts ─────────────────────────────────────── */
.sidebar-recent-list { list-style: none; }
.sidebar-recent-item {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-neutral-100);
}
.sidebar-recent-item:last-child { border-bottom: none; }
.sidebar-recent-thumb { flex-shrink: 0; width: 56px; height: 56px; border-radius: var(--radius-md); overflow: hidden; display: block; }
.sidebar-recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-recent-body { min-width: 0; }
.sidebar-recent-title {
  display: block;
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-heading);
  line-height: 1.35;
  margin-bottom: 4px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.sidebar-recent-title:hover { color: var(--color-action-primary); }
.sidebar-recent-date { font-size: 11px; color: var(--color-text-muted); }

/* ================================================================
   Single post
================================================================ */
.post-single { padding: var(--space-10) 0 var(--space-12); }
.post-article { max-width: var(--max-width-article); margin: 0 auto; }

/* Post header */
.post-header { margin-bottom: var(--space-6); }
.post-cats { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-4); }
.post-cat-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-action-primary);
  background: #EDF5EE;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: background var(--duration-base);
}
.post-cat-tag:hover { background: #D3E8D5; color: var(--color-action-primary-hover); }
.post-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: var(--weight-bold);
  color: var(--color-text-heading);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-4);
}
.post-subtitle {
  font-size: var(--text-body-lg);
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin-bottom: var(--space-4);
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-body-sm);
  color: var(--color-text-muted);
}
.post-author { font-weight: var(--weight-medium); color: var(--color-text-secondary); }
.post-meta-sep { color: var(--color-border-default); }

/* Featured image */
.post-hero-image {
  max-width: 860px;
  margin: 0 auto var(--space-10);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.post-hero-image img { width: 100%; height: auto; display: block; }

/* Article body typography */
.post-body { font-size: 17px; line-height: 1.75; color: var(--color-text-primary); }
.post-body > * + * { margin-top: 1.4em; }
.post-body p { margin: 0 0 1rem; }
.post-body h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: var(--weight-semibold);
  color: var(--color-text-heading);
  margin-top: 2.2em;
  margin-bottom: 0.5em;
  line-height: 1.2;
}
.post-body h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: var(--weight-semibold);
  color: var(--color-text-heading);
  margin-top: 1.8em;
  margin-bottom: 0.5em;
}
.post-body h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: var(--weight-semibold);
  color: var(--color-text-heading);
  margin-top: 1.5em;
  margin-bottom: 0.4em;
}
.post-body a { color: var(--color-action-primary); text-decoration: underline; text-decoration-color: transparent; }
.post-body a:hover { color: var(--color-action-primary-hover); text-decoration-color: var(--color-action-primary-hover); }
.post-body blockquote {
  border-left: 3px solid var(--color-action-primary);
  padding: 14px 22px;
  margin: 28px 0;
  background: #EDF5EE;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 18px;
  color: var(--color-text-secondary);
  font-style: italic;
}
.post-body blockquote > * + * { margin-top: 0.6em; }
.post-body code {
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--color-neutral-100);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  color: var(--color-text-heading);
}
.post-body pre {
  background: var(--color-neutral-900);
  color: var(--color-neutral-0);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.5;
}
.post-body pre code { background: none; padding: 0; color: inherit; }
.post-body ul, .post-body ol { padding-left: 1.5em; }
.post-body li { margin-bottom: 0.4em; }
.post-body img { border-radius: var(--radius-md); margin: var(--space-6) auto; max-width: 100%; }
.post-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.post-body th { text-align: left; font-weight: var(--weight-semibold); padding: 10px 12px; border-bottom: 2px solid var(--color-border-subtle); }
.post-body td { padding: 10px 12px; border-bottom: 1px solid var(--color-neutral-100); }
.post-body hr { border: none; border-top: 1px solid var(--color-border-subtle); margin: var(--space-8) 0; }

/* Tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-subtle);
}
.post-tag {
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
  background: var(--color-neutral-100);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  transition: background var(--duration-base);
}
.post-tag:hover { background: var(--color-neutral-200); color: var(--color-text-heading); }

/* Related posts */
.related-posts {
  max-width: var(--max-width-site);
  margin: var(--space-12) auto 0;
  padding-top: var(--space-10);
  border-top: 1px solid var(--color-border-subtle);
}
.related-posts-title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: var(--weight-bold);
  color: var(--color-text-heading);
  margin-bottom: var(--space-6);
}

/* ================================================================
   Pagination
================================================================ */
.pagination-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-subtle);
}
.pagination-nav .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-3);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  transition: all var(--duration-base);
  text-decoration: none;
}
.pagination-nav .page-numbers:hover { border-color: var(--color-action-primary); color: var(--color-action-primary); }
.pagination-nav .page-numbers.current {
  background: var(--color-action-primary);
  border-color: var(--color-action-primary);
  color: #fff;
}
.pagination-nav .page-numbers.dots { border-color: transparent; }

/* Empty listing */
.empty-listing {
  text-align: center;
  padding: 80px 20px;
  color: var(--color-text-muted);
  font-size: var(--text-body-lg);
}

/* ================================================================
   About page
================================================================ */
.about-hero { background: linear-gradient(135deg, #EDF5EE 0%, #fff 70%); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-12);
  align-items: start;
}
.about-content { font-size: var(--text-body-lg); color: var(--color-text-secondary); line-height: 1.75; }
.about-content > * + * { margin-top: 1.2em; }
.about-content p { margin: 0; }
.about-content a { color: var(--color-action-primary); }
.about-social { display: flex; gap: var(--space-4); margin-top: var(--space-8); }
.about-social-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-action-primary);
  border: 2px solid var(--color-action-primary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: all var(--duration-base);
}
.about-social-link:hover { background: var(--color-action-primary); color: #fff; }
.about-image { position: sticky; top: 88px; }
.about-photo { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* ================================================================
   WordPress search form override
================================================================ */
.search-form { display: flex; gap: var(--space-2); }
.search-form .search-field {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  font-size: var(--text-body-sm);
  font-family: var(--font-body);
  outline: none;
}
.search-form .search-field:focus { border-color: var(--color-action-primary); }
.search-form .search-submit {
  padding: 10px 16px;
  background: var(--color-action-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-semibold);
  cursor: pointer;
  transition: background var(--duration-base);
}
.search-form .search-submit:hover { background: var(--color-action-primary-hover); }

/* ================================================================
   Responsive — extended breakpoints
================================================================ */
@media (max-width: 1024px) {
  .listing-layout { grid-template-columns: 1fr; }
  .listing-sidebar { flex-direction: row; flex-wrap: wrap; }
  .listing-sidebar .sidebar-widget { flex: 1 1 280px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { position: static; max-width: 400px; }
}
@media (max-width: 768px) {
  .listing-sidebar { flex-direction: column; }
  .post-title { font-size: 26px; }
  .post-body { font-size: 16px; }
  .about-social { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .post-hero-image { border-radius: 0; margin-left: calc(-1 * var(--space-5)); margin-right: calc(-1 * var(--space-5)); }
}
@media (prefers-reduced-motion: reduce) {
  .post-card, .post-card:hover { transition: none; }
  .post-card-img img { transition: none; }
}
