/*
Theme Name: Flavor
Theme URI: https://github.com/blogfarm/flavor
Author: Blog Farm
Author URI: https://blogfarm.io
Description: A minimal, modern theme for travel magazines. Full-width images, clean typography, editorial design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flavor
Tags: blog, portfolio, photography, full-width-template, custom-logo, custom-menu, featured-images, theme-options
*/

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

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

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* Colors - Minimal palette */
  --fl-black: #141414;
  --fl-charcoal: #1f1f1f;
  --fl-gray-dark: #3d3d3d;
  --fl-gray: #666666;
  --fl-gray-light: #999999;
  --fl-gray-muted: #c4c4c4;
  --fl-border: #e5e5e5;
  --fl-off-white: #f7f7f5;
  --fl-white: #ffffff;

  /* Accent - subtle warm tone */
  --fl-accent: #b8956a;
  --fl-accent-hover: #a6845d;

  /* Typography */
  --fl-font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --fl-font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --fl-space-xs: 0.5rem;
  --fl-space-sm: 1rem;
  --fl-space-md: 1.5rem;
  --fl-space-lg: 2.5rem;
  --fl-space-xl: 4rem;
  --fl-space-2xl: 6rem;
  --fl-space-3xl: 10rem;

  /* Layout */
  --fl-max-width: 1400px;
  --fl-content-width: 720px;
  --fl-nav-height: 80px;

  /* Transitions */
  --fl-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --fl-duration: 0.3s;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--fl-font-primary);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--fl-gray-dark);
  background: var(--fl-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fl-font-primary);
  font-weight: 600;
  line-height: 1.2;
  color: var(--fl-black);
  margin: 0 0 var(--fl-space-md);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

h4 {
  font-size: 1.125rem;
}

p {
  margin: 0 0 var(--fl-space-md);
}

a {
  color: var(--fl-black);
  text-decoration: none;
  transition: color var(--fl-duration) var(--fl-ease);
}

a:hover {
  color: var(--fl-accent);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.fl-container {
  width: 100%;
  max-width: var(--fl-max-width);
  margin: 0 auto;
  padding: 0 var(--fl-space-lg);
}

.fl-container-narrow {
  max-width: var(--fl-content-width);
}

.fl-section {
  padding: var(--fl-space-2xl) 0;
}

.fl-section-lg {
  padding: var(--fl-space-3xl) 0;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.site-main {
  padding-top: calc(var(--fl-nav-height) + var(--fl-space-lg));
}

/* Front page - no padding, hero goes to top */
.front-page .site-main {
  padding-top: 0;
}

.front-page body,
body.front-page {
  padding-top: 0;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--fl-white);
  border-bottom: 1px solid var(--fl-border);
  height: var(--fl-nav-height);
  transition: transform var(--fl-duration) var(--fl-ease),
              background var(--fl-duration) var(--fl-ease),
              border-color var(--fl-duration) var(--fl-ease);
}

/* Transparent header on front page */
.front-page .site-header {
  background: transparent;
  border-bottom-color: transparent;
}

.front-page .site-header .site-logo a,
.front-page .site-header .primary-nav a {
  color: var(--fl-white);
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.front-page .site-header .menu-toggle span {
  background: var(--fl-white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* When scrolled, return to solid */
.front-page .site-header.is-scrolled {
  background: var(--fl-white);
  border-bottom-color: var(--fl-border);
}

.front-page .site-header.is-scrolled .site-logo a,
.front-page .site-header.is-scrolled .primary-nav a {
  color: var(--fl-gray-dark);
  text-shadow: none;
}

.front-page .site-header.is-scrolled .menu-toggle span {
  background: var(--fl-black);
  box-shadow: none;
}

/* Dropdown menu always has solid background */
.front-page .site-header .sub-menu {
  background: var(--fl-charcoal);
  border-color: rgba(255,255,255,0.1);
}

.front-page .site-header .sub-menu a {
  color: var(--fl-white);
  text-shadow: none;
}

.front-page .site-header .sub-menu a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--fl-white);
}

/* When scrolled, dropdown returns to light */
.front-page .site-header.is-scrolled .sub-menu {
  background: var(--fl-white);
  border-color: var(--fl-border);
}

.front-page .site-header.is-scrolled .sub-menu a {
  color: var(--fl-gray-dark);
}

.front-page .site-header.is-scrolled .sub-menu a:hover {
  background: var(--fl-off-white);
}

.site-header.scrolled {
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

.site-header.hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--fl-max-width);
  margin: 0 auto;
  padding: 0 var(--fl-space-lg);
}

/* Logo */
.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fl-black);
}

.site-logo a {
  text-decoration: none;
  color: inherit;
}

.site-logo img {
  height: 40px;
  width: auto;
}

/* Primary Navigation */
.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--fl-space-lg);
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: var(--fl-space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  font-family: var(--fl-font-primary);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--fl-gray-dark);
  padding: 0.5rem 0;
  position: relative;
}

.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--fl-black);
  transition: width var(--fl-duration) var(--fl-ease);
}

.primary-nav a:hover {
  color: var(--fl-black);
}

.primary-nav a:hover::after {
  width: 100%;
}

/* Dropdown Submenus */
.primary-nav li {
  position: relative;
}

.primary-nav .sub-menu {
  display: block;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--fl-white);
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  padding: var(--fl-space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--fl-duration) var(--fl-ease),
              visibility var(--fl-duration) var(--fl-ease);
  z-index: 100;
}

.primary-nav li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
}

.primary-nav .sub-menu li {
  display: block;
}

.primary-nav .sub-menu a {
  display: block;
  padding: 0.625rem var(--fl-space-md);
  font-size: 0.875rem;
  color: var(--fl-gray-dark);
  white-space: nowrap;
}

.primary-nav .sub-menu a::after {
  display: none;
}

.primary-nav .sub-menu a:hover {
  background: var(--fl-off-white);
  color: var(--fl-black);
}


/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fl-black);
  margin: 5px 0;
  transition: all var(--fl-duration) var(--fl-ease);
}

/* Hamburger to X animation */
.menu-toggle.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Body offset for fixed header */
body {
  padding-top: var(--fl-nav-height);
}

/* Front page - hero goes to very top */
body.front-page {
  padding-top: 0;
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.hero-slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.5) 100%
  );
}

.hero-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: var(--fl-space-lg) var(--fl-space-lg) var(--fl-space-2xl);
  display: flex;
  justify-content: flex-start;
}

.hero-text-box {
  background: transparent;
  padding: 0;
  text-align: left;
  color: var(--fl-white);
  max-width: 600px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-headline {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--fl-space-xs);
  color: inherit;
  text-shadow: inherit;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
  line-height: 1.4;
  margin-bottom: var(--fl-space-md);
  color: inherit;
  text-shadow: inherit;
}

/* Hero text color variations */
.hero-text-white .hero-text-box {
  color: var(--fl-white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-text-light .hero-text-box {
  color: #e0e0e0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-text-dark .hero-text-box {
  color: #3d3d3d;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.6), 0 0 2px rgba(255, 255, 255, 0.4);
}

.hero-text-black .hero-text-box {
  color: #141414;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.7), 0 0 2px rgba(255, 255, 255, 0.5);
}

/* Button colors to match text */
.hero-text-dark .hero-btn,
.hero-text-black .hero-btn {
  color: #3d3d3d;
  border-color: rgba(0, 0, 0, 0.4);
}

.hero-text-dark .hero-btn:hover,
.hero-text-black .hero-btn:hover {
  background: rgba(0, 0, 0, 0.1);
}

.hero-btn {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fl-white);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all var(--fl-duration) var(--fl-ease);
}

.hero-btn:hover {
  background: var(--fl-white);
  color: var(--fl-black);
}

/* Hero Slider Navigation */
.hero-slider-nav {
  position: absolute;
  bottom: var(--fl-space-xl);
  right: var(--fl-space-xl);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: var(--fl-space-md);
}

.hero-prev,
.hero-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: var(--fl-white);
  cursor: pointer;
  transition: all var(--fl-duration) var(--fl-ease);
}

.hero-prev:hover,
.hero-next:hover {
  background: rgba(255,255,255,0.3);
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all var(--fl-duration) var(--fl-ease);
}

.hero-dot.active {
  background: var(--fl-white);
  transform: scale(1.2);
}

/* ============================================
   MASONRY GRID
   ============================================ */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: var(--fl-space-md);
}

.masonry-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--fl-radius);
}

.masonry-item-large {
  grid-row: span 2;
}

.masonry-item-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.masonry-item-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.masonry-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.masonry-item:hover .masonry-item-image img {
  transform: scale(1.05);
}

.masonry-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--fl-space-lg);
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.7) 0%,
    rgba(0,0,0,0) 60%
  );
  color: var(--fl-white);
  transition: background var(--fl-duration) var(--fl-ease);
}

.masonry-item:hover .masonry-item-overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.8) 0%,
    rgba(0,0,0,0.1) 70%
  );
}

.masonry-item-category {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.6875rem;
  font-weight: 500;
  margin-bottom: var(--fl-space-xs);
  opacity: 0.8;
}

.masonry-item-title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.masonry-item-large .masonry-item-title {
  font-size: 1.5rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--fl-font-primary);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border: none;
  cursor: pointer;
  transition: all var(--fl-duration) var(--fl-ease);
}

.btn-primary {
  background: var(--fl-black);
  color: var(--fl-white);
}

.btn-primary:hover {
  background: var(--fl-charcoal);
  color: var(--fl-white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--fl-black);
  box-shadow: inset 0 0 0 1px var(--fl-black);
}

.btn-outline:hover {
  background: var(--fl-black);
  color: var(--fl-white);
}

.btn-white {
  background: var(--fl-white);
  color: var(--fl-black);
}

.btn-white:hover {
  background: var(--fl-off-white);
  color: var(--fl-black);
}

/* ============================================
   DESTINATION CARDS
   ============================================ */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--fl-space-md);
}

.destination-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
}

.destination-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--fl-ease);
}

.destination-card:hover img {
  transform: scale(1.05);
}

.destination-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.8) 0%,
    rgba(0,0,0,0) 60%
  );
  transition: background var(--fl-duration) var(--fl-ease);
}

.destination-card:hover .destination-card-overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.9) 0%,
    rgba(0,0,0,0.2) 70%
  );
}

.destination-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--fl-space-lg);
  color: var(--fl-white);
}

.destination-coords {
  font-family: var(--fl-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  opacity: 0.7;
  margin-bottom: var(--fl-space-xs);
}

.destination-card h3 {
  color: var(--fl-white);
  font-size: 1.5rem;
  margin-bottom: var(--fl-space-xs);
}

.destination-card p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8);
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--fl-duration) var(--fl-ease);
}

.destination-card:hover p {
  max-height: 100px;
}

/* Featured (wide) card */
.destination-card-featured {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.destination-card-featured h3 {
  font-size: 2rem;
}

/* ============================================
   CONTENT FORMATTING (Articles & Pages)
   ============================================ */
.article-content,
.page-body {
  max-width: var(--fl-content-width);
  margin: 0 auto;
  padding: var(--fl-space-xl) var(--fl-space-lg);
}

.article-header,
.page-header {
  text-align: center;
  margin-bottom: var(--fl-space-xl);
}

.article-title,
.page-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: var(--fl-space-md);
}

.article-lead {
  font-size: 1.25rem;
  color: var(--fl-gray);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto var(--fl-space-lg);
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: var(--fl-space-sm);
  font-size: 0.875rem;
  color: var(--fl-gray-light);
  margin-bottom: var(--fl-space-md);
}

.article-category {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fl-accent);
  font-weight: 500;
}

.article-byline {
  font-size: 0.875rem;
  color: var(--fl-gray-light);
}

/* Article/Page Body Content */
.article-body,
.page-body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--fl-charcoal);
}

.article-body > *,
.page-body > * {
  margin-bottom: var(--fl-space-lg);
}

.article-body h2,
.page-body h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: var(--fl-space-2xl);
  margin-bottom: var(--fl-space-md);
}

.article-body h3,
.page-body h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-top: var(--fl-space-xl);
  margin-bottom: var(--fl-space-sm);
}

.article-body p,
.page-body p {
  margin-bottom: var(--fl-space-md);
}

.article-body a,
.page-body a {
  color: var(--fl-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-body a:hover,
.page-body a:hover {
  color: var(--fl-accent-hover);
}

.article-body ul,
.article-body ol,
.page-body ul,
.page-body ol {
  padding-left: var(--fl-space-lg);
  margin-bottom: var(--fl-space-lg);
}

.article-body li,
.page-body li {
  margin-bottom: var(--fl-space-sm);
}

.article-body blockquote,
.page-body blockquote {
  border-left: 3px solid var(--fl-accent);
  padding-left: var(--fl-space-lg);
  margin: var(--fl-space-xl) 0;
  font-style: italic;
  color: var(--fl-gray);
}

.article-body img,
.page-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--fl-radius);
}

.article-body figure {
  margin: var(--fl-space-xl) 0;
}

.article-body figcaption {
  font-size: 0.875rem;
  color: var(--fl-gray-light);
  text-align: center;
  margin-top: var(--fl-space-sm);
}

/* Full-width images in articles */
.article-hero,
.page-hero {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
}

.article-hero img,
.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Article Footer */
.article-footer {
  margin-top: var(--fl-space-2xl);
  padding-top: var(--fl-space-xl);
  border-top: 1px solid var(--fl-border);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fl-space-sm);
}

.article-tags .tag {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: var(--fl-off-white);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--fl-gray);
  text-decoration: none;
  transition: background var(--fl-duration) var(--fl-ease);
}

.article-tags .tag:hover {
  background: var(--fl-border);
}

/* Related Posts Section */
.related-posts {
  background: var(--fl-off-white);
}

.related-posts .section-title {
  text-align: center;
  margin-bottom: var(--fl-space-xl);
}

/* Archive Header */
.archive-header {
  position: relative;
  padding: var(--fl-space-3xl) 0;
  text-align: center;
  background: var(--fl-off-white);
}

.archive-header-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.archive-header-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
}

.archive-header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-header-content {
  position: relative;
  z-index: 1;
}

.archive-header:has(.archive-header-image) .archive-title,
.archive-header:has(.archive-header-image) .archive-description,
.archive-header:has(.archive-header-image) .archive-label,
.archive-header:has(.archive-header-image) .archive-count {
  color: var(--fl-white);
}

.archive-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: var(--fl-space-sm);
  color: var(--fl-gray-light);
}

.archive-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  margin-bottom: var(--fl-space-sm);
}

.archive-description {
  font-size: 1.125rem;
  color: var(--fl-gray);
  max-width: 600px;
  margin: 0 auto var(--fl-space-md);
}

.archive-count {
  font-size: 0.875rem;
  color: var(--fl-gray-light);
}

/* ============================================
   ARTICLE CARDS
   ============================================ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--fl-space-xl);
}

.article-card {
  display: flex;
  flex-direction: column;
}

.article-card-image {
  aspect-ratio: 3/2;
  overflow: hidden;
  margin-bottom: var(--fl-space-md);
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--fl-ease);
}

.article-card:hover .article-card-image img {
  transform: scale(1.03);
}

.article-card-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fl-gray-light);
  margin-bottom: var(--fl-space-xs);
}

.article-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--fl-space-sm);
}

.article-card h3 a {
  color: var(--fl-black);
}

.article-card h3 a:hover {
  color: var(--fl-accent);
}

.article-card-excerpt {
  font-size: 0.9375rem;
  color: var(--fl-gray);
  line-height: 1.6;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--fl-space-xl);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fl-gray-light);
  margin-bottom: var(--fl-space-sm);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: var(--fl-space-sm);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--fl-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   QUOTE / STATEMENT SECTION
   ============================================ */
.statement-section {
  background: var(--fl-off-white);
  padding: var(--fl-space-3xl) var(--fl-space-lg);
  text-align: center;
}

.statement-text {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--fl-black);
  max-width: 900px;
  margin: 0 auto var(--fl-space-lg);
}

.statement-author {
  font-size: 0.875rem;
  color: var(--fl-gray);
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-section {
  background: var(--fl-black);
  padding: var(--fl-space-2xl) var(--fl-space-lg);
  text-align: center;
}

.newsletter-section h3 {
  color: var(--fl-white);
  font-size: 1.75rem;
  margin-bottom: var(--fl-space-sm);
}

.newsletter-section p {
  color: var(--fl-gray-light);
  margin-bottom: var(--fl-space-lg);
}

.newsletter-form {
  display: flex;
  gap: var(--fl-space-sm);
  max-width: 460px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--fl-white);
  font-family: var(--fl-font-primary);
  font-size: 1rem;
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--fl-gray-light);
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--fl-accent);
}

.newsletter-form button {
  background: var(--fl-accent);
  color: var(--fl-black);
  font-weight: 600;
}

.newsletter-form button:hover {
  background: var(--fl-accent-hover);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--fl-charcoal);
  color: var(--fl-gray-light);
  padding: var(--fl-space-2xl) 0 var(--fl-space-lg);
}

.footer-inner {
  max-width: var(--fl-max-width);
  margin: 0 auto;
  padding: 0 var(--fl-space-lg);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--fl-space-xl);
  padding-bottom: var(--fl-space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fl-white);
  margin-bottom: var(--fl-space-md);
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

.footer-nav h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fl-white);
  margin-bottom: var(--fl-space-md);
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  margin-bottom: var(--fl-space-sm);
}

.footer-nav a {
  font-family: var(--fl-font-primary);
  font-size: 0.9375rem;
  color: var(--fl-gray-light);
}

.footer-nav a:hover {
  color: var(--fl-white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--fl-space-lg);
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  gap: var(--fl-space-md);
}

.footer-social a {
  color: var(--fl-gray-light);
}

.footer-social a:hover {
  color: var(--fl-white);
}

/* ============================================
   SINGLE ARTICLE
   ============================================ */
.article-header {
  text-align: center;
  padding: var(--fl-space-2xl) var(--fl-space-lg);
  max-width: var(--fl-content-width);
  margin: 0 auto;
}

.article-meta {
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fl-gray-light);
  margin-bottom: var(--fl-space-md);
}

.article-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--fl-space-md);
}

.article-excerpt {
  font-size: 1.25rem;
  color: var(--fl-gray);
  line-height: 1.6;
}

.article-featured-image {
  width: 100%;
  max-width: var(--fl-max-width);
  margin: 0 auto var(--fl-space-2xl);
}

.article-featured-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 21/9;
  object-fit: cover;
}

.article-content {
  max-width: var(--fl-content-width);
  margin: 0 auto;
  padding: 0 var(--fl-space-lg);
}

.article-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
}

.article-content h2 {
  margin-top: var(--fl-space-xl);
}

.article-content h3 {
  margin-top: var(--fl-space-lg);
}

.article-content img {
  max-width: 100%;
  height: auto;
  margin: var(--fl-space-lg) 0;
}

.article-content blockquote {
  border-left: 3px solid var(--fl-accent);
  padding-left: var(--fl-space-lg);
  margin: var(--fl-space-xl) 0;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--fl-gray-dark);
}

/* ============================================
   ARCHIVE / CATEGORY PAGES
   ============================================ */
.archive-header {
  text-align: center;
  padding: var(--fl-space-2xl) var(--fl-space-lg);
  background: var(--fl-off-white);
}

.archive-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--fl-space-sm);
}

.archive-description {
  font-size: 1.125rem;
  color: var(--fl-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .destination-card-featured {
    grid-column: span 2;
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--fl-space-lg);
  }

  .footer-brand {
    grid-column: span 2;
    max-width: none;
  }
}

@media (max-width: 768px) {
  :root {
    --fl-nav-height: 70px;
    --fl-space-xl: 3rem;
    --fl-space-2xl: 4rem;
    --fl-space-3xl: 6rem;
  }

  /* Mobile Navigation */
  .primary-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--fl-charcoal);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--fl-space-lg);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: center;
    gap: var(--fl-space-lg);
  }

  .primary-nav a {
    font-size: 1.5rem;
    color: var(--fl-white) !important;
    text-shadow: none !important;
  }

  .primary-nav a:hover {
    color: var(--fl-gray-muted) !important;
  }

  /* Mobile submenu */
  .primary-nav .sub-menu {
    position: static;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    padding: var(--fl-space-sm) 0;
    min-width: auto;
  }

  .primary-nav .sub-menu a {
    font-size: 1.125rem;
    color: var(--fl-gray-light) !important;
    padding: 0.5rem 0;
  }

  .primary-nav .sub-menu a:hover {
    background: transparent;
    color: var(--fl-white) !important;
  }

  .menu-toggle {
    display: block;
  }

  /* Grids */
  .destinations-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .destination-card-featured {
    grid-column: span 1;
    aspect-ratio: 4/5;
  }

  /* Masonry Grid Mobile */
  .masonry-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .masonry-item-large {
    grid-row: span 1;
  }

  .masonry-item-title {
    font-size: 0.9375rem;
  }

  .masonry-item-large .masonry-item-title {
    font-size: 1rem;
  }

  /* Hero Slider Mobile */
  .hero-slider {
    height: 70vh;
    min-height: 400px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-excerpt {
    font-size: 1rem;
    display: none;
  }

  .hero-slider-nav {
    bottom: var(--fl-space-md);
    right: var(--fl-space-md);
  }

  .hero-prev,
  .hero-next {
    width: 40px;
    height: 40px;
  }

  /* Newsletter */
  .newsletter-form {
    flex-direction: column;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--fl-space-md);
    text-align: center;
  }
}

/* ============================================
   WORDPRESS BLOCK OVERRIDES
   ============================================ */
.wp-block-cover {
  min-height: 70vh;
}

.wp-block-cover__inner-container {
  max-width: var(--fl-content-width);
}

.wp-block-image img {
  height: auto;
}

.wp-block-separator {
  border-color: var(--fl-border);
  margin: var(--fl-space-xl) auto;
}

.wp-block-quote {
  border-left: 3px solid var(--fl-accent);
  padding-left: var(--fl-space-lg);
  margin: var(--fl-space-lg) 0;
}

.wp-block-quote p {
  font-size: 1.25rem;
  font-style: italic;
}

.wp-block-button__link {
  font-family: var(--fl-font-primary);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 1rem 2rem;
  background: var(--fl-black);
  color: var(--fl-white);
  border-radius: 0;
}

.wp-block-button__link:hover {
  background: var(--fl-charcoal);
  color: var(--fl-white);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-white { color: var(--fl-white); }
.bg-dark { background: var(--fl-charcoal); }
.bg-light { background: var(--fl-off-white); }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: var(--fl-space-lg); }
.hidden { display: none; }
