/*
Theme Name: Laguna Dominikowo
Theme URI: https://lagunadominikowo.net/
Author: Laguna Dominikowo
Description: Responsywny, jednopagerowy motyw dla domków Laguna Dominikowo. Wszystkie treści, zdjęcia i dane kontaktowe można zmieniać w panelu WordPressa.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: laguna-dominikowo
*/

/* Drobne poprawki integrujące odtworzony projekt z WordPressem. */
img {
  max-width: 100%;
}

.hero-image,
.story-images figure > img,
.lake-band > img,
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.site-header .menu-button svg,
.site-header a svg,
.button svg,
.text-link svg,
.cottage a svg,
.contact-place svg,
.footer-links svg,
.mobile-call svg {
  pointer-events: none;
}

.admin-bar .site-header {
  top: 32px;
}

body.menu-is-open {
  overflow: hidden;
}

body:has(.lightbox[hidden]) {
  overflow: auto;
}

body.lightbox-open {
  overflow: hidden;
}

.gallery-item:focus-visible,
.button:focus-visible,
.site-header a:focus-visible,
.site-header button:focus-visible,
.lightbox button:focus-visible {
  outline: 3px solid #f2b84b;
  outline-offset: 4px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-image {
  display: block;
}

.lightbox-caption {
  position: absolute;
  left: 50%;
  bottom: 46px;
  max-width: min(720px, 65vw);
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(2, 15, 11, 0.45);
  font-size: 28px;
}

.site-content {
  min-height: 60vh;
}

.content-shell {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 150px 0 90px;
}

.content-shell a {
  text-decoration: underline;
}

.blog .site-header,
.archive .site-header,
.single .site-header,
.page:not(.home) .site-header,
.error404 .site-header {
  position: relative;
  background: #0b2d23;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 5px;
  left: 5px;
  width: auto;
  height: auto;
  padding: 15px 23px 14px;
  clip: auto;
  background: #fff;
  color: #10261f;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 900px) {
  .site-header nav.nav-open {
    z-index: 1;
  }
}

@media (max-width: 620px) {
  .lightbox-caption {
    bottom: 70px;
    max-width: 58vw;
  }
}
