/*
Theme Name: SafeSupplementGuide
Theme URI: https://safesupplementguide.com
Author: SafeSupplementGuide Team
Author URI: https://safesupplementguide.com
Description: India's #1 Trusted Supplement Safety Review WordPress Theme
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: safesupplementguide
Tags: supplement, health, reviews, nutrition, blog
*/

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

/* ===================================================
   CSS VARIABLES
=================================================== */
:root {
  --green-deep:   #0d3d2e;
  --green-mid:    #155c42;
  --green-fresh:  #1e8a5e;
  --green-light:  #2db880;
  --gold:         #c9a84c;
  --gold-light:   #e8c97a;
  --cream:        #faf6ef;
  --cream-dark:   #f0e9dc;
  --white:        #ffffff;
  --text-dark:    #0f1f18;
  --text-mid:     #2d4a3e;
  --text-light:   #5a7a6e;
  --shadow:       0 8px 40px rgba(13,61,46,0.12);
  --shadow-hover: 0 20px 60px rgba(13,61,46,0.20);
  --radius:       16px;
  --radius-sm:    8px;
  --transition:   all 0.25s ease;
}

/* ===================================================
   RESET & BASE
=================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text-dark); overflow-x: hidden; font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-fresh); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--green-deep); }
ul, ol { list-style: none; padding: 0; }
input, button, textarea, select { font-family: inherit; }
h1,h2,h3,h4,h5 { line-height: 1.2; }

/* ===================================================
   TOPBAR
=================================================== */
.topbar { background: var(--green-deep); color: #a8d5c0; font-size: 12.5px; font-weight: 500; letter-spacing: 0.04em; padding: 8px 0; text-align: center; position: relative; z-index: 1000; }
.topbar span { color: var(--gold-light); font-weight: 600; }

/* ===================================================
   HEADER
=================================================== */
#masthead { background: var(--white); position: sticky; top: 0; z-index: 999; border-bottom: 1px solid rgba(13,61,46,0.08); box-shadow: 0 2px 20px rgba(13,61,46,0.06); }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }

.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo-icon { width: 42px; height: 42px; background: linear-gradient(135deg, var(--green-fresh), var(--green-deep)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--green-deep); letter-spacing: -0.02em; }
.logo-text span { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; color: var(--green-light); text-transform: uppercase; margin-top: 2px; }

#primary-menu-wrapper { display: flex; align-items: center; flex: 1; justify-content: center; }
#primary-navigation ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
#primary-navigation ul li a { font-size: 14px; font-weight: 500; color: var(--text-mid); padding: 8px 13px; border-radius: var(--radius-sm); transition: var(--transition); display: block; }
#primary-navigation ul li a:hover, #primary-navigation ul li.current-menu-item > a { background: rgba(30,138,94,0.08); color: var(--green-fresh); }
#primary-navigation ul li.menu-cta > a { background: var(--green-fresh) !important; color: var(--white) !important; padding: 9px 18px !important; font-weight: 600 !important; border-radius: 50px !important; margin-left: 6px; }
#primary-navigation ul li.menu-cta > a:hover { background: var(--green-deep) !important; transform: translateY(-1px); }
#primary-navigation ul li { position: relative; }
#primary-navigation ul li ul { display: none; position: absolute; top: calc(100% + 8px); left: 0; background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-hover); min-width: 200px; padding: 8px; border: 1px solid rgba(13,61,46,0.08); flex-direction: column; gap: 2px; z-index: 100; }
#primary-navigation ul li:hover > ul { display: flex; }
#primary-navigation ul li ul li a { font-size: 13.5px; border-radius: 6px; white-space: nowrap; }

.header-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-search-btn { background: none; border: 1.5px solid rgba(13,61,46,0.12); width: 38px; height: 38px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; color: var(--text-mid); transition: var(--transition); }
.header-search-btn:hover { border-color: var(--green-fresh); color: var(--green-fresh); background: rgba(30,138,94,0.05); }

.header-ebook-btn { display: inline-flex; align-items: center; gap: 7px; background: linear-gradient(135deg, var(--gold), #b8942a); color: var(--green-deep); font-size: 13px; font-weight: 700; padding: 9px 16px; border-radius: 50px; text-decoration: none; white-space: nowrap; flex-shrink: 0; transition: var(--transition); box-shadow: 0 3px 12px rgba(201,168,76,0.35); }
.header-ebook-btn:hover { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--green-deep); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,0.45); }
.ebook-btn-icon { font-size: 15px; line-height: 1; }

.menu-toggle { display: none; background: none; border: 1.5px solid rgba(13,61,46,0.15); cursor: pointer; flex-direction: column; gap: 5px; padding: 9px 10px; border-radius: var(--radius-sm); }
.menu-toggle span { width: 22px; height: 2px; background: var(--text-dark); border-radius: 2px; display: block; transition: all 0.25s; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===================================================
   SHARED LAYOUT
=================================================== */
.section { padding: 80px 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

.section-label { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-fresh); background: rgba(30,138,94,0.1); padding: 6px 14px; border-radius: 50px; margin-bottom: 12px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(26px, 3.5vw, 42px); font-weight: 900; color: var(--text-dark); line-height: 1.15; margin-bottom: 12px; letter-spacing: -0.02em; }
.section-sub { font-size: 16px; color: var(--text-light); line-height: 1.7; max-width: 560px; margin-bottom: 40px; }
.section-head-center { text-align: center; margin-bottom: 48px; }
.section-head-center .section-sub { margin-left: auto; margin-right: auto; }
.section-header-flex { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; flex-wrap: wrap; gap: 16px; }
.see-all { font-size: 14px; font-weight: 600; color: var(--green-fresh); text-decoration: none; display: flex; align-items: center; gap: 6px; transition: var(--transition); white-space: nowrap; }
.see-all:hover { color: var(--green-deep); gap: 10px; }
.see-all-light { color: rgba(255,255,255,0.7); }
.see-all-light:hover { color: var(--white); }

/* Buttons */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--green-light); color: var(--green-deep); font-size: 15px; font-weight: 700; padding: 14px 28px; border-radius: 50px; text-decoration: none; transition: var(--transition); border: none; cursor: pointer; box-shadow: 0 5px 18px rgba(45,184,128,0.38); white-space: nowrap; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(45,184,128,0.48); color: var(--green-deep); background: #38d48f; }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: rgba(255,255,255,0.85); font-size: 15px; font-weight: 600; padding: 13px 26px; border-radius: 50px; text-decoration: none; border: 1.5px solid rgba(255,255,255,0.3); transition: var(--transition); cursor: pointer; white-space: nowrap; }
.btn-outline:hover { border-color: var(--green-light); color: var(--green-light); background: rgba(45,184,128,0.08); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: var(--cream); color: var(--green-deep); font-size: 14px; font-weight: 600; padding: 11px 22px; border-radius: 50px; text-decoration: none; border: 1.5px solid rgba(13,61,46,0.15); transition: var(--transition); cursor: pointer; }
.btn-secondary:hover { background: var(--green-mid); color: var(--white); border-color: var(--green-mid); }

/* ===================================================
   HERO SECTION
=================================================== */
.hero-section { background: linear-gradient(135deg, var(--green-deep) 0%, #0a2d21 55%, #1a4a35 100%); position: relative; overflow: hidden; padding: 90px 0 80px; }
.hero-section::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2322c57a' fill-opacity='0.045'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
.hero-blob { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-blob:first-of-type { width: 700px; height: 700px; background: radial-gradient(circle, rgba(30,138,94,0.18) 0%, transparent 70%); right: -150px; top: -150px; }
.hero-blob-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 70%); left: -100px; bottom: -100px; }
.hero-inner { display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: center; position: relative; z-index: 1; }

.hero-content { display: flex; flex-direction: column; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.3); color: var(--gold-light); font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 50px; margin-bottom: 24px; width: fit-content; }
.hero-section h1 { font-family: 'Playfair Display', serif; font-size: clamp(32px, 4.5vw, 56px); font-weight: 900; color: var(--white); line-height: 1.12; margin-bottom: 20px; letter-spacing: -0.02em; }
.hero-section h1 em { color: var(--green-light); font-style: italic; }
.hero-desc { font-size: 17px; color: rgba(255,255,255,0.70); line-height: 1.7; margin-bottom: 32px; max-width: 520px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; gap: 3px; padding: 0 28px; }
.hero-stat:first-child { padding-left: 0; }
.hero-stat strong { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; color: var(--white); line-height: 1; }
.hero-stat span { font-size: 12.5px; color: rgba(255,255,255,0.50); font-weight: 500; }
.hero-stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.15); flex-shrink: 0; }

/* Hero Card */
.hero-card-wrapper { position: relative; }
.hero-card { background: var(--white); border-radius: 24px; padding: 24px; box-shadow: 0 32px 80px rgba(0,0,0,0.28); position: relative; display: flex; flex-direction: column; gap: 0; }
.hero-card-tag { position: absolute; top: -14px; left: 20px; background: var(--gold); color: var(--green-deep); font-size: 10.5px; font-weight: 800; padding: 5px 14px; border-radius: 50px; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.hero-card-img { width: 100%; height: 175px; background: linear-gradient(135deg, #e8f5ee, #d0edde); border-radius: 14px; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 18px; }
.hero-card-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.hero-card-emoji { font-size: 60px; line-height: 1; }
.hero-card-body { display: flex; flex-direction: column; gap: 8px; }
.hero-card-name { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 800; color: var(--text-dark); line-height: 1.25; }
.hero-card-brand { font-size: 12.5px; color: var(--text-light); }
.hero-card-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-card-stars { display: flex; align-items: center; gap: 6px; }
.hero-card-stars .stars { color: var(--gold); font-size: 13px; }
.hero-rating-num { font-weight: 700; font-size: 13.5px; color: var(--text-dark); }
.hero-rating-cnt { font-size: 12px; color: var(--text-light); }
.hero-card-score { display: flex; align-items: center; justify-content: space-between; background: rgba(30,138,94,0.07); border-radius: 8px; padding: 9px 12px; font-size: 13px; color: var(--text-mid); }
.hero-card-score strong { color: var(--green-fresh); font-size: 16px; font-weight: 800; }
.hero-card-bar-wrap { height: 5px; background: rgba(13,61,46,0.1); border-radius: 99px; overflow: hidden; }
.hero-card-bar { height: 100%; background: linear-gradient(90deg, var(--green-light), var(--green-fresh)); border-radius: 99px; transition: width 1s ease; }
.hero-card-btn { display: block; background: linear-gradient(135deg, var(--green-light), var(--green-fresh)); color: var(--white); font-size: 14px; font-weight: 700; padding: 13px 18px; border-radius: 10px; text-align: center; text-decoration: none; transition: var(--transition); box-shadow: 0 4px 14px rgba(45,184,128,0.35); margin-top: 4px; }
.hero-card-btn:hover { opacity: 0.92; transform: translateY(-2px); color: var(--white); box-shadow: 0 8px 22px rgba(45,184,128,0.4); }

/* Hero floating badges */
.hero-float-card { position: absolute; background: var(--white); border-radius: 12px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; box-shadow: 0 8px 28px rgba(13,61,46,0.15); white-space: nowrap; }
.hero-float-card span { font-size: 22px; flex-shrink: 0; }
.hero-float-card div { display: flex; flex-direction: column; }
.hero-float-card strong { font-size: 12.5px; font-weight: 700; color: var(--text-dark); }
.hero-float-card small { font-size: 11px; color: var(--text-light); }
.hero-float-top { top: -20px; right: -24px; animation: floatUp 3s ease-in-out infinite; }
.hero-float-bottom { bottom: 24px; left: -28px; animation: floatUp 3s ease-in-out infinite 1.5s; }
@keyframes floatUp { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ===================================================
   TRUST BAR
=================================================== */
.trust-bar { background: var(--white); border-bottom: 1px solid rgba(13,61,46,0.07); padding: 14px 0; }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--text-mid); white-space: nowrap; }
.trust-icon { width: 32px; height: 32px; background: rgba(30,138,94,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }

/* ===================================================
   CATEGORIES SECTION
=================================================== */
.categories-section { background: var(--cream); }
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-card { background: var(--white); border-radius: var(--radius); padding: 24px 16px; text-align: center; text-decoration: none; border: 1.5px solid transparent; transition: var(--transition); display: block; box-shadow: 0 2px 8px rgba(13,61,46,0.04); }
.cat-card:hover { border-color: var(--green-fresh); transform: translateY(-5px); box-shadow: var(--shadow); }
.cat-icon { font-size: 34px; margin-bottom: 10px; display: block; line-height: 1; }
.cat-name { font-size: 13.5px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; line-height: 1.3; }
.cat-count { font-size: 11.5px; color: var(--text-light); font-weight: 500; }

/* ===================================================
   REVIEWS SECTION
=================================================== */
.reviews-section { background: var(--white); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--cream); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(13,61,46,0.07); transition: var(--transition); text-decoration: none; display: flex; flex-direction: column; }
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(30,138,94,0.18); }
.review-card-img { height: 200px; background: linear-gradient(135deg, #e8f5ee, #d0edde); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; flex-shrink: 0; }
.review-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.review-card:hover .review-card-img img { transform: scale(1.06); }
.review-card-emoji { font-size: 56px; line-height: 1; }
.review-badge { position: absolute; top: 12px; left: 12px; font-size: 10.5px; font-weight: 700; padding: 4px 11px; border-radius: 50px; letter-spacing: 0.06em; text-transform: uppercase; }
.badge-safe    { background: rgba(212,244,226,0.96); color: #0d6b3a; }
.badge-caution { background: rgba(254,243,205,0.96); color: #7d5a00; }
.badge-top     { background: rgba(13,61,46,0.9);      color: var(--white); }
.badge-new     { background: rgba(224,240,255,0.96);  color: #004a9f; }
.review-safety-pill { position: absolute; bottom: 10px; right: 10px; background: rgba(13,61,46,0.85); color: var(--white); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 50px; backdrop-filter: blur(4px); }
.review-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.review-cat { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-fresh); margin-bottom: 7px; }
.review-title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; line-height: 1.3; }
.review-excerpt { font-size: 13.5px; line-height: 1.65; color: var(--text-light); margin-bottom: 16px; flex: 1; }
.review-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid rgba(13,61,46,0.08); margin-top: auto; }
.review-rating { display: flex; align-items: center; gap: 5px; }
.review-rating .stars { font-size: 12.5px; color: var(--gold); letter-spacing: 1px; }
.review-rating span { font-size: 13px; font-weight: 700; color: var(--text-dark); }
.read-more { font-size: 13px; font-weight: 600; color: var(--green-fresh); display: flex; align-items: center; gap: 4px; transition: gap 0.2s; }
.review-card:hover .read-more { gap: 8px; }

/* ===================================================
   TOP PICKS SECTION
=================================================== */
.top-picks-section { background: var(--green-deep); padding: 80px 0; position: relative; overflow: hidden; }
.top-picks-section::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%232db880' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
.top-picks-header { position: relative; z-index: 1; margin-bottom: 36px; align-items: flex-start; }
.top-picks-section .section-title { color: var(--white); }
.top-picks-section .section-label { background: rgba(45,184,128,0.15); color: var(--green-light); }
.top-picks-section .section-sub { color: rgba(255,255,255,0.58); margin-bottom: 0; }

.picks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; z-index: 1; }
.pick-card { background: rgba(255,255,255,0.06); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--radius); padding: 22px; transition: var(--transition); display: flex; flex-direction: column; }
.pick-card:hover { background: rgba(255,255,255,0.10); transform: translateY(-5px); border-color: rgba(45,184,128,0.4); box-shadow: 0 14px 44px rgba(0,0,0,0.22); }
.pick-rank { width: 30px; height: 30px; background: var(--gold); color: var(--green-deep); font-weight: 800; font-size: 14px; border-radius: 7px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; flex-shrink: 0; }
.pick-emoji { font-size: 38px; margin-bottom: 10px; display: block; line-height: 1; }
.pick-name { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 4px; line-height: 1.3; }
.pick-brand { font-size: 12px; color: rgba(255,255,255,0.48); margin-bottom: 14px; }
.pick-bars { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; flex: 1; }
.pick-bar-row { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: rgba(255,255,255,0.58); }
.pick-bar-row span:first-child { width: 58px; flex-shrink: 0; }
.pick-bar-bg { flex: 1; height: 4px; background: rgba(255,255,255,0.10); border-radius: 99px; overflow: hidden; }
.pick-bar-fill { height: 100%; border-radius: 99px; background: var(--green-light); }
.pick-bar-fill.gold { background: var(--gold); }
.pick-price { font-size: 12px; color: rgba(255,255,255,0.48); margin-bottom: 14px; }
.pick-price strong { font-size: 17px; color: var(--white); font-weight: 700; }
.pick-price span { font-size: 12px; color: rgba(255,255,255,0.48); }
.pick-btn { display: block; background: transparent; border: 1.5px solid rgba(45,184,128,0.45); color: var(--green-light); font-size: 13px; font-weight: 700; padding: 10px; border-radius: var(--radius-sm); text-align: center; text-decoration: none; transition: var(--transition); margin-top: auto; }
.pick-btn:hover { background: var(--green-light); color: var(--green-deep); border-color: var(--green-light); }

/* ===================================================
   FEATURED ARTICLES
=================================================== */
.featured-section { background: var(--cream); }
.featured-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
.featured-main { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; display: block; transition: var(--transition); }
.featured-main:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.featured-img { height: 260px; background: linear-gradient(135deg, var(--green-deep), var(--green-mid)); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.featured-main:hover .featured-img img { transform: scale(1.04); }
.featured-img-fallback { font-size: 64px; line-height: 1; }
.featured-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,61,46,0.4) 0%, transparent 50%); pointer-events: none; }
.featured-content { padding: 28px; }
.featured-label { display: inline-block; background: rgba(30,138,94,0.1); color: var(--green-fresh); font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 12px; border-radius: 50px; margin-bottom: 12px; }
.featured-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 800; color: var(--text-dark); line-height: 1.3; margin-bottom: 12px; }
.featured-body { font-size: 14.5px; color: var(--text-light); line-height: 1.7; margin-bottom: 0; }
.featured-meta { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--text-light); margin-top: 16px; flex-wrap: wrap; }
.featured-meta strong { color: var(--text-dark); font-weight: 600; }

.sidebar-articles { display: flex; flex-direction: column; gap: 12px; }
.sidebar-card { background: var(--white); border-radius: var(--radius); padding: 16px; display: flex; gap: 14px; align-items: flex-start; border: 1px solid rgba(13,61,46,0.07); transition: var(--transition); text-decoration: none; }
.sidebar-card:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: rgba(30,138,94,0.15); }
.sidebar-thumb { width: 68px; height: 68px; background: linear-gradient(135deg, #e8f5ee, #d0edde); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; overflow: hidden; }
.sidebar-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.sidebar-thumb span { font-size: 26px; }
.sidebar-info { flex: 1; min-width: 0; }
.sidebar-cat { font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-fresh); margin-bottom: 4px; }
.sidebar-title { font-size: 14px; font-weight: 700; color: var(--text-dark); line-height: 1.35; margin-bottom: 5px; }
.sidebar-date { font-size: 11.5px; color: var(--text-light); }

/* ===================================================
   SAFETY METHODOLOGY
=================================================== */
.safety-section { background: var(--white); }
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.safety-visual { background: linear-gradient(135deg, #f0faf5, #e0f5ea); border-radius: 24px; padding: 36px; }
.safety-score-big { text-align: center; margin-bottom: 24px; }
.score-circle { width: 112px; height: 112px; border-radius: 50%; background: linear-gradient(135deg, var(--green-fresh), var(--green-deep)); display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto 12px; box-shadow: 0 12px 36px rgba(30,138,94,0.35); }
.score-circle strong { font-size: 30px; font-weight: 800; color: var(--white); line-height: 1; }
.score-circle span { font-size: 11px; color: rgba(255,255,255,0.7); }
.score-label { font-size: 13.5px; font-weight: 700; color: var(--green-deep); }
.safety-criteria { display: flex; flex-direction: column; gap: 10px; }
.criteria-row { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--white); border-radius: var(--radius-sm); border: 1px solid rgba(13,61,46,0.08); transition: var(--transition); }
.criteria-row:hover { border-color: rgba(30,138,94,0.2); box-shadow: 0 2px 10px rgba(13,61,46,0.06); }
.criteria-icon { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.ci-pass { background: #d4f4e2; }
.ci-warn { background: #fef3cd; }
.criteria-text { flex: 1; min-width: 0; }
.criteria-text strong { font-size: 13.5px; font-weight: 700; color: var(--text-dark); display: block; margin-bottom: 2px; }
.criteria-text span { font-size: 12px; color: var(--text-light); }
.criteria-status { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 50px; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; flex-shrink: 0; }
.cs-pass { background: #d4f4e2; color: #0d6b3a; }
.cs-warn { background: #fef3cd; color: #7d5a00; }

.safety-text { display: flex; flex-direction: column; }
.safety-intro { font-size: 16px; color: var(--text-light); line-height: 1.75; margin-bottom: 24px; margin-top: 12px; }
.safety-points { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.safety-points li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text-mid); line-height: 1.55; }
.sp-icon { font-size: 17px; margin-top: 1px; flex-shrink: 0; }

/* ===================================================
   eBOOK SECTION
=================================================== */
.ebook-section { background: linear-gradient(135deg, #fffdf6 0%, #fef9ec 60%, #faf6ef 100%); border-top: 1px solid rgba(201,168,76,0.15); border-bottom: 1px solid rgba(201,168,76,0.15); padding: 80px 0; }
.ebook-grid { display: grid; grid-template-columns: 400px 1fr; gap: 72px; align-items: center; }
.ebook-visual { display: flex; justify-content: center; }
.ebook-cover-wrap { position: relative; width: 280px; flex-shrink: 0; }
.ebook-cover-img { width: 100%; border-radius: 12px; box-shadow: 0 24px 64px rgba(13,61,46,0.2), 0 8px 24px rgba(0,0,0,0.1); display: block; }
.ebook-cover-placeholder { width: 100%; aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 64px rgba(13,61,46,0.22), 0 8px 24px rgba(0,0,0,0.12); }
.ebook-cover-inner { width: 100%; height: 100%; background: linear-gradient(160deg, var(--green-deep) 0%, #0b2e21 40%, #1a4a35 100%); padding: 28px 24px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.ebook-cover-inner::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2322c57a' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
.ebook-cover-top { display: flex; flex-direction: column; gap: 8px; }
.ebook-cover-top > span { font-size: 40px; line-height: 1; }
.ebook-cover-tag { display: inline-block; background: var(--gold); color: var(--green-deep); font-size: 9.5px; font-weight: 800; letter-spacing: 0.12em; padding: 3px 9px; border-radius: 4px; width: fit-content; }
.ebook-cover-inner h3 { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 900; color: var(--white); line-height: 1.2; position: relative; z-index: 1; }
.ebook-cover-inner > p { font-size: 12px; color: rgba(255,255,255,0.58); position: relative; z-index: 1; }
.ebook-cover-footer { font-size: 10px; font-weight: 700; color: var(--gold-light); letter-spacing: 0.08em; text-transform: uppercase; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 10px; position: relative; z-index: 1; }
.ebook-float-badge { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; text-align: center; box-shadow: 0 6px 20px rgba(0,0,0,0.15); line-height: 1.1; }
.ebook-float-badge strong { font-size: 13px; font-weight: 800; display: block; }
.ebook-float-badge span { font-size: 9.5px; font-weight: 600; display: block; }
.ebook-float-pages { width: 60px; height: 60px; background: var(--green-fresh); color: var(--white); bottom: 18px; right: -16px; }
.ebook-float-free { width: 50px; height: 50px; background: var(--gold); color: var(--green-deep); top: 18px; right: -12px; }

.ebook-content { display: flex; flex-direction: column; }
.ebook-desc { font-size: 15.5px; line-height: 1.75; color: var(--text-light); margin-bottom: 24px; margin-top: 10px; }
.ebook-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.ebook-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text-mid); line-height: 1.5; padding: 10px 14px; background: var(--white); border-radius: var(--radius-sm); border: 1px solid rgba(13,61,46,0.07); transition: var(--transition); }
.ebook-features li:hover { border-color: rgba(30,138,94,0.2); box-shadow: 0 2px 8px rgba(13,61,46,0.06); }
.ebook-download-btn { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; padding: 16px 32px; border-radius: 50px; background: linear-gradient(135deg, var(--gold), #b8942a); color: var(--green-deep); box-shadow: 0 6px 22px rgba(201,168,76,0.42); font-weight: 800; transition: var(--transition); text-decoration: none; margin-bottom: 20px; }
.ebook-download-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 34px rgba(201,168,76,0.52); color: var(--green-deep); }
.ebook-form { margin-bottom: 10px; }
.ebook-form-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.ebook-input { flex: 1; min-width: 170px; padding: 13px 18px; border: 1.5px solid rgba(13,61,46,0.14); border-radius: 50px; font-size: 14px; background: var(--white); color: var(--text-dark); outline: none; transition: var(--transition); }
.ebook-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.12); }
.ebook-input::placeholder { color: rgba(90,122,110,0.5); }
.ebook-input.input-error { border-color: #e05e4a; box-shadow: 0 0 0 3px rgba(224,94,74,0.12); animation: shake 0.35s ease; }
.ebook-submit-btn { background: linear-gradient(135deg, var(--gold), #b8942a); color: var(--green-deep); font-size: 14px; font-weight: 800; padding: 13px 24px; border-radius: 50px; border: none; cursor: pointer; transition: var(--transition); white-space: nowrap; box-shadow: 0 4px 16px rgba(201,168,76,0.4); }
.ebook-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(201,168,76,0.5); }
.ebook-privacy { font-size: 12px; color: var(--text-light); margin-bottom: 20px; }
.ebook-success { background: #f0faf5; border: 1px solid #b8e8cc; border-radius: var(--radius-sm); padding: 14px 18px; display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 14.5px; color: #0d6b3a; font-weight: 600; }
.ebook-success span { font-size: 22px; }
.ebook-success p { margin: 0; }
.ebook-social-proof { display: flex; align-items: center; gap: 24px; padding-top: 14px; border-top: 1px solid rgba(13,61,46,0.08); flex-wrap: wrap; }
.ebook-downloads-count { display: flex; align-items: center; gap: 8px; }
.ebook-downloads-count strong { font-size: 20px; font-weight: 800; color: var(--green-deep); }
.ebook-downloads-count span { font-size: 12.5px; color: var(--text-light); }
.ebook-rating-proof { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--text-mid); font-weight: 600; }
.ebook-rating-proof .stars { font-size: 13px; letter-spacing: 1px; }

/* ===================================================
   NEWSLETTER SECTION (in footer.php)
=================================================== */
.newsletter-section { background: linear-gradient(135deg, var(--green-mid), var(--green-deep)); padding: 80px 0; }
.nl-inner { max-width: 620px; margin: 0 auto; text-align: center; padding: 0 32px; }
.nl-icon { font-size: 48px; margin-bottom: 18px; display: block; }
.newsletter-section h2 { font-family: 'Playfair Display', serif; font-size: clamp(26px, 4vw, 40px); font-weight: 800; color: var(--white); margin-bottom: 12px; }
.newsletter-section p { font-size: 16px; color: rgba(255,255,255,0.68); line-height: 1.6; margin-bottom: 32px; }
.nl-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto 14px; flex-wrap: wrap; }
.nl-input { flex: 1; min-width: 200px; padding: 14px 20px; border-radius: 50px; border: 2px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.10); color: var(--white); font-size: 14.5px; outline: none; transition: var(--transition); }
.nl-input::placeholder { color: rgba(255,255,255,0.42); }
.nl-input:focus { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.35); }
.nl-btn { background: var(--gold); color: var(--green-deep); font-size: 14px; font-weight: 800; padding: 14px 26px; border-radius: 50px; border: none; cursor: pointer; transition: var(--transition); white-space: nowrap; }
.nl-btn:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,168,76,0.4); }
.nl-note { font-size: 12px; color: rgba(255,255,255,0.42); }

/* ===================================================
   FOOTER
=================================================== */
#colophon { background: var(--green-deep); color: rgba(255,255,255,0.62); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
.footer-brand .logo-text strong { color: var(--white); }
.footer-brand .logo-text span { color: rgba(255,255,255,0.42); }
.footer-brand p { font-size: 13.5px; line-height: 1.75; margin: 14px 0 20px; color: rgba(255,255,255,0.48); max-width: 290px; }
.social-links { display: flex; gap: 8px; flex-wrap: wrap; }
.social-link { width: 34px; height: 34px; background: rgba(255,255,255,0.07); border-radius: 8px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 15px; transition: var(--transition); color: rgba(255,255,255,0.65); }
.social-link:hover { background: rgba(45,184,128,0.22); color: var(--white); transform: translateY(-2px); }
.footer-col h4 { font-size: 12.5px; font-weight: 700; color: var(--white); margin-bottom: 16px; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.50); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--green-light); }
.disclaimer-footer { background: rgba(201,168,76,0.10); border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 28px; font-size: 12px; color: rgba(255,255,255,0.50); line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,0.36); }
.footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 12.5px; color: rgba(255,255,255,0.36); text-decoration: none; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--green-light); }

/* ===================================================
   SINGLE POST / REVIEW
=================================================== */
.single-post-wrapper { max-width: 820px; margin: 56px auto; padding: 0 32px; }
.post-header { margin-bottom: 32px; }
.post-category-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-fresh); background: rgba(30,138,94,0.1); padding: 5px 13px; border-radius: 50px; margin-bottom: 14px; text-decoration: none; transition: var(--transition); }
.post-category-tag:hover { background: rgba(30,138,94,0.17); }
.entry-title { font-family: 'Playfair Display', serif; font-size: clamp(26px, 4vw, 46px); font-weight: 900; color: var(--text-dark); line-height: 1.15; margin-bottom: 18px; }
.post-meta-bar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid rgba(13,61,46,0.08); border-bottom: 1px solid rgba(13,61,46,0.08); margin-bottom: 28px; font-size: 13px; color: var(--text-light); }
.post-thumbnail { width: 100%; border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; }
.post-thumbnail img { width: 100%; height: auto; display: block; }

/* Author */
.author-row { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--green-fresh), var(--green-deep)); display: flex; align-items: center; justify-content: center; font-size: 16px; color: white; font-weight: 700; overflow: hidden; flex-shrink: 0; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-info strong { font-size: 13.5px; font-weight: 700; color: var(--text-dark); display: block; }
.author-info span { font-size: 11.5px; color: var(--text-light); }

/* Entry Content */
.entry-content { font-size: 16.5px; line-height: 1.82; color: var(--text-mid); }
.entry-content h2 { font-family: 'Playfair Display', serif; font-size: 27px; font-weight: 800; color: var(--text-dark); margin: 38px 0 14px; }
.entry-content h3 { font-family: 'Playfair Display', serif; font-size: 21px; font-weight: 700; color: var(--text-dark); margin: 30px 0 12px; }
.entry-content h4 { font-size: 17px; font-weight: 700; color: var(--text-dark); margin: 22px 0 10px; }
.entry-content p { margin-bottom: 18px; }
.entry-content ul { margin: 0 0 18px 22px; list-style: disc; }
.entry-content ol { margin: 0 0 18px 22px; list-style: decimal; }
.entry-content li { margin-bottom: 7px; }
.entry-content blockquote { border-left: 4px solid var(--green-fresh); padding: 14px 22px; background: rgba(30,138,94,0.05); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 26px 0; font-style: italic; }
.entry-content a { color: var(--green-fresh); text-decoration: underline; text-underline-offset: 2px; }
.entry-content a:hover { color: var(--green-deep); }
.entry-content strong { color: var(--text-dark); }
.entry-content table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14.5px; }
.entry-content th { background: var(--green-deep); color: var(--white); padding: 11px 15px; text-align: left; font-weight: 700; font-size: 12.5px; }
.entry-content td { padding: 10px 15px; border-bottom: 1px solid rgba(13,61,46,0.08); }
.entry-content tr:hover td { background: rgba(30,138,94,0.03); }

/* Safety Score Box */
.safety-score-box { background: linear-gradient(135deg, #f0faf5, #e0f5ea); border-radius: var(--radius); padding: 26px; margin: 32px 0; border: 1px solid rgba(30,138,94,0.15); }
.ssb-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.ssb-title { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 800; color: var(--text-dark); }
.ssb-score { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 900; color: var(--green-deep); line-height: 1; }
.ssb-score span { font-size: 17px; color: var(--text-light); font-weight: 400; }
.ssb-bars { display: flex; flex-direction: column; gap: 10px; }
.ssb-bar-row { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--text-mid); }
.ssb-bar-label { width: 95px; flex-shrink: 0; font-weight: 600; }
.ssb-bar-bg { flex: 1; height: 7px; background: rgba(13,61,46,0.1); border-radius: 99px; overflow: hidden; }
.ssb-bar-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--green-light), var(--green-fresh)); }
.ssb-bar-num { width: 32px; text-align: right; font-weight: 700; color: var(--green-deep); }

/* Pros/Cons */
.pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 32px 0; }
.pros-box, .cons-box { border-radius: var(--radius); padding: 22px; }
.pros-box { background: #f0faf5; border: 1px solid #b8e8cc; }
.cons-box { background: #fef8f0; border: 1px solid #f0d5b0; }
.pros-box h4 { color: #0d6b3a; font-size: 14.5px; font-weight: 800; margin-bottom: 12px; }
.cons-box h4 { color: #9a5f00; font-size: 14.5px; font-weight: 800; margin-bottom: 12px; }
.pros-box ul, .cons-box ul { display: flex; flex-direction: column; gap: 7px; list-style: none; }
.pros-box li { font-size: 13.5px; color: var(--text-mid); padding-left: 20px; position: relative; line-height: 1.5; }
.pros-box li::before { content: '✓'; position: absolute; left: 0; color: #0d6b3a; font-weight: 700; }
.cons-box li { font-size: 13.5px; color: var(--text-mid); padding-left: 20px; position: relative; line-height: 1.5; }
.cons-box li::before { content: '✗'; position: absolute; left: 0; color: #9a5f00; font-weight: 700; }

/* Verdict */
.verdict-box { background: var(--green-deep); border-radius: var(--radius); padding: 28px; margin: 32px 0; }
.verdict-box h3 { font-family: 'Playfair Display', serif; font-size: 21px; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.verdict-box p { font-size: 14.5px; color: rgba(255,255,255,0.80); line-height: 1.7; }

/* ===================================================
   BREADCRUMB
=================================================== */
.breadcrumb-bar { background: var(--white); padding: 12px 0; border-bottom: 1px solid rgba(13,61,46,0.07); }
.breadcrumb { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-light); flex-wrap: wrap; }
.breadcrumb a { color: var(--green-fresh); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--green-deep); text-decoration: underline; }
.breadcrumb .sep { color: var(--text-light); user-select: none; }
.breadcrumb .current { color: var(--text-dark); font-weight: 500; }

/* ===================================================
   PAGINATION
=================================================== */
.pagination { display: flex; justify-content: center; gap: 7px; padding: 36px 0; flex-wrap: wrap; }
.pagination a, .pagination .current { padding: 9px 15px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; text-decoration: none; transition: var(--transition); display: flex; align-items: center; }
.pagination a { color: var(--text-mid); background: var(--white); border: 1px solid rgba(13,61,46,0.10); }
.pagination a:hover { background: var(--green-fresh); color: var(--white); border-color: var(--green-fresh); }
.pagination .current { background: var(--green-fresh); color: var(--white); border: 1px solid var(--green-fresh); }

/* ===================================================
   WIDGET / SIDEBAR
=================================================== */
.widget-area { width: 330px; flex-shrink: 0; }
.widget { background: var(--white); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; border: 1px solid rgba(13,61,46,0.07); }
.widget-title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 800; color: var(--text-dark); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--green-light); }
.widget ul li { padding: 7px 0; border-bottom: 1px solid rgba(13,61,46,0.06); font-size: 13.5px; }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--text-mid); font-weight: 500; transition: color 0.2s; }
.widget ul li a:hover { color: var(--green-fresh); }

/* ===================================================
   ARCHIVE
=================================================== */
.archive-header { background: var(--green-deep); padding: 56px 0; }
.archive-header h1 { font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 48px); font-weight: 900; color: var(--white); margin-bottom: 10px; }
.archive-header p { font-size: 16px; color: rgba(255,255,255,0.62); max-width: 520px; line-height: 1.6; }
.archive-grid-wrapper { display: grid; grid-template-columns: 1fr 330px; gap: 36px; align-items: start; padding: 56px 0; }

/* ===================================================
   SEARCH
=================================================== */
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] { flex: 1; padding: 11px 17px; border-radius: 50px; border: 1.5px solid rgba(13,61,46,0.14); background: var(--cream); font-size: 14px; outline: none; transition: var(--transition); color: var(--text-dark); }
.search-form input[type="search"]:focus { border-color: var(--green-fresh); background: var(--white); box-shadow: 0 0 0 3px rgba(30,138,94,0.1); }
.search-form button { background: var(--green-fresh); color: var(--white); border: none; border-radius: 50px; padding: 11px 18px; font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition); }
.search-form button:hover { background: var(--green-deep); }

/* ===================================================
   404
=================================================== */
.error-404 { text-align: center; padding: 100px 32px; }
.error-404 .error-code { font-family: 'Playfair Display', serif; font-size: 120px; font-weight: 900; color: rgba(30,138,94,0.10); line-height: 1; margin-bottom: -20px; }
.error-404 h1 { font-family: 'Playfair Display', serif; font-size: 34px; color: var(--text-dark); margin-bottom: 14px; }
.error-404 p { font-size: 16px; color: var(--text-light); margin-bottom: 28px; }

/* ===================================================
   CARD-POST (template part)
=================================================== */
.card-post { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(13,61,46,0.07); transition: var(--transition); }
.card-post:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-post a { text-decoration: none; display: block; }
.card-post-img { height: 175px; overflow: hidden; background: linear-gradient(135deg, #e8f5ee, #d0edde); display: flex; align-items: center; justify-content: center; font-size: 46px; }
.card-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card-post:hover .card-post-img img { transform: scale(1.05); }
.card-post-body { padding: 18px; }
.card-post-cat { font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-fresh); margin-bottom: 7px; display: block; }
.card-post-title { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--text-dark); line-height: 1.3; margin-bottom: 8px; }
.card-post-meta { font-size: 11.5px; color: var(--text-light); display: flex; gap: 10px; align-items: center; }

/* ===================================================
   ANIMATIONS
=================================================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 60% { transform: translateX(6px); } }
@keyframes floatUp { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.6; } }
.animate-up { animation: fadeUp 0.6s ease both; }
.animate-up:nth-child(1) { animation-delay: 0s; }
.animate-up:nth-child(2) { animation-delay: 0.1s; }
.animate-up:nth-child(3) { animation-delay: 0.2s; }
.animate-up:nth-child(4) { animation-delay: 0.3s; }
.loading-pulse { animation: pulse 1.5s ease infinite; }

/* ===================================================
   UTILITIES
=================================================== */
.text-center { text-align: center; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.hidden { display: none !important; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.skip-link { position: absolute; top: -999px; left: 0; padding: 12px 20px; background: var(--green-fresh); color: var(--white); font-weight: 700; z-index: 9999; text-decoration: none; border-radius: 0 0 var(--radius-sm) 0; }
.skip-link:focus { top: 0; }
.clearfix::after { content: ''; display: table; clear: both; }

/* WP core */
.alignleft  { float: left;  margin-right: 22px; margin-bottom: 14px; }
.alignright { float: right; margin-left: 22px;  margin-bottom: 14px; }
.aligncenter { display: block; margin: 0 auto 14px; }
.wp-block-image img { border-radius: var(--radius-sm); }
.wp-caption-text { font-size: 12.5px; color: var(--text-light); margin-top: 7px; text-align: center; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0; }
.gallery-item { overflow: hidden; border-radius: var(--radius-sm); }
.gallery-item img { width: 100%; height: 190px; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }
.sticky { border-left: 4px solid var(--gold); padding-left: 18px; }

/* ===================================================
   RESPONSIVE — 1100px
=================================================== */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr 380px; gap: 48px; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .picks-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .archive-grid-wrapper { grid-template-columns: 1fr; }
  .widget-area { width: 100%; max-width: 560px; }
  .ebook-grid { grid-template-columns: 340px 1fr; gap: 48px; }
  .ebook-cover-wrap { width: 240px; }
}

/* ===================================================
   RESPONSIVE — 900px (tablets)
=================================================== */
@media (max-width: 900px) {
  .hero-section { padding: 60px 0 52px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-card-wrapper { max-width: 400px; margin: 0 auto; }
  .hero-float-top, .hero-float-bottom { display: none; }
  .featured-grid { grid-template-columns: 1fr; }
  .safety-grid { grid-template-columns: 1fr; gap: 36px; }
  .pros-cons-grid { grid-template-columns: 1fr; }
  .picks-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .ebook-grid { grid-template-columns: 1fr; gap: 40px; }
  .ebook-visual { order: -1; }
  .ebook-cover-wrap { width: 220px; margin: 0 auto; }

  /* Mobile nav */
  #primary-navigation { display: none; }
  #primary-navigation.open { display: block; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); padding: 14px 18px 18px; border-bottom: 1px solid rgba(13,61,46,0.1); box-shadow: 0 10px 30px rgba(13,61,46,0.1); z-index: 998; }
  #primary-navigation.open ul { flex-direction: column; gap: 3px; }
  #primary-navigation.open ul li ul { display: none; position: static; box-shadow: none; padding: 3px 0 3px 14px; }
  .menu-toggle { display: flex; }
  #primary-menu-wrapper { flex: unset; }

  .nl-form { flex-direction: column; align-items: stretch; }
  .nl-input { min-width: unset; width: 100%; }
  .trust-inner { gap: 22px; }
  .section-header-flex { gap: 12px; }
}

/* ===================================================
   RESPONSIVE — 600px (mobile)
=================================================== */
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .header-inner { padding: 0 18px; height: 60px; }
  #primary-navigation.open { top: 60px; }
  .section { padding: 56px 0; }
  .hero-section { padding: 48px 0 44px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn-primary, .hero-btns .btn-outline { text-align: center; justify-content: center; }
  .hero-stats { gap: 0; }
  .hero-stat { padding: 0 18px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .picks-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .single-post-wrapper { padding: 0 18px; margin: 36px auto; }
  .archive-grid-wrapper { padding: 36px 0; }
  .section-title { font-size: clamp(22px, 6vw, 34px); }
  .ebook-form-row { flex-direction: column; }
  .ebook-input { min-width: unset; width: 100%; }
  .ebook-submit-btn { width: 100%; }
  .ebook-cover-wrap { width: 190px; }
  .ebook-float-pages { width: 52px; height: 52px; right: -8px; }
  .ebook-float-free  { width: 44px; height: 44px; right: -6px; }
  .ebook-social-proof { flex-direction: column; align-items: flex-start; gap: 12px; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .header-ebook-btn .ebook-btn-text { display: none; }
  .header-ebook-btn { padding: 9px 12px; }
  .ssb-bar-label { width: 68px; font-size: 12px; }
  .pros-cons-grid { grid-template-columns: 1fr; }
  .hero-card-wrapper { max-width: 100%; }
  .picks-grid { grid-template-columns: 1fr; }
}

/* ===================================================
   PRINT
=================================================== */
@media print {
  .topbar, #masthead, .trust-bar, .newsletter-section, #colophon, .menu-toggle { display: none !important; }
  body { font-size: 12pt; color: #000; background: #fff; }
  .entry-content a::after { content: " (" attr(href) ")"; font-size: 10pt; color: #555; }
}

/* ===================================================
   POST HERO WRAP
=================================================== */
.post-hero-wrap {
  background: var(--white);
  padding: 48px 0 36px;
  border-bottom: 1px solid rgba(13,61,46,0.07);
}
.post-top-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.post-read-time {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}
.post-hero-wrap .entry-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.8vw, 48px);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.13;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  max-width: 860px;
}

/* Byline */
.post-byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.post-byline-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.author-avatar-wrap { flex-shrink: 0; }
.author-av-img {
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  object-fit: cover;
  border: 2px solid rgba(30,138,94,0.15);
  display: block;
}
.post-star-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 5px 12px;
  border-radius: 50px;
}
.post-star-rating .stars { color: var(--gold); font-size: 13px; }
.rating-cnt-small { font-size: 12px; color: var(--text-light); font-weight: 400; }

/* Share Buttons */
.post-share-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.share-fb { background: #1877F2; color: var(--white); font-size: 16px; }
.share-fb:hover { background: #0d63d6; color: var(--white); transform: translateY(-2px); }
.share-tw { background: #000; color: var(--white); font-size: 13px; }
.share-tw:hover { background: #333; color: var(--white); transform: translateY(-2px); }
.share-wa { background: #25D366; color: var(--white); font-size: 16px; }
.share-wa:hover { background: #1aaf55; color: var(--white); transform: translateY(-2px); }
.share-copy { background: var(--cream-dark); color: var(--text-mid); font-size: 15px; }
.share-copy:hover { background: var(--green-light); color: var(--white); transform: translateY(-2px); }
.share-copy.copied { background: var(--green-fresh); color: var(--white); }

/* ===================================================
   FEATURED IMAGE — below hero
=================================================== */
.post-featured-img-wrap {
  background: var(--white);
  padding: 0 0 48px;
}
.post-featured-img {
  border-radius: 20px;
  overflow: hidden;
  max-height: 520px;
  box-shadow: 0 8px 40px rgba(13,61,46,0.1);
}
.post-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===================================================
   SINGLE POST LAYOUT — 2 column
=================================================== */
.single-post-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
  padding: 56px 0 80px;
}
.single-post-main { min-width: 0; }
.single-article, .single-review-article { display: flex; flex-direction: column; gap: 0; }

/* ===================================================
   ENTRY CONTENT — full richness
=================================================== */
.entry-content {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 0;
}
.entry-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 44px 0 16px;
  line-height: 1.2;
  scroll-margin-top: 90px;
}
.entry-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 34px 0 14px;
  line-height: 1.25;
  scroll-margin-top: 90px;
}
.entry-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 26px 0 10px;
}
.entry-content p { margin-bottom: 20px; }
.entry-content ul { margin: 0 0 20px 22px; list-style: disc; }
.entry-content ol { margin: 0 0 20px 22px; list-style: decimal; }
.entry-content li { margin-bottom: 9px; line-height: 1.7; }
.entry-content blockquote {
  border-left: 4px solid var(--green-fresh);
  padding: 18px 24px;
  background: rgba(30,138,94,0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
  font-style: italic;
  font-size: 16.5px;
  color: var(--text-mid);
}
.entry-content blockquote cite { font-style: normal; font-size: 13px; color: var(--text-light); display: block; margin-top: 8px; }
.entry-content a { color: var(--green-fresh); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--green-deep); }
.entry-content strong { color: var(--text-dark); font-weight: 700; }
.entry-content em { color: var(--green-mid); font-style: italic; }
.entry-content img { border-radius: var(--radius-sm); margin: 24px 0; width: 100%; height: auto; }
/* Tables */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 14.5px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(13,61,46,0.07);
}
.entry-content thead th {
  background: var(--green-deep);
  color: var(--white);
  padding: 13px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.entry-content tbody tr:nth-child(even) td { background: rgba(30,138,94,0.03); }
.entry-content td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(13,61,46,0.07);
  color: var(--text-mid);
  vertical-align: top;
}
.entry-content tbody tr:last-child td { border-bottom: none; }
.entry-content tbody tr:hover td { background: rgba(30,138,94,0.05); }
/* Key Takeaways / Callout boxes auto-styled */
.entry-content .wp-block-pullquote,
.key-takeaways-box {
  background: linear-gradient(135deg, #f0faf5, #e0f5ea);
  border: 1px solid rgba(30,138,94,0.2);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 36px 0;
}
.entry-content .wp-block-pullquote p { font-size: 18px; color: var(--green-deep); font-weight: 600; font-style: normal; }
/* Code */
.entry-content code { background: rgba(13,61,46,0.08); color: var(--green-deep); padding: 2px 7px; border-radius: 4px; font-size: 14px; }
.entry-content pre { background: var(--green-deep); color: #d4f0e0; padding: 20px 24px; border-radius: var(--radius-sm); overflow-x: auto; margin: 24px 0; font-size: 14px; line-height: 1.65; }

/* ===================================================
   REVIEW SCORE BOX (top of review)
=================================================== */
.review-score-box {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  background: linear-gradient(135deg, #f0faf5, #e2f5ea);
  border: 1px solid rgba(30,138,94,0.18);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 28px;
}
.rsb-left { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; gap: 6px; }
.rsb-overall-num {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 900;
  color: var(--green-deep);
  line-height: 1;
}
.rsb-overall-num span { font-size: 22px; color: var(--text-light); font-weight: 400; }
.rsb-overall-label { font-size: 12px; font-weight: 700; color: var(--green-fresh); text-transform: uppercase; letter-spacing: 0.08em; text-align: center; }
.rsb-stars { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--text-dark); }
.rsb-stars .stars { color: var(--gold); font-size: 13px; }
.rsb-bars { flex: 1; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.rsb-bar-row { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-mid); }
.rsb-label { width: 70px; flex-shrink: 0; font-weight: 600; font-size: 13px; }
.rsb-bar-bg { flex: 1; height: 8px; background: rgba(13,61,46,0.10); border-radius: 99px; overflow: hidden; }
.rsb-bar-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--green-light), var(--green-fresh)); transition: width 0.8s ease; }
.rsb-score-num { width: 28px; text-align: right; font-weight: 700; color: var(--green-deep); font-size: 14px; }

/* ===================================================
   PRODUCT INFO CARD
=================================================== */
.product-info-card {
  background: var(--white);
  border: 1.5px solid rgba(13,61,46,0.10);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 2px 12px rgba(13,61,46,0.05);
}
.pic-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(13,61,46,0.08);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}
.pic-header span { font-size: 18px; }
.pic-body { display: flex; flex-direction: column; gap: 0; margin-bottom: 18px; }
.pic-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(13,61,46,0.06);
  font-size: 14px;
}
.pic-row:last-child { border-bottom: none; }
.pic-key { color: var(--text-light); font-weight: 500; flex-shrink: 0; min-width: 90px; }
.pic-val { color: var(--text-dark); font-weight: 600; }
.pic-price { color: var(--green-deep) !important; font-size: 18px !important; font-weight: 800 !important; }
.pic-buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FF9900;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 800;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(255,153,0,0.35);
}
.pic-buy-btn:hover { background: #e88c00; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(255,153,0,0.4); color: var(--green-deep); }

/* ===================================================
   POST TAGS
=================================================== */
.post-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 36px 0 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(13,61,46,0.08);
}
.post-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--cream);
  border: 1px solid rgba(13,61,46,0.10);
  padding: 5px 12px;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
}
.post-tag:hover { background: var(--green-fresh); color: var(--white); border-color: var(--green-fresh); }

/* ===================================================
   MEDICAL DISCLAIMER BOX
=================================================== */
.post-disclaimer-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.25);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  margin: 36px 0 28px;
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.65;
}
.disclaimer-icon { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.post-disclaimer-box strong { color: var(--text-dark); display: block; margin-bottom: 4px; }

/* ===================================================
   AUTHOR BOX
=================================================== */
.post-author-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--cream);
  border: 1px solid rgba(13,61,46,0.08);
  border-radius: var(--radius);
  padding: 24px;
  margin: 0 0 36px;
}
.author-box-avatar { flex-shrink: 0; }
.author-box-img {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  object-fit: cover;
  border: 3px solid rgba(30,138,94,0.15);
  display: block;
}
.author-box-info { flex: 1; min-width: 0; }
.author-box-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-fresh);
  margin-bottom: 4px;
}
.author-box-name { font-size: 17px; font-weight: 800; color: var(--text-dark); display: block; margin-bottom: 6px; }
.author-box-bio { font-size: 14px; color: var(--text-light); line-height: 1.6; margin: 0; }

/* ===================================================
   PREV / NEXT NAVIGATION
=================================================== */
.post-prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 48px;
}
.prevnext-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid rgba(13,61,46,0.09);
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--transition);
}
.prevnext-card:hover { border-color: var(--green-fresh); box-shadow: var(--shadow); transform: translateY(-3px); }
.prevnext-next { text-align: right; }
.prevnext-dir {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-fresh);
}
.prevnext-title { font-size: 14px; font-weight: 700; color: var(--text-dark); line-height: 1.35; }

/* ===================================================
   RELATED ARTICLES / REVIEWS
=================================================== */
.related-posts-section { margin: 0 0 48px; }
.related-posts-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.related-posts-sub { font-size: 14px; color: var(--text-light); margin-bottom: 22px; }
.related-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(13,61,46,0.08);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(30,138,94,0.18); }
.related-card-img {
  height: 150px;
  background: linear-gradient(135deg, #e8f5ee, #d0edde);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  overflow: hidden;
  flex-shrink: 0;
}
.related-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.related-card:hover .related-card-img img { transform: scale(1.05); }
.related-card-img span { font-size: 40px; }
.related-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.related-card-cat {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-fresh);
}
.related-card-title { font-size: 14px; font-weight: 700; color: var(--text-dark); line-height: 1.35; flex: 1; }
.related-card-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-light);
  flex-wrap: wrap;
  margin-top: auto;
}
.related-author-av { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.related-arrow { margin-left: auto; color: var(--green-fresh); font-size: 13px; font-weight: 700; }

/* ===================================================
   STICKY SIDEBAR
=================================================== */
.single-post-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(13,61,46,0.15) transparent;
}
.single-post-sidebar::-webkit-scrollbar { width: 4px; }
.single-post-sidebar::-webkit-scrollbar-thumb { background: rgba(13,61,46,0.15); border-radius: 2px; }

/* TOC Box */
.sidebar-toc-box {
  background: var(--white);
  border: 1px solid rgba(13,61,46,0.08);
  border-radius: var(--radius);
  padding: 20px;
}
.sidebar-toc-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-light);
}
.sidebar-toc-list { display: flex; flex-direction: column; gap: 0; }
.toc-loading { font-size: 13px; color: var(--text-light); }
.toc-link {
  display: block;
  font-size: 13.5px;
  color: var(--text-mid);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(13,61,46,0.06);
  line-height: 1.4;
  transition: color 0.2s, padding-left 0.2s;
  font-weight: 500;
}
.toc-link:last-child { border-bottom: none; }
.toc-link:hover, .toc-link.active { color: var(--green-fresh); padding-left: 6px; }
.toc-link.toc-h3 { font-size: 12.5px; padding-left: 14px; color: var(--text-light); }
.toc-link.toc-h3:hover { color: var(--green-fresh); padding-left: 18px; }

/* Sidebar Score Widget (reviews) */
.sidebar-score-widget {
  background: linear-gradient(135deg, var(--green-fresh), var(--green-deep));
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  color: var(--white);
}
.ssw-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.ssw-score { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 900; color: var(--white); line-height: 1; margin-bottom: 18px; }
.ssw-score span { font-size: 20px; color: rgba(255,255,255,0.6); font-weight: 400; }
.ssw-btn {
  display: block;
  background: #FF9900;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
}
.ssw-btn:hover { background: #e88c00; color: var(--green-deep); transform: translateY(-2px); }

/* ===================================================
   COMMENTS SECTION
=================================================== */
#comments { margin-top: 48px; padding-top: 36px; border-top: 1px solid rgba(13,61,46,0.08); }
.comments-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 800; color: var(--text-dark); margin-bottom: 24px; }
.comment-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.comment-body { background: var(--cream); border: 1px solid rgba(13,61,46,0.07); border-radius: var(--radius); padding: 20px; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 12.5px; color: var(--text-light); margin-bottom: 8px; }
.comment-content p { font-size: 15px; color: var(--text-mid); line-height: 1.65; margin-bottom: 0; }
.reply a { font-size: 13px; font-weight: 600; color: var(--green-fresh); text-decoration: none; }
.comment-respond { margin-top: 36px; background: var(--white); border: 1px solid rgba(13,61,46,0.08); border-radius: var(--radius); padding: 28px; }
.comment-reply-title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 800; color: var(--text-dark); margin-bottom: 20px; }
.comment-form label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid rgba(13,61,46,0.14);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
  margin-bottom: 16px;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--green-fresh); background: var(--white); box-shadow: 0 0 0 3px rgba(30,138,94,0.08); }
.comment-form textarea { min-height: 130px; resize: vertical; }
.comment-form .submit {
  background: var(--green-fresh);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: var(--transition);
}
.comment-form .submit:hover { background: var(--green-deep); transform: translateY(-2px); }

/* ===================================================
   RESPONSIVE — single post
=================================================== */
@media (max-width: 1100px) {
  .single-post-layout { grid-template-columns: 1fr 290px; gap: 36px; }
  .related-posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .single-post-layout { grid-template-columns: 1fr; }
  .single-post-sidebar { position: static; max-height: unset; overflow-y: visible; }
  .sidebar-toc-box { display: none; }
  .post-prevnext { grid-template-columns: 1fr; }
  .related-posts-grid { grid-template-columns: repeat(2, 1fr); }
  .review-score-box { flex-direction: column; gap: 20px; }
  .rsb-left { flex-direction: row; align-items: center; gap: 16px; }
  .rsb-overall-num { font-size: 40px; }
}
@media (max-width: 600px) {
  .post-hero-wrap { padding: 32px 0 24px; }
  .post-byline { flex-direction: column; align-items: flex-start; gap: 12px; }
  .post-byline-left { flex-wrap: wrap; gap: 10px; }
  .post-featured-img { border-radius: 12px; }
  .single-post-layout { padding: 36px 0 60px; }
  .related-posts-grid { grid-template-columns: 1fr; }
  .post-prevnext { grid-template-columns: 1fr; }
  .review-score-box { padding: 20px; }
  .rsb-left { flex-direction: column; align-items: flex-start; }
  .product-info-card { padding: 18px; }
  .post-author-box { flex-direction: column; }
  .author-box-img { width: 56px !important; height: 56px !important; }
  .post-share-btns { flex-wrap: wrap; }
  .entry-content h2 { font-size: 22px; }
  .entry-content h3 { font-size: 19px; }
  .entry-content { font-size: 16px; }
  .entry-content table { font-size: 13px; }
  .entry-content thead th { padding: 10px 10px; font-size: 11.5px; }
  .entry-content td { padding: 9px 10px; }
}

/* ===================================================
   SCROLL ANIMATIONS
=================================================== */
.fade-in-el { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in-el.is-visible { opacity: 1; transform: translateY(0); }

/* Cat card ripple */
.cat-card { position: relative; overflow: hidden; }
.cat-ripple { position: absolute; border-radius: 50%; width: 80px; height: 80px; margin-left: -40px; margin-top: -40px; background: rgba(30,138,94,0.15); animation: rippleOut 0.6s ease-out forwards; pointer-events: none; }
@keyframes rippleOut { from { transform: scale(0); opacity: 1; } to { transform: scale(3); opacity: 0; } }

/* Header scrolled state */
#masthead.scrolled { box-shadow: 0 4px 24px rgba(13,61,46,0.12); }

/* Input error animation */
@keyframes shake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 60% { transform: translateX(6px); } }
.input-error { border-color: #e05e4a !important; box-shadow: 0 0 0 3px rgba(224,94,74,0.12) !important; animation: shake 0.35s ease; }

/* Page links (multi-page posts) */
.page-links { display: flex; gap: 8px; flex-wrap: wrap; margin: 28px 0; font-size: 14px; font-weight: 600; }
.page-links a { padding: 6px 14px; background: var(--cream); border: 1px solid rgba(13,61,46,0.12); border-radius: var(--radius-sm); color: var(--text-mid); text-decoration: none; transition: var(--transition); }
.page-links a:hover { background: var(--green-fresh); color: var(--white); border-color: var(--green-fresh); }
