/* The blog: the list (blog.html) and the articles (blog/*.html). Same paper and ink as the map.
   Each page carries both languages; blog.js sets <html lang> and the rule below hides the other one. */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
html[lang="pl"] [lang="en"],html[lang="en"] [lang="pl"]{display:none}
body{margin:0;min-height:100dvh;display:flex;flex-direction:column;background:#efe3c6;color:#3b2a18;font:1.125rem/1.6 Georgia,"EB Garamond","Palatino Linotype",serif}
a{color:#7a3b14;text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{color:#5a2a10}
button:focus-visible,a:focus-visible{outline:2px solid #7d3a16;outline-offset:2px;box-shadow:0 0 0 2px #fff4dc}
img{max-width:100%;height:auto;display:block}

/* header: the name on the left, the way back to the map on the right */
.bhead{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;max-width:1248px;min-height:64px;margin:0 auto;padding:8px 24px}
.bbrand{font-size:1.3125rem;line-height:1.2;color:#3b2a18;text-decoration:none}
.bbrand span{color:#8a5a2c;font-style:italic}
.bhead nav{display:flex;align-items:center;gap:6px}
.bhead nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border-radius:22px;color:#4a3218;font-weight:600;font-size:1rem;text-decoration:none}
.bhead nav a:hover{background:#e6d6ad}
.bhead nav a[aria-current="page"]{text-decoration:underline;text-underline-offset:5px}
#lang{min-height:44px;min-width:44px;margin-left:6px;padding:0 14px;border:1px solid #8a6a3c;border-radius:22px;background:#f7edd4;color:#4a3218;font:600 1rem/1 Georgia,serif;cursor:pointer;touch-action:manipulation}
#lang:hover{background:#efe0bb}

.bmain{flex:1;width:100%;max-width:1248px;margin:0 auto;padding:24px 24px 72px}
.eyebrow{margin:0;font-size:.9375rem;font-weight:600;color:#7a3b14}
.eyebrow i{font-style:normal;padding:0 8px}

/* the list */
.blist-h{margin:8px 0 0;font-weight:normal;font-size:clamp(2rem,4vw,2.75rem);line-height:1.08;text-wrap:balance}
.blead{max-width:42rem;margin:12px 0 0;color:#5f4526}
.blist{margin-top:28px;border-top:1px solid #3b2a18}
.bcard{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.35fr);align-items:center;gap:clamp(36px,5vw,72px);padding:clamp(32px,4vw,52px) 0;border-bottom:1px solid #c4a874}
.bcard h2{margin:16px 0;font-weight:normal;font-size:clamp(1.5rem,2.6vw,1.9rem);line-height:1.22;text-wrap:balance}
.bcard h2 a{color:inherit;text-decoration:none}
.bcard h2 a:hover{text-decoration:underline}
.bcard .sum{margin:0;max-width:32rem;color:#4a3218}
.bread{display:inline-flex;align-items:center;gap:10px;min-height:44px;margin-top:14px;font-size:1rem;font-weight:600;text-decoration:none}
.bread:hover{text-decoration:underline}
.bimg{display:block;aspect-ratio:1200/630;overflow:hidden;border:1px solid #c4a874;border-radius:14px;background:#e6d6ad}
.bimg img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.bimg:hover img{transform:scale(1.015)}

/* one article */
.bart{max-width:760px;margin:0 auto}
.bart h1{margin:8px 0 20px;font-weight:normal;font-size:clamp(2rem,4.4vw,2.9rem);line-height:1.08;text-wrap:balance}
.bart .lead{max-width:42rem;margin:0 0 24px;font-size:1.25rem;line-height:1.5;color:#4a3218}
.bart h2{margin:40px 0 12px;font-weight:normal;font-size:clamp(1.45rem,2.4vw,1.75rem);line-height:1.2}
.bart p{margin:0 0 16px}
.bart figure{margin:32px 0}
.bart figure img{width:100%;border:1px solid #c4a874;border-radius:14px}
.bart figcaption{margin-top:8px;font-size:.9375rem;line-height:1.4;color:#5f4526}
.bbtn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 24px;border:1px solid #5a2a10;border-radius:24px;background:#7d3a16;color:#fff4dc;font-weight:600;font-size:1.0625rem;text-decoration:none}
.bbtn:hover{background:#6c3112;color:#fff4dc}
.bmore{margin-top:40px;padding-top:20px;border-top:1px solid #c4a874}
.bmore i{font-style:normal;padding:0 6px;color:#8a6a3c}

/* footer */
.bfoot{background:#3b2a18;color:#eadfc4;font-size:1rem;line-height:1.5}
.bfoot .in{display:grid;grid-template-columns:1fr 1.6fr;gap:48px;max-width:1248px;margin:0 auto;padding:48px 24px 20px}
.bfoot strong{display:block;margin-bottom:8px;font-weight:normal;font-size:1.3125rem;color:#fff4dc}
.bfoot strong span{font-style:italic;color:#f1c98f}
.bfoot p{margin:0;max-width:26rem}
.bfoot nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.bfoot nav div{display:grid;align-content:start;justify-items:start;gap:2px}
.bfoot h2{margin:0 0 6px;font-size:1rem;font-weight:600;color:#fff4dc}
.bfoot a{display:inline-flex;align-items:center;min-height:36px;color:#f1c98f}
.bfoot a:hover{color:#fff4dc}
.bfoot a:focus-visible{outline-color:#f1c98f;box-shadow:0 0 0 2px #3b2a18}
.bfoot small{display:block;max-width:1248px;margin:0 auto;padding:16px 24px max(24px,env(safe-area-inset-bottom));font-size:.9375rem;color:#d8c9a6}

@media (max-width:760px){
  .bhead{padding:6px 16px}
  .bbrand span{display:none}
  .bmain{padding:16px 16px 56px}
  .bcard{grid-template-columns:1fr;align-items:stretch;gap:20px;padding:28px 0 32px}
  .bimg{order:-1}
  .bfoot .in{grid-template-columns:1fr;gap:28px;padding:36px 16px 12px}
  .bfoot small{padding-left:16px;padding-right:16px}
}
@media (prefers-reduced-motion:reduce){.bimg img{transition:none}.bimg:hover img{transform:none}}
@media (prefers-contrast:more){.eyebrow,a{color:#5a2a10}.blead,.bart figcaption{color:#3b2a18}.bcard,.bimg,.bart figure img,.bmore{border-color:#3b2a18}}
