/*
Theme Name: FitSabai
Theme URI: https://fitsabai.com
Author: FitSabai Team
Author URI: https://fitsabai.com
Description: A clean, affiliate-optimized WordPress theme for health & fitness blogs. Built for fitsabai.com — featuring article cards, product reviews, sidebar widgets, newsletter CTA, and affiliate disclosure components.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fitsabai
Tags: blog, custom-menu, featured-images, post-formats, sticky-post, threaded-comments, translation-ready, health, fitness, affiliate
*/

/* ─── DESIGN TOKENS ──────────────────────────────────── */
:root {
  --sage:    #5a7f6a;
  --sage-lt: #e8f0eb;
  --sage-dk: #3d5c4a;
  --lime:    #b8d44a;
  --lime-lt: #f0f7d4;
  --warm:    #f5a623;
  --warm-lt: #fff4e0;
  --coral:   #e8644a;
  --cream:   #faf8f3;
  --ink:     #1e2820;
  --ink-60:  #6b7a6e;
  --ink-30:  #b8c2bb;
  --white:   #ffffff;
  --radius:  14px;
  --radius-sm: 8px;
  --shadow:  0 2px 16px rgba(30,40,32,.08);
  --shadow-md: 0 8px 32px rgba(30,40,32,.12);
  --container: 1120px;
}

/* ─── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', 'Noto Sans Thai', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ─── TYPOGRAPHY ──────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', 'Noto Sans Thai', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: .75rem;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

.entry-content h2,
.entry-content h3,
.entry-content h4 { margin-top: 2rem; margin-bottom: .75rem; }
.entry-content p { margin-bottom: 1.25rem; color: var(--ink-60); line-height: 1.8; }
.entry-content ul, .entry-content ol { margin: 0 0 1.25rem 1.5rem; }
.entry-content li { margin-bottom: .4rem; color: var(--ink-60); }
.entry-content a { color: var(--sage); border-bottom: 1px solid var(--sage-lt); }
.entry-content a:hover { border-color: var(--sage); }
.entry-content blockquote {
  border-left: 3px solid var(--sage);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--sage-lt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--sage-dk);
}

/* ─── LAYOUT ──────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.site-content { padding: 48px 0 72px; }
.content-area { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
@media (max-width: 900px) { .content-area { grid-template-columns: 1fr; } }

/* ─── SITE HEADER / NAV ───────────────────────────────── */
#masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,243,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(90,127,106,.12);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}
.site-branding { display: flex; align-items: center; gap: 10px; }
.site-logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--sage);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; line-height: 1; flex-shrink: 0;
}
.site-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 1.2rem;
  color: var(--ink); margin: 0;
}
.site-title a { color: inherit; }
.site-title span { color: var(--sage); }

/* WordPress Nav Menu */
#site-navigation { display: flex; align-items: center; gap: 4px; }
#primary-menu { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
#primary-menu li a {
  padding: 7px 14px; border-radius: 20px;
  font-size: .88rem; font-weight: 500; color: var(--ink-60);
  transition: all .2s; display: block;
}
#primary-menu li a:hover,
#primary-menu li.current-menu-item a { background: var(--sage-lt); color: var(--sage-dk); }
#primary-menu li.menu-cta a {
  background: var(--lime); color: var(--ink) !important;
  font-weight: 600 !important;
}
#primary-menu li.menu-cta a:hover { background: var(--sage); color: white !important; }
.menu-toggle {
  display: none; background: none; border: none;
  font-size: 1.4rem; cursor: pointer; padding: 4px;
  color: var(--ink);
}
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  #site-navigation { position: absolute; top: 64px; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid rgba(90,127,106,.12); padding: 12px 24px; display: none; }
  #site-navigation.toggled { display: block; }
  #primary-menu { flex-direction: column; align-items: flex-start; }
}

/* ─── HERO (front-page / home) ────────────────────────── */
.hero-section {
  padding: 72px 0 56px;
  background: linear-gradient(160deg, var(--sage-lt) 0%, var(--cream) 55%);
  position: relative; overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,212,74,.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--white); border: 1px solid var(--sage-lt);
  border-radius: 20px; padding: 5px 14px 5px 8px;
  margin-bottom: 20px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); flex-shrink: 0; }
.hero-eyebrow span { font-size: .78rem; font-weight: 600; color: var(--sage-dk); }
.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem) !important;
  color: var(--ink); margin-bottom: 18px !important;
}
.hero-title em { font-style: normal; color: var(--sage); }
.hero-lead { font-size: 1.05rem; color: var(--ink-60); max-width: 440px; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 28px; margin-top: 36px;
  padding-top: 28px; border-top: 1px solid rgba(90,127,106,.15);
  flex-wrap: wrap;
}
.stat-num {
  font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--sage);
}
.stat-lbl { font-size: .76rem; color: var(--ink-60); margin-top: 1px; }

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn, button, input[type="submit"] {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 30px;
  font-weight: 600; font-size: .92rem; cursor: pointer;
  transition: all .25s; border: none; font-family: inherit;
  text-decoration: none;
}
.btn-primary {
  background: var(--sage); color: white;
  box-shadow: 0 4px 16px rgba(90,127,106,.3);
}
.btn-primary:hover { background: var(--sage-dk); transform: translateY(-2px); color: white; }
.btn-outline {
  background: transparent; color: var(--sage);
  border: 1.5px solid var(--sage) !important;
}
.btn-outline:hover { background: var(--sage-lt); }
.btn-lime { background: var(--lime); color: var(--ink); font-weight: 700; }
.btn-lime:hover { background: #cae84e; }
.btn-affiliate {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--sage); color: white;
  padding: 12px 18px; border-radius: 10px;
  font-weight: 600; font-size: .9rem; width: 100%;
}
.btn-affiliate:hover { background: var(--sage-dk); color: white; }
.btn-affiliate .note { font-size: .7rem; opacity: .75; font-weight: 400; }
.view-all {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--sage); font-weight: 600; font-size: .88rem;
  border: 1.5px solid var(--sage); padding: 8px 20px; border-radius: 20px;
  transition: all .2s; margin-top: 28px;
}
.view-all:hover { background: var(--sage); color: white; }

/* ─── ARTICLE CARDS ───────────────────────────────────── */
.posts-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  margin-bottom: 28px;
}
@media (max-width: 600px) { .posts-grid { grid-template-columns: 1fr; } }

.post-card {
  background: white; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all .25s;
  border: 1px solid rgba(90,127,106,.06);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card.featured { grid-column: span 2; }
@media (max-width: 600px) { .post-card.featured { grid-column: span 1; } }

.card-thumb-wrap {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dk) 100%);
}
.post-card .card-thumb-wrap { height: 180px; }
.post-card.featured .card-thumb-wrap { height: 240px; }
.card-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; }
.card-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
}
.post-card.featured .card-thumb-placeholder { font-size: 5rem; }
.card-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(30,40,32,.4));
}
.card-category {
  position: absolute; top: 12px; left: 12px;
  background: white; border-radius: 20px;
  font-size: .72rem; font-weight: 600; padding: 4px 12px;
  color: var(--sage-dk);
}
.affiliate-tag {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--warm-lt); color: var(--warm);
  font-size: .7rem; font-weight: 600; padding: 3px 9px; border-radius: 6px;
  margin-bottom: 8px;
}
.card-body { padding: 16px 18px 18px; }
.card-title {
  font-size: 1rem; font-weight: 600; margin-bottom: 8px;
  line-height: 1.4; color: var(--ink);
}
.post-card.featured .card-title { font-size: 1.15rem; }
.card-excerpt {
  font-size: .84rem; color: var(--ink-60); margin-bottom: 14px;
  line-height: 1.6; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta { display: flex; justify-content: space-between; align-items: center; }
.card-author { display: flex; gap: 8px; align-items: center; }
.author-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--sage-lt); color: var(--sage-dk);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; overflow: hidden;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.author-name { font-size: .78rem; color: var(--ink-60); }
.read-time { font-size: .75rem; color: var(--ink-30); }

/* ─── SINGLE POST ─────────────────────────────────────── */
.single-header { margin-bottom: 32px; }
.single-category {
  display: inline-block; background: var(--sage-lt); color: var(--sage-dk);
  font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 20px;
  margin-bottom: 14px;
}
.single-title { font-size: clamp(1.7rem, 3vw, 2.4rem) !important; margin-bottom: 16px !important; }
.single-meta { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-bottom: 24px; }
.single-meta .author { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink-60); }
.single-meta .date { font-size: .84rem; color: var(--ink-30); }
.post-thumbnail { border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; }
.post-thumbnail img { width: 100%; max-height: 460px; object-fit: cover; }

/* ─── AFFILIATE DISCLOSURE ────────────────────────────── */
.affiliate-disclosure {
  background: var(--warm-lt); border: 1px solid rgba(245,166,35,.25);
  border-radius: var(--radius-sm); padding: 12px 16px;
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 28px;
}
.disclosure-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.disclosure-text { font-size: .82rem; color: var(--ink-60); line-height: 1.6; }
.disclosure-text strong { color: var(--ink); }

/* ─── PRODUCT REVIEW BOX ──────────────────────────────── */
.review-box {
  background: white; border: 2px solid var(--sage);
  border-radius: var(--radius); padding: 24px; margin: 32px 0;
  box-shadow: var(--shadow);
}
.review-box-header { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; flex-wrap: wrap; }
.review-product-img {
  width: 100px; height: 100px; border-radius: 10px;
  background: var(--sage-lt); display: flex; align-items: center;
  justify-content: center; font-size: 3rem; flex-shrink: 0; overflow: hidden;
}
.review-product-img img { width: 100%; height: 100%; object-fit: cover; }
.review-box-title { font-size: 1.2rem !important; margin-bottom: 6px !important; }
.review-overall { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.stars { color: var(--warm); font-size: 1rem; }
.score-big {
  font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800;
  color: var(--sage);
}
.review-scores {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin: 16px 0; text-align: center;
}
@media (max-width: 500px) { .review-scores { grid-template-columns: repeat(2, 1fr); } }
.score-item { background: var(--cream); border-radius: 8px; padding: 8px; }
.score-val { font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 800; }
.score-lbl { font-size: .7rem; color: var(--ink-60); }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
@media (max-width: 500px) { .pros-cons { grid-template-columns: 1fr; } }
.pros h4 { color: var(--sage); font-size: .85rem; margin-bottom: 8px; }
.cons h4 { color: var(--coral); font-size: .85rem; margin-bottom: 8px; }
.pros li, .cons li {
  display: flex; gap: 6px; align-items: flex-start;
  font-size: .84rem; color: var(--ink-60); margin-bottom: 6px;
}
.pros li::before { content: '✓'; color: var(--sage); font-weight: 700; flex-shrink: 0; }
.cons li::before { content: '✕'; color: var(--coral); font-weight: 700; flex-shrink: 0; }

/* ─── SIDEBAR ─────────────────────────────────────────── */
.widget-area { display: flex; flex-direction: column; gap: 20px; }
.widget {
  background: white; border-radius: var(--radius);
  padding: 20px; border: 1px solid rgba(90,127,106,.08);
}
.widget-title {
  font-size: .78rem; font-weight: 700; color: var(--ink-60);
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(90,127,106,.1);
}
.widget ul li { margin-bottom: 8px; }
.widget ul li a { font-size: .88rem; color: var(--ink-60); transition: color .15s; }
.widget ul li a:hover { color: var(--sage); }
.popular-posts .popular-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid rgba(90,127,106,.08);
}
.popular-posts .popular-item:last-child { border-bottom: none; }
.pop-num {
  font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 800;
  color: var(--ink-30); min-width: 28px;
}
.pop-title { font-size: .84rem; font-weight: 500; line-height: 1.4; color: var(--ink); }
.pop-meta { font-size: .72rem; color: var(--ink-60); margin-top: 2px; }

/* Deal widget */
.deal-widget {
  background: linear-gradient(135deg, var(--sage-dk) 0%, var(--sage) 100%);
  color: white;
}
.deal-widget .widget-title { color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.15); }
.deal-name { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.deal-desc { font-size: .8rem; opacity: .75; margin-bottom: 12px; }
.deal-discount {
  font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; color: var(--lime);
}
.deal-widget .btn-lime {
  display: block; width: 100%; text-align: center;
  margin-top: 12px; border-radius: 8px; padding: 10px;
}

/* ─── CATEGORY PILLS ──────────────────────────────────── */
.cats-filter {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px;
}
.cat-pill {
  padding: 8px 16px; border-radius: 20px; font-size: .85rem; font-weight: 500;
  border: 1.5px solid var(--ink-30); color: var(--ink-60);
  background: white; cursor: pointer; transition: all .2s;
  text-decoration: none;
}
.cat-pill:hover, .cat-pill.current { border-color: var(--sage); color: var(--sage); background: var(--sage-lt); }
.cat-pill.active { background: var(--sage); color: white; border-color: var(--sage); }

/* ─── SECTION HEADER ──────────────────────────────────── */
.section-header { margin-bottom: 32px; }
.section-eyebrow {
  display: inline-block;
  background: var(--sage-lt); color: var(--sage-dk);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 20px;
  margin-bottom: 10px;
}

/* ─── NEWSLETTER / CTA ────────────────────────────────── */
.newsletter-section { padding: 64px 0; }
.cta-banner {
  background: var(--ink); border-radius: 24px; overflow: hidden;
  padding: 56px 48px; position: relative;
}
@media (max-width: 768px) { .cta-banner { padding: 36px 24px; } }
.cta-banner::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,212,74,.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-banner h2 { color: white; margin-bottom: 8px; }
.cta-banner h2 span { color: var(--lime); }
.cta-banner p { color: rgba(255,255,255,.65); font-size: .95rem; }
.cta-form { display: flex; gap: 10px; flex-wrap: wrap; min-width: 280px; }
.cta-input {
  flex: 1; padding: 13px 18px; border-radius: 30px;
  background: rgba(255,255,255,.1); color: white; outline: none;
  border: 1px solid rgba(255,255,255,.15); font-size: .9rem;
  font-family: inherit; min-width: 180px;
}
.cta-input::placeholder { color: rgba(255,255,255,.4); }
.cta-input:focus { border-color: var(--lime); }
.cta-privacy { color: rgba(255,255,255,.35); font-size: .72rem; margin-top: 8px; }
#newsletter-form .wpcf7-submit { @extend .btn-lime; }

/* ─── TOOLS GRID ──────────────────────────────────────── */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 768px) { .tools-grid { grid-template-columns: 1fr; } }
.tool-card {
  background: white; border-radius: var(--radius); padding: 24px;
  border: 1px solid rgba(90,127,106,.1); text-align: center;
  transition: all .25s; text-decoration: none; display: block;
}
.tool-card:hover { border-color: var(--sage); box-shadow: var(--shadow); }
.tool-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--sage-lt);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin: 0 auto 14px;
}
.tool-card h3 { font-size: .95rem; margin-bottom: 6px; }
.tool-card p { font-size: .82rem; color: var(--ink-60); line-height: 1.5; margin: 0; }
.tool-link { display: inline-flex; align-items: center; gap: 4px; color: var(--sage); font-size: .8rem; font-weight: 600; margin-top: 10px; }

/* ─── COMMENTS ────────────────────────────────────────── */
.comments-area { margin-top: 48px; }
.comments-title { font-size: 1.3rem; margin-bottom: 24px; }
.comment-list { margin: 0 0 32px; }
.comment { padding: 20px 0; border-bottom: 1px solid rgba(90,127,106,.1); }
.comment-author { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.comment-author .avatar { border-radius: 50%; }
.comment-meta { font-size: .82rem; color: var(--ink-60); }
.comment-body p { font-size: .9rem; color: var(--ink-60); }
.comment-form label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 5px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%; padding: 10px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--ink-30); font-family: inherit; font-size: .9rem;
  background: white; margin-bottom: 16px; transition: border-color .2s;
}
.comment-form input:focus, .comment-form textarea:focus {
  outline: none; border-color: var(--sage);
}
.comment-form textarea { height: 120px; resize: vertical; }

/* ─── PAGINATION ──────────────────────────────────────── */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination .page-numbers {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  font-size: .88rem; font-weight: 500; background: white;
  border: 1px solid var(--ink-30); color: var(--ink-60);
  transition: all .2s;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current { background: var(--sage); color: white; border-color: var(--sage); }

/* ─── TAGS ────────────────────────────────────────────── */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-cloud a, .post-tags a {
  display: inline-block; font-size: .75rem; font-weight: 600;
  padding: 4px 12px; border-radius: 6px;
  background: var(--sage-lt); color: var(--sage-dk);
  transition: all .2s;
}
.tag-cloud a:hover, .post-tags a:hover { background: var(--sage); color: white; }
.post-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 28px; }

/* ─── FOOTER ──────────────────────────────────────────── */
#colophon {
  background: var(--ink); color: rgba(255,255,255,.6);
  padding: 56px 0 28px;
}
.footer-widgets {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
@media (max-width: 900px) { .footer-widgets { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-widgets { grid-template-columns: 1fr; } }
.footer-brand .site-title { color: white; font-size: 1.1rem; }
.footer-brand p { font-size: .85rem; margin-top: 12px; line-height: 1.7; max-width: 260px; }
#colophon .widget-title { color: rgba(255,255,255,.5); border-color: rgba(255,255,255,.1); }
#colophon .widget ul li a { color: rgba(255,255,255,.55); font-size: .84rem; }
#colophon .widget ul li a:hover { color: var(--lime); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 12px;
}
.site-info { font-size: .78rem; }
.footer-disclosure { font-size: .72rem; max-width: 500px; line-height: 1.6; opacity: .45; }

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) { :root { --container: 960px; } }
@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .cta-banner { padding: 36px 24px; }
  .posts-grid { grid-template-columns: 1fr; }
  .post-card.featured { grid-column: span 1; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-section { padding: 48px 0 36px; }
}

/* ─── WP DEFAULTS (screen-reader, alignments) ─────────── */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute; width: 1px;
  word-wrap: normal !important;
}
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin: 0 auto 1rem; display: block; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .82rem; color: var(--ink-60); text-align: center; margin-top: 6px; }
.sticky { /* handled by WP */ }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
