.pagination .page-numbers{
    border-radius: 0;
    font-family: Jost;
}

@media(min-width:1024px){
   body:not(.blog) .kb-posts-style-unboxed .entry-content-wrap{
        margin-left: 30px!important;
    } 
}

/* Guides tiles layout */
.vas-guides-tiles { display:grid; gap:24px; }
.vas-guides-tiles.cols-1 { grid-template-columns: 1fr; }
.vas-guides-tiles.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.vas-guides-tiles.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.vas-guides-tiles.cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

.vas-guides-tiles__tile { display:block; position:relative; overflow:hidden; border-radius:16px; text-decoration:none; }
.vas-guides-tiles__media { display:block; aspect-ratio:16/9; background:#f6f2ee; }
.vas-guides-tiles__media img { width:100%; height:100%; object-fit:cover; display:block; }
.vas-guides-tiles__ph { display:block; width:100%; height:100%; background:#eee; }

.vas-guides-tiles__meta {
  position:absolute; left:0; right:0; bottom:0; padding:12px 14px;
  background:linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.55));
}
.vas-guides-tiles__title { color:#fff; font-weight:700; font-size:22px; line-height:1; }
.vas-guides-tiles__count { color:#fff; opacity:.9; margin-left:8px; font-size:16px; }

.vas-star-rating {
  display: inline-block;
  color: #d4a017; /* gold */
  font-size: 1.3rem;
  letter-spacing: 2px;
  line-height: 1;
}
.vas-star-rating .star.filled { color: #d4a017; }

.map-shadow,
.media-frame {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(186, 123, 136, 0.25); /* subtle warm pink hue */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-shadow:hover,
.media-frame:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(186, 123, 136, 0.35);
}

/* Reset all embed wrappers inside your video section */
.video-embed,
.video-embed figure,
.video-embed .wp-block-embed,
.video-embed .wp-block-embed__wrapper,
.video-embed .kb-embed-wrap,
.video-embed .kb-embed-wrap > div,
.video-embed .wp-block-kadence-dynamic,
.video-embed iframe {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;   /* undo wrapper clipping */
  box-shadow: none !important;    /* remove any inherited shadow */
}

/* Keep it responsive */
.video-embed iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  display: block;
}

/* Optional: put ONE square shadow on the outer container */
.video-embed {
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
}

/* Location line under the title */
.hotel-location {
  display: block;
  text-align: center;
  margin-top: 6px;           /* adjust spacing from stars */
  font-size: 30px;           /* adjust size to taste */
  line-height: 1.25;
}

/* White links for the location */
.hotel-location a {
  color: #fff;
  text-decoration: none;
}
.hotel-location a:hover {
  text-decoration: underline;
}

/* ==========================================================
   NEARBY SECTION — FINAL CLEAN VERSION
   ========================================================== */

/* Section aligned with page content, full width allowed */
.nearby-by-location {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

/* Kill default UL indentation & left gaps */
.nearby-by-location ul.nearby-cards {
  padding-left: 0 !important;
  padding-inline-start: 0 !important;
  margin-left: 0 !important;
}

/* Ensure equal spacing between cards only */
.nearby-by-location .nearby-cards {
  display: grid;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .nearby-by-location .nearby-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nearby-by-location .nearby-cards { grid-template-columns: 1fr; }
}

/* Card base look */
.nearby-card {
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  margin: 0 !important;
}
.nearby-card__link { text-decoration: none; color: inherit; display: block; }
.nearby-card__image { aspect-ratio: 16/9; overflow: hidden; background: #f6f1ec; }
.nearby-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nearby-card__meta { padding: 1.25rem; }
.nearby-card__kicker { text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; color: #c84a79; margin-bottom: .5rem; }
.nearby-card__title { font-size: clamp(1.2rem, 1rem + .6vw, 1.8rem); margin: 0 0 .35rem; }
.nearby-card__date { color: #7a6a5c; font-size: .95rem; margin-bottom: .6rem; }
.nearby-card__excerpt { margin: 0; line-height: 1.6; }

/* ===== View All (footer link) ===== */
.nearby-foot{
  display:flex;
  justify-content:flex-end;         /* right-align on desktop */
  margin-top:1.25rem;
  padding-top:.75rem;
  border-top:1px solid rgba(0,0,0,.08);
}

.nearby-viewall{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  font-weight:600;
  text-decoration:none;
  color:inherit;                     /* uses theme text color */
  padding:.35rem .6rem;
  border-radius:999px;
  transition:color .2s ease, background-color .2s ease, transform .2s ease;
}

/* Arrow */
.nearby-viewall::after{
  content:"";
  width:.65rem; height:.65rem;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(-45deg);          /* makes a chevron */
  transition:transform .2s ease, translate .2s ease;
}

/* Hover / focus: nudge the arrow a bit */
.nearby-viewall:hover,
.nearby-viewall:focus{
  outline:none;
  color:var(--global-palette9, #c84a79);    /* Kadence accent fallback */
}
.nearby-viewall:hover::after,
.nearby-viewall:focus::after{
  transform:translateX(3px) rotate(-45deg);
}

/* Mobile: center it so it looks balanced */
@media (max-width: 640px){
  .nearby-foot{ justify-content:center; }
}

/* Optional “buttony” look (uncomment if you prefer a filled chip) */
/*
.nearby-viewall{
  background: rgba(0,0,0,.04);
}
/* === Fix hover color to stay pink === */
.nearby-viewall:hover,
.nearby-viewall:focus {
  outline: none;
  color: #c84a79 !important; /* force your pink */
  background: transparent !important; /* keep background clean */
}

.nearby-viewall:hover::after,
.nearby-viewall:focus::after {
  border-color: #c84a79 !important; /* arrow stays pink too */
  transform: translateX(3px) rotate(-45deg);
}

/* Desktop-only: 1 / 2 / 3 column logic for Kadence Query Loops
   on loops marked with .vas-flex-grid
*/
@media (min-width: 900px) {

  /* Default: 3 columns */
  .vas-flex-grid .kb-query-grid-wrap {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Exactly ONE card in the loop → full-width */
  .vas-flex-grid .kb-query-grid-wrap:has(> li.kb-query-item:nth-child(1):nth-last-child(1)) {
    grid-template-columns: 1fr !important;
  }

  /* Exactly TWO cards in the loop → 2 columns */
  .vas-flex-grid .kb-query-grid-wrap:has(> li.kb-query-item:nth-child(1):nth-last-child(2)),
  .vas-flex-grid .kb-query-grid-wrap:has(> li.kb-query-item:nth-child(2):nth-last-child(1)) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

}

@media (min-width: 900px) {

  /* Base: 3 columns on flex grids */
  .vas-flex-grid .kb-query-grid-wrap {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none !important;
  }

  /* Exactly ONE card -> 1 column */
  .vas-flex-grid .kb-query-grid-wrap:has(> li.kb-query-item:nth-child(1):nth-last-child(1)) {
    grid-template-columns: 1fr !important;
  }

  /* Exactly TWO cards -> 2 columns */
  .vas-flex-grid .kb-query-grid-wrap:has(> li.kb-query-item:nth-child(1):nth-last-child(2)),
  .vas-flex-grid .kb-query-grid-wrap:has(> li.kb-query-item:nth-child(2):nth-last-child(1)) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  /* Smash all the inner width limits on the card stack */
  .vas-flex-grid .kb-query-item,
  .vas-flex-grid .kb-query-item > *,
  .vas-flex-grid .kb-query-item .wp-block-kadence-imageoverlay,
  .vas-flex-grid .kb-query-item .kt-image-overlay-wrap,
  .vas-flex-grid .kb-query-item .kt-block-intrisic {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

}

@media (min-width: 900px) {

  /* Make the actual image fill the overlay area */
  .vas-flex-grid .kt-image-overlay-wrap,
  .vas-flex-grid .kt-block-intrisic.kt-over-set-ratio {
    width: 100% !important;
  }

  .vas-flex-grid .kt-block-intrisic.kt-over-set-ratio img {
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: cover;
  }

}

@media (min-width: 900px) {

  /* Fix card height on flex grids and kill Kadence's padding-bottom trick */
  .vas-flex-grid .kt-image-overlay-wrap {
    height: 420px; /* tweak this up/down until it feels right */
  }

  .vas-flex-grid .kt-block-intrisic.kt-over-set-ratio {
    height: 100% !important;
    padding-bottom: 0 !important; /* override Kadence's inline padding-bottom */
  }

  .vas-flex-grid .kt-block-intrisic.kt-over-set-ratio img {
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: cover;
  }

}

/* TIMELINE: reset all Dynamic HTML blocks to normal */
.post-type-archive-timeline_event .kb-query-item .wp-block-kadence-dynamichtml{
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  line-height: inherit !important;
}

/* TIMELINE: only tighten the TITLE dynamic block */
.post-type-archive-timeline_event .kb-query-item .kb-dynamic-html-id-3856_239e3c-e8{
  margin-bottom: 0 !important;
  line-height: 1.1 !important;
}

/* TIMELINE: bring the date a bit closer to the title */
.post-type-archive-timeline_event .kb-query-item .kb-dynamic-html-id-3856_611cdd-18{
  margin-top: 8px !important;
  margin-bottom: 16px !important;
}

/* TIMELINE: remove default top margin on the description paragraph */
.post-type-archive-timeline_event .kb-query-item p{
  margin-top: 0 !important;
}

/* Timeline card: Era subtitle shouldn't look like a link */
.kb-query-item .wp-block-post-terms a{
  text-decoration: none;
  pointer-events: none;
}
