/* Offer imagery: override the height attributes emitted by WordPress thumbnails. */
.bafo-listings .listing-card img {
  display: block; width: 100%; height: clamp(170px, 17vw, 235px);
  max-height: 235px; aspect-ratio: 16 / 9; object-fit: cover; object-position: center;
}
.single-offerte .bafo-article > .wp-block-post-featured-image {
  width: 100%; max-width: 900px; margin-inline: auto;
}
.single-offerte .bafo-article > .wp-block-post-featured-image img {
  display: block; width: 100%; height: clamp(190px, 27vw, 320px);
  max-height: 320px; object-fit: cover; object-position: center;
}
.single-offerte .offer-booking > .wp-block-button__link {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.single-offerte .offer-booking > .wp-block-button__link:hover {
  background: #42443d; border-color: #42443d;
}
.bafo-offers-section { color: #f5f2e9; background: #222320; overflow: hidden; }
.bafo-offers-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 46px; }
.bafo-offers-heading .eyebrow { color: #c4beac; margin-bottom: 23px; }
.bafo-offers-heading h2 { max-width: 650px; }
.bafo-offers-heading > .text-link { margin-bottom: 7px; white-space: nowrap; }
.bafo-offers-track {
  display: flex; gap: 32px; position: relative; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.bafo-offers-track::-webkit-scrollbar { display: none; }
.bafo-offer-slide {
  flex: 0 0 100%; min-width: 0; display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.3fr);
  align-items: center; gap: clamp(28px, 5vw, 72px); scroll-snap-align: start;
}
.bafo-offer-photo { display: block; width: 100%; overflow: hidden; }
.bafo-offer-photo img {
  display: block; width: 100%; height: clamp(210px, 21vw, 270px);
  max-height: 270px; object-fit: cover; object-position: center;
}
.bafo-offer-copy { min-width: 0; }
.bafo-offer-copy > .eyebrow { color: #c4beac; margin-bottom: 16px; }
.bafo-offer-copy h3 { font-size: clamp(34px, 3.1vw, 48px); line-height: 1.06; max-width: 21ch; }
.bafo-offer-summary { margin-top: 20px; font-size: 18px; line-height: 1.8; color: #dbd8ce; }
.bafo-offer-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin-top: 26px; }
.bafo-offer-detail {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 48px; padding: 12px 23px; border: 1px solid #c4beac; border-radius: 2px;
  font-size: 14px; line-height: 1.5; font-weight: 700; transition: background .2s, color .2s;
}
.bafo-offer-detail:hover { background: #c4beac; color: #222320; }
.bafo-offer-actions .text-link { font-size: 14px; }
.bafo-offers-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 36px; padding-top: 24px; border-top: 1px solid #ffffff30; }
.bafo-offers-pagination, .bafo-offers-controls { display: none; align-items: center; gap: 10px; }
[data-bafo-offers][data-enhanced] .bafo-offers-pagination,
[data-bafo-offers][data-enhanced] .bafo-offers-controls { display: flex; }
.bafo-offers-controls button {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  padding: 0; border: 1px solid #ffffff66; border-radius: 50%; color: #f5f2e9;
  background: transparent; font-family: inherit; font-size: 21px; cursor: pointer;
}
.bafo-offers-controls button:hover { color: #222320; background: #c4beac; border-color: #c4beac; }
.bafo-offers-controls button[data-offers-pause] { font-size: 15px; }
.bafo-offers-counter { margin-right: 14px; font-size: 13px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.bafo-offers-dot { width: 36px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.bafo-offers-dot span { display: block; height: 2px; background: #74756c; }
.bafo-offers-dot[aria-current="true"] span { background: #e3ddcc; }
.bafo-offers-section button:focus-visible, .bafo-offers-section a:focus-visible,
.bafo-offers-track:focus-visible { outline: 2px solid #e3ddcc; outline-offset: 4px; }
.bafo-offers-section button[hidden] { display: none; }
.bafo-offers-section[data-count="1"] .bafo-offers-footer { display: none; }
@media (max-width: 780px) {
  .bafo-offers-heading { align-items: start; flex-direction: column; gap: 23px; margin-bottom: 32px; }
  .bafo-offer-slide { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 27px; }
  .bafo-offer-photo img { height: clamp(180px, 45vw, 245px); max-height: 245px; }
  .bafo-offer-copy h3 { font-size: clamp(34px, 7.5vw, 46px); max-width: 22ch; }
  .bafo-offers-counter { margin-right: 3px; font-size: 12px; }
  .bafo-offers-controls { gap: 7px; }
  .bafo-offers-controls button { width: 44px; height: 44px; }
  .bafo-offers-pagination { gap: 7px; }
  .bafo-offers-dot { width: 25px; }
  .bafo-offers-footer { gap: 12px; }
  .bafo-listings .listing-card img { height: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  .bafo-offer-detail { transition: none; }
  .bafo-offers-track { scroll-behavior: auto; }
}
