/* Small additive styles; the archive continues using the established museum design tokens. */
.astro-site{min-height:100vh}.astro-site .hero-art-inner img,.atlas-map-card img,.museum-map img{display:block;width:100%;height:100%;object-fit:contain;max-height:590px}
.astro-site .story-card[hidden],.astro-site .post-row[hidden]{display:none!important}
.museum-controls{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:30px}
.museum-controls label,.museum-copy label{font-weight:700;letter-spacing:.07em;text-transform:uppercase;font-size:12px}
.museum-controls input,.museum-copy input{padding:15px 18px;width:min(100%,550px);font:inherit;background:#fff;border:1px solid #bfb7a7;border-radius:4px;color:#151e25}
.empty-state{padding:24px 0;color:#5e6368}.topic-buttons{display:flex;gap:8px;flex-wrap:wrap}.topic-buttons button{padding:9px 16px;border:1px solid #8a8c8d;background:transparent;border-radius:4px;color:#151e25;cursor:pointer}.topic-buttons button.is-active{background:#151e25;color:white}
.museum-map-layout{display:grid;grid-template-columns:1.4fr 1fr;gap:36px}.museum-map{min-height:430px;background:#151e25;border-radius:3px;padding:20px}.museum-map p{color:#f0e4cc;font-size:13px;line-height:1.5}.museum-map-list button{display:block;text-align:left;background:none;padding:14px 10px;border:0;border-bottom:1px solid #c4c2bc;width:100%;cursor:pointer;font:inherit;color:#151e25}.museum-map-list button[aria-pressed="true"]{background:#e9e1d2;font-weight:700}#map-detail{margin-top:18px;padding:20px;background:#efe7db}#map-detail h3{margin-top:0}
.museum-copy{max-width:800px;line-height:1.8;font-size:18px}.museum-copy p{margin-block:18px}.museum-source-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:36px}.museum-source-list article{border:1px solid #dad4ca;padding:24px}.museum-source-list h2{font-size:1.25rem}
.museum-article{display:grid;grid-template-columns:minmax(0,2fr) minmax(200px,1fr);gap:50px}.museum-article-main{font-size:19px;line-height:1.8;max-width:780px}.museum-article-main h2{font-family:Georgia,serif;margin-top:40px}.museum-article-side{align-self:start;border-top:3px solid #a18b68;padding:18px;background:#f5eee4;display:flex;flex-direction:column;gap:12px;overflow-wrap:anywhere}.museum-back{display:inline-block;margin-bottom:30px;color:#ead8b7}.museum-datelabel{text-transform:uppercase;font-size:14px;letter-spacing:.1em}.museum-search-row{display:flex;flex-direction:column;border-bottom:1px solid #dad4ca;padding:18px 0;gap:8px}.museum-results{margin-top:24px}
@media(max-width:760px){.museum-map-layout,.museum-article,.museum-source-list{grid-template-columns:1fr}.museum-map{min-height:300px}.museum-article{gap:20px}.museum-copy{font-size:16px}}@media(prefers-reduced-motion:reduce){.astro-site *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Public-safe staging notice, rendered only on netlify.app preview host */
.staging-notice{background:#e9e1d2;color:#26323b;text-align:center;font-size:12px;line-height:1.5;letter-spacing:.02em;padding:10px 16px;font-weight:600}
@media(min-width:640px){.staging-notice{font-size:13px;padding:10px 24px}}

/* Verbatim Facebook post copy: retain original line breaks, punctuation, emoji and hashtags. */
.museum-facebook-original{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font:inherit;margin:16px 0 24px}
.museum-original-label{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;opacity:.75}

/* Photographs within approved heritage stories. Keep the author-submitted original post text untouched. */
.heritage-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0 28px}
.heritage-gallery figure{margin:0;border:1px solid #d9d1c4;background:#f5f0e8}
.heritage-gallery img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}
.heritage-gallery figcaption{padding:12px 14px;font-size:12px;line-height:1.55;color:#3f4b50}
.heritage-gallery figcaption span{display:block;margin-top:6px;color:#7a6550;font-weight:600}
.heritage-related{border-left:3px solid #a18b68;padding:14px 18px;margin:28px 0;background:#f5eee4}
.heritage-related strong{display:block;font-size:13px;letter-spacing:.04em;text-transform:uppercase}
.heritage-related a{display:block;margin-top:7px;line-height:1.5;overflow-wrap:anywhere}
@media(max-width:620px){.heritage-gallery{grid-template-columns:1fr}.heritage-gallery img{max-height:none}}

/* Owner-approved standalone article: one uncaptioned photograph, full-width editorial text. */
.museum-article--full{grid-template-columns:minmax(0,1fr)}
.heritage-gallery--single{grid-template-columns:minmax(0,390px)}
.museum-article-verbatim p{margin:0 0 1.2em;overflow-wrap:anywhere}
.museum-article-verbatim h2{margin-top:1.9em;margin-bottom:.65em}

/* Data-driven cemetery atlas; the backdrop is schematic, not grave-level geography. */
.museum-map-graphic{position:relative;aspect-ratio:620/660;width:min(100%,560px);margin:0 auto}
.museum-map .museum-map-graphic img{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;object-fit:contain}
.museum-map-marker{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;gap:7px;border:1px solid #dec79c;border-radius:30px;background:#172732;color:#fff;box-shadow:0 0 0 4px #14222a88;padding:8px 11px;font-size:13px;font-weight:700;white-space:nowrap;cursor:pointer;z-index:1}
.museum-map-marker[aria-pressed="true"],.museum-map-marker:hover{background:#a85c4e;border-color:#f6ddb0;color:#fff;z-index:2}
.museum-map-marker:focus-visible,.museum-map-list button:focus-visible{outline:3px solid #e4b15f;outline-offset:3px}
.museum-map-pin-dot{width:10px;height:10px;border-radius:50%;background:#e1c28e;flex-shrink:0}
.museum-map-note{margin:8px 0 0;color:#f0e4cc;font-size:13px;line-height:1.55}
.museum-map-list button strong,.museum-map-list button small{display:block}
.museum-map-list button small{font-size:13px;opacity:.75;margin-top:4px}
.museum-map-detail{margin-top:18px;padding:20px;background:#efe7db}
.museum-map-detail[hidden]{display:none}
.museum-map-graves ul{margin:8px 0 15px;padding-left:24px}
.museum-map-links{display:flex;flex-wrap:wrap;gap:10px 20px}
.museum-map-links a{overflow-wrap:anywhere}
@media(max-width:760px){.museum-map-graphic{width:min(100%,430px)}.museum-map-marker{font-size:12px;padding:6px 8px}.museum-map-note{font-size:12px}}

/* Clear editorial news index and prominent, verified anniversaries. */
.news-section-intro{max-width:540px;margin:12px 0 0;font-size:16px;line-height:1.6;opacity:.85}
.news-list-intro{max-width:790px;margin:0 0 26px;font-size:17px;line-height:1.65}
.topic-buttons button:focus-visible{outline:3px solid #ab7950;outline-offset:3px}
.topic-buttons button[aria-pressed="true"]{background:#151e25;color:#fff}

/* Official user-supplied Polish–Welsh remembrance emblem in the global wordmark. */
.astro-site .brand .brand-emblem{
 display:block;width:48px;height:48px;max-width:48px;aspect-ratio:1;
 object-fit:contain;border-radius:50%;flex:0 0 auto;
}
.astro-site .brand span{min-width:0}
@media(max-width:580px){
 .astro-site .brand{gap:10px;min-width:0;max-width:calc(100% - 64px);white-space:normal}
 .astro-site .brand .brand-emblem{width:40px;height:40px;max-width:40px}
 .astro-site .brand strong{font-size:clamp(9px,2.4vw,11px);letter-spacing:.09em;white-space:normal}
 .astro-site .brand small{font-size:8px;letter-spacing:.16em;white-space:normal}
}

/* New long-form, owner-supplied memorial research stories. */
.museum-article--full .museum-article-main{max-width:950px;width:100%}
.museum-article--full .museum-article-verbatim{max-width:820px}
.museum-article--full .museum-article-verbatim h2{font-family:Georgia,serif;line-height:1.25;letter-spacing:-.01em;margin:2em 0 .65em;font-size:clamp(23px,3vw,32px)}
.museum-article--full .museum-article-verbatim p{line-height:1.8;overflow-wrap:anywhere}
.museum-article--full .heritage-gallery{grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));align-items:start;gap:18px;max-width:950px}
.museum-article--full .heritage-gallery img{aspect-ratio:auto;object-fit:contain;height:auto;max-height:none}
@media(max-width:640px){.museum-article--full .heritage-gallery{grid-template-columns:1fr}.museum-article--full .museum-article-verbatim h2{margin-top:1.8em}}

/* A long-form biography title should remain legible on small phones. */
.interior-hero h1.article-long-title{font-size:clamp(29px,4.3vw,60px);max-width:100%;overflow-wrap:break-word;line-height:1.12}
@media(max-width:620px){.interior-hero h1.article-long-title{font-size:clamp(28px,7vw,37px)}}

/* Preserve archive-source line breaks while making inline bibliographic URLs clickable. */
.museum-article-verbatim .museum-source-paragraph{white-space:pre-wrap;overflow-wrap:anywhere}
.museum-article-verbatim .museum-source-paragraph a{word-break:break-word}
