/* =============================================================================
   Fifi Travels — Main Stylesheet
   Version: 1.0.0
   Design System: Luxe Ivory (Concept 6)
   ============================================================================= */

/* =============================================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================================= */
:root {
  /* Brand Colors */
  --gold:           #C9A96E;
  --gold-deep:      #A8803C;
  --gold-light:     #E8D5A3;
  --gold-pale:      #FBF5E8;
  --ivory:          #FAF6EF;
  --ivory-2:        #F3EDE1;
  --ivory-3:        #EAE0CE;
  --charcoal:       #1C1810;
  --charcoal-2:     #2E2518;
  --muted:          #7A6A52;
  --border-solid:   #DDD0B8;
  --white:          #FFFFFF;

  /* Semantic */
  --color-bg:       var(--ivory);
  --color-text:     var(--charcoal);
  --color-link:     var(--gold-deep);
  --color-muted:    var(--muted);
  --color-border:   var(--border-solid);

  /* Typography */
  --font-heading:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:      'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-size-base: 16px;
  --line-height:    1.65;
  --line-height-tight: 1.2;

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Layout */
  --container-max:   1200px;
  --content-wide:    1400px;
  --sidebar-width:   300px;
  --header-height:   72px;
  --border-radius:   12px;
  --border-radius-sm: 6px;
  --border-radius-xs: 4px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(28, 24, 16, 0.06), 0 1px 2px rgba(28, 24, 16, 0.04);
  --shadow-md:  0 4px 16px rgba(28, 24, 16, 0.08), 0 2px 4px rgba(28, 24, 16, 0.05);
  --shadow-lg:  0 10px 40px rgba(28, 24, 16, 0.12), 0 4px 8px rgba(28, 24, 16, 0.06);

  /* Transitions */
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Hero */
  --hero-overlay-opacity: 0.5;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: var(--line-height);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover, a:focus {
  color: var(--charcoal);
}

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

hr {
  border: 0;
  border-top: 1px solid var(--border-solid);
  margin: var(--space-xl) 0;
}

/* Accessibility */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--ivory);
  border-radius: var(--border-radius-xs);
  box-shadow: var(--shadow-md);
  clip: auto !important;
  clip-path: none;
  color: var(--charcoal);
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  height: auto;
  left: 5px;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

.skip-link:focus {
  position: fixed;
  z-index: 99999;
}

/* =============================================================================
   3. TYPOGRAPHY
   ============================================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--line-height-tight);
  color: var(--charcoal);
  margin-bottom: 0.75em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h5 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; }
h6 { font-size: 0.8rem; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; }

/* Entry / reading content typography */
.entry-content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--charcoal);
  max-width: 72ch;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin-top: 2em;
  margin-bottom: 0.6em;
}

.entry-content h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.entry-content h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.entry-content p { margin-bottom: 1.5rem; }

.entry-content ul,
.entry-content ol {
  list-style: none;
  margin-bottom: 1.5rem;
  padding-left: 0;
}

.entry-content ul li,
.entry-content ol li {
  padding-left: 1.5em;
  position: relative;
  margin-bottom: 0.5rem;
}

.entry-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background-color: var(--gold);
  border-radius: 50%;
}

.entry-content ol {
  counter-reset: list-counter;
}

.entry-content ol li {
  counter-increment: list-counter;
}

.entry-content ol li::before {
  content: counter(list-counter) '.';
  position: absolute;
  left: 0;
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 0.9em;
}

.entry-content blockquote {
  border-left: 3px solid var(--gold);
  padding-left: var(--space-lg);
  margin: var(--space-xl) 0;
  font-style: italic;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--charcoal-2);
}

.entry-content blockquote cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

.entry-content a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content a:hover {
  color: var(--charcoal);
}

.entry-content img {
  border-radius: var(--border-radius);
  margin: var(--space-xl) 0;
  width: 100%;
}

.entry-content figure {
  margin: var(--space-xl) 0;
}

.entry-content figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: var(--space-sm);
  font-style: italic;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-xl);
  font-size: 0.9rem;
}

.entry-content th,
.entry-content td {
  padding: 12px 16px;
  border: 1px solid var(--border-solid);
  text-align: left;
}

.entry-content th {
  background-color: var(--ivory-3);
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.entry-content tr:nth-child(even) td {
  background-color: var(--ivory-2);
}

.entry-content code {
  background-color: var(--ivory-3);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.875em;
}

.entry-content pre {
  background-color: var(--charcoal);
  color: var(--gold-light);
  padding: var(--space-lg);
  border-radius: var(--border-radius-sm);
  overflow-x: auto;
  margin-bottom: var(--space-xl);
}

.entry-content pre code {
  background: none;
  color: inherit;
  padding: 0;
}

/* Section labels */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: block;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-heading);
  margin-bottom: var(--space-md);
}

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

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* =============================================================================
   4. LAYOUT
   ============================================================================= */
.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-content {
  flex: 1;
}

.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
}

.container-rule {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.content-wide {
  max-width: var(--content-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
}

/* Sidebar layout */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: var(--space-2xl);
  align-items: start;
}

.no-sidebar .content-with-sidebar,
body.no-sidebar .content-with-sidebar {
  display: block;
}

.site-main-content {
  min-width: 0;
}

/* Section padding */
.section-padding {
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(48px, 8vw, 96px);
}

.section-padding-sm {
  padding-top: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(32px, 5vw, 64px);
}

/* Page title banner (no hero image) */
.page-title-banner {
  background-color: var(--ivory-3);
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--border-solid);
}

.page-title-banner .page-title {
  margin-bottom: 0;
}

/* =============================================================================
   5. GOLD RULE DIVIDERS
   ============================================================================= */
.gold-rule {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  border: none;
  margin: var(--space-xl) 0;
}

.gold-rule-sm {
  height: 1px;
  width: 60px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  margin: var(--space-sm) 0 var(--space-lg);
}

/* =============================================================================
   6. BUTTONS
   ============================================================================= */
.btn-primary,
.btn-gold,
.btn-outline-gold,
.btn-outline-charcoal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: var(--border-radius-xs);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color var(--transition-base),
              color var(--transition-base),
              box-shadow var(--transition-base),
              transform var(--transition-base),
              border-color var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--charcoal);
  color: var(--gold-light);
  border-color: var(--charcoal);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--charcoal-2);
  color: var(--gold-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-gold {
  background-color: var(--gold-deep);
  color: var(--white);
  border-color: var(--gold-deep);
}

.btn-gold:hover,
.btn-gold:focus {
  background-color: var(--gold);
  color: var(--charcoal);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--gold-light);
  border-color: var(--gold);
}

.btn-outline-gold:hover,
.btn-outline-gold:focus {
  background-color: var(--gold);
  color: var(--charcoal);
}

.btn-outline-charcoal {
  background-color: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-outline-charcoal:hover,
.btn-outline-charcoal:focus {
  background-color: var(--charcoal);
  color: var(--gold-light);
}

/* =============================================================================
   7. SITE HEADER & NAVIGATION
   ============================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-solid);
  transition: box-shadow var(--transition-base), background-color var(--transition-base);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: var(--space-xl);
}

/* Logo */
.site-branding { flex-shrink: 0; }

.fifi-text-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--charcoal);
}

.fifi-logo-icon svg {
  display: block;
  width: 40px;
  height: 40px;
}

.fifi-logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.01em;
  line-height: 1;
}

.custom-logo-link {
  display: block;
}

.custom-logo {
  height: 60px;
  max-width: 400px;
  width: auto;
}

/* Primary Navigation */
.main-navigation {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-menu li { position: relative; }

.nav-menu > li > a {
  display: block;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition-base);
  white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li:hover > a,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-parent > a {
  color: var(--gold-deep);
}

/* Dropdown */
.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background-color: var(--white);
  border: 1px solid var(--border-solid);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  z-index: 100;
  list-style: none;
  padding: var(--space-sm) 0;
}

.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
  display: block;
}

.nav-menu .sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.875rem;
  color: var(--charcoal);
  white-space: nowrap;
}

.nav-menu .sub-menu li a:hover {
  background-color: var(--ivory-2);
  color: var(--gold-deep);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

.search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--charcoal);
  border-radius: var(--border-radius-xs);
  transition: color var(--transition-base), background-color var(--transition-base);
  padding: 0;
}

.search-toggle:hover {
  color: var(--gold-deep);
  background-color: var(--ivory-2);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 36px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  gap: 6px;
  flex-shrink: 0;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--charcoal);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.menu-toggle.is-active .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-active .hamburger-line:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Search Drawer */
.search-drawer {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-solid);
  box-shadow: var(--shadow-md);
  transform: translateY(-110%);
  opacity: 0;
  transition: transform var(--transition-slow), opacity var(--transition-slow);
  z-index: 999;
  pointer-events: none;
}

.search-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.search-drawer-inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.search-drawer .search-form {
  display: flex;
  flex: 1;
  gap: var(--space-sm);
}

.search-drawer .search-field {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border-solid);
  border-radius: var(--border-radius-xs);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background-color: var(--ivory);
  transition: border-color var(--transition-base);
}

.search-drawer .search-field:focus {
  outline: none;
  border-color: var(--gold);
}

.search-drawer .search-submit {
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  padding: 8px;
  border-radius: var(--border-radius-xs);
  transition: color var(--transition-base);
  flex-shrink: 0;
}

.search-close:hover { color: var(--charcoal); }

/* Mobile Menu Drawer */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 90vw;
  background-color: var(--white);
  z-index: 10000;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.mobile-menu-drawer.is-open {
  transform: translateX(0);
}

.mobile-menu-inner {
  padding: var(--space-lg);
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-solid);
  margin-bottom: var(--space-lg);
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  padding: 8px;
  border-radius: var(--border-radius-xs);
  transition: color var(--transition-base);
}

.mobile-menu-close:hover { color: var(--charcoal); }

.mobile-nav-menu {
  list-style: none;
  flex: 1;
}

.mobile-nav-menu > li {
  border-bottom: 1px solid var(--ivory-3);
}

.mobile-nav-menu > li > a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  transition: color var(--transition-base);
}

.mobile-nav-menu > li > a:hover,
.mobile-nav-menu > li.current-menu-item > a {
  color: var(--gold-deep);
}

.mobile-nav-menu .sub-menu {
  list-style: none;
  padding-left: var(--space-md);
  padding-bottom: var(--space-sm);
}

.mobile-nav-menu .sub-menu li a {
  display: block;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--muted);
  transition: color var(--transition-base);
}

.mobile-nav-menu .sub-menu li a:hover { color: var(--gold-deep); }

.mobile-menu-social {
  margin-top: auto;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-solid);
}

/* Mobile overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(28, 24, 16, 0.5);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.mobile-menu-overlay.is-active {
  opacity: 1;
  pointer-events: all;
}

/* =============================================================================
   8. HERO STYLES
   ============================================================================= */
.page-hero,
.blog-hero,
.about-hero,
.contact-hero,
.reviews-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--charcoal);
}

.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.hero-background-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-background-image img,
.hero-background-image .attachment-fifi-hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay,
.entry-hero-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--charcoal);
  opacity: var(--hero-overlay-opacity);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(48px, 8vw, 96px);
  width: 100%;
}

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

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: var(--space-md);
  max-width: 10 12px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gold-light);
  font-weight: 300;
  max-width: 600px;
  line-height: 1.6;
}

/* Blog hero (no bg image fallback) */
.blog-hero {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-2) 100%);
  min-height: 380px;
}

/* Entry hero (single post) */
.entry-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--charcoal);
}

.entry-hero-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

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

.entry-hero-no-image {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-2) 100%);
}

.entry-hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  width: 100%;
}

.entry-hero-inner {
  max-width: 800px;
}

.entry-hero .entry-title {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--space-md);
  margin-top: var(--space-sm);
}

.entry-hero .category-badge {
  font-size: 0.7rem;
}

/* Entry meta in hero */
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.875rem;
  color: var(--gold-light);
  margin-top: var(--space-md);
}

.entry-meta a { color: var(--gold-light); }
.entry-meta a:hover { color: var(--white); }

.entry-meta-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.by-author { font-size: 0.875rem; color: var(--gold-light); }

.entry-date,
.entry-reading-time {
  font-size: 0.875rem;
  color: var(--gold-light);
}

/* =============================================================================
   9. CATEGORY BADGE
   ============================================================================= */
.category-badge {
  display: inline-block;
  padding: 4px 10px;
  background-color: var(--gold-deep);
  color: var(--white) !important;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--border-radius-xs);
  text-decoration: none;
  transition: background-color var(--transition-base);
  margin-bottom: var(--space-sm);
}

.category-badge:hover {
  background-color: var(--gold);
  color: var(--charcoal) !important;
}

/* =============================================================================
   10. POST CARDS
   ============================================================================= */
.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.post-grid-3col {
  grid-template-columns: repeat(3, 1fr);
}

.post-card {
  background-color: var(--white);
  border: 1px solid var(--border-solid);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  display: flex;
  flex-direction: column;
}

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

/* Card image */
.post-card-image-link {
  display: block;
  overflow: hidden;
}

.post-card-image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  position: relative;
  background-color: var(--ivory-3);
}

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

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

.post-card-image .category-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  z-index: 2;
}

.no-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  color: var(--border-solid);
  background-color: var(--ivory-3);
}

/* Card body */
.post-card-body {
  padding: var(--space-lg) var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-title {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.post-card-title a {
  color: var(--charcoal);
  text-decoration: none;
  transition: color var(--transition-base);
}

.post-card-title a:hover { color: var(--gold-deep); }

.post-card-excerpt {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  flex: 1;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--ivory-3);
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  min-width: 0;
  flex-shrink: 1;
}

.post-card-author { font-weight: 500; white-space: nowrap; }
.post-card-date { white-space: nowrap; }
.post-card-separator { color: var(--border-solid); }

.post-card-read-more,
.read-more-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-deep);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition-base), gap var(--transition-base);
  flex-shrink: 0;
}

.post-card-read-more:hover,
.read-more-link:hover {
  color: var(--charcoal);
  gap: 8px;
}

/* Author avatar */
.author-avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* Featured post card */
.post-card-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column: 1 / -1;
  min-height: 360px;
}

.post-card-image-featured {
  aspect-ratio: unset;
  height: 100%;
  min-height: 360px;
}

.post-card-body-featured {
  padding: var(--space-2xl);
}

.post-card-title-featured {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.post-card-excerpt + .post-card-footer {
  border-top: 1px solid var(--ivory-3);
}

/* =============================================================================
   11. SINGLE POST STYLES
   ============================================================================= */
.single-post,
.blog-index {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.entry {
  background-color: var(--white);
}

/* Post tags */
.entry-footer-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.tags-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.tag-badge {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--border-solid);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  transition: border-color var(--transition-base), color var(--transition-base);
}

.tag-badge:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}

/* Page links (paginated posts) */
.page-links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xl);
  font-size: 0.875rem;
}

.page-links-title {
  font-weight: 600;
  color: var(--muted);
  margin-right: var(--space-sm);
}

.page-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid var(--border-solid);
  border-radius: var(--border-radius-xs);
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  transition: background-color var(--transition-base), border-color var(--transition-base);
}

.page-number:hover,
a .page-number {
  background-color: var(--charcoal);
  color: var(--gold-light);
  border-color: var(--charcoal);
}

/* =============================================================================
   12. AUTHOR BIO BOX
   ============================================================================= */
.author-bio-box {
  display: flex;
  gap: var(--space-xl);
  padding: var(--space-xl);
  background-color: var(--ivory-2);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-solid);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.author-bio-avatar { flex-shrink: 0; }

.author-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.author-bio-content { flex: 1; min-width: 0; }

.author-bio-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.author-bio-role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 4px;
}

.author-bio-name {
  font-size: 1.2rem;
  margin-bottom: 0;
}

.author-bio-name a {
  color: var(--charcoal);
  text-decoration: none;
}

.author-bio-name a:hover { color: var(--gold-deep); }

.author-bio-social {
  display: flex;
  gap: var(--space-sm);
}

.author-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-solid);
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition-base), border-color var(--transition-base), background-color var(--transition-base);
}

.author-social-link:hover {
  color: var(--gold-deep);
  border-color: var(--gold);
  background-color: var(--white);
}

.author-bio-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.author-bio-posts-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-deep);
  text-decoration: none;
  transition: gap var(--transition-base), color var(--transition-base);
}

.author-bio-posts-link:hover {
  gap: 8px;
  color: var(--charcoal);
}

/* =============================================================================
   13. RELATED POSTS
   ============================================================================= */
.related-posts {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
}

.related-posts-header {
  margin-bottom: var(--space-xl);
}

.related-posts-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: var(--space-sm);
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* =============================================================================
   14. SHARE BUTTONS
   ============================================================================= */
.share-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding: var(--space-md) 0;
}

.share-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.share-buttons-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--border-solid);
  border-radius: var(--border-radius-xs);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--charcoal);
  background-color: var(--white);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
}

.share-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.share-whatsapp:hover { background-color: #25D366; color: var(--white); border-color: #25D366; }
.share-facebook:hover { background-color: #1877F2; color: var(--white); border-color: #1877F2; }
.share-twitter:hover { background-color: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.share-copy-link:hover { background-color: var(--gold); color: var(--charcoal); border-color: var(--gold); }

.share-copy-link.copied {
  background-color: #10B981;
  color: var(--white);
  border-color: #10B981;
}

/* =============================================================================
   15. BREADCRUMBS
   ============================================================================= */
.breadcrumbs {
  margin-bottom: var(--space-lg);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  font-size: 0.8rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}

.breadcrumb-link {
  color: var(--gold-light);
  text-decoration: none;
  transition: color var(--transition-base);
}

.breadcrumb-link:hover { color: var(--white); }

.breadcrumb-sep { color: var(--gold); opacity: 0.6; }

.breadcrumb-current {
  color: var(--white);
  opacity: 0.8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

/* Category page breadcrumbs (on light background) */
.category-hero .breadcrumbs .breadcrumb-link { color: var(--muted); }
.category-hero .breadcrumbs .breadcrumb-link:hover { color: var(--gold-deep); }
.category-hero .breadcrumbs .breadcrumb-sep { color: var(--gold); }
.category-hero .breadcrumbs .breadcrumb-current { color: var(--charcoal); opacity: 1; }

/* =============================================================================
   16. SIDEBAR
   ============================================================================= */
.blog-sidebar { min-width: 0; }

.widget {
  background-color: var(--white);
  border: 1px solid var(--border-solid);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.widget-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--gold);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Sidebar search */
.widget-search { background-color: var(--ivory-2); }

.sidebar-search-wrap {
  display: flex;
  border: 1px solid var(--border-solid);
  border-radius: var(--border-radius-xs);
  overflow: hidden;
}

.sidebar-search-wrap .search-field {
  flex: 1;
  padding: 10px 14px;
  border: none;
  background-color: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--charcoal);
}

.sidebar-search-wrap .search-field:focus { outline: none; }

.sidebar-search-wrap .search-submit {
  background-color: var(--charcoal);
  color: var(--gold-light);
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background-color var(--transition-base);
}

.sidebar-search-wrap .search-submit:hover { background-color: var(--gold-deep); }

/* Recent posts list */
.recent-posts-list { list-style: none; }

.recent-post-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--ivory-3);
}

.recent-post-item:last-child { border-bottom: none; }

.recent-post-thumb {
  flex-shrink: 0;
}

.recent-post-thumb img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
}

.recent-post-meta { min-width: 0; }

.recent-post-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  line-height: 1.4;
  margin-bottom: 4px;
  transition: color var(--transition-base);
}

.recent-post-title:hover { color: var(--gold-deep); }

.recent-post-date {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Categories list */
.categories-list { list-style: none; }

.categories-list li {
  border-bottom: 1px solid var(--ivory-3);
}

.categories-list li:last-child { border-bottom: none; }

.categories-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 0.875rem;
  color: var(--charcoal);
  text-decoration: none;
  transition: color var(--transition-base);
}

.categories-list a:hover { color: var(--gold-deep); }

/* Tag cloud */
.tag-cloud-list .tag-cloud-link {
  display: inline-block;
  padding: 4px 10px;
  margin: 3px 2px;
  border: 1px solid var(--border-solid);
  border-radius: 20px;
  font-size: 0.8rem !important;
  color: var(--muted);
  text-decoration: none;
  transition: all var(--transition-base);
}

.tag-cloud-list .tag-cloud-link:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

/* =============================================================================
   17. FOOTER
   ============================================================================= */
.site-footer {
  background-color: var(--charcoal);
  color: var(--gold-light);
}

.footer-main {
  padding: clamp(48px, 6vw, 80px) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: var(--space-2xl);
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-md);
}

/* Brand column */
.footer-brand .fifi-text-logo { color: var(--white); }
.footer-brand .logo-main { color: var(--white); }
.footer-brand .fifi-logo-icon svg rect { fill: var(--gold-deep); }

.footer-logo { margin-bottom: var(--space-lg); }

.footer-tagline {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 280px;
}

/* Footer nav */
.footer-nav-list { list-style: none; }

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

.footer-nav-list a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition-base);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-nav-list a::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background-color: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-nav-list a:hover { color: var(--gold-light); }

/* Newsletter */
.footer-newsletter-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.newsletter-form { display: flex; flex-direction: column; gap: var(--space-sm); }

.newsletter-form-field input {
  width: 100%;
  padding: 11px 15px;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: var(--border-radius-xs);
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: border-color var(--transition-base);
}

.newsletter-form-field input::placeholder { color: var(--muted); }

.newsletter-form-field input:focus {
  outline: none;
  border-color: var(--gold);
}

.newsletter-submit {
  align-self: flex-start;
  margin-top: var(--space-xs);
}

/* Social links */
.social-links {
  display: flex;
  gap: var(--space-sm);
  list-style: none;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.3);
  color: var(--muted);
  text-decoration: none;
  transition: all var(--transition-base);
}

.social-link:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
  transform: translateY(-2px);
}

/* Footer links social (dark bg) */
.footer-brand .social-links .social-link {
  border-color: rgba(201, 169, 110, 0.3);
  color: var(--muted);
}

.footer-brand .social-links .social-link:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(221, 208, 184, 0.15);
  padding: var(--space-lg) 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-copyright p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0;
}

.footer-copyright a {
  color: var(--gold-light);
  text-decoration: none;
}

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

.footer-legal-list {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.footer-legal-list a {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-legal-list a:hover { color: var(--gold-light); }

/* =============================================================================
   18. ARCHIVE / CATEGORY PAGES
   ============================================================================= */
.archive-hero,
.category-hero {
  background-color: var(--ivory-3);
  border-bottom: 1px solid var(--border-solid);
  padding: clamp(40px, 6vw, 80px) 0 var(--space-xl);
}

.archive-title,
.category-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: var(--space-sm);
}

.archive-description,
.category-description {
  font-size: 1rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.7;
}

.category-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: block;
  margin-bottom: var(--space-sm);
}

.category-meta-bar {
  margin-top: var(--space-md);
}

.category-post-count {
  font-size: 0.875rem;
  color: var(--muted);
}

.archive-index,
.category-index {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

/* =============================================================================
   19. SEARCH PAGE
   ============================================================================= */
.search-hero {
  background-color: var(--ivory-3);
  border-bottom: 1px solid var(--border-solid);
  padding: clamp(40px, 6vw, 80px) 0 var(--space-xl);
}

.search-results-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: var(--space-xl);
  color: var(--charcoal);
}

.search-results-title .results-count {
  color: var(--gold-deep);
}

.search-results-title em {
  font-style: italic;
  font-family: var(--font-heading);
}

.search-results-form {
  display: flex;
  gap: var(--space-sm);
  max-width: 600px;
}

.search-results-form .search-field {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border-solid);
  border-radius: var(--border-radius-xs);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background-color: var(--white);
  color: var(--charcoal);
}

.search-results-form .search-field:focus {
  outline: none;
  border-color: var(--gold);
}

.search-results { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }

/* No results */
.search-no-results {
  text-align: center;
  padding: var(--space-2xl) 0;
}

.no-results-icon {
  margin: 0 auto var(--space-xl);
  color: var(--border-solid);
}

.no-results-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-md);
}

.no-results-text {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: var(--space-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.no-results-suggestions { margin-bottom: var(--space-2xl); }

.no-results-suggestions h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 600;
}

.suggestions-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.no-results-recent h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-xl);
  text-align: left;
}

/* Nothing found (content-none) */
.no-results {
  padding: var(--space-3xl) 0;
}

.no-results-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.page-header { margin-bottom: var(--space-xl); }

.nothing-found-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-xl);
}

/* =============================================================================
   20. 404 PAGE
   ============================================================================= */
.error-404-page {
  padding: var(--space-3xl) 0;
}

.error-404-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.error-404-number {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 15vw, 12rem);
  font-weight: 700;
  color: var(--ivory-3);
  line-height: 1;
  margin-bottom: var(--space-md);
  letter-spacing: -0.05em;
  text-shadow: 0 2px 20px rgba(28, 24, 16, 0.08);
}

.error-404-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--charcoal);
  margin-bottom: var(--space-md);
}

.error-404-subtitle {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: var(--space-xl);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.error-404-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.error-404-search { margin-bottom: var(--space-xl); }

.error-404-search-label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: var(--space-md);
}

.error-search-wrap {
  display: flex;
  gap: var(--space-sm);
  max-width: 480px;
  margin: 0 auto;
}

.error-search-wrap .search-field {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border-solid);
  border-radius: var(--border-radius-xs);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background-color: var(--white);
}

.error-search-wrap .search-field:focus {
  outline: none;
  border-color: var(--gold);
}

.error-404-popular { margin-top: var(--space-xl); }

.error-popular-label {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: var(--space-md);
}

.popular-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.popular-tag {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--border-solid);
  border-radius: 20px;
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: all var(--transition-base);
}

.popular-tag:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

/* =============================================================================
   21. PAGINATION
   ============================================================================= */
.posts-pagination {
  margin-top: var(--space-2xl);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a,
.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-sm);
  border: 1px solid var(--border-solid);
  border-radius: var(--border-radius-xs);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  transition: all var(--transition-base);
  gap: 5px;
}

.nav-links a:hover {
  background-color: var(--charcoal);
  color: var(--gold-light);
  border-color: var(--charcoal);
}

.nav-links .page-numbers.current {
  background-color: var(--charcoal);
  color: var(--gold-light);
  border-color: var(--charcoal);
  font-weight: 600;
}

.nav-links .dots {
  background: none;
  border: none;
  color: var(--muted);
}

/* =============================================================================
   22. COMMENTS
   ============================================================================= */
.comments-area {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-solid);
}

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

.comment-list {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.fifi-comment {
  margin-bottom: var(--space-xl);
}

.fifi-comment .children {
  margin-left: var(--space-2xl);
  list-style: none;
  margin-top: var(--space-xl);
}

.comment-body {
  background-color: var(--white);
  border: 1px solid var(--border-solid);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
}

.comment-meta {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.comment-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.comment-author-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.comment-author-name a {
  color: var(--charcoal);
  text-decoration: none;
}

.comment-date {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
}

.comment-content { margin-bottom: var(--space-md); }

.comment-content p { font-size: 0.95rem; margin-bottom: 0.75rem; }

.comment-awaiting-moderation {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  padding: 8px 12px;
  background-color: var(--ivory-2);
  border-radius: var(--border-radius-xs);
  margin-bottom: var(--space-sm);
}

.comment-actions {
  display: flex;
  gap: var(--space-md);
}

.comment-reply-link,
.edit-link a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-deep);
  text-decoration: none;
  transition: color var(--transition-base);
}

.comment-reply-link:hover,
.edit-link a:hover { color: var(--charcoal); }

/* Comment form */
.fifi-comment-form { margin-top: var(--space-xl); }

.comment-reply-title {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  margin-bottom: var(--space-sm);
}

.comment-notes {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: var(--space-xl);
}

.fifi-comment-form .comment-form-comment,
.fifi-comment-form .comment-form-author,
.fifi-comment-form .comment-form-email,
.fifi-comment-form .comment-form-url {
  margin-bottom: var(--space-lg);
}

.fifi-comment-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--charcoal);
}

.fifi-comment-form input[type="text"],
.fifi-comment-form input[type="email"],
.fifi-comment-form input[type="url"],
.fifi-comment-form textarea {
  width: 100%;
}

.fifi-comment-form .required { color: var(--gold-deep); }

.no-comments {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: var(--space-xl);
}

/* =============================================================================
   23. FORMS (Global)
   ============================================================================= */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="search"],
input[type="number"],
input[type="password"],
textarea,
select {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--charcoal);
  background-color: var(--white);
  border: 1px solid var(--border-solid);
  border-radius: var(--border-radius-xs);
  padding: 11px 14px;
  width: 100%;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  -webkit-appearance: none;
  appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12);
}

select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A6A52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

textarea { resize: vertical; min-height: 120px; }

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.form-row { display: flex; flex-direction: column; gap: var(--space-lg); }

.form-row-2col { flex-direction: row; }

.form-row-2col .form-group { flex: 1; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--gold-deep);
}

.form-privacy-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: var(--space-sm);
  margin-bottom: 0;
}

.form-privacy-note a {
  color: var(--gold-deep);
  text-decoration: underline;
}

.required { color: var(--gold-deep); margin-left: 2px; }

/* =============================================================================
   24. PAGE TEMPLATES
   ============================================================================= */

/* -- About Page -- */
.about-page .section-padding:not(:first-child) {
  background-color: var(--ivory);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.story-image-frame {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.story-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-image-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--ivory-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  color: var(--border-solid);
  font-size: 0.875rem;
}

.about-mission-badge {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background-color: var(--ivory-2);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  margin-top: var(--space-xl);
}

.mission-icon { flex-shrink: 0; color: var(--gold); }

.mission-statement {
  font-size: 1rem;
  font-style: italic;
  font-family: var(--font-heading);
  color: var(--charcoal-2);
  margin-bottom: 0;
  line-height: 1.6;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.value-card {
  text-align: center;
  padding: var(--space-xl);
  background-color: var(--white);
  border: 1px solid var(--border-solid);
  border-radius: var(--border-radius);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

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

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-lg);
  background-color: var(--gold-pale);
  border-radius: 50%;
  color: var(--gold-deep);
}

.value-title {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.value-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 0; }

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.team-card {
  background-color: var(--white);
  border: 1px solid var(--border-solid);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

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

.team-card-photo {
  aspect-ratio: 1;
  overflow: hidden;
  background-color: var(--ivory-3);
}

.team-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--border-solid);
  background-color: var(--ivory-3);
}

.team-card-body { padding: var(--space-lg); }

.team-name {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.8rem;
  color: var(--gold-deep);
  font-weight: 500;
  font-family: var(--font-body);
  margin-bottom: var(--space-sm);
}

.team-bio {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.team-social { display: flex; gap: var(--space-sm); }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.testimonial-card {
  background-color: var(--white);
  border: 1px solid var(--border-solid);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-md);
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.7;
  font-style: italic;
  font-family: var(--font-heading);
  margin-bottom: var(--space-lg);
}

.testimonial-author { margin-top: auto; }

.testimonial-name {
  display: block;
  font-weight: 700;
  font-style: normal;
  color: var(--charcoal);
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.testimonial-trip {
  display: block;
  font-size: 0.8rem;
  color: var(--gold-deep);
  font-family: var(--font-body);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-2) 100%);
  text-align: center;
}

.cta-banner-inner {
  max-width: 700px;
  margin: 0 auto;
}

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

.cta-subtitle {
  color: var(--gold-light);
  font-size: 1.05rem;
  margin-bottom: var(--space-xl);
}

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* -- Contact Page -- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-form-header { margin-bottom: var(--space-xl); }

.contact-success-msg {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: var(--border-radius-sm);
  margin-bottom: var(--space-xl);
  color: #065F46;
  font-size: 0.9rem;
}

.contact-info-card {
  background-color: var(--ivory-2);
  border: 1px solid var(--border-solid);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
}

.contact-info-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.contact-details-list { list-style: none; margin-top: var(--space-xl); }

.contact-detail-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-solid);
}

.contact-detail-item:last-child { border-bottom: none; }

.contact-detail-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gold-pale);
  border-radius: 50%;
  color: var(--gold-deep);
}

.contact-detail-content { min-width: 0; }

.contact-detail-content strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-detail-content span,
.contact-detail-content a {
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.5;
}

.contact-detail-content a {
  text-decoration: none;
  color: var(--gold-deep);
}

.contact-detail-content a:hover { color: var(--charcoal); }

.contact-map-placeholder {
  margin-top: var(--space-xl);
  border: 2px dashed var(--border-solid);
  border-radius: var(--border-radius);
  background-color: var(--ivory-3);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder-inner {
  text-align: center;
  padding: var(--space-xl);
  color: var(--muted);
}

.map-placeholder-inner svg { margin: 0 auto var(--space-sm); }
.map-placeholder-inner p { font-size: 0.875rem; margin-bottom: var(--space-md); }

.map-link {
  font-size: 0.875rem;
  color: var(--gold-deep);
  text-decoration: underline;
}

.contact-social-inner { max-width: 600px; margin: 0 auto; }

.contact-social-title { font-size: 1.3rem; margin-bottom: var(--space-sm); }

.contact-social-links {
  display: flex;
  justify-content: center;
  margin-top: var(--space-lg);
}

.contact-social-links .social-links { justify-content: center; }

.contact-social-links .social-link {
  width: 48px;
  height: 48px;
  border-color: var(--border-solid);
  color: var(--muted);
}

.contact-social-links .social-link:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

/* Contact form submit */
.form-submit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact-submit {
  min-width: 200px;
}

/* -- Legal Page -- */
.legal-hero {
  padding: clamp(32px, 5vw, 64px) 0 var(--space-xl);
  border-bottom: 1px solid var(--border-solid);
  background-color: var(--ivory-2);
}

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

.legal-last-updated {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-2xl);
  align-items: start;
  padding: var(--space-2xl) 0;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-height) + var(--space-xl));
}

.legal-toc-inner {
  background-color: var(--ivory-2);
  border: 1px solid var(--border-solid);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
}

.toc-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-sm);
  font-family: var(--font-body);
}

.toc-list { list-style: none; }

.toc-list li { border-bottom: 1px solid var(--ivory-3); }
.toc-list li:last-child { border-bottom: none; }

.toc-list a {
  display: block;
  padding: 8px 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition-base);
  line-height: 1.4;
}

.toc-list a:hover,
.toc-list a.is-active { color: var(--gold-deep); }

.legal-content { min-width: 0; }

.legal-prose { max-width: 720px; }

.legal-prose h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-solid);
}

.legal-prose h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-back-top {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-solid);
}

.back-to-top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-deep);
  text-decoration: none;
  transition: gap var(--transition-base), color var(--transition-base);
}

.back-to-top-link:hover {
  gap: 8px;
  color: var(--charcoal);
}

/* -- Reviews Page -- */
.overall-rating-card {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  padding: var(--space-2xl);
  background: var(--white);
  border: 1px solid var(--border-solid);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  max-width: 700px;
  margin: 0 auto;
}

.rating-score-block {
  text-align: center;
  flex-shrink: 0;
}

.rating-number {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
  display: block;
}

.rating-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.rating-stars-block { flex: 1; }

.rating-stars {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-sm);
}

.rating-summary {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: var(--space-lg);
}

.rating-breakdown { display: flex; flex-direction: column; gap: 6px; }

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
}

.rating-bar-label {
  display: flex;
  align-items: center;
  gap: 3px;
  width: 40px;
  flex-shrink: 0;
  color: var(--muted);
  font-weight: 500;
}

.rating-bar-track {
  flex: 1;
  height: 6px;
  background-color: var(--ivory-3);
  border-radius: 3px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--gold-deep), var(--gold));
  border-radius: 3px;
}

.rating-bar-pct {
  width: 36px;
  text-align: right;
  color: var(--muted);
  flex-shrink: 0;
}

/* Pros & Cons */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.pros-card, .cons-card {
  border-radius: var(--border-radius);
  border: 1px solid var(--border-solid);
  overflow: hidden;
}

.pros-cons-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
}

.pros-header { background-color: #ECFDF5; color: #065F46; }
.cons-header { background-color: var(--ivory-2); color: var(--muted); }

.pros-cons-header h3 {
  font-size: 1rem;
  margin-bottom: 0;
  font-family: var(--font-body);
}

.pros-cons-list {
  list-style: none;
  padding: var(--space-lg);
  background-color: var(--white);
}

.pros-cons-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--ivory-3);
  font-size: 0.9rem;
  padding-left: 1.2em;
  position: relative;
  color: var(--charcoal);
  line-height: 1.5;
}

.pros-cons-list li:last-child { border-bottom: none; }

.pros-card .pros-cons-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10B981;
  font-weight: 700;
}

.cons-card .pros-cons-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* Comparison Table */
.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-solid);
  box-shadow: var(--shadow-sm);
  margin-top: var(--space-2xl);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.comparison-table th {
  padding: 16px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--ivory-2);
  border-bottom: 2px solid var(--border-solid);
  font-family: var(--font-body);
  position: relative;
}

.comparison-table th:first-child { text-align: left; }

.tier-featured {
  background-color: var(--charcoal) !important;
  color: var(--gold-light) !important;
}

.popular-badge {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.comparison-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--ivory-3);
  color: var(--charcoal);
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--charcoal);
}

.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table tr:nth-child(even) td { background-color: var(--ivory-2); }
.comparison-table tr:nth-child(even) td.tier-featured { background-color: var(--charcoal-2) !important; }

/* CTA cards */
.reviews-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.cta-card {
  text-align: center;
  padding: var(--space-xl);
  background-color: var(--white);
  border: 1px solid var(--border-solid);
  border-radius: var(--border-radius);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

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

.cta-card-featured {
  background-color: var(--charcoal);
  border-color: var(--gold);
}

.cta-card-featured h3 { color: var(--gold-light); }
.cta-card-featured p { color: var(--muted); }
.cta-card-featured .cta-card-icon { color: var(--gold); background-color: rgba(201, 169, 110, 0.1); }

.cta-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-lg);
  background-color: var(--gold-pale);
  border-radius: 50%;
  color: var(--gold-deep);
}

.cta-card h3 { font-size: 1.1rem; margin-bottom: var(--space-sm); }
.cta-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: var(--space-lg); }

/* =============================================================================
   25. GUTENBERG BLOCK OVERRIDES
   ============================================================================= */
.wp-block-image img {
  border-radius: var(--border-radius);
}

.wp-block-image.alignfull img,
.wp-block-cover.alignfull {
  border-radius: 0;
}

.wp-block-image.alignwide {
  max-width: var(--content-wide);
  margin-left: auto;
  margin-right: auto;
}

.alignwide {
  max-width: var(--content-wide);
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.wp-block-quote {
  border-left: 3px solid var(--gold);
  padding-left: var(--space-lg);
  margin-left: 0;
  font-style: italic;
  font-family: var(--font-heading);
}

.wp-block-quote p { font-size: 1.1rem; color: var(--charcoal-2); }
.wp-block-quote cite { color: var(--muted); font-size: 0.875rem; font-style: normal; }

.wp-block-pullquote {
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  padding: var(--space-xl) 0;
  text-align: center;
}

.wp-block-pullquote p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--charcoal);
}

.wp-block-pullquote cite {
  color: var(--gold-deep);
  font-size: 0.9rem;
  font-style: normal;
}

.wp-block-separator {
  border: none;
  border-top: 1px solid var(--border-solid);
}

.wp-block-separator.is-style-wide {
  border-top-color: var(--gold);
}

.wp-block-columns { gap: var(--space-xl); }

.wp-block-button .wp-block-button__link {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--border-radius-xs);
  transition: all var(--transition-base);
}

/* =============================================================================
   26. ABOUT SECTION SPECIFICS
   ============================================================================= */
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-2) 100%);
}

/* =============================================================================
   27. FADE-IN ANIMATIONS (IntersectionObserver)
   ============================================================================= */
.fade-in-element {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-element.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.fade-in-element:nth-child(2) { transition-delay: 0.1s; }
.fade-in-element:nth-child(3) { transition-delay: 0.2s; }
.fade-in-element:nth-child(4) { transition-delay: 0.3s; }

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .fade-in-element {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* =============================================================================
   28. RESPONSIVE — Tablet (max 1024px)
   ============================================================================= */
@media (max-width: 1024px) {
  .content-with-sidebar {
    grid-template-columns: 1fr;
  }

  .blog-sidebar { order: 2; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .footer-col:nth-child(3) { grid-column: 1 / -1; }

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

  .about-story-grid { gap: var(--space-xl); }

  .post-card-featured {
    grid-template-columns: 1fr;
  }

  .post-card-image-featured {
    min-height: 280px;
    aspect-ratio: 16/9;
    height: auto;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc { position: static; }
}

/* =============================================================================
   29. RESPONSIVE — Tablet 768px
   ============================================================================= */
@media (max-width: 768px) {
  :root { --header-height: 64px; }

  .container, .content-wide { padding-left: var(--space-lg); padding-right: var(--space-lg); }

  /* Navigation */
  .main-navigation { display: none; }
  .menu-toggle { display: flex; }

  /* Post grid */
  .post-grid { grid-template-columns: 1fr; }
  .post-grid-3col { grid-template-columns: repeat(2, 1fr); }

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

  /* About */
  .about-story-grid { grid-template-columns: 1fr; }
  .story-image-frame { aspect-ratio: 4/3; }
  .values-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .form-row-2col { flex-direction: column; }

  /* Reviews */
  .pros-cons-grid { grid-template-columns: 1fr; }
  .reviews-cta-grid { grid-template-columns: 1fr; }
  .overall-rating-card { flex-direction: column; text-align: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  /* Author bio */
  .author-bio-box { flex-direction: column; align-items: flex-start; }
  .author-bio-header { flex-direction: column; }

  /* Share buttons */
  .share-buttons { flex-direction: column; align-items: flex-start; }

  /* Hero */
  .entry-hero { min-height: 50vh; }
  .hero-title { font-size: clamp(2rem, 6vw, 3rem); }

  /* Post card featured */
  .post-card-body-featured { padding: var(--space-lg); }

  /* Entry content */
  .entry-content { max-width: 100%; }
}

/* =============================================================================
   30. RESPONSIVE — Mobile 480px
   ============================================================================= */
@media (max-width: 480px) {
  :root { --header-height: 60px; }

  .container, .content-wide { padding-left: var(--space-md); padding-right: var(--space-md); }

  .header-inner { gap: var(--space-md); }

  .post-grid-3col { grid-template-columns: 1fr; }
  .related-posts-grid { grid-template-columns: 1fr; }

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

  .error-404-links { flex-direction: column; align-items: center; }
  .error-search-wrap { flex-direction: column; }

  .search-results-form { flex-direction: column; }

  .footer-legal-list { flex-direction: column; gap: var(--space-sm); }

  .post-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .post-card-meta { flex-wrap: wrap; }

  .share-buttons-group { flex-direction: column; }

  .cta-buttons { flex-direction: column; align-items: center; }

  .hero-title { font-size: clamp(1.8rem, 7vw, 2.5rem); }

  .logo-main { font-size: 1.1rem; }
  .fifi-logo-icon svg { width: 32px; height: 32px; }

  .search-drawer-inner { flex-wrap: wrap; }
  .search-drawer .search-form { flex-direction: column; }
}

/* =============================================================================
   31. WORDPRESS-SPECIFIC STYLES
   ============================================================================= */

/* Sticky posts */
.sticky .post-card-image::after {
  content: 'Featured';
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background-color: var(--charcoal);
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--border-radius-xs);
  z-index: 3;
}

/* Caption */
.wp-caption { text-align: center; }
.wp-caption-text { font-size: 0.875rem; color: var(--muted); font-style: italic; margin-top: var(--space-xs); }

/* Alignments */
.alignleft { float: left; margin-right: var(--space-xl); margin-bottom: var(--space-md); }
.alignright { float: right; margin-left: var(--space-xl); margin-bottom: var(--space-md); }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--space-sm); }
.gallery-item img { border-radius: var(--border-radius-sm); width: 100%; aspect-ratio: 1; object-fit: cover; }

/* WP emoji fix */
img.emoji { width: 1em; height: 1em; vertical-align: middle; display: inline; }

/* Admin bar offset */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* =============================================================================
   32. UTILITY CLASSES
   ============================================================================= */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Entry content wide */
.page-content-wide .entry-content {
  max-width: 100%;
}
