/*
Theme Name:  World Tourism Wire
Theme URI:   https://worldtourismwire.com
Author:      World Tourism Wire
Author URI:  https://worldtourismwire.com
Description: A warm, earthy travel, lifestyle & beauty blog theme featuring a full-screen hero, featured posts, destination grid, and newsletter section.
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: world-tourism-wire
Tags:        blog, travel, lifestyle, beauty, one-column, two-columns, custom-menu, featured-images, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* ─── CSS Variables ──────────────────────────────────────────── */
:root {
  --sand:       #f5efe6;
  --cream:      #fdfaf6;
  --terracotta: #c9714a;
  --terra-dk:   #a85535;
  --terra-lt:   #e8a07a;
  --brown:      #5c3d2e;
  --warm-gray:  #8a7968;
  --charcoal:   #2e2419;
  --gold:       #c9a84c;
  --gold-lt:    #e8cf8a;
  --white:      #ffffff;
}

/* ─── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--sand); }
::-webkit-scrollbar-thumb { background: var(--terracotta); border-radius: 3px; }

/* ─── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--brown);
  line-height: 1.2;
}
p { margin-bottom: 1em; }
.entry-content h2 { font-size: 1.7rem; margin: 1.6em 0 0.6em; }
.entry-content h3 { font-size: 1.35rem; margin: 1.4em 0 0.5em; }
.entry-content p  { font-size: 1.05rem; line-height: 1.8; color: #4a3b2e; }
.entry-content ul, .entry-content ol { padding-left: 1.5em; margin-bottom: 1em; }
.entry-content li { margin-bottom: 0.4em; line-height: 1.7; }
.entry-content blockquote {
  border-left: 4px solid var(--terracotta);
  padding: 12px 20px;
  margin: 1.5em 0;
  background: var(--sand);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: var(--brown);
}
.entry-content img { border-radius: 12px; margin: 1.5em 0; }
.entry-content a { color: var(--terracotta); border-bottom: 1px solid var(--terra-lt); }
.entry-content a:hover { color: var(--terra-dk); }

/* ─── Skip Link ──────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  background: var(--terracotta);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ─── Top Bar ────────────────────────────────────────────────── */
.site-topbar {
  background: var(--terracotta);
  color: var(--cream);
  text-align: center;
  padding: 9px 20px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.site-topbar a { color: var(--cream); text-decoration: underline; }

/* ─── Site Header / Nav ──────────────────────────────────────── */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid rgba(92,61,46,0.12);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(92,61,46,0.06);
}
.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.site-branding a {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brown);
  letter-spacing: -0.01em;
}
.site-branding a span { color: var(--terracotta); }
.site-tagline {
  font-size: 0.72rem;
  color: var(--warm-gray);
  margin-top: 2px;
}

/* Primary Menu */
#primary-menu {
  display: flex;
  gap: 32px;
}
#primary-menu li { position: relative; }
#primary-menu > li > a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-gray);
  transition: color 0.2s;
  padding-bottom: 4px;
  position: relative;
}
#primary-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transition: transform 0.2s;
}
#primary-menu > li > a:hover,
#primary-menu > li.current-menu-item > a { color: var(--terracotta); }
#primary-menu > li > a:hover::after,
#primary-menu > li.current-menu-item > a::after { transform: scaleX(1); }

/* Dropdown */
#primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(92,61,46,0.15);
  min-width: 180px;
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 200;
}
#primary-menu li:hover .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#primary-menu .sub-menu li a {
  display: block;
  padding: 9px 18px;
  font-size: 0.82rem;
  color: var(--warm-gray);
  transition: color 0.2s, background 0.2s;
}
#primary-menu .sub-menu li a:hover {
  color: var(--terracotta);
  background: var(--sand);
}

.header-actions { display: flex; gap: 16px; align-items: center; }
.header-search-btn {
  background: none; border: none; cursor: pointer;
  color: var(--warm-gray); font-size: 1.1rem;
  transition: color 0.2s;
  padding: 4px;
}
.header-search-btn:hover { color: var(--terracotta); }
.btn-subscribe {
  background: var(--terracotta);
  color: var(--white);
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-subscribe:hover { background: var(--terra-dk); transform: translateY(-1px); }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--brown);
  font-size: 1.4rem;
  padding: 4px;
}

/* Mobile menu — hidden globally, shown only when .open is toggled via JS */
.mobile-menu {
  display: none !important;
}
.mobile-menu.open {
  display: block !important;
}

/* ─── Hero ───────────────────────────────────────────────────── */
.site-hero {
  position: relative;
  height: 92vh;
  min-height: 580px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-bg {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  transition: transform 8s ease;
}
.hero-bg::after {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to bottom, rgba(46,36,25,0.15) 0%, rgba(46,36,25,0.62) 100%);
}
.site-hero:hover .hero-bg { transform: scale(1); }
.hero-content {
  position: relative; z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
  width: 100%;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  max-width: 760px;
  margin-bottom: 18px;
}
.hero-description {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-cta-group { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--terra-dk); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-ghost:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); }

/* ─── Category Filter Bar ────────────────────────────────────── */
.category-bar {
  background: var(--sand);
  padding: 20px 0;
  border-bottom: 1px solid rgba(92,61,46,0.08);
}
.category-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.cat-bar-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-right: 4px;
}
.cat-pill {
  padding: 7px 18px;
  border-radius: 50px;
  border: 1.5px solid rgba(92,61,46,0.2);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brown);
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
}
.cat-pill:hover, .cat-pill.active, a.cat-pill.current-cat {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}

/* ─── Section Headers ────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 52px; }
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--brown);
  font-weight: 700;
}
.section-divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ─── Buttons (general) ──────────────────────────────────────── */
.btn-outline {
  display: inline-block;
  border: 2px solid var(--terracotta);
  color: var(--terracotta);
  padding: 13px 36px;
  border-radius: 50px;
  font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--terracotta); color: var(--white); transform: translateY(-2px); }

/* ─── Featured Posts ─────────────────────────────────────────── */
.featured-section { padding: 80px 0 40px; }
.featured-section .container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.featured-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
.featured-main {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  height: 520px;           /* explicit height so overlay has a known container */
}
.featured-main-imglink {
  display: block;
  width: 100%;
  height: 100%;
}
.featured-main .post-thumbnail,
.featured-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.featured-main:hover img { transform: scale(1.04); }
.featured-main-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to top, rgba(46,36,25,0.9) 40%, rgba(46,36,25,0.15) 80%);
  padding: 28px 32px 32px;
  display: flex; flex-direction: column; justify-content: flex-end;
  z-index: 2;
  pointer-events: none;   /* let clicks pass through to links inside */
}
.featured-main-overlay > * { pointer-events: auto; }
.featured-main-title a { color: var(--white); transition: color 0.2s; }
.featured-main-title a:hover { color: var(--terra-lt); }
.featured-main-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem; font-weight: 700;
  color: var(--white); line-height: 1.25;
  margin-bottom: 10px;
}
.featured-main-title a { color: var(--white); }
.featured-main-title a:hover { color: var(--terra-lt); }
.featured-main-meta {
  color: rgba(255,255,255,0.65);
  font-size: 0.75rem;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.featured-sidebar { display: flex; flex-direction: column; gap: 18px; }
.side-post {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.25s, transform 0.2s;
  box-shadow: 0 2px 12px rgba(92,61,46,0.06);
}
.side-post:hover {
  box-shadow: 0 8px 30px rgba(92,61,46,0.14);
  transform: translateY(-2px);
}
.side-post > a { display: block; overflow: hidden; height: 100%; }
.side-post .post-thumbnail,
.side-post > a img {
  width: 110px; height: 100%; object-fit: cover;
  min-height: 90px;
  transition: transform 0.4s;
  display: block;
}
.side-post:hover .post-thumbnail,
.side-post:hover > a img { transform: scale(1.05); }
.side-post-title a { color: var(--brown); transition: color 0.2s; }
.side-post-title a:hover { color: var(--terracotta); }
.side-post-body {
  padding: 12px 14px;
  display: flex; flex-direction: column; justify-content: center;
}
.side-post-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem; font-weight: 600;
  color: var(--brown); line-height: 1.3;
  margin-bottom: 6px;
}
.side-post-title a { color: var(--brown); transition: color 0.2s; }
.side-post-title a:hover { color: var(--terracotta); }
.side-post-meta { font-size: 0.7rem; color: var(--warm-gray); }

/* ─── Category Badge ─────────────────────────────────────────── */
.cat-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  width: fit-content;
}
.cat-badge-travel   { background: var(--terracotta); color: var(--white); }
.cat-badge-lifestyle{ background: var(--gold);        color: var(--white); }
.cat-badge-beauty   { background: #b8748a;            color: var(--white); }
.cat-badge-wellness { background: #6d9e7a;            color: var(--white); }
.cat-badge-food     { background: #d4883a;            color: var(--white); }
.cat-badge-default  { background: var(--warm-gray);   color: var(--white); }

/* ─── Post Cards Grid ────────────────────────────────────────── */
.latest-section { padding: 80px 0; background: var(--sand); }
.latest-section .container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.post-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.25s;
  box-shadow: 0 2px 14px rgba(92,61,46,0.07);
}
.post-card:hover {
  box-shadow: 0 12px 40px rgba(92,61,46,0.16);
  transform: translateY(-4px);
}
.post-card-img {
  position: relative; overflow: hidden; height: 220px;
}
.post-card-img .post-thumbnail,
.post-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.post-card:hover .post-card-img img,
.post-card:hover .post-card-img .post-thumbnail { transform: scale(1.06); }
.post-card-badge { position: absolute; top: 14px; left: 14px; }
.post-card-no-img { background: var(--sand); height: 220px; display:flex; align-items:center; justify-content:center; font-size:2.5rem; }
.post-card-body { padding: 22px 22px 26px; }
.post-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 600;
  color: var(--brown); line-height: 1.35;
  margin-bottom: 10px;
}
.post-card-title a { color: var(--brown); transition: color 0.2s; }
.post-card:hover .post-card-title a { color: var(--terracotta); }
.post-card-excerpt {
  font-size: 0.83rem; color: var(--warm-gray);
  line-height: 1.65; margin-bottom: 18px;
}
.post-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(92,61,46,0.08);
  font-size: 0.72rem; color: var(--warm-gray);
}
.post-card-author { display: flex; align-items: center; gap: 8px; }
.author-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 0.62rem; font-weight: 700;
  overflow: hidden; flex-shrink: 0;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.read-more-link {
  color: var(--terracotta); font-weight: 600;
  font-size: 0.75rem; letter-spacing: 0.04em;
  transition: letter-spacing 0.2s;
}
.post-card:hover .read-more-link { letter-spacing: 0.08em; }
.view-all-wrap { text-align: center; margin-top: 48px; }

/* ─── Destinations ───────────────────────────────────────────── */
.destinations-section { padding: 80px 0; background: var(--cream); }
.destinations-section .container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.dest-card {
  position: relative;
  border-radius: 16px; overflow: hidden;
  cursor: pointer; height: 260px;
}
.dest-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.dest-card:hover img { transform: scale(1.08); }
.dest-overlay {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to top, rgba(46,36,25,0.75) 30%, transparent 75%);
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 20px;
  transition: background 0.3s;
}
.dest-card:hover .dest-overlay {
  background: linear-gradient(to top, rgba(201,113,74,0.75) 20%, transparent 70%);
}
.dest-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--white); margin-bottom: 2px;
}
.dest-count { font-size: 0.72rem; color: rgba(255,255,255,0.75); }

/* ─── Newsletter ─────────────────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terra-dk) 100%);
  padding: 90px 24px;
  position: relative; overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.newsletter-section::after {
  content: '';
  position: absolute; bottom: -80px; left: -40px;
  width: 240px; height: 240px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.newsletter-inner {
  max-width: 600px; margin: 0 auto;
  text-align: center; position: relative; z-index: 1;
}
.nl-icon { font-size: 2.4rem; margin-bottom: 20px; }
.nl-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--white); font-weight: 700;
  margin-bottom: 14px; line-height: 1.2;
}
.nl-description {
  color: rgba(255,255,255,0.82);
  font-size: 1rem; font-weight: 300;
  margin-bottom: 36px; line-height: 1.6;
}
.nl-form {
  display: flex; gap: 0;
  background: var(--white);
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(46,36,25,0.2);
}
.nl-input {
  flex: 1; border: none; outline: none;
  padding: 16px 24px;
  font-size: 0.9rem; font-family: 'Inter', sans-serif;
  color: var(--charcoal); background: transparent;
}
.nl-input::placeholder { color: #bbb; }
.nl-submit {
  background: var(--terracotta); color: var(--white);
  border: none; cursor: pointer;
  padding: 14px 28px;
  font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  border-radius: 0 50px 50px 0;
  transition: background 0.2s;
}
.nl-submit:hover { background: var(--charcoal); }
.nl-privacy { color: rgba(255,255,255,0.6); font-size: 0.72rem; margin-top: 14px; }

/* ─── About Section ──────────────────────────────────────────── */
.about-section { padding: 80px 0; background: var(--sand); }
.about-section .container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-wrap img {
  width: 100%; border-radius: 20px; height: 460px; object-fit: cover;
}
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--terracotta); color: var(--white);
  border-radius: 50%; width: 100px; height: 100px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  box-shadow: 0 6px 24px rgba(201,113,74,0.35);
}
.about-badge-num { font-size: 1.6rem; font-weight: 700; line-height: 1; }
.about-badge-txt { font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.about-content .section-eyebrow { text-align: left; }
.about-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 700;
  color: var(--brown); line-height: 1.25; margin-bottom: 20px;
}
.about-text { color: var(--warm-gray); font-size: 0.95rem; line-height: 1.75; }
.about-stats { display: flex; gap: 32px; margin: 28px 0 32px; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 700; color: var(--terracotta);
}
.stat-label { font-size: 0.72rem; color: var(--warm-gray); text-transform: uppercase; letter-spacing: 0.08em; }

/* ─── Single Post ────────────────────────────────────────────── */
.single-hero {
  height: 55vh; min-height: 380px;
  position: relative; overflow: hidden;
}
.single-hero-img {
  width: 100%; height: 100%; object-fit: cover;
}
.single-hero-overlay {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to top, rgba(46,36,25,0.7) 30%, rgba(46,36,25,0.1) 80%);
  display: flex; align-items: flex-end;
}
.single-hero-content {
  max-width: 900px; margin: 0 auto; padding: 0 24px 48px;
  width: 100%;
}
.single-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--white); font-weight: 700;
  line-height: 1.2; margin-bottom: 14px;
}
.single-hero-meta {
  color: rgba(255,255,255,0.7); font-size: 0.82rem;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.single-content-wrap {
  max-width: 800px; margin: 0 auto; padding: 60px 24px;
}
.entry-content { min-width: 0; }


/* ─── Comments ──────────────────────────────────────────────── */
.comments-area {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--sand-dark, #e8ddd0);
}
.comments-title,
.comment-reply-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 28px;
}
.comment-reply-title { font-size: 1.25rem; }
.comment-list { list-style: none; padding: 0; margin: 0 0 48px; }
.comment-list .comment { margin-bottom: 28px; }
.comment-body {
  background: var(--sand);
  border-radius: 12px;
  padding: 20px 24px;
}
.comment-author .fn {
  font-weight: 700;
  color: var(--brown);
  font-size: 0.92rem;
}
.comment-author img {
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}
.comment-meta {
  font-size: 0.78rem;
  color: var(--warm-gray);
  margin-bottom: 10px;
}
.comment-meta a { color: var(--warm-gray); text-decoration: none; }
.comment-content p {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--brown-lt, #5a4535);
  margin: 0;
}
.reply { margin-top: 10px; }
.comment-reply-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--terracotta);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.comment-reply-link:hover { text-decoration: underline; }
/* children indentation */
.comment-list .children {
  list-style: none;
  margin: 16px 0 0 32px;
  padding: 0;
}

/* Comment Form */
.comment-respond {
  background: var(--sand);
  border-radius: 16px;
  padding: 32px;
  margin-top: 12px;
}
#commentform label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 6px;
}
#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"],
#commentform textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d9cfc4;
  border-radius: 8px;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--brown);
  box-sizing: border-box;
  margin-bottom: 18px;
  transition: border-color 0.2s;
  outline: none;
}
#commentform input:focus,
#commentform textarea:focus { border-color: var(--terracotta); }
#commentform textarea { min-height: 130px; resize: vertical; }
.form-submit { margin-top: 4px; }
#commentform #submit {
  background: var(--terracotta);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
#commentform #submit:hover {
  background: var(--terra-dk, #c0522a);
  transform: translateY(-1px);
}
.logged-in-as {
  font-size: 0.82rem;
  color: var(--warm-gray);
  margin-bottom: 20px;
}
.logged-in-as a { color: var(--terracotta); text-decoration: none; }
.comment-notes {
  font-size: 0.82rem;
  color: var(--warm-gray);
  margin-bottom: 20px;
}

/* ─── Archive Page ───────────────────────────────────────────── */
.archive-header {
  background: var(--sand);
  padding: 60px 24px 40px;
  text-align: center;
}
.archive-header .archive-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; color: var(--brown); font-weight: 700;
}
.archive-header .archive-description { color: var(--warm-gray); margin-top: 10px; }
.archive-content {
  max-width: 1200px; margin: 0 auto; padding: 60px 24px;
  display: grid; grid-template-columns: 1fr 280px; gap: 48px;
}

/* ─── Sidebar ────────────────────────────────────────────────── */
.sidebar { min-width: 0; }
.widget {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: 0 2px 12px rgba(92,61,46,0.06);
}
.widget-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--brown); margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--sand);
}
.widget ul { list-style: none; }
.widget ul li { padding: 6px 0; border-bottom: 1px solid var(--sand); }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--warm-gray); font-size: 0.88rem; transition: color 0.2s; }
.widget ul li a:hover { color: var(--terracotta); }

/* ─── Pagination ─────────────────────────────────────────────── */
.pagination { text-align: center; margin: 48px 0 0; }
.pagination .page-numbers {
  display: inline-flex; gap: 6px; flex-wrap: wrap;
  justify-content: center;
}
.pagination .page-numbers a,
.pagination .page-numbers span {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 0.85rem; font-weight: 600;
  border: 1.5px solid rgba(92,61,46,0.15);
  color: var(--warm-gray);
  transition: all 0.2s;
}
.pagination .page-numbers a:hover,
.pagination .page-numbers .current {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}

/* ─── Search ─────────────────────────────────────────────────── */
.search-form { display: flex; gap: 0; margin-bottom: 40px; }
.search-field {
  flex: 1; padding: 13px 20px;
  border: 1.5px solid rgba(92,61,46,0.18);
  border-right: none;
  border-radius: 50px 0 0 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem; color: var(--charcoal);
  background: var(--white); outline: none;
}
.search-submit {
  background: var(--terracotta); color: var(--white);
  border: none; cursor: pointer;
  padding: 13px 24px;
  border-radius: 0 50px 50px 0;
  font-weight: 600; font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
}
.search-submit:hover { background: var(--terra-dk); }

/* ─── 404 ────────────────────────────────────────────────────── */
.error-404 {
  text-align: center;
  padding: 100px 24px;
  max-width: 600px; margin: 0 auto;
}
.error-404 .error-code {
  font-family: 'Playfair Display', serif;
  font-size: 7rem; font-weight: 700;
  color: var(--terra-lt); line-height: 1;
}
.error-404 h1 { font-size: 2rem; color: var(--brown); margin-bottom: 16px; }
.error-404 p { color: var(--warm-gray); margin-bottom: 32px; }

/* ─── Back to Top ────────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  background: var(--terracotta); color: var(--white);
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer;
  box-shadow: 0 4px 18px rgba(201,113,74,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.2s;
  z-index: 200; border: none;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }

/* ─── Toast ──────────────────────────────────────────────────── */
.wtw-toast {
  position: fixed; bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--brown); color: var(--white);
  padding: 14px 28px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 500;
  box-shadow: 0 8px 32px rgba(46,36,25,0.3);
  opacity: 0; pointer-events: none;
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
  z-index: 300; white-space: nowrap;
}
.wtw-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.65);
  padding: 60px 24px 32px;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--white); margin-bottom: 14px;
}
.footer-brand-name span { color: var(--terra-lt); }
.footer-desc { font-size: 0.84rem; line-height: 1.7; margin-bottom: 24px; }
.social-links { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  transition: background 0.2s, transform 0.15s; cursor: pointer;
}
.social-btn:hover { background: var(--terracotta); transform: translateY(-2px); }
.footer-col-title {
  font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white); margin-bottom: 18px;
}
.footer-menu { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-menu a {
  font-size: 0.84rem; color: rgba(255,255,255,0.55); transition: color 0.2s;
}
.footer-menu a:hover { color: var(--terra-lt); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: 0.78rem;
}
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-legal-links a:hover { color: var(--terra-lt); }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: 1fr; }
  .featured-main { height: 380px; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .dest-grid { grid-template-columns: 1fr 1fr; }
  .about-section .container { grid-template-columns: 1fr; }
  .about-img-wrap img { height: 320px; }
  .about-badge { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .archive-content { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-menu-wrap, .header-search-btn { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu {
    display: none;
    position: fixed; inset: 0; top: 70px;
    background: var(--cream); z-index: 99;
    padding: 32px 24px; overflow-y: auto;
  }
  .mobile-menu.open { display: block; }
  .mobile-menu ul { list-style: none; }
  .mobile-menu ul li { border-bottom: 1px solid rgba(92,61,46,0.1); }
  .mobile-menu ul li a {
    display: block; padding: 14px 0;
    font-size: 1.1rem; font-weight: 600; color: var(--brown);
  }
  .posts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nl-form { flex-direction: column; border-radius: 14px; }
  .nl-submit { border-radius: 0 0 14px 14px; padding: 14px; }
}
@media (max-width: 480px) {
  .dest-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { flex-wrap: wrap; gap: 20px; }
}

/* ─── Accessibility ──────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}
.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
