/* FYDS — preserve brand name's mixed casing on offline / maintenance page */
.l-off-head-title { text-transform: none !important; }

/* ============================================================
   FYDS Phase 1 — Homepage "Browse by category" rails
   Brand palette: green #2F5044 · gold #c9a96e / #a8884d · ink #2D2F2C
   ============================================================ */
.fyds-rails { padding-top: 8px; }
.fyds-rails-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 600;
  color: #2F5044;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}
.fyds-rail { margin-bottom: 38px; }
.fyds-rail:last-child { margin-bottom: 8px; }
.fyds-rail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 2px solid #2F5044;
  padding-bottom: 9px;
  margin-bottom: 18px;
}
.fyds-rail-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 600;
  color: #2F5044;
  margin: 0;
  line-height: 1.2;
}
.fyds-rail-viewall {
  flex: none;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a8884d;
  text-decoration: none;
  white-space: nowrap;
}
.fyds-rail-viewall:hover,
.fyds-rail-viewall:focus-visible {
  color: #2F5044;
  text-decoration: none;
}
/* Coming-soon seed state for empty categories */
.fyds-rail-soon {
  border: 1.5px dashed #E7E4DD;
  border-radius: 14px;
  background: #FCFBF9;
  padding: 30px 24px;
  text-align: center;
}
.fyds-rail-soon-text {
  margin: 0 0 8px;
  color: #797D74;
  font-size: 15px;
}
.fyds-rail-soon-link {
  font-size: 13px;
  font-weight: 700;
  color: #2F5044;
  text-decoration: none;
}
.fyds-rail-soon-link:hover,
.fyds-rail-soon-link:focus-visible { color: #a8884d; text-decoration: none; }

@media (max-width: 767px) {
  .fyds-rails-title { font-size: 22px; margin-bottom: 16px; }
  .fyds-rail { margin-bottom: 28px; }
  .fyds-rail-name { font-size: 18px; }
}

/* ============================================================
   FYDS Phase 2/3 — Experience card (global: search, category, rails)
   ============================================================ */
.fyds-card .g-item-info { display: flex; flex-direction: column; }

/* Category label — gold, letter-spaced caps */
.fyds-card-cat {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a8884d;
  font-weight: 700;
  margin: 2px 0 5px;
}

/* Title — serif, wraps up to 3 lines, never clamped to a single line */
.fyds-card .fyds-item-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 600;
  color: #2D2F2C;
  white-space: normal;
  height: auto;
  max-height: none;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-bottom: 4px;
  text-decoration: none;
}
.fyds-card .fyds-item-title:hover,
.fyds-card .fyds-item-title:focus-visible { color: #2F5044; text-decoration: none; }

/* Host line — its own italic line, separate from the title */
.fyds-card-host {
  font-style: italic;
  color: #797D74;
  font-size: 13px;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Price in brand green */
.fyds-card .c-item-price { color: #2F5044; font-weight: 700; }

/* "View experience" CTA at the foot */
.fyds-card-cta {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #2F5044;
  text-decoration: none;
  align-self: flex-start;
}
.fyds-card-cta:hover,
.fyds-card-cta:focus-visible { color: #a8884d; text-decoration: none; }

/* ============================================================
   FYDS — Experience card imagery (fix cropped / slivered photos)
   The platform gives rp-g-item cards a very wide, short image box
   (5.5/3 ≈ 1.83:1 on mobile, 5/3.2 ≈ 1.56:1 on desktop) which
   center-crops portrait & square retreat photos hard, and letterboxes
   vertical shots (object-fit:contain). Experience photography IS the
   product here — give every card a taller editorial frame and let
   the photo fill it cleanly (cover, centered), verticals included.
   ============================================================ */
/* The experience photos are overwhelmingly PORTRAIT people-shots (~3:4). A wide
   3:2 landscape frame + centre crop sliced off the top & bottom — i.e. the
   faces. Use a SQUARE frame (suits portrait + landscape alike) and bias the
   crop UPWARD so heads/faces stay in frame instead of being cut. */
.fyds-card .c-item-img-box { aspect-ratio: 1 / 1; }          /* desktop: square, face-safe */
.fyds-card .c-item-img,
.fyds-card .c-item-img-vertical {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;          /* beats .c-item-img-vertical { object-fit: contain } */
  object-position: center 28% !important;/* favour the upper band — keep faces, not torsos */
  position: static;                      /* neutralize the contain-mode absolute centering */
  transform: none;
}
@media (max-width: 991px) {
  .fyds-card .c-item-img-box { aspect-ratio: 1 / 1; }        /* mobile 2-up: square, face-safe */
}

/* Unify the homepage grids. "New Listings" (j-lasted-list) rendered 5-up with
   tiny 232x155 frames while the category rails render 4-up — same ratio, two
   different card sizes. Force New Listings to 4-up so every homepage card is
   the same size. Homepage-scoped via .in-index-box so search/category result
   pages keep their own column count. */
.in-index-box .j-lasted-list.g-item-box {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
@media (max-width: 991px) {
  .in-index-box .j-lasted-list.g-item-box {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* ============================================================
   FYDS — Cookie-consent bar onto the brand palette
   The cookieconsent library ships a loud coral accept button (set via
   its inline palette), which is the brightest thing on every otherwise
   calm page. Pull it back to brand green + a pill shape. !important is
   required to beat the library's inline background-color.
   ============================================================ */
.cc-window .cc-btn,
.cc-window .cc-btn:link,
.cc-window .cc-btn:visited {
  background-color: #2F5044 !important;
  color: #ffffff !important;
  border-color: #2F5044 !important;
  border-radius: 999px !important;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.cc-window .cc-btn:hover,
.cc-window .cc-btn:focus {
  background-color: #3a6354 !important;
  color: #ffffff !important;
  border-color: #3a6354 !important;
}
.cc-window .cc-link { color: #c9a96e !important; }
.cc-window .cc-link:hover { color: #d4b683 !important; }
