/*
Theme Name: SmartKoreaGuide
Theme URI: https://smartkoreaguide.com
Author: SmartKoreaGuide
Author URI: https://smartkoreaguide.com
Description: A modern, forest-green WordPress theme for SmartKoreaGuide — honest, practical guides for foreigners living in South Korea.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smartkoreaguide
Tags: blog, custom-logo, featured-images, full-width-template, custom-menu
*/

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

:root {
  --green-50:    #F0FDF4;
  --green-100:   #DCFCE7;
  --green-200:   #BBF7D0;
  --green-300:   #86EFAC;
  --green-400:   #4ADE80;
  --green-500:   #22C55E;
  --green-600:   #16A34A;
  --green-700:   #15803D;
  --green-800:   #166534;
  --green-900:   #14532D;
  --emerald-500: #10B981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --slate-50:    #F8FAFC;
  --slate-100:   #F1F5F9;
  --slate-200:   #E2E8F0;
  --slate-300:   #CBD5E1;
  --slate-400:   #94A3B8;
  --slate-500:   #64748B;
  --slate-600:   #475569;
  --slate-700:   #334155;
  --slate-800:   #1E293B;
  --slate-900:   #0F172A;
  --white:       #FFFFFF;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --transition:  0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--slate-900);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-200);
  height: 70px;
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(15,23,42,0.06); }
.nav-inner {
  max-width: 1280px; margin: 0 auto; height: 100%;
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.15rem;
  color: var(--slate-900); letter-spacing: -0.3px; flex-shrink: 0;
}
.logo-mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--green-700), var(--emerald-600));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.logo-mark svg { width: 17px; height: 17px; fill: none; stroke: white; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.nav-right { display: flex; align-items: center; gap: 0.5rem; }
.nav-links {
  display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0;
}
.nav-links li { margin: 0; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--slate-500);
  transition: color var(--transition);
  position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px;
  background: var(--green-700); border-radius: 1px;
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--green-800); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta, a.nav-cta {
  background: var(--green-700); color: white !important;
  padding: 0.6rem 1.4rem; border-radius: 100px;
  font-weight: 600 !important; font-size: 0.875rem !important;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
  box-shadow: 0 2px 10px rgba(21,128,61,0.28);
  margin-left: 1rem;
  white-space: nowrap;
}
.nav-cta::after, a.nav-cta::after { display: none !important; }
.nav-cta:hover, a.nav-cta:hover { background: var(--green-800) !important; transform: translateY(-1px); box-shadow: 0 4px 18px rgba(21,128,61,0.38) !important; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.hamburger span { width: 22px; height: 2px; background: var(--slate-700); border-radius: 1px; transition: all 0.25s ease; display: block; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0;
  background: white; border-bottom: 1px solid var(--slate-200);
  padding: 1.5rem 2rem 2rem; z-index: 999;
  box-shadow: 0 8px 30px rgba(15,23,42,0.08);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu ul a { display: block; padding: 0.75rem 0; font-size: 1rem; font-weight: 500; color: var(--slate-700); border-bottom: 1px solid var(--slate-100); }
.mobile-menu .btn-mob { display: block; text-align: center; background: var(--green-700); color: white; padding: 0.875rem; border-radius: 10px; font-weight: 600; font-size: 0.95rem; }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  padding: 9rem 2rem 6rem;
  background: var(--white);
  position: relative; overflow: hidden;
  margin-top: 70px;
}
.hero-bg-blob { position: absolute; pointer-events: none; border-radius: 50%; }
.hero-bg-blob-1 { top: -180px; right: -200px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(21,128,61,0.06) 0%, transparent 70%); }
.hero-bg-blob-2 { bottom: -100px; left: -150px; width: 550px; height: 550px; background: radial-gradient(circle, rgba(5,150,105,0.04) 0%, transparent 70%); }
.hero-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--green-50); border: 1px solid var(--green-200);
  color: var(--green-800); padding: 0.45rem 1rem; border-radius: 100px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.4px; margin-bottom: 1.75rem;
}
.eyebrow-dot { width: 6px; height: 6px; background: var(--green-700); border-radius: 50%; flex-shrink: 0; }
.hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.6rem, 4vw, 3.85rem);
  font-weight: 800; line-height: 1.08;
  color: var(--slate-900); letter-spacing: -1.5px; margin-bottom: 1.5rem;
}
.hero h1 .g-text {
  background: linear-gradient(130deg, var(--green-800) 0%, var(--emerald-600) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc { font-size: 1.05rem; line-height: 1.8; color: var(--slate-500); max-width: 490px; margin-bottom: 2.5rem; }
.hero-buttons { display: flex; gap: 0.875rem; align-items: center; flex-wrap: wrap; margin-bottom: 3rem; }
.btn-primary {
  background: var(--green-700); color: white;
  padding: 0.9rem 2rem; border-radius: 11px;
  font-size: 0.95rem; font-weight: 600; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(21,128,61,0.3);
  transition: all var(--transition);
}
.btn-primary:hover { background: var(--green-800); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(21,128,61,0.4); color: white; }
.btn-primary svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-ghost {
  background: transparent; color: var(--slate-700);
  padding: 0.9rem 1.6rem; border-radius: 11px;
  font-size: 0.95rem; font-weight: 500;
  border: 1.5px solid var(--slate-200); cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: all var(--transition);
}
.btn-ghost:hover { border-color: var(--slate-300); background: var(--slate-50); }
.btn-ghost svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-trust { display: flex; align-items: center; gap: 0.875rem; }
.avatar-stack { display: flex; }
.avatar { width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid white; margin-left: -9px; display: flex; align-items: center; justify-content: center; font-size: 0.68rem; font-weight: 700; color: white; flex-shrink: 0; }
.avatar:first-child { margin-left: 0; }
.trust-txt { font-size: 0.875rem; color: var(--slate-500); }
.trust-txt strong { color: var(--slate-700); font-weight: 600; }
.hero-visual { position: relative; height: 560px; }
.hero-card-back { position: absolute; top: 8px; left: 55px; right: 8px; height: 90px; background: var(--green-50); border: 1px solid var(--green-100); border-radius: 22px; z-index: 0; }
.hero-card { position: absolute; top: 34px; left: 20px; right: 0; background: white; border-radius: 22px; border: 1px solid var(--slate-200); box-shadow: 0 32px 80px rgba(15,23,42,0.1), 0 8px 24px rgba(15,23,42,0.04); overflow: hidden; z-index: 1; }
.hero-card-img { height: 310px; overflow: hidden; position: relative; background: linear-gradient(160deg, var(--green-800) 0%, var(--green-700) 40%, var(--emerald-600) 75%, #0D9488 100%); }
.hero-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.hero-card:hover .hero-card-img img { transform: scale(1.03); }
.hero-card-pill { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); color: var(--green-800); padding: 0.35rem 0.9rem; border-radius: 100px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; }
.hero-season { position: absolute; top: 14px; right: 14px; background: linear-gradient(135deg, var(--green-700), var(--emerald-600)); color: white; padding: 0.35rem 0.9rem; border-radius: 100px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px; }
.hero-card-body { padding: 1.4rem 1.6rem; }
.hero-card-title { font-family: 'Sora', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--slate-900); line-height: 1.4; margin-bottom: 0.6rem; }
.hero-card-meta { display: flex; align-items: center; gap: 0.6rem; font-size: 0.8rem; color: var(--slate-400); margin-bottom: 1rem; }
.progress-bar { height: 3px; background: var(--slate-100); border-radius: 2px; }
.progress-fill { width: 62%; height: 100%; background: linear-gradient(90deg, var(--green-700), var(--emerald-600)); border-radius: 2px; }
.float-badge { position: absolute; bottom: 18px; left: 0; background: white; border-radius: 15px; border: 1px solid var(--slate-200); box-shadow: 0 12px 32px rgba(15,23,42,0.1); padding: 1rem 1.25rem; display: flex; align-items: center; gap: 0.9rem; z-index: 2; }
.float-icon { width: 42px; height: 42px; flex-shrink: 0; background: linear-gradient(135deg, var(--green-700), var(--emerald-600)); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.float-icon svg { width: 19px; height: 19px; fill: none; stroke: white; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.float-title { font-size: 0.9rem; font-weight: 700; color: var(--slate-900); line-height: 1.2; }
.float-sub { font-size: 0.75rem; color: var(--slate-400); margin-top: 2px; }

/* ══════════════════════════════════════════
   STATS STRIP
══════════════════════════════════════════ */
.stats-strip { background: var(--slate-900); padding: 2.25rem 2rem; }
.stats-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 2rem; }
.stat { text-align: center; }
.stat-number { font-family: 'Sora', sans-serif; font-size: 2.1rem; font-weight: 800; color: white; letter-spacing: -0.75px; line-height: 1; }
.stat-number em { color: var(--green-400); font-style: normal; }
.stat-label { font-size: 0.8rem; color: var(--slate-500); margin-top: 0.3rem; font-weight: 500; }
.stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.07); }

/* ══════════════════════════════════════════
   SHARED SECTION
══════════════════════════════════════════ */
.section { padding: 6rem 2rem; }
.section-alt { background: var(--slate-50); }
.wrap { max-width: 1280px; margin: 0 auto; }
.section-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--green-700); margin-bottom: 0.75rem; }
.section-heading { font-family: 'Sora', sans-serif; font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; color: var(--slate-900); letter-spacing: -0.8px; line-height: 1.15; margin-bottom: 0.875rem; }
.section-sub { font-size: 1rem; color: var(--slate-500); max-width: 540px; line-height: 1.7; margin-bottom: 3rem; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ══════════════════════════════════════════
   CATEGORIES
══════════════════════════════════════════ */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cat-card {
  background: white; border-radius: 16px; border: 1px solid var(--slate-200);
  padding: 1.875rem; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer; position: relative; overflow: hidden;
}
.cat-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--card-accent, var(--green-700)); border-radius: 16px 16px 0 0; transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
.cat-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(15,23,42,0.09); border-color: transparent; }
.cat-card:hover::after { transform: scaleX(1); }
.cat-icon-wrap { width: 52px; height: 52px; border-radius: 14px; background: var(--icon-bg, var(--green-50)); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.cat-icon-wrap svg { width: 23px; height: 23px; fill: none; stroke: var(--icon-color, var(--green-700)); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cat-title { font-family: 'Sora', sans-serif; font-size: 1.02rem; font-weight: 700; color: var(--slate-900); margin-bottom: 0.5rem; }
.cat-desc { font-size: 0.875rem; color: var(--slate-500); line-height: 1.65; margin-bottom: 1.25rem; }
.cat-link { font-size: 0.85rem; font-weight: 600; color: var(--green-700); display: inline-flex; align-items: center; gap: 0.35rem; transition: gap var(--transition); }
.cat-link:hover { gap: 0.6rem; }

/* ══════════════════════════════════════════
   ABOUT
══════════════════════════════════════════ */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-visual { position: relative; height: 560px; }
.about-img-frame { position: absolute; inset: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 64px rgba(15,23,42,0.12); }
.about-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-img-frame-bg { width: 100%; height: 100%; background: linear-gradient(160deg, var(--green-800), var(--green-700) 40%, var(--emerald-600) 75%, #065F46); }
.about-accent-card { position: absolute; bottom: -28px; right: -28px; width: 160px; background: white; border-radius: 16px; padding: 1.25rem; box-shadow: 0 16px 40px rgba(15,23,42,0.12); border: 1px solid var(--slate-100); z-index: 2; }
.about-accent-card .big-num { font-family: 'Sora', sans-serif; font-size: 2.5rem; font-weight: 800; background: linear-gradient(135deg, var(--green-800), var(--emerald-600)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 0.3rem; }
.about-accent-card .big-label { font-size: 0.8rem; color: var(--slate-500); font-weight: 500; line-height: 1.3; }
.about-accent-dot { position: absolute; top: -20px; left: -20px; width: 80px; height: 80px; background: var(--green-50); border: 8px solid white; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 2; }
.about-accent-dot svg { width: 30px; height: 30px; fill: none; stroke: var(--green-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.about-content .eyebrow { margin-bottom: 1.25rem; }
.about-content h2 { font-family: 'Sora', sans-serif; font-size: clamp(1.8rem, 2.8vw, 2.5rem); font-weight: 800; color: var(--slate-900); line-height: 1.2; letter-spacing: -0.6px; margin-bottom: 1.5rem; }
.about-content h2 span { background: linear-gradient(130deg, var(--green-800), var(--emerald-600)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.about-content p { font-size: 1rem; line-height: 1.8; color: var(--slate-600); margin-bottom: 1.25rem; }
.about-quote { background: var(--green-50); border-left: 3px solid var(--green-700); padding: 1.25rem 1.5rem; border-radius: 0 12px 12px 0; margin: 1.75rem 0; font-style: italic; font-size: 1.02rem; color: var(--slate-700); line-height: 1.7; }
.about-cta { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.about-signature { font-family: 'Sora', sans-serif; font-size: 1.1rem; font-weight: 600; color: var(--green-800); font-style: italic; }

/* ══════════════════════════════════════════
   ARTICLES & BLOG CARDS
══════════════════════════════════════════ */
.articles-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; }
.view-all { font-size: 0.875rem; font-weight: 600; color: var(--green-700); display: flex; align-items: center; gap: 0.35rem; transition: gap var(--transition); }
.view-all:hover { gap: 0.6rem; }
.view-all svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.article-card { background: white; border-radius: 18px; border: 1px solid var(--slate-200); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); cursor: pointer; }
.article-card:hover { transform: translateY(-5px); box-shadow: 0 18px 48px rgba(15,23,42,0.09); border-color: var(--slate-100); }
.article-img { height: 210px; overflow: hidden; position: relative; background: linear-gradient(135deg, var(--green-50), var(--slate-100)); }
.article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.article-card:hover .article-img img { transform: scale(1.05); }
.article-img-fallback { width: 100%; height: 100%; }
.article-body { padding: 1.5rem; }
.article-tag { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; padding: 0.28rem 0.75rem; border-radius: 100px; margin-bottom: 0.875rem; }
.tag-travel    { background: var(--green-50); color: var(--green-800); }
.tag-living    { background: #ECFDF5; color: #065F46; }
.tag-budget    { background: #FEF3C7; color: #92400E; }
.tag-education { background: #EFF6FF; color: #1E40AF; }
.tag-health    { background: #FDF2F8; color: #701A75; }
.tag-culture   { background: #FFF7ED; color: #9A3412; }
.tag-work      { background: #F5F3FF; color: #4C1D95; }
.article-title { font-family: 'Sora', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--slate-900); line-height: 1.4; margin-bottom: 0.6rem; transition: color var(--transition); }
.article-card:hover .article-title { color: var(--green-800); }
.article-excerpt { font-size: 0.875rem; color: var(--slate-500); line-height: 1.65; margin-bottom: 1.25rem; }
.article-meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; color: var(--slate-400); padding-top: 1rem; border-top: 1px solid var(--slate-100); }
.meta-author { display: flex; align-items: center; gap: 0.5rem; }
.meta-dot { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--green-600), var(--emerald-600)); flex-shrink: 0; }

/* ══════════════════════════════════════════
   VISUAL GALLERY
══════════════════════════════════════════ */
.gallery-section { padding: 6rem 2rem; background: var(--slate-50); }
.gallery-heading-row { display: flex; justify-content: space-between; align-items: flex-end; max-width: 1280px; margin: 0 auto 2.5rem; }
.gallery-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 1.25rem; }
.gallery-item { border-radius: 16px; overflow: hidden; position: relative; cursor: pointer; }
.gallery-item:nth-child(1) { grid-column: 1; grid-row: 1; }
.gallery-item:nth-child(2) { grid-column: 2; grid-row: 1 / 3; }
.gallery-item:nth-child(3) { grid-column: 3; grid-row: 1; }
.gallery-item:nth-child(4) { grid-column: 1; grid-row: 2; }
.gallery-item:nth-child(5) { grid-column: 3; grid-row: 2; }
.gallery-bg { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover .gallery-bg { transform: scale(1.07); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15,23,42,0.65) 100%); display: flex; align-items: flex-end; padding: 1.25rem; opacity: 0; transition: opacity var(--transition); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-label { font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 700; color: white; }

/* ══════════════════════════════════════════
   NEWSLETTER
══════════════════════════════════════════ */
.newsletter { padding: 6rem 2rem; background: linear-gradient(135deg, var(--green-800) 0%, var(--green-900) 55%, #0A2916 100%); position: relative; overflow: hidden; }
.nl-blob { position: absolute; pointer-events: none; border-radius: 50%; }
.nl-blob-1 { top: -120px; right: -120px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%); }
.nl-blob-2 { bottom: -80px; left: -80px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(5,150,105,0.1), transparent 70%); }
.nl-inner { max-width: 600px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.nl-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.9); padding: 0.4rem 1rem; border-radius: 100px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.3px; margin-bottom: 1.5rem; }
.nl-inner h2 { font-family: 'Sora', sans-serif; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: white; letter-spacing: -0.75px; margin-bottom: 1rem; line-height: 1.2; }
.nl-inner p { font-size: 1rem; color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 2.25rem; }
.nl-form { display: flex; gap: 0.6rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); border-radius: 14px; padding: 0.5rem; backdrop-filter: blur(12px); }
.nl-form input { flex: 1; background: transparent; border: none; outline: none; padding: 0.875rem 1rem; font-size: 0.95rem; color: white; font-family: 'Inter', sans-serif; }
.nl-form input::placeholder { color: rgba(255,255,255,0.4); }
.btn-nl { background: white; color: var(--green-800); padding: 0.875rem 1.75rem; border-radius: 10px; font-size: 0.9rem; font-weight: 700; border: none; cursor: pointer; transition: all var(--transition); white-space: nowrap; font-family: 'Inter', sans-serif; }
.btn-nl:hover { background: var(--green-50); transform: translateY(-1px); }
.nl-note { margin-top: 1rem; font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.nl-success { display: none; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); border-radius: 12px; padding: 1.25rem; color: white; font-size: 0.95rem; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer { background: var(--slate-900); padding: 4.5rem 2rem 2rem; border-top: 1px solid rgba(255,255,255,0.04); }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { display: flex; align-items: center; gap: 0.6rem; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.05rem; color: white; margin-bottom: 1rem; }
.footer-tagline { font-size: 0.875rem; color: var(--slate-500); line-height: 1.7; margin-bottom: 1.75rem; max-width: 280px; }
.social-row { display: flex; gap: 0.6rem; }
.social-btn { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: var(--slate-400); cursor: pointer; transition: all var(--transition); }
.social-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.social-btn:hover { background: var(--green-700); border-color: var(--green-700); color: white; }
.footer-col h4 { font-family: 'Sora', sans-serif; font-size: 0.875rem; font-weight: 700; color: white; margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { font-size: 0.875rem; color: var(--slate-500); transition: color var(--transition); }
.footer-col a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.75rem; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 0.82rem; color: var(--slate-600); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.82rem; color: var(--slate-600); transition: color var(--transition); }
.footer-legal a:hover { color: var(--slate-400); }

/* ══════════════════════════════════════════
   SINGLE POST / PAGE CONTENT
══════════════════════════════════════════ */
.page-header { padding: 7rem 2rem 3rem; background: var(--white); margin-top: 70px; border-bottom: 1px solid var(--slate-200); }
.page-header-inner { max-width: 860px; margin: 0 auto; }
.post-hero-img { width: 100%; height: 440px; object-fit: cover; border-radius: 20px; margin-bottom: 2.5rem; display: block; background: linear-gradient(135deg, var(--green-800), var(--emerald-600)); }
.post-category-tag { display: inline-block; margin-bottom: 1rem; }
.post-title { font-family: 'Sora', sans-serif; font-size: clamp(1.9rem, 3.5vw, 3rem); font-weight: 800; color: var(--slate-900); line-height: 1.15; letter-spacing: -0.75px; margin-bottom: 1.25rem; }
.post-meta-row { display: flex; align-items: center; gap: 1.25rem; font-size: 0.875rem; color: var(--slate-500); flex-wrap: wrap; padding-bottom: 1.5rem; border-bottom: 1px solid var(--slate-200); }
.post-meta-row .meta-dot { width: 28px; height: 28px; background: linear-gradient(135deg, var(--green-600), var(--emerald-600)); border-radius: 50%; flex-shrink: 0; }
.post-content { max-width: 860px; margin: 0 auto; padding: 3rem 2rem 4rem; }
.post-content .entry-content { font-size: 1.05rem; line-height: 1.85; color: var(--slate-700); }
.post-content .entry-content h2 { font-family: 'Sora', sans-serif; font-size: 1.65rem; font-weight: 800; color: var(--slate-900); margin: 2.5rem 0 1rem; letter-spacing: -0.4px; }
.post-content .entry-content h3 { font-family: 'Sora', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--slate-900); margin: 2rem 0 0.75rem; }
.post-content .entry-content p { margin-bottom: 1.5rem; }
.post-content .entry-content ul, .post-content .entry-content ol { margin: 0 0 1.5rem 1.5rem; }
.post-content .entry-content li { margin-bottom: 0.5rem; }
.post-content .entry-content blockquote { background: var(--green-50); border-left: 3px solid var(--green-700); padding: 1.25rem 1.5rem; border-radius: 0 12px 12px 0; margin: 2rem 0; font-style: italic; color: var(--slate-700); }
.post-content .entry-content a { color: var(--green-700); text-decoration: underline; text-decoration-color: var(--green-200); }
.post-content .entry-content a:hover { color: var(--green-800); }
.post-content .entry-content img { border-radius: 12px; margin: 2rem auto; }
.post-nav { max-width: 860px; margin: 0 auto; padding: 2rem; border-top: 1px solid var(--slate-200); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.post-nav a { font-size: 0.875rem; font-weight: 600; color: var(--green-700); display: flex; align-items: center; gap: 0.5rem; }

/* Archive / index */
.archive-header { padding: 7rem 2rem 4rem; background: var(--white); margin-top: 70px; border-bottom: 1px solid var(--slate-200); }
.archive-title { font-family: 'Sora', sans-serif; font-size: clamp(2rem, 3vw, 3rem); font-weight: 800; color: var(--slate-900); letter-spacing: -1px; margin-bottom: 0.5rem; }
.archive-subtitle { font-size: 1rem; color: var(--slate-500); }
.archive-grid-section { padding: 4rem 2rem 6rem; }
.no-posts { text-align: center; padding: 4rem; color: var(--slate-500); font-size: 1rem; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { gap: 3rem; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { height: 380px; }
  .about-accent-card { right: 0; bottom: -20px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta, a.nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 6rem 1.5rem 4rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero h1 { font-size: 2.6rem; }
  .hero-visual { height: 420px; }
  .hero-card { left: 0; top: 20px; }
  .hero-card-back { display: none; }
  .float-badge { display: none; }
  .stats-inner { justify-content: center; gap: 2rem; }
  .stat-divider { display: none; }
  .section { padding: 4rem 1.5rem; }
  .cat-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 200px); }
  .gallery-item:nth-child(1) { grid-column: 1; grid-row: 1; }
  .gallery-item:nth-child(2) { grid-column: 2; grid-row: 1; }
  .gallery-item:nth-child(3) { grid-column: 1; grid-row: 2; }
  .gallery-item:nth-child(4) { grid-column: 2; grid-row: 2; }
  .gallery-item:nth-child(5) { grid-column: 1 / 3; grid-row: 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .nl-form { flex-direction: column; }
  .articles-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .gallery-heading-row { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2.1rem; letter-spacing: -1px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { justify-content: center; }
  .section-heading { font-size: 1.85rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: repeat(5, 200px); }
  .gallery-item:nth-child(n) { grid-column: 1; }
  .gallery-item:nth-child(1) { grid-row: 1; }
  .gallery-item:nth-child(2) { grid-row: 2; }
  .gallery-item:nth-child(3) { grid-row: 3; }
  .gallery-item:nth-child(4) { grid-row: 4; }
  .gallery-item:nth-child(5) { grid-row: 5; }
  .post-nav { flex-direction: column; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--slate-100); }
::-webkit-scrollbar-thumb { background: var(--green-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-500); }
