/* ============================================================
   Dark Hero Theme — Ads4Me Blog
   ============================================================ */

/* ── Fonts ─────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --amber:   #F5A623;
  --amber-d: #d48c1a;
  --green:   #00A651;
  --green-d: #007f3e;
  --ink:     #0b1410;
  --ink-2:   #0d1a14;
  --ink-3:   #111e18;
  --ink-4:   #162218;
  --border:  rgba(255,255,255,0.07);
  --border-2:rgba(255,255,255,0.12);
  --text:    #e0e0e0;
  --muted:   #8a9a8e;
  --container: 1200px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--ink);
  background-image:
    radial-gradient(circle at 8%  12%, rgba(0,166,81,.12), transparent 28%),
    radial-gradient(circle at 88%  6%, rgba(245,166,35,.09), transparent 30%),
    radial-gradient(circle at 50% 90%, rgba(0,166,81,.08), transparent 35%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button { cursor: pointer; font-family: inherit; }

/* ── Skip Navigation (a11y) ────────────────────────────────── */
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 9999;
  background: var(--amber); color: #1a0f00; font-weight: 700;
  padding: 8px 16px; border-radius: 6px; text-decoration: none;
  transition: top 0.2s; font-size: 14px;
}
.skip-link:focus { top: 12px; }

/* ── Reading Progress ──────────────────────────────────────── */
#reading-progress {
  position: fixed; top: 0; left: 0; height: 4px; z-index: 9999;
  background: linear-gradient(90deg, var(--amber), var(--green));
  width: 0; transition: width 0.15s linear;
  box-shadow: 0 0 8px rgba(245,166,35,0.5);
}

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

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 24px; border: none; border-radius: 10px;
  font-size: 14px; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: all 0.18s; text-decoration: none;
}
.btn-primary { background: var(--amber); color: #111; }
.btn-primary:hover { background: var(--amber-d); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(245,166,35,.35); }
.btn-ghost { background: transparent; color: #ccc; border: 1.5px solid rgba(255,255,255,.2); }
.btn-ghost:hover { background: rgba(255,255,255,.06); color: #fff; }

/* ── Header ────────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(11,20,16,0.75);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
/* backdrop-filter on ::before so it doesn't create a containing block for fixed children (mobile menu fix) */
.header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header.scrolled { background: rgba(11,20,16,0.92); }

.nav {
  display: flex; align-items: center; gap: 8px;
  height: 64px;
}
.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 22px; font-weight: 900;
  display: flex; align-items: center; gap: 0;
  flex-shrink: 0; margin-right: 12px;
}
.logo-ads  { color: #fff; }
/* ── Logo: animated green smiley circle ─────────────────────────────── */
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  flex-direction: column;
  background: var(--green); border-radius: 50%;
  width: 32px; height: 32px;
  position: relative; top: 2px; margin: 0 2px; flex-shrink: 0;
  box-shadow: 0 2px 14px rgba(0,166,81,0.45);
  animation: logoPulse 3s ease-in-out 1.5s infinite;
}
/* eyes */
.logo-mark::before, .logo-mark::after {
  content: '';
  position: absolute; top: 7px;
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.92); border-radius: 50%;
  animation: logoBlink 4s ease-in-out infinite;
}
.logo-mark::before { left: 7px; }
.logo-mark::after  { right: 7px; }
/* number 4 */
.logo-4-n {
  font-family: 'Outfit', sans-serif;
  font-weight: 900; font-size: 16px; color: #fff; line-height: 1;
  position: relative; top: -2px;
}
/* smile arc */
.logo-smile {
  position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 6px;
  border: 2px solid rgba(255,255,255,0.9);
  border-top: none; border-radius: 0 0 16px 16px;
  display: block;
}
/* hide unused spans */
.logo-eyes, .logo-pulse { display: none; }

@keyframes logoPulse {
  0%,100% { box-shadow: 0 2px 14px rgba(0,166,81,0.45), 0 0 0 0 rgba(0,166,81,0.25); }
  50%      { box-shadow: 0 2px 22px rgba(0,166,81,0.65), 0 0 0 8px rgba(0,166,81,0); }
}
@keyframes logoBlink {
  0%,90%,100% { transform: scaleY(1); }
  95%          { transform: scaleY(0.1); }
}

.logo-mark-sm { background: var(--green); border-radius: 50%; padding: 0 5px; color: #fff; font-size: 18px; }
.logo-me   { color: var(--amber); }
.logo-blog { font-size: 11px; color: #666; font-weight: 400; margin-left: 4px; margin-top: 4px; align-self: flex-end; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  flex: 1;
}
.nav-link {
  font-size: 14px; color: #9aa; padding: 8px 10px; border-radius: 7px;
  transition: color 0.15s, background 0.15s; white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav-btn {
  margin-left: auto; background: var(--amber); color: #111;
  padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 700;
  white-space: nowrap;
}
.nav-btn:hover { background: var(--amber-d); }
.nav-icon-link { font-size: 16px; }
.mobile-menu-btn { display: none; background: none; border: none; color: #ccc; font-size: 22px; padding: 6px; }

/* Nav Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { cursor: default; }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: #111e18; border: 1px solid var(--border-2); border-radius: 10px;
  min-width: 180px; padding: 6px; z-index: 600;
  box-shadow: 0 12px 32px rgba(0,0,0,.5);
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-item {
  display: block; padding: 8px 12px; border-radius: 7px;
  font-size: 14px; color: #bbb; transition: background 0.15s;
}
.dropdown-item:hover { background: rgba(255,255,255,.06); color: #fff; }

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
  padding: 80px 24px 60px;
  max-width: var(--container);
  margin: 0 auto;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: start;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(245,166,35,.12); border: 1px solid rgba(245,166,35,.25);
  color: var(--amber); padding: 5px 14px; border-radius: 20px;
  font-size: 13px; font-weight: 600; margin-bottom: 22px;
}
.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 5vw, 54px); font-weight: 900; line-height: 1.15;
  color: #fff; margin-bottom: 22px;
}
.hero-title em { font-style: normal; color: var(--amber); }
.hero-lead {
  font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 32px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hero-stat {
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 16px 12px; text-align: center;
}
.hero-stat-num { font-family: 'Outfit', sans-serif; font-size: 24px; font-weight: 900; color: var(--amber); }
.hero-stat-label { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ── Country Picker Panel ──────────────────────────────────── */
.picker-panel {
  background: rgba(255,255,255,.03); border: 1px solid var(--border-2);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
}
.picker-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--border);
  background: rgba(0,166,81,.05);
}
.picker-title { font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 700; color: #fff; }
.live-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 3px rgba(0,166,81,.25);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 0 3px rgba(0,166,81,.25); } 50% { box-shadow: 0 0 0 6px rgba(0,166,81,.1); } }

.country-list { display: flex; flex-direction: column; }
.country-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.country-card:last-child { border-bottom: none; }
.country-card:hover { background: rgba(255,255,255,.04); }
.country-flag { font-size: 26px; flex-shrink: 0; }
.country-info { flex: 1; min-width: 0; }
.country-name { display: block; font-size: 14px; font-weight: 700; color: #fff; }
.country-desc { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.country-cities { display: block; font-size: 11px; color: var(--green); margin-top: 2px; }
.country-arrow { color: var(--amber); font-size: 16px; flex-shrink: 0; transition: transform 0.15s; }
.country-card:hover .country-arrow { transform: translateX(4px); }

/* ── Features Bar ──────────────────────────────────────────── */
.features-bar {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.02); overflow: hidden;
  padding: 14px 0;
}
.features-inner {
  display: flex; gap: 12px; padding: 0 24px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.features-inner::-webkit-scrollbar { display: none; }
.pill {
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap; padding: 7px 14px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  border-radius: 20px; font-size: 13px; color: #bbb; flex-shrink: 0;
}

/* ── Section Labels ────────────────────────────────────────── */
.section-label {
  display: inline-block;
  background: rgba(0,166,81,.12); border: 1px solid rgba(0,166,81,.25);
  color: var(--green); padding: 4px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 600; margin-bottom: 14px;
}
.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(24px, 3vw, 36px); font-weight: 900; color: #fff;
  margin-bottom: 12px; line-height: 1.2;
}
.section-title span { color: var(--amber); }
.section-desc { color: var(--muted); font-size: 15px; max-width: 560px; margin-bottom: 32px; }

/* ── Blog Section ──────────────────────────────────────────── */
.blog-section { padding: 64px 0; }
.pinned-section { background: rgba(245,166,35,.03); border-top: 1px solid rgba(245,166,35,.1); border-bottom: 1px solid rgba(245,166,35,.1); }

/* ── Posts Grid ────────────────────────────────────────────── */
.posts-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.no-posts { color: var(--muted); grid-column: 1/-1; text-align: center; padding: 40px; }

/* ── Post Card ─────────────────────────────────────────────── */
.post-card {
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); border-color: rgba(245,166,35,.3); box-shadow: 0 16px 40px rgba(0,0,0,.35); }

.post-card-img-wrap { display: block; overflow: hidden; height: 200px; background: var(--ink-4); }
.post-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.post-card:hover .post-card-img { transform: scale(1.04); }
.post-card-img-placeholder { display: flex; align-items: center; justify-content: center; height: 200px; background: rgba(0,166,81,.06); }
.placeholder-icon { font-size: 40px; opacity: 0.4; }

.post-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.category-badge {
  display: inline-block; background: rgba(245,166,35,.15); color: var(--amber);
  border: 1px solid rgba(245,166,35,.25); padding: 3px 10px;
  border-radius: 6px; font-size: 11px; font-weight: 700; margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.post-card-title { font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 10px; line-height: 1.35; }
.post-card-title a:hover { color: var(--amber); }
.post-card-excerpt { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; flex: 1;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.post-card-meta { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #777; flex-wrap: wrap; margin-top: auto; }
.author-avatar-sm { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.meta-author { color: #aaa; }
.meta-dot { color: #555; }

/* ── Pagination ────────────────────────────────────────────── */
.pagination-wrap { margin-top: 40px; display: flex; justify-content: center; }
.pagination { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pagination-prev, .pagination-next, .pagination-item {
  padding: 8px 16px; border-radius: 8px; font-size: 14px;
  background: rgba(255,255,255,.05); color: #ccc;
  border: 1px solid var(--border); transition: all 0.15s;
}
.pagination-prev:hover, .pagination-next:hover, .pagination-item:hover { background: rgba(255,255,255,.09); color: #fff; }
.pagination-item.active { background: var(--amber); color: #111; border-color: var(--amber); font-weight: 700; }
.pagination-prev.disabled, .pagination-next.disabled { opacity: 0.4; pointer-events: none; }
.pagination-dots { padding: 8px 10px; color: #555; }

/* ── Categories Section ────────────────────────────────────── */
.categories-section { padding: 64px 0; background: rgba(0,0,0,.15); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.cat-item {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 12px 14px;
  font-size: 14px; color: #ccc; transition: all 0.15s;
}
.cat-item:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(0,166,81,.3); }
.cat-icon { font-size: 18px; }
.cat-count { margin-left: auto; font-size: 11px; color: #666; background: rgba(255,255,255,.07); padding: 2px 7px; border-radius: 10px; }

/* ── About Section ─────────────────────────────────────────── */
.about-section { padding: 64px 0; }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.info-card {
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.info-card:hover { border-color: rgba(0,166,81,.35); transform: translateY(-3px); }
.info-card-icon { font-size: 32px; margin-bottom: 14px; }
.info-card h3 { font-family: 'Outfit', sans-serif; font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.info-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── SEO Section ───────────────────────────────────────────── */
.seo-section { padding: 64px 0; background: rgba(0,0,0,.1); }
.seo-body { margin-top: 24px; max-width: 760px; font-size: 15px; color: var(--muted); line-height: 1.75; }
.seo-body p { margin-bottom: 16px; }
.seo-body a { color: var(--green); text-decoration: underline; }
.seo-body strong { color: #ccc; }

/* ── Footer ────────────────────────────────────────────────── */
.footer { background: #060e0b; border-top: 1px solid var(--border); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-logo { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 900; display: flex; align-items: center; margin-bottom: 12px; }
/* Footer logo — slightly bigger circle */
.footer-logo .logo-mark { width: 38px; height: 38px; }
.footer-logo .logo-mark::before { top: 9px; left: 8px; width: 5px; height: 5px; }
.footer-logo .logo-mark::after  { top: 9px; right: 8px; width: 5px; height: 5px; }
.footer-logo .logo-4-n { font-size: 19px; top: -3px; }
.footer-logo .logo-smile { width: 14px; height: 7px; bottom: 6px; }
.footer-tagline { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 34px; height: 34px; background: rgba(255,255,255,.07); border: 1px solid var(--border);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #aaa; transition: all 0.15s;
}
.social-link:hover { background: var(--amber); color: #111; border-color: var(--amber); }
.footer-nav h4 { font-size: 12px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 14px; }
.footer-nav a { display: block; font-size: 14px; color: #666; margin-bottom: 8px; transition: color 0.15s; }
.footer-nav a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; text-align: center; font-size: 13px; color: #555; }

/* ── Back to Top ───────────────────────────────────────────── */
#back-to-top {
  display: none; position: fixed; bottom: 28px; right: 28px; z-index: 400;
  width: 44px; height: 44px; background: var(--amber); color: #111;
  border: none; border-radius: 50%; font-size: 18px; font-weight: 700;
  align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(245,166,35,.4); transition: transform 0.15s;
}
#back-to-top:hover { transform: scale(1.1); }

/* ── WhatsApp Float ────────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 82px; right: 26px; z-index: 400;
  width: 50px; height: 50px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 6px 20px rgba(37,211,102,.4); transition: transform 0.15s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ── Archive Hero ──────────────────────────────────────────── */
.archive-hero {
  background: linear-gradient(180deg, rgba(0,166,81,.07) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
  padding: 48px 24px 40px;
  max-width: var(--container); margin: 0 auto;
}
.archive-hero h1 { font-family: 'Outfit', sans-serif; font-size: clamp(28px,4vw,44px); font-weight: 900; color: #fff; margin-bottom: 10px; }
.archive-desc { color: var(--muted); font-size: 15px; margin-bottom: 8px; }
.archive-meta { font-size: 13px; color: #666; }

/* ── Post Page ─────────────────────────────────────────────── */
.post-layout { display: grid; grid-template-columns: 1fr 280px; gap: 48px; padding-top: 40px; }
.post-hero {
  background: var(--ink-2);
  border-bottom: 1px solid var(--border);
  padding: 48px 24px 32px;
  position: relative; overflow: hidden;
}
.post-hero-img { padding: 80px 24px 40px; }
.post-hero-img::before {
  content: ''; position: absolute; inset: 0;
  background: var(--hero-img, none) center/cover no-repeat;
  opacity: 0.12; filter: blur(2px); z-index: 0;
}
.post-hero > .container { position: relative; z-index: 1; }
.post-hero-title { font-family: 'Outfit', sans-serif; font-size: clamp(26px,4vw,46px); font-weight: 900; color: #fff; margin-bottom: 20px; line-height: 1.2; }

.breadcrumb-nav { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #666; margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb-nav a:hover { color: var(--amber); }
.breadcrumb-nav span { color: #444; }

.post-meta-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: #888; }
.post-author { display: flex; align-items: center; gap: 8px; color: #ccc; }
.post-author:hover { color: var(--amber); }
.author-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.1); }
.meta-separator { color: #444; }

.post-article { min-width: 0; }

/* ── Post Content ──────────────────────────────────────────── */
.post-content { font-size: 16px; line-height: 1.85; color: var(--text); }
.post-content h2 { font-family: 'Outfit', sans-serif; font-size: 26px; font-weight: 800; color: #fff; margin: 40px 0 16px; }
.post-content h3 { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 700; color: #e8e8e8; margin: 32px 0 12px; }
.post-content h4 { font-size: 17px; font-weight: 700; color: #ddd; margin: 24px 0 10px; }
.post-content p { margin-bottom: 20px; }
.post-content ul, .post-content ol { margin: 0 0 20px 24px; }
.post-content li { margin-bottom: 8px; }
.post-content a { color: var(--green); text-decoration: underline; }
.post-content a:hover { color: var(--amber); }
.post-content strong { color: #fff; font-weight: 700; }
.post-content em { color: var(--amber); font-style: italic; }
.post-content code {
  background: rgba(0,166,81,.12); border: 1px solid rgba(0,166,81,.2);
  color: var(--green); padding: 2px 7px; border-radius: 5px; font-size: 14px;
}
.post-content pre {
  background: rgba(0,0,0,.5); border: 1px solid var(--border);
  border-radius: 10px; padding: 20px; overflow-x: auto; margin-bottom: 24px;
}
.post-content pre code { background: none; border: none; color: #a8e6cf; padding: 0; }
.post-content blockquote {
  border-left: 3px solid var(--amber); padding: 4px 0 4px 20px; margin: 24px 0;
  color: #aaa; font-style: italic;
}
.post-content table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.post-content th { background: rgba(255,255,255,.06); padding: 10px 14px; text-align: left; font-size: 13px; color: #888; border-bottom: 1px solid var(--border); }
.post-content td { padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.04); font-size: 14px; }
.post-content img { border-radius: 10px; margin: 12px 0; }
.post-content hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

/* ── TOC ───────────────────────────────────────────────────── */
.toc-box {
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  border-radius: 10px; padding: 20px; margin-bottom: 28px;
}
.toc-title { font-weight: 700; font-size: 14px; color: #ccc; margin-bottom: 12px; }
.toc-list { list-style: none; padding: 0; }
.toc-item { margin-bottom: 6px; }
.toc-item a { font-size: 14px; color: var(--muted); transition: color 0.15s; }
.toc-item a:hover, .toc-item a.active { color: var(--amber); }
.toc-level-2 { padding-left: 16px; }
.toc-level-3 { padding-left: 32px; }

.post-sidebar { }
.toc-sticky {
  position: sticky; top: 80px;
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  border-radius: 10px; padding: 18px; max-height: calc(100vh - 100px); overflow-y: auto;
}

/* ── Featured Image ────────────────────────────────────────── */
.post-featured-image { margin: 24px 0 28px; border-radius: 12px; overflow: hidden; }
.post-featured-image img { width: 100%; height: auto; display: block; }

/* ── FAQs ──────────────────────────────────────────────────── */
.faq-section { margin-top: 40px; }
.faq-section h2 { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.faq-item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 8px; overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; padding: 16px 20px;
  background: rgba(255,255,255,.03); border: none; color: #ddd;
  font-size: 15px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; gap: 12px;
}
.faq-question:hover { background: rgba(255,255,255,.06); }
.faq-icon { flex-shrink: 0; transition: transform 0.2s; font-size: 20px; }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 16px 20px; font-size: 14px; color: var(--muted); line-height: 1.7; background: var(--ink-2); }

/* ── Tags ──────────────────────────────────────────────────── */
.post-tags { margin-top: 28px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tag-pill {
  background: rgba(255,255,255,.06); border: 1px solid var(--border);
  color: #aaa; padding: 5px 12px; border-radius: 6px; font-size: 12px;
  transition: all 0.15s;
}
.tag-pill:hover { background: rgba(0,166,81,.12); color: var(--green); border-color: rgba(0,166,81,.3); }

/* ── Reactions ─────────────────────────────────────────────── */
.reactions-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 28px; padding: 18px 20px;
  background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 10px;
}
.reactions-label { font-size: 14px; color: #888; }
.reaction-btn {
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  border-radius: 8px; padding: 7px 14px; font-size: 16px; color: #ccc;
  display: flex; align-items: center; gap: 6px; transition: all 0.15s;
}
.reaction-btn:hover { background: rgba(255,255,255,.1); }
.reaction-btn.active { background: rgba(245,166,35,.15); border-color: rgba(245,166,35,.4); color: var(--amber); }
.reaction-count { font-size: 13px; }

/* ── Share Bar ─────────────────────────────────────────────── */
.share-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.share-label { font-size: 14px; color: #888; }
.share-btn {
  padding: 7px 14px; border-radius: 7px; font-size: 13px; font-weight: 600;
  border: none; cursor: pointer; color: #fff; transition: opacity 0.15s;
  font-family: inherit;
}
.share-wa  { background: #25D366; }
.share-tw  { background: #000; border: 1px solid #333; }
.share-fb  { background: #1877F2; }
.share-copy{ background: rgba(255,255,255,.1); color: #ccc; border: 1px solid var(--border); }
.share-btn:hover { opacity: 0.85; }

/* ── Author Card ───────────────────────────────────────────── */
.author-card {
  display: flex; gap: 20px; margin-top: 36px;
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px;
}
.author-card-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--amber); }
.author-card-name { font-family: 'Outfit', sans-serif; font-size: 17px; font-weight: 700; color: #fff; display: block; margin-bottom: 6px; }
.author-card-name:hover { color: var(--amber); }
.author-card-bio { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 10px; }
.author-card-links { display: flex; gap: 10px; }
.author-card-links a { font-size: 13px; color: var(--green); }
.author-card-links a:hover { text-decoration: underline; }

/* ── Related Posts ─────────────────────────────────────────── */
.related-posts { margin-top: 40px; }
.related-posts h3 { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { display: block; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; transition: border-color 0.15s, transform 0.15s; }
.related-card:hover { border-color: rgba(245,166,35,.3); transform: translateY(-2px); }
.related-card img { width: 100%; height: 120px; object-fit: cover; }
.related-card-title { font-size: 13px; font-weight: 600; color: #ccc; padding: 10px 12px 4px; }
.related-card:hover .related-card-title { color: var(--amber); }
.related-card-meta { font-size: 12px; color: #666; padding: 0 12px 10px; }

/* ── Comments Section ──────────────────────────────────────── */
.comments-section { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--border); }
.comments-title { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 24px; }
.comment { display: flex; gap: 14px; margin-bottom: 20px; }
.comment-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.admin-avatar { background: var(--amber); color: #111; }
.comment-content { flex: 1; min-width: 0; }
.comment-header { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.comment-author { font-size: 14px; font-weight: 700; color: #ddd; }
.comment-date { font-size: 12px; color: #666; }
.admin-badge { background: var(--amber); color: #111; font-size: 10px; padding: 2px 7px; border-radius: 4px; font-weight: 700; }
.comment-text { font-size: 14px; color: var(--muted); line-height: 1.6; }
.comment-actions { display: flex; gap: 10px; margin-top: 8px; }
.comment-vote-btn, .comment-reply-btn { background: none; border: 1px solid var(--border); border-radius: 5px; padding: 4px 10px; font-size: 12px; color: #888; transition: all 0.15s; }
.comment-vote-btn:hover, .comment-reply-btn:hover { color: #fff; border-color: rgba(255,255,255,.2); }
.comment-replies { padding-left: 24px; margin-top: 16px; border-left: 2px solid var(--border); }
.comment-notice { background: rgba(0,166,81,.1); border: 1px solid rgba(0,166,81,.25); color: #80ffb4; padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 20px; }
.comment-error  { background: rgba(231,76,60,.1); border: 1px solid rgba(231,76,60,.25); color: #ff8080; padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 20px; }
.load-more-btn { background: rgba(255,255,255,.06); border: 1px solid var(--border); color: #aaa; padding: 8px 20px; border-radius: 8px; font-size: 13px; transition: all 0.15s; }
.load-more-btn:hover { color: #fff; }
.comment-input {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; padding: 9px 13px; color: #fff; font-size: 14px;
  outline: none; font-family: inherit; width: 100%;
}
.comment-input:focus { border-color: var(--amber); }
.comment-form-section h4 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 16px; margin-top: 32px; }
.captcha-group { display: flex; align-items: center; gap: 12px; margin: 12px 0; font-size: 14px; color: #aaa; }
.captcha-group input { width: 80px !important; }
.comment-submit-btn { background: var(--amber); color: #111; border: none; border-radius: 8px; padding: 10px 24px; font-size: 14px; font-weight: 700; cursor: pointer; margin-top: 8px; font-family: inherit; }
.comment-submit-btn:hover { opacity: 0.9; }

/* ── Blog Archive Hero ──────────────────────────────────────── */
.blog-archive-hero { padding: 48px 0 36px; border-bottom: 1px solid var(--border); }
.blog-archive-title { font-family: 'Outfit', sans-serif; font-size: clamp(28px,4vw,44px); font-weight: 900; color: #fff; margin-bottom: 10px; }

/* ── Featured Post Card ─────────────────────────────────────── */
.blog-featured-wrap { padding: 36px 0 0; }
.blog-featured-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}
.blog-featured-img-wrap { display: block; overflow: hidden; }
.blog-featured-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.blog-featured-img-wrap:hover .blog-featured-img { transform: scale(1.03); }
.blog-featured-body { padding: 36px 36px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-title { font-size: clamp(20px,2.2vw,28px); font-weight: 800; color: #fff; line-height: 1.3; margin: 10px 0 12px; }
.blog-featured-title a:hover { color: var(--amber); }
.blog-featured-excerpt { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* ── Blog List Page ─────────────────────────────────────────── */
.blog-list-hero {
  padding: 72px 0 48px;
  background: linear-gradient(180deg, rgba(0,166,81,.06) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}
.blog-list-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900; color: #fff; line-height: 1.15;
  margin-bottom: 12px;
}
.blog-list-lead { font-size: 16px; color: var(--muted); margin-bottom: 28px; max-width: 600px; }
.text-amber { color: var(--amber); }

/* Search bar */
.blog-search-form { max-width: 640px; }
.blog-search-wrap {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px; overflow: hidden;
  transition: border-color 0.2s;
}
.blog-search-wrap:focus-within { border-color: var(--amber); }
.blog-search-icon { padding: 0 12px; font-size: 16px; flex-shrink: 0; }
.blog-search-input {
  flex: 1; background: transparent; border: none; outline: none;
  color: #fff; font-size: 15px; padding: 12px 4px;
  font-family: inherit;
}
.blog-search-input::placeholder { color: #666; }
.blog-search-btn { border-radius: 0; padding: 12px 20px; font-size: 14px; flex-shrink: 0; }
.blog-search-clear {
  padding: 0 14px; color: #666; font-size: 18px; flex-shrink: 0;
  transition: color 0.15s;
}
.blog-search-clear:hover { color: #fff; }

/* Category pills bar */
.blog-cats-bar {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.02);
}
.blog-cats-scroll {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px;
  scrollbar-width: none;
}
.blog-cats-scroll::-webkit-scrollbar { display: none; }
.cat-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 20px; font-size: 13px; font-weight: 500;
  background: rgba(255,255,255,.06); border: 1px solid var(--border);
  color: var(--muted); white-space: nowrap; transition: all 0.15s;
}
.cat-pill:hover, .cat-pill.active {
  background: var(--amber); border-color: var(--amber); color: #111;
}
.cat-pill-count {
  background: rgba(255,255,255,.12); border-radius: 10px;
  padding: 1px 6px; font-size: 11px;
}
.cat-pill.active .cat-pill-count, .cat-pill:hover .cat-pill-count {
  background: rgba(0,0,0,.15);
}

/* Blog list layout (posts + sidebar) */
.blog-list-body { padding: 48px 0 64px; }
.blog-list-layout {
  display: grid; grid-template-columns: 1fr 300px; gap: 40px;
  align-items: start;
}
.blog-list-main {}

/* Empty state */
.blog-empty {
  text-align: center; padding: 80px 20px; color: var(--muted);
}
.blog-empty-icon { font-size: 52px; margin-bottom: 20px; }
.blog-empty h2 { font-size: 22px; color: #fff; margin-bottom: 10px; }

/* Sidebar */
.blog-list-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px;
}
.sidebar-title {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--amber);
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.sidebar-search-input {
  flex: 1; background: rgba(255,255,255,.06); border: 1px solid var(--border);
  border-radius: 8px; padding: 9px 12px; color: #fff; font-size: 14px;
  outline: none; font-family: inherit; width: 100%;
}
.sidebar-search-input:focus { border-color: var(--amber); }
.sidebar-cat-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.sidebar-cat-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 10px; border-radius: 7px; font-size: 14px; color: var(--muted);
  transition: all 0.15s;
}
.sidebar-cat-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.sidebar-cat-link.active-cat { color: var(--amber); background: rgba(245,166,35,.1); border-left: 3px solid var(--amber); padding-left: 7px; }
.sidebar-cat-link.active-cat .sidebar-cat-count { background: rgba(245,166,35,.2); color: var(--amber); }
.sidebar-cat-count {
  background: rgba(255,255,255,.08); border-radius: 10px;
  padding: 1px 7px; font-size: 12px; color: #666;
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-pill {
  padding: 4px 10px; background: rgba(255,255,255,.06);
  border: 1px solid var(--border); border-radius: 20px;
  font-size: 12px; color: var(--muted); transition: all 0.15s;
}
.tag-pill:hover { background: rgba(245,166,35,.12); border-color: var(--amber); color: var(--amber); }

/* Post card inline tags */
.post-card-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 6px; }
.post-tag-pill {
  padding: 2px 8px; background: rgba(245,166,35,.1);
  border: 1px solid rgba(245,166,35,.25); border-radius: 20px;
  font-size: 11px; color: #b8841a; font-weight: 500; transition: all 0.15s;
}
.post-tag-pill:hover { background: rgba(245,166,35,.2); color: var(--amber); }

/* RSS Button */
.rss-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: #f26522; color: #fff; padding: 8px 14px;
  border-radius: 8px; font-size: 13px; font-weight: 700;
  transition: opacity 0.15s; margin-bottom: 14px;
}
.rss-btn:hover { opacity: 0.85; color: #fff; }

/* Sidebar Recent Posts */
.sidebar-recent-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.sidebar-recent-item { display: flex; gap: 10px; align-items: flex-start; }
.sidebar-recent-img-wrap { flex-shrink: 0; }
.sidebar-recent-img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.sidebar-recent-title { font-size: 13px; color: #ccc; line-height: 1.45; display: block; transition: color 0.15s; }
.sidebar-recent-title:hover { color: var(--amber); }
.sidebar-recent-meta { font-size: 11px; color: #555; margin-top: 4px; }

/* ── Newsletter Widget ─────────────────────────────────────── */
.newsletter-widget { background: rgba(0,166,81,.08); border: 1px solid rgba(0,166,81,.2); border-radius: 12px; padding: 20px; }
.widget-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 10px; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { display: none; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-list-layout { grid-template-columns: 1fr; }
  .blog-list-sidebar { display: none; }
  .blog-featured-card { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; background: rgba(11,20,16,.98); flex-direction: column; padding: 24px 20px; gap: 4px; overflow-y: auto; z-index: 490; box-shadow: 0 8px 32px rgba(0,0,0,.5); }
  .nav-links.open { display: flex; }
  .mobile-menu-btn { display: block; margin-left: auto; }
  .nav-btn { width: 100%; justify-content: center; margin-top: 8px; }
  /* Prevent dropdown sub-menus from being clipped inside mobile nav */
  .nav-links .dropdown-menu { position: static; box-shadow: none; border: none; background: rgba(255,255,255,.04); border-radius: 8px; padding: 4px 0 4px 12px; display: none; }
  .nav-links .nav-dropdown.open .dropdown-menu { display: block; }
  .nav-links .nav-dropdown-trigger { display: flex; justify-content: space-between; width: 100%; cursor: pointer; }
  .posts-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero { padding: 48px 20px 40px; }
  .hero-title { font-size: 28px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
