/* Site additions on top of the Webflow stylesheet. Colours and fonts follow webflow.css. */

/* "View details and enquire" link on property cards */
.vfa-card-cta {
  display: inline-block;
  margin-top: 14px;
  font-family: Nunito, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #151515;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.vfa-card-cta:hover { color: #5d4037; }

/* Note under the accommodation search forms */
.vfa-search-note {
  margin: 12px 0 0;
  font-family: Nunito, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

/* Mobile enquiry bar on property pages (app/PropertyEnquiryBar.tsx) */
.vfa-enquiry-bar { display: none; }

@media screen and (max-width: 767px) {
  .vfa-enquiry-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #efe5dc;
    border-top: 1px solid #d9c9bc;
    box-shadow: 0 -4px 16px rgba(21, 21, 21, 0.08);
  }
  .vfa-enquiry-bar-note {
    flex: 1;
    margin: 0;
    font-family: Nunito, sans-serif;
    font-size: 13px;
    line-height: 1.35;
    color: #151515;
  }
  .vfa-enquiry-bar-button {
    flex: none;
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: #151515;
    color: #fff;
    font-family: Nunito, sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
  }
  /* Two actions: the property's booking site and our enquiry form, side by side */
  .vfa-enquiry-bar-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 4px 10px;
    border: 1.5px solid #151515;
    border-radius: 6px;
    color: #151515;
    font-family: Nunito, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
  }
  .vfa-enquiry-bar-link + .vfa-enquiry-bar-button {
    flex: 1;
    padding: 4px 10px;
    font-size: 15px;
    line-height: 1.2;
  }
  /* Keep the footer clear of the bar */
  body:has(.vfa-enquiry-bar) { padding-bottom: 80px; }
}

.vfa-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* "Check Rates and Availability" beside a listing's enquiry button */
.vfa-booking-button {
  display: inline-block;
  font-family: Nunito, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #151515;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.vfa-booking-button:hover { color: #5d4037; }

/* Section headings in a listing's description: H2s styled like the template's H3s */
.hotel-details-rich-text h2 {
  font-family: var(--title-font);
  color: #151515;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 0;
}
.hotel-details-rich-text h2:first-child { margin-top: 0; }
@media screen and (min-width: 1280px) { .hotel-details-rich-text h2 { font-size: 30px; } }
@media screen and (min-width: 1440px) { .hotel-details-rich-text h2 { font-size: 32px; } }
@media screen and (min-width: 1920px) { .hotel-details-rich-text h2 { font-size: 36px; } }
@media screen and (max-width: 767px) { .hotel-details-rich-text h2 { font-size: 26px; } }
/* Sub-headings one step down */
.hotel-details-rich-text h2 ~ h3 { font-size: 22px; }
@media screen and (min-width: 1440px) { .hotel-details-rich-text h2 ~ h3 { font-size: 24px; } }
@media screen and (max-width: 767px) { .hotel-details-rich-text h2 ~ h3 { font-size: 21px; } }

/* Published rates table on a listing */
.vfa-rates {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  font-size: inherit;
  line-height: 1.4;
}
.vfa-rates th, .vfa-rates td {
  padding: 10px 8px;
  border-bottom: 1px solid #d9c9bc;
  text-align: left;
  vertical-align: top;
}
.vfa-rates thead th { font-weight: 600; background: #efe5dc; }
.vfa-rates tbody th { font-weight: 400; }
.vfa-rates td { white-space: nowrap; }
@media screen and (max-width: 479px) {
  .vfa-rates { font-size: 15px; }
  .vfa-rates th, .vfa-rates td { padding: 8px 4px; }
}

/* Visible labels on enquiry forms */
.vfa-field-label {
  display: block;
  margin: 0 0 6px;
  font-family: Nunito, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: #151515;
}
.vfa-date-cell { display: flex; flex-direction: column; }
.vfa-date-cell > .check-in-block-v4 { flex: 1; }
