/*
Theme Name: gemmaSTEIL
Theme URI: https://gemmasteil.at
Author: Jakob Roniger
Description: Clean editorial WordPress theme for gemmaSTEIL. Layout and visual system live here; tour/map functionality lives in the gemmaSTEIL Enhancements plugin.
Version: 0.1.2
Text Domain: gemmasteil
Requires at least: 6.0
Requires PHP: 8.0
*/

:root {
  --gst-bg: #f7f5f0;
  --gst-paper: #fffefa;
  --gst-ink: #20211d;
  --gst-muted: #6f716b;
  --gst-soft: #ece7dd;
  --gst-line: #ded8cc;
  --gst-accent: #2f3530;
  --gst-max: 1180px;
  --gst-content: 700px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--gst-bg);
  color: var(--gst-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img, video { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100000; background: white; padding: .6rem .8rem; }

.gst-wrap { width: min(var(--gst-max), calc(100% - 2rem)); margin-inline: auto; }
.gst-site-header { background: var(--gst-bg); }
.gst-hero {
  min-height: clamp(230px, 34vh, 420px);
  display: flex;
  align-items: end;
  border-bottom: 1px solid var(--gst-line);
  background: var(--gst-bg);
  position: relative;
  overflow: hidden;
}
.gst-hero.has-image { color: #fff; background: #222; }
.gst-hero.has-image::before { content: ""; position: absolute; inset: 0; background-image: var(--gst-header-image); background-size: cover; background-position: center 34%; transform: scale(1.01); }
.gst-hero.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.42), rgba(0,0,0,.04)); }
.gst-branding { position: relative; z-index: 1; padding: 2.4rem 0; }
.gst-site-title { margin: 0; display: flex; align-items: flex-end; gap: clamp(.75rem, 1.8vw, 1.35rem); font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: .95; letter-spacing: -.045em; text-transform: uppercase; }
.gst-site-title a { text-decoration: none; }
.gst-header-mark { display: block; width: clamp(8.8rem, 18vw, 16rem); height: auto; flex: 0 0 auto; margin-bottom: .05em; }
.gst-site-description { margin: .45rem 0 0; color: currentColor; opacity: .82; font-size: 1.05rem; }
.gst-nav { border-bottom: 1px solid var(--gst-line); background: rgba(247,245,240,.96); }
.gst-nav-inner { display: flex; gap: 1rem; align-items: center; min-height: 54px; }
.gst-menu { display: flex; flex-wrap: wrap; gap: .15rem 1rem; list-style: none; margin: 0; padding: 0; }
.gst-menu a { display: block; padding: .85rem 0; text-decoration: none; font-weight: 650; letter-spacing: .01em; }
.gst-menu a:hover, .gst-menu .current-menu-item > a, .gst-menu .current-category-ancestor > a { text-decoration: underline; text-underline-offset: .25em; }
.gst-menu-adventure-map a { display: inline-flex; align-items: center; gap: .42rem; }
.gst-menu-map-icon { width: 1.05rem; height: 1.05rem; display: inline-grid; place-items: center; }
.gst-menu-map-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gst-menu-toggle { display: none; }

.gst-site-main { padding: 3rem 0 4rem; }
.gst-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 34%); grid-template-areas: "content sidebar" "footer sidebar"; gap: clamp(2rem, 5vw, 4rem); align-items: start; min-width: 0; }
.gst-content { max-width: var(--gst-content); min-width: 0; }
.gst-layout .gst-content { grid-area: content; max-width: none; }
.gst-entry-content { min-width: 0; max-width: 100%; overflow-wrap: break-word; }
.gst-post-footer { grid-area: footer; display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 34%); gap: clamp(1.8rem, 4vw, 3rem); align-items: start; max-width: var(--gst-content); }
.gst-post-footer .comments-area { min-width: 0; }
.gst-post-footer .gst-post-end { min-width: 0; }
.gst-entry-header { margin: 0 0 1.8rem; }
.gst-entry-meta { margin: 0 0 .45rem; color: var(--gst-muted); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.gst-entry-title { margin: 0; font-size: clamp(2rem, 5vw, 3.9rem); line-height: 1.04; letter-spacing: -.045em; }
.gst-entry-title a { text-decoration: none; }
.gst-entry-title a:hover { text-decoration: underline; text-underline-offset: .16em; }
.gst-entry-content > p,
.gst-entry-content > ul,
.gst-entry-content > ol,
.gst-entry-content > blockquote,
.gst-entry-content > h2,
.gst-entry-content > h3,
.gst-entry-content > h4 { max-width: var(--gst-content); }
.gst-entry-content p, .gst-entry-content li { font-size: clamp(1.02rem, 1.1vw, 1.14rem); }
.gst-entry-content h2 { margin-top: 3rem; font-size: clamp(1.45rem, 2.4vw, 2.1rem); line-height: 1.18; letter-spacing: -.02em; }
.gst-entry-content blockquote,
.gst-entry-content .wp-block-quote {
  margin: 2rem 0;
  padding: .15rem 0 .15rem 1.25rem;
  border-left: 4px solid var(--gst-ink);
  color: var(--gst-muted);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}
.gst-entry-content blockquote p,
.gst-entry-content .wp-block-quote p { font-size: clamp(1.14rem, 1.5vw, 1.32rem); line-height: 1.55; }
.gst-entry-content blockquote cite,
.gst-entry-content .wp-block-quote cite { display: block; margin-top: .75rem; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif; font-size: .9rem; font-style: normal; color: var(--gst-muted); }
.gst-entry-content .wp-block-image,
.gst-entry-content .wp-block-gallery,
.gst-entry-content .wp-block-video,
.gst-entry-content .gemmasteil-carousel,
.gst-entry-content .gemmasteil-map-section { margin: 2rem 0; max-width: 100%; clear: both; }
.gst-entry-content figcaption { color: var(--gst-muted); font-size: .9rem; text-align: left; margin-top: .55rem; }
.gst-entry-content img { border-radius: 0; }

.gst-sidebar { grid-area: sidebar; position: sticky; top: 1.5rem; }
.gst-sidebar .widget { margin: 0 0 2rem; }
.gst-sidebar .widget-title { margin: 0 0 .8rem; font-size: 1rem; }

.gst-archive-header { max-width: 760px; margin: 0 auto 2rem; }
.gst-archive-title { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.035em; }
.gst-post-list { width: min(1088px, 100%); margin-inline: auto; }
.gst-archive-card {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: 0 clamp(1.8rem, 3vw, 2.6rem);
  min-height: 260px;
  padding: 1.55rem 0;
  border-bottom: 1px solid var(--gst-line);
}
.gst-archive-card:last-child { border-bottom: 0; }
.gst-archive-thumb { grid-row: 1 / span 3; height: 226px; overflow: hidden; background: var(--gst-soft); }
.gst-archive-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.96) contrast(1.02); }
.gst-archive-card:not(.has-thumb) { grid-template-columns: 1fr; min-height: 0; }
.gst-archive-card:not(.has-thumb) > * { max-width: 760px; }
.gst-archive-card .gst-entry-title { font-size: clamp(1.45rem, 2vw, 1.95rem); line-height: 1.13; letter-spacing: -.015em; margin-top: .35rem; }
.gst-archive-summary { grid-column: 2; color: var(--gst-muted); margin-top: .75rem; max-width: 58ch; }
.gst-archive-card:not(.has-thumb) .gst-archive-summary { grid-column: 1; }
.gst-archive-tags { display: flex; flex-wrap: wrap; gap: .35rem .55rem; margin: 0 0 .7rem; font-size: .82rem; line-height: 1.35; }
.gst-archive-tags a { color: var(--gst-muted); text-decoration: none; border-bottom: 1px solid rgba(111,113,107,.35); }
.gst-archive-tags a:hover { color: var(--gst-ink); border-bottom-color: var(--gst-ink); }
.gst-archive-summary p { margin: 0 0 .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gst-text-link { font-weight: 650; text-decoration: underline; text-underline-offset: .22em; }

.gst-post-end { margin: 0 0 2rem; max-width: var(--gst-content); border-top: 1px solid var(--gst-line); border-bottom: 1px solid var(--gst-line); padding: 1.4rem 0; }
.gst-post-end h2, .comments-title, .comment-reply-title { margin: 0 0 1rem; font-size: 1.35rem; font-weight: 400; line-height: 1.25; }
.gst-continue-item { display: grid; grid-template-columns: 54px 1fr; gap: .7rem; align-items: center; padding: .55rem 0; text-decoration: none; border-top: 1px solid rgba(222,216,204,.65); font-weight: 400; }
.gst-continue-item:first-of-type { border-top: 0; }
.gst-continue-thumb img { width: 54px; height: 42px; object-fit: cover; display: block; }

.comments-area { max-width: var(--gst-content); margin: 0 0 2rem; border-top: 1px solid var(--gst-line); padding-top: 1.4rem; }
.comment-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.comment-list .comment { padding: 1rem 0; border-top: 1px solid rgba(222,216,204,.75); }
.comment-list .comment:first-child { border-top: 0; }
.comment-meta, .comment-metadata { color: var(--gst-muted); font-size: .86rem; }
.comment-author .avatar { width: 38px; height: 38px; border-radius: 50%; margin-right: .55rem; vertical-align: middle; }
.comment-content { margin-top: .7rem; }
.comment-content p { margin: 0 0 .8rem; }
.comment-reply-link { color: var(--gst-muted); font-size: .9rem; text-decoration: underline; text-underline-offset: .22em; }
.comment-form { display: grid; gap: .9rem; }
.comment-form p { margin: 0; }
.comment-form label { display: block; margin-bottom: .25rem; color: var(--gst-muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea { width: 100%; border: 1px solid var(--gst-line); border-radius: 0; padding: .75rem .85rem; background: var(--gst-paper); color: var(--gst-ink); font: inherit; }
.comment-form textarea { min-height: 150px; resize: vertical; }
.comment-form input:focus,
.comment-form textarea:focus { outline: 2px solid rgba(32,33,29,.18); border-color: var(--gst-ink); }
.comment-form .form-submit input,
.comment-form input[type="submit"] { border: 1px solid var(--gst-ink); border-radius: 0; padding: .75rem 1rem; background: var(--gst-ink); color: #fff; font-weight: 700; cursor: pointer; }
.comment-form .form-submit input:hover,
.comment-form input[type="submit"]:hover { background: transparent; color: var(--gst-ink); }
.comment-notes, .logged-in-as, .comment-form-cookies-consent { color: var(--gst-muted); font-size: .92rem; }
.comment-form-cookies-consent { display: flex; gap: .45rem; align-items: flex-start; }
.comment-form-cookies-consent label { margin: 0; font-size: .88rem; font-weight: 400; text-transform: none; letter-spacing: 0; }

.nav-links { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.gst-site-footer { border-top: 1px solid var(--gst-line); padding: 2rem 0; color: var(--gst-muted); font-size: .9rem; }

/* Plugin-provided semantic components: visual treatment belongs to the theme. */
.gemmasteil-tour-info { padding: 1.1rem 0; background: transparent; border-top: 1px solid var(--gst-line); border-bottom: 1px solid var(--gst-line); }
.gemmasteil-tour-info h2 { margin: 0 0 1rem; font-size: 1.05rem; }
.gemmasteil-tour-info dl { display: grid; gap: .75rem; margin: 0; }
.gemmasteil-tour-info dl > div { padding: 0 0 .75rem; border-bottom: 1px solid rgba(222,216,204,.75); }
.gemmasteil-tour-info dt { margin: 0 0 .1rem; color: var(--gst-muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.gemmasteil-tour-info dd { margin: 0; font-weight: 650; line-height: 1.35; }
.gemmasteil-tour-info__downloads { display: grid; gap: .55rem; margin-top: 1rem; }
.gemmasteil-tour-info__downloads strong { color: var(--gst-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.gemmasteil-download-link { display: flex; align-items: center; justify-content: space-between; gap: .7rem; border: 1px solid var(--gst-line); border-radius: 3px; padding: .7rem .85rem; background: #fff; text-decoration: none; font-weight: 650; }
.gemmasteil-download-link:hover { border-color: var(--gst-ink); }
.gemmasteil-map-section { padding: 0; background: transparent; }
.gemmasteil-map-section h2 { margin-bottom: 1rem; }
.gemmasteil-map-section.is-sidebar { margin: 0; }
.gemmasteil-map { position: relative; min-height: var(--gemmasteil-map-height, 520px); overflow: hidden; border: 1px solid var(--gst-line); background: #e5e1d8; }
.gemmasteil-map.is-fullscreen { position: fixed !important; inset: 9vh 11vw; z-index: 2147483000; height: 82vh !important; min-height: 0; border: 1px solid #fff; box-shadow: 0 18px 80px rgba(0,0,0,.38); }
.gemmasteil-map-backdrop { position: fixed; inset: 0; z-index: 2147482999; background: rgba(12,13,11,.72); cursor: zoom-out; }
body.gemmasteil-map-open { overflow: hidden; }
body.gemmasteil-map-open .gst-site-header { position: relative; z-index: 0; }
.gemmasteil-map__fullscreen { position: absolute; z-index: 500; right: 12px; top: 12px; border: 1px solid rgba(255,255,255,.7); border-radius: 3px; padding: .5rem .7rem; color: #fff; background: rgba(32,33,29,.82); font-weight: 650; cursor: pointer; }
.gemmasteil-map .leaflet-control-attribution { display: none !important; }
.gemmasteil-map__legend { position: absolute; z-index: 450; left: 12px; bottom: 12px; max-width: min(320px, calc(100% - 24px)); padding: .65rem .75rem; background: rgba(255,255,255,.93); border: 1px solid var(--gst-line); border-radius: 3px; font-size: .85rem; }
.gemmasteil-map__legend-title { display: block; margin-bottom: .35rem; color: var(--gst-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.gemmasteil-map__legend-item { display: flex; align-items: center; gap: .45rem; margin-top: .2rem; }
.gemmasteil-map__legend-swatch { width: 1.2rem; height: 3px; display: inline-block; }
.gemmasteil-map-marker { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #20211d; color: white; border: 2px solid white; font-size: 11px; font-weight: 800; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.gemmasteil-map-marker.is-hut { background: #7a4b2a; }
.gemmasteil-map-marker.is-camp { background: #0f766e; }
.gemmasteil-map-marker.is-poi { background: #20211d; }
.gemmasteil-map-marker.is-end { background: #5b5d63; }

.gst-adventure-page { width: min(1320px, 100%); margin-inline: auto; }
.gst-adventure-hero { max-width: 800px; margin: 0 0 2rem; }
.gst-adventure-hero h1 { margin: 0; font-size: clamp(2.4rem, 6vw, 5.4rem); line-height: .96; letter-spacing: -.055em; }
.gst-adventure-hero p:last-child { margin: .8rem 0 0; color: var(--gst-muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 58ch; }
.gst-adventure-shell { display: grid; grid-template-columns: minmax(230px, 280px) minmax(0, 1fr); gap: clamp(1rem, 2.4vw, 2rem); align-items: stretch; min-height: min(760px, calc(100vh - 210px)); }
.gst-adventure-panel { display: flex; flex-direction: column; gap: 1.4rem; border-top: 1px solid var(--gst-line); border-bottom: 1px solid var(--gst-line); padding: 1.1rem 0; }
.gst-adventure-panel h2 { margin: 0 0 .3rem; font-size: .9rem; text-transform: uppercase; letter-spacing: .11em; }
.gst-adventure-panel p { margin: 0; color: var(--gst-muted); font-size: .92rem; line-height: 1.45; }
.gst-adventure-filters { display: grid; gap: .55rem; }
.gst-adventure-filter { display: grid; grid-template-columns: auto 24px 1fr auto; gap: .55rem; align-items: center; cursor: pointer; font-weight: 650; }
.gst-adventure-filter input { accent-color: var(--gst-ink); }
.gst-adventure-filter__line { width: 24px; height: 4px; display: inline-block; }
.gst-adventure-filter em { color: var(--gst-muted); font-style: normal; font-size: .82rem; }
.gst-adventure-legend { margin-top: auto; display: grid; gap: .45rem; }
.gst-adventure-legend p { display: flex; align-items: center; gap: .55rem; }
.gst-adventure-map { min-height: min(760px, calc(100vh - 210px)); border: 1px solid var(--gst-line); background: #e5e1d8; }
.gst-adventure-map .leaflet-control-attribution { display: none !important; }
.gst-adventure-popup { width: min(300px, 74vw); color: var(--gst-ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif; }
.gst-adventure-popup__image { width: 100%; height: 108px; object-fit: cover; display: block; margin-bottom: .7rem; filter: saturate(.95) contrast(1.02); }
.gst-adventure-popup__type { margin: 0 0 .25rem; color: var(--route-color, var(--gst-muted)); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.gst-adventure-popup h2 { margin: 0 0 .45rem; font-size: 1.15rem; line-height: 1.16; }
.gst-adventure-popup p { margin: 0 0 .65rem; line-height: 1.42; }
.gst-adventure-popup dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem .7rem; margin: .75rem 0; padding-top: .6rem; border-top: 1px solid var(--gst-line); }
.gst-adventure-popup dt { color: var(--gst-muted); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.gst-adventure-popup dd { margin: 0; font-weight: 650; line-height: 1.25; }
.gst-adventure-popup__link { display: inline-flex; margin-top: .25rem; border: 1px solid var(--gst-ink); padding: .48rem .65rem; background: var(--gst-ink); color: #fff; text-decoration: none; font-weight: 750; }
.gst-adventure-popup__link:hover { background: transparent; color: var(--gst-ink); }
.gst-adventure-map .leaflet-popup-content-wrapper { border-radius: 2px; box-shadow: 0 16px 50px rgba(0,0,0,.22); }
.gst-adventure-map .leaflet-popup-content { margin: .8rem; }
.gst-adventure-map .leaflet-tooltip { border-radius: 2px; border-color: var(--gst-line); box-shadow: 0 6px 24px rgba(0,0,0,.16); font-weight: 650; }
.gemmasteil-carousel { position: relative; clear: both; }
.gemmasteil-carousel__track { display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .15rem 0 .8rem; }
.wp-block-gallery.gemmasteil-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; overflow: visible; padding: .15rem 0 .8rem; }
.wp-block-jetpack-slideshow,
.wp-block-jetpack-slideshow_container,
.wp-block-jetpack-slideshow .swiper-container {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
}
.wp-block-jetpack-slideshow_swiper-wrapper { max-width: none !important; }
.wp-block-jetpack-slideshow_slide { max-width: 100% !important; overflow: hidden; }
.wp-block-jetpack-slideshow_image { width: 100% !important; max-width: 100% !important; height: auto !important; object-fit: contain; }
.gemmasteil-carousel__slide { flex: 0 0 min(72%, 640px); scroll-snap-align: center; margin: 0; }
.gemmasteil-carousel__button { position: absolute; top: 45%; z-index: 5; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.8); border-radius: 3px; background: rgba(32,33,29,.78); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.gemmasteil-carousel__button[data-carousel-prev] { left: .5rem; }
.gemmasteil-carousel__button[data-carousel-next] { right: .5rem; }
.gemmasteil-lightbox { position: fixed; inset: 0; z-index: 99998; display: grid; place-items: center; padding: 2rem; background: rgba(12,13,11,.88); }
.gemmasteil-lightbox img { max-width: min(1200px, 94vw); max-height: 88vh; box-shadow: 0 30px 90px rgba(0,0,0,.45); }
.gemmasteil-lightbox button { position: absolute; top: 1rem; right: 1rem; border: 1px solid var(--gst-line); border-radius: 3px; padding: .65rem .9rem; background: white; color: var(--gst-ink); font-weight: 800; }

@media (max-width: 860px) {
  .gst-layout { display: flex; flex-direction: column; gap: 2rem; width: 100%; max-width: 100%; min-width: 0; overflow: hidden; }
  .gst-layout > * { width: 100%; max-width: 100%; min-width: 0; }
  .gst-content { order: 1; width: 100%; max-width: 100%; min-width: 0; overflow: hidden; }
  .gst-entry-header,
  .gst-entry-content,
  .gst-entry-content > p,
  .gst-entry-content > ul,
  .gst-entry-content > ol,
  .gst-entry-content > blockquote,
  .gst-entry-content > h2,
  .gst-entry-content > h3,
  .gst-entry-content > h4 { max-width: 100%; min-width: 0; }
  .gst-entry-title { overflow-wrap: anywhere; hyphens: auto; }
  .gst-entry-content .gemmasteil-lightbox-link { display: block; max-width: 100%; overflow: hidden; }
  .gst-entry-content .gemmasteil-lightbox-link img { display: block; width: 100%; max-width: 100%; height: auto; }
  .gst-sidebar { order: 2; position: static; width: 100%; }
  .gst-post-footer { order: 3; display: flex; flex-direction: column; gap: 2rem; max-width: none; width: 100%; }
  .gst-post-footer .comments-area { order: 1; width: 100%; max-width: none; }
  .gst-post-footer .gst-post-end { order: 2; width: 100%; max-width: none; }
  .gst-adventure-shell { grid-template-columns: 1fr; min-height: 0; }
  .gst-adventure-panel { order: 2; }
  .gst-adventure-map { min-height: 70vh; }
}
@media (max-width: 760px) {
  .gst-wrap { width: min(100% - 2rem, var(--gst-max)); }
  .gst-hero { min-height: 190px; }
  .gst-branding { padding: 2rem 0; }
  .gst-site-title { gap: .65rem; }
  .gst-header-mark { width: clamp(7rem, 34vw, 10.5rem); }
  .gst-archive-card { display: block; min-height: 0; padding: 1.4rem 0; }
  .gst-archive-thumb { margin-bottom: 1rem; }
  .gst-archive-summary { max-width: none; }
  .gst-menu { gap: .1rem .8rem; }
  .gemmasteil-map { min-height: 380px; }
  .gemmasteil-map.is-fullscreen { inset: 3vh 4vw; height: 94vh !important; border: 0; }
  .wp-block-gallery.gemmasteil-gallery { grid-template-columns: 1fr; }
  .gemmasteil-lightbox { padding: .75rem; }
  .gemmasteil-lightbox img { max-width: 96vw; max-height: 82vh; }
}
