/*
Theme Name: Easy Backyard Birding
Theme URI: https://easybackyardbirding.com
Author: Easy Backyard Birding
Description: A warm, welcoming WordPress theme for backyard bird feeding enthusiasts aged 50+. Features Playfair Display/Lora typography, nature-inspired green and gold palette, and three content pillars: Guides, Reviews, and Free Tools.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: easy-backyard-birding
Tags: blog, nature, birds, accessible, green
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg:          #F9F5EE;
  --primary:     #2D5016;
  --accent:      #C8960C;
  --text:        #2C2C2C;
  --card:        #FFFFFF;
  --border:      #E8E0D0;
  --guides:      #2D5016;
  --reviews:     #C8960C;
  --tools:       #A0522D;
  --footer-bg:   #2D5016;
  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'Lora', Georgia, serif;
  --shadow:      0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 28px rgba(0,0,0,0.14);
  --radius:      8px;
  --max:         1200px;
  --nav-h:       72px;
}

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

html { scroll-behavior: smooth; font-size: 18px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

ul, ol { list-style: none; }

/* Skip link */
.skip-link {
  position: absolute; top: -100%; left: 0;
  background: var(--accent); color: #fff;
  padding: 12px 20px; font-family: var(--font-body); font-size: 1rem;
  z-index: 9999; border-radius: 0 0 8px 0; transition: top .2s;
}
.skip-link:focus { top: 0; }

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--primary);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1.4em; }
p:last-child { margin-bottom: 0; }

blockquote {
  border-left: 4px solid var(--accent);
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(200,150,12,.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .2s;
  line-height: 1.3;
  text-align: center;
}

.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover, .btn--primary:focus {
  background: #3d6b20; color: #fff;
  transform: translateY(-1px); box-shadow: 0 4px 14px rgba(45,80,22,.3);
}

.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover, .btn--accent:focus {
  background: #a87a0a; color: #fff;
  transform: translateY(-1px); box-shadow: 0 4px 14px rgba(200,150,12,.3);
}

.btn--tool { background: var(--tools); color: #fff; }
.btn--tool:hover, .btn--tool:focus {
  background: #884520; color: #fff;
  transform: translateY(-1px); box-shadow: 0 4px 14px rgba(160,82,45,.3);
}

.btn--outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn--outline:hover, .btn--outline:focus { background: var(--primary); color: #fff; }

/* ============================================================
   SITE HEADER / NAV
   ============================================================ */
.site-header {
  background: #fff;
  border-bottom: 2px solid var(--border);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  gap: 24px;
}

/* Branding */
.site-branding {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; flex-shrink: 0;
}
.site-branding:hover .site-title { color: var(--accent); }

.site-branding__icon { width: 44px; height: 44px; flex-shrink: 0; }

.site-branding__text { display: flex; flex-direction: column; line-height: 1.2; }

.site-title {
  font-family: var(--font-head);
  font-size: 1.25rem; font-weight: 700;
  color: var(--primary); line-height: 1.15;
  transition: color .2s;
}

.site-tagline {
  font-family: var(--font-body);
  font-size: 0.7rem; color: #6b7c5e;
  font-style: italic; letter-spacing: .04em;
}

/* Main nav */
.main-nav { display: flex; align-items: center; }

.main-nav__list { display: flex; gap: 2px; align-items: center; }

.main-nav__list li a {
  font-family: var(--font-body); font-size: .95rem; font-weight: 600;
  color: var(--text); padding: 8px 13px;
  border-radius: var(--radius); transition: all .2s;
  display: block; white-space: nowrap;
}

.main-nav__list li a:hover,
.main-nav__list li.current-menu-item > a,
.main-nav__list li.current-page-ancestor > a {
  color: var(--primary); background: rgba(45,80,22,.08);
}

.main-nav__list li.current-menu-item > a {
  color: var(--accent); background: rgba(200,150,12,.1);
}

/* Hamburger */
.nav-toggle {
  display: none; background: none;
  border: 2px solid var(--primary); border-radius: var(--radius);
  cursor: pointer; padding: 8px 10px;
  flex-direction: column; gap: 5px;
  width: 46px; height: 46px;
  align-items: center; justify-content: center; flex-shrink: 0;
}

.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--primary); border-radius: 2px;
  transition: all .3s; transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

  .main-nav {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: #fff; border-bottom: 2px solid var(--border);
    padding: 16px 24px 24px;
    transform: translateY(-110%); transition: transform .3s;
    z-index: 999; box-shadow: 0 4px 16px rgba(0,0,0,.1);
  }

  .main-nav.nav-open { transform: translateY(0); }

  .main-nav__list { flex-direction: column; gap: 4px; width: 100%; }
  .main-nav__list li { width: 100%; }
  .main-nav__list li a { padding: 14px 16px; font-size: 1.1rem; display: block; width: 100%; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(160deg, #edf4e3 0%, var(--bg) 65%);
  padding: 72px 24px 64px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

.hero__inner { max-width: 740px; margin: 0 auto; position: relative; z-index: 1; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(45,80,22,.08); color: var(--primary);
  padding: 6px 16px; border-radius: 100px;
  font-size: .82rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 20px; font-family: var(--font-body);
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  color: var(--primary); margin-bottom: 20px;
  font-weight: 700; line-height: 1.15;
}

.hero__title span { color: var(--accent); }

.hero__subtitle {
  font-size: 1.15rem; color: #4a5c3a;
  max-width: 560px; margin: 0 auto 32px;
  line-height: 1.75;
}

.hero__cta {
  display: flex; gap: 16px;
  justify-content: center; flex-wrap: wrap;
}

/* ============================================================
   CATEGORY FEATURE BLOCKS
   ============================================================ */
.category-blocks {
  padding: 72px 24px;
  background: var(--bg);
}

.section-heading {
  text-align: center; margin-bottom: 48px;
}

.section-heading h2 { margin-bottom: 8px; }

.section-heading p {
  color: #5a6b4a; font-size: .98rem; margin-bottom: 0;
}

.category-blocks__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--max); margin: 0 auto;
}

.category-block {
  background: var(--card);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
  text-decoration: none;
  display: flex; flex-direction: column; align-items: center;
}

.category-block:hover, .category-block:focus-within {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
}

.category-block__icon {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; flex-shrink: 0;
}

.category-block--guides .category-block__icon  { background: rgba(45,80,22,.10); }
.category-block--reviews .category-block__icon { background: rgba(200,150,12,.10); }
.category-block--tools .category-block__icon   { background: rgba(160,82,45,.10); }

.category-block__icon svg { width: 38px; height: 38px; }

.category-block--guides .category-block__icon svg  { fill: var(--guides); }
.category-block--reviews .category-block__icon svg { fill: var(--reviews); }
.category-block--tools .category-block__icon svg   { fill: var(--tools); }

.category-block__name {
  font-family: var(--font-head);
  font-size: 1.4rem; font-weight: 700;
  margin-bottom: 12px;
}

.category-block--guides .category-block__name  { color: var(--guides); }
.category-block--reviews .category-block__name { color: var(--reviews); }
.category-block--tools .category-block__name   { color: var(--tools); }

.category-block__desc {
  font-size: .93rem; color: #5a6b4a;
  line-height: 1.65; margin-bottom: 28px; flex-grow: 1;
}

/* Tablet: 2 cols, 3rd centered */
@media (max-width: 900px) and (min-width: 600px) {
  .category-blocks__grid { grid-template-columns: repeat(2, 1fr); }
  .category-block:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 28px) / 2);
  }
}

/* Mobile: 1 col */
@media (max-width: 599px) {
  .category-blocks__grid { grid-template-columns: 1fr; }
  .category-block { padding: 32px 24px; }
}

/* ============================================================
   DECORATIVE DIVIDER
   ============================================================ */
.leaf-divider {
  display: flex; align-items: center;
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
}

.leaf-divider__line {
  flex: 1; height: 1px; background: var(--border);
}

.leaf-divider__ornament {
  padding: 0 20px; flex-shrink: 0; color: var(--accent);
}

.leaf-divider__ornament svg { display: block; width: 56px; height: 22px; }

/* ============================================================
   LATEST POSTS
   ============================================================ */
.latest-posts { padding: 64px 24px 80px; }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--max); margin: 0 auto;
}

/* Post card */
.post-card {
  background: var(--card); border-radius: 12px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  overflow: hidden; transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}

.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.post-card__image {
  position: relative; aspect-ratio: 16/9; overflow: hidden; display: block;
}

.post-card__image img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .4s;
}

.post-card:hover .post-card__image img { transform: scale(1.04); }

.post-card__image-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #c8deba 0%, #8fad7a 100%);
  display: flex; align-items: center; justify-content: center;
  min-height: 180px;
}

.post-card__image-placeholder svg { width: 64px; height: 64px; }

.post-card__body {
  padding: 24px; display: flex; flex-direction: column; flex-grow: 1;
}

.post-card__badge {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  font-size: .73rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; margin-bottom: 12px; color: #fff;
  font-family: var(--font-body); width: fit-content;
}

.badge--guides  { background: var(--guides); }
.badge--reviews { background: var(--reviews); }
.badge--tools   { background: var(--tools); }

.post-card__title {
  font-family: var(--font-head); font-size: 1.12rem; font-weight: 700;
  color: var(--primary); margin-bottom: 10px; line-height: 1.3;
}

.post-card__title a { color: inherit; }
.post-card__title a:hover { color: var(--accent); }

.post-card__excerpt {
  font-size: .9rem; color: #5a6b4a;
  line-height: 1.65; margin-bottom: 20px; flex-grow: 1;
}

.post-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-top: auto;
  padding-top: 16px; border-top: 1px solid var(--border);
}

.post-card__meta { font-size: .78rem; color: #8a9980; }

.post-card__link {
  font-size: .88rem; font-weight: 600; color: var(--primary);
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap .2s, color .2s; white-space: nowrap;
  font-family: var(--font-body);
}

.post-card__link:hover { color: var(--accent); gap: 8px; }
.post-card__link--tool { color: var(--tools); }
.post-card__link--tool:hover { color: #884520; }

.posts-loading {
  grid-column: 1 / -1; text-align: center;
  padding: 48px; color: #8a9980; font-size: .95rem;
}

@media (max-width: 900px) and (min-width: 600px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
  .posts-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTENT WITH SIDEBAR
   ============================================================ */
.content-with-sidebar {
  display: grid; grid-template-columns: 1fr 320px;
  gap: 48px; max-width: var(--max); margin: 0 auto;
  padding: 48px 24px; align-items: start;
}

.main-content { min-width: 0; }

.sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }

.widget {
  background: var(--card); border-radius: 12px;
  padding: 28px 24px; box-shadow: var(--shadow);
  border: 1px solid var(--border); margin-bottom: 28px;
}
.widget:last-child { margin-bottom: 0; }

.widget-title {
  font-family: var(--font-head); font-size: 1.05rem;
  color: var(--primary); font-weight: 700;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.widget ul li {
  padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .93rem;
}
.widget ul li:last-child { border-bottom: none; }

.widget ul li a {
  color: var(--text); display: flex; align-items: center;
  gap: 6px; transition: color .2s, padding-left .2s;
}
.widget ul li a:hover { color: var(--primary); padding-left: 4px; }

@media (max-width: 900px) {
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-post-wrap { max-width: 820px; margin: 0 auto; padding: 48px 24px; }

.single-post__featured {
  border-radius: 12px; overflow: hidden;
  margin-bottom: 32px; aspect-ratio: 16/7;
}
.single-post__featured img { width: 100%; height: 100%; object-fit: cover; }

.single-post__meta-row {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; margin-bottom: 16px;
}

.meta-item {
  font-size: .85rem; color: #8a9980;
  display: flex; align-items: center; gap: 5px;
  font-family: var(--font-body);
}
.meta-item svg { width: 15px; height: 15px; fill: currentColor; opacity: .7; }

.single-post__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 32px; color: var(--primary);
}

.entry-content {
  font-size: 1.03rem; line-height: 1.9; color: var(--text);
}

.entry-content h2 { margin: 2em 0 .75em; font-size: 1.5rem; }
.entry-content h3 { margin: 1.75em 0 .6em; font-size: 1.25rem; }
.entry-content p  { margin-bottom: 1.5em; }

.entry-content ul, .entry-content ol {
  padding-left: 28px; margin-bottom: 1.5em;
}
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: .5em; }
.entry-content img { border-radius: var(--radius); margin: 24px 0; }

.entry-content a {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

/* Tool embed box */
.tool-embed-box {
  background: rgba(160,82,45,.05);
  border: 2px solid rgba(160,82,45,.2);
  border-radius: 12px; padding: 32px;
  margin: 36px 0; text-align: center;
}
.tool-embed-box h3 { color: var(--tools); margin-bottom: 12px; }
.tool-embed-box p  { margin-bottom: 24px; }

/* Social share */
.social-share {
  margin: 48px 0 32px; padding: 28px;
  background: rgba(45,80,22,.04);
  border-radius: 12px; border: 1px solid var(--border);
}
.social-share h3 { font-size: 1rem; margin-bottom: 16px; }

.social-share__btns { display: flex; gap: 12px; flex-wrap: wrap; }

.share-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius);
  font-size: .88rem; font-weight: 600;
  border: none; cursor: pointer; transition: all .2s;
  text-decoration: none; font-family: var(--font-body);
}

.share-btn--pinterest { background: #E60023; color: #fff; }
.share-btn--pinterest:hover { background: #c0001e; color: #fff; }
.share-btn--facebook  { background: #1877F2; color: #fff; }
.share-btn--facebook:hover  { background: #1464cf; color: #fff; }
.share-btn--email     { background: var(--primary); color: #fff; }
.share-btn--email:hover     { background: #3d6b20; color: #fff; }

/* Related posts */
.related-posts {
  margin-top: 56px; padding-top: 40px;
  border-top: 2px solid var(--border);
}
.related-posts h2 { font-size: 1.5rem; margin-bottom: 28px; }

.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

@media (max-width: 700px) {
  .related-grid { grid-template-columns: 1fr; }
  .single-post__featured { aspect-ratio: 16/9; }
}

/* ============================================================
   PAGE TEMPLATE
   ============================================================ */
.page-wrap { max-width: 820px; margin: 0 auto; padding: 56px 24px; }

.entry-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 32px; }

/* ============================================================
   ARCHIVE
   ============================================================ */
.archive-banner {
  background: linear-gradient(160deg, #edf4e3 0%, var(--bg) 100%);
  padding: 56px 24px 48px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.archive-banner::before {
  content: ''; display: block;
  width: 56px; height: 4px;
  background: var(--accent); border-radius: 2px;
  margin: 0 auto 20px;
}

.archive-eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 10px; font-family: var(--font-body); display: block;
}

.archive-banner h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 12px; }

.archive-desc {
  max-width: 540px; margin: 0 auto;
  color: #5a6b4a; font-size: .98rem; line-height: 1.7;
}

.archive-posts {
  max-width: var(--max); margin: 0 auto; padding: 48px 24px 80px;
}

.archive-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-bottom: 48px;
}

@media (max-width: 900px) and (min-width: 600px) {
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
  .archive-grid { grid-template-columns: 1fr; }
}

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }

.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 12px;
  border-radius: var(--radius); font-family: var(--font-body);
  font-size: .93rem; font-weight: 600;
  border: 2px solid var(--border);
  color: var(--text); background: var(--card); transition: all .2s;
}

.pagination a:hover { border-color: var(--primary); color: var(--primary); background: rgba(45,80,22,.06); }
.pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ============================================================
   404
   ============================================================ */
.page-404 {
  text-align: center; padding: 96px 24px;
  max-width: 600px; margin: 0 auto;
}

.page-404__icon {
  width: 100px; height: 100px; border-radius: 50%;
  background: rgba(45,80,22,.08);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
}
.page-404__icon svg { width: 56px; height: 56px; fill: var(--primary); }

.page-404 h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.page-404 p  { color: #5a6b4a; font-size: 1.05rem; margin-bottom: 32px; }

.page-404__search { max-width: 440px; margin: 0 auto 32px; }
.page-404__search form { display: flex; gap: 10px; }

.page-404__links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,.82);
  padding: 64px 24px 32px;
}

.site-footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px; max-width: var(--max); margin: 0 auto 48px;
}

.footer-col h3 {
  font-family: var(--font-head); font-size: 1rem;
  color: #fff; font-weight: 700;
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.2);
}

.footer-col p { font-size: .88rem; line-height: 1.75; color: rgba(255,255,255,.72); margin-bottom: 0; }

.footer-col ul li {
  padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-col ul li:last-child { border-bottom: none; }

.footer-col ul li a {
  font-size: .88rem; color: rgba(255,255,255,.72);
  transition: color .2s, padding-left .2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }

.footer-recent {
  display: flex; gap: 12px; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-recent:last-child { border-bottom: none; }

.footer-recent-thumb {
  width: 50px; height: 50px; border-radius: 6px;
  object-fit: cover; flex-shrink: 0; opacity: .88;
}

.footer-recent-info a {
  font-size: .82rem; color: rgba(255,255,255,.78);
  line-height: 1.35; display: block; transition: color .2s;
}
.footer-recent-info a:hover { color: var(--accent); }

.footer-recent-date {
  font-size: .73rem; color: rgba(255,255,255,.42);
  margin-top: 3px; display: block;
}

.site-footer__bottom {
  max-width: var(--max); margin: 0 auto;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}

.site-footer__copyright,
.site-footer__privacy a {
  font-size: .8rem; color: rgba(255,255,255,.45);
}
.site-footer__privacy a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .footer-col:last-child { grid-column: auto; }
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  padding: 12px 24px; background: rgba(45,80,22,.04);
  border-bottom: 1px solid var(--border); font-size: .83rem; color: #8a9980;
}
.breadcrumbs__inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.breadcrumbs__inner a { color: var(--primary); }
.breadcrumbs__inner a:hover { color: var(--accent); }
.breadcrumbs__sep { color: var(--border); }

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
input[type="text"],
input[type="email"],
input[type="search"],
textarea,
select {
  font-family: var(--font-body); font-size: 1rem; color: var(--text);
  border: 2px solid var(--border); border-radius: var(--radius);
  padding: 12px 16px; background: #fff; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,80,22,.1);
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header, .site-footer, .sidebar, .social-share, .related-posts, .nav-toggle { display: none; }
  body { font-size: 12pt; color: #000; }
}
