/* Grid and flex sections manage their own spacing, independently of WP flow margins. */
.facts > *, .hero > .hero-copy, .split-section > *, .section-heading > *,
.price-band > *, .content-columns > *, .baska-cards > * {
  margin-block-start: 0;
  margin-block-end: 0;
  min-width: 0;
}
.facts {
  align-items: start;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-inline: max(6%, calc((100% - 1160px) / 2));
  text-align: center;
}
.facts strong { display: block; line-height: 1.3; margin: 0; }
.facts > .wp-block-group p + p { margin-top: 8px; font-size: 12px; color: #d0dddd; }

/* Gutenberg wraps images in figures: the figure must contain the whole image. */
figure.baska-location-photo, figure.baska-featured-photo { max-height: none; }
figure.baska-location-photo img, figure.baska-featured-photo img {
  display: block; width: 100%; height: auto; max-height: none;
}
figure.baska-location-photo img { max-height: 550px; object-fit: cover; }
figure.baska-featured-photo:not(.hero > figure) img { max-height: 650px; object-fit: cover; }
.hero > figure.baska-featured-photo img { height: 100%; }
.wp-block-image figcaption { line-height: 1.5; }
.split-section figure.baska-courtyard-photo { height: auto; }
.split-section figure.baska-courtyard-photo img { display: block; }
.photo-placeholder > p { position: relative; z-index: 1; padding: 20px; margin: 20px; background: #fbf9f4e8; }
.photo-placeholder > p span { display: block; background: none; padding: 0; max-width: none; }
.wp-block-group.photo-placeholder { min-width: 0; }

/* Readable, reachable navigation and long owner-editable text. */
.page-content :where(h1,h2,h3,p,a), .site-footer { overflow-wrap: break-word; }
.nav-links .baska-menu a { display: inline-flex; align-items: center; min-height: 44px; }
.baska-card .card-body .wp-block-button__link { min-height: 44px; display: inline-flex; align-items: center; }
.baska-card .card-body .wp-block-buttons { border-top: 0; }
.public-prices table { border-bottom: 1px solid #000; }
.wp-block-table thead { border-bottom: 1px solid #000; }
.public-prices table thead th,
.public-prices table tbody tr:last-child td { border-bottom: 1px solid #000; }
textarea:focus-visible { outline: 3px solid #b08a42; outline-offset: 3px; }
.site-main:focus-visible { outline: 3px solid #b08a42; outline-offset: -3px; }
.baska-data-rate strong { margin-inline: .25em; }
.price-big .baska-data-rate strong { margin-inline: 0; }
@media (max-width: 1100px) {
  header { flex-wrap: wrap; }
  .nav-links { flex-wrap: wrap; }
}
@media (max-width: 850px) {
  .hero > figure.baska-featured-photo img { height: 100%; }
  .baska-menu { column-gap: 20px; row-gap: 2px; }
  .section-heading > p { margin-top: 20px; }
  .price-band > .price-big { margin-top: 30px; }
  .page-content h1 { font-size: clamp(32px, 6vw, 42px); }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .facts strong { display: block; }
  .nav-links { justify-content: flex-start; }
  .baska-menu { width: 100%; }
  .wp-block-gallery.baska-owner-gallery, .wp-block-gallery.baska-gallery-preview { flex-direction: column; }
  .wp-block-gallery.baska-owner-gallery > figure.wp-block-image,
  .wp-block-gallery.baska-gallery-preview > figure.wp-block-image { width: 100% !important; flex: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
