/* ==========================================================================
   VOLEXLAB CONSOLIDATED BLOG STYLE
   Targets: header.php, footer.php, index.php, single.php
   ========================================================================== */

/* --- 1. RESET & BRAND BASE --- */
@charset "UTF-8";
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: Montserrat, sans-serif;
    background-color: #f1e9e6; /* Theme Cream */
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, .site-footer h3 {
    font-family: Cinzel, serif;
    color: #102a1e; /* Deep Green */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

a { text-decoration: none; transition: 0.3s; color: inherit; }
img { max-width: 100%; height: auto; display: block; }


/* ==============================
   HEADER
================================= */
.site-header {
  background-color: #f1e9e6;
  -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 8px 20px rgba(16, 42, 30, 0.08);
          box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 8px 20px rgba(16, 42, 30, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.6rem 0;
  height: 100;
}
.site-header__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  min-width: 0;
}

.logo {
  height: 70px;
  width: auto;
}
@media (min-width: 1024px) {
  .logo {
    height: 85px;
  }
}

/* ==============================
   NAVIGATION
================================= */
.nav {
  min-width: 0;
}
.nav__toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav__toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #102A1E;
  margin: 5px 0;
}
.nav__menu {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1.5rem;
  padding: 1.8rem;
  background-color: #faf8f5;
  position: fixed;
  top: 95px;
  right: 0;
  height: 100vh;
  width: 80%;
  max-width: 325px;
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
  -webkit-box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
          box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
}
.nav__menu[aria-expanded=true] {
  -webkit-transform: translateX(0);
          transform: translateX(0);
}
.nav__link {
  color: #102A1E;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.3px;
  position: relative;
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
}

/* ==============================
   DESKTOP MODE (≥ 1200px)
================================= */
@media (min-width: 1400px) {
  .logo {
    height: 85px;
  }
  .nav__toggle {
    display: none;
  }
  .nav__menu {
    position: static;
    height: auto;
    width: auto;
    background: transparent;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    padding: 0;
    gap: 1.2rem;
    -webkit-transform: none;
            transform: none;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  .nav__link {
    font-size: 0.9rem;
    white-space: nowrap;
  }
}
.nav__link:hover {
  color: #1E8A5C;
}
/* ==============================
   DROPDOWN
================================= */
.dropdown {
  position: relative;
}
.dropdown.active > a {
  color: #1E8A5C;
}

.dropdown-menu {
  /* Mobile Default */
  display: none;
  list-style: none;
  background-color: rgba(0, 0, 0, 0.03);
  padding: 0;
  margin: 0;
  width: 100%;
}
.dropdown-menu li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.dropdown-menu a {
  padding: 10px 15px 10px 30px;
  font-size: 0.9rem;
  display: block;
  color: #0f261b;
  text-decoration: none;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.dropdown-menu {
  /* Mobile Active */
}
.dropdown.active .dropdown-menu {
  display: block;
  -webkit-animation: slideDown 0.25s ease;
          animation: slideDown 0.25s ease;
}
.dropdown-menu {
  /* Desktop */
}
@media (min-width: 1024px) {
  .dropdown-menu {
    display: block;
    background-color: #faf8f5;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    -webkit-box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateY(8px);
            transform: translateY(8px);
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    z-index: 1100;
    border-top: 3px solid #C9A24D;
  }
  .dropdown-menu a {
    padding: 12px 20px;
  }
  .dropdown-menu a:hover {
    color:#1E8A5C;
    background-color: #faf8f5;
    -webkit-transform: translateX(4px);
            transform: translateX(4px);
  }
  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

/* ==============================
   ANIMATION
================================= */
@-webkit-keyframes slideDown {
  from {
    opacity: 0;
    -webkit-transform: translateY(-5px);
            transform: translateY(-5px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes slideDown {
  from {
    opacity: 0;
    -webkit-transform: translateY(-5px);
            transform: translateY(-5px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

/* ==========================================================
   BLOG INDEX
   ========================================================== */

.blog-wrapper {
    padding: 4rem 0 5rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: 2fr 1fr;
        gap: 4rem;
    }
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.blog-card {
    background: #fff;
    border-radius: 6px;
    border-top: 4px solid #c9a24d;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(16, 42, 30, 0.05);
    transition: transform .25s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-card img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.blog-meta {
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: .75rem;
    color: #102a1e;
}

.blog-card h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.blog-card h2 a {
    text-decoration: none;
    color: #102a1e;
}

.blog-excerpt {
    margin-bottom: 1.5rem;
}

/* ===== ONE READ MORE STYLE ONLY ===== */

.read-more {
    display: inline-block;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: #102a1e;
    border-bottom: 2px solid #c9a24d;
    padding-bottom: 4px;
}

.read-more:hover {
    color: #c9a24d;
}

/* ==========================================================
   SIDEBAR
   ========================================================== */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.sidebar-widget {
    background: #fff;
    padding: 2rem;
    border-radius: 6px;
    border-left: 4px solid #102a1e;
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget li {
    margin-bottom: .75rem;
}

.sidebar-widget a {
    text-decoration: none;
    color: #333;
}

.sidebar-widget a:hover {
    color: #c9a24d;
}

/* ==========================================================
   SINGLE POST
   ========================================================== */

.page-section-white {
    padding: 5rem 0;
}

.single-post-container {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(16, 42, 30, 0.06);
}

.entry-featured-image img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.entry-content h2,
.entry-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content a {
    color: #102a1e;
    text-decoration: underline;
    text-decoration-color: #c9a24d;
}

.entry-content a:hover {
    color: #c9a24d;
}

/* ==========================================================
   PAGINATION
   ========================================================== */

.pagination {
    margin-top: 3rem;
    display: flex;
    gap: .5rem;
}

.pagination a,
.pagination span {
    padding: .6rem 1rem;
    border: 1px solid #102a1e;
    text-decoration: none;
    font-weight: 600;
    color: #102a1e;
    border-radius: 4px;
}

.pagination .current,
.pagination a:hover {
    background-color: #c9a24d;
    border-color: #c9a24d;
}

.site-footer {
  position: relative;
  background-color: #102A1E;
  background-image: url("../images/footerbg.webp");
  background-size: cover;
  background-position: center;
  color: #f1e9e6;
  padding: 4rem 0 2rem;
  margin-top: auto;
  overflow: hidden;
  /* ---------- Dark Overlay ---------- */
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(16, 42, 30, 0.78);
  z-index: 1;
}
.site-footer {
  /* Keep content above overlay */
}
.site-footer > * {
  position: relative;
  z-index: 2;
}
.site-footer ul a {
  white-space: normal;
}

.site-footer {
  /* ---------- Grid Layout ---------- */
}
.site-footer__grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}
.site-footer {
  /* ---------- BRAND SECTION (Logo & Socials) ---------- */
}
.site-footer__brand {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
.site-footer__brand > a > img {
  height: 80px;
  width: auto;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}
.site-footer__brand .social-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}
.site-footer__brand .social-links a {
  display: inline-block;
  -webkit-transition: opacity 0.2s ease, -webkit-transform 0.2s ease;
  transition: opacity 0.2s ease, -webkit-transform 0.2s ease;
  transition: transform 0.2s ease, opacity 0.2s ease;
  transition: transform 0.2s ease, opacity 0.2s ease, -webkit-transform 0.2s ease;
  opacity: 0.9;
}
.site-footer__brand .social-links a:hover {
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
  opacity: 1;
}
.site-footer__brand .social-links a img {
  width: 32px;
  height: 32px;
  -o-object-fit: contain;
     object-fit: contain;
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
}
.site-footer {
  /* ---------- Typography & Links ---------- */
}
.site-footer h3 {
  color: #C9A24D;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-family: "Cinzel", serif;
  letter-spacing: 0.8px;
  font-weight: 600;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer ul li {
  margin-bottom: 0.75rem;
}
.site-footer ul a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease; 
  font-size: 0.95rem;
  display: inline-block; 
}
.site-footer ul a:hover {
  color: #1E8A5C;
    transform: translateX(5px);
}
.site-footer {
  /* ---------- Footer Email ---------- */
}
.site-footer .footer-email {
  color: #C9A24D;
  display: block;
  margin-top: 1.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.site-footer .footer-email:hover {
  text-decoration: underline;
  color: #ffffff;
}
.site-footer {
  /* ---------- copyright Bar ---------- */
}
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
}
.site-footer__bottom .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.site-footer__bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}
.site-footer__bottom .footer-tagline {
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
@media (min-width: 768px) {
  .container {
    padding: 0 2rem; /* ← ADD THIS BLOCK */
  }
}
/* ==========================================================================
   VOLEXLAB BLOG — LAYOUT FIXES & PROFESSIONAL POLISH
   Add these rules to your blog's consolidated stylesheet.
   They fix: card class mismatches, image spacing, card size, footer hover bug,
   container padding gap, single post layout, and hero section.
   ========================================================================== */


/* ── 1. CONTAINER — missing responsive padding (fixes footer column width) ── */
@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}


/* ── 2. HERO — tighten the sub-hero on blog index ── */
.hero--sub {
  background-color: #102A1E;
  background-image: linear-gradient(rgba(16,42,30,0.88), rgba(16,42,30,0.88));
  background-size: cover;
  background-position: center;
  padding: 3.5rem 0;
  text-align: left;
}

.hero--sub .hero__title {
  font-family: "Cinzel", serif;
  color: #C9A24D;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.hero--sub .hero__text {
  color: rgba(241, 233, 230, 0.75);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0;
}


/* ── 3. BLOG WRAPPER & GRID ── */
.blog-wrapper {
  padding: 3rem 0 4rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: 2fr 1fr;
    gap: 3.5rem;
  }
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;   /* tightened from 4rem — cards were too spread out */
}


/* ── 4. BLOG CARD — smaller, tighter, image flush to top ── */
/*
   index.php outputs these classes:
   .blog-card  (via post_class)
   .card-image, .card-content, .card-meta, .card-title, .card-excerpt
   The old CSS targeted .blog-card img / h2 / .blog-meta — all mismatches.
   These rules target the ACTUAL class names in index.php.
*/

.blog-card {
  background: #fff;
  border-radius: 6px;
  border-top: 4px solid #C9A24D;
  overflow: hidden;               /* clips image to card corners */
  box-shadow: 0 6px 20px rgba(16, 42, 30, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  padding: 0;                     /* remove padding — image must be flush */
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(16, 42, 30, 0.12);
}

/* IMAGE — flush, no gap, fills full width */
.blog-card .card-image {
  display: block;
  overflow: hidden;
  line-height: 0;                 /* kills inline gap under image */
}

.blog-card .card-image img {
  width: 100%;
  height: 220px;                  /* fixed height — keeps cards uniform */
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  margin: 0;                      /* removes any inherited margin */
}

.blog-card:hover .card-image img {
  transform: scale(1.03);
}

/* CONTENT AREA — now has its own padding */
.blog-card .card-content {
  padding: 1.5rem 1.75rem 1.75rem;
}

/* META — date */
.blog-card .card-meta {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #C9A24D;
  margin-bottom: 0.6rem;
}

/* TITLE */
.blog-card .card-title {
  font-family: "Cinzel", serif;
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: #102A1E;
}

.blog-card .card-title a {
  text-decoration: none;
  color: #102A1E;
  transition: color 0.2s ease;
}

.blog-card .card-title a:hover {
  color: #1E8A5C;
}

/* EXCERPT */
.blog-card .card-excerpt {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

/* READ MORE */
.blog-card .read-more {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: #102a1e;
  border-bottom: 2px solid #C9A24D;
  padding-bottom: 3px;
  transition: color 0.2s ease;
}

.blog-card .read-more:hover {
  color: #C9A24D;
}


/* ── 5. SIDEBAR ── */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 110px;               /* sticks below fixed header while scrolling */
}

.sidebar-widget {
  background: #fff;
  padding: 1.75rem;
  border-radius: 6px;
  border-left: 4px solid #102A1E;
  box-shadow: 0 4px 14px rgba(16, 42, 30, 0.05);
}

.sidebar-widget h3 {
  font-family: "Cinzel", serif;
  font-size: 1rem;
  color: #102A1E;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-widget li {
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 0.5rem 0;
}

.sidebar-widget li:last-child {
  border-bottom: none;
}

.sidebar-widget a {
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.sidebar-widget a:hover {
  color: #C9A24D;
}


/* ── 6. SINGLE POST ── */
 .blog-single-wrapper {
  padding: 3rem 0 5rem;
  background-color: #f1e9e6;
}

.blog-article {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(16, 42, 30, 0.07);
}

/* Back link */
.single-navigation {
  padding: 1.5rem 2.5rem 0;
}

@media (max-width: 600px) {
  .single-navigation { padding: 1.25rem 1.25rem 0; }
}


.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-to-blog:hover {
  color: #C9A24D;
}

/* Header */
.single-header {
  padding: 1.75rem 2.5rem 1.75rem;
  border-bottom: 3px solid #C9A24D;
}

@media (max-width: 600px) {
  .single-header { padding: 1.5rem 1.25rem; }
}


.single-title {
  font-family: "Cinzel", serif;
  font-size: clamp(1.35rem, 3.5vw, 2.1rem);
  color: #102A1E;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.single-meta {
  display: flex;
  gap: 0.5rem 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
}

/* Gold separator dot between meta items */
.single-meta span + span::before {
  content: "·";
  margin-right: 0.5rem;
  color: #C9A24D;
}

.single-meta .post-date {
  color: #C9A24D;
}

.single-meta .post-category a {
  color: #102A1E;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.single-meta .post-category a:hover {
  color: #1E8A5C;
}

/* Featured Image — full width, capped height */
.entry-featured-image {
  line-height: 0;
}

.entry-featured-image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
  margin: 0;
}

/* Content */
.entry-content {
  padding: 2.5rem 2.5rem 3rem;
  font-size: 1.02rem;
  line-height: 1.85;
  color: #333;
}

@media (max-width: 600px) {
  .entry-content { padding: 1.75rem 1.25rem 2.5rem; }
}

/* First paragraph pull — subtle visual hook */
.entry-content > p:first-of-type {
  font-size: 1.1rem;
  color: #102A1E;
  line-height: 1.8;
  font-weight: 500;
  border-left: 3px solid #C9A24D;
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

.entry-content h2 {
  font-family: "Cinzel", serif;
  color: #102A1E;
  margin-top: 2.5rem;
  margin-bottom: 0.9rem;
  font-size: 1.4rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.entry-content h3 {
  font-family: "Cinzel", serif;
  color: #102A1E;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.entry-content p { margin-bottom: 1.25rem; }

.entry-content a {
  color: #102A1E;
  text-decoration: underline;
  text-decoration-color: #C9A24D;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.entry-content a:hover { color: #1E8A5C; }

.entry-content ul,
.entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.entry-content li { margin-bottom: 0.5rem; }

.entry-content hr {
  border: none;
  border-top: 2px solid rgba(201, 162, 77, 0.3);
  margin: 2.5rem 0;
}
/* Blockquote */
.entry-content blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem 1.25rem 1.75rem;
  border-left: 4px solid #C9A24D;
  background-color: #faf8f5;
  border-radius: 0 4px 4px 0;
  font-style: italic;
  color: #102A1E;
  font-size: 1.05rem;
  line-height: 1.75;
}

.entry-content blockquote p {
  margin: 0;
}

/* Inline code */
.entry-content code {
  background: #f1e9e6;
  color: #102A1E;
  font-size: 0.88rem;
  padding: 0.15em 0.45em;
  border-radius: 3px;
  font-family: "Courier New", monospace;
}

/* Code blocks */
.entry-content pre {
  background: #102A1E;
  color: #f1e9e6;
  padding: 1.5rem;
  border-radius: 4px;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  line-height: 1.7;
}

.entry-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: inherit;
}
/* Post navigation — prev/next */
.single-footer {
  padding: 0;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
  padding: 1.5rem 2rem;
  text-align: right;
}

.post-navigation .nav-previous {
  border-right: 1px solid rgba(0,0,0,0.07);
}

.post-navigation .nav-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #C9A24D;
  margin-bottom: 0.4rem;
}

.post-navigation a {
  text-decoration: none;
  color: #102A1E;
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.4;
  transition: color 0.2s ease;
  display: block;
}

.post-navigation a:hover { color: #1E8A5C; }

@media (max-width: 600px) {
  .post-navigation { grid-template-columns: 1fr; }
  .post-navigation .nav-previous { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.07); }
  .post-navigation .nav-next { text-align: left; }
  .post-navigation .nav-previous,
  .post-navigation .nav-next { padding: 1.25rem 1.25rem; }
}


/* ── 7. FOOTER HOVER FIX — translateX replaces padding-left ── */
.site-footer ul a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;  /* was: padding-left */
  font-size: 0.95rem;
  display: inline-block;   /* required for transform on <a> tags */
  white-space: normal;     /* allow natural wrapping */
}

.site-footer ul a:hover {
  color: #1E8A5C;
  transform: translateX(5px);
}

/* Reading progress bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #C9A24D, #1E8A5C);
  z-index: 9999;
  transition: width 0.1s linear;
}