/* Higher specificity overrides the earlier 600px cap without touching inline models. */
.gh-article figure.gh-media.gh-media--raster[data-full],
.gh-article figure.gh-media.gh-media--svg[data-full],
.gh-article figure.gh-media[data-full] { width: 100%; max-width: 100%; box-sizing: border-box; margin: 1.8rem 0 .3rem; padding: 0; overflow: hidden; border-radius: 8px; border: 1px solid #dce5e9; background: #fff; cursor: zoom-in; }
figure.gh-media picture { display: block; width: 100%; }
figure.gh-media img { display: block; width: 100%; max-width: 100%; height: auto; margin: 0; }
figure.gh-media figcaption { padding: .75rem .9rem; font-size: .88rem; line-height: 1.55; text-align: left; color: #365763; background: #f7fafb; margin: 0; }
figure.gh-media:focus-visible { outline: 3px solid #0f7b89; outline-offset: 4px; }
.gh-media-links { display: flex; align-items: center; flex-wrap: wrap; gap: .15rem 1.1rem; margin: 0 0 1.8rem; }
.gh-media-full-link, .gh-media-detail-link { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 0; font-size: .86rem; line-height: 1.45; color: #096d7c; text-decoration: underline; text-underline-offset: 3px; }
.gh-media-full-link:focus-visible, .gh-media-detail-link:focus-visible { outline: 3px solid #0f7b89; outline-offset: 4px; border-radius: 2px; }


.gh-article {min-width:0;}
.gh-article figure.gh-media {width:100%;max-width:100%;}
.gh-article :is(h2,h3,h4,li)[id] {scroll-margin-top:6rem;}
.gh-article .gh-table table,.gh-article .gh-table-scroll table {border-collapse:collapse;table-layout:auto;width:100%;min-width:620px;}
.gh-article .gh-table :is(th,td),.gh-article .gh-table-scroll :is(th,td) {padding:.8rem;line-height:1.55;font-size:.94rem;min-width:100px;text-align:left;white-space:normal;overflow-wrap:break-word;}
.gh-article .gh-table th,.gh-article .gh-table-scroll th {background:#edf4f6;color:#173444;}
.gh-article .gh-table tbody tr+tr td,.gh-article .gh-table-scroll tbody tr+tr td {border-top:1px solid #dce5e9;}
.gh-article .gh-table,.gh-article .gh-table-scroll {border:1px solid #dce5e9;border-radius:6px;}
.gh-article .gh-table caption,.gh-article .gh-table-scroll caption {padding:.85rem;color:#173444;}
.gh-article .sources li {line-height:1.6;overflow-wrap:anywhere;}
@media(max-width:600px) {
 .gh-article .gh-table :is(th,td),.gh-article .gh-table-scroll :is(th,td) {display:table-cell;font-size:.9rem;padding:.7rem;}
 .gh-article .gh-table tr,.gh-article .gh-table-scroll tr {display:table-row;}
 .gh-article .gh-table thead,.gh-article .gh-table-scroll thead {display:table-header-group;}
 .gh-article .gh-table td::before,.gh-article .gh-table-scroll td::before {display:none;}
 .gh-article .gh-table::before,.gh-article .gh-table-scroll::before {display:block;padding:.65rem .8rem;font-size:.8rem;background:#f0f6f8;color:#365763;content:'Przesuń tabelę w poziomie, aby zobaczyć wszystkie kolumny.';}
 :lang(en) .gh-article .gh-table::before,:lang(en) .gh-article .gh-table-scroll::before {content:'Scroll the table horizontally to view all columns.';}
}

.gh-article .gh-native-scroll {display:block;max-width:100%;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;margin:18px 0;}
.gh-article :is(.gh-table,.gh-table-scroll):has(> .gh-native-scroll) {overflow:visible;border:0;}
.gh-article :is(.gh-table,.gh-table-scroll):has(> .gh-native-scroll)::before {display:none;}
.gh-article .gh-native-scroll:focus-visible {outline:3px solid #0f7b89;outline-offset:3px;}
