/*
Theme Name: Latinos Viajeros
Theme URI: https://latinosviajeros.com/
Author: Latinos Viajeros Team
Description: Tema travel-blog en español para viajeros latinos en Asia. Enfocado en destinos turísticos y gastronomía con SEO optimizado y zonas para publicidad.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: latinosviajeros
Tags: blog, travel, custom-logo, custom-menu, featured-images, two-columns, translation-ready
*/

/* ========================================
   COLORS & ROOT
   ======================================== */
:root {
  --primary:       #0d9488;
  --primary-dark:  #0f766e;
  --primary-light: #ccfbf1;
  --accent:        #f59e0b;
  --accent-soft:   #fef3c7;
  --accent-dark:   #d97706;
  --bg:            #f8f7f4;
  --surface:       #ffffff;
  --surface-2:     #f1ede8;
  --text:          #1c1917;
  --text-light:    #78716c;
  --border:        #e7e5e4;
  --border-light:  #f0edeb;
  --hero-overlay: linear-gradient(
    135deg, rgba(13, 148, 136, 0.85) 0%,
    rgba(15, 118, 110, 0.70) 35%,
    rgba(12, 12, 12, 0.35) 100%
  );
  --card-shadow:   0 4px 24px rgba(0,0,0,0.06);
  --card-shadow-h: 0 12px 40px rgba(0,0,0,0.10);
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     32px;
  --max:           min(1240px, calc(100% - 32px));
  --font-heading:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:     'Inter', system-ui, -apple-system, sans-serif;
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
a {
  text-decoration: none;
  color: var(--primary);
  transition: color 0.2s ease;
}
a:hover { color: var(--primary-dark); }
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol { padding-left: 20px; }

.container {
  width: var(--max);
  margin-inline: auto;
}
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn, .button, button, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn:hover, .button:hover, button:hover, input[type="submit"]:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  color: #fff;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  transform: translateY(-1px);
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-accent { background: var(--accent); color: #1c1917; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }

/* ========================================
   HEADER — Travlia Style
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
}
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  gap: 20px;
}
.branding a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.branding a:hover { color: var(--primary); }
.branding .logo-icon {
  width: 36px; height: 36px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-social { display: flex; gap: 8px; }
.header-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text-light);
  font-size: 0.85rem;
  transition: all 0.2s ease;
}
.header-social a:hover { background: var(--primary); color: #fff; }
.header-cta {
  display: inline-flex;
  padding: 10px 22px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}
.header-cta:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
}
.header-bottom {
  border-top: 1px solid var(--border-light);
  padding: 0;
}
.header-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-nav ul {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav > ul > li { position: relative; }
.site-nav > ul > li > a {
  display: block;
  padding: 12px 18px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}
.site-nav > ul > li > a:hover,
.site-nav > ul > li.current-menu-item > a {
  color: var(--primary);
}
.site-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--card-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  padding: 8px 0;
  z-index: 99;
}
.site-nav li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-nav .sub-menu a {
  display: block;
  padding: 8px 18px;
  color: var(--text);
  font-size: 0.85rem;
}
.site-nav .sub-menu a:hover { background: var(--surface-2); color: var(--primary); }

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  min-height: auto;
  border-radius: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s ease;
}

/* ========================================
   HERO — Travlia Style
   ======================================== */
.hero { padding: 0; }
.hero-wrap {
  min-height: 620px;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  color: #fff;
  max-width: 760px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-content h1 { color: #fff; margin-bottom: 16px; }
.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  max-width: 640px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-search {
  margin-top: 32px;
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-md);
  padding: 16px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 10px;
  align-items: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.hero-search-field { position: relative; }
.hero-search-field input,
.hero-search-field select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 0 14px 0 38px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  appearance: none;
  -webkit-appearance: none;
}
.hero-search-field .field-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 0.85rem;
  pointer-events: none;
}
.hero-search .btn { min-height: 50px; padding: 12px 24px; }

/* ========================================
   SECTION COMMON
   ======================================== */
.section { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head-left {
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 32px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.eyebrow-accent { background: var(--accent-soft); color: var(--accent-dark); }

/* ========================================
   GRID
   ======================================== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ========================================
   DESTINATION CARDS (Travlia-style)
   ======================================== */
.destination-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: end;
  color: #fff;
  background-size: cover;
  background-position: center;
  box-shadow: var(--card-shadow);
  transition: all 0.4s ease;
  cursor: pointer;
}
.destination-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-h);
}
.destination-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.75) 100%);
  transition: opacity 0.4s ease;
}
.destination-card:hover::before { opacity: 0.9; }
.destination-card-badge {
  position: absolute;
  top: 16px; right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
}
.destination-card-content {
  position: relative;
  z-index: 2;
  padding: 28px;
  width: 100%;
}
.destination-card-content h3 { color: #fff; margin-bottom: 6px; }
.destination-card-content p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.destination-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
}
.destination-card-link:hover { color: #fff; border-color: #fff; }

.destination-card-count {
  position: absolute;
  top: 16px; right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  z-index: 2;
}

.city-filter select {
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  min-width: 200px;
}
.city-filter select:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Mini cards below hero */
.mini-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
  margin-top: -60px;
  position: relative;
  z-index: 3;
}
.mini-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  min-height: 180px;
  display: flex;
  align-items: end;
  background-size: cover;
  background-position: center;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}
.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-h);
}
.mini-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 60%);
}
.mini-card-content {
  position: relative;
  z-index: 2;
  padding: 16px;
  color: #fff;
  width: 100%;
}
.mini-card-content h4 { color: #fff; margin: 0; font-size: 1rem; }
.mini-card-content .mini-count { font-size: 0.78rem; color: rgba(255,255,255,0.75); }

/* ========================================
   CATEGORY SPOTLIGHT
   ======================================== */
.category-spotlight {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: grid;
  gap: 16px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}
.category-spotlight:hover {
  box-shadow: var(--card-shadow-h);
  transform: translateY(-3px);
}
.category-spotlight p { color: var(--text-light); }

/* ========================================
    SPOTLIGHT CARDS — Image on top, text below
    ======================================== */
.spotlight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}
.spotlight-card:hover {
  box-shadow: var(--card-shadow-h);
  transform: translateY(-3px);
}
.spotlight-card-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.spotlight-card:hover .spotlight-card-image {
  transform: scale(1.08);
}
.spotlight-card-inner {
  overflow: hidden;
}
.spotlight-card-content {
  padding: 24px 28px 28px;
}
.spotlight-card-content .eyebrow,
.spotlight-card-content .eyebrow-accent {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.spotlight-card-content .eyebrow {
  background: var(--primary);
  color: #fff;
}
.spotlight-card-content .eyebrow-foto {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  background: #8b5cf6;
  color: #fff;
}
.spotlight-card-content .eyebrow-accent {
  background: var(--accent);
  color: #1c1917;
}
.spotlight-card-content h2 {
  margin-bottom: 10px;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--text);
}
.spotlight-card-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 18px;
  line-height: 1.6;
}

/* ========================================
    POST CARDS
    ======================================== */
.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}
.post-card:hover {
  box-shadow: var(--card-shadow-h);
  transform: translateY(-3px);
}
.post-card.no-thumb { grid-template-columns: 1fr; }
.post-card-media { overflow: hidden; background-size: cover; background-position: center; min-height: 200px; }
.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
  transition: transform 0.5s ease;
}
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-content { padding: 28px; }
.tax-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.tax-links a, .tax-links span {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.tax-links a:hover { background: var(--primary); color: #fff; }
.tax-links .destino-chip { background: none; padding: 0; }
.tax-links .destino-chip a { background: var(--primary-light); color: var(--primary); }
.tax-links .destino-chip a:hover { background: var(--primary); color: #fff; }
.post-meta {
  color: var(--text-light);
  font-size: 0.88rem;
  display: flex;
  gap: 12px;
  align-items: center;
}
.post-card-grid {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}
.post-card-grid:hover {
  box-shadow: var(--card-shadow-h);
  transform: translateY(-4px);
}
.post-card-grid .post-card-media { height: 200px; overflow: hidden; }
.post-card-grid .post-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card-grid:hover .post-card-media img { transform: scale(1.05); }
.post-card-grid .post-card-content { padding: 20px; }

/* ========================================
   LATEST POSTS CARDS (homepage)
   ======================================== */
.latest-posts-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.latest-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s ease;
}
.latest-card:hover { transform: scale(1.02); }
.latest-card-overlay {
  width: 100%;
  padding: 24px;
  background: linear-gradient(transparent 0%, rgba(0,0,0,0.75) 100%);
}
.latest-card-tags { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.latest-card-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.latest-card-dest {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--primary-light);
  color: var(--primary);
}
.latest-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  color: #fff;
}
.latest-card:hover .latest-card-title { text-decoration: underline; }

/* ========================================
   GALLERY (Travlia-style)
   ======================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-item-wide { grid-column: span 2; aspect-ratio: 2 / 1; }

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-section {
  background: var(--primary-dark);
  color: #fff;
}
.testimonials-section .section-head h2,
.testimonials-section .section-head .eyebrow { color: #fff; }
.testimonials-section .section-head .eyebrow {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.testimonial-card {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
}
.testimonial-stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-text {
  font-style: italic;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.7;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-weight: 600; font-size: 0.92rem; }
.testimonial-title { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

/* ========================================
   STATS BAND
   ======================================== */
.stats-band {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  box-shadow: var(--card-shadow);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}
.stat-label { font-size: 0.9rem; color: var(--text-light); margin-top: 4px; }

/* ========================================
   SERVICE CARDS (features)
   ======================================== */
.service-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}
.service-card:hover {
  box-shadow: var(--card-shadow-h);
  transform: translateY(-4px);
}
.service-icon {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--text-light); font-size: 0.92rem; }

/* ========================================
   CTA BAND
   ======================================== */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  color: #fff;
  display: grid;
  gap: 16px;
}
.cta-band h2, .cta-band p { color: #fff; }

/* ========================================
   NEWSLETTER
   ======================================== */
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.92rem;
}

/* ========================================
   AD ZONES
   ======================================== */
.ad-zone {
  background: var(--surface-2);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  color: var(--text-light);
  font-size: 0.82rem;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-zone-sidebar { min-height: 280px; }
.ad-zone-inline { margin: 28px 0; }
.ad-zone-billboard {
  min-height: 120px;
  max-width: 728px;
  margin: 0 auto;
}

/* ========================================
   SPONSORS / PATROCINADORES
   ======================================== */
.sponsors-section .section-head { margin-bottom: 32px; }
.sponsor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.sponsor-card:hover {
  box-shadow: var(--card-shadow-h);
  transform: translateY(-3px);
}
.sponsor-logo {
  background: #fff;
  padding: 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}
.sponsor-logo img { max-width: 160px; max-height: 80px; object-fit: contain; }
.sponsor-content { padding: 24px; }
.sponsor-level { margin-bottom: 8px; }

/* ========================================
   SINGLE POST / PAGE
   ======================================== */
.page-header { padding: 32px 0 8px; }
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
}
.content-card, .archive-panel, .widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--card-shadow);
}
.entry-content { max-width: 74ch; }
.single-cover {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 0 0 24px;
}
.single-cover img { width: 100%; }
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  align-items: center;
}
.breadcrumbs a, .breadcrumbs span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--text-light);
  font-size: 0.82rem;
  font-weight: 500;
}
.breadcrumbs a:hover { background: var(--primary-light); color: var(--primary); }
.breadcrumbs span:last-child { background: var(--primary); color: #fff; }
.meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.meta-chips span {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 0.85rem;
}

/* Pagination */
.pagination, .wp-block-query-pagination, .nav-links {
  display: flex;
  gap: 8px;
  margin-top: 32px;
  justify-content: center;
}
.pagination a, .pagination span,
.nav-links a, .nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px; min-height: 42px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
}
.pagination .current, .nav-links .current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ========================================
   SIDEBAR
   ======================================== */
.sidebar { display: grid; gap: 20px; align-content: start; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li + li { margin-top: 12px; }
.search-form { display: flex; gap: 10px; }
.search-form input[type="search"] {
  flex: 1;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

/* ========================================
   FOOTER (Travlia-style)
   ======================================== */
.site-footer {
  margin-top: 64px;
  background: #1c1917;
  color: rgba(255,255,255,0.85);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 32px;
}
.site-footer h3 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 1.1rem;
}
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 8px; }
.footer-brand-desc { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: all 0.25s ease;
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.footer-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
}
.footer-newsletter p { font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.footer-newsletter .newsletter-form input[type="email"] {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}
.footer-newsletter .newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.4); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.10);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }

/* ========================================
   CALL TO ACTION SECTION (Travlia-style)
   ======================================== */
.cta-large {
  background: linear-gradient(135deg, var(--primary) 0%, #0b4f6c 100%);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  text-align: center;
  color: #fff;
}
.cta-large h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.cta-large p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 24px; }
.cta-large .hero-actions { justify-content: center; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .header-social, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .header-bottom { display: none; }
  .header-bottom.open { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 16px;
  }
  .hero-wrap { min-height: 520px; }
  .hero-content { padding: 40px 0; }
  .hero-search { grid-template-columns: 1fr; }
  .mini-cards { margin-top: 24px; }
  .content-layout, .footer-grid, .post-card { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 40px 0; }
  .cta-band, .cta-large { padding: 32px 24px; }
  .stats-band { padding: 32px 24px; }
  .latest-posts-cards { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .trending-card { flex: 0 0 260px; }
  .newsletter-form { flex-direction: column; }
  .destination-card { min-height: 300px; }
}
@media (max-width: 480px) {
  .mini-card { min-height: 130px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr; }
  .stat-number { font-size: 2rem; }
}

/* Type-specific override from prior work */
.post-type-archive-patrocinador .post-card { grid-template-columns: 1fr; }
.is-destination-hub .archive-panel { background: var(--primary-light); }

/* ========================================
   ARCHIVE HERO (sub-pages)
   ======================================== */
.archive-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.archive-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.archive-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg, rgba(13, 148, 136, 0.80) 0%,
    rgba(12, 12, 12, 0.50) 100%
  );
}
.archive-hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0;
  color: #fff;
  max-width: 700px;
}
.archive-hero-content h1 { color: #fff; margin-bottom: 8px; }
.archive-hero-content p { color: rgba(255,255,255,0.9); font-size: 1.05rem; }
.archive-hero-content .breadcrumbs a,
.archive-hero-content .breadcrumbs span {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
}
.archive-hero-content .breadcrumbs a:hover { background: rgba(255,255,255,0.30); }
.archive-hero-content .breadcrumbs span:last-child {
  background: rgba(255,255,255,0.25);
  color: #fff;
}
.archive-hero-content .search-form input[type="search"] {
  background: rgba(255,255,255,0.95);
  border: none;
}

/* ========================================
   SOCIAL SHARING
   ======================================== */
.share-section {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.share-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-light);
}
.share-links { display: flex; gap: 8px; }
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  transition: all 0.2s ease;
}
.share-fb { background: #1877f2; }
.share-tw { background: #000; }
.share-wa { background: #25d366; }
.share-pin { background: #e60023; }
.share-btn:hover { transform: translateY(-2px); filter: brightness(1.15); color: #fff; }

/* ========================================
   AUTHOR BOX
   ======================================== */
.author-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 20px;
  background: var(--surface-2);
  border-radius: var(--radius-md);
}
.author-box img.avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-box strong { display: block; margin-bottom: 4px; }
.author-box p { margin: 0; font-size: 0.9rem; color: var(--text-light); }

/* ========================================
   SPONSORS STRIP (compact, above footer)
   ======================================== */
.sponsors-strip .section-head { margin-bottom: 20px; }
.sponsor-strip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.sponsor-strip-item {
  padding: 10px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.sponsor-strip-item:hover {
  border-color: var(--primary);
  box-shadow: var(--card-shadow);
}
.sponsor-strip-name { color: var(--text); }
.sponsor-strip-name:hover { color: var(--primary); }
.sponsors-archive-link {
  text-align: center;
  margin-top: 16px;
  font-size: 0.85rem;
}

/* Section title for destination blog posts */
.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0;
  grid-column: 1 / -1;
}

/* ========================================
   STATS BAND
   ======================================== */
.stats-section {
  padding: 0;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}
.stats-band {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  box-shadow: var(--card-shadow);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ========================================
   DESTINATION FILTERS
   ======================================== */
.destination-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}
.filter-chip {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.filter-chip:hover,
.filter-chip.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ========================================
   TRENDING POSTS
   ======================================== */
.trending-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0b4f6c 100%);
  color: #fff;
}
.trending-section .section-head h2,
.trending-section .section-head .eyebrow {
  color: #fff;
}
.trending-section .eyebrow {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.trending-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.3) transparent;
}
.trending-scroll::-webkit-scrollbar {
  height: 6px;
}
.trending-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.trending-scroll::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
}
.trending-card {
  flex: 0 0 300px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #fff;
}
.trending-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.15);
}
.trending-card-image {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
}
.trending-card-content {
  padding: 20px;
}
.trending-card-content h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-family: var(--font-heading);
}
.trending-card-content p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin: 0;
}
.trending-meta {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

/* ========================================
   NEWSLETTER
   ======================================== */
.newsletter-section {
  background: var(--surface);
}
.newsletter-box {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-soft) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}
.newsletter-box h2 {
  font-family: var(--font-heading);
  margin-bottom: 12px;
}
.newsletter-box p {
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto 24px;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.92rem;
}

/* ========================================
   SECTION DIVIDERS
   ======================================== */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 auto;
  max-width: 200px;
}

/* ========================================
   ALTERNATING SECTION BACKGROUNDS
   ======================================== */
.section-alt {
  background: var(--surface);
}

.muted { color: var(--text-light); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
