/*
Theme Name: JetSetWhisper
Theme URI: https://jetsetwhisper.com
Author: JetSetWhisper
Author URI: https://jetsetwhisper.com
Description: Custom editorial travel-blog theme for JetSetWhisper. Built to reproduce the original static design 1:1, with SEO-focused article templates, a content model matching the editorial Google Sheet workflow (Focus Keyword, Related Keywords, Country/City, Internal/External Links), and widgetized header/footer regions for n8n-driven automated publishing.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: jetsetwhisper
Tags: blog, travel, editorial, custom-menu, featured-images, translation-ready
*/

/* ── Design tokens ─────────────────────── */
:root {
  --clr-primary: #1a5276;
  --clr-primary-dark: #0d3349;
  --clr-accent: #e67e22;
  --clr-accent-light: #f0a500;
  --clr-dark: #1a1a2e;
  --clr-bg-light: #f8f5f0;
  --clr-text-muted: #6c757d;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: #2c2c2c;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: var(--font-serif); }

img { max-width: 100%; height: auto; }

/* WordPress core accessibility class */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
  width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0,0,0,0.6);
  clip: auto !important; clip-path: none; color: #21759b; display: block;
  font-size: 0.875rem; font-weight: 700; height: auto; left: 5px; line-height: normal;
  padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000;
}

a { transition: color 0.2s; }

/* ── Navbar ─────────────────────────────── */
#mainNav {
  transition: background 0.4s ease, box-shadow 0.4s ease;
  padding: 1.1rem 0;
}
#mainNav.scrolled,
#mainNav.nav-solid {
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}
.navbar-brand {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: -0.3px;
}
#mainNav.scrolled .navbar-brand,
#mainNav.nav-solid .navbar-brand { color: var(--clr-primary) !important; }
#mainNav.scrolled .nav-link,
#mainNav.nav-solid .nav-link { color: var(--clr-dark) !important; }
.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0.25rem;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.current-menu-item { color: var(--clr-accent-light) !important; }
.nav-cta {
  background: var(--clr-accent) !important;
  color: #fff !important;
  border-radius: 50px !important;
  padding: 0.4rem 1.2rem !important;
}
.nav-cta:hover { background: var(--clr-accent-light) !important; }

/* ── Hero ───────────────────────────────── */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(13, 36, 69, 0.78) 0%, rgba(22, 82, 118, 0.62) 60%, rgba(0, 0, 0, 0.4) 100%),
    var(--hero-bg-image, url('https://images.unsplash.com/photo-1488085061387-422e29b40080?auto=format&fit=crop&w=1920&q=80')) center / cover no-repeat fixed;
  display: flex;
  align-items: center;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 130px;
  background: linear-gradient(to top, #fff, transparent);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding: 7rem 0 4rem; }
.hero-badge {
  display: inline-block;
  background: rgba(230, 126, 34, 0.18);
  border: 1px solid rgba(230, 126, 34, 0.5);
  color: var(--clr-accent-light);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 1.4rem;
}
.hero h1 span { color: var(--clr-accent-light); }
.hero-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 2.4rem;
}
.btn-hero-primary {
  display: inline-block;
  background: var(--clr-accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.85rem 2.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-hero-primary:hover {
  background: var(--clr-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 126, 34, 0.4);
  color: #fff;
}
.btn-hero-secondary {
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50px;
  padding: 0.85rem 2.2rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; flex-wrap: wrap; }
.hero-stat-number {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--clr-accent-light);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 0.2rem;
}
.scroll-indicator {
  position: absolute;
  bottom: 148px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2.2s ease-in-out infinite;
}
.scroll-indicator a { color: rgba(255, 255, 255, 0.65); font-size: 1.3rem; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-9px); }
}

/* ── Section helpers ──────────────────── */
section { padding: 90px 0; }
.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--clr-accent);
  margin-bottom: 0.55rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--clr-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--clr-text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 560px;
}

/* ── About ────────────────────────────── */
.about-section { background: #fff; }
.about-img-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
}
.about-img-wrapper img { width: 100%; height: 500px; object-fit: cover; display: block; }
.about-badge {
  position: absolute;
  bottom: 28px;
  left: -18px;
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.4rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  min-width: 210px;
}
.about-badge-icon { font-size: 1.8rem; line-height: 1; }
.about-badge-text { font-size: 0.85rem; font-weight: 600; color: var(--clr-dark); margin-top: 0.3rem; }
.about-badge-sub { font-size: 0.75rem; color: var(--clr-text-muted); }
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.about-feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--clr-primary), #2980b9);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.about-feature-title { font-weight: 600; color: var(--clr-dark); margin-bottom: 0.2rem; font-size: 0.95rem; }
.about-feature-text { font-size: 0.88rem; color: var(--clr-text-muted); line-height: 1.65; }
.text-accent { color: var(--clr-accent) !important; }

/* ── Destinations / Article cards ─────── */
.destinations-section { background: var(--clr-bg-light); }
.dest-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.dest-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}
.dest-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
  flex-shrink: 0;
  background: var(--clr-bg-light);
}
.dest-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.dest-card:hover .dest-img-wrapper img { transform: scale(1.07); }
.dest-region {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--clr-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.dest-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.dest-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-dark);
  margin-bottom: 0.5rem;
}
.dest-title a { color: inherit; text-decoration: none; }
.dest-title a:hover { color: var(--clr-primary); }
.dest-desc { font-size: 0.88rem; color: var(--clr-text-muted); line-height: 1.65; margin-bottom: 1rem; flex: 1; }
.dest-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.dest-tag {
  font-size: 0.72rem;
  background: #eef4f8;
  color: var(--clr-primary);
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  font-weight: 500;
}
.dest-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.dest-link:hover { color: var(--clr-primary); }
.dest-link i { transition: transform 0.2s; }
.dest-link:hover i { transform: translateX(4px); }

/* ── Categories ───────────────────────── */
.categories-section { background: #fff; }
.cat-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: 270px;
  cursor: pointer;
  transition: transform 0.3s;
  display: block;
  text-decoration: none;
}
.cat-card:hover { transform: scale(1.02); }
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}
.cat-card:hover img { transform: scale(1.06); }
.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 36, 69, 0.85) 0%, rgba(0, 0, 0, 0.15) 65%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.cat-emoji { font-size: 2rem; margin-bottom: 0.3rem; line-height: 1; }
.cat-title { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: #fff; line-height: 1.2; }
.cat-count { font-size: 0.78rem; color: rgba(255, 255, 255, 0.7); margin-top: 0.2rem; }

/* ── Stats bar ────────────────────────── */
.stats-section { background: var(--clr-bg-light); padding: 55px 0; }
.stat-item { text-align: center; padding: 1.2rem; }
.stat-number {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--clr-primary);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.3rem;
}

/* ── Newsletter ───────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, var(--clr-primary) 0%, #2980b9 100%);
  padding: 90px 0;
}
.newsletter-section .section-title { color: #fff; }
.newsletter-section .section-subtitle { color: rgba(255, 255, 255, 0.8); max-width: 500px; }
.newsletter-form { max-width: 510px; margin: 0 auto; }
.newsletter-input-group {
  display: flex;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.newsletter-input-group input {
  background: transparent;
  border: none;
  color: #fff;
  padding: 0.9rem 1.4rem;
  font-size: 0.92rem;
  flex: 1;
  outline: none;
  font-family: var(--font-sans);
  min-width: 0;
}
.newsletter-input-group input::placeholder { color: rgba(255, 255, 255, 0.55); }
.newsletter-input-group button {
  background: var(--clr-accent);
  color: #fff;
  border: none;
  padding: 0.9rem 1.6rem;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 0 50px 50px 0;
  white-space: nowrap;
  font-family: var(--font-sans);
}
.newsletter-input-group button:hover { background: var(--clr-accent-light); }
.newsletter-perks {
  display: flex;
  gap: 1.4rem;
  margin-top: 1.1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-perk { font-size: 0.8rem; color: rgba(255, 255, 255, 0.72); display: flex; align-items: center; gap: 0.35rem; }
.newsletter-perk i { color: var(--clr-accent-light); font-size: 0.7rem; }

/* Compact newsletter widget (sidebar) */
.widget-newsletter { background: linear-gradient(135deg, var(--clr-primary) 0%, #2980b9 100%); border-radius: 20px; padding: 1.8rem; color: #fff; }
.widget-newsletter h4 { font-size: 1.15rem; color: #fff; margin-bottom: 0.5rem; }
.widget-newsletter p { font-size: 0.85rem; color: rgba(255,255,255,0.82); margin-bottom: 1rem; }
.widget-newsletter .newsletter-input-group input { padding: 0.7rem 1.1rem; font-size: 0.85rem; }
.widget-newsletter .newsletter-input-group button { padding: 0.7rem 1.1rem; font-size: 0.8rem; }

/* ── Footer ───────────────────────────── */
footer {
  background: var(--clr-dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 70px 0 32px;
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
}
.footer-brand img { max-height: 40px; }
.footer-desc { font-size: 0.88rem; line-height: 1.75; max-width: 290px; margin: 0.9rem 0; }
.footer-socials { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  font-size: 0.85rem;
}
.footer-social:hover { background: var(--clr-accent); color: #fff; }
.footer-heading {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-links, .footer-widget ul { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-widget ul li { margin-bottom: 0.55rem; }
.footer-links a, .footer-widget a {
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-links a:hover, .footer-widget a:hover { color: var(--clr-accent-light); }
.footer-divider { border-color: rgba(255, 255, 255, 0.08); margin: 2rem 0 1.2rem; }
.footer-bottom { font-size: 0.8rem; color: rgba(255, 255, 255, 0.38); }
.footer-bottom a { color: rgba(255,255,255,0.5); }

/* ── Breadcrumbs ──────────────────────── */
.jsw-breadcrumbs {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  margin-bottom: 1.4rem;
}
.jsw-breadcrumbs a { color: var(--clr-text-muted); text-decoration: none; }
.jsw-breadcrumbs a:hover { color: var(--clr-accent); }
.jsw-breadcrumbs .sep { margin: 0 0.4rem; opacity: 0.5; }

/* ── Archive banner (categories, tags, search) ─────── */
.page-banner {
  background: linear-gradient(135deg, rgba(13, 36, 69, 0.88) 0%, rgba(22, 82, 118, 0.78) 100%), var(--clr-dark);
  background-size: cover;
  background-position: center;
  padding: 160px 0 70px;
  color: #fff;
}
.page-banner .jsw-breadcrumbs, .page-banner .jsw-breadcrumbs a { color: rgba(255,255,255,0.7); }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.6rem; }

/* ── Reading progress bar ─────────────── */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-accent-light));
  z-index: 2000;
  transition: width 0.08s linear;
}

/* ── Immersive article hero ───────────── */
.article-hero {
  position: relative;
  min-height: 66vh;
  display: flex;
  align-items: flex-end;
  padding: 170px 0 0;
  background:
    linear-gradient(to top, rgba(10, 18, 32, 0.94) 0%, rgba(13, 36, 69, 0.55) 48%, rgba(13, 36, 69, 0.35) 100%),
    var(--article-hero-img, linear-gradient(135deg, var(--clr-primary-dark), var(--clr-primary))) center / cover no-repeat;
  color: #fff;
}
.article-hero-inner { position: relative; z-index: 2; padding-bottom: 3.2rem; max-width: 860px; }
.article-hero .jsw-breadcrumbs { color: rgba(255,255,255,0.65); margin-bottom: 1.1rem; }
.article-hero .jsw-breadcrumbs a { color: rgba(255,255,255,0.65); }
.article-hero .jsw-breadcrumbs a:hover { color: var(--clr-accent-light); }
.article-cat {
  display: inline-block;
  background: var(--clr-accent);
  color: #fff !important;
  padding: 0.32rem 1rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  margin-bottom: 1.1rem;
  transition: background 0.2s;
}
.article-cat:hover { background: var(--clr-accent-light); }
.article-hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.article-excerpt-lead {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 1.4rem;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.article-meta a { color: rgba(255,255,255,0.88); text-decoration: none; }
.article-meta a:hover { color: var(--clr-accent-light); }
.article-meta .meta-author { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 500; }
.article-meta .meta-author img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.4); }
.article-meta i { color: var(--clr-accent-light); }
.meta-location {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.22rem 0.8rem;
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 500;
}

/* ── Article layout & typography ──────── */
.article-layout { padding: 4.5rem 0 3rem; }
.article-content {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #333;
  max-width: 720px;
}
.article-content > p:first-of-type {
  font-size: 1.22rem;
  color: #444;
  line-height: 1.8;
}
.article-content > p:first-of-type::first-letter {
  font-family: var(--font-serif);
  font-size: 3.6em;
  font-weight: 700;
  color: var(--clr-primary);
  float: left;
  line-height: 0.82;
  padding: 0.06em 0.12em 0 0;
}
.article-content h2 {
  font-size: 1.75rem;
  color: var(--clr-dark);
  margin: 2.8rem 0 1.1rem;
  position: relative;
  padding-bottom: 0.7rem;
}
.article-content h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 46px; height: 3px;
  border-radius: 3px;
  background: var(--clr-accent);
}
.article-content h3 {
  font-size: 1.35rem;
  color: var(--clr-dark);
  margin: 2.2rem 0 0.9rem;
}
.article-content h4 { font-size: 1.15rem; color: var(--clr-dark); margin: 1.8rem 0 0.7rem; }
.article-content p { margin-bottom: 1.4rem; }
.article-content a { color: var(--clr-accent); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(230,126,34,0.3); }
.article-content a:hover { color: var(--clr-primary); border-color: var(--clr-primary); }
.article-content img { border-radius: 16px; margin: 2rem 0; box-shadow: 0 12px 36px rgba(0,0,0,0.1); }
.article-content figure { margin: 2rem 0; }
.article-content figure img { margin: 0; }
.article-content figcaption {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  text-align: center;
  margin-top: 0.7rem;
  font-style: italic;
}
.article-content blockquote {
  border: none;
  background: var(--clr-bg-light);
  padding: 1.8rem 2rem 1.8rem 3.4rem;
  border-radius: 18px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--clr-dark);
  margin: 2.2rem 0;
  position: relative;
}
.article-content blockquote::before {
  content: '\201C';
  font-family: var(--font-serif);
  position: absolute;
  top: 0.6rem; left: 1.1rem;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--clr-accent);
  opacity: 0.55;
}
.article-content blockquote p:last-child { margin-bottom: 0; }
.article-content ul, .article-content ol { margin-bottom: 1.4rem; padding-left: 1.4rem; }
.article-content li { margin-bottom: 0.55rem; }
.article-content li::marker { color: var(--clr-accent); font-weight: 700; }
.article-content hr {
  border: none;
  text-align: center;
  margin: 2.6rem 0;
}
.article-content hr::after {
  content: '· · ·';
  color: var(--clr-accent);
  font-size: 1.3rem;
  letter-spacing: 0.6em;
}
.article-content table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: 0.95rem; }
.article-content table th {
  background: var(--clr-primary);
  color: #fff;
  padding: 0.7rem 1rem;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 600;
}
.article-content table td { padding: 0.65rem 1rem; border-bottom: 1px solid #eee; }
.article-content table tr:nth-child(even) td { background: var(--clr-bg-light); }

/* ── Article footer elements ──────────── */
.article-footer { max-width: 720px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2.4rem 0 0; }
.article-tags a {
  font-size: 0.78rem;
  background: #eef4f8;
  color: var(--clr-primary);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.article-tags a:hover { background: var(--clr-primary); color: #fff; }

.share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 1.2rem 0;
  margin: 2.2rem 0;
}
.share-links { display: flex; gap: 0.6rem; align-items: center; }
.share-links span { font-size: 0.82rem; font-weight: 600; color: var(--clr-dark); margin-right: 0.4rem; }
.share-link {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--clr-bg-light); color: var(--clr-primary);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 0.92rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.share-link:hover { background: var(--clr-primary); color: #fff; transform: translateY(-2px); }

.author-box {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  background: linear-gradient(135deg, var(--clr-bg-light) 0%, #fdfbf8 100%);
  border: 1px solid #f0ebe3;
  border-radius: 20px;
  padding: 1.8rem;
  margin: 2.4rem 0;
}
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.author-box-label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--clr-accent); margin-bottom: 0.2rem; }
.author-box-name { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 700; color: var(--clr-dark); margin-bottom: 0.35rem; }
.author-box-bio { font-size: 0.9rem; color: var(--clr-text-muted); line-height: 1.65; }

/* ── Prev / next navigation ───────────── */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin: 2.6rem 0 0;
}
@media (max-width: 575px) { .post-nav { grid-template-columns: 1fr; } }
.post-nav-card {
  display: block;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 1.4rem 1.6rem;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.post-nav-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border-color: transparent;
}
.post-nav-card.next { text-align: right; }
.post-nav-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--clr-accent);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.post-nav-card.next .post-nav-label { justify-content: flex-end; }
.post-nav-title {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--clr-dark);
  line-height: 1.35;
}
.post-nav-card:hover .post-nav-title { color: var(--clr-primary); }

.related-posts-section { background: var(--clr-bg-light); padding: 70px 0; margin-top: 3.5rem; }

/* ── Static page hero & layout ────────── */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 44vh;
  padding: 170px 0 0;
  background:
    linear-gradient(to top, rgba(10, 18, 32, 0.92) 0%, rgba(13, 36, 69, 0.6) 60%, rgba(13, 36, 69, 0.45) 100%),
    var(--page-hero-img, linear-gradient(135deg, var(--clr-primary-dark), var(--clr-primary))) center / cover no-repeat;
  color: #fff;
}
.page-hero-inner { position: relative; z-index: 2; padding-bottom: 2.8rem; max-width: 820px; }
.page-hero .jsw-breadcrumbs, .page-hero .jsw-breadcrumbs a { color: rgba(255,255,255,0.65); }
.page-hero .jsw-breadcrumbs a:hover { color: var(--clr-accent-light); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.5vw, 3.2rem); margin-bottom: 0; text-shadow: 0 2px 24px rgba(0,0,0,0.3); }
.page-hero .page-updated { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-top: 0.8rem; }
.page-layout { padding: 4.5rem 0; }
.page-layout .article-content { max-width: 760px; margin: 0 auto; }

/* ── Sidebar & widgets ────────────────── */
.jsw-sidebar { padding-left: 1.5rem; }
.sidebar-sticky { position: sticky; top: 96px; }
@media (max-width: 991px) { .jsw-sidebar { padding-left: 0; margin-top: 3rem; } .sidebar-sticky { position: static; } }
.widget {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 1.6rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.widget-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-dark);
  margin-bottom: 1.1rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--clr-bg-light);
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { margin-bottom: 0.75rem; }
.widget ul li:last-child { margin-bottom: 0; }
.widget a { color: #444; text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.widget a:hover { color: var(--clr-accent); }
.widget .tagcloud a {
  display: inline-block;
  font-size: 0.75rem !important;
  background: #eef4f8;
  color: var(--clr-primary);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  margin: 0 0.35rem 0.5rem 0;
}
.widget select, .widget input[type="text"], .widget input[type="search"] {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
  font-size: 0.88rem;
}
.widget-search-form { display: flex; gap: 0.5rem; }
.widget-search-form button {
  background: var(--clr-accent); color: #fff; border: none; border-radius: 10px; padding: 0 1rem; cursor: pointer;
}
.widget-post {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
  align-items: flex-start;
}
.widget-post:last-child { margin-bottom: 0; }
.widget-post img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.widget-post-title { font-size: 0.87rem; font-weight: 600; line-height: 1.4; color: var(--clr-dark); }
.widget-post-title a { color: inherit; }
.widget-post-date { font-size: 0.72rem; color: var(--clr-text-muted); margin-top: 0.2rem; }

/* ── Pagination ───────────────────────── */
.jsw-pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; flex-wrap: wrap; }
.jsw-pagination a, .jsw-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 0.8rem;
  border-radius: 50px; text-decoration: none;
  font-size: 0.88rem; font-weight: 600;
  background: #fff; color: var(--clr-dark); border: 1px solid #eee;
}
.jsw-pagination a:hover { background: var(--clr-bg-light); }
.jsw-pagination .current { background: var(--clr-accent); color: #fff; border-color: var(--clr-accent); }

/* ── Archive / blog listing header ───── */
.archive-intro { max-width: 700px; }

/* ── Comments ─────────────────────────────────────────────────
   Lightweight, editorial treatment — white cards, soft shadows,
   no dark-on-dark, nothing that clashes with the branding.
──────────────────────────────────────────────────────────── */
.jsw-comments {
  margin: 3rem 0;
  max-width: 760px;
}

/* ─ Section heading ─ */
.jsw-comments .comments-heading {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--clr-dark);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.jsw-comments .comments-heading .count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 50px;
}

/* ─ Comment list ─ */
.comment-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 2.4rem !important;
}
.comment-list li { margin: 0; padding: 0; }

/* Each comment card */
.comment-list .comment-body {
  background: #fff;
  border: 1px solid #f0ebe3;
  border-radius: 18px;
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.035);
  transition: box-shadow 0.2s;
}
.comment-list .comment-body:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.07); }

/* Commenter row */
.comment-list .comment-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}
.comment-list .comment-author .avatar {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  border: 2px solid var(--clr-bg-light) !important;
  flex-shrink: 0;
  margin: 0 !important;
}
.comment-list .comment-author .fn {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--clr-dark) !important;
  font-style: normal !important;
}
.comment-list .comment-author .says { display: none; }

/* Date & reply link */
.comment-list .comment-metadata {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.76rem;
  color: var(--clr-text-muted);
  margin: 0;
}
.comment-list .comment-metadata a {
  color: var(--clr-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.comment-list .comment-metadata a:hover { color: var(--clr-accent); }

/* Comment text */
.comment-list .comment-content {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #444;
  margin-top: 0.6rem;
}
.comment-list .comment-content p:last-child { margin-bottom: 0; }
.comment-list .comment-content a { color: var(--clr-accent); }

/* Reply link */
.comment-list .reply {
  margin-top: 0.65rem;
}
.comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--clr-primary) !important;
  text-decoration: none !important;
  padding: 0.28rem 0.8rem;
  border-radius: 50px;
  border: 1px solid rgba(26,82,118,0.2);
  transition: background 0.2s, color 0.2s;
}
.comment-reply-link::before { content: '\f3e5'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 0.7rem; }
.comment-reply-link:hover { background: var(--clr-primary); color: #fff !important; border-color: var(--clr-primary); }

/* Threaded children */
.comment-list .children {
  list-style: none !important;
  padding: 0 0 0 2rem !important;
  margin: 0 !important;
}
.comment-list .children .comment-body {
  background: var(--clr-bg-light);
  border-color: #ede8e0;
  box-shadow: none;
}

/* No-comments state */
.no-comments {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  font-style: italic;
  padding: 1.2rem 0;
}

/* ─ Leave-a-comment form ─ */
#respond {
  background: #fff;
  border: 1px solid #f0ebe3;
  border-radius: 22px;
  padding: 2rem 2.2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  margin-top: 2.8rem;
}
@media (max-width: 575px) { #respond { padding: 1.4rem 1.2rem; border-radius: 16px; } }

#respond .comment-reply-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--clr-dark);
  margin-bottom: 0.4rem;
}
#respond .comment-reply-title small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--clr-text-muted);
  margin-top: 0.2rem;
}
#respond .comment-reply-title small a {
  color: var(--clr-accent);
  text-decoration: none;
  font-weight: 600;
}

/* Form note / must-fill notice */
#respond .comment-notes {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  margin-bottom: 1.4rem;
}

/* Labels */
#respond .comment-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-dark);
  margin-bottom: 0.4rem;
  letter-spacing: 0.2px;
}
#respond .required { color: var(--clr-accent); }

/* Input fields */
#respond input[type="text"],
#respond input[type="email"],
#respond input[type="url"],
#respond textarea {
  width: 100%;
  background: var(--clr-bg-light);
  border: 1.5px solid #e8e0d4;
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--clr-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  margin-bottom: 1.1rem;
}
#respond input[type="text"]:focus,
#respond input[type="email"]:focus,
#respond input[type="url"]:focus,
#respond textarea:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(26,82,118,0.1);
  background: #fff;
}
#respond textarea { min-height: 130px; resize: vertical; }

/* Author/email/url row */
#respond .comment-form-author,
#respond .comment-form-email,
#respond .comment-form-url {
  margin-bottom: 0;
}

/* Cookie/consent checkbox */
#respond .comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  margin-bottom: 1.4rem;
}
#respond .comment-form-cookies-consent input[type="checkbox"] {
  width: auto;
  accent-color: var(--clr-accent);
}

/* Submit button */
#respond .form-submit { margin-bottom: 0; }
#respond .form-submit input[type="submit"],
#respond input#submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--clr-accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.78rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.2px;
}
#respond .form-submit input[type="submit"]:hover,
#respond input#submit:hover {
  background: var(--clr-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(230,126,34,0.35);
}

/* ── 404 ──────────────────────────────── */
.error-404-section { padding: 160px 0 110px; text-align: center; }
.error-404-code { font-family: var(--font-serif); font-size: 6rem; font-weight: 700; color: var(--clr-primary); line-height: 1; }

/* ── Responsive ───────────────────────── */
@media (max-width: 991px) {
  .about-badge { left: 10px; }
}

/* ─ Tablet: tighten sections ─ */
@media (max-width: 767px) {
  section { padding: 60px 0; }
  .hero-stats { gap: 1.6rem; }
  .btn-hero-secondary { margin-left: 0 !important; }
  .about-img-wrapper img { height: 340px; }

  /* Fix lop-sided margin on article hero (Bootstrap container adds
     padding-left but the fixed hero stretches outside it on some devices) */
  .article-hero {
    padding-left: 0;
    padding-right: 0;
  }
  .article-hero .container,
  .article-hero .container > * { padding-left: 1rem; padding-right: 1rem; }

  .article-hero h1 { font-size: 1.85rem; }
  .article-hero-inner { padding-bottom: 2.2rem; }
  .article-excerpt-lead { font-size: 1rem; }
  .article-meta { gap: 0.5rem 1rem; }

  /* Page hero */
  .page-hero .container,
  .page-hero .container > * { padding-left: 1rem; padding-right: 1rem; }

  /* Article layout: let the reading column breathe on small screens */
  .article-layout { padding: 2.4rem 0 2rem; }
  .article-content { font-size: 1rem; }
  .article-content > p:first-of-type { font-size: 1.1rem; }
  .article-content > p:first-of-type::first-letter { font-size: 2.8em; }

  /* Share bar stack on mobile */
  .share-bar { flex-direction: column; gap: 0.7rem; }

  /* Post nav full width */
  .post-nav { gap: 0.8rem; }

  /* Homepage: remove extra horizontal padding inside hero on very small screens */
  .hero-content { padding: 5.5rem 0 3rem; }
  .hero h1 { font-size: clamp(2rem, 9vw, 3rem); }

  /* Destinations / categories cards: full width on xs */
  .dest-img-wrapper { height: 200px; }
  .cat-card { height: 230px; }

  /* Newsletter form: stack input + button */
  .newsletter-input-group {
    flex-direction: column;
    border-radius: 16px;
    overflow: visible;
    background: transparent;
    border: none;
    gap: 0.6rem;
  }
  .newsletter-input-group input {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 50px;
    color: #fff;
    padding: 0.9rem 1.4rem;
    width: 100%;
  }
  .newsletter-input-group button {
    border-radius: 50px;
    width: 100%;
    padding: 0.9rem 1.4rem;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .newsletter-perks { gap: 0.8rem; }

  /* Footer columns tighten */
  footer { padding: 50px 0 28px; }
  .footer-desc { max-width: 100%; }
}

/* ─ Extra-small (≤575px) ─ */
@media (max-width: 575px) {
  /* Hero badge hidden on very small screens to save vertical space */
  .hero-badge { display: none; }

  .hero-stats { gap: 1.2rem; }
  .hero-stat-number { font-size: 1.5rem; }

  .article-content blockquote { padding: 1.2rem 1.4rem 1.2rem 2.6rem; font-size: 1.05rem; }

  /* Categories grid: 2 cols instead of 4 on xs */
  .post-nav { grid-template-columns: 1fr; }

  /* Share links wrap */
  .share-links { flex-wrap: wrap; gap: 0.5rem; }
}
