/* Psychotesty Kierowców – Portal Atlas 1.0.0
   Pełny, niezależny layout dla Newspaper; tło body/html pozostaje nietknięte. */
body.pbk-atlas { margin: 0; }
body.pbk-atlas .pbk-site-shell,
body.pbk-atlas .pbk-site-shell * { box-sizing: border-box; }
body.pbk-atlas .pbk-site-shell {
  --pbk-ink: #112d3d; --pbk-muted: #506675; --pbk-teal: #087b7e;
  --pbk-teal-dark: #086569; --pbk-amber: #eeb24f; --pbk-paper: #f5f8f7;
  --pbk-card: #fff; --pbk-stroke: #dce7e7;
  color: var(--pbk-ink); font-family: Inter, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  background: var(--pbk-paper); max-width: 1390px; margin: 24px auto 32px;
  line-height: 1.6; font-size: 15px; box-shadow: 0 14px 55px rgba(10,35,45,.11);
  position: relative; isolation: isolate;
}
.pbk-site-shell img { max-width: 100%; height: auto; }
.pbk-site-shell a { color: inherit; text-decoration: none; transition: color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.pbk-site-shell a:hover { color: var(--pbk-teal); }
.pbk-site-shell button, .pbk-site-shell input, .pbk-site-shell textarea { font: inherit; }
.pbk-site-shell button { cursor: pointer; }
.pbk-site-shell h1, .pbk-site-shell h2, .pbk-site-shell h3, .pbk-site-shell h4, .pbk-site-shell h5, .pbk-site-shell h6 { color: var(--pbk-ink); line-height: 1.15; letter-spacing: -.04em; margin: 0; font-weight: 800; }
.pbk-site-shell p { margin: 0; }
.pbk-site-shell .pbk-icon { display: inline-block; vertical-align: middle; flex: none; }
.pbk-site-shell :focus-visible { outline: 3px solid #d89128; outline-offset: 3px; }
.pbk-skip { position: absolute; top: -999px; left: 20px; z-index: 1000; padding: 12px 18px; background: #fff; border: 2px solid var(--pbk-teal); }
.pbk-skip:focus { top: 14px; }

/* Globalne menu na KAŻDEJ podstronie. */
.pbk-site-header { background: #fff; position: relative; z-index: 30; border-bottom: 1px solid #e8eeee; }
.pbk-topline { background: #0f3040; color: #cce2e2; font-size: 11px; font-weight: 650; letter-spacing: .02em; }
.pbk-topline-inner { max-width: 1294px; margin: auto; padding: 7px 34px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.pbk-topline-inner > span, .pbk-topline-inner > a { display: inline-flex; align-items: center; gap: 8px; }
.pbk-topline a { color: #f9dca4; }
.pbk-topline a:hover { color: #fff; }
.pbk-header-inner { min-height: 84px; max-width: 1294px; padding: 12px 34px; margin: 0 auto; display: flex; align-items: center; gap: 25px; justify-content: space-between; }
.pbk-brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; color: #102f40 !important; }
.pbk-brand img { width: 57px; height: 57px; }
.pbk-brand > span { display: flex; flex-direction: column; font-size: 13px; font-weight: 850; line-height: 1.1; letter-spacing: -.015em; max-width: 160px; }
.pbk-brand strong { font-size: 13px; color: #102f40; font-weight: 900; }
.pbk-primary-nav { display: flex; align-items: stretch; align-self: stretch; justify-content: center; flex: 1; gap: clamp(9px,1.45vw,24px); }
.pbk-primary-nav a { display: flex; align-items: center; text-align: center; font-size: 12px; font-weight: 750; white-space: nowrap; position: relative; color: #172e3b; }
.pbk-primary-nav a:hover, .pbk-primary-nav a[aria-current="page"] { color: #087b7e; }
.pbk-primary-nav a[aria-current="page"]::after, .pbk-primary-nav a:hover::after { content: ''; height: 3px; left: 0; right: 0; bottom: 6px; position: absolute; background: #087b7e; border-radius: 3px; }
.pbk-header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 6px; }
.pbk-icon-button { display: inline-grid; place-items: center; width: 38px; height: 38px; background: transparent; border: 1px solid transparent; border-radius: 10px; color: #12313f; }
.pbk-icon-button:hover, .pbk-icon-button[aria-expanded="true"] { background: #eaf3f3; border-color: #d5e8e9; }
.pbk-menu-toggle { display: none; }
.pbk-sub-nav { border-top: 1px solid #edf1f2; }
.pbk-sub-nav-inner { max-width: 1294px; margin: auto; padding: 9px 34px; display: flex; align-items: center; gap: 26px; min-height: 39px; }
.pbk-sub-label { color: #87969b; font-size: 10px; font-weight: 850; letter-spacing: .14em; white-space: nowrap; }
.pbk-sub-nav-inner a { font-size: 11px; color: #53666e; font-weight: 700; white-space: nowrap; }
.pbk-sub-nav-inner a:hover { color: #087b7e; }
.pbk-sub-nav-inner .pbk-sub-emphasis { margin-left: auto; color: #077477; display: inline-flex; align-items: center; gap: 5px; }
.pbk-search-panel, .pbk-mobile-nav { background: #fff; border-top: 1px solid var(--pbk-stroke); padding: 20px max(24px,calc((100% - 1250px)/2)); box-shadow: 0 14px 25px rgba(11,49,61,.07); }
.pbk-search-panel[hidden], .pbk-mobile-nav[hidden] { display: none !important; }
.pbk-search-panel form { max-width: 660px; margin: auto; }
.pbk-search-panel label { display: block; margin-bottom: 9px; font-size: 14px; font-weight: 750; }
.pbk-search-row { display: flex; gap: 8px; }
.pbk-search-row input { flex: 1; min-width: 0; min-height: 47px; border: 1px solid #bdced0; background: #fbfdfc; border-radius: 9px; padding: 10px 14px; color: var(--pbk-ink); }
.pbk-search-row button { min-height: 47px; padding: 0 20px; display: flex; gap: 9px; align-items: center; border: 0; background: var(--pbk-teal); color: #fff; font-weight: 750; border-radius: 9px; }
.pbk-mobile-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.pbk-mobile-nav a { display: block; padding: 10px; background: #f4f9f8; border: 1px solid #e2eded; border-radius: 8px; color: #183b48; font-weight: 700; }

/* Strona główna. */
.pbk-home { background: var(--pbk-paper); }
.pbk-hero { min-height: 488px; display: grid; grid-template-columns: 48% 52%; background: linear-gradient(110deg,#fcfdfa 0%,#edf5f4 51%,#e4efef 100%); overflow: hidden; position: relative; }
.pbk-hero-copy { padding: 61px 16px 48px clamp(34px,4.15vw,66px); z-index: 1; position: relative; }
.pbk-hero-eyebrow { font-weight: 850; font-size: 10px; letter-spacing: .145em; color: #187678; display: flex; align-items: center; gap: 9px; margin-bottom: 24px; }
.pbk-pulse { width: 9px; height: 9px; border-radius: 50%; background: #e6ab49; box-shadow: 0 0 0 5px rgba(230,171,73,.16); }
.pbk-hero h1 { font-size: clamp(37px,3.6vw,54px); line-height: 1.07; font-weight: 900; letter-spacing: -.061em; max-width: 660px; }
.pbk-hero h1 span { display: block; color: #08777b; }
.pbk-hero-copy > p { max-width: 545px; color: #2b4753; font-size: 14px; line-height: 1.7; margin: 22px 0 27px; font-weight: 510; }
.pbk-hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; }
.pbk-button { display: inline-flex; gap: 11px; align-items: center; justify-content: center; border-radius: 99px; min-height: 45px; padding: 0 20px; font-size: 12px; font-weight: 800; line-height: 1.25; text-align: center; border: 1.5px solid transparent; transition: transform .2s, background-color .2s, box-shadow .2s; }
.pbk-site-shell a.pbk-button:hover { transform: translateY(-2px); }
.pbk-button-primary { background: #f0b64f; color: #142d39 !important; box-shadow: 0 7px 15px rgba(203,139,31,.12); }
.pbk-button-primary:hover { background: #ffd17a; color: #142d39 !important; }
.pbk-button-outline { border-color: #183b49; color: #152f3f !important; background: #fff; }
.pbk-button-outline:hover { color: #08777b !important; border-color: #08777b; }
.pbk-hero-note { margin-top: 22px; font-size: 11px; color: #5e767e; display: inline-flex; align-items: center; gap: 5px; }
.pbk-hero-note svg { color: #08777b; }
.pbk-hero-gallery { position: relative; min-width: 0; overflow: hidden; height: 100%; background: #a7c6cf; }
.pbk-hero-photo, .pbk-hero-road { height: 100%; position: absolute; top: 0; overflow: hidden; }
.pbk-hero-photo { width: 77%; left: -2%; clip-path: polygon(0 0,100% 0,77% 100%,0 100%); z-index: 1; background: #bfd3d6; }
.pbk-hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(6,51,63,.24),transparent 52%); }
.pbk-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pbk-hero-road { width: 47%; right: 0; background: #476c68; z-index: 0; }
.pbk-hero-road img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pbk-hero-road::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(13,52,60,.02),rgba(7,29,34,.6)); }
.pbk-road-quote { position: absolute; top: 34px; right: 16px; color: #152f3c; z-index: 2; text-align: center; transform: rotate(-8deg); font-size: 16px; font-weight: 850; line-height: 1.5; font-style: italic; text-shadow: 0 2px 13px rgba(255,255,255,.45); }
.pbk-hero-media-label { position: absolute; bottom: 28px; right: 19px; display: flex; align-items: center; gap: 7px; background: rgba(12,43,50,.62); color: #fff; border: 1px solid rgba(255,255,255,.75); border-radius: 12px; padding: 9px 13px; z-index: 5; font-size: 9px; font-weight: 800; line-height: 1.35; text-align: center; backdrop-filter: blur(7px); }
.pbk-value-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px; padding: 20px clamp(32px,4vw,62px); background: #f8fbfa; border-top: 1px solid rgba(227,233,232,.8); border-bottom: 1px solid #e6efed; }
.pbk-value-strip > div { display: flex; gap: 15px; align-items: center; min-width: 0; }
.pbk-value-strip > div > svg { color: #087a7e; }
.pbk-value-strip strong { font-size: 12px; font-weight: 850; color: #123847; display: block; }
.pbk-value-strip small { display: block; color: #61757b; font-size: 10.5px; line-height: 1.5; margin-top: 3px; }
.pbk-section { padding: 40px clamp(32px,4vw,62px) 17px; }
.pbk-section-head { display: flex; justify-content: space-between; align-items: end; gap: 15px; margin-bottom: 23px; }
.pbk-overline { color: #173c4c; font-size: 10px; font-weight: 850; letter-spacing: .21em; display: flex; align-items: center; gap: 10px; line-height: 1.5; margin-bottom: 4px; }
.pbk-overline > span { display: inline-block; width: 25px; height: 3px; background: #efac3a; border-radius: 2px; }
.pbk-section-head h2, .pbk-about-section h2 { font-size: clamp(27px,2.65vw,37px); letter-spacing: -.048em; }
.pbk-text-link { color: #0b7177 !important; font-size: 12px; font-weight: 750; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; margin-bottom: 5px; }
.pbk-text-link:hover { color: #124854 !important; }
.pbk-category-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 13px; }
.pbk-category-card { display: flex; flex-direction: column; position: relative; border: 1px solid #e2e9e7; border-radius: 11px; background: #fff; box-shadow: 0 4px 13px rgba(24,54,61,.07); overflow: hidden; min-width: 0; padding-bottom: 13px; color: #163442 !important; min-height: 281px; }
.pbk-category-card:hover { transform: translateY(-5px); box-shadow: 0 14px 23px rgba(12,50,59,.14); color: #163442 !important; }
.pbk-category-illustration { height: 126px; flex: none; display: grid; place-items: center; color: #e4fffd; overflow: hidden; position: relative; background: linear-gradient(135deg,#235c6a,#0c8592); }
.pbk-category-illustration > svg { z-index: 3; opacity: .95; filter: drop-shadow(0 7px 8px rgba(2,31,40,.19)); }
.pbk-illustration-ring { width: 170px; height: 170px; position: absolute; right: -64px; top: -60px; border-radius: 50%; border: 17px solid rgba(255,255,255,.11); }
.pbk-category-illustration::after { content: ''; position: absolute; width: 110%; height: 18px; bottom: 18px; left: -6%; transform: rotate(-15deg); background: rgba(255,255,255,.09); }
.pbk-category-card--blue .pbk-category-illustration { background: linear-gradient(130deg,#173e53,#56899a); }
.pbk-category-card--slate .pbk-category-illustration { background: linear-gradient(130deg,#50636c,#a4b9b7); }
.pbk-category-card--amber .pbk-category-illustration { background: linear-gradient(130deg,#965a21,#e2ad58); }
.pbk-category-card--forest .pbk-category-illustration { background: linear-gradient(130deg,#123a49,#358a8b); }
.pbk-category-card--orange .pbk-category-illustration { background: linear-gradient(130deg,#ba7934,#f5ba5d); }
.pbk-category-icon { position: relative; display: grid; place-items: center; background: #05777b; border: 4px solid #fff; color: #fff; height: 52px; width: 52px; border-radius: 50%; z-index: 4; margin: -25px 0 8px 10px; box-shadow: 0 3px 7px rgba(10,59,67,.14); }
.pbk-category-card--amber .pbk-category-icon, .pbk-category-card--orange .pbk-category-icon { background: #eba633; }
.pbk-category-name { display: block; font-size: 13.5px; line-height: 1.23; font-weight: 850; letter-spacing: -.025em; padding: 0 13px; margin-bottom: 7px; }
.pbk-category-caption { display: block; font-size: 10.8px; line-height: 1.45; color: #65757c; padding: 0 13px; flex: 1; }
.pbk-category-arrow { align-self: end; margin: 8px 12px 0 0; color: #08777b; border: 1px solid #b4d8d9; border-radius: 50%; height: 26px; width: 26px; display: grid; place-items: center; }
.pbk-featured-section { padding-top: 49px; }
.pbk-featured-grid { display: grid; grid-template-columns: 1.22fr .92fr; gap: 16px; min-height: 302px; }
.pbk-featured-main, .pbk-featured-stack { min-width: 0; }
.pbk-featured-main .pbk-article-card { min-height: 302px; height: 100%; }
.pbk-featured-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; }
.pbk-article-card { background: #fff; overflow: hidden; border-radius: 10px; border: 1px solid #e7eded; position: relative; min-width: 0; box-shadow: 0 4px 18px rgba(13,46,58,.047); }
.pbk-article-card__media { display: block; overflow: hidden; background: #e0ebeb; }
.pbk-article-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .36s ease; }
.pbk-article-card:hover .pbk-cover-img { transform: scale(1.045); }
.pbk-article-card__body { min-width: 0; }
.pbk-article-card h3 { font-size: 15px; line-height: 1.28; letter-spacing: -.03em; }
.pbk-article-card h3 a { color: #142c3b; }
.pbk-article-card h3 a:hover { color: var(--pbk-teal); }
.pbk-date { font-size: 10.5px; font-weight: 650; display: flex; align-items: center; gap: 4px; color: #bd862f; margin-bottom: 6px; }
.pbk-mini-arrow { border: 1px solid #b6d6d9; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #076d75 !important; margin-left: auto; }
.pbk-mini-arrow:hover { background: #e4f1f0; }
.pbk-article-card--large { display: block; position: relative; border: 0; color: #fff; background: #19465a; }
.pbk-article-card--large .pbk-article-card__media { position: absolute; inset: 0; }
.pbk-article-card--large .pbk-article-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(0,19,28,.89),rgba(10,30,42,.02) 85%); }
.pbk-article-card--large .pbk-article-card__body { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: start; justify-content: end; min-height: 302px; padding: 25px 27px; }
.pbk-article-card--large h3 { font-size: clamp(22px,2.25vw,31px); color: #fff; max-width: 90%; line-height: 1.15; }
.pbk-article-card--large h3 a { color: #fff; }
.pbk-article-card--large h3 a:hover { color: #ffdb9b; }
.pbk-article-card--large .pbk-date { background: #006e76; color: #fff; border: 1px solid rgba(255,255,255,.5); padding: 4px 10px; border-radius: 20px; }
.pbk-article-card--large .pbk-mini-arrow { position: absolute; bottom: 19px; right: 19px; background: #fff; color: #0d5261 !important; border: 0; width: 38px; height: 38px; }
.pbk-article-card--featured { display: grid; grid-template-columns: 40% minmax(0,1fr); min-height: 144px; }
.pbk-article-card--featured .pbk-article-card__media { height: 100%; }
.pbk-article-card--featured .pbk-article-card__body { display: flex; flex-direction: column; align-items: start; justify-content: center; padding: 14px 18px; }
.pbk-article-card--featured h3 { font-size: 16px; }
.pbk-article-card--featured p { font-size: 11px; color: #677880; margin-top: 9px; max-width: 280px; }
.pbk-article-card--featured .pbk-mini-arrow { position: absolute; right: 12px; bottom: 11px; }
.pbk-chip { display: inline-block; background: #f8edda; color: #9c681f; padding: 5px 12px; line-height: 1; font-weight: 850; font-size: 9.5px; text-transform: uppercase; border-radius: 50px; margin-bottom: 8px; }
.pbk-latest-section { padding-top: 49px; }
.pbk-latest-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.pbk-article-card--standard { display: flex; flex-direction: column; min-height: 241px; }
.pbk-article-card--standard .pbk-article-card__media { height: 111px; flex: none; }
.pbk-article-card--standard .pbk-article-card__body { padding: 11px 12px 12px; display: flex; flex-direction: column; flex: 1; align-items: stretch; }
.pbk-article-card--standard h3 { font-size: 13px; line-height: 1.26; }
.pbk-article-card--standard .pbk-mini-arrow { margin-top: auto; }
.pbk-cta-banner { margin: 45px 23px 0; min-height: 123px; border-radius: 14px; padding: 22px 34px; display: flex; gap: 24px; align-items: center; background: #0f4050 url('hero-road.svg') right 43%/cover no-repeat; position: relative; overflow: hidden; color: #fff; }
.pbk-cta-banner::before { content: ''; inset: 0; position: absolute; background: linear-gradient(90deg,#093746 0%,#073947 46%,rgba(7,55,66,.75) 75%,rgba(7,44,57,.3) 100%); }
.pbk-cta-banner > * { position: relative; z-index: 1; }
.pbk-cta-icon { color: #b6e9e5; border: 2px solid rgba(211,244,243,.5); border-radius: 50%; display: grid; place-items: center; width: 70px; height: 70px; flex: none; }
.pbk-cta-banner > div:nth-child(2) { flex: 1; }
.pbk-cta-banner h2 { color: #fff; font-size: clamp(19px,2vw,25px); letter-spacing: -.035em; margin-bottom: 5px; }
.pbk-cta-banner p { color: #dae9eb; font-size: 12.5px; }
.pbk-about-section { margin-top: 44px; padding: 0 clamp(32px,4vw,62px) 50px; display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 30px; }
.pbk-about-section h2 { margin-bottom: 13px; }
.pbk-about-box p { line-height: 1.75; font-size: 12.8px; color: #3d5460; max-width: 780px; }
.pbk-about-benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; padding: 20px 0; }
.pbk-about-benefits div { display: grid; justify-items: center; gap: 12px; text-align: center; }
.pbk-about-benefits svg { color: #047477; background: #dceeee; border-radius: 50%; box-sizing: content-box; padding: 14px; }
.pbk-about-benefits strong { font-size: 11px; font-weight: 800; line-height: 1.3; }

/* Stopka obecna globalnie. */
.pbk-footer { background: linear-gradient(145deg,#0b3040,#0b3744 53%,#072d3c); color: #d9e7ea; padding: 42px clamp(32px,4vw,62px) 17px; }
.pbk-footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1fr 1.15fr; gap: 36px; padding-bottom: 33px; }
.pbk-footer-brand { display: flex; align-items: center; gap: 9px; color: #fff !important; }
.pbk-footer-brand img { width: 48px; height: 48px; filter: brightness(0) invert(1); }
.pbk-footer-brand strong { color: #fff; font-weight: 850; font-size: 13px; line-height: 1.15; }
.pbk-footer-about p { font-size: 11.5px; color: #c5dde1; line-height: 1.8; margin-top: 15px; max-width: 260px; }
.pbk-footer h2 { font-size: 12px; letter-spacing: 0; color: #fff; font-weight: 850; margin: 8px 0 16px; }
.pbk-footer ul { list-style: none; margin: 0; padding: 0; }
.pbk-footer li { margin: 8px 0; line-height: 1.45; position: relative; padding-left: 10px; }
.pbk-footer li::before { content: '·'; position: absolute; left: 0; color: #d5a64d; }
.pbk-footer li a { font-size: 11px; color: #cfe1e4; }
.pbk-footer li a:hover, .pbk-footer-back:hover { color: #ffd58b; }
.pbk-footer-back { font-size: 11px; font-weight: 800; display: inline-block; margin-top: 15px; color: #f5c467 !important; }
.pbk-statlink { padding: 15px 0; border-top: 1px solid rgba(231,248,250,.18); color: #e0edf0; font-size: 11px; }
.pbk-statlink b { display: flex; gap: 10px 20px; flex-wrap: wrap; font-weight: 700; }
.pbk-statlink a { color: #d0e5e7 !important; text-decoration: underline; text-underline-offset: 3px; }
.pbk-statlink a:hover { color: #ffd088 !important; }
.pbk-footer-bottom { border-top: 1px solid rgba(232,249,249,.15); padding-top: 15px; display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; font-size: 10px; color: #bad1d6; }

/* Strony, wpisy, archiwa – spójne tło bez białego prostokąta pod nagłówkiem. */
.pbk-interior { background: var(--pbk-paper); color: var(--pbk-ink); min-height: 590px; padding-bottom: 72px; }
.pbk-container { max-width: 1270px; padding: 22px 34px 0; margin: 0 auto; }
.pbk-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 0 0 24px; font-size: 11px; line-height: 1.4; color: #64808a; }
.pbk-breadcrumb a { color: #397780; }
.pbk-breadcrumb span[aria-current="page"] { max-width: min(650px,60vw); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pbk-content-columns { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: clamp(25px,3vw,42px); align-items: start; }
.pbk-entry { min-width: 0; background: transparent; color: #1b3440; }
.pbk-entry-header { padding: 14px 0 23px; background: transparent; border-bottom: 1px solid var(--pbk-stroke); margin-bottom: 29px; }
.pbk-entry-category { display: inline-block; border-radius: 99px; padding: 6px 13px; background: #dceeed; color: #066c70 !important; font-size: 10.5px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 17px; }
.pbk-entry-header h1 { font-size: clamp(30px,3.5vw,47px); max-width: 900px; overflow-wrap: anywhere; line-height: 1.1; }
.pbk-entry-meta { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; margin-top: 19px; color: #58717b; font-size: 12px; }
.pbk-entry-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pbk-entry-meta svg { color: #168184; }
.pbk-entry-cover { border-radius: 14px; overflow: hidden; max-height: 440px; margin-bottom: 31px; background: #deecec; }
.pbk-entry-cover img { display: block; width: 100%; max-height: 440px; object-fit: cover; height: auto; }
.pbk-prose { color: #263d49; font-size: 16px; line-height: 1.84; overflow-wrap: anywhere; }
.pbk-prose::after { content: ''; display: table; clear: both; }
.pbk-prose > *:first-child { margin-top: 0; }
.pbk-prose p { margin: 0 0 1.25em; color: #263d49; font-size: inherit; line-height: inherit; }
.pbk-prose h2, .pbk-prose h3, .pbk-prose h4, .pbk-prose h5, .pbk-prose h6 { color: #143649; overflow-wrap: anywhere; scroll-margin-top: 90px; clear: both; }
.pbk-prose h2 { border-bottom: 1px solid #d6e6e4; padding-bottom: 13px; font-size: clamp(24px,2.5vw,32px); margin: 1.6em 0 .7em; }
.pbk-prose h3 { font-size: clamp(20px,2.1vw,25px); margin: 1.4em 0 .7em; }
.pbk-prose h4 { font-size: 19px; margin: 1.35em 0 .65em; }
.pbk-prose h5, .pbk-prose h6 { font-size: 17px; margin: 1.2em 0 .6em; }
.pbk-prose a { color: #006c78; text-decoration: underline; text-underline-offset: 3px; }
.pbk-prose a:hover { color: #c38221; }
.pbk-prose ul, .pbk-prose ol { margin: 0 0 1.3em 0; padding-left: 1.8em; }
.pbk-prose li { margin: .43em 0; }
.pbk-prose li::marker { color: #098386; }
.pbk-prose strong, .pbk-prose b { color: #153d4d; }
.pbk-prose blockquote { margin: 1.45em 0; padding: 20px 22px; border-left: 4px solid #13a0a0; border-radius: 0 10px 10px 0; background: #e7f2f1; color: #183c49; }
.pbk-prose blockquote p:last-child { margin-bottom: 0; }
.pbk-prose figure { margin: 1.4em auto; max-width: 100%; }
.pbk-prose figcaption, .pbk-prose .wp-caption-text { font-size: 12px; color: #67808a; text-align: center; margin-top: 5px; }
.pbk-prose img, .pbk-prose video, .pbk-prose iframe { max-width: 100%; height: auto; }
.pbk-prose iframe { aspect-ratio: 16/9; max-height: 500px; }
.pbk-prose img { object-fit: contain; }
.pbk-prose .wp-caption { max-width: 100% !important; }
.pbk-prose table { display: block; overflow-x: auto; max-width: 100%; border-collapse: collapse; margin: 1.5em 0; background: #fff; font-size: 14px; }
.pbk-prose th, .pbk-prose td { padding: 12px 15px; border: 1px solid #c9deda; min-width: 90px; }
.pbk-prose th { background: #e3f0ed; color: #143d49; text-align: left; }
.pbk-prose hr { border: none; border-top: 1px solid #c9dcda; margin: 2em 0; }
.pbk-prose pre { max-width: 100%; overflow-x: auto; background: #0f3441; color: #effafa; padding: 18px; border-radius: 10px; }
.pbk-prose code { overflow-wrap: anywhere; font-size: .9em; }
.pbk-prose .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.pbk-prose .alignleft { float: left; margin: .5em 1.3em 1em 0; }
.pbk-prose .alignright { float: right; margin: .5em 0 1em 1.3em; }
.pbk-entry-tail { border-top: 1px solid #d3e3e2; margin-top: 34px; padding-top: 18px; color: #627983; font-size: 12px; }
.pbk-entry-tail span { display: inline-flex; align-items: center; gap: 6px; }
.pbk-entry-tail svg { color: #047477; }
.pbk-post-navigation { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; margin: 24px 0; }
.pbk-post-navigation a { display: flex; flex-direction: column; gap: 4px; padding: 17px; border: 1px solid #d3e5e2; border-radius: 10px; color: #193744; background: #eaf3f1; }
.pbk-post-navigation a:hover { border-color: #78aeac; background: #dff0ed; }
.pbk-post-navigation small { color: #067579; font-size: 10px; font-weight: 700; }
.pbk-post-navigation strong { font-size: 13px; line-height: 1.35; }
.pbk-comments { padding-top: 25px; border-top: 1px solid #d3e2e0; }
.pbk-comments h2 { font-size: 24px; margin-bottom: 16px; }
.pbk-comments ol { padding-left: 24px; }
.pbk-comments .comment-body { background: #e9f2f0; border-radius: 9px; padding: 17px; margin: 12px 0; }
.pbk-comments .comment-meta { font-size: 11px; color: #526d76; }
.pbk-comments textarea, .pbk-comments input:not([type="submit"]) { background: #fff; border: 1px solid #c4d8d7; border-radius: 7px; padding: 10px; max-width: 100%; }
.pbk-comments .submit { padding: 12px 18px; background: #0b7377; border: 0; color: #fff; border-radius: 6px; }
/* Osobne przewijanie TYLKO wewnątrz boksu spisu treści, nigdy całego sidebara. */
.pbk-sidebar { min-width: 0; display: flex; flex-direction: column; gap: 17px; overflow: visible; position: static; height: auto; max-height: none; }
.pbk-sidebox { min-width: 0; flex: none; overflow: visible; padding: 20px 19px 21px; background: #e9f2f1; border: 1px solid #d7e7e3; border-radius: 13px; }
.pbk-sidebox[hidden] { display: none; }
.pbk-sidebox-header { display: flex; gap: 10px; align-items: center; margin-bottom: 13px; }
.pbk-sidebox-symbol { color: #0c7c7c; display: grid; place-items: center; }
.pbk-sidebox h2 { font-size: 18px; line-height: 1.2; letter-spacing: -.03em; }
.pbk-sidebox > p { font-size: 11.5px; color: #647982; margin-top: -5px; margin-bottom: 10px; }
.pbk-toc-scroll { max-height: 350px; overflow-y: auto; overflow-x: hidden; padding-right: 9px; scrollbar-width: thin; scrollbar-color: #81b7b5 #dfecea; }
.pbk-toc-scroll ol { list-style: none; margin: 0; padding: 0; }
.pbk-toc-scroll li { border-left: 2px solid #bfd9d7; margin-left: 2px; }
.pbk-toc-scroll li a { display: block; padding: 8px 5px 8px 13px; font-size: 12px; line-height: 1.45; color: #355663; }
.pbk-toc-scroll li a:hover, .pbk-toc-scroll li a[aria-current="location"] { border-left: 2px solid #04878a; margin-left: -2px; color: #066e74; background: rgba(255,255,255,.5); font-weight: 750; }
.pbk-toc-scroll li.pbk-toc-sub a { padding-left: 26px; font-size: 11.4px; color: #516c75; }
.pbk-side-posts, .pbk-side-cats { list-style: none; margin: 0; padding: 0; }
.pbk-side-posts li + li { border-top: 1px solid #d1e2df; padding-top: 11px; margin-top: 11px; }
.pbk-side-posts a { display: flex; align-items: start; gap: 10px; font-size: 12px; font-weight: 750; color: #173949; line-height: 1.35; }
.pbk-side-posts a:hover { color: #08777b; }
.pbk-side-posts-media { display: block; flex: 0 0 70px; height: 58px; overflow: hidden; border-radius: 7px; background: #d2e2e0; }
.pbk-side-posts-media img { width: 100%; height: 100%; object-fit: cover; }
.pbk-side-posts small { display: block; font-size: 10px; font-weight: 500; margin-top: 5px; color: #7b8a8d; }
.pbk-side-cats li + li { border-top: 1px solid #d5e4e1; }
.pbk-side-cats a { padding: 10px 0; color: #1b424c; display: flex; justify-content: space-between; gap: 9px; align-items: center; font-size: 12px; font-weight: 720; line-height: 1.35; }
.pbk-side-cats a:hover { color: #047e80; }
.pbk-side-cats svg { color: #0a777b; }

/* Kategorie, archiwa, strony z wynikami wyszukiwania. */
.pbk-archive-hero { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 35px 42px; min-height: 202px; border-radius: 14px; background: linear-gradient(110deg,#113a49,#0d6770); }
.pbk-archive-hero h1 { color: #fff; font-size: clamp(30px,3.6vw,45px); margin: 8px 0 14px; }
.pbk-archive-hero .pbk-overline { color: #f6d08d; }
.pbk-archive-hero .pbk-overline > span { background: #f4b85a; }
.pbk-archive-hero p, .pbk-archive-description { color: #e0f2f0; max-width: 720px; font-size: 13.5px; line-height: 1.7; }
.pbk-archive-description p { margin-bottom: 5px; }
.pbk-archive-description a { color: #ffe5b4; text-decoration: underline; }
.pbk-archive-hero-icon { flex: 0 0 auto; display: grid; place-items: center; height: 132px; width: 132px; border: 2px solid rgba(255,255,255,.28); border-radius: 100%; color: #cfebea; opacity: .7; }
.pbk-archive-section { padding-left: 0; padding-right: 0; }
.pbk-archive-counter { font-size: 11.5px; font-weight: 750; color: #687f85; }
.pbk-archive-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.pbk-article-card--archive .pbk-article-card__media { height: 180px; }
.pbk-article-card--archive .pbk-article-card__body { display: flex; flex-direction: column; align-items: stretch; padding: 16px; min-height: 140px; }
.pbk-article-card--archive h3 { font-size: 18px; line-height: 1.28; }
.pbk-article-card--archive .pbk-mini-arrow { margin-top: auto; }
.pbk-pagination { margin: 29px 0; }
.pbk-pagination .page-numbers { padding: 8px 13px; display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pbk-pagination > ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; padding: 0; margin: 0; }
.pbk-pagination li .page-numbers, .pbk-pagination > .page-numbers { background: #e2f0ee; border-radius: 7px; font-size: 12px; font-weight: 800; color: #315661; }
.pbk-pagination li .page-numbers.current { background: #057b7f; color: white; }
.pbk-pagination li a:hover { background: #c3e1dd; }
.pbk-archive-discover { margin: 36px 0 10px; border-top: 1px solid #d9e9e7; padding-top: 28px; }
.pbk-archive-discover > h2 { font-size: 25px; margin-bottom: 17px; }
.pbk-empty-notice { padding: 35px; border: 1px dashed #a9caca; border-radius: 12px; color: #486671; background: #edf5f3; }
.pbk-empty-page { text-align: center; max-width: 660px; margin: 45px auto; padding: 55px 20px; }
.pbk-empty-page .pbk-overline { justify-content: center; }
.pbk-empty-page h1 { font-size: 40px; margin: 17px 0; }
.pbk-empty-page p { margin: 0 0 25px; }
.pbk-empty-page form { margin-top: 25px; }
.pbk-empty-page input { padding: 12px; border: 1px solid #accacd; border-radius: 6px; }
.pbk-empty-page button { background: #0e797e; color: #fff; border-radius: 6px; padding: 12px; border: 0; }

/* Responsywność */
@media (max-width: 1270px) {
  .pbk-primary-nav { gap: 10px; }
  .pbk-primary-nav a { font-size: 10.5px; }
  .pbk-brand > span, .pbk-brand strong { font-size: 11.5px; }
  .pbk-brand img { width: 47px; height: 47px; }
  .pbk-hero h1 { font-size: clamp(34px,3.8vw,48px); }
  .pbk-hero-copy { padding-left: 38px; }
  .pbk-hero-cta { gap: 8px; }
  .pbk-button { padding: 0 15px; font-size: 11px; }
  .pbk-category-name { font-size: 12px; }
}
@media (max-width: 1090px) {
  body.pbk-atlas .pbk-site-shell { margin: 12px auto; }
  .pbk-primary-nav { display: none; }
  .pbk-menu-toggle { display: inline-grid; }
  .pbk-header-inner { min-height: 73px; }
  .pbk-hero { grid-template-columns: 52% 48%; }
  .pbk-hero-copy { padding: 37px 11px 36px 32px; }
  .pbk-hero h1 { font-size: 37px; }
  .pbk-hero-copy > p { font-size: 13px; }
  .pbk-hero-cta { flex-direction: column; align-items: start; }
  .pbk-category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .pbk-category-card { min-height: 255px; }
  .pbk-category-illustration { height: 112px; }
  .pbk-latest-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .pbk-content-columns { grid-template-columns: minmax(0,1fr) 280px; }
  .pbk-footer-grid { gap: 23px; }
}
@media (max-width: 770px) {
  .pbk-topline-inner { padding: 7px 19px; }
  .pbk-topline-inner > a { display: none; }
  .pbk-header-inner { padding: 10px 18px; }
  .pbk-sub-nav-inner { padding: 9px 20px; gap: 15px; overflow-x: auto; }
  .pbk-sub-nav-inner .pbk-sub-emphasis { margin-left: 0; }
  .pbk-mobile-nav { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 15px 18px; }
  .pbk-hero { grid-template-columns: minmax(0,1fr); }
  .pbk-hero-copy { padding: 38px 24px 29px; }
  .pbk-hero h1 { font-size: clamp(34px,7.1vw,50px); max-width: 650px; }
  .pbk-hero-copy > p { max-width: 620px; }
  .pbk-hero-cta { flex-direction: row; }
  .pbk-hero-gallery { height: 300px; }
  .pbk-hero-photo { width: 74%; }
  .pbk-hero-road { width: 45%; }
  .pbk-value-strip { padding: 20px 24px; gap: 15px; }
  .pbk-value-strip > div { align-items: start; gap: 9px; }
  .pbk-value-strip > div > svg { width: 25px; }
  .pbk-section { padding: 35px 24px 10px; }
  .pbk-featured-grid { grid-template-columns: 1fr; }
  .pbk-featured-main .pbk-article-card { height: 275px; min-height: 0; }
  .pbk-featured-main .pbk-article-card__body { min-height: 275px; }
  .pbk-featured-stack { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .pbk-article-card--featured { display: flex; flex-direction: column; }
  .pbk-article-card--featured .pbk-article-card__media { height: 155px; flex: none; }
  .pbk-article-card--featured .pbk-article-card__body { flex: 1; }
  .pbk-cta-banner { margin: 32px 14px 0; padding: 21px 24px; }
  .pbk-about-section { grid-template-columns: 1fr; padding: 0 24px 35px; }
  .pbk-about-benefits { padding: 0; }
  .pbk-footer { padding: 35px 24px 17px; }
  .pbk-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 27px; }
  .pbk-container { padding: 16px 24px 0; }
  .pbk-content-columns { grid-template-columns: 1fr; }
  .pbk-sidebar { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
  .pbk-entry-header h1 { font-size: clamp(31px,5vw,42px); }
  .pbk-archive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 520px) {
  body.pbk-atlas .pbk-site-shell { margin: 0; box-shadow: none; }
  .pbk-topline-inner { font-size: 9.6px; }
  .pbk-brand img { width: 43px; height: 43px; }
  .pbk-brand > span, .pbk-brand strong { font-size: 10.5px; }
  .pbk-header-inner { min-height: 65px; }
  .pbk-sub-nav-inner { gap: 14px; }
  .pbk-sub-label { display: none; }
  .pbk-hero-copy { padding: 30px 19px 25px; }
  .pbk-hero-eyebrow { font-size: 9px; margin-bottom: 18px; }
  .pbk-hero h1 { font-size: clamp(32px,9vw,41px); }
  .pbk-hero-cta { align-items: stretch; }
  .pbk-hero-cta .pbk-button { flex: 1 0 auto; }
  .pbk-hero-gallery { height: 245px; }
  .pbk-road-quote { right: 5px; font-size: 10px; top: 24px; }
  .pbk-hero-media-label { font-size: 8px; right: 8px; bottom: 10px; }
  .pbk-value-strip { grid-template-columns: 1fr; gap: 15px; padding: 20px; }
  .pbk-section { padding: 30px 17px 9px; }
  .pbk-section-head { align-items: start; flex-direction: column; gap: 5px; }
  .pbk-section-head h2 { font-size: 28px; }
  .pbk-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .pbk-category-card { min-height: 258px; }
  .pbk-category-illustration { height: 108px; }
  .pbk-category-name { font-size: 12px; padding: 0 10px; }
  .pbk-category-caption { font-size: 10px; padding: 0 10px; }
  .pbk-featured-stack { grid-template-columns: 1fr; }
  .pbk-article-card--featured { display: grid; grid-template-columns: 40% 1fr; min-height: 160px; }
  .pbk-article-card--featured .pbk-article-card__media { height: 100%; }
  .pbk-article-card--featured h3 { font-size: 15px; }
  .pbk-latest-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pbk-article-card--standard .pbk-article-card__media { height: 110px; }
  .pbk-cta-banner { flex-wrap: wrap; gap: 14px; }
  .pbk-cta-icon { width: 50px; height: 50px; }
  .pbk-cta-icon svg { width: 30px; }
  .pbk-cta-banner > div:nth-child(2) { flex: 1 1 calc(100% - 70px); }
  .pbk-cta-banner > a { margin-left: 62px; }
  .pbk-about-section { padding: 0 18px 34px; }
  .pbk-about-benefits { gap: 8px; }
  .pbk-about-benefits svg { padding: 10px; }
  .pbk-footer { padding: 34px 18px 14px; }
  .pbk-footer-grid { gap: 15px; }
  .pbk-footer-about { grid-column: 1 / -1; }
  .pbk-footer-grid h2 { margin-bottom: 9px; }
  .pbk-container { padding: 13px 18px 0; }
  .pbk-content-columns { gap: 22px; }
  .pbk-entry-header { padding: 6px 0 18px; }
  .pbk-entry-header h1 { font-size: clamp(29px,8vw,39px); }
  .pbk-entry-meta { font-size: 11px; }
  .pbk-prose { font-size: 15px; line-height: 1.8; }
  .pbk-sidebar { grid-template-columns: 1fr; }
  .pbk-toc-scroll { max-height: 300px; }
  .pbk-archive-hero { padding: 25px; min-height: 175px; }
  .pbk-archive-hero h1 { font-size: 31px; }
  .pbk-archive-hero-icon { display: none; }
  .pbk-archive-grid { grid-template-columns: 1fr; gap: 13px; }
  .pbk-article-card--archive .pbk-article-card__media { height: 185px; }
  .pbk-breadcrumb { font-size: 10px; }
  .pbk-post-navigation { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pbk-site-shell *, .pbk-site-shell *::after, .pbk-site-shell *::before { transition: none !important; scroll-behavior: auto !important; }
}

/* Fotografie kategorii są pobierane z własnej biblioteki mediów portalu. */
.pbk-category-illustration .pbk-category-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .73; z-index: 0; }
.pbk-category-illustration::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(130deg,rgba(6,40,50,.36),rgba(10,90,98,.15)); }
.pbk-category-illustration .pbk-illustration-ring { z-index: 2; }
.pbk-category-illustration::after { z-index: 2; }
