/* =====================================================
   GIRTIE THEME — Main Stylesheet
   ===================================================== */

/* ─── Design Tokens ───────────────────────────────── */
:root {
  --teal-dark:    #1a5c72;
  --teal-mid:     #2a7d9c;
  --sky-blue:     #8dcfe8;
  --sky-light:    #d6eff9;
  --green:        #4a9440;
  --green-light:  #c8e6c4;
  --orange:       #d4692a;
  --orange-light: #faf0d7;
  --cream:        #f7f2ea;
  --brown:        #8b5e3c;
  --text-dark:    #1e2d35;
  --text-mid:     #4a5568;
  --white:        #ffffff;
}

/* ─── Reset & Base ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; height: auto; }
a   { text-decoration: none; color: inherit; }

/* ─── Top Bar ─────────────────────────────────────── */
.top-bar {
  background: var(--teal-dark);
  color: var(--sky-light);
  text-align: center;
  padding: 8px 20px;
  font-size: 0.975rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.top-bar a {
  color: var(--orange-light);
  text-decoration: underline;
}

/* ─── WordPress default overrides ────────────────── */
/* Reset margins WP block library injects */
.hero h1, .hero h2, .hero h3, .hero p,
.buy-section h2, .buy-section p,
.story-section h2, .story-section p,
.author-section h2, .author-section p,
.newsletter-section h2, .newsletter-section p {
  margin-top: 0;
  margin-bottom: 0;
}

/* Custom logo link — match our nav-logo-link style */
.custom-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.custom-logo-link img,
.custom-logo {
  height: 52px;
  width: auto;
  display: block;
}

/* ─── Header / Nav ────────────────────────────────── */
#site-header {
  background: var(--white);
  border-bottom: 3px solid var(--sky-light);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-link img,
.custom-logo { height: 52px; width: auto; }

.nav-logo-fallback {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  color: var(--teal-dark);
  font-weight: 800;
}
#primary-nav #nav-list {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
  margin: 0; padding: 0;
}
#primary-nav #nav-list li a {
  font-weight: 600;
  font-size: 1.075rem;
  color: var(--text-dark);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
#primary-nav #nav-list li a:hover,
#primary-nav #nav-list li.active > a,
#primary-nav #nav-list li.current-menu-item > a { color: var(--teal-mid); }

#primary-nav #nav-list li a.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 50px;
  transition: background 0.2s;
}
#primary-nav #nav-list li a.nav-cta:hover { background: var(--teal-dark); }

.nav-cart {
  position: relative;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--teal-dark);
  flex-shrink: 0;
}
.nav-cart-count {
  position: absolute;
  top: -6px; right: -8px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-mobile-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--teal-dark);
  border-radius: 2px;
  transition: transform 0.2s;
}

/* ─── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.075rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  border: none;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.btn-primary  { background: var(--orange);    color: var(--white); }
.btn-secondary{ background: var(--teal-dark); color: var(--white); }
.btn-outline  { background: transparent; color: var(--teal-dark); border: 2.5px solid var(--teal-dark); }
.btn-sm       { padding: 9px 20px; font-size: 0.975rem; }

/* ─── Section Helpers ─────────────────────────────── */
.section-label {
  font-size: 0.925rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
  display: block;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 12px;
}
.section-desc {
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 1.175rem;
  font-weight: 300;
}

/* ─── Hero ────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--sky-light) 0%, var(--sky-blue) 50%, #b0dff0 100%);
  padding: 80px 24px 60px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  top: -180px; right: -120px;
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}
.hero-text { flex: 1; }
.hero-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 0.905rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 10px;
}
.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1.0 !important;
  margin-top: 0 !important;
  margin-bottom: 14px;
  text-shadow: 2px 3px 0 rgba(255,255,255,0.6);
  white-space: pre-line;
}
.hero-subtitle {
  font-size: 1.325rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 12px;
  font-style: italic;
}
.hero-desc {
  font-size: 1.125rem;
  color: var(--text-mid);
  max-width: 480px;
  margin-bottom: 36px;
  font-weight: 300;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-book {
  flex: 0 0 300px;
  filter: drop-shadow(0 20px 40px rgba(26,92,114,0.3));
  transform: rotate(2deg);
  transition: transform 0.3s;
}
.hero-book:hover { transform: rotate(0deg) scale(1.03); }
.hero-book img { width: 100%; border-radius: 8px; }

/* ─── Buy Section ─────────────────────────────────── */
.buy-section {
  background: var(--cream);
  padding: 70px 24px;
  text-align: center;
}
.buy-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}
.buy-card {
  background: var(--white);
  border: 2px solid var(--sky-light);
  border-radius: 20px;
  padding: 36px 28px;
  flex: 1;
  min-width: 220px;
  max-width: 260px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.buy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(26,92,114,0.12);
  border-color: var(--teal-mid);
}
.buy-card-icon { font-size: 2.8rem; margin-bottom: 14px; }
.buy-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 8px;
}
.buy-card p {
  font-size: 1.025rem;
  color: var(--text-mid);
  margin-bottom: 22px;
  font-weight: 300;
}

/* ─── Story Section ───────────────────────────────── */
.story-section { background: var(--white); padding: 80px 24px; }
.story-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 70px;
}
.story-image-wrap {
  flex: 0 0 340px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(26,92,114,0.18);
}
.story-image-wrap img { width: 100%; height: 420px; object-fit: cover; object-position: center top; }
.story-text { flex: 1; }
.story-text blockquote {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  font-style: italic;
  color: var(--teal-dark);
  border-left: 5px solid var(--orange);
  padding-left: 20px;
  margin-bottom: 24px;
  line-height: 1.4;
}
.story-text p {
  color: var(--text-mid);
  font-size: 1.175rem;
  font-weight: 300;
  margin-bottom: 16px;
}

/* ─── Author Section ──────────────────────────────── */
.author-section {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-mid) 100%);
  padding: 80px 24px;
  color: var(--white);
}
.author-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}
.author-photo-wrap { flex: 0 0 220px; text-align: center; }
.author-photo-wrap img {
  width: 200px; height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--orange);
  margin: 0 auto 14px;
}
.author-photo-placeholder {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--sky-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  border: 5px solid var(--orange);
  margin: 0 auto 14px;
}
.author-name-label {
  font-weight: 700;
  font-size: 0.975rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-light);
}
.author-text { flex: 1; }
.author-text .section-label  { color: var(--sky-light); }
.author-text .section-title  { color: var(--white); margin-bottom: 16px; }
.author-text p {
  font-size: 1.175rem;
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  margin-bottom: 14px;
}
.social-links { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.social-link {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 1.005rem;
  font-weight: 600;
  transition: background 0.2s;
  border: 1px solid rgba(255,255,255,0.3);
}
.social-link:hover { background: var(--orange); border-color: var(--orange); }

/* ─── Newsletter ──────────────────────────────────── */
.newsletter-section {
  background: var(--orange-light);
  padding: 70px 24px;
  text-align: center;
}
.newsletter-section .section-title { color: var(--teal-dark); }
.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 14px 20px;
  border-radius: 50px;
  border: 2px solid var(--teal-mid);
  font-family: 'Poppins', sans-serif;
  font-size: 1.075rem;
  outline: none;
  color: var(--text-dark);
}
.newsletter-form input[type="email"]:focus { border-color: var(--teal-dark); }

/* ─── Footer ──────────────────────────────────────── */
#site-footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.7);
  padding: 40px 24px 28px;
  text-align: center;
}
.footer-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-links a {
  color: rgba(255,255,255,0.75);
  font-size: 1.025rem;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--orange-light); }
.footer-copy { font-size: 0.945rem; color: rgba(255,255,255,0.45); }

/* ─── Blog Archive ────────────────────────────────── */
.blog-banner {
  background: linear-gradient(160deg, var(--sky-light) 0%, var(--sky-blue) 100%);
  padding: 60px 24px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-banner::before {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  top: -140px; right: -80px;
}
.blog-search {
  display: flex;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(26,92,114,0.15);
}
.blog-search input[type="search"] {
  flex: 1;
  padding: 14px 22px;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1.025rem;
  outline: none;
  color: var(--text-dark);
}
.blog-search button {
  padding: 14px 24px;
  background: var(--teal-dark);
  color: var(--white);
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1.025rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.blog-search button:hover { background: var(--orange); }

.blog-section { padding: 60px 24px 80px; background: var(--cream); }
.blog-inner { max-width: 1100px; margin: 0 auto; }

.blog-grid-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.post-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(26,92,114,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(26,92,114,0.13);
}
.post-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: block;
}
.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-card-img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--sky-light), var(--sky-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.post-card-body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.post-cat {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}
.post-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.post-title a { color: inherit; transition: color 0.2s; }
.post-title a:hover { color: var(--teal-dark); }
.post-excerpt {
  font-size: 1.025rem;
  font-weight: 300;
  color: var(--text-mid);
  margin-bottom: 16px;
  flex: 1;
  line-height: 1.65;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.925rem;
  color: var(--text-mid);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.post-read-more {
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 1.025rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s, color 0.2s;
}
.post-read-more:hover { color: var(--orange); gap: 10px; }

/* Blog Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 28px; }
.sidebar-widget {
  background: var(--white);
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: 0 4px 16px rgba(26,92,114,0.07);
}
.widget-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--sky-light);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.pagination .page-numbers {
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 2px solid var(--sky-light);
  background: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.975rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--text-dark);
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
}

/* ─── WooCommerce / Shop ──────────────────────────── */
.shop-banner {
  background: linear-gradient(160deg, var(--sky-light) 0%, var(--sky-blue) 50%, #b0dff0 100%);
  padding: 60px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.shop-banner::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  top: -180px; right: -120px;
  pointer-events: none;
}
.shop-banner .section-label { color: var(--orange); }
.shop-banner .section-title { color: var(--teal-dark); }
.shop-banner p { font-size: 1.175rem; font-weight: 300; color: var(--text-mid); max-width: 520px; margin: 0 auto; }

.girtie-woo-wrap { max-width: 1100px; margin: 0 auto; padding: 60px 24px 80px; }

ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
ul.products li.product {
  background: var(--white);
  border: 2px solid var(--sky-light);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
ul.products li.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(26,92,114,0.13);
  border-color: var(--sky-blue);
}
ul.products li.product img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  padding: 16px 20px 4px;
}
ul.products li.product .price {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--teal-dark);
  padding: 0 20px 16px;
}
ul.products li.product .button {
  display: block;
  margin: 0 20px 20px;
  padding: 12px 24px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.975rem;
  text-align: center;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
ul.products li.product .button:hover { background: var(--teal-dark); }

/* Trust bar */
.trust-bar { background: var(--teal-dark); padding: 28px 24px; color: var(--white); }
.trust-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
}
.trust-item { flex: 1; min-width: 160px; }
.trust-icon { font-size: 1.8rem; margin-bottom: 6px; }
.trust-label { font-size: 0.975rem; font-weight: 600; }
.trust-sub   { font-size: 0.875rem; color: rgba(255,255,255,0.6); font-weight: 300; }

/* ─── Category / Filter Bars ─────────────────────── */
.category-bar {
  background: var(--white);
  border-bottom: 2px solid var(--sky-light);
  padding: 14px 24px;
  position: sticky;
  top: 83px;
  z-index: 90;
}
.category-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.cat-btn {
  padding: 7px 20px;
  border-radius: 50px;
  border: 2px solid var(--sky-blue);
  background: var(--white);
  color: var(--text-dark);
  font-family: 'Poppins', sans-serif;
  font-size: 0.975rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.cat-btn:hover,
.cat-btn.active {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
}

/* ─── Featured Post (archive first post) ─────────── */
.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 48px;
  box-shadow: 0 8px 32px rgba(26,92,114,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.featured-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(26,92,114,0.15);
}
.featured-post-img {
  background: linear-gradient(135deg, var(--sky-light), var(--green-light));
  min-height: 340px;
  overflow: hidden;
}
.featured-post-img img { width: 100%; height: 100%; object-fit: cover; }
.featured-post-text {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.featured-post .post-title {
  font-size: 1.65rem;
  margin-bottom: 12px;
}
.featured-post .post-excerpt {
  font-size: 1.125rem;
  margin-bottom: 20px;
}
.featured-post .post-meta { margin-bottom: 22px; }
.post-meta-dot { opacity: 0.4; }

/* ─── Sidebar Widget Lists ────────────────────────── */
.widget-cats { list-style: none; }
.widget-cats li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--sky-light);
  font-size: 1.025rem;
}
.widget-cats li:last-child { border-bottom: none; }
.widget-cats a { color: var(--text-dark); font-weight: 600; transition: color 0.2s; }
.widget-cats a:hover { color: var(--teal-mid); }
.widget-count {
  background: var(--sky-light);
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
}

.recent-posts { list-style: none; }
.recent-posts li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--sky-light);
  align-items: center;
}
.recent-posts li:last-child { border-bottom: none; }
.recent-thumb {
  width: 54px; height: 54px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  overflow: hidden;
}
.recent-thumb.bg-sky    { background: var(--sky-light); }
.recent-thumb.bg-green  { background: var(--green-light); }
.recent-thumb.bg-orange { background: var(--orange-light); }
.recent-info .recent-title {
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 3px;
}
.recent-info .recent-title a { color: inherit; transition: color 0.2s; }
.recent-info .recent-title a:hover { color: var(--teal-dark); }
.recent-info .recent-date { font-size: 0.845rem; color: var(--text-mid); font-weight: 300; }

.newsletter-widget p {
  font-size: 1.025rem;
  color: var(--text-mid);
  margin-bottom: 14px;
}
.newsletter-widget input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 2px solid var(--sky-light);
  font-family: 'Poppins', sans-serif;
  font-size: 1.025rem;
  margin-bottom: 10px;
  outline: none;
}
.newsletter-widget input[type="email"]:focus { border-color: var(--teal-dark); }

/* ─── Blog Pagination ─────────────────────────────── */
.blog-pagination { margin-top: 48px; }
.blog-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.blog-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px; height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 2px solid var(--sky-light);
  background: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.2s;
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
}

/* ─── Placeholder bg helpers ──────────────────────── */
.bg-sky    { background: linear-gradient(135deg, var(--sky-light), var(--sky-blue)); }
.bg-green  { background: linear-gradient(135deg, var(--green-light), #a8d5a2); }
.bg-orange { background: linear-gradient(135deg, var(--orange-light), #fde68a); }
.bg-teal   { background: linear-gradient(135deg, var(--sky-light), #a0d4e8); }
.bg-cream  { background: linear-gradient(135deg, var(--cream), #ede8e0); }

/* ─── Single Post ─────────────────────────────────── */
.post-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--teal-dark);
}
.post-hero-img {
  position: absolute;
  inset: 0;
}
.post-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.post-hero-img--placeholder {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-mid) 100%);
}
.post-hero-overlay {
  position: relative;
  width: 100%;
  padding: 60px 24px 40px;
  background: linear-gradient(to top, rgba(26,45,53,0.82) 0%, transparent 100%);
}
.post-hero-inner { max-width: 820px; margin: 0 auto; }
.post-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-top: 10px !important;
  margin-bottom: 16px;
}
.post-hero .post-meta { color: rgba(255,255,255,0.75); margin-bottom: 0; }
.post-hero .post-cats { margin-bottom: 12px; }
.post-hero .post-cat {
  background: rgba(255,255,255,0.2);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}

.post-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}

.post-content {
  font-size: 1.175rem;
  line-height: 1.8;
  color: var(--text-dark);
}
.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 2em;
  margin-bottom: 0.6em;
  color: var(--teal-dark);
  font-weight: 700;
}
.post-content p { margin-bottom: 1.4em; }
.post-content ul,
.post-content ol { margin: 0 0 1.4em 1.5em; }
.post-content li { margin-bottom: 0.4em; }
.post-content blockquote {
  border-left: 5px solid var(--orange);
  padding: 14px 24px;
  margin: 2em 0;
  background: var(--orange-light);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-dark);
}
.post-content img { border-radius: 16px; margin: 1.5em 0; }

/* Author bio box */
.post-author-box {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--cream);
  border-radius: 20px;
  padding: 28px 32px;
  margin-top: 48px;
}
.post-author-avatar img { border-radius: 50%; width: 72px; height: 72px; object-fit: cover; flex-shrink: 0; }
.post-author-name { font-weight: 700; font-size: 1.1rem; color: var(--teal-dark); margin-bottom: 6px; }
.post-author-bio  { font-size: 1.025rem; color: var(--text-mid); line-height: 1.6; }

/* Post navigation */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--sky-light);
}
.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px;
  background: var(--white);
  border: 2px solid var(--sky-light);
  border-radius: 16px;
  transition: border-color 0.2s, background 0.2s;
}
.post-nav-link:hover { border-color: var(--sky-blue); background: var(--sky-light); }
.post-nav-next { text-align: right; }
.post-nav-dir { font-size: 0.845rem; font-weight: 600; color: var(--orange); text-transform: uppercase; letter-spacing: 0.08em; }
.post-nav-title { font-size: 1.025rem; font-weight: 700; color: var(--text-dark); line-height: 1.3; }

/* ─── Generic Page ────────────────────────────────── */
.page-banner {
  background: linear-gradient(160deg, var(--sky-light) 0%, var(--sky-blue) 100%);
  padding: 60px 24px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  top: -140px; right: -80px;
}
.page-banner-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--teal-dark);
  margin: 0 !important;
}
.page-layout {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.page-content {
  font-size: 1.175rem;
  line-height: 1.8;
  color: var(--text-dark);
}
.page-content h2,
.page-content h3 {
  margin-top: 1.8em;
  margin-bottom: 0.5em;
  color: var(--teal-dark);
  font-weight: 700;
}
.page-content p { margin-bottom: 1.4em; }

/* ─── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
  .blog-grid-wrap { grid-template-columns: 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post-img { min-height: 220px; }
  .featured-post-text { padding: 28px 24px; }
}

@media (max-width: 768px) {
  .hero-inner,
  .story-inner,
  .author-inner { flex-direction: column; gap: 36px; text-align: center; }

  .hero-book { flex: 0 0 auto; width: 220px; margin: 0 auto; }
  .hero-desc { margin: 0 auto 28px; }
  .hero-buttons { justify-content: center; }

  .story-image-wrap { flex: 0 0 auto; width: 100%; max-width: 340px; margin: 0 auto; }
  .story-text blockquote { border-left: none; border-top: 5px solid var(--orange); padding: 16px 0 0; }

  .author-inner { text-align: center; }
  .social-links { justify-content: center; }

  .post-nav { grid-template-columns: 1fr; }
  .post-author-box { flex-direction: column; text-align: center; }

  #primary-nav #nav-list { gap: 18px; }
  .nav-mobile-toggle { display: flex; }
  #primary-nav { display: none; }
  #primary-nav.open { display: block; position: absolute; top: 83px; left: 0; right: 0; background: var(--white); border-bottom: 3px solid var(--sky-light); padding: 16px 24px; }
  #primary-nav.open #nav-list { flex-direction: column; gap: 12px; align-items: flex-start; }
}

@media (max-width: 480px) {
  .post-grid { grid-template-columns: 1fr; }
  ul.products { grid-template-columns: 1fr; }
  .post-hero { min-height: 300px; }
}

/* ─── About Page ──────────────────────────────────── */
.about-profile {
  padding: 70px 24px;
  background: var(--white);
}
.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: start;
}
.about-photo {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(26,92,114,0.15);
  display: block;
}
.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--sky-light), var(--green-light));
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-mid);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  padding: 24px;
}
.about-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.about-social-link {
  flex: 1;
  padding: 10px 16px;
  border-radius: 50px;
  background: var(--sky-light);
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.975rem;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
.about-social-link:hover { background: var(--teal-dark); color: var(--white); }

.about-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.about-bio-text p {
  font-size: 1.175rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 1.2em;
}
.about-extra-content { margin-top: 24px; font-size: 1.125rem; line-height: 1.8; }

/* Origin story section */
.about-origin {
  background: var(--cream);
  padding: 70px 24px;
}
.about-origin-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
}
.about-origin-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 1.2em;
}
.about-quote {
  border-left: 5px solid var(--orange);
  padding: 14px 24px;
  margin: 24px 0 0;
  background: var(--orange-light);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-dark);
}
.about-quote cite {
  display: block;
  margin-top: 10px;
  font-size: 0.975rem;
  font-style: normal;
  font-weight: 700;
  color: var(--orange);
}
.about-origin-image { display: flex; align-items: center; justify-content: center; }
.about-origin-img-placeholder {
  background: linear-gradient(135deg, var(--sky-light), var(--green-light));
  border-radius: 24px;
  width: 100%;
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  color: var(--teal-mid);
  font-size: 1rem;
  font-weight: 600;
}
.about-origin-icon { font-size: 4rem; }

/* About CTA section */
.about-cta {
  background: var(--teal-dark);
  padding: 70px 24px;
  text-align: center;
}
.about-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}
.about-cta .section-label { color: var(--sky-light); }
.about-cta p {
  font-size: 1.175rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}
.about-cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-light {
  background: var(--white);
  color: var(--teal-dark);
  border: 2px solid var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  font-size: 1.025rem;
  transition: background 0.2s, color 0.2s;
}
.btn-light:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  font-size: 1.025rem;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* ─── Contact Page ────────────────────────────────── */
.contact-section {
  padding: 70px 24px 80px;
  background: var(--cream);
}
.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}
.contact-heading {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--teal-dark);
  margin-bottom: 10px;
}
.contact-subtext {
  font-size: 1.125rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--text-dark);
}
.required { color: var(--orange); }
.form-group input,
.form-group textarea {
  padding: 13px 16px;
  border-radius: 12px;
  border: 2px solid var(--sky-light);
  font-family: 'Poppins', sans-serif;
  font-size: 1.075rem;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--teal-dark); }
.form-group textarea { resize: vertical; min-height: 140px; }
.btn-block { width: 100%; justify-content: center; }

.contact-success {
  background: var(--green-light);
  border: 2px solid var(--green);
  border-radius: 12px;
  padding: 20px 24px;
  color: #1a4a17;
  font-size: 1.075rem;
  margin-bottom: 24px;
}
.contact-error {
  background: #fee2e2;
  border: 2px solid #f87171;
  border-radius: 12px;
  padding: 16px 20px;
  color: #7f1d1d;
  font-size: 1.025rem;
  margin-bottom: 20px;
}

/* Contact info sidebar */
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
  background: var(--white);
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: 0 4px 16px rgba(26,92,114,0.07);
}
.contact-info-icon { font-size: 2rem; margin-bottom: 10px; }
.contact-info-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 8px;
}
.contact-info-card p {
  font-size: 1.025rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 12px;
}
.contact-link {
  display: inline-block;
  color: var(--orange);
  font-weight: 700;
  font-size: 1.025rem;
  transition: color 0.2s;
  word-break: break-all;
}
.contact-link:hover { color: var(--teal-dark); }
.contact-link-placeholder { color: var(--text-mid); font-size: 1.025rem; }

/* About + Contact responsive */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-photo-wrap { max-width: 320px; margin: 0 auto; }
  .about-origin-inner { grid-template-columns: 1fr; }
  .about-origin-image { display: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-info { display: none; }
}
@media (max-width: 600px) {
  .form-row-2 { grid-template-columns: 1fr; }
}
