/*
 Theme Name:   Pin Travel
 Description:  Divi child theme. Includes Tour Manager (CPT, Viator API, shortcodes).
 Template:     Divi
 Version:      3.65.1
 Text Domain:  pin-travel
*/


/* ==========================================================================
   CSS VARIABLES — BRAND PALETTE
   (matches existing recipe CSS exactly)
   ========================================================================== */

:root {
  --fb-navy: #1B2A4A;
  --fb-navy-light: #2C4066;
  --fb-rust: #C4572A;
  --fb-rust-dark: #A34420;
  --fb-rust-light: #D4724E;
  --fb-text: #4A4A4A;
  --fb-heading: #1B2A4A;
  --fb-border: #D4C5B2;
  --fb-cream: #FAF6F0;
  --fb-smoke: #3d6b41;
  --fb-smoke-light: #7A9E7E;
  --fb-smoke-bg: #EDF3ED;
  --fb-charcoal: #2D2D2D;
  --fb-font-serif: 'Playfair Display', Georgia, serif;
  --fb-font-body: 'Source Sans 3', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  --fb-radius: 14px;
  --fb-radius-sm: 10px;
  --fb-card-pad: 26px 28px;
}


/* ==========================================================================
   GLOBAL — BODY & TYPOGRAPHY
   ========================================================================== */

body {
  background-color: var(--fb-cream);
  color: var(--fb-text);
  font-family: var(--fb-font-body);
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fb-font-serif);
  color: var(--fb-heading);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--fb-rust);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--fb-rust-dark);
  text-decoration: underline;
}


/* ==========================================================================
   DIVI OVERRIDES — CLEAN UP DEFAULTS
   ========================================================================== */

#main-content .container:before {
  display: none;
}

.et_pb_post {
  border-bottom: none;
}

.entry-content {
  font-family: var(--fb-font-body);
}

.entry-content a {
  color: var(--fb-rust);
  font-weight: 600;
}

.entry-content a:hover {
  color: var(--fb-rust-dark);
}


/* ==========================================================================
   HEADER — NAVY BAR
   ========================================================================== */

#main-header,
#main-header.et-fixed-header {
  background-color: var(--fb-navy) !important;
  box-shadow: 0 2px 12px rgba(27, 42, 74, 0.15);
}

#top-menu li a,
.et_nav_text_color_dark #et-top-navigation nav > ul > li > a {
  color: #fff !important;
  font-family: var(--fb-font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

#top-menu li a:hover {
  color: var(--fb-rust-light) !important;
  opacity: 1;
}

#top-menu li.current-menu-item a,
#top-menu li.current_page_item a {
  color: var(--fb-rust) !important;
}

/* ── Dropdown (sub-menu) child items — 4-column grid ─────────────── */
#top-menu li ul.sub-menu {
  background-color: #fff !important;
  border-top: 3px solid var(--fb-rust) !important;
  box-shadow: 0 8px 24px rgba(27, 42, 74, 0.15);
  /* Override Divi's default with a 4-column grid layout */
  width: 640px !important;
  padding: 10px !important;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
#top-menu li:hover > ul.sub-menu,
#top-menu li.sfHover > ul.sub-menu {
  display: grid !important;
}

#top-menu li ul.sub-menu li {
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
}

#top-menu li ul.sub-menu li a,
.et_nav_text_color_dark #et-top-navigation nav > ul > li > ul.sub-menu li a {
  color: var(--fb-navy) !important;
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  padding: 8px 14px !important;
  width: 100%;
  border-radius: 4px;
  white-space: normal;
  line-height: 1.3;
}

#top-menu li ul.sub-menu li a:hover {
  color: var(--fb-rust) !important;
  background-color: rgba(27, 42, 74, 0.04);
}

#top-menu li ul.sub-menu li.current-menu-item a,
#top-menu li ul.sub-menu li.current_page_item a {
  color: var(--fb-rust) !important;
}

/* Keep dropdown from overflowing viewport on the right edge */
#top-menu li:nth-last-child(-n+3) > ul.sub-menu {
  right: 0;
  left: auto;
}

.mobile_menu_bar:before {
  color: #fff !important;
}

.et_mobile_menu {
  background-color: var(--fb-navy) !important;
}

.et_mobile_menu li a {
  color: #fff !important;
  border-color: var(--fb-navy-light) !important;
}

.et_mobile_menu li a:hover {
  color: var(--fb-rust-light) !important;
}

#logo {
  max-height: 55px;
}


/* ==========================================================================
   SINGLE POST — TITLE & META
   ========================================================================== */

.single-post .entry-title,
.single-post h1.entry-title {
  font-family: var(--fb-font-serif);
  color: var(--fb-navy);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.single-post .post-meta,
.single-post .et_post_meta_wrapper .post-meta {
  color: #999;
  font-size: 0.85rem;
  font-family: var(--fb-font-body);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--fb-border);
}

.single-post .post-meta a {
  color: var(--fb-rust);
}

.single-post .et_featured_image {
  border-radius: var(--fb-radius);
  overflow: hidden;
  margin-bottom: 2rem;
}


/* ==========================================================================
   FB RECIPE CARD SYSTEM
   (Recipe card styles)
   ========================================================================== */

.fb-recipe {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.fb-recipe p {
  margin-bottom: 16px;
  color: var(--fb-text);
  line-height: 1.7;
}

.fb-recipe h2 {
  font-family: var(--fb-font-serif);
  font-size: 28px;
  color: var(--fb-heading);
  margin: 42px 0 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--fb-rust);
  display: inline-block;
}

.fb-recipe strong {
  color: var(--fb-heading);
}

.fb-recipe a {
  color: var(--fb-rust);
  font-weight: 600;
  text-decoration: none;
}

.fb-recipe a:hover {
  text-decoration: underline;
}

/* --- Intro --- */
.fb-intro {
  border-left: 4px solid var(--fb-navy);
  padding: 0 0 0 24px;
  margin-bottom: 36px;
  font-size: 19px;
}

.fb-intro p {
  margin-bottom: 14px;
}

.fb-dropcap {
  font-family: var(--fb-font-serif);
  font-size: 64px;
  float: left;
  line-height: 0.8;
  margin: 4px 12px 0 0;
  color: var(--fb-navy);
  font-weight: bold;
}

/* --- Cards shared base --- */
.fb-ingr-card,
.fb-step-card,
.fb-faq-card {
  background: #fff;
  border: 1px solid var(--fb-border);
}

.fb-ingr-card {
  border-radius: 12px;
  padding: 22px 26px;
  margin-bottom: 16px;
}

.fb-step-card {
  border-radius: var(--fb-radius);
  padding: var(--fb-card-pad);
  margin: 20px 0;
  position: relative;
  overflow: hidden;
}

.fb-faq-card {
  border-radius: var(--fb-radius-sm);
  padding: 18px 22px;
  margin-bottom: 12px;
}

/* --- Cards h3 --- */
.fb-ingr-card h3,
.fb-step-card h3,
.fb-faq-card h3,
.fb-serving h3 {
  font-family: var(--fb-font-serif);
  font-size: 20px;
  color: var(--fb-rust);
  margin: 0 0 12px;
  padding: 0;
}

.fb-ingr-card h3 {
  font-size: 18px;
  margin-bottom: 14px;
}

/* --- Cards small text --- */
.fb-step-card p,
.fb-faq-card p {
  margin: 0;
  font-size: 15px;
  color: var(--fb-text);
  line-height: 2.2;
}

/* --- Ingredients --- */
.fb-ingr-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fb-ingr-card li {
  padding: 5px 0;
  font-size: 15px;
  color: var(--fb-text);
  border-bottom: 1px dotted var(--fb-border);
}

.fb-ingr-card li:last-child {
  border-bottom: none;
}

/* --- Steps --- */
.fb-step-watermark {
  position: absolute;
  top: -10px;
  right: -5px;
  font-family: var(--fb-font-serif);
  font-size: 100px;
  font-weight: bold;
  color: #F0EDE8;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.fb-step-card h3 {
  position: relative;
}

.fb-step-num {
  display: inline-block;
  background: var(--fb-navy);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-size: 13px;
  font-family: sans-serif;
  margin-right: 10px;
  flex-shrink: 0;
}

/* --- Tips Box --- */
.fb-tips-box {
  background: var(--fb-smoke-bg);
  border: 1px solid var(--fb-smoke-light);
  border-radius: var(--fb-radius);
  padding: var(--fb-card-pad);
  margin: 36px 0;
}

.fb-tips-box h2 {
  font-family: var(--fb-font-serif);
  font-size: 20px;
  color: var(--fb-smoke);
  margin: 0 0 16px;
  border-bottom: none;
  display: block;
  padding-bottom: 0;
}

.fb-tips-box p {
  padding: 6px 0 6px 22px;
  color: var(--fb-text);
  font-size: 15px;
  position: relative;
  margin: 0;
}

/* --- Variations Box --- */
.fb-variations-box {
  background: linear-gradient(135deg, #F5EDE4 0%, var(--fb-cream) 100%);
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius);
  padding: var(--fb-card-pad);
  margin: 36px 0;
}

.fb-variations-box h2 {
  font-family: var(--fb-font-serif);
  font-size: 20px;
  color: var(--fb-rust-dark);
  margin: 0 0 16px;
  border-bottom: none;
  display: block;
  padding-bottom: 0;
}

.fb-variations-box h3 {
  font-family: var(--fb-font-serif);
  font-size: 17px;
  color: var(--fb-heading);
  margin: 0 0 10px;
}

.fb-variations-box p {
  margin-bottom: 12px;
  position: relative;
}

/* --- Storage --- */
.fb-storage h3 {
  font-family: var(--fb-font-serif);
  font-size: 24px;
  color: var(--fb-heading);
  margin: 0 0 16px;
  border: none;
  display: block;
  padding: 0;
}

/* --- Links Box --- */
.fb-links-box {
  background: #fff;
  border: 2px solid var(--fb-navy);
  border-radius: var(--fb-radius);
  padding: var(--fb-card-pad);
  margin: 36px 0;
  text-align: center;
}

.fb-links-box h3 {
  font-family: var(--fb-font-serif);
  font-size: 24px;
  color: var(--fb-heading);
  margin: 0 0 16px;
  border-bottom: none;
  display: block;
  padding-bottom: 0;
}

.fb-links-box a {
  text-decoration: underline;
}

/* --- Quick Info Bar --- */
.fb-quick-info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
  justify-content: center;
}

.fb-quick-info-item {
  background: var(--fb-cream);
  border: 1px solid var(--fb-border);
  border-radius: 8px;
  padding: 10px 16px;
  text-align: center;
  flex: 1 1 130px;
  min-width: 100px;
}

.fb-qi-label {
  font-size: 11px;
  text-transform: uppercase;
  color: #999;
  letter-spacing: 0.5px;
}

.fb-qi-value {
  font-family: var(--fb-font-serif);
  font-size: 16px;
  color: var(--fb-heading);
  font-weight: bold;
}


/* ==========================================================================
   HUB PAGE CARDS
   ========================================================================== */

.fb-hub-hcard {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius);
  overflow: hidden;
  margin-bottom: 24px;
  background: #fff;
  transition: box-shadow 0.2s ease;
}

.fb-hub-hcard:hover {
  box-shadow: 0 4px 16px rgba(27, 42, 74, 0.1);
}

.fb-hub-hcard:nth-child(even) {
  flex-direction: row-reverse;
}

.fb-hub-hcard-img {
  flex: 0 0 40%;
  max-width: 40%;
  overflow: hidden;
}

.fb-hub-hcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fb-hub-hcard-body {
  flex: 1;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fb-hub-hcard-body h3 {
  font-family: var(--fb-font-serif);
  font-size: 20px;
  color: var(--fb-heading);
  margin: 0 0 8px;
}

.fb-hub-hcard-body p {
  font-size: 14px;
  color: var(--fb-text);
  margin: 0 0 12px;
  line-height: 1.6;
}

.fb-hub-hcard-body .fb-btn {
  display: inline-block;
  background: var(--fb-rust);
  color: #fff;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: center;
  transition: background 0.2s ease;
}

.fb-hub-hcard-body .fb-btn:hover {
  background: var(--fb-rust-dark);
  text-decoration: none;
}

.fb-hub-hcard-noimg {
  border-left: 4px solid var(--fb-navy);
}

.fb-hub-hcard-noimg .fb-hub-hcard-body {
  padding: 20px 24px;
}

.fb-hub-hcard-noimg h3 {
  color: var(--fb-rust);
}


/* ==========================================================================
   SIDEBAR — BIO WIDGET
   ========================================================================== */

.fb-bio-widget {
  background: #fff;
  border: 1px solid var(--fb-border);
  border-top: 4px solid var(--fb-navy);
  border-radius: var(--fb-radius-sm);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.fb-bio-widget img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--fb-border);
  margin-bottom: 1rem;
}

.fb-bio-widget h4 {
  font-family: var(--fb-font-serif);
  color: var(--fb-navy);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.fb-bio-widget p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #6B6B6B;
}


/* ==========================================================================
   BUTTONS
   ========================================================================== */

.fb-btn,
.et_pb_button {
  background-color: var(--fb-rust) !important;
  color: #fff !important;
  border: 2px solid var(--fb-rust) !important;
  border-radius: 6px !important;
  font-family: var(--fb-font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.7rem 1.8rem !important;
  transition: all 0.25s ease;
}

.fb-btn:hover,
.et_pb_button:hover {
  background-color: var(--fb-rust-dark) !important;
  border-color: var(--fb-rust-dark) !important;
  color: #fff !important;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

#main-footer {
  background-color: var(--fb-navy) !important;
}

#footer-info,
#footer-bottom {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

#footer-bottom a {
  color: var(--fb-rust-light);
}

.footer-widget h4 {
  color: #fff !important;
  font-family: var(--fb-font-serif);
}

.footer-widget,
.footer-widget li,
.footer-widget p {
  color: rgba(255, 255, 255, 0.7) !important;
}

.footer-widget a {
  color: var(--fb-rust-light) !important;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
  .fb-recipe {
    padding: 0 10px;
  }

  .fb-dropcap {
    font-size: 48px;
  }

  .fb-step-watermark {
    font-size: 72px;
  }

  .fb-intro {
    font-size: 17px;
    padding-left: 18px;
  }

  .fb-ingr-card,
  .fb-step-card,
  .fb-tips-box,
  .fb-variations-box {
    padding: 18px 20px;
  }

  .fb-recipe h2 {
    font-size: 22px;
  }

  .fb-hub-hcard,
  .fb-hub-hcard:nth-child(even) {
    flex-direction: column;
  }

  .fb-hub-hcard-img {
    flex: none;
    max-width: 100%;
  }

  .fb-hub-hcard-img img {
    aspect-ratio: 16 / 9;
  }

  .fb-hub-hcard-body {
    padding: 16px 18px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .fb-dropcap {
    font-size: 40px;
  }

  .fb-step-num {
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 11px;
  }

  .fb-hub-hcard-body h3 {
    font-size: 17px;
  }

  .fb-hub-hcard-body p {
    font-size: 14px;
  }
}


/* ==========================================================================
   PRINT
   ========================================================================== */

@media print {
  .fb-links-box,
  .fb-tips-box,
  .fb-variations-box,
  .fb-hub-hcard,
  #main-header,
  #main-footer,
  .et_pb_sidebar {
    display: none !important;
  }

  .fb-recipe {
    max-width: 100%;
  }

  .fb-step-card,
  .fb-ingr-card,
  .fb-faq-card,
  .fb-storage {
    break-inside: avoid;
    border: 1px solid #ccc;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
}


/* ==========================================================================
   PINTEREST-STYLE MASONRY FEED — HOMEPAGE & CATEGORY
   ========================================================================== */

/* --- Filter Bar --- */
.fb-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  flex-wrap: wrap;
  background: var(--fb-cream);
  border-bottom: 1px solid var(--fb-border);
}

.fb-filter-btn {
  background: #fff;
  border: 1px solid var(--fb-border);
  border-radius: 100px;
  padding: 0.45rem 1.2rem;
  font-family: var(--fb-font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fb-text);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.fb-filter-btn:hover {
  background: var(--fb-navy);
  color: #fff;
  border-color: var(--fb-navy);
}

.fb-filter-btn.active {
  background: var(--fb-rust);
  color: #fff;
  border-color: var(--fb-rust);
}

/* --- Masonry Grid --- */
.fb-feed {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem;
  columns: 4;
  column-gap: 1.2rem;
}

/* --- Pin Card --- */
.fb-pin {
  break-inside: avoid;
  margin-bottom: 1.2rem;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.3s ease;
}

.fb-pin:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(27, 42, 74, 0.15);
}

.fb-pin a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Image */
.fb-pin-img {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.fb-pin-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* No-image placeholder — padding trick for masonry compatibility */
.fb-pin-placeholder {
  width: 100%;
  padding-top: 150%; /* 2:3 ratio */
  position: relative;
  background: linear-gradient(135deg, var(--fb-navy) 0%, var(--fb-navy-light) 100%);
}

.fb-pin-placeholder::after {
  content: '🍽';
  font-size: 3rem;
  opacity: 0.3;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.fb-pin:hover .fb-pin-img img {
  transform: scale(1.05);
}

/* Hover Overlay */
.fb-pin-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 42, 74, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.fb-pin:hover .fb-pin-overlay {
  opacity: 1;
}

.fb-pin-category {
  display: inline-block;
  background: var(--fb-rust);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 0.25rem 0.7rem;
  border-radius: 3px;
  margin-bottom: 0.6rem;
  align-self: center;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.35s ease 0.05s;
}

.fb-pin:hover .fb-pin-category {
  transform: translateY(0);
  opacity: 1;
}

.fb-pin-title {
  font-family: var(--fb-font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.4rem;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.35s ease 0.1s;
}

.fb-pin:hover .fb-pin-title {
  transform: translateY(0);
  opacity: 1;
}

/* No-image pins — show title + category without hover */
.fb-pin-placeholder ~ .fb-pin-overlay {
  opacity: 1;
  background: transparent;
  justify-content: flex-end;
  padding-bottom: 2rem;
}

.fb-pin-placeholder ~ .fb-pin-overlay .fb-pin-category {
  opacity: 1;
  transform: translateY(0);
}

.fb-pin-placeholder ~ .fb-pin-overlay .fb-pin-title {
  opacity: 1;
  transform: translateY(0);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.fb-pin-placeholder ~ .fb-pin-overlay .fb-pin-excerpt {
  display: none;
}

.fb-pin:hover .fb-pin-placeholder ~ .fb-pin-overlay {
  background: rgba(27, 42, 74, 0.5);
}

.fb-pin:hover .fb-pin-placeholder ~ .fb-pin-overlay .fb-pin-excerpt {
  display: block;
}


/* Load more */
.fb-load-more {
  text-align: center !important;
  padding: 3rem 0 4rem !important;
  display: block !important;
  width: 100%;
  clear: both;
}

.fb-load-more button,
.fb-load-more #fb-load-more-btn {
  margin: 0 auto !important;
  display: block !important;
}

.fb-load-more button {
  background: var(--fb-navy);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 0.85rem 2.5rem;
  font-family: var(--fb-font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(27, 42, 74, 0.2);
}

.fb-load-more button:hover {
  background: var(--fb-navy-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 42, 74, 0.3);
}

/* Stagger animation */
@keyframes pinFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fb-pin {
  animation: pinFadeIn 0.5s ease forwards;
}

/* Mobile: always show overlay (no hover on touch) */
@media (hover: none) {
  .fb-pin-overlay {
    opacity: 1;
    background: rgba(27, 42, 74, 0.7);
  }
  .fb-pin-category,
  .fb-pin-title,
  
}

/* Feed responsive */
@media (max-width: 1200px) {
  .fb-feed { columns: 3; }
}

@media (max-width: 900px) {
  .fb-feed { columns: 2; column-gap: 1rem; padding: 1rem; }
  .fb-pin-title { font-size: 1rem; }
}

@media (max-width: 600px) {
  .fb-feed { columns: 2; column-gap: 0.7rem; padding: 0.7rem; }
  .fb-pin { border-radius: 12px; margin-bottom: 0.7rem; }
  .fb-pin-overlay { padding: 1rem; }
  .fb-pin-title { font-size: 0.85rem; }
  .fb-pin-category { font-size: 0.55rem; }
  
  .fb-filter-bar { padding: 1rem 0.5rem; gap: 0.4rem; }
  .fb-filter-btn { padding: 0.35rem 0.9rem; font-size: 0.72rem; }
}

/* --- Pin Excerpt (inside overlay) --- */
.fb-pin-excerpt {
  font-family: var(--fb-font-body);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  margin-top: 0.4rem;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.35s ease 0.15s;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fb-pin:hover .fb-pin-excerpt {
  transform: translateY(0);
  opacity: 1;
}

@media (hover: none) {
  .fb-pin-excerpt {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .fb-pin-excerpt {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.85);
    -webkit-line-clamp: 2;
  }
}


/* ==========================================================================
   PAGE STYLES — About, Contact, Legal
   ========================================================================== */

.fb-page-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.fb-page-content {
  font-family: var(--fb-font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--fb-text);
}

.fb-page-content h2 {
  font-family: var(--fb-font-serif);
  color: var(--fb-heading);
  font-size: 1.6rem;
  margin: 2rem 0 0.8rem;
}

.fb-page-content p {
  margin-bottom: 1rem;
}

/* About — author image */
.fb-about-img {
  text-align: center;
  margin: 0 0 2rem;
}

.fb-about-img img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--fb-border);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Contact — form */
.fb-contact-form {
  max-width: 560px;
  margin: 2rem 0;
  padding: 2rem;
  background: var(--fb-cream);
  border: 1px solid var(--fb-border);
  border-radius: 12px;
}

.fb-contact-field {
  margin-bottom: 1.2rem;
}

.fb-contact-field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--fb-heading);
  margin-bottom: 4px;
}

.fb-contact-field input,
.fb-contact-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--fb-border);
  border-radius: 8px;
  font-family: var(--fb-font-body);
  font-size: 15px;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.fb-contact-field input:focus,
.fb-contact-field textarea:focus {
  border-color: var(--fb-rust);
  outline: none;
}

.fb-contact-submit {
  display: inline-block;
  padding: 12px 32px;
  background: var(--fb-rust);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--fb-font-body);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.fb-contact-submit:hover {
  background: var(--fb-rust-dark);
}

.fb-contact-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* Legal pages */
.fb-legal-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  font-family: var(--fb-font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--fb-text);
}

.fb-legal-wrap h2 {
  font-family: var(--fb-font-serif);
  color: var(--fb-heading);
  font-size: 1.5rem;
  margin: 2rem 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--fb-border);
}

.fb-legal-wrap h3 {
  color: var(--fb-navy-light);
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}

.fb-legal-wrap table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 14px;
}

.fb-legal-wrap th {
  background: var(--fb-navy);
  color: #fff;
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
}

.fb-legal-wrap td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--fb-border);
}

.fb-legal-wrap tr:nth-child(even) td {
  background: var(--fb-cream);
}

.fb-legal-wrap ul {
  padding-left: 1.5rem;
  margin: 0.5rem 0 1rem;
}

.fb-legal-wrap li {
  margin-bottom: 0.4rem;
}

.fb-legal-wrap .highlight-box {
  background: var(--fb-smoke-bg);
  border-left: 4px solid var(--fb-smoke);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.2rem;
  margin: 1rem 0;
  font-size: 15px;
}

.fb-legal-wrap .btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--fb-rust);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  margin: 1rem 0;
}

.fb-legal-wrap .btn:hover {
  background: var(--fb-rust-dark);
}

.fb-legal-wrap a {
  color: var(--fb-rust);
  text-decoration: underline;
}

.fb-legal-wrap a:hover {
  color: var(--fb-rust-dark);
}


/* Contact form — success message */
.fb-contact-success {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.fb-contact-success h3 {
  font-family: var(--fb-font-serif);
  color: var(--fb-smoke);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.fb-contact-success p {
  color: var(--fb-text);
  font-size: 16px;
}


/* ==========================================================================
   COMPLIANZ COOKIE BANNER — themed to fb- brand
   All rules use !important to override Complianz defaults
   ========================================================================== */

/* Container */
.cmplz-cookiebanner {
  font-family: var(--fb-font-body) !important;
  background: var(--fb-navy) !important;
  color: #fff !important;
  border-top: 3px solid var(--fb-rust) !important;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15) !important;
}

/* Logo */
.cmplz-cookiebanner .cmplz-logo {
  max-height: 40px !important;
}

/* Title */
.cmplz-cookiebanner .cmplz-title {
  font-family: var(--fb-font-serif) !important;
  color: #fff !important;
  font-size: 1.1rem !important;
}

/* Close icon */
.cmplz-cookiebanner .cmplz-close {
  color: rgba(255,255,255,0.6) !important;
}

.cmplz-cookiebanner .cmplz-close:hover {
  color: #fff !important;
}

/* Message */
.cmplz-cookiebanner .cmplz-message {
  color: rgba(255,255,255,0.85) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

/* All buttons */
.cmplz-buttons .cmplz-btn {
  font-family: var(--fb-font-body) !important;
  border-radius: 6px !important;
  padding: 10px 24px !important;
  font-weight: 700 !important;
  transition: all 0.2s !important;
}

/* Accept button */
.cmplz-btn.cmplz-accept {
  background: var(--fb-rust) !important;
  color: #fff !important;
  border: none !important;
}

.cmplz-btn.cmplz-accept:hover {
  background: var(--fb-rust-dark) !important;
}

/* Deny button */
.cmplz-btn.cmplz-deny {
  background: transparent !important;
  color: rgba(255,255,255,0.8) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
}

.cmplz-btn.cmplz-deny:hover {
  border-color: #fff !important;
  color: #fff !important;
}

/* Save preferences button */
.cmplz-btn.cmplz-save-preferences {
  background: var(--fb-navy-light) !important;
  color: #fff !important;
  border: none !important;
}

.cmplz-btn.cmplz-save-preferences:hover {
  background: var(--fb-rust) !important;
}

/* View preferences button */
.cmplz-btn.cmplz-view-preferences {
  background: transparent !important;
  color: rgba(255,255,255,0.8) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
}

.cmplz-btn.cmplz-view-preferences:hover {
  border-color: #fff !important;
  color: #fff !important;
}

/* Document hyperlinks */
.cmplz-links .cmplz-documents {
  color: var(--fb-rust-light) !important;
  text-decoration: underline !important;
}

.cmplz-links .cmplz-documents:hover {
  color: #fff !important;
}

/* Categories */
.cmplz-cookiebanner .cmplz-category {
  border-color: rgba(255,255,255,0.15) !important;
}

.cmplz-cookiebanner .cmplz-category-title {
  color: #fff !important;
  font-family: var(--fb-font-body) !important;
  font-weight: 600 !important;
}

/* Category toggles */
.cmplz-cookiebanner input:checked + .cmplz-slider {
  background: var(--fb-rust) !important;
}

/* Manage consent tab */
#cmplz-manage-consent .cmplz-manage-consent {
  color: var(--fb-text) !important;
  font-size: 13px !important;
  font-family: var(--fb-font-body) !important;
}

#cmplz-manage-consent .cmplz-manage-consent:hover {
  color: var(--fb-rust) !important;
}

/* Soft cookie wall */
.cmplz-soft-cookiewall {
  background: rgba(0,0,0,0.7) !important;
}

/* Placeholder button - Per category */
.cmplz-blocked-content-container .cmplz-blocked-content-notice {
  font-family: var(--fb-font-body) !important;
  background: var(--fb-cream) !important;
  border: 1px solid var(--fb-border) !important;
  border-radius: 8px !important;
  color: var(--fb-text) !important;
}

/* Per service accept button */
button.cmplz-accept-service {
  background: var(--fb-rust) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  font-family: var(--fb-font-body) !important;
  font-weight: 700 !important;
  padding: 8px 20px !important;
}

button.cmplz-accept-service:hover {
  background: var(--fb-rust-dark) !important;
}

/* AMP notice */
#cmplz-consent-ui,
#cmplz-post-consent-ui {
  font-family: var(--fb-font-body) !important;
  background: var(--fb-navy) !important;
  color: #fff !important;
}

#cmplz-consent-ui .cmplz-consent-message {
  color: rgba(255,255,255,0.85) !important;
  font-size: 14px !important;
}

#cmplz-consent-ui button,
#cmplz-post-consent-ui button {
  background: var(--fb-rust) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
}

#cmplz-consent-ui button:hover,
#cmplz-post-consent-ui button:hover {
  background: var(--fb-rust-dark) !important;
}


/* About — avatar placeholder (initials) */
.fb-avatar-placeholder {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--fb-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fb-font-serif);
  font-size: 72px;
  font-weight: 700;
  margin: 0 auto;
  border: 4px solid var(--fb-border);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}


/* ==========================================================================
   TOUR MANAGER — scoped under .vt-page, !important where Divi/fb overrides
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --stone: #f5f0eb;
  --warm:  #c8a882;
  --terr:  #b5624a;
  --dark:  #1a1614;
  --mid:   #6b5d55;
}

/* ── Wrapper ─────────────────────────────────────────────── */
.vt-page {
  font-family: "DM Sans", sans-serif !important;
  color: #1a1614 !important;
  max-width: 900px;
  margin: 0 auto;
}
.vt-page * { box-sizing: border-box; }

/* ── Intro ───────────────────────────────────────────────── */
.vt-intro { background: #1a1614 !important; color: #fff !important; padding: 52px 40px 44px; margin-bottom: 48px; }
.vt-intro-eyebrow { font-size: 11px !important; letter-spacing: .2em; text-transform: uppercase; color: #c8a882 !important; margin-bottom: 16px; font-weight: 500 !important; font-family: "DM Sans", sans-serif !important; }
.vt-intro h1 { font-family: "Cormorant Garamond", serif !important; font-size: clamp(32px, 5vw, 52px) !important; font-weight: 600 !important; line-height: 1.1 !important; color: #fff !important; margin: 0 0 20px !important; padding: 0 !important; }
.vt-intro-sub { font-size: 15px !important; font-weight: 300 !important; color: rgba(255,255,255,.72) !important; line-height: 1.75 !important; max-width: 620px; margin-bottom: 36px; }
.vt-intro-stats { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(200,168,130,.25); }
.vt-stat strong { display: block !important; font-size: 24px !important; color: #c8a882 !important; font-weight: 600 !important; }
.vt-stat span { font-size: 11px !important; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5) !important; }

/* ── Day header ──────────────────────────────────────────── */
.vt-day-header { margin: 52px 0 24px !important; padding: 0 0 18px !important; border-bottom: 2px solid #b5624a !important; border-top: none !important; }
.vt-day-header:first-of-type { margin-top: 0 !important; }
.vt-day-number { font-size: 11px !important; letter-spacing: .2em; text-transform: uppercase; color: #b5624a !important; font-weight: 600 !important; margin: 0 0 5px !important; font-family: "DM Sans", sans-serif !important; }
.vt-day-title { font-family: "Cormorant Garamond", serif !important; font-size: 28px !important; font-weight: 600 !important; color: #1a1614 !important; margin: 0 0 12px !important; padding: 0 !important; line-height: 1.2 !important; }
.vt-day-schedule { display: flex !important; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.vt-slot { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #6b5d55; }
.vt-slot-time { font-weight: 600; color: #b5624a; font-family: 'DM Sans', sans-serif; }
.vt-slot { display: flex !important; align-items: center; gap: 6px; font-size: 12px !important; color: #6b5d55 !important; font-family: "DM Sans", sans-serif !important; }
.vt-slot::after { content: "→" !important; margin: 0 10px; color: #c8a882 !important; }
.vt-slot:last-child::after { display: none !important; }
.vt-slot-time { font-weight: 600 !important; color: #1a1614 !important; }

/* ── Time of day ─────────────────────────────────────────── */
.vt-time-of-day { font-size: 11px !important; letter-spacing: .14em; text-transform: uppercase; color: #6b5d55 !important; font-weight: 500 !important; padding: 8px 0 12px !important; margin: 0 !important; display: flex !important; align-items: center; gap: 12px; font-family: "DM Sans", sans-serif !important; }
.vt-time-of-day::before, .vt-time-of-day::after { content: "" !important; flex: 1; height: 1px; background: #e8e0d8; }

/* ── Item ────────────────────────────────────────────────── */
.vt-item { margin: 0 0 48px !important; padding: 0 !important; }

/* ── Card grid ───────────────────────────────────────────── */
.vt-card { display: grid !important; grid-template-columns: 1fr 1fr !important; border: 1px solid #e8e0d8 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; margin: 0 !important; padding: 0 !important; }

/* ── Left column ─────────────────────────────────────────── */
.vt-left { display: flex !important; flex-direction: column !important; }
.vt-page .featured-wrap { position: relative !important; display: block !important; width: 100% !important; aspect-ratio: 4/3 !important; overflow: hidden !important; text-decoration: none !important; flex-shrink: 0; border-radius: 0 !important; }
.vt-page .featured-wrap img { width: 100% !important; height: 100% !important; object-fit: cover !important; transition: transform .6s !important; display: block !important; border-radius: 0 !important; }
.vt-page .featured-wrap:hover img { transform: scale(1.03) !important; }
.featured-badge { position: absolute !important; top: 14px !important; left: 14px !important; background: #b5624a !important; color: #fff !important; font-size: 10px !important; font-weight: 500 !important; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px !important; border-radius: 0 !important; font-family: "DM Sans", sans-serif !important; }
.vt-page .gallery { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 4px !important; margin: 4px 0 0 !important; flex-shrink: 0; }
.vt-page .gallery a { display: block !important; aspect-ratio: 1/1 !important; overflow: hidden !important; border-radius: 0 !important; }
.vt-page .gallery a img { width: 100% !important; height: 100% !important; object-fit: cover !important; transition: transform .5s, filter .5s !important; display: block !important; border-radius: 0 !important; }
.vt-page .gallery a:hover img { transform: scale(1.06) !important; filter: brightness(.88) !important; }

/* ── Right column ────────────────────────────────────────── */
.vt-right { display: flex !important; flex-direction: column !important; overflow: hidden !important; border-left: 1px solid #e8e0d8 !important; }
.vt-right-inner { flex: 1 !important; overflow: hidden !important; padding: 24px 24px 0 !important; position: relative !important; }
/* gradient fade removed — description ends with inline Read More instead */
.vt-right-footer { padding: 14px 24px 18px !important; border-top: 1px solid #e8e0d8 !important; display: flex !important; align-items: center !important; gap: 16px !important; flex-shrink: 0 !important; background: #fff !important; position: relative !important; z-index: 1 !important; }

/* ── Content elements ────────────────────────────────────── */
.vt-page .accent-line { width: 36px !important; height: 2px !important; background: #b5624a !important; margin: 0 0 14px !important; }
.vt-page .meta-row { display: flex !important; align-items: center !important; gap: 12px !important; margin: 0 0 10px !important; padding: 0 !important; flex-wrap: wrap; }
.vt-page .stars { color: #c8a882 !important; font-size: 13px !important; letter-spacing: 1px !important; font-family: inherit !important; }
.vt-page .rating-text { font-size: 12px !important; color: #6b5d55 !important; font-family: "DM Sans", sans-serif !important; }

/* Title — override fb-theme h2 styles */
.vt-page .title-link { display: block !important; text-decoration: none !important; color: #1a1614 !important; }
.vt-page .title-link h2 {
  font-family: "Cormorant Garamond", serif !important;
  font-size: clamp(17px, 2.2vw, 22px) !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  color: #1a1614 !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: none !important;
  transition: color .2s;
}
.vt-page .title-link:hover h2 { color: #b5624a !important; }

/* Chips */
.vt-page .highlights { display: flex !important; gap: 6px !important; flex-wrap: wrap !important; margin: 0 0 12px !important; padding: 0 !important; }
.vt-page .chip {
  font-size: 11px !important;
  color: #6b5d55 !important;
  background: #f5f0eb !important;
  padding: 3px 8px !important;
  font-weight: 400 !important;
  border-radius: 0 !important;
  border: none !important;
  font-family: "DM Sans", sans-serif !important;
  display: inline-block !important;
  line-height: 1.5 !important;
}

/* Description */
.vt-page .description { font-size: 13px !important; line-height: 1.7 !important; color: #6b5d55 !important; font-weight: 300 !important; margin: 0 !important; padding: 0 !important; }
.vt-page .description p { margin: 0 !important; padding: 0 !important; color: #6b5d55 !important; font-size: 13px !important; font-weight: 300 !important; line-height: 1.7 !important; }
.vt-page .desc-read-more { font-size: 12px !important; font-weight: 500 !important; color: #b5624a !important; text-decoration: none !important; letter-spacing: .05em; white-space: nowrap; margin-left: 4px; }
.vt-page .desc-read-more:hover { text-decoration: underline !important; }

/* CTA */
.vt-page .read-more { font-size: 12px !important; font-weight: 500 !important; color: #6b5d55 !important; text-decoration: none !important; letter-spacing: .08em; text-transform: uppercase; transition: color .2s; white-space: nowrap; font-family: "DM Sans", sans-serif !important; }
.vt-page .read-more::after { content: " →" !important; }
.vt-page .read-more:hover { color: #b5624a !important; text-decoration: none !important; }
.vt-page .btn-availability {
  display: inline-block !important;
  background: #b5624a !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 10px 20px !important;
  margin-left: auto !important;
  transition: background .2s;
  white-space: nowrap;
  border-radius: 0 !important;
  border: none !important;
  font-family: "DM Sans", sans-serif !important;
}
.vt-page .btn-availability:hover { background: #9e4e3a !important; color: #fff !important; text-decoration: none !important; }

/* Hide Divi post title on single tour */
body.single-tour .et_post_meta_wrapper,
body.single-tour .entry-title { display: none !important; }

/* Responsive */
@media (max-width: 640px) {
  .vt-card { grid-template-columns: 1fr !important; }
  .vt-right { border-left: none !important; border-top: 1px solid #e8e0d8 !important; }
  .vt-right-inner::after { display: none !important; }
  .vt-intro { padding: 36px 20px 30px !important; }
  .vt-page { padding: 0 12px !important; }
}

/* ==========================================================================
   TOURS ARCHIVE — 60/40 split listing + sticky map
   ========================================================================== */

/* Kill Divi sidebar on archive */
body.post-type-archive-tour #sidebar,
body.tax-tour_destination #sidebar,
body.tax-tour_type #sidebar { display: none !important; }

body.post-type-archive-tour #main-content,
body.tax-tour_destination #main-content,
body.tax-tour_type #main-content { width: 100% !important; max-width: 100% !important; }

/* Outer wrapper */
.tm-archive-wrap {
  display: grid;
  grid-template-columns: 60fr 40fr;
  min-height: 100vh;
  align-items: start;
}

/* Listing column */
.tm-archive-listing {
  padding: 36px 32px 60px;
  min-width: 0;
}

.tm-archive-header {
  margin-bottom: 32px;
}

.tm-archive-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 36px !important;
  font-weight: 600 !important;
  color: #1a1614 !important;
  margin: 0 0 20px !important;
}

/* Day tabs */
.tm-day-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tm-day-tab {
  background: #fff;
  border: 1px solid #e8e0d8;
  color: #6b5d55;
  padding: 7px 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s;
  font-family: 'DM Sans', sans-serif;
  border-radius: 0;
}

.tm-day-tab:hover { border-color: #b5624a; color: #b5624a; }

.tm-day-tab.active {
  background: #b5624a;
  border-color: #b5624a;
  color: #fff;
}

/* Cards inside archive */
.tm-archive-cards { max-width: 100%; }
.tm-archive-cards .vt-item { margin-bottom: 32px; }

/* Map column */
.tm-archive-map-col {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #f5f0eb;
}

.tm-map-sticky {
  position: relative;
  width: 100%;
  height: 100vh;
}

/* Day nav overlay on map */
.tm-map-nav {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 6px;
  background: rgba(255,255,255,.92);
  padding: 8px 12px;
  backdrop-filter: blur(4px);
  border: 1px solid #e8e0d8;
  white-space: nowrap;
}

.tm-map-day-btn {
  background: transparent;
  border: 1px solid #e8e0d8;
  color: #6b5d55;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s;
  font-family: 'DM Sans', sans-serif;
  border-radius: 0;
}

.tm-map-day-btn:hover { border-color: #b5624a; color: #b5624a; }

.tm-map-day-btn.active {
  background: #b5624a;
  border-color: #b5624a;
  color: #fff;
}

/* Map canvas */
#tm-google-map {
  width: 100%;
  height: 100%;
}

/* No-key warning */
.tm-map-no-key {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 24px;
  background: #fff;
  border: 1px solid #e8e0d8;
  max-width: 260px;
}

.tm-map-no-key p {
  font-size: 13px !important;
  color: #6b5d55 !important;
  line-height: 1.6 !important;
}

/* Info window popup */
.tm-map-popup { font-family: 'DM Sans', sans-serif; max-width: 200px; }

/* Responsive */
@media (max-width: 960px) {
  .tm-archive-wrap { grid-template-columns: 1fr; }
  .tm-archive-map-col { position: static; height: 50vw; min-height: 300px; }
  .tm-map-sticky { height: 100%; }
  #tm-google-map { height: 100%; }
}

@media (max-width: 640px) {
  .tm-archive-listing { padding: 20px 16px 40px; }
  .tm-archive-map-col { height: 300px; }
}

/* ── Tour Listing layout (Divi page settings) ────────────── */
body.et_tour_listing #sidebar { display: none !important; }
body.et_tour_listing #main-content { width: 100% !important; max-width: 100% !important; }
body.et_tour_listing .et_pb_section,
body.et_tour_listing .et_pb_row,
body.et_tour_listing .et_pb_column { max-width: 100% !important; }
body.et_tour_listing .vt-page { margin: 0 auto; padding: 0 20px; }

/* ==========================================================================
   SINGLE TOUR PAGE — .vt-block
   CSS verbatim from viator-colosseum-block(1).html, scoped under .vt-block
   ========================================================================== */

body.single-tour .et_post_meta_wrapper,
body.single-tour .entry-title { display: none !important; }

.vt-block {
  font-family: 'DM Sans', sans-serif;
  color: #1a1614;
  max-width: 900px;
  margin: 40px auto 60px;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Featured image */
.vt-block .featured-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  display: block;
  text-decoration: none;
}
.vt-block .featured-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.vt-block .featured-wrap:hover img { transform: scale(1.03); }
.vt-block .featured-badge {
  position: absolute; top: 22px; left: 22px;
  background: #b5624a; color: #fff;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 14px;
  font-family: 'DM Sans', sans-serif;
}

/* Gallery */
.vt-block .gallery {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 6px; margin-top: 6px;
}
.vt-block .gallery a { display: block; aspect-ratio: 1/1; overflow: hidden; }
.vt-block .gallery a img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.vt-block .gallery a:hover img { transform: scale(1.06); filter: brightness(0.88); }

/* Content */
.vt-block .content { padding: 36px 0 12px; }
.vt-block .accent-line { width: 48px; height: 2px; background: #b5624a; margin-bottom: 20px; }
.vt-block .meta-row {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 14px; flex-wrap: wrap;
}
.vt-block .stars { color: #c8a882; font-size: 15px; letter-spacing: 1px; }
.vt-block .rating-text { font-size: 13px; color: #6b5d55; }

/* Title */
.vt-block .title-link { display: block; text-decoration: none !important; color: #1a1614; }
.vt-block .title-link h1 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(24px, 3.5vw, 36px) !important;
  font-weight: 600 !important; line-height: 1.2 !important;
  color: #1a1614 !important; margin-bottom: 18px !important;
  padding: 0 !important; border: none !important;
  transition: color 0.2s;
}
.vt-block .title-link:hover h1 { color: #b5624a !important; }

/* Highlights */
.vt-block .highlights { display: flex; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.vt-block .highlight-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 500;
  color: #6b5d55; letter-spacing: 0.05em; text-transform: uppercase;
}

/* Description */
.vt-block .description {
  font-size: 15px; line-height: 1.78;
  color: #6b5d55; font-weight: 300;
  margin-bottom: 28px; max-width: 720px;
}
.vt-block .description p { margin-bottom: 14px !important; color: #6b5d55 !important; font-size: 15px !important; font-weight: 300 !important; }
.vt-block .description p:last-child { margin-bottom: 0 !important; }

/* Itinerary */
.vt-block .itinerary-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 19px !important; font-weight: 600 !important;
  color: #1a1614 !important; margin-bottom: 16px !important;
  margin-top: 28px !important; letter-spacing: 0.01em;
  border: none !important; display: block !important;
}
.vt-block .itinerary-steps {
  list-style: none; border-left: 2px solid #e8e0d8;
  padding-left: 24px; margin-bottom: 30px; max-width: 720px;
}
.vt-block .itinerary-steps li {
  position: relative; padding-bottom: 22px;
  font-size: 14px; line-height: 1.65;
  color: #6b5d55; font-weight: 300;
}
.vt-block .itinerary-steps li:last-child { padding-bottom: 0; }
.vt-block .itinerary-steps li::before {
  content: ''; position: absolute;
  left: -30px; top: 5px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #b5624a; border: 2px solid #fff;
  box-shadow: 0 0 0 2px #c8a882;
}
.vt-block .step-label {
  display: block; font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #b5624a; margin-bottom: 4px;
}
.vt-block .step-title {
  display: block; font-weight: 500;
  color: #1a1614; font-size: 14px; margin-bottom: 4px;
}

/* CTA */
.vt-block .cta-row {
  display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap; padding-top: 20px;
  border-top: 1px solid #e8e0d8;
}
.vt-block .read-more {
  font-size: 13px; font-weight: 500; color: #6b5d55;
  text-decoration: none !important; letter-spacing: 0.08em;
  text-transform: uppercase; display: flex; align-items: center;
  gap: 8px; transition: color 0.2s;
}
.vt-block .read-more::after { content: '→'; transition: transform 0.2s; display: inline-block; }
.vt-block .read-more:hover { color: #b5624a !important; }
.vt-block .read-more:hover::after { transform: translateX(4px); }
.vt-block .btn-availability {
  display: inline-block !important; background: #b5624a !important;
  color: #fff !important; text-decoration: none !important;
  font-size: 13px !important; font-weight: 500 !important;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 32px !important; margin-left: auto !important;
  border: none !important; border-radius: 0 !important;
  transition: background 0.2s, transform 0.2s;
}
.vt-block .btn-availability:hover { background: #9e4e3a !important; transform: translateY(-1px); }

/* Meeting point map */
.vt-block .meeting-point-wrap { margin-top: 8px; }
.vt-block .meeting-point-address {
  font-size: 13px; color: #6b5d55;
  margin-bottom: 12px !important; display: flex;
  align-items: flex-start; gap: 8px;
}
#vt-single-map {
  width: 100%; height: 360px;
  border: 1px solid #e8e0d8;
  margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 640px) {
  .vt-block { padding: 0 12px; margin: 20px auto 40px; }
  .vt-block .gallery { grid-template-columns: repeat(2,1fr); }
  .vt-block .featured-wrap { aspect-ratio: 4/3; }
  #vt-single-map { height: 260px; }
}


/* ============================================================
   HOMEPAGE — hero, section heads, feature row
   Used inside the Divi theme builder home layout (et_body_layout).
   ============================================================ */

.pt-home-hero {
  max-width: 880px;
  margin: 4rem auto 2.5rem;
  padding: 0 1.5rem;
  text-align: center;
}
.pt-home-hero .pt-home-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b5624a;
  margin: 0 0 1rem;
}
.pt-home-hero .pt-home-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #14304d;
  margin: 0 0 1.2rem;
  font-weight: 600;
}
.pt-home-hero .pt-home-lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: #5a6470;
  max-width: 680px;
  margin: 0 auto;
}

.pt-home-section-head {
  max-width: 880px;
  margin: 3.5rem auto 1.75rem;
  padding: 0 1.5rem;
  text-align: center;
}
.pt-home-section-head .pt-home-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b5624a;
  margin: 0 0 0.7rem;
}
.pt-home-section-head h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.15;
  color: #14304d;
  margin: 0 0 0.6rem;
  font-weight: 600;
}
.pt-home-section-head .pt-home-section-sub {
  font-size: 1rem;
  line-height: 1.5;
  color: #6a727c;
  max-width: 580px;
  margin: 0 auto;
}

/* Feature row — three columns explaining why */
.pt-home-features {
  max-width: 1180px;
  margin: 5rem auto 4rem;
  padding: 0 1.5rem;
}
.pt-home-features-head {
  text-align: center;
  margin: 0 0 2.5rem;
}
.pt-home-features-head h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  color: #14304d;
  margin: 0;
  font-weight: 600;
}
.pt-home-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.pt-home-feature {
  background: linear-gradient(180deg, #fbf6ec 0%, #f3eada 100%);
  border: 1px solid rgba(20, 48, 77, 0.08);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pt-home-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(20, 48, 77, 0.1);
}
.pt-home-feature .pt-home-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  font-size: 28px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 14px rgba(20, 48, 77, 0.08);
}
.pt-home-feature h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  color: #14304d;
  margin: 0 0 0.5rem;
  font-weight: 600;
}
.pt-home-feature p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #5a6470;
  margin: 0;
}

@media (max-width: 640px) {
  .pt-home-hero { margin: 2.5rem auto 1.5rem; }
  .pt-home-section-head { margin: 2.5rem auto 1.25rem; }
  .pt-home-features { margin: 3rem auto 2.5rem; }
}

/* ============================================================
   POPULAR DESTINATIONS — horizontal slider for the homepage
   ============================================================ */
.pt-popular {
  position: relative;
  max-width: 1400px;
  margin: 1.5rem auto 0;
  padding: 0 1.5rem;
}
.pt-popular-track {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.5rem 0 1.5rem;
  scroll-behavior: smooth;
}
.pt-popular-track::-webkit-scrollbar { display: none; }

.pt-popular-card {
  position: relative;
  flex: 0 0 280px;
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
  background: #14304d;
  scroll-snap-align: start;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 14px rgba(20, 48, 77, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  isolation: isolate;
}
.pt-popular-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(20, 48, 77, 0.22);
}
.pt-popular-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease;
  z-index: 0;
}
.pt-popular-card:hover .pt-popular-card-img {
  transform: scale(1.07);
  filter: brightness(0.85);
}
.pt-popular-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 48, 77, 0.92) 0%, rgba(20, 48, 77, 0.45) 45%, rgba(20, 48, 77, 0) 75%);
  z-index: 1;
}
.pt-popular-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 1.4rem 1.5rem;
  z-index: 2;
}
.pt-popular-card-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: #fff;
  letter-spacing: -0.005em;
  line-height: 1.15;
}
.pt-popular-card-meta {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

/* Prev/next arrows — circular pills floating over the slider */
.pt-popular-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #14304d;
  border: 1px solid rgba(20, 48, 77, 0.08);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(20, 48, 77, 0.18);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pt-popular-nav:hover {
  background: #14304d;
  color: #fff;
  transform: translateY(-50%) scale(1.06);
}
.pt-popular-nav--prev { left: 0.4rem; }
.pt-popular-nav--next { right: 0.4rem; }

@media (max-width: 640px) {
  .pt-popular-card { flex: 0 0 78%; height: 310px; }
  .pt-popular-card-name { font-size: 1.4rem; }
  .pt-popular-nav { width: 36px; height: 36px; font-size: 18px; }
}
