@charset "UTF-8";

html { scroll-behavior: auto; }

.gajowki-page {
  --g-green: #2d4031;
  --g-rust: #8b4d31;
  --g-muted: #696c61;
  --g-rule: #dbd1bc;
  --g-paper: #fcf9f1;
}
.gajowki-page::after { display: none; }
.gajowki-page a:focus-visible,
.gajowki-page button:focus-visible,
.g-map-viewport:focus-visible { outline: 3px solid #a66538; outline-offset: 4px; }
.gajowki-page .dropdown-menu { max-height: min(75vh, 680px); overflow-y: auto; }
.g-hero { position: relative; isolation: isolate; background: #2c3528; color: #f9f3e6; overflow: hidden; }
.g-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("mapa-wig-1938.jpg") center 47% / cover; opacity: .4; }
.g-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #28352af5, #28352ad9 48%, #28352a85); }
.g-hero .container { padding-block: 44px 48px; }
.g-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-size: 12px; color: #e0d5bd; }
.g-crumbs a { color: inherit; }
.g-hero h1 { margin: 25px 0 17px; font: 400 clamp(37px, 5vw, 64px)/1.13 Georgia, serif; letter-spacing: -.025em; max-width: 900px; color: #faf4e6; }
.g-hero-line { height: 2px; width: 66px; background: #c5ab77; margin-bottom: 22px; }
.g-hero p { margin: 0; max-width: 720px; color: #e8e2d2; font-size: 16px; line-height: 1.85; }
.g-main { padding: 42px 0 70px; }
.g-name-note { margin: 0 0 34px; padding: 18px 23px; border-left: 3px solid #b99b64; background: #eee8d7a6; }
.g-name-note p { margin: 0; color: #4e5548; font-size: 14px; line-height: 1.85; text-align: justify; hyphens: auto; }
.g-section-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.g-eyebrow { display: block; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; color: #6c705c; margin-bottom: 7px; }
.g-section-heading h2 { margin: 0; color: #2b362b; font: 400 clamp(28px, 3vw, 39px)/1.18 Georgia, serif; }
.g-map-date { padding: 6px 12px; border: 1px solid #cdbf9e; color: #625b46; font-size: 12px; letter-spacing: .07em; white-space: nowrap; }
.g-map-frame { border: 1px solid #cbbd9d; background: #efe4c8; box-shadow: 0 16px 38px #42372113; }
.g-map-toolbar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; min-height: 60px; padding: 8px 14px; background: #fbf7ec; border-bottom: 1px solid #d4c5a5; }
.g-map-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.g-map-tools[hidden] { display: none; }
.g-map-button { display: inline-grid; place-items: center; min-width: 42px; min-height: 42px; padding: 7px 11px; border: 1px solid #cfc3aa; border-radius: 4px; background: #fffdf7; color: #2c3a2d; font: 600 13px 'Segoe UI', Arial, sans-serif; cursor: pointer; }
.g-map-button.g-symbol { font-size: 22px; line-height: 1; }
.g-map-button:hover { background: #eee8d9; }
.g-map-button:disabled { opacity: .4; cursor: default; }
.g-map-scale { min-width: 45px; text-align: center; font: 12px 'Segoe UI', Arial, sans-serif; color: #5e6355; }
.g-original-link { font-size: 12px; color: #46533c; padding: 8px 0; }
.g-map-viewport { position: relative; width: 100%; aspect-ratio: 1160 / 821; overflow: auto; overscroll-behavior: contain; background: #eadfbf; scrollbar-color: #8d927a #e9e0c9; }
.g-map-stage { position: relative; width: 100%; aspect-ratio: 1160 / 821; margin: 0; }
.g-map-stage > img { display: block; width: 100%; height: auto; max-width: none; user-select: none; }
.g-marker { position: absolute; width: 44px; height: 44px; margin-left: calc(var(--dx) - 22px); margin-top: calc(var(--dy) - 22px); z-index: 2; color: #fff; text-decoration: none; }
.g-marker .g-stem { position: absolute; left: calc(-38px - var(--dx)); top: calc(-38px - var(--dy)); width: 120px; height: 120px; overflow: visible; pointer-events: none; }
.g-stem-outline { stroke: #fffaf0; stroke-width: 6; }
.g-stem-ink { stroke: #2d4031; stroke-width: 2; }
.g-marker-location { position: absolute; left: calc(13px - var(--dx)); top: calc(13px - var(--dy)); width: 18px; height: 18px; border: 2px solid #2d4031; border-radius: 50%; box-shadow: 0 0 0 2px #fffaf0; background: transparent; pointer-events: none; }
.g-marker-number { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid #fffaf0; border-radius: 50%; background: #2d4031; color: #fffaf0; font: 700 18px/1 'Segoe UI', Arial, sans-serif; box-shadow: 0 2px 7px #0004; transition: background .15s, box-shadow .15s; }
.g-marker-label { position: absolute; left: 49px; top: 6px; display: block; padding: 7px 9px; border: 1px solid #c8b993; border-radius: 4px; background: #fffaf0f5; color: #29372a; font: 600 12px/1.4 'Segoe UI', Arial, sans-serif; white-space: nowrap; box-shadow: 0 2px 7px #0002; }
.g-marker[data-point="1"] .g-marker-label { left: auto; right: 49px; }
.g-marker:hover, .g-marker:focus-visible, .g-marker.is-selected { z-index: 5; outline: none; }
.g-marker:hover .g-marker-number, .g-marker:focus-visible .g-marker-number, .g-marker.is-selected .g-marker-number { background: #8b4d31; box-shadow: 0 0 0 4px #fffaf0bf, 0 3px 10px #0004; }
.g-marker:focus-visible .g-marker-number { outline: 3px solid #a66538; outline-offset: 4px; }
.g-marker.is-selected .g-marker-location { border-color: #8b4d31; box-shadow: 0 0 0 3px #fffaf0, 0 0 0 6px #8b4d31aa; }
.g-map-caption { margin: 0; padding: 14px 17px; border-top: 1px solid #d4c5a5; background: #fbf7ec; font-size: 12px; line-height: 1.7; color: #656354; }
.g-map-instruction { margin: 19px 0 15px; color: #4e5848; font-size: 14px; line-height: 1.75; }
.g-map-hint { display: none; }
.g-place-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; gap: 0; border: 1px solid var(--g-rule); background: #fffcf4; }
.g-place-list li { min-width: 0; }
.g-place-list a { height: 100%; display: flex; gap: 12px; align-items: flex-start; padding: 16px 17px; text-decoration: none; color: #2e3b2e; font-size: 13px; border-left: 3px solid transparent; }
.g-place-list a:hover, .g-place-list a:focus-visible, .g-place-list a.is-selected { background: #eee9db; border-left-color: #9e6840; }
.g-list-number { flex: 0 0 29px; width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid #c6c4ac; border-radius: 50%; background: #f0efdf; font-size: 12px; font-weight: 700; }
.g-list-name { font-weight: 650; display: block; }
.g-list-sub { display: block; font-size: 11px; font-weight: 400; color: #747364; margin-top: 2px; }
.g-place-list .g-pending .g-list-number { border-style: dashed; border-color: #a8895e; color: #795d3d; background: #f6edda; }
.g-descriptions { padding-top: 48px; }
.g-descriptions > h2 { margin: 0 0 10px; font: 400 33px/1.2 Georgia, serif; color: #2d382c; }
.g-descriptions-intro { margin: 0 0 28px; font-size: 14px; color: #6a6c5f; max-width: 790px; }
.g-place { position: relative; display: grid; grid-template-columns: 47px minmax(0, 330px) minmax(0, 1fr); gap: 18px 24px; padding: 28px 0 30px; border-top: 1px solid var(--g-rule); scroll-margin-top: 112px; }
.g-place:target, .g-place.is-selected { background: linear-gradient(90deg, #eee8d8a3, transparent); }
.g-place:focus { outline: none; }
.g-place > .g-place-number { display: grid; place-items: center; width: 44px; height: 44px; margin-top: 3px; border-radius: 50%; background: #e7e6d6; color: #42503a; font: 400 22px/1 Georgia, serif; }
.g-place h3 { margin: 0 0 9px; font: 400 clamp(23px, 2.5vw, 28px)/1.24 Georgia, serif; color: #2e392b; overflow-wrap: break-word; }
.g-place-meta { color: #777563; font-size: 12px; margin: 0; }
.g-place-copy p { margin: 0 0 13px; color: #4c5247; font-size: 15px; line-height: 1.85; text-align: justify; hyphens: auto; }
.g-place-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.g-place-links a { font-size: 12px; font-weight: 600; }
.g-place-gallery { grid-column: 2 / -1; margin-top: 10px; min-width: 0; }
.g-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; max-width: 1040px; }
.g-gallery--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
.g-gallery--single { grid-template-columns: minmax(0, 1fr); max-width: 400px; }
.g-gallery figure { margin: 0; min-width: 0; }
.g-gallery a { display: flex; align-items: center; justify-content: center; width: 100%; height: 240px; padding: 7px; background: #eee8db; border: 1px solid #d5cab5; }
.g-gallery a:hover { border-color: #8a7756; background: #e8e0d0; }
.g-gallery img { display: block; max-width: 100%; max-height: 100%; width: 100%; height: auto; object-fit: contain; }
.g-gallery--single a { height: 330px; }
.g-gallery figcaption { margin-top: 8px; font-size: 12px; line-height: 1.6; color: #6c6e60; }
.gajowki-page .lightbox figcaption { max-width: 820px; }
.g-place.is-pending > .g-place-number { border: 1px dashed #ac8f62; background: #f6edda; color: #795d3d; }
.g-place.is-pending .g-place-meta { color: #8a6138; }
.g-source-note { padding-top: 22px; margin-top: 10px; border-top: 1px solid var(--g-rule); color: #757365; font-size: 12px; line-height: 1.8; }
.g-source-note p { margin: 0 0 8px; }
#mapa-gajowek { scroll-margin-top: 110px; }
@media (max-width: 900px) {
  .g-marker-label { font-size: 11px; }
  .g-place-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-place { grid-template-columns: 44px minmax(0, 1fr); gap: 8px 18px; }
  .g-place-copy { grid-column: 2; }
  .g-hero .container { padding-block: 33px 36px; }
}
@media (max-width: 680px) {
  .gajowki-page .container { width: calc(100% - 30px); }
  .gajowki-page .header-inner { gap: 12px; }
  .gajowki-page .brand-title { font-size: clamp(18px, 5.2vw, 24px); }
  .gajowki-page .brand-tagline { font-size: 11px; }
  .gajowki-page .menu-toggle { flex: 0 0 44px; }
  .gajowki-page .dropdown-menu { max-height: none; overflow: visible; }
  .g-hero h1 { font-size: clamp(35px, 9vw, 48px); margin-top: 21px; }
  .g-hero p { font-size: 14px; line-height: 1.8; text-align: justify; hyphens: auto; }
  .g-crumbs { font-size: 11px; }
  .g-main { padding-top: 29px; padding-bottom: 40px; }
  .g-name-note { padding: 14px 16px; margin-bottom: 26px; }
  .g-name-note p { font-size: 13px; }
  .g-section-heading h2 { font-size: 29px; }
  .g-map-date { font-size: 10px; padding: 5px 8px; }
  .g-map-toolbar { padding: 7px 8px; gap: 3px 8px; }
  .g-map-button { min-width: 40px; min-height: 42px; padding-inline: 8px; font-size: 11px; }
  .g-map-scale { min-width: 35px; font-size: 11px; }
  .g-original-link { font-size: 11px; }
  .g-map-caption { padding: 10px 12px; font-size: 10px; }
  .g-marker-label { display: none; }
  .g-marker:focus-visible .g-marker-label { display: block; }
  .g-map-instruction { margin: 15px 0 13px; font-size: 13px; }
  .g-map-hint { display: block; color: #727160; font-size: 11px; margin-top: 4px; }
  .g-place-list { grid-template-columns: 1fr; }
  .g-place-list a { padding: 11px 13px; gap: 11px; }
  .g-descriptions { padding-top: 32px; }
  .g-descriptions > h2 { font-size: 29px; }
  .g-descriptions-intro { font-size: 13px; }
  .g-place { gap: 8px 13px; padding-block: 22px; scroll-margin-top: 90px; }
  .g-place h3 { font-size: 24px; }
  .g-place-copy p { font-size: 14px; }
  .g-place-gallery { grid-column: 1 / -1; margin-top: 5px; }
  .g-gallery { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .g-gallery a { height: auto; padding: 5px; }
  .g-gallery img { max-height: 280px; }
  .g-gallery--single { grid-template-columns: minmax(0, 1fr); max-width: 280px; }
  .g-gallery--single img { max-height: 330px; }
  .g-gallery figcaption { font-size: 11px; }
  .gajowki-page .lightbox figure { padding: 55px 43px 30px; }
  .gajowki-page .lightbox-prev, .gajowki-page .lightbox-next { width: 34px; height: 42px; font-size: 28px; }
  .gajowki-page .lightbox-prev { left: 4px; }
  .gajowki-page .lightbox-next { right: 4px; }
  .gajowki-page .lightbox figcaption { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .g-marker-number { transition: none; }
}
@media print {
  .gajowki-page .site-header, .gajowki-page .site-footer, .g-crumbs, .g-map-toolbar, .g-place-links, .g-map-hint { display: none; }
  .gajowki-page .lightbox { display: none !important; }
  .g-hero { color: #222; background: #fff; }
  .g-hero::before, .g-hero::after { display: none; }
  .g-hero h1, .g-hero p { color: #222; }
  .g-hero .container { padding-block: 15px; }
  .g-map-viewport { overflow: visible; aspect-ratio: auto; }
  .g-map-stage { width: 100% !important; }
  .g-map-frame { box-shadow: none; break-inside: avoid; }
  .g-place { break-inside: avoid; }
  .g-marker-label { font-size: 10px; }
  .g-main { padding-top: 15px; }
}
