/* paikanpaalla.fi - Mika Jokisen retkeily- ja matkailublogi */

:root {
  --forest-dark: #1a2e1e;
  --forest-mid: #2d5016;
  --forest-light: #4a7c2e;
  --amber: #c87941;
  --amber-light: #e8a55a;
  --cream: #f4efe6;
  --cream-dark: #e8e0d0;
  --text-dark: #1c1c1c;
  --text-mid: #3d3d3d;
  --text-light: #6b6b6b;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
  --radius: 4px;
  --radius-lg: 8px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  line-height: 1.2;
  color: var(--forest-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p { margin-bottom: 1.2em; }
a { color: var(--forest-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--amber); }

/* ─── NAVIGATION ─── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 46, 30, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white) !important;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav-logo .logo-dot {
  width: 8px;
  height: 8px;
  background: var(--amber-light);
  border-radius: 50%;
  display: inline-block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--amber-light); }

.nav-cta {
  background: var(--amber) !important;
  color: var(--white) !important;
  padding: 0.45rem 1.1rem !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
}

.nav-cta:hover { background: var(--amber-light) !important; }

/* ─── HERO ─── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-landscape.png');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 20, 12, 0.3) 0%,
    rgba(10, 20, 12, 0.55) 50%,
    rgba(10, 20, 12, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 2rem;
  max-width: 800px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--amber);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--amber-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounceDown 2s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
}

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ─── SECTIONS ─── */
.section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 3rem;
}

.section-eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--text-mid);
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.7;
}

/* ─── FEATURED POST ─── */
.featured-section {
  background: var(--forest-dark);
  color: var(--white);
  overflow: hidden;
}

.featured-section .section-eyebrow { color: var(--amber-light); }
.featured-section .section-title { color: var(--white); }
.featured-section .section-lead { color: rgba(255,255,255,0.7); }

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.featured-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: var(--shadow-lg);
}

.featured-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.featured-image-wrap:hover img { transform: scale(1.03); }

.featured-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--amber);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
}

.featured-content { padding: 1rem 0; }

.featured-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.meta-icon { font-size: 0.9rem; }

.featured-title {
  color: var(--white);
  margin-bottom: 1.2rem;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
}

.featured-excerpt {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.featured-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.8rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ─── BLOG GRID ─── */
.posts-section {
  background: var(--cream);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.06);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.post-card-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.post-card:hover .post-card-image img {
  transform: scale(1.04);
}

.post-card-category {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--forest-dark);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
}

.post-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
}

.post-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.post-card-title a {
  color: var(--forest-dark);
}
.post-card-title a:hover { color: var(--amber); }

.post-card-excerpt {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
  flex: 1;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--cream-dark);
}

.read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest-light);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}

.read-more:hover { gap: 0.6rem; color: var(--amber); }

.difficulty-badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.diff-easy { background: #e8f5e9; color: #2e7d32; }
.diff-moderate { background: #fff3e0; color: #e65100; }
.diff-challenging { background: #fce4ec; color: #b71c1c; }

/* ─── ABOUT STRIP ─── */
.about-section {
  background: var(--forest-dark);
  color: var(--white);
  padding: 5rem 2rem;
}

.about-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: center;
}

.about-photo-wrap {
  position: relative;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  border: 3px solid rgba(255,255,255,0.1);
}

.about-photo-frame {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--amber);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-light);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.about-name {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-bio {
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item { text-align: center; }
.stat-value {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--amber-light);
  font-weight: 700;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── PARKS MAP STRIP ─── */
.parks-strip {
  background: var(--cream-dark);
  padding: 4rem 2rem;
  text-align: center;
}

.parks-strip-inner { max-width: 1200px; margin: 0 auto; }

.parks-strip h2 { margin-bottom: 0.5rem; }
.parks-strip p { color: var(--text-light); margin-bottom: 3rem; }

.parks-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.park-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
  text-decoration: none;
}

.park-pill:hover {
  background: var(--forest-dark);
  color: var(--white);
  border-color: var(--forest-dark);
  transform: translateY(-2px);
}

.park-pill.visited {
  background: var(--forest-mid);
  color: var(--white);
  border-color: var(--forest-mid);
}

/* ─── NEWSLETTER ─── */
.newsletter-section {
  background: linear-gradient(135deg, var(--forest-dark) 0%, #0f1f12 100%);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(200, 121, 65, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.newsletter-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.newsletter-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.newsletter-section p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: var(--amber); }

.newsletter-form button {
  padding: 0.85rem 1.5rem;
  background: var(--amber);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.newsletter-form button:hover { background: var(--amber-light); }

/* ─── FOOTER ─── */
.site-footer {
  background: #0d1a10;
  color: rgba(255,255,255,0.55);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 2rem;
}

.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.8rem;
  display: block;
}

.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.45);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6) !important;
  font-size: 0.9rem;
  transition: all 0.2s;
  text-decoration: none;
}

.social-link:hover {
  background: var(--amber);
  color: var(--white) !important;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.footer-links {
  list-style: none;
}

.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--amber-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--amber-light); }

/* ─── IMAGE PLACEHOLDERS (gradient fallbacks) ─── */
.hero-bg {
  background-image:
    linear-gradient(135deg, rgba(10,25,12,0.6) 0%, transparent 60%),
    url('assets/hero-landscape.png');
  background-color: #1a3a1e;
  background-size: cover;
  background-position: center;
}

/* If image fails to load, show gradient */
img[src="assets/hero-landscape.png"] {
  background: linear-gradient(135deg, #1a3a1e 0%, #2d5016 50%, #4a6a1e 100%);
}

img[src="assets/nuuksio-trail.png"] {
  background: linear-gradient(160deg, #1a3a1e 0%, #2e5c1a 40%, #4a7c2e 100%);
}

img[src="assets/koli-panorama.png"] {
  background: linear-gradient(160deg, #0d2b3a 0%, #1a4a5a 40%, #2e7a8a 100%);
}

img[src="assets/oulanka-rapids.png"] {
  background: linear-gradient(160deg, #1a0d0a 0%, #4a2010 40%, #8a5020 100%);
}

img[src="assets/hiker-profile.png"] {
  background: linear-gradient(160deg, #1a2a10 0%, #2e4a1a 50%, #3a5e20 100%);
}

/* ─── BLOG POST PAGE ─── */
.post-hero {
  height: 70vh;
  min-height: 450px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
}

.post-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.post-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.1) 0%,
    rgba(0,0,0,0.7) 70%,
    rgba(0,0,0,0.9) 100%
  );
}

.post-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  color: var(--white);
}

.post-category-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 1rem;
}

.post-hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.post-hero-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  flex-wrap: wrap;
}

/* ─── POST BODY ─── */
.post-body-wrap {
  background: var(--white);
  padding: 4rem 2rem;
}

.post-body {
  max-width: 720px;
  margin: 0 auto;
}

.post-body p {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 1.6em;
}

.post-body h2 {
  margin-top: 2.5em;
  margin-bottom: 0.8em;
  font-size: 1.6rem;
  color: var(--forest-dark);
  border-left: 3px solid var(--amber);
  padding-left: 1rem;
}

.post-body h3 {
  margin-top: 2em;
  margin-bottom: 0.6em;
  font-size: 1.2rem;
  color: var(--forest-mid);
}

.post-body ul, .post-body ol {
  margin-left: 1.5rem;
  margin-bottom: 1.6em;
}

.post-body li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 0.4em;
}

.post-info-box {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-left: 4px solid var(--forest-light);
  border-radius: var(--radius);
  padding: 1.5rem 1.8rem;
  margin: 2.5rem 0;
}

.post-info-box h4 {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest-light);
  margin-bottom: 1rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  font-weight: 600;
}

.info-value {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

.post-quote {
  border-left: 3px solid var(--amber);
  margin: 2.5rem 0;
  padding: 1.2rem 2rem;
  background: rgba(200, 121, 65, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.post-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--forest-dark);
  line-height: 1.6;
  margin: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--forest-light);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 3rem;
  transition: gap 0.2s, color 0.2s;
}

.back-link:hover { gap: 0.7rem; color: var(--amber); }

/* ─── INLINE POST IMAGES ─── */
.post-image {
  margin: 2.5rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.post-image img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
}

.post-image figcaption {
  font-size: 0.82rem;
  color: var(--text-light);
  text-align: center;
  padding: 0.6rem 0 0;
  font-style: italic;
}

.post-image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2.5rem 0;
}

.post-image-pair figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.post-image-pair figure img {
  width: 100%;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.post-image-pair figcaption {
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  padding: 0.5rem 0 0;
  font-style: italic;
}

/* ─── MOBILE NAV ─── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.nav-hamburger:hover { background: rgba(255,255,255,0.1); }

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(20, 38, 22, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 1.2rem 0;
  z-index: 99;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  pointer-events: none;
}

.nav-mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
}

.nav-mobile-menu a {
  display: block;
  padding: 0.85rem 2rem;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}

.nav-mobile-menu a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--amber-light);
}

.nav-mobile-menu a.mobile-cta {
  margin: 1rem 2rem 0.5rem;
  background: var(--amber);
  color: var(--white);
  border-radius: var(--radius);
  border: none;
  text-align: center;
  font-weight: 600;
}

.nav-mobile-menu a.mobile-cta:hover {
  background: var(--amber-light);
  color: var(--white);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .featured-grid,
  .about-grid,
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .about-stats { gap: 1.5rem; }
  .info-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .post-image-pair {
    grid-template-columns: 1fr;
  }

  /* Images: never stretch, always cover */
  img {
    max-width: 100%;
    height: auto;
  }

  .post-card-image img,
  .featured-image-wrap img,
  .post-hero-bg,
  .hero-bg {
    object-fit: cover;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .section { padding: 3rem 1.2rem; }
  .hero-actions { flex-direction: column; align-items: center; }

  .post-hero {
    height: 55vh;
    min-height: 380px;
    padding-bottom: 2rem;
  }

  .post-hero h1 { font-size: 1.5rem; }
  .post-hero-meta { gap: 0.8rem; font-size: 0.78rem; flex-wrap: wrap; }

  .featured-meta { flex-wrap: wrap; gap: 0.75rem; }
  .featured-tags { gap: 0.4rem; }
}

/* Global: images never overflow or stretch */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
