/* 28.10.2026 — SDRP: spójna typografia, pojedyncze linie podziału i prosta galeria. */
body.redesign-2026 .editorial-read.is-information .editorial-read-heading{
 border-bottom:1px solid #d5dee1!important;
 padding-bottom:clamp(25px,3vw,36px)!important;
 margin-bottom:clamp(26px,3vw,38px)!important;
}
body.redesign-2026 .editorial-read.is-information .editorial-read-heading h1{
 border:0!important;margin:0 auto!important;padding:0!important;
 text-wrap:balance;max-width:1000px;
}
body.redesign-2026 .editorial-read.is-information .editorial-content>h2:first-child{
 border-top:0!important;padding-top:0!important;
}
body.redesign-2026 .editorial-read.is-information.is-calendar-page .sdrp-calendar>header h2{
 border:0!important;padding:0!important;margin:0!important;
}
body.redesign-2026 .editorial-read.is-information.is-calendar-page .sdrp-calendar-body{
 border-top:0!important;padding-top:0!important;
}
body.redesign-2026 .editorial-read.is-information .video-card h2,
body.redesign-2026 .editorial-read.is-information .sdrp-gallery-heading h2{
 border:0!important;padding:0!important;margin:0 0 10px!important;
}
body.redesign-2026 .editorial-read.is-information .sdrp-video-archive{margin-top:0}
body.redesign-2026 .editorial-read.is-information .video-introduction{
 max-width:730px;margin:0 auto 32px;text-align:center;
 font:480 clamp(16px,1.6vw,19px)/1.55 var(--v3-sans);
 color:#5c6e79;
}
/* Gallery index: deliberate image frames, fully visible originals, no deceptive thumbnails. */
body.redesign-2026 .sdrp-photo-index{
 padding-top:clamp(28px,4vw,55px);
 padding-bottom:clamp(68px,7vw,105px);
}
body.redesign-2026 .sdrp-photo-heading{
 text-align:center;margin:0 auto clamp(27px,3.5vw,44px);
 padding:0 12px clamp(27px,3vw,36px);
 border-bottom:1px solid #d5dfe1;
}
body.redesign-2026 .sdrp-photo-heading h1{
 font:780 clamp(36px,5vw,66px)/1.13 var(--v3-sans);
 letter-spacing:-.057em;max-width:950px;text-wrap:balance;
 margin:0 auto;
}
body.redesign-2026 .sdrp-photo-heading p{
 font:470 17px/1.65 var(--v3-sans);color:#596f7b;
 max-width:790px;margin:17px auto 0;
}
body.redesign-2026 .sdrp-photo-back{
 margin:0 auto 24px;font:690 14px/1.4 var(--v3-sans);
}
body.redesign-2026 .sdrp-photo-back a{color:#1d6c89;text-decoration:underline;text-underline-offset:5px}
body.redesign-2026 .sdrp-photo-albums{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 gap:clamp(20px,2.6vw,35px);align-items:start;
}
body.redesign-2026 a.sdrp-photo-album{
 min-width:0;display:block;text-decoration:none;color:#1b2e3b;
 border-bottom:1px solid #d8e1e4;padding-bottom:18px;
}
body.redesign-2026 .sdrp-photo-album-image{
 display:flex;align-items:center;justify-content:center;
 width:100%;aspect-ratio:1.48;background:#ecf2f2;overflow:hidden;
 border:1px solid #dde5e7;
}
body.redesign-2026 .sdrp-photo-album-image img{
 display:block;width:100%;height:100%;object-fit:contain;
 transition:transform .2s ease;
}
body.redesign-2026 .sdrp-photo-album:hover .sdrp-photo-album-image img{transform:scale(1.015)}
body.redesign-2026 .sdrp-photo-album:focus-visible{outline:3px solid #136c92;outline-offset:5px}
body.redesign-2026 .sdrp-photo-placeholder{color:#6b828e;font:700 14px var(--v3-sans)}
body.redesign-2026 .sdrp-photo-album-meta{display:block;padding-top:15px}
body.redesign-2026 .sdrp-photo-album-meta strong{
 display:block;font:750 clamp(17px,1.7vw,21px)/1.35 var(--v3-sans);
 letter-spacing:-.025em;overflow-wrap:anywhere;
}
body.redesign-2026 .sdrp-photo-album-meta small{
 display:block;font:570 13px/1.5 var(--v3-sans);color:#687e89;margin-top:7px;
}
body.redesign-2026 .sdrp-photo-grid{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 gap:16px;align-items:start;margin-top:20px;
}
body.redesign-2026 .sdrp-photo-grid figure{background:#f1f5f5;border:1px solid #e1e8ea}
body.redesign-2026 .sdrp-photo-grid figure a{
 display:grid;place-items:center;aspect-ratio:1.4;background:#eef2f3;
}
body.redesign-2026 .sdrp-photo-grid figure img{width:100%;height:100%;object-fit:contain}
body.redesign-2026 .sdrp-photo-grid figcaption{
 font:480 12px/1.5 var(--v3-sans);color:#4e6975;padding:9px 12px;
}
body.redesign-2026 .sdrp-photo-count{
 font:650 14px/1.5 var(--v3-sans);text-align:right;color:#5c7380;
}
body.redesign-2026 .sdrp-photo-pagination{
 display:flex;justify-content:center;align-items:center;gap:22px;
 padding:32px 0;font:670 14px/1.5 var(--v3-sans);
}
body.redesign-2026 .sdrp-photo-pagination a{
 background:#e5eff1;color:#184c65;padding:12px 16px;text-decoration:none;
}
body.redesign-2026 .sdrp-photo-pagination a:hover{background:#d2e4e8}
/* Prevent old plugin styles from leaking into an otherwise Gutenberg-standard site. */
body.redesign-2026 .sdrp-photo-index .sdrp-gallery-grid{margin:0}
@media(max-width:900px){
 body.redesign-2026 .sdrp-photo-albums,
 body.redesign-2026 .sdrp-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:580px){
 body.redesign-2026 .sdrp-photo-index{padding-top:33px}
 body.redesign-2026 .sdrp-photo-albums,
 body.redesign-2026 .sdrp-photo-grid{grid-template-columns:1fr;gap:25px}
 body.redesign-2026 .sdrp-photo-heading h1{font-size:clamp(33px,8vw,44px)}
 body.redesign-2026 .sdrp-photo-count{text-align:center}
 body.redesign-2026 .sdrp-photo-pagination{flex-wrap:wrap;gap:12px}
}


body.redesign-2026 .editorial-read.is-information .sdrp-video-archive .video-card h2{
 font:740 clamp(20px,2vw,27px)/1.29 var(--v3-sans)!important;
 letter-spacing:-.028em;margin:0 0 17px!important;
}
body.redesign-2026 .sdrp-video-archive .video-card-body a{
 display:inline-block;font:730 14px/1.45 var(--v3-sans);
 color:#186c91;text-decoration:underline;text-underline-offset:4px;
 padding:6px 0;
}
body.redesign-2026 .sdrp-video-archive .video-card-body a:focus-visible{
 outline:3px solid #21749d;outline-offset:4px;
}


/* 28 October: accessible reading tools and navigation while scrolling. */
body.redesign-2026 .reading-context{
 top:var(--sdrp-mast-height,82px);bottom:auto;
 z-index:99;box-sizing:border-box;
 padding:10px max(18px,calc((100vw - 1320px)/2));
 box-shadow:0 8px 18px rgba(17,38,52,.07);
 transition:transform .24s ease,opacity .24s ease;
}
body.redesign-2026 .reading-context .progress{height:3px;bottom:0}
body.redesign-2026.reader-mode .reading-context,
body.redesign-2026.sdrp-footer-in-view .reading-context{
 opacity:0;transform:translateY(-115%);pointer-events:none;
}
body.redesign-2026 .mast{
 transition:opacity .28s ease,transform .28s ease;
}
body.redesign-2026.sdrp-footer-in-view .mast{
 opacity:0;transform:translateY(-100%);pointer-events:none;
}
body.redesign-2026 .sdrp-focus-exit[hidden]{display:none!important}
body.redesign-2026 .sdrp-focus-exit{
 position:fixed;z-index:200;right:clamp(14px,4vw,40px);top:clamp(14px,3vw,30px);
 min-height:48px;display:flex;align-items:center;gap:18px;
 background:#16394a;color:#fff;border:1px solid #16394a;border-radius:3px;
 padding:11px 16px;font:720 14px/1.35 var(--v3-sans);
 box-shadow:0 7px 20px #1736472c;cursor:pointer;
}
body.redesign-2026 .sdrp-focus-exit span{font-size:23px;line-height:1}
body.redesign-2026 .sdrp-focus-exit:focus-visible,
body.redesign-2026 .sdrp-focus-exit:hover{
 outline:3px solid #80b6ce;outline-offset:3px;
}
body.redesign-2026 .sdrp-print-identity{display:none}
@media(max-width:760px){
 body.redesign-2026 .editorial-read.is-article [data-action="reader"]{display:none!important}
 body.redesign-2026 .sdrp-focus-exit{display:none!important}
 body.redesign-2026 .reading-context{padding-left:16px;padding-right:16px}
}

/* SDRP articles in print: neutral typographic A4, no stranded first page. */
@page{size:A4 portrait;margin:14mm 16mm 16mm}
@media print{
 html,body,body.redesign-2026{
  background:#fff!important;color:#111!important;width:auto!important;
  height:auto!important;overflow:visible!important;margin:0!important;padding:0!important;
 }
 body.redesign-2026 .mast,
 body.redesign-2026 .reading-context,
 body.redesign-2026 .sdrp-focus-exit,
 body.redesign-2026 .end-footer,
 body.redesign-2026 .sdrp-more-after,
 body.redesign-2026 .editorial-read-breadcrumb,
 body.redesign-2026 .editorial-read-tools,
 body.redesign-2026 .sdrp-audio-player,
 body.redesign-2026 .editorial-post-nav,
 body.redesign-2026 .editorial-tag-list,
 body.redesign-2026 .editorial-read-side,
 body.redesign-2026 .sdrp-more-card,
 body.redesign-2026 .skip-link{display:none!important}
 body.redesign-2026 .editorial-read.is-article,
 body.redesign-2026 .editorial-read.is-article .editorial-read-grid,
 body.redesign-2026 .editorial-read.is-article .editorial-read-main,
 body.redesign-2026 .editorial-read.is-article .editorial-content,
 body.redesign-2026 .editorial-read.is-article .entry-content,
 body.redesign-2026 .editorial-read.is-article .editorial-read-heading{
  position:static!important;display:block!important;float:none!important;
  width:auto!important;min-width:0!important;max-width:none!important;
  height:auto!important;min-height:0!important;
  margin:0!important;padding:0!important;
  border:0!important;background:#fff!important;box-shadow:none!important;
  overflow:visible!important;transform:none!important;
 }
 body.redesign-2026 .editorial-read.is-article .sdrp-print-identity{
  display:flex!important;align-items:center;gap:5mm;
  padding-bottom:4mm;margin:0 0 8mm!important;
  border-bottom:.35pt solid #c8d3d7;font:700 9pt/1.35 Arial,sans-serif;
  color:#435763;
 }
 body.redesign-2026 .sdrp-print-identity img{
  display:block!important;width:29mm!important;height:auto!important;
 }
 body.redesign-2026 .editorial-read.is-article .editorial-read-category{
  font:700 8pt/1.3 Arial,sans-serif!important;color:#345264!important;
  margin:0 0 3mm!important;letter-spacing:.035em;
 }
 body.redesign-2026 .editorial-read.is-article h1#article-title{
  display:block!important;font:700 22pt/1.17 Georgia,'Times New Roman',serif!important;
  letter-spacing:-.02em!important;color:#111!important;
  margin:0 0 4mm!important;padding:0!important;max-width:none!important;
  text-wrap:balance;break-after:avoid-page;
 }
 body.redesign-2026 .editorial-read.is-article .editorial-article-info{
  display:flex!important;align-items:center;flex-wrap:wrap;gap:3mm;
  font:9pt/1.4 Arial,sans-serif!important;color:#555!important;
  margin:0 0 6mm!important;padding:0!important;
  border:0!important;
 }
 body.redesign-2026 .editorial-read.is-article .editorial-author-icon{display:none!important}
 body.redesign-2026 .editorial-read.is-article .editorial-lead-image{
  display:block!important;margin:0 0 6mm!important;padding:0!important;
  max-width:100%!important;width:100%!important;
  break-inside:avoid-page;page-break-inside:avoid;
 }
 body.redesign-2026 .editorial-read.is-article .editorial-lead-image img{
  display:block!important;max-height:98mm!important;
  max-width:100%!important;width:auto!important;height:auto!important;
  object-fit:contain!important;object-position:left top!important;
  border:0!important;box-shadow:none!important;
 }
 body.redesign-2026 .editorial-read.is-article .editorial-lead-image figcaption{
  display:block!important;font:8pt/1.35 Arial,sans-serif!important;
  color:#555!important;margin-top:2mm!important;
 }
 body.redesign-2026 .editorial-read.is-article .editorial-content{
  font:11pt/1.5 Georgia,'Times New Roman',serif!important;
  letter-spacing:0!important;color:#111!important;
  orphans:3;widows:3;
 }
 body.redesign-2026 .editorial-read.is-article .editorial-content p,
 body.redesign-2026 .editorial-read.is-article .editorial-content>p:first-child{
  font:inherit!important;color:#111!important;
  margin:0 0 4mm!important;text-align:left!important;orphans:3;widows:3;
 }
 body.redesign-2026 .editorial-read.is-article .editorial-content h2{
  font:700 15pt/1.25 Georgia,serif!important;color:#111!important;
  margin:7mm 0 3mm!important;break-after:avoid-page;
 }
 body.redesign-2026 .editorial-read.is-article .editorial-content h3{
  font:700 12pt/1.3 Georgia,serif!important;color:#111!important;
  margin:5mm 0 2.5mm!important;break-after:avoid-page;
 }
 body.redesign-2026 .editorial-read.is-article .editorial-content img{
  max-height:115mm!important;max-width:100%!important;width:auto!important;
  height:auto!important;object-fit:contain!important;
 }
 body.redesign-2026 .editorial-read.is-article .editorial-content figure{
  break-inside:avoid-page;max-width:100%!important;margin:4mm 0!important;
 }
 body.redesign-2026 .editorial-read.is-article .editorial-content a{
  text-decoration:none!important;color:#111!important;
 }
 body.redesign-2026 .editorial-read.is-article .editorial-content blockquote{
  color:#222!important;border-left:2pt solid #758b94!important;
  margin:4mm 0!important;padding-left:5mm!important;
 }
 body.redesign-2026 .editorial-read.is-article .editorial-content :is(table,pre,video,iframe){
  max-width:100%!important;overflow:visible!important;
 }
}

/* Association archive links remain in their original categories and URLs. */
body.redesign-2026 .mast-submenu>a.mast-submenu-divider{margin-top:6px;padding-top:15px;border-top:1px solid #dce5e7}


/* Print polish 2026-10-28: unobtrusive SDRP mark, centered media, no newsletter. */
@media print {
 /* Do not print newsletter promotional or signup interfaces. */
 body.redesign-2026 .sdrp-home-newsletter,
 body.redesign-2026 .sdrp-newsletter-form-area,
 body.redesign-2026 .sdrp-newsletter-preview-row,
 body.redesign-2026 .sdrp-newsletter-action,
 body.redesign-2026 [id^="mailpoet_form"],
 body.redesign-2026 .mailpoet_form,
 body.redesign-2026 .sdrp-stage-note {display:none!important}
 /* Narrow identity makes a newspaper-style masthead instead of a banner. */
 body.redesign-2026 .editorial-read.is-article .sdrp-print-identity{
  justify-content:flex-start!important;gap:3mm!important;
  padding:0 0 3mm!important;margin:0 0 6mm!important;
  border-bottom:.25pt solid #d5dadd!important;
  font:600 8pt/1.3 Arial,sans-serif!important;color:#42515a!important;
  break-after:avoid-page!important;
 }
 body.redesign-2026 .editorial-read.is-article .sdrp-print-identity img{
  display:block!important;width:22mm!important;max-height:9mm!important;
  height:auto!important;object-fit:contain!important;
 }
 /* Lead cover and all editorial images should be optically centered. */
 body.redesign-2026 .editorial-read.is-article .editorial-lead-image{
  text-align:center!important;margin:0 auto 6mm!important;
 }
 body.redesign-2026 .editorial-read.is-article .editorial-lead-image img{
  display:block!important;margin:0 auto!important;object-position:center center!important;
  max-height:90mm!important;
 }
 body.redesign-2026 .editorial-read.is-article .editorial-lead-image figcaption{
  text-align:center!important;
 }
 body.redesign-2026 .editorial-read.is-article .editorial-content :is(figure,.wp-block-image,.wp-block-gallery){
  margin:4mm auto!important;float:none!important;
  max-width:100%!important;
 }
 body.redesign-2026 .editorial-read.is-article .editorial-content figure img,
 body.redesign-2026 .editorial-read.is-article .editorial-content .wp-block-image img,
 body.redesign-2026 .editorial-read.is-article .editorial-content>p>img {
  display:block!important;margin-left:auto!important;margin-right:auto!important;
  float:none!important;object-position:center!important;
 }
 body.redesign-2026 .editorial-read.is-article .editorial-content figcaption{
  text-align:center!important;font:8pt/1.4 Arial,sans-serif!important;color:#555!important;
 }
}
