/* beautiful-boquete.com -- corrections on top of the Nicepage styles (2026-10-09) */

/* Fonts: all titles and subtitles in Prata, all other text in Montserrat */
.u-body, .u-body p, .u-body li, .u-body td, .u-body th, .u-body span, .u-body a,
.u-body div, .u-body label, .u-body input, .u-body textarea, .u-body figcaption {
  font-family: Montserrat, sans-serif !important;
}
.u-body h1, .u-body h2, .u-body h3, .u-body h4, .u-body h5, .u-body h6,
.u-body h1 *, .u-body h2 *, .u-body h3 *, .u-body h4 *, .u-body h5 *, .u-body h6 * {
  font-family: Prata, serif !important;
  /* Prata has only one (regular) weight; "bold" would make the browser fake a thick,
     smeared version that no longer looks like Prata */
  font-weight: 400 !important;
  font-synthesis: none;
}

/* Text links: Nicepage styles them as buttons (padding/margins) -- show them as plain links */
.u-body a.u-btn.u-button-link,
.u-body a.u-btn.u-button-style.u-none:not(.u-btn-submit) {
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  display: inline !important;
  width: auto !important;
  min-width: 0 !important;
  vertical-align: baseline !important;
  background: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

/* "Why Boquete": photo and text side by side; the photo takes the height of the text,
   shorter text is centred vertically next to the photo */
.bb-intro { padding: 24px 0 12px; }
.bb-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "photo text" "caption .";
  column-gap: 40px;
  row-gap: 8px;
  align-items: stretch;
}
.bb-intro-fig { display: contents; }
.bb-intro-fig a { grid-area: photo; display: block; }
.bb-intro-fig img {
  display: block; width: 100%; height: 100%;
  min-height: 300px; aspect-ratio: 4 / 3;
  object-fit: cover;
}
.bb-intro-fig figcaption { grid-area: caption; text-align: center; font-size: 0.95rem; }
.bb-intro-text { grid-area: text; align-self: center; }
.bb-intro-text p { margin: 0 0 1em; }
.bb-intro-text p:last-child { margin-bottom: 0; }
.bb-intro-text .bb-lead { font-weight: 700; font-size: 1.25rem; }
@media (max-width: 767px) {
  .bb-intro-grid { grid-template-columns: 1fr; grid-template-areas: "text" "photo" "caption"; row-gap: 0; }
  .bb-intro-text { margin-bottom: 16px; }
  .bb-intro-fig figcaption { margin-top: 3px; font-style: italic; font-size: 0.8rem; line-height: 1.2; }
  .bb-intro-fig img { height: auto; min-height: 0; }
}

/* "12 reasons": text left, portrait photo right. The text alone sets the height:
   photo + caption together are exactly as high as reasons 1-8, so reason 9 follows
   with the same small gap as between the other reasons. */
.bb-reasons { padding: 30px 0; }
.bb-reasons p { margin: 0 0 0.7em; }
.bb-lead-p { font-weight: 700; font-size: 1.15rem; }
.bb-portrait { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-areas: "text photo"; row-gap: 0; }
.bb-portrait .bb-intro-text { align-self: stretch; }
.bb-portrait .bb-intro-fig { display: flex; flex-direction: column; grid-area: photo; margin: 0; padding-bottom: 0.6em; }
.bb-portrait .bb-intro-fig a { flex: 1 1 0; min-height: 0; }
.bb-portrait .bb-intro-fig img { height: 100%; min-height: 0; aspect-ratio: auto; object-fit: cover; }
.bb-portrait .bb-intro-fig figcaption { margin-top: 3px; font-style: italic; font-size: 0.8rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-reasons-more { margin: 0.7em 0 10px; }
.bb-two-col { column-count: 2; column-gap: 40px; }
.bb-two-col p { break-inside: avoid; }
@media (max-width: 767px) {
  .bb-portrait { grid-template-columns: 1fr; grid-template-areas: "text" "photo"; row-gap: 12px; }
  .bb-portrait .bb-intro-fig { padding-bottom: 0; }
  .bb-portrait .bb-intro-fig a { flex: none; }
  .bb-portrait .bb-intro-fig img { height: auto; aspect-ratio: 3 / 4; }
  .bb-portrait .bb-intro-fig figcaption { white-space: normal; margin-top: 3px; }
  .bb-two-col { column-count: 1; }
}

/* Contact page: the three ways to reach us, then the form */
.bb-contact-lead { margin: 10px auto 24px; max-width: 760px; font-size: 1.1rem; }
.bb-contact-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 620px; margin: 0 auto 10px; }
.bb-contact-option { background: #fff; border: 1px solid #d6d6d6; border-radius: 10px; padding: 16px 18px; text-align: center; }
.bb-contact-option h3 { font-size: 1.35rem; margin: 0 0 8px; }
.bb-contact-option p { margin: 0 0 6px; }
.bb-contact-option .bb-small { font-size: 0.85rem; color: #555; margin: 0; }
.bb-or { font-size: 1.1rem; font-style: italic; margin: 28px 0 0; text-align: center; }
.bb-form-title { font-size: 1.8rem; margin: 2px 0 6px; text-align: center; scroll-margin-top: 180px; }
@media (max-width: 767px) { .bb-contact-options { grid-template-columns: 1fr; } }

/* Boxes (Nicepage "groups"): let them grow with their text. Nicepage gave the last paragraph
   a negative bottom margin, calculated for its narrower original font; with Montserrat the
   longer text then spilled out of the box. */
.u-body .u-group > .u-container-layout { height: auto !important; }
.u-body .u-group > .u-container-layout > * { margin-bottom: 0 !important; }

/* Places: Google Maps / Waze hint at the waterfalls on two lines instead of four */
.u-body .u-section-6 .u-text-6 { width: fit-content !important; max-width: 100%; margin-left: auto !important; margin-right: auto !important; }
/* Places: "See more options HERE" under the restaurant photos */
.bb-more-link { text-align: center; margin: 24px 0 10px; font-size: 1.1rem; }
