/*
Theme Name: SummitQuality
Theme URI: https://example.com
Author: SummitQuality
Description: A clean, editorial personal blog theme for a Quality Manager, Climber & Leader. Inspired by the original Base44 design.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: summitquality
Tags: blog, personal, minimal, clean
*/

/* =====================================================
   IMPORTS & CSS CUSTOM PROPERTIES
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --font-sans: 'DM Sans', sans-serif;
  --font-serif: 'Playfair Display', serif;

  --background: hsl(0, 0%, 99%);
  --foreground: hsl(220, 15%, 15%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(220, 15%, 15%);
  --primary: hsl(145, 35%, 42%);
  --primary-dark: hsl(145, 35%, 32%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(220, 10%, 96%);
  --muted: hsl(220, 10%, 96%);
  --muted-foreground: hsl(220, 10%, 50%);
  --accent: hsl(145, 25%, 94%);
  --accent-foreground: hsl(145, 35%, 30%);
  --border: hsl(220, 10%, 90%);
  --radius: 0.5rem;

  --max-width: 80rem;
  --px: 1.5rem;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* =====================================================
   LAYOUT
   ===================================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--px);
}

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main { flex: 1; }

/* =====================================================
   NAVBAR
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253,253,253,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--px);
}

.site-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--foreground);
  transition: opacity 0.2s;
}
.site-logo:hover { opacity: 0.8; }
.site-logo span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); }

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  padding: 0.5rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}
.nav-toggle:hover { color: var(--foreground); }
.nav-toggle svg { width: 1.25rem; height: 1.25rem; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--background);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.75rem var(--px);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: color 0.15s, background 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--primary); background: var(--accent); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* =====================================================
   HERO (About page) — split two-column layout + mountain background
   ===================================================== */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(253,253,253,0.60) 0%, rgba(253,253,253,0.40) 50%, rgba(253,253,253,1) 100%);
}

.hero-content--split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem var(--px) 4rem;
}
@media (min-width: 768px) {
  .hero-content--split {
    grid-template-columns: 1fr 1fr;
    padding: 7rem var(--px) 5rem;
    gap: 4rem;
  }
}

.hero-text { display: flex; flex-direction: column; }

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-foreground);
  background: var(--muted);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  width: fit-content;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}
/* Changed from green to dark grey */
.hero-accent { color: hsl(220, 15%, 30%); }

.hero-desc {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 32rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Profile photo column */
.hero-photo-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.hero-photo {
  position: relative;
  width: 100%;
  max-width: 360px;
  border-radius: 1.25rem;
  overflow: hidden;
  /* Soft vignette edges */
  -webkit-mask-image: radial-gradient(ellipse 85% 90% at 50% 45%, black 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 90% at 50% 45%, black 55%, transparent 100%);
}

.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
  /* Desaturate toward grey + slight transparency */
  filter: grayscale(55%) opacity(0.82) contrast(0.95) brightness(1.04);
  transition: filter 0.4s ease;
}
.hero-photo:hover img {
  filter: grayscale(20%) opacity(0.95) contrast(1) brightness(1.02);
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 4px 14px rgba(60,140,80,0.25); }

.btn-outline {
  border: 1px solid var(--border);
  color: var(--foreground);
}
.btn-outline:hover { background: var(--muted); }

/* =====================================================
   SECTION HEADING
   ===================================================== */
.section-heading { margin-bottom: 3rem; }
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}
.section-heading h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.section-heading p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  max-width: 36rem;
  line-height: 1.75;
}

/* =====================================================
   HIGHLIGHTS GRID (About page)
   ===================================================== */
.highlights-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem var(--px);
}

.highlights-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .highlights-grid { grid-template-columns: repeat(3, 1fr); }
}

.highlight-card {
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(0,0,0,0.08);
  background: var(--card);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.highlight-card:hover { border-color: rgba(60,140,80,0.3); box-shadow: 0 2px 12px rgba(0,0,0,0.06); }

.highlight-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}
.highlight-icon svg { width: 1.25rem; height: 1.25rem; }
.highlight-card h3 {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}
.highlight-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* =====================================================
   IMAGE BAND (About page)
   ===================================================== */
.image-band {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--px) 5rem;
}
.image-band-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .image-band-grid { grid-template-columns: repeat(2, 1fr); }
}
.image-band-grid .img-wrap {
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.image-band-grid .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.image-band-grid .img-wrap:hover img { transform: scale(1.05); }

/* =====================================================
   BLOG LIST PAGE
   ===================================================== */
.blog-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem var(--px) 6rem;
}
@media (min-width: 768px) { .blog-page { padding-top: 6rem; } }

.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  background: var(--muted);
  color: var(--muted-foreground);
  transition: background 0.2s, color 0.2s;
  border: none;
}
.filter-btn:hover { background: var(--accent); color: var(--accent-foreground); }
.filter-btn.active { background: var(--primary); color: var(--primary-foreground); }
.filter-btn svg { width: 0.875rem; height: 0.875rem; }

.blog-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================
   BLOG CARD
   ===================================================== */
.blog-card {
  display: block;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(0,0,0,0.08);
  background: var(--card);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  overflow: hidden;
}
.blog-card:hover {
  border-color: rgba(60,140,80,0.3);
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

.blog-card-thumb {
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 1rem;
  aspect-ratio: 16/9;
}
.blog-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-thumb img { transform: scale(1.05); }

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--accent);
  padding: 0.2rem 0.625rem;
  border-radius: 999px;
}
.category-badge svg { width: 0.75rem; height: 0.75rem; }

.post-date {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.post-date svg { width: 0.75rem; height: 0.75rem; }

.blog-card h3 {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  transition: color 0.2s;
}
.blog-card:hover h3 { color: var(--primary); }

.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.2s;
}
.blog-card:hover .read-more { gap: 0.5rem; }
.read-more svg { width: 0.75rem; height: 0.75rem; }

/* =====================================================
   SINGLE BLOG POST
   ===================================================== */
.single-post {
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem var(--px) 6rem;
}
@media (min-width: 768px) { .single-post { padding-top: 6rem; } }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  transition: color 0.2s;
}
.back-link:hover { color: var(--primary); }
.back-link svg { width: 1rem; height: 1rem; }

.post-cover {
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 2rem;
  aspect-ratio: 16/9;
}
.post-cover img { width: 100%; height: 100%; object-fit: cover; }

.single-post .blog-card-meta { margin-bottom: 1rem; }

.single-post h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.2;
  margin-bottom: 2rem;
}

/* Post content / prose */
.post-content {
  font-size: 1rem;
  line-height: 1.85;
  color: hsl(220, 12%, 28%);
}
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
  font-family: var(--font-serif);
  color: var(--foreground);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.post-content h2 { font-size: 1.5rem; }
.post-content h3 { font-size: 1.2rem; }
.post-content p { margin-bottom: 1.25rem; }
.post-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.post-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.post-content li { margin-bottom: 0.4rem; }
.post-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--foreground);
}
.post-content code {
  font-size: 0.85em;
  background: var(--muted);
  padding: 0.15em 0.4em;
  border-radius: 0.25rem;
}
.post-content pre {
  background: var(--foreground);
  color: var(--background);
  padding: 1.25rem;
  border-radius: var(--radius);
  overflow-x: auto;
  margin-bottom: 1.25rem;
}
.post-content pre code { background: none; padding: 0; color: inherit; }
.post-content hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* =====================================================
   ABOUT PAGE (Resume section, etc.)
   ===================================================== */
.about-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem var(--px) 6rem;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem var(--px) 6rem;
}
@media (min-width: 768px) { .contact-page { padding-top: 6rem; } }

.contact-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 2fr 3fr; gap: 3rem; }
}

.contact-info-items { display: flex; flex-direction: column; gap: 2rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-info-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.contact-info-icon svg { width: 1.25rem; height: 1.25rem; }
.contact-info-item strong { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.25rem; }
.contact-info-item p { font-size: 0.875rem; color: var(--muted-foreground); }

.contact-callout {
  margin-top: 1rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: rgba(145,180,150,0.1);
  border: 1px solid rgba(60,140,80,0.12);
}
.contact-callout strong { display: block; font-size: 0.875rem; margin-bottom: 0.3rem; }
.contact-callout p { font-size: 0.8125rem; color: var(--muted-foreground); line-height: 1.65; }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.875rem; font-weight: 500; color: var(--foreground); }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--foreground);
  background: var(--background);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(60,140,80,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted-foreground); }
.form-group textarea { resize: vertical; min-height: 9rem; }

/* wpcf7 / contact form 7 reset */
.wpcf7-form-control-wrap { display: block; }
.wpcf7-not-valid-tip { font-size: 0.75rem; color: hsl(0, 70%, 50%); margin-top: 0.25rem; display: block; }
.wpcf7-response-output {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
}
.wpcf7-mail-sent-ok { background: var(--accent); color: var(--accent-foreground); border: 1px solid rgba(60,140,80,0.2); }
.wpcf7-validation-errors,
.wpcf7-spam-blocked { background: hsl(0, 80%, 97%); color: hsl(0, 60%, 40%); border: 1px solid hsl(0, 60%, 88%); }

/* =====================================================
   RESUME PAGE
   ===================================================== */
.resume-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem var(--px) 6rem;
}
@media (min-width: 768px) { .resume-page { padding-top: 6rem; } }

.resume-block { margin-bottom: 4rem; }

/* Section title row with icon */
.resume-block-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.resume-block-icon {
  color: var(--primary);
  display: flex; align-items: center;
}
.resume-block-icon svg { width: 1.25rem; height: 1.25rem; }
.resume-block-title h3 {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--foreground);
}

/* Timeline */
.timeline {
  border-left: 2px solid var(--border);
  margin-left: 0.5rem;
}
.timeline-item {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 2rem;
}
.timeline-item.last { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -5.5px;
  top: 4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--background);
  flex-shrink: 0;
}

.timeline-content { display: flex; flex-direction: column; }

.timeline-header {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  margin-bottom: 0.25rem;
}
@media (min-width: 640px) {
  .timeline-header { flex-direction: row; align-items: center; justify-content: space-between; }
}

.timeline-header h4 {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--foreground);
}
.timeline-period {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
  white-space: nowrap;
}
.timeline-company {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.timeline-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* Education + Certifications two-column grid */
.resume-two-col {
  display: grid;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .resume-two-col { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.resume-two-col .resume-block { margin-bottom: 0; }

/* Education cards */
.edu-cards { display: flex; flex-direction: column; gap: 1rem; }
.edu-card {
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.08);
  background: var(--card);
}
.edu-card h4 {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}
.edu-school {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.2rem;
}
.edu-period {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Certifications */
.cert-list { display: flex; flex-direction: column; gap: 0.75rem; }
.cert-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.08);
  background: var(--card);
  font-size: 0.875rem;
  color: var(--foreground);
}
.cert-chevron { color: var(--primary); flex-shrink: 0; display: flex; }
.cert-chevron svg { width: 1rem; height: 1rem; }

/* Skills cloud */
.skills-title {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}
.skills-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-foreground);
  border: 1px solid rgba(60,140,80,0.12);
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--muted);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem var(--px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .footer-inner { flex-direction: row; justify-content: space-between; }
}
.footer-copy { font-size: 0.875rem; color: var(--muted-foreground); }
.footer-links { display: flex; align-items: center; gap: 1.5rem; }
.footer-links a {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary); }

/* =====================================================
   UTILITY
   ===================================================== */
.empty-state {
  text-align: center;
  padding: 5rem 1rem;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}

.wp-block-image { margin: 1.5rem 0; }
.wp-block-image img { border-radius: var(--radius); }
.aligncenter { text-align: center; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 500;
  border: 1px solid var(--border);
  color: var(--foreground); transition: all 0.2s;
}
.pagination a:hover { background: var(--accent); border-color: var(--primary); color: var(--primary); }
.pagination .current { background: var(--primary); color: white; border-color: var(--primary); }
