/* ============================================================
   CAMINO COMPANIONS — Frontend Styles  v3.0.1
   Brand: Navy #161924 | Gold #ECBC86 | Brown #87612A
   Fonts: Poppins (Google) + Crossing (custom TTF)
   Architecture: pure visual styling for native Gutenberg blocks
   No layout or structure is defined here — all layout lives in
   block attributes. Only colour, typography, and decoration.

   CSS STABILITY CONTRACT — see CSS_CONTRACT.md in plugin root.
   All cc-* classes used in block markup are frozen for v3.x.x.
   Visual behaviour of stable classes WILL NOT change in any
   patch (3.0.x) or minor (3.x.0) release.
   ============================================================ */

/* ── FONT: Crossing (custom) ─────────────────────────────── */
@font-face {
  font-family: 'Crossing';
  src: url('../fonts/Crossing.woff2') format('woff2'),
       url('../fonts/Crossing.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── FONT: Poppins (Google) ──────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

/* ── COLOUR TOKENS ───────────────────────────────────────── */
:root {
  --cc-navy:        #161924;
  --cc-gold:        #ECBC86;
  --cc-brown:       #87612A;
  --cc-cream:       #E0D8CE;
  --cc-white:       #ffffff;
  --cc-text-dim:    rgba(255,255,255,0.65);
  --cc-text-muted:  rgba(255,255,255,0.45);
  --cc-border:      rgba(255,255,255,0.12);
  --cc-border-gold: rgba(236,188,134,0.4);
  --cc-card-bg:     rgba(255,255,255,0.03);
}

/* ── BOX MODEL ───────────────────────────────────────────── */
[class^="cc-"],
[class*=" cc-"] {
  box-sizing: border-box;
}

/* ── BASE FONT ───────────────────────────────────────────── */
body {
  font-family: 'Poppins', sans-serif !important;
}

/* ── FONT HELPERS ────────────────────────────────────────── */
.cc-font-crossing { font-family: 'Crossing', cursive !important; }

/* ── SCROLL ANIMATION ─────────────────────────────────────── */
.cc-animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.cc-animate-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════ */
.cc-hero-section.wp-block-cover {
  position: relative;
}
/* Suppress the flat WordPress dim overlay — replaced by container-level gradient */
.cc-hero-section .wp-block-cover__background {
  opacity: 0 !important;
}
/* Navy gradient overlay — container level, works for both image and video */
.cc-hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(22,25,36,0.32)   0%,
    rgba(22,25,36,0.32)  40%,
    rgba(22,25,36,0.68)  85%,
    #161924              100%
  );
}
.cc-hero-section .wp-block-cover__inner-container {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}
.cc-hero-h1 {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 300 !important;
  font-size: clamp(2rem, 5.2vw, 3.5rem) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.025em !important;
  color: #fff !important;
  margin-bottom: 0.5rem !important;
}
.cc-hero-script {
  font-family: 'Crossing', cursive !important;
  font-size: clamp(1.8rem, 4vw, 3rem) !important;
  line-height: 1.2 !important;
  color: var(--cc-gold) !important;
  max-width: 760px !important;
  margin: 0 auto 2rem !important;
}
.cc-hero-body {
  font-size: 1.125rem !important;
  line-height: 1.625 !important;
  color: rgba(255,255,255,0.75) !important;
  max-width: 672px !important;
  margin: 0 auto 3rem !important;
}

/* ── Hero CTA button ── */
.cc-btn-hero .wp-block-button__link {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  padding: 1.1rem 3rem !important;
  border-radius: 9999px !important;
  background: transparent !important;
  color: var(--cc-gold) !important;
  border: 1.5px solid rgba(236,188,134,0.85) !important;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s !important;
}
.cc-btn-hero .wp-block-button__link:hover {
  background: rgba(236,188,134,0.15) !important;
  border-color: rgba(236,188,134,1) !important;
  color: var(--cc-gold) !important;
  box-shadow: 0 0 18px rgba(236,188,134,0.18), 0 2px 10px rgba(0,0,0,0.25) !important;
  transform: translateY(-1px) !important;
}
.cc-btn-hero .wp-block-button__link:focus-visible {
  outline: 2px solid rgba(236,188,134,0.9) !important;
  outline-offset: 4px !important;
}

/* ══════════════════════════════════════════════════════════
   TRUST STRIP
   ══════════════════════════════════════════════════════════ */
.cc-trust-strip {
  border-bottom: 1px solid rgba(236,188,134,0.1) !important;
}
.cc-trust-columns {
  max-width: 1024px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  justify-content: center !important;
}
/* Item columns: natural width, not stretched */
.wp-block-column.cc-trust-item {
  flex-basis: auto !important;
  flex-grow: 0 !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}
.cc-trust-item {
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  grid-template-rows: auto auto !important;
  column-gap: 0.625rem !important;
  align-items: center !important;
}
/* Zero WordPress Core is-layout-flow block-gap margins on item children */
.cc-trust-item > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}
/* Icon: plugin asset img — spans both text rows */
.cc-trust-item > img {
  grid-column: 1 !important;
  grid-row: 1 / 3 !important;
  align-self: center !important;
  display: block !important;
  flex-shrink: 0 !important;
  opacity: 0.85 !important;
}
/* Five-star row: wider asset (130×24 viewBox → 55px rendered) */
.cc-trust-item > img.cc-trust-stars-img {
  width: 55px !important;
  height: auto !important;
}
/* Single icon (Users, Hotel, Heart): 16×16 */
.cc-trust-item > img:not(.cc-trust-stars-img) {
  width: 16px !important;
  height: 16px !important;
}
.cc-trust-label {
  grid-column: 2 !important;
  grid-row: 1 !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  color: #fff !important;
  letter-spacing: 0.02em !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  text-align: left !important;
}
.cc-trust-sub {
  grid-column: 2 !important;
  grid-row: 2 !important;
  font-size: 0.65rem !important;
  color: rgba(255,255,255,0.4) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  text-align: left !important;
}
.cc-trust-divider-col {
  background: rgba(255,255,255,0.12) !important;
  height: 24px !important;
  min-height: 0 !important;
  align-self: center !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  width: 1px !important;
}

/* ══════════════════════════════════════════════════════════
   XACOBEO BANNER
   ══════════════════════════════════════════════════════════ */
.cc-xacobeo-card {
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease !important;
}
.cc-xacobeo-card:hover {
  box-shadow: 0 0 0 2px rgba(236,188,134,0.8), 0 0 60px rgba(236,188,134,0.35), 0 8px 32px rgba(0,0,0,0.5) !important;
  border-color: rgba(236,188,134,0.8) !important;
  transform: scale(1.012) !important;
}
.cc-xacobeo-image.wp-block-cover {
  flex-shrink: 0 !important;
  width: 340px !important;
  min-width: 340px !important;
  min-height: 200px !important;
  align-self: stretch !important;
  border-radius: 1rem 0 0 1rem !important;
  overflow: hidden !important;
}
.cc-xacobeo-image .wp-block-cover__image-background {
  object-position: center 30% !important;
}
.cc-xacobeo-image .wp-block-cover__inner-container {
  padding: 0.75rem !important;
  align-self: stretch !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
}
.cc-xacobeo-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 0.25rem;
  font-size: 0.6rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  background: rgba(22,25,36,0.88) !important;
  color: var(--cc-gold) !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  margin: 0 !important;
}
.cc-xacobeo-heading {
  line-height: 1.3 !important;
  font-size: 1.35rem !important;
  font-weight: 300 !important;
}
@media (max-width: 640px) {
  .cc-xacobeo-card.wp-block-group { flex-direction: column !important; }
  .cc-xacobeo-image.wp-block-cover { width: 100% !important; min-width: 0 !important; height: 240px !important; }
  .cc-xacobeo-logo-col.wp-block-group { width: 100% !important; min-width: 0 !important; border-left: none !important; border-top: 1px solid rgba(255,255,255,0.1) !important; padding: 1.25rem !important; }
}

/* ══════════════════════════════════════════════════════════
   INCLUSIONS — cream background (Astra-safe !important)
   ══════════════════════════════════════════════════════════ */
.cc-inclusions-section,
.cc-inclusions-section.wp-block-group {
  background-color: #E0D8CE !important;
}
.cc-inclusions-section .wp-block-heading {
  color: #161924 !important;
}
.cc-inclusions-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.cc-inclusions-list li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 1rem !important;
  padding: 1rem 0 !important;
  border-bottom: 1px solid rgba(135,97,42,0.2) !important;
  color: #161924 !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}
.cc-inclusions-list li:last-child { border-bottom: none !important; }
.cc-inclusions-list li::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(135,97,42,0.5);
  background: radial-gradient(circle at center, #87612A 40%, transparent 41%);
  margin-top: 3px;
}

/* Dark background inclusions list (tour detail page) */
.cc-inclusions-list-dark {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.cc-inclusions-list-dark li {
  padding: 0.75rem 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  color: rgba(255,255,255,0.75) !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
}
.cc-inclusions-list-dark li:last-child { border-bottom: none !important; }
.cc-inclusions-list-dark li::before {
  content: '✓ ';
  color: var(--cc-gold);
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════
   DIFFERENCE SECTION
   ══════════════════════════════════════════════════════════ */
.cc-diff-row {
  gap: 1rem !important;
  margin-bottom: 1rem !important;
}
.cc-diff-card {
  height: 100% !important;
  transition: border-color 0.3s, box-shadow 0.3s !important;
}
.cc-diff-card:hover {
  border-color: rgba(236,188,134,0.4) !important;
  box-shadow: 0 0 24px rgba(236,188,134,0.1) !important;
}
.cc-diff-icon {
  display: block;
  flex-shrink: 0;
  margin-bottom: 0.5rem;
}
.cc-diff-label {
  font-size: 0.8rem !important;
  color: rgba(255,255,255,0.85) !important;
  line-height: 1.45 !important;
  margin: 0 !important;
}

/* ══════════════════════════════════════════════════════════
   TOUR CARDS
   ══════════════════════════════════════════════════════════ */
.cc-tours-stack > .wp-block-group { margin-bottom: 0 !important; }
.cc-tour-card {
  overflow: hidden !important;
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease !important;
  min-height: 180px !important;
}
.cc-tour-card:hover {
  box-shadow: 0 0 0 2px rgba(236,188,134,0.8), 0 0 60px rgba(236,188,134,0.35), 0 0 120px rgba(236,188,134,0.15), 0 8px 32px rgba(0,0,0,0.5) !important;
  border-color: rgba(236,188,134,0.8) !important;
  transform: scale(1.012) !important;
}
.cc-tour-card__cover.wp-block-cover {
  flex-shrink: 0 !important;
  width: 340px !important;
  min-width: 340px !important;
  min-height: 180px !important;
}
.cc-tour-card__cover .wp-block-cover__inner-container { display: none !important; }
.cc-tour-card__content { flex: 1 !important; }
.cc-tour-category {
  font-size: 0.7rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--cc-gold) !important;
  margin: 0 !important;
}
.cc-tour-name {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 300 !important;
  font-size: 1.35rem !important;
  line-height: 1.3 !important;
  color: #fff !important;
  margin: 0 !important;
}
.cc-tour-desc {
  font-size: 0.875rem !important;
  line-height: 1.75 !important;
  max-width: 56ch !important;
  margin: 0 !important;
}
.cc-tour-price {
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: var(--cc-gold) !important;
  margin: 0 !important;
}
.cc-btn-tour-link .wp-block-button__link {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.45) !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}
.cc-btn-tour-link .wp-block-button__link:hover {
  color: var(--cc-gold) !important;
}
@media (max-width: 640px) {
  .cc-tour-card { flex-direction: column !important; }
  .cc-tour-card__cover.wp-block-cover {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 220px !important;
  }
}

/* ══════════════════════════════════════════════════════════
   PORTUGUESE WAY (cream bg — Astra-safe)
   ══════════════════════════════════════════════════════════ */
.cc-route-section,
.cc-route-section.wp-block-group {
  background-color: #E0D8CE !important;
}
.cc-route-section .wp-block-heading {
  color: #161924 !important;
}
.cc-route-body {
  color: rgba(22,25,36,0.75) !important;
  line-height: 1.85 !important;
  font-size: 1rem !important;
  margin-bottom: 1.25rem !important;
}

/* ══════════════════════════════════════════════════════════
   PARTNERS
   ══════════════════════════════════════════════════════════ */
.cc-partners-row .wp-block-column {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.cc-partner-logo figure,
.cc-partner-logo {
  margin: 0 !important;
}
.cc-partner-img {
  height: 56px !important;
  width: auto !important;
  object-fit: contain !important;
  mix-blend-mode: screen !important;
  opacity: 0.55 !important;
  transition: opacity 0.3s !important;
  display: block !important;
  margin: 0 auto !important;
}
.cc-partner-logo a:hover .cc-partner-img { opacity: 0.9 !important; }

/* ══════════════════════════════════════════════════════════
   BOOKING SECTION
   ══════════════════════════════════════════════════════════ */
.cc-booking-card {
  height: 100% !important;
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease !important;
}
.cc-booking-card:hover {
  box-shadow: 0 0 40px rgba(236,188,134,0.5), 0 0 16px rgba(236,188,134,0.3) !important;
  border-color: rgba(255,255,255,0.7) !important;
  transform: translateY(-8px) !important;
}
.cc-booking-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.cc-booking-card-label {
  font-size: 1rem !important;
  font-weight: 300 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}
.cc-booking-card-desc {
  font-size: 0.875rem !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* ══════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════════ */
.cc-testimonials-grid.wp-block-columns { align-items: stretch !important; }
.cc-testimonial-card {
  height: 100% !important;
  transition: border-color 0.3s, box-shadow 0.3s !important;
}
.cc-testimonial-card:hover {
  border-color: rgba(236,188,134,0.3) !important;
  box-shadow: 0 0 20px rgba(236,188,134,0.08) !important;
}
.cc-testimonial-stars {
  font-size: 0.75rem !important;
  color: var(--cc-gold) !important;
  letter-spacing: 0.1em !important;
  margin: 0 0 0.5rem !important;
}
.cc-testimonial-quote {
  font-size: 0.9rem !important;
  line-height: 1.7 !important;
  font-style: italic !important;
  margin: 0 0 0.75rem !important;
  flex: 1 !important;
}
.cc-testimonial-name {
  font-size: 0.85rem !important;
  margin: 0 !important;
}
.cc-testimonial-location {
  font-size: 0.72rem !important;
  color: rgba(236,188,134,0.6) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  margin: 0 !important;
}

/* ══════════════════════════════════════════════════════════
   FAQ — wp:details accordion
   ══════════════════════════════════════════════════════════ */
.cc-faq-list .cc-faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
.cc-faq-item.wp-block-details {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  padding: 0 !important;
  margin: 0 !important;
}
.cc-faq-item.wp-block-details summary {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #fff !important;
  padding: 1.25rem 0 !important;
  cursor: pointer !important;
  list-style: none !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  transition: color 0.2s !important;
}
.cc-faq-item.wp-block-details summary::-webkit-details-marker { display: none !important; }
.cc-faq-item.wp-block-details summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--cc-gold);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.3s ease;
}
.cc-faq-item.wp-block-details[open] summary::after {
  transform: rotate(45deg);
}
.cc-faq-item.wp-block-details summary:hover { color: var(--cc-gold) !important; }
.cc-faq-item.wp-block-details > *:not(summary) {
  padding: 0 0 1.25rem !important;
  animation: cc-faq-open 0.25s ease;
}
@keyframes cc-faq-open {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════════════════════ */
.cc-cta-section .wp-block-cover__inner-container {
  max-width: 700px;
  text-align: center;
  padding: 5rem 1.5rem;
}
.cc-cta-preheading {
  font-family: 'Crossing', cursive !important;
  font-size: 2.6rem !important;
  line-height: 1.1 !important;
  color: var(--cc-gold) !important;
  margin-bottom: 0 !important;
}
.cc-cta-body {
  font-size: 1rem !important;
  line-height: 1.7 !important;
  max-width: 500px !important;
  margin: 0 auto !important;
}

/* ══════════════════════════════════════════════════════════
   SECTION HEADERS (shared)
   ══════════════════════════════════════════════════════════ */
.cc-eyebrow-gold,
.cc-eyebrow-gold-ruled {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.65rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  color: var(--cc-gold) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.75rem !important;
  margin: 0 0 0.75rem !important;
}
.cc-eyebrow-gold.cc-eyebrow-ruled::before,
.cc-eyebrow-gold.cc-eyebrow-ruled::after {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--cc-gold);
  flex-shrink: 0;
}
.cc-eyebrow-brown {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.65rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  color: var(--cc-brown) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.75rem !important;
  margin: 0 0 0.75rem !important;
}
.cc-eyebrow-brown.cc-eyebrow-ruled::before,
.cc-eyebrow-brown.cc-eyebrow-ruled::after {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--cc-brown);
  flex-shrink: 0;
}
.cc-gold-rule.wp-block-separator {
  width: 4rem !important;
  height: 2px !important;
  border: none !important;
  margin: 0.75rem auto 0 !important;
  opacity: 1 !important;
}
.cc-brown-rule.wp-block-separator,
.cc-brown-rule-thin.wp-block-separator {
  width: 4rem !important;
  height: 1px !important;
  border: none !important;
  margin: 0.75rem auto 0 !important;
  opacity: 1 !important;
}

/* ══════════════════════════════════════════════════════════
   BUTTONS — global (all custom button classes)
   ══════════════════════════════════════════════════════════ */
/* Ghost (gold border) */
.cc-btn-ghost .wp-block-button__link,
.wp-block-button.cc-btn-ghost a.wp-block-button__link {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  padding: 0.9rem 2.5rem !important;
  border-radius: 9999px !important;
  background: transparent !important;
  color: var(--cc-gold) !important;
  border: 1px solid var(--cc-gold) !important;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s !important;
}
.cc-btn-ghost .wp-block-button__link:hover,
.wp-block-button.cc-btn-ghost a.wp-block-button__link:hover {
  background: var(--cc-gold) !important;
  color: var(--cc-navy) !important;
  box-shadow: 0 0 18px rgba(236,188,134,0.22), 0 2px 10px rgba(0,0,0,0.25) !important;
  transform: translateY(-1px) !important;
}

/* Ghost dim (white/muted border) */
.cc-btn-ghost-dim .wp-block-button__link,
.wp-block-button.cc-btn-ghost-dim a.wp-block-button__link {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  padding: 0.9rem 2rem !important;
  border-radius: 9999px !important;
  background: transparent !important;
  color: rgba(255,255,255,0.65) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s !important;
}
.cc-btn-ghost-dim .wp-block-button__link:hover {
  background: rgba(236,188,134,0.1) !important;
  border-color: rgba(255,255,255,0.6) !important;
  color: #fff !important;
  box-shadow: 0 0 14px rgba(236,188,134,0.13), 0 2px 10px rgba(0,0,0,0.25) !important;
  transform: translateY(-1px) !important;
}

/* Text link (no border) */
.cc-btn-link .wp-block-button__link,
.wp-block-button.cc-btn-link a.wp-block-button__link {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--cc-gold) !important;
  border: none !important;
  text-decoration: none !important;
  transition: gap 0.2s, opacity 0.2s !important;
}
.cc-btn-link .wp-block-button__link:hover { opacity: 0.8 !important; }

/* ══════════════════════════════════════════════════════════
   INNER PAGES — hero
   ══════════════════════════════════════════════════════════ */
.cc-inner-hero.wp-block-cover {
  min-height: 45vh !important;
}
.cc-inner-hero .wp-block-cover__inner-container {
  text-align: center;
  padding: 0 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.cc-inner-hero-sub {
  font-size: 1rem !important;
  line-height: 1.65 !important;
}

/* ══════════════════════════════════════════════════════════
   HUBSPOT FORM PLACEHOLDER
   Shown until the live HubSpot embed code is pasted in.
   Once pasted, HubSpot's own styles take over — remove or
   keep this placeholder styling as you prefer.
   ══════════════════════════════════════════════════════════ */
.cc-hubspot-form-wrap {
  width: 100%;
}
.cc-hubspot-placeholder {
  border: 2px dashed rgba(236,188,134,0.35);
  border-radius: 0.75rem;
  padding: 3.5rem 2rem;
  text-align: center;
  background: rgba(236,188,134,0.03);
}
.cc-hubspot-placeholder__icon {
  font-size: 1.75rem;
  margin: 0 0 0.75rem;
  opacity: 0.4;
}
.cc-hubspot-placeholder__label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cc-gold);
  margin: 0 0 0.75rem;
}
.cc-hubspot-placeholder__hint {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin: 0;
}

/* HubSpot form theming — applied once the real embed is active */
.cc-hubspot-form-wrap .hs-form fieldset,
.cc-hubspot-form-wrap .hs-form .hs-form-field { max-width: 100% !important; }
.cc-hubspot-form-wrap .hs-form input[type="text"],
.cc-hubspot-form-wrap .hs-form input[type="email"],
.cc-hubspot-form-wrap .hs-form input[type="tel"],
.cc-hubspot-form-wrap .hs-form textarea,
.cc-hubspot-form-wrap .hs-form select {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.875rem !important;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 0.5rem !important;
  padding: 0.75rem 1rem !important;
  color: #fff !important;
  width: 100% !important;
  transition: border-color 0.2s !important;
}
.cc-hubspot-form-wrap .hs-form input:focus,
.cc-hubspot-form-wrap .hs-form textarea:focus {
  outline: none !important;
  border-color: rgba(236,188,134,0.5) !important;
}
.cc-hubspot-form-wrap .hs-form label {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.55) !important;
}
.cc-hubspot-form-wrap .hs-form .hs-button,
.cc-hubspot-form-wrap .hs-form input[type="submit"] {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  padding: 0.9rem 2.5rem !important;
  border-radius: 9999px !important;
  background: transparent !important;
  color: var(--cc-gold) !important;
  border: 1px solid var(--cc-gold) !important;
  cursor: pointer !important;
  transition: background 0.3s, color 0.3s !important;
}
.cc-hubspot-form-wrap .hs-form .hs-button:hover,
.cc-hubspot-form-wrap .hs-form input[type="submit"]:hover {
  background: var(--cc-gold) !important;
  color: var(--cc-navy) !important;
}
.cc-hubspot-form-wrap .hs-error-msgs { color: #eb5757 !important; font-size: 0.8rem !important; }

/* ══════════════════════════════════════════════════════════
   BLOG — query loop card
   ══════════════════════════════════════════════════════════ */
.cc-blog-card {
  overflow: hidden !important;
  transition: border-color 0.3s, transform 0.3s !important;
}
.cc-blog-card:hover {
  border-color: rgba(236,188,134,0.3) !important;
  transform: translateY(-4px) !important;
}
.cc-blog-card .wp-block-post-title a {
  color: #fff !important;
  text-decoration: none !important;
}
.cc-blog-card .wp-block-post-title a:hover { color: var(--cc-gold) !important; }
.cc-blog-card .wp-block-query-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

/* ══════════════════════════════════════════════════════════
   TOUR DETAIL — sidebar
   ══════════════════════════════════════════════════════════ */
.cc-tour-detail-sidebar {
  position: sticky;
  top: 100px;
}

/* ══════════════════════════════════════════════════════════
   LEGACY / SHARED UTILITIES (backwards compatible)
   ══════════════════════════════════════════════════════════ */
.cc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.75rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.cc-btn--ghost {
  background: transparent;
  color: var(--cc-gold);
  border: 1px solid var(--cc-gold);
}
.cc-btn--ghost:hover {
  background: var(--cc-gold);
  color: var(--cc-navy);
}
.cc-btn--primary {
  background: var(--cc-gold);
  color: var(--cc-navy);
  border: 1px solid var(--cc-gold);
}
.cc-btn--primary:hover { background: #fff; color: var(--cc-navy); }


/* ══════════════════════════════════════════════════════════
   GLOBAL HEADER — NAVIGATION
   All cc-site-header and cc-nav__* classes are STABLE for v3.x.x
   ══════════════════════════════════════════════════════════ */
.cc-site-header {
  position: sticky !important;
  top: 0;
  z-index: 999;
  background-color: #161924 !important;
  width: 100%;
}
.cc-nav {
  max-width: 1440px;
  margin: 0 auto;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 1.5rem !important;
  padding: 1.25rem clamp(1.5rem,4vw,3rem) !important;
}
.cc-nav__logo { flex-shrink: 0; }
.cc-nav__logo img,
.cc-nav__logo a img { width: 140px !important; height: auto !important; display: block !important; }
.cc-nav__links {
  flex: 1 1 auto;
  min-width: 0;
}
/* Style the navigation links generated by wp:navigation */
.cc-nav__links .wp-block-navigation__container { gap: 0 !important; }
.cc-nav__links .wp-block-navigation-item__content {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.82) !important;
  padding: 0.5rem 0.85rem !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}
.cc-nav__links .wp-block-navigation-item__content:hover { color: #ECBC86 !important; }
.cc-nav__links .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content { color: #ECBC86 !important; }
/* Hamburger overlay menu colours */
.cc-nav__links .wp-block-navigation__responsive-container.is-menu-open {
  background-color: #161924 !important;
}
.cc-nav__links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  font-size: 1rem !important;
  padding: 0.75rem 1.5rem !important;
  color: rgba(255,255,255,0.85) !important;
}
/* Hamburger button colours */
.cc-nav__links .wp-block-navigation__responsive-container-open,
.cc-nav__links .wp-block-navigation__responsive-container-close {
  color: #ECBC86 !important;
}
.cc-nav__cta { flex-shrink: 0; }
/* Stack header on very small screens */
@media (max-width: 480px) {
  .cc-nav { flex-wrap: wrap !important; padding: 1rem !important; }
  .cc-nav__cta { display: none !important; }
}

/* ══════════════════════════════════════════════════════════
   GLOBAL FOOTER
   All cc-footer__* classes are STABLE for v3.x.x
   ══════════════════════════════════════════════════════════ */
.cc-footer {
  background-color: #161924 !important;
  margin-top: 0 !important;
  position: relative !important;
  /* Top padding here so the ::before line sits flush at the element edge
     and the columns begin exactly padding-top below it — no double-gap. */
  padding-top: 4rem !important;
}
/* Gold divider — single ::before only. border-top removed (caused double line).
   opacity: 0.4 keeps it subtle, matching the mock-up. */
footer.cc-footer::before,
.wp-site-blocks footer.cc-footer::before,
.wp-block-group.cc-footer::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 1px !important;
  background: var(--cc-gold) !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}
/* Inner rule-top div: hidden — ::before above is the canonical divider */
.cc-footer__rule-top {
  display: none !important;
}
.cc-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  /* Top padding removed — lives on .cc-footer so it falls below the ::before line */
  padding: 0 clamp(1.5rem,4vw,3rem) 3.5rem !important;
}
.cc-footer__columns {
  align-items: flex-start !important;
  column-gap: 3rem !important;
}
/* Logo */
.cc-footer__logo img,
.cc-footer__logo a img { width: 160px !important; height: auto !important; display: block !important; }
/* Tagline */
.cc-footer__tagline {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.875rem !important;
  color: rgba(255,255,255,0.55) !important;
  line-height: 1.7 !important;
  max-width: 30ch;
  margin: 0 !important;
}
/* Social icon buttons (wp:buttons / wp:button, no style/layout in JSON) */
.cc-footer__social-row.wp-block-buttons {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 0.5rem !important;
  align-items: center !important;
  margin-bottom: 0 !important;
}
.cc-footer__social-btn { margin: 0 !important; }
.cc-footer__social-btn .wp-block-button__link {
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255,255,255,0.28) !important;
  background: transparent !important;
  color: transparent !important;
  font-size: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: border-color 0.2s, background-color 0.2s !important;
  position: relative !important;
}
.cc-footer__social-btn .wp-block-button__link:hover {
  border-color: #ECBC86 !important;
  background-color: rgba(236,188,134,0.08) !important;
}
/* Brand icon via ::before — SVG data URL, gold stroke */
.cc-footer__social-btn .wp-block-button__link::before {
  content: '' !important;
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
}
.cc-footer__social-btn--facebook .wp-block-button__link::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 18'%3E%3Cpath fill='rgba(255,255,255,0.65)' d='M6.5 6V3.5A1.5 1.5 0 018 2h1.5V0h-2A3.5 3.5 0 004 3.5V6H1.5v2.5H4V18h2.5V8.5H9L9.5 6H6.5z'/%3E%3C/svg%3E") !important;
}
.cc-footer__social-btn--instagram .wp-block-button__link::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='rgba(255,255,255,0.65)' stroke-width='1.3'%3E%3Crect x='.75' y='.75' width='14.5' height='14.5' rx='3.5'/%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3Ccircle cx='12' cy='3.8' r='.8' fill='rgba(255,255,255,0.65)' stroke='none'/%3E%3C/svg%3E") !important;
}
.cc-footer__social-btn--linkedin .wp-block-button__link::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='rgba(255,255,255,0.65)'%3E%3Crect x='0' y='4.5' width='2.8' height='9.5'/%3E%3Ccircle cx='1.4' cy='1.4' r='1.4'/%3E%3Cpath d='M5 4.5h2.7v1.6C8.3 5 9.4 4.5 10.6 4.5 12.7 4.5 14 5.8 14 8.2V14h-2.7V8.8c0-1.4-.5-2.1-1.7-2.1-1.3 0-1.9.9-1.9 2.1V14H5V4.5z'/%3E%3C/svg%3E") !important;
}
.cc-footer__social-btn--facebook .wp-block-button__link:hover::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 18'%3E%3Cpath fill='%23ECBC86' d='M6.5 6V3.5A1.5 1.5 0 018 2h1.5V0h-2A3.5 3.5 0 004 3.5V6H1.5v2.5H4V18h2.5V8.5H9L9.5 6H6.5z'/%3E%3C/svg%3E") !important;
}
.cc-footer__social-btn--instagram .wp-block-button__link:hover::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ECBC86' stroke-width='1.3'%3E%3Crect x='.75' y='.75' width='14.5' height='14.5' rx='3.5'/%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3Ccircle cx='12' cy='3.8' r='.8' fill='%23ECBC86' stroke='none'/%3E%3C/svg%3E") !important;
}
.cc-footer__social-btn--linkedin .wp-block-button__link:hover::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='%23ECBC86'%3E%3Crect x='0' y='4.5' width='2.8' height='9.5'/%3E%3Ccircle cx='1.4' cy='1.4' r='1.4'/%3E%3Cpath d='M5 4.5h2.7v1.6C8.3 5 9.4 4.5 10.6 4.5 12.7 4.5 14 5.8 14 8.2V14h-2.7V8.8c0-1.4-.5-2.1-1.7-2.1-1.3 0-1.9.9-1.9 2.1V14H5V4.5z'/%3E%3C/svg%3E") !important;
}
/* Column heading */
.cc-footer__col-heading {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: #ECBC86 !important;
  margin: 0 !important;
}
/* Nav list — strip bullets */
.cc-footer__nav-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.cc-footer__nav-list li { list-style: none !important; padding-left: 0 !important; }
.cc-footer__nav-list li::marker { content: '' !important; display: none !important; }
.cc-footer__nav-list li a {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.875rem !important;
  color: rgba(255,255,255,0.6) !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}
.cc-footer__nav-list li a:hover { color: #ECBC86 !important; }
/* Contact column */
.cc-footer__contact-item {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.875rem !important;
  color: rgba(255,255,255,0.65) !important;
  line-height: 1.55 !important;
  margin: 0 0 0.85rem !important;
}
/* Email + location rows: flex so icon sits beside text */
.cc-footer__contact-item--email,
.cc-footer__contact-item--location {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.55rem !important;
}
/* Gold SVG icon via ::before — no HTML change needed */
.cc-footer__contact-item--email::before,
.cc-footer__contact-item--location::before {
  content: '' !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  margin-top: 0.18em !important;
  width: 15px !important;
  height: 15px !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
}
/* Envelope icon */
.cc-footer__contact-item--email::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 16' fill='none' stroke='%23ECBC86' stroke-width='1.5'%3E%3Crect x='1' y='1' width='18' height='14' rx='2'/%3E%3Cpath d='M1 4.5l9 5.5 9-5.5'/%3E%3C/svg%3E") !important;
}
/* Map pin icon */
.cc-footer__contact-item--location::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 18' fill='none' stroke='%23ECBC86' stroke-width='1.5'%3E%3Cpath d='M7 1C4.24 1 2 3.24 2 6c0 4.5 5 11 5 11s5-6.5 5-11c0-2.76-2.24-5-5-5z'/%3E%3Ccircle cx='7' cy='6' r='2'/%3E%3C/svg%3E") !important;
}
.cc-footer__contact-icon {
  font-size: 0.85rem !important;
  opacity: 0.55 !important;
  flex-shrink: 0 !important;
  margin-top: 0.2em !important;
}
.cc-footer__contact-link {
  color: rgba(255,255,255,0.65) !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}
.cc-footer__contact-link:hover { color: #ECBC86 !important; }
.cc-footer__contact-text { color: rgba(255,255,255,0.65) !important; }
/* Xacobeo logo */
.cc-footer__xacobeo-logo img { width: 120px !important; height: auto !important; }
/* Footer CTA button — ghost style via CSS (no block style attr) */
.cc-footer__cta .wp-block-button__link {
  border: 1px solid #ECBC86 !important;
  background-color: transparent !important;
  color: #ECBC86 !important;
  padding: 0.75rem 1.75rem !important;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  transition: background 0.3s, color 0.3s !important;
}
.cc-footer__cta .wp-block-button__link:hover {
  background-color: #ECBC86 !important;
  color: #161924 !important;
}
/* Bottom bar — flex layout via CSS (no block layout attr) */
.cc-footer__bottom {
  background-color: rgba(0,0,0,0.18) !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 1.25rem clamp(1.5rem,4vw,3rem) !important;
  gap: 0.5rem !important;
}
.cc-footer__legal {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.72rem !important;
  color: rgba(255,255,255,0.35) !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}
.cc-footer__legal-link {
  color: rgba(255,255,255,0.35) !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}
.cc-footer__legal-link:hover { color: rgba(255,255,255,0.65) !important; }
.cc-footer__legal-sep { color: rgba(255,255,255,0.2) !important; }
/* Divider */
.cc-footer__divider {
  width: 100% !important;
  height: 1px !important;
  background: rgba(255,255,255,0.08) !important;
}
/* Responsive footer */
@media (max-width: 768px) {
  .cc-footer__columns { flex-direction: column !important; }
  .cc-footer__col { flex-basis: 100% !important; width: 100% !important; }
  .cc-footer__bottom { text-align: center !important; }
  .cc-footer__bottom.wp-block-group { flex-direction: column !important; align-items: center !important; gap: 0.75rem !important; }
}

/* ── Gutenberg editor tweaks ─────────────────────────────── */
.wp-block-details summary { padding-right: 1.5rem; }

/* ── Responsive: collapse tours to 1-col on mobile ─────── */
@media (max-width: 600px) {
  .cc-diff-row { flex-wrap: wrap !important; }
  .cc-diff-row .wp-block-column { flex-basis: calc(50% - 0.5rem) !important; }
  .cc-trust-divider-col { display: none !important; }
  .cc-trust-columns { flex-wrap: wrap !important; gap: 1rem !important; }
	.wp-block-columns.is-not-stacked-on-mobile.cc-trust-columns { flex-wrap: wrap !important; }
  .wp-block-column.cc-trust-item { flex-basis: calc(50% - 0.5rem) !important; }
  .cc-partners-row { flex-wrap: wrap !important; }
  .cc-partners-row .wp-block-column { flex-basis: calc(33.33% - 1rem) !important; }
  .cc-booking-cards { flex-wrap: wrap !important; }
  .cc-booking-cards .wp-block-column { flex-basis: calc(50% - 0.5rem) !important; }
  .cc-testimonials-grid { flex-wrap: wrap !important; }
  .cc-testimonials-grid .wp-block-column { flex-basis: 100% !important; }
}

/* ══════════════════════════════════════════════════════════
   v3.2.0 VALIDATION FIX — all style/layout attrs removed
   from block JSON. Every section background, padding, card
   border, flex direction, and text colour now lives here.
   ══════════════════════════════════════════════════════════ */

/* ── Section backgrounds ──────────────────────────────── */
.cc-trust-strip.wp-block-group         { background-color: #161924 !important; }
.cc-xacobeo-wrap.wp-block-group        { background-color: rgba(22,25,36,0.95) !important; }
.cc-difference-section.wp-block-group  { background-color: #161924 !important; }
.cc-tours-section.wp-block-group       { background-color: rgba(22,25,36,0.95) !important; }
.cc-booking-section.wp-block-group     { background-color: #161924 !important; }
.cc-testimonials-section.wp-block-group{ background-color: #0e1219 !important; }
.cc-faq-section.wp-block-group         { background-color: #161924 !important; }
.cc-partners-section.wp-block-group    { background-color: #161924 !important; }
.cc-contact-section.wp-block-group     { background-color: #161924 !important; }
.cc-tour-detail-body.wp-block-group    { background-color: #161924 !important; }
.cc-site-header.wp-block-group         { background-color: #161924 !important; margin-top: 0 !important; margin-bottom: 0 !important; }

/* ── Section paddings ─────────────────────────────────── */
.cc-trust-strip         { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
.cc-xacobeo-wrap        { padding: 1.5rem !important; }
.cc-difference-section  { padding: 5rem 1.5rem !important; }
.cc-tours-section       { padding: 5rem 1.5rem !important; }
.cc-booking-section     { padding: 5rem 1.5rem !important; }
.cc-testimonials-section{ padding: 5rem 1.5rem !important; }
.cc-faq-section         { padding: 5rem 1.5rem !important; }
.cc-partners-section    { padding: 2.5rem 1.5rem !important; }
.cc-route-section       { padding: 5rem 1.5rem !important; }
.cc-inclusions-section  { padding: 5rem 1.5rem 4rem !important; }
.cc-section-header      { padding-bottom: 3rem !important; }
.cc-contact-section     { padding: 5rem 1.5rem !important; }
.cc-tour-detail-body    { padding: 5rem 1.5rem !important; }

/* ── Inner page hero padding (replaces cover style attr) ── */
.cc-inner-hero.wp-block-cover { padding-top: 120px !important; padding-bottom: 80px !important; }
.cc-inner-hero .wp-block-cover__inner-container { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }

/* ── Section heading colours ─────────────────────────── */
.cc-difference-section  .wp-block-heading,
.cc-tours-section       .wp-block-heading,
.cc-booking-section     .wp-block-heading,
.cc-testimonials-section.wp-block-heading,
.cc-faq-section         .wp-block-heading,
.cc-partners-section    .wp-block-heading,
.cc-contact-section     .wp-block-heading,
.cc-tour-detail-body    .wp-block-heading,
.cc-cta-section         .wp-block-heading { color: #ffffff !important; }

/* ── Separator colours (replaces style attr + generated classes) */
.cc-gold-rule.wp-block-separator       { background-color: #ECBC86 !important; color: #ECBC86 !important; }
.cc-brown-rule.wp-block-separator      { background-color: #87612A !important; color: #87612A !important; }
.cc-brown-rule-thin.wp-block-separator { background-color: rgba(135,97,42,0.35) !important; color: rgba(135,97,42,0.35) !important; }

/* ── Tour cards: flex card layout ────────────────────── */
.cc-tour-card.wp-block-group           { display: flex !important; flex-wrap: nowrap !important; align-items: stretch !important; border-radius: 1rem !important; position: relative !important; }
.cc-tour-card--featured.wp-block-group { border: 1px solid rgba(236,188,134,0.25) !important; background-color: rgba(236,188,134,0.04) !important; }
.cc-tour-card.wp-block-group:not(.cc-tour-card--featured) { border: 1px solid rgba(255,255,255,0.12) !important; background-color: rgba(255,255,255,0.03) !important; }
.cc-tour-card__content.wp-block-group  { flex: 1 !important; padding: 2rem !important; display: grid !important; grid-template-columns: 1fr auto !important; gap: 0.75rem !important; align-content: center !important; }
.cc-tours-stack.wp-block-group         { display: flex !important; flex-direction: column !important; gap: 1.25rem !important; }
.cc-tour-desc                          { color: rgba(255,255,255,0.58) !important; }

/* ── Xacobeo card: flex layout ───────────────────────── */
.cc-xacobeo-card.wp-block-group { display: flex !important; flex-wrap: nowrap !important; align-items: stretch !important; border-radius: 1rem !important; background-color: rgba(255,255,255,0.03) !important; border: 1px solid rgba(255,255,255,0.12) !important; position: relative !important; }
.cc-xacobeo-content.wp-block-group { flex: 1 !important; padding: 0.875rem 1.5rem !important; display: flex !important; flex-direction: column !important; justify-content: center !important; gap: 0.4rem !important; }
.cc-xacobeo-heading { color: #ffffff !important; }
.cc-xacobeo-body { color: rgba(255,255,255,0.58) !important; line-height: 1.75 !important; max-width: 52ch !important; }
.cc-xacobeo-logo-col.wp-block-group { width: 220px !important; min-width: 180px !important; flex-shrink: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 0.875rem 0.75rem !important; border-left: none !important; }
.cc-xacobeo-logo-col .wp-block-image { margin: 0 auto !important; }
.cc-xacobeo-logo-col .wp-block-image img { width: 100% !important; max-width: 100% !important; height: auto !important; display: block !important; filter: brightness(1.3) drop-shadow(0 0 18px rgba(236,188,134,0.6)) !important; }

/* ── Booking cards: flex column layout ───────────────── */
.cc-booking-card.wp-block-group { display: flex !important; flex-direction: column !important; border-radius: 1rem !important; border: 1px solid rgba(255,255,255,0.3) !important; padding: 1.75rem !important; gap: 1rem !important; }
.cc-booking-card-label { color: #ffffff !important; }
.cc-booking-card-desc  { color: rgba(255,255,255,0.55) !important; }
.cc-booking-intro      { color: rgba(255,255,255,0.65) !important; }

/* ── Testimonial cards: flex column layout ───────────── */
.cc-testimonial-card.wp-block-group { display: flex !important; flex-direction: column !important; border-radius: 1rem !important; border: 1px solid rgba(255,255,255,0.08) !important; background-color: rgba(255,255,255,0.03) !important; padding: 1.75rem !important; gap: 0.75rem !important; }
.cc-testimonial-quote   { color: rgba(255,255,255,0.78) !important; }
.cc-testimonial-name    { color: #ffffff !important; }
.cc-testimonials-intro  { color: rgba(255,255,255,0.45) !important; }

/* ── Difference cards: flex column layout ────────────── */
.cc-diff-card.wp-block-group { display: flex !important; flex-direction: column !important; border-radius: 0.75rem !important; border: 1px solid rgba(236,188,134,0.14) !important; background-color: rgba(236,188,134,0.03) !important; padding: 1.25rem !important; }

/* ── FAQ: answer text colour ─────────────────────────── */
.cc-faq-item .wp-block-paragraph,
.cc-faq-item > p { color: rgba(255,255,255,0.65) !important; }

/* ── CTA section: inner container + body text ────────── */
.cc-cta-section .wp-block-cover__inner-container { padding: 5rem 1.5rem !important; max-width: 700px !important; margin: 0 auto !important; text-align: center !important; }
.cc-cta-body { color: rgba(255,255,255,0.82) !important; }

/* ── Tour detail sidebar ─────────────────────────────── */
.cc-tour-detail-sidebar.wp-block-group { display: flex !important; flex-direction: column !important; border-radius: 1rem !important; border: 1px solid rgba(236,188,134,0.2) !important; padding: 1.5rem !important; }

/* ── Nav header layout (replaces group layout attr) ──── */
.cc-nav.wp-block-group { display: flex !important; flex-wrap: nowrap !important; justify-content: space-between !important; align-items: center !important; padding: 1.25rem clamp(1.5rem,4vw,3rem) !important; }
.cc-nav__links.wp-block-navigation { font-size: 0.7rem !important; letter-spacing: 0.08em !important; font-weight: 500 !important; color: rgba(255,255,255,0.82) !important; }
.cc-nav__cta.wp-block-buttons { display: flex !important; flex-wrap: nowrap !important; gap: 0 !important; }

/* Nav CTA button — gold ghost pill, no inline style needed */
.cc-btn-nav-cta .wp-block-button__link,
.cc-nav__cta .wp-block-button .wp-block-button__link {
  font-size: 0.65rem !important; font-weight: 600 !important; letter-spacing: 0.15em !important;
  text-transform: uppercase !important; color: #ECBC86 !important;
  background-color: transparent !important; border: 1px solid #ECBC86 !important;
  border-radius: 9999px !important; padding: 0.6rem 1.5rem !important;
  text-decoration: none !important; transition: background-color 0.2s, color 0.2s !important;
}
.cc-btn-nav-cta .wp-block-button__link:hover,
.cc-nav__cta .wp-block-button .wp-block-button__link:hover {
  background-color: #ECBC86 !important; color: #161924 !important;
}

/* ── Centred / start-aligned button rows ─────────────── */
.cc-buttons-center.wp-block-buttons { justify-content: center !important; }
.cc-buttons-start.wp-block-buttons  { justify-content: flex-start !important; }

/* ── Partners section flex ───────────────────────────── */
.cc-partners-section.wp-block-group { display: flex !important; flex-direction: column !important; gap: 1rem !important; }
.cc-partners-row.wp-block-columns   { gap: 2rem !important; }

/* ── Inner hero: heading + sub text colours ──────────── */
.cc-inner-hero .wp-block-cover__inner-container .wp-block-heading { color: #ffffff !important; }
.cc-inner-hero-sub { color: rgba(255,255,255,0.7) !important; }

/* ── About section ───────────────────────────────────── */
.cc-about-section.wp-block-group { background-color: #161924 !important; padding: 5rem 1.5rem !important; max-width: 800px !important; margin-left: auto !important; margin-right: auto !important; }
.cc-about-section .wp-block-heading { color: #ffffff !important; font-weight: 300 !important; font-size: 1.75rem !important; }
.cc-about-section .wp-block-paragraph { color: rgba(255,255,255,0.75) !important; }

/* ── Separator colour classes ────────────────────────── */
.cc-light-rule.wp-block-separator      { background-color: rgba(236,188,134,0.2) !important; color: rgba(236,188,134,0.2) !important; }
.cc-white-rule-faint.wp-block-separator{ background-color: rgba(255,255,255,0.08) !important; color: rgba(255,255,255,0.08) !important; }

/* ── FAQ category headings (gold, overrides white rule) ─ */
.cc-faq-section .cc-faq-category-heading { color: #ECBC86 !important; font-weight: 300 !important; }

/* ── Contact section paragraph text ─────────────────── */
.cc-contact-section .wp-block-paragraph { color: rgba(255,255,255,0.65) !important; }
.cc-contact-section .wp-block-heading   { color: #ffffff !important; font-weight: 300 !important; }

/* ── Blog landing ────────────────────────────────────── */
.cc-blog-section.wp-block-group { background-color: #161924 !important; padding: 5rem 1.5rem !important; }
.cc-blog-card.wp-block-group { border-radius: 1rem !important; border: 1px solid rgba(255,255,255,0.08) !important; overflow: hidden !important; display: flex !important; flex-direction: column !important; height: 100% !important; }
.cc-blog-card__body.wp-block-group { padding: 1.25rem !important; display: flex !important; flex-direction: column !important; gap: 0.5rem !important; flex: 1 !important; }
.cc-blog-no-results { color: rgba(255,255,255,0.55) !important; }

/* ── Tour detail: paragraph + sidebar ────────────────── */
.cc-tour-detail-body .wp-block-paragraph { color: rgba(255,255,255,0.75) !important; }
.cc-sidebar-detail { color: rgba(255,255,255,0.65) !important; font-size: 0.85rem !important; }
.cc-inclusions-list-dark { color: rgba(255,255,255,0.75) !important; }

/* ── Tour detail inline CTA group ────────────────────── */
.cc-cta-section-group.wp-block-group { background-color: #161924 !important; padding: 4rem 1.5rem !important; text-align: center !important; display: flex !important; flex-direction: column !important; align-items: center !important; }
.cc-cta-section-group .wp-block-heading { color: #ffffff !important; font-weight: 300 !important; }

/* ════════════════════════════════════════════════════════════
   v3.3.0 — DESIGN FIDELITY ADDITIONS
   ════════════════════════════════════════════════════════════ */

/* ── TESTIMONIALS: two-column layout ─────────────────── */
.cc-testimonials-columns.wp-block-columns {
  align-items: flex-start !important;
  gap: 3.5rem !important;
}
@media (max-width: 768px) {
  .cc-testimonials-columns.wp-block-columns { flex-direction: column !important; }
}

/* ── Testimonial slider panel ─────────────────────────── */
.cc-tslider-panel.wp-block-group {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 1rem !important;
  padding: 2rem !important;
  display: flex !important;
  flex-direction: column !important;
}

/* ── Slider viewport (relative-positioned for arrows) ─── */
.cc-tslider-viewport.wp-block-group {
  position: relative !important;
  padding: 0 1.5rem !important;
}

/* ── Individual slide ─────────────────────────────────── */
.cc-tslide.wp-block-group {
  display: flex;         /* No !important — JS controls visibility via inline style */
  flex-direction: column !important;
  gap: 0.75rem !important;
  min-height: 200px !important;
}

/* Stars */
.cc-tslide-stars {
  font-size: 0.75rem !important;
  color: var(--cc-gold) !important;
  letter-spacing: 0.1em !important;
  margin: 0 !important;
}

/* Quote text */
.cc-tslide-quote {
  font-size: 0.95rem !important;
  line-height: 1.75 !important;
  font-style: italic !important;
  color: rgba(255,255,255,0.78) !important;
  margin: 0 !important;
  flex: 1 !important;
}

/* Author row */
.cc-tslide-author.wp-block-group {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin-top: 0.5rem !important;
}

/* Circular avatar image */
.cc-tslide-avatar.wp-block-image { margin: 0 !important; flex-shrink: 0 !important; }
.cc-tslide-avatar img {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: top !important;
  border: 2px solid rgba(236,188,134,0.45) !important;
  display: block !important;
}

/* Initials fallback avatar */
.cc-tslide-avatar--initials.wp-block-group {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: rgba(236,188,134,0.1) !important;
  border: 2px solid rgba(236,188,134,0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  color: var(--cc-gold) !important;
}

/* Name + location meta */
.cc-tslide-meta.wp-block-group { gap: 0 !important; }
.cc-tslide-name { font-size: 0.85rem !important; color: #ffffff !important; margin: 0 !important; }
.cc-tslide-location {
  font-size: 0.72rem !important;
  color: rgba(236,188,134,0.6) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  margin: 0 !important;
}

/* JS-injected prev/next arrow buttons */
.cc-tslider-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: rgba(236,188,134,0.1) !important;
  border: 1px solid rgba(236,188,134,0.25) !important;
  color: var(--cc-gold) !important;
  font-size: 1.25rem !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  opacity: 0.7 !important;
  transition: opacity 0.2s !important;
  z-index: 2 !important;
  padding: 0 !important;
}
.cc-tslider-btn:hover { opacity: 1 !important; }
.cc-tslider-prev { left: -4px !important; }
.cc-tslider-next { right: -4px !important; }

/* JS-injected footer: dots + CTA link */
.cc-tslider-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: 1.5rem !important;
  padding-top: 1.25rem !important;
  border-top: 1px solid rgba(255,255,255,0.07) !important;
}
.cc-tslider-dots {
  display: flex !important;
  gap: 6px !important;
  align-items: center !important;
}
.cc-tslider-dot {
  height: 5px !important;
  border-radius: 9999px !important;
  background: rgba(236,188,134,0.22) !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  transition: width 0.3s, background 0.3s !important;
  width: 5px !important;
}
.cc-tslider-dot.cc-active {
  width: 18px !important;
  background: var(--cc-gold) !important;
}
.cc-tslider-cta {
  font-size: 0.68rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--cc-gold) !important;
  text-decoration: none !important;
  transition: letter-spacing 0.3s !important;
  white-space: nowrap !important;
}
.cc-tslider-cta:hover { letter-spacing: 0.18em !important; }

/* ── Community gallery (right column) ────────────────── */
.cc-testimonials-col-gallery.wp-block-column {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}
.cc-community-label {
  font-size: 0.68rem !important;
  letter-spacing: 0.2em !important;
  color: rgba(236,188,134,0.5) !important;
  text-transform: uppercase !important;
  margin: 0 0 1.25rem !important;
}
.cc-community-gallery-wrap.wp-block-group {
  position: relative !important;
}
.cc-community-gallery.wp-block-group {
  display: flex !important;
  gap: 0.75rem !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  scroll-behavior: smooth !important;
  padding-bottom: 2px !important;
}
.cc-community-gallery.wp-block-group::-webkit-scrollbar { display: none !important; }
.cc-gallery-photo.wp-block-image {
  flex: 0 0 calc(50% - 6px) !important;
  scroll-snap-align: start !important;
  margin: 0 !important;
  border-radius: 0.75rem !important;
  overflow: hidden !important;
  aspect-ratio: 4 / 3 !important;
}
.cc-gallery-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
/* JS-injected ">" gallery button */
.cc-gallery-nav-btn {
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  translate: 50% !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: rgba(22,25,36,0.85) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  color: var(--cc-gold) !important;
  font-size: 1.25rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 2 !important;
  padding: 0 !important;
  transition: opacity 0.3s !important;
}

/* ── FAQ card grid ────────────────────────────────────── */
.cc-faq-grid.wp-block-group {
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 1rem !important;
  overflow: hidden !important;
  max-width: 800px !important;
  margin: 0 auto !important;
}
.cc-faq-row.wp-block-columns {
  margin: 0 !important;
  gap: 0 !important;
  align-items: stretch !important;
}
.cc-faq-row.wp-block-columns + .cc-faq-row.wp-block-columns {
  border-top: 1px solid rgba(255,255,255,0.1) !important;
}
.cc-faq-cell.wp-block-column {
  padding: 2.5rem !important;
  background: rgba(255,255,255,0.02) !important;
  min-width: 0 !important;
}
.cc-faq-cell.wp-block-column + .cc-faq-cell.wp-block-column {
  border-left: 1px solid rgba(255,255,255,0.1) !important;
}
.cc-faq-question.wp-block-heading {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  margin: 0 0 0.75rem !important;
  line-height: 1.4 !important;
}
.cc-faq-answer {
  font-size: 0.85rem !important;
  line-height: 1.7 !important;
  color: rgba(255,255,255,0.6) !important;
  margin: 0 !important;
}

/* ── CTA licensed-operator note ──────────────────────── */
.cc-cta-licensed-note.wp-block-group {
  background-color: #161924 !important;
  padding: 2.5rem 1.5rem !important;
  border-top: 1px solid rgba(255,255,255,0.07) !important;
}
.cc-cta-licensed-text {
  font-size: 0.85rem !important;
  line-height: 1.7 !important;
  color: rgba(255,255,255,0.55) !important;
  max-width: 44rem !important;
  margin: 0 auto !important;
}

/* ── Partners scroll carousel ────────────────────────── */
.cc-partners-scroll-wrap.wp-block-group {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
width: 100% !important;
	max-width: min(900px, 100%) !important;
	min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.cc-partners-row.wp-block-columns {
  flex: 1 !important;
  min-width: 0 !important;
  overflow-x: auto !important;
  flex-wrap: nowrap !important;
  scroll-snap-type: x mandatory !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  scroll-behavior: smooth !important;
  margin: 0 !important;
}
.cc-partners-row.wp-block-columns::-webkit-scrollbar { display: none !important; }
.cc-partners-row.wp-block-columns .wp-block-column {
  flex: 0 0 160px !important;
  scroll-snap-align: start !important;
}
/* JS-injected partners carousel nav button */
.cc-partners-nav-btn {
  flex-shrink: 0 !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: rgba(22,25,36,0.92) !important;
  border: 1.5px solid rgba(236,188,134,0.7) !important;
  color: var(--cc-gold) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: border-color 0.2s, background 0.2s !important;
}
.cc-partners-nav-btn:hover {
  background: rgba(236,188,134,0.1) !important;
  border-color: rgba(236,188,134,1) !important;
}
.cc-partners-nav-btn:focus-visible {
  outline: 2px solid rgba(236,188,134,0.8) !important;
  outline-offset: 2px !important;
}
.cc-partners-nav-btn:disabled {
  opacity: 0.28 !important;
  cursor: default !important;
  border-color: rgba(236,188,134,0.25) !important;
  pointer-events: none !important;
}

/* ════════════════════════════════════════════════════════════
   v3.4.0 — WP STAGING → MOCK-UP VISUAL ALIGNMENT
   All discrepancies found in the full visual audit are fixed
   here. No redesign — every rule matches the approved mock-up.
   ════════════════════════════════════════════════════════════ */

/* ── 1. Global section-header: constrain + centre ────────────
   Every section's eyebrow+heading block becomes readable at
   any Astra container width. Matches the ~760px column in
   the approved mock-up.                                      */
.cc-section-header.wp-block-group {
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ── 2. Xacobeo card: constrain to 1024px ───────────────────
   The banner card was stretching to Astra's full content
   width. Match the narrower card shown in the mock-up.       */
.cc-xacobeo-card.wp-block-group {
  max-width: 1024px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ── 3. Difference card rows: constrain to 1100px ──────────
   Both 5-column rows spread across the full Astra viewport.
   Constrain so cards match the mock-up density.             */
.cc-diff-row.wp-block-columns {
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ── 4. Tour card cover: fixed 340 px side panel ────────────
   Without a fixed width the cover image flexes to fill the
   card. The approved mock-up shows a fixed ~340px image.    */
.cc-tour-card__cover.wp-block-cover {
  width: 340px !important;
  min-width: 340px !important;
  max-width: 340px !important;
  flex-shrink: 0 !important;
}

/* ── 5. Tours stack: constrain to 1024px ────────────────────
   The stack of tour cards was spanning Astra's full content
   column. Matches the contained layout in the mock-up.      */
.cc-tours-stack.wp-block-group {
  max-width: 1024px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ── 6. Tour card CTA: right-align ──────────────────────────
   "VIEW X →" links were left-aligned in WP. The mock-up
   shows them pinned to the right of the content column.     */
.cc-tour-card__content .wp-block-buttons {
  justify-content: flex-end !important;
  margin: 0 !important;
}

/* ── 7. Portuguese Way body text: 680px centred column ──────
   Body paragraphs stretched edge-to-edge. Constrain to a
   readable centred column matching the mock-up.             */
.cc-route-body {
  max-width: 680px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
}

/* ── 8. Testimonials columns: constrain to 1100px ───────────
   Two-column testimonial/gallery layout was over-wide.      */
.cc-testimonials-columns.wp-block-columns {
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ── 9. Booking cards row: constrain to 1100px ──────────────
   Four feature cards were spanning the full Astra width.    */
.cc-booking-cards.wp-block-columns {
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ── 10. Inclusions two-column list: constrain ──────────────
   The two-column inclusions list benefits from the same
   max-width treatment.                                      */
.cc-inclusions-columns.wp-block-columns {
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ── 11. Astra header social icons: CSS hide ────────────────
   Social icons between logo and nav are not in the approved
   design. Remove them via Astra > Header Builder (Primary
   Header) for the cleanest result. This rule is a fallback. */
.ast-builder-grid-row .ast-social-icon-list,
.ast-header-social-widget,
.ast-builder-social-element,
.ast-header-html-1 .ast-header-html-inner:has(.ast-social-icon-list) {
  display: none !important;
}

/* ── 12. Mobile: restore full-width tour card layout ────────
   On small screens the 340px fixed image would be too large.
   Collapse to stacked layout below 768px.                   */
@media (max-width: 768px) {
  .cc-tour-card__cover.wp-block-cover {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex-shrink: 1 !important;
  }
  .cc-tour-card.wp-block-group {
    flex-direction: column !important;
  }
  .cc-tour-card__content .wp-block-buttons {
    justify-content: flex-start !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   v3.5.0  GUTENBERG STABILITY + DESIGN REFINEMENTS
   ─ Zero validation errors, zero "Attempt Recovery" prompts.
   ─ Cover block background spans now carry explicit colour.
   ─ Partners nav button is JS-injected; pattern is clean.
   ─ Testimonial initials wrapped in wp:paragraph.
═══════════════════════════════════════════════════════════ */

/* ── 1. Testimonial initials: strip wp:paragraph defaults ────
   Initials avatars now hold a wp:paragraph to satisfy the
   block validator. Zero out all default paragraph styles.     */
.cc-tslide-avatar--initials .cc-tslide-initials-text,
.cc-tslide-avatar--initials p.wp-block-paragraph {
  margin: 0 !important;
  padding: 0 !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
  text-align: center !important;
}

/* ── 2. Tour cards: tighter section + card spacing ───────────
   Reduces the heavy gap above/below the section and between
   consecutive cards.                                          */
.cc-tours-section.wp-block-group {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}
.cc-tours-stack.wp-block-group {
  gap: 1.5rem !important;
}
.cc-tour-card__content.wp-block-group {
  padding: 2rem !important;
}

/* ── 3. Partners: larger logos + centred column layout ───────
   cc-partner-img class removed from <img> tags (caused WP
   validator errors). CSS now targets the figure's inner img. */
.cc-partner-logo img {
  max-height: 60px !important;
  width: auto !important;
  object-fit: contain !important;
  opacity: 0.72;
  transition: opacity 0.25s;
}
.cc-partner-logo img:hover {
  opacity: 1;
}
.cc-partners-row .wp-block-column.is-vertically-aligned-center {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* ══════════════════════════════════════════════════════════
   v3.5.6 — Grid column assignments + full-card hyperlinks
   ══════════════════════════════════════════════════════════ */

/* Tour card content: CSS-grid column assignments
   Category, name, description span both columns.
   Price occupies left (1fr) cell of the bottom row.
   CTA buttons occupy right (auto) cell of the bottom row.
   Tailored card (no price): buttons stay in right column. */
.cc-tour-card__content .cc-tour-category   { grid-column: 1 / -1 !important; }
.cc-tour-card__content .wp-block-heading   { grid-column: 1 / -1 !important; }
.cc-tour-card__content .cc-tour-desc       { grid-column: 1 / -1 !important; }
.cc-tour-card__content .cc-tour-price      { grid-column: 1 !important; align-self: center !important; }
.cc-tour-card__content .wp-block-buttons   { grid-column: 2 !important; align-self: center !important; }

/* Full-card hyperlinks — Xacobeo and Tour Cards
   The ::after pseudo-element stretches from the <a> element
   to the card edges via the card's position:relative containing block.
   z-index:2 places it above wp-block-cover__background (z-index:1). */
.cc-xacobeo-card.wp-block-group,
.cc-tour-card.wp-block-group {
  position: relative !important;
}
.cc-xacobeo-card .cc-btn-link a.wp-block-button__link::after,
.cc-tour-card .cc-btn-tour-link a.wp-block-button__link::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  cursor: pointer !important;
}

/* ══════════════════════════════════════════════════════════
   v3.5.7 — Trust Banner icons · Xacobeo spacing ·
             Tour section spacing · Tour card gradient
   ══════════════════════════════════════════════════════════ */

/* ── 1. Xacobeo content: zero WP Core block-gap margins ─────
   .is-layout-flow > * + * adds margin-block-start:~1.5rem to
   every non-first child. The gap:0.75rem on the flex container
   already handles all spacing; these margins must be zeroed.  */
.cc-xacobeo-content.wp-block-group > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* ── 2. Xacobeo eyebrow: scoped tracking + margin reset ──────
   cc-eyebrow-gold has margin:0 0 0.75rem and letter-spacing:
   0.28em globally. Inside the Xacobeo card the eyebrow is
   a subtitle, not a section eyebrow — needs tracking-wide
   (0.025em) and no extra margin (gap handles spacing).        */
.cc-xacobeo-content .cc-eyebrow-gold {
  margin: 0 !important;
  letter-spacing: 0.025em !important;
}

/* ── 3. Tours section: scoped section-header bottom gap ──────
   Shared cc-section-header pb is 3rem. Mock-up heading wrapper
   has mb-14 (3.5rem). Scoped to tours section only.           */
.cc-tours-section .cc-section-header {
  padding-bottom: 3.5rem !important;
}

/* ── 4. Tour card category tracking — regular cards ─────────
   Maritime featured card keeps 0.1em. Regular tour cards use
   tracking-wide (0.025em) per mock-up.                        */
.cc-tour-card:not(.cc-tour-card--featured) .cc-tour-category {
  letter-spacing: 0.025em !important;
}

/* ── 5. Tour card cover: directional right-side gradient ─────
   Replaces the flat has-background-dim-20 (opacity:0.2) with a
   directional fade. Left zone retains 15% dim for readability;
   right edge fades to section background for a seamless blend.
   opacity:1 resets the dim class's opacity:0.2 rule.          */
.cc-tour-card__cover .wp-block-cover__background {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.15)    0%,
    rgba(0, 0, 0, 0.15)   55%,
    rgba(22, 25, 36, 0.85) 100%
  ) !important;
  opacity: 1 !important;
}

/* ── 6. Tour card gradient — mobile reset ───────────────────
   Below 640px the image stacks above the content; a right-side
   fade is meaningless in a stacked layout. Restore uniform dim. */
@media (max-width: 640px) {
  .cc-tour-card__cover .wp-block-cover__background {
    background: rgba(0, 0, 0, 0.2) !important;
    opacity: 1 !important;
  }
}

/* ══════════════════════════════════════════════════════════
   v3.5.8 — Xacobeo height · image clipping · Trust Banner
             alignment · Hero scroll indicator
   ══════════════════════════════════════════════════════════ */

/* ── 1. Xacobeo content: high-specificity WP Core block-gap
   zero ────────────────────────────────────────────────────
   WordPress Core generates:
     .wp-block-group.is-layout-flow > :not(.alignleft)…+:not…
   at specificity 0-4-0. Mirror that exact :not() chain with
   !important so it wins regardless of Astra's cascade order.
   The flex gap:0.75rem already handles all child spacing.   */
.cc-xacobeo-content.is-layout-flow > :not(.alignleft):not(.alignright):not(.alignfull) + :not(.alignleft):not(.alignright):not(.alignfull) {
  margin-block-start: 0 !important;
}

/* ── 2. Xacobeo content: also zero any UA / WP base margins
   on headings and paragraphs inside the card.               */
.cc-xacobeo-content .wp-block-heading,
.cc-xacobeo-content .wp-block-paragraph {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ══════════════════════════════════════════════════════════
   v3.5.9 — Xacobeo card compression · Hero scroll indicator
             removal · Hero CTA upgrade · Global CTA _blank

   Scroll indicator:
     - Removed completely from Hero HTML (01-hero.php) and CSS.
     - Inner container align-self:stretch / flex rules reverted;
       hero layout collapses naturally around the content block.
     - 60px bottom spacer (was below indicator) also removed.

   Xacobeo card height:
     - padding: 2rem → 0.875rem 1.5rem (saves 36px vertical)
     - gap: 0.75rem → 0.4rem (saves ~1rem across 3 gaps)
     - Logo col: align-items: center → flex-start; top padding
       matched to content col (0.875rem) — logo aligns with eyebrow
     - Target desktop card height: ~210–225px (was ~260px)

   Xacobeo image:
     - max-height:260px removed; image fills card via align-self:stretch
     - Inner container align-self:stretch for badge positioning
     - Mobile: height:240px (replaces max-height:240px — fix: Cover
       block inline min-height:200px meant max-height never fired)

   Hero CTA:
     - font-weight 300→500, border 1px→1.5px @85% opacity,
       letter-spacing 0.18→0.22em, restrained hover, focus-visible

   Global CTA:
     - Hero CTA + Xacobeo CTA: target=_blank + noopener
     - Block JSON linkTarget + rel attributes updated in patterns
   ══════════════════════════════════════════════════════════ */
/* MOBILE HERO SPACING (staging fix B 2026-11-05): revert = delete to end of file */@media (max-width:767px){body .cc-contact-page .cc-contact-hero__heading{line-height:1.35!important;margin-bottom:2rem!important}body .cc-about-page .cc-about-hero__heading{line-height:1.4!important;margin-bottom:2rem!important}body .cc-maritime-edition .cc-me-hero .wp-block-cover__inner-container h1.cc-me-hero__h1{line-height:1.2!important;margin-bottom:1rem!important}body .cc-maritime-edition .cc-me-hero .wp-block-cover__inner-container p.cc-me-hero__script{line-height:1.45!important;margin-top:.5rem!important}body .cc-tour-detail-page .cc-td-hero h1{line-height:1.2;margin-bottom:1rem}body .cc-tour-detail-page .cc-td-route-title{line-height:1.45;margin-top:.5rem}} /* MOBILE TAP TARGETS 44px (staging 2026-11-05): revert = delete from here to end of file */@media (max-width:767px){.cc-btn-tgrid .wp-block-button__link,.cc-xp-s4__card-link-btn .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box}.cc-td-back a,.cc-tp-guide-list a,a[href^="mailto:"]:not(.wp-block-button__link),a[href^="tel:"]:not(.wp-block-button__link){display:inline-flex;align-items:center;gap:.3em;min-height:44px}}