/* Elektropres Atlas 1.0.0 — wyłącznie elementy portalu, nigdy tło body z Newspaper. */
body.ep-atlas-active { margin: 0; }
body.ep-atlas-active .ep-portal {
  --ep-ink: #092635; --ep-muted: #506b78; --ep-teal: #078f9d;
  --ep-cyan: #3dd8df; --ep-deep: #062a38; --ep-deeper: #03212e;
  --ep-gold: #ffc452; --ep-line: #dbe8eb; --ep-paper: #f1f8f9;
  width: min(1320px, 100%); margin: 0 auto;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px; line-height: 1.55; color: var(--ep-ink);
  background: transparent; box-shadow: 0 18px 70px rgba(0, 22, 28, .18);
  text-align: left; isolation: isolate; overflow-wrap: break-word;
}
.ep-portal *, .ep-portal *::before, .ep-portal *::after { box-sizing: border-box; }
.ep-portal :where(h1,h2,h3,h4,h5,p,ul,ol,figure) { margin: 0; }
.ep-portal :where(ul,ol) { padding: 0; }
.ep-portal a { text-decoration: none; color: inherit; transition: color .17s ease, background-color .17s ease, transform .17s ease; }
.ep-portal a:hover { color: var(--ep-teal); }
.ep-portal button,.ep-portal input { font: inherit; }
.ep-portal button { cursor:pointer; }
.ep-portal img { max-width:100%; height:auto; display:block; }
.ep-portal :focus-visible { outline: 3px solid #f9b92f; outline-offset: 3px; }
.ep-portal .ep-icon { display:inline-block; vertical-align:middle; flex-shrink:0; }
.ep-portal .ep-skip-link { position: absolute; left: 10px; top:-90px; z-index:9999; padding:13px 19px; background:#fff; color:var(--ep-deep); border-radius:8px; }
.ep-portal .ep-skip-link:focus { top:10px; }

/* Dwupoziomowe menu, takie samo w całym serwisie. */
.ep-topbar { background: linear-gradient(95deg,#051e2b,#0a4551 60%,#052533); color:#e3f7fa; }
.ep-topbar__inner { display:flex; align-items:center; justify-content:space-between; min-height:31px; gap:14px; padding:5px 32px; }
.ep-portal .ep-topbar p { font-size:11px; letter-spacing:.015em; line-height:1.45; font-weight:550; }
.ep-portal .ep-topbar p span { color:#58d5df; margin:0 4px; }
.ep-topbar__links { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:13px; }
.ep-portal .ep-topbar__links a { font-size:11px; white-space:nowrap; color:#e3f7fa; }
.ep-portal .ep-topbar__links a:hover { color:var(--ep-gold); }
.ep-header { position:relative; z-index:50; background:#fff; border-bottom:1px solid #dbe9ec; }
.ep-header__inner { min-height:86px; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:13px 31px; }
.ep-brand { display:inline-flex; gap:10px; align-items:center; flex-shrink:0; min-width:0; }
.ep-brand__mark { width:45px; height:45px; border-radius:12px; }
.ep-brand__wordmark { display:flex; flex-direction:column; min-width:0; }
.ep-brand__wordmark strong { display:block; font-weight:900; font-size:26px; letter-spacing:-.055em; line-height:1.1; color:#0a2a38; white-space:nowrap; }
.ep-brand__wordmark strong span { color:#069dac; }
.ep-brand__wordmark small { display:block; margin-top:3px; color:#54717f; font-size:10px; font-weight:550; letter-spacing:.025em; line-height:1.35; white-space:nowrap; }
.ep-nav { display:flex; gap:clamp(10px,1.45vw,22px); align-items:center; justify-content:center; min-width:0; }
.ep-portal .ep-nav > a { font-size:12.5px; color:#0b2d3c; white-space:nowrap; font-weight:780; line-height:1.3; padding:10px 0; }
.ep-portal .ep-nav > a:hover { color:var(--ep-teal); }
.ep-portal .ep-nav__home { color:#0d7280; }
.ep-nav__mobile-pages { display:none; }
.ep-search-toggle,.ep-mobile-menu { flex-shrink:0; border:0; background:transparent; color:#082d3a; padding:10px; border-radius:10px; display:grid; place-items:center; }
.ep-search-toggle:hover,.ep-mobile-menu:hover { background:#e8f5f6; color:#078f9d; }
.ep-mobile-menu { display:none; }
.ep-search-panel { position:absolute; top:100%; right:0; width:min(495px,100%); padding:22px 26px; border-radius:0 0 0 18px; background:#fff; box-shadow:0 25px 45px rgba(5,38,52,.17); border:1px solid var(--ep-line); }
.ep-search-panel[hidden],.ep-sidebox[hidden] { display:none !important; }
.ep-search-panel__form label { display:block; font-weight:800; margin-bottom:9px; font-size:14px; }
.ep-search-panel__fields { display:flex; gap:8px; }
.ep-search-panel__fields input,.ep-archive__search input { width:100%; min-width:0; padding:12px 13px; color:#143746; background:#fff; border:1px solid #c5dadd; border-radius:9px; }
.ep-search-panel__fields button,.ep-archive__search button { display:inline-flex; align-items:center; gap:7px; justify-content:center; flex-shrink:0; padding:12px 18px; background:#087f8e; color:white; border:0; border-radius:9px; font-weight:750; }
.ep-search-panel__fields button:hover,.ep-archive__search button:hover { background:#065c6c; }

/* Środkowy panel ma własne tło; tapeta / tło całego body pozostają z Newspaper. */
.ep-canvas { background:var(--ep-paper); padding:18px 25px 32px; min-height:55vh; }
.ep-portal .ep-eyebrow { display:inline-flex; align-items:center; gap:7px; font-weight:850; text-transform:uppercase; font-size:11px; letter-spacing:.045em; color:#078c98; }
.ep-portal .ep-eyebrow--light { color:#e7fdfe; }
.ep-portal .ep-button { display:inline-flex; gap:14px; align-items:center; justify-content:center; padding:12px 24px; border-radius:99px; text-align:center; font-size:13px; font-weight:850; line-height:1.3; box-shadow:0 6px 14px rgba(0,0,0,.08); }
.ep-portal .ep-button--gold { color:#17323b; background:linear-gradient(90deg,#ffbb3a,#ffda76); }
.ep-portal .ep-button--gold:hover { color:#0a2939; background:linear-gradient(90deg,#ffe49c,#ffd06c); transform:translateY(-2px); }
.ep-portal .ep-text-link { display:inline-flex; align-items:center; gap:8px; color:#007e8c; font-weight:850; font-size:13px; }
.ep-portal .ep-text-link:hover { color:#054e59; }

/* Hero fotograficzne na podstawie zaakceptowanej makiety. */
.ep-hero { position:relative; min-height:472px; overflow:hidden; isolation:isolate; background:#062a38; border-radius:7px; }
.ep-hero__photo { position:absolute; inset:0 0 0 auto; width:60%; background:url('../images/hero-smart-home.webp') 52% center / cover no-repeat; z-index:-2; }
.ep-hero__glow { position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg, #052634 0%,#062d3c 34%,rgba(5,39,52,.95) 42%,rgba(5,40,52,.36) 67%,rgba(4,32,42,.10) 100%), radial-gradient(circle at 36% 76%,rgba(12,139,150,.25),transparent 42%); }
.ep-hero__copy { position:relative; z-index:2; width:66%; padding:48px 35px 122px; }
.ep-portal .ep-hero h1 { margin:16px 0 13px; max-width:760px; color:white; font-size:clamp(38px,4.6vw,63px); line-height:1.055; font-weight:900; letter-spacing:-.052em; }
.ep-portal .ep-hero h1 span { color:#48d4de; }
.ep-portal .ep-hero__copy > p { max-width:435px; color:#ebf7f9; font-size:15px; line-height:1.57; margin:0 0 20px; }
.ep-hero__benefits { position:absolute; bottom:22px; left:35px; right:35px; z-index:3; display:flex; gap:clamp(12px,2vw,30px); align-items:center; }
.ep-hero__benefits > div { display:flex; align-items:center; gap:9px; color:#fff; }
.ep-hero__benefits .ep-icon { color:#18d3de; }
.ep-hero__benefits span { font-size:11px; line-height:1.36; font-weight:600; }

/* Polecany artykuł: zdjęcie po lewej, tekst po prawej. */
.ep-feature { margin:16px 0 23px; display:grid; grid-template-columns:1fr 1fr; gap:0; border-radius:13px; background:#fff; overflow:hidden; box-shadow:0 5px 24px rgba(9,56,66,.05); }
.ep-feature__image { display:block; min-height:214px; position:relative; overflow:hidden; }
.ep-feature__image img { width:100%; height:100%; max-height:270px; min-height:214px; object-fit:cover; transition:transform .35s; }
.ep-feature__image:hover img { transform:scale(1.04); }
.ep-feature__tag { position:absolute; top:12px; left:12px; padding:5px 11px; background:#ffcd4d; color:#142c34; font-size:10px; font-weight:900; border-radius:50px; text-transform:uppercase; }
.ep-feature__copy { padding:24px 29px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; }
.ep-portal .ep-feature__copy h2 { margin:8px 0 9px; font-size:clamp(20px,2.05vw,28px); font-weight:900; line-height:1.16; letter-spacing:-.035em; }
.ep-feature__copy h2 a { color:#092a38; }
.ep-feature__copy p { color:#3d5966; line-height:1.5; font-size:13px; margin-bottom:17px; }

.ep-home-section { margin:20px 0 25px; }
.ep-section-heading { display:flex; align-items:end; justify-content:space-between; gap:18px; margin-bottom:13px; }
.ep-section-heading > div { display:flex; align-items:baseline; flex-wrap:wrap; column-gap:15px; row-gap:4px; }
.ep-portal .ep-section-heading h2 { font-size:clamp(25px,2.6vw,34px); line-height:1.12; font-weight:900; letter-spacing:-.043em; color:#0a2b39; }
.ep-section-heading h2::after { content:""; display:block; width:34px; height:3px; margin-top:8px; background:linear-gradient(90deg,#069eae,#72d7e2); border-radius:2px; }
.ep-section-heading p { font-size:12px; color:#647b86; }
.ep-portal .ep-section-heading__more { display:inline-flex; align-items:center; gap:7px; flex-shrink:0; white-space:nowrap; font-size:12px; color:#087c88; font-weight:850; margin-bottom:3px; }
.ep-portal .ep-section-heading__more:hover { color:#064c58; }

/* Sześć edytorskich kafelków tematycznych. */
.ep-topics-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:11px; }
.ep-topic { display:block; background:#fff; border-radius:12px; overflow:hidden; border:1px solid #e7eff1; min-width:0; box-shadow:0 4px 16px rgba(0,39,51,.045); }
.ep-topic:hover { transform:translateY(-3px); box-shadow:0 11px 23px rgba(0,40,52,.12); }
.ep-topic__cover { position:relative; height:112px; background:#dceff2; }
.ep-topic__cover img { width:100%; height:100%; object-fit:cover; }
.ep-topic__icon { position:absolute; bottom:-19px; left:13px; display:grid; place-items:center; width:41px; height:41px; background:#fff; color:#0a9caa; border:1px solid #c9e4e7; border-radius:50%; box-shadow:0 4px 13px rgba(5,40,50,.12); }
.ep-topic__bottom { padding:27px 12px 13px; }
.ep-portal .ep-topic__bottom h3 { font-size:13px; line-height:1.25; font-weight:880; color:#092b38; min-height:34px; letter-spacing:-.015em; }
.ep-topic__bottom > div { margin-top:9px; display:flex; justify-content:space-between; align-items:flex-end; gap:4px; }
.ep-portal .ep-topic__bottom p { font-size:10px; line-height:1.35; color:#687e88; }
.ep-topic__bottom .ep-icon { color:#078d9c; }

/* Karty najnowszych wpisów — zawsze cztery tematyczne artykuły. */
.ep-latest-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; }
.ep-post-card { display:flex; flex-direction:column; background:#fff; border:1px solid #e4edf0; box-shadow:0 4px 19px rgba(8,42,55,.045); border-radius:12px; overflow:hidden; min-width:0; }
.ep-post-card__picture { display:block; position:relative; width:100%; overflow:hidden; aspect-ratio:16/8.3; background:linear-gradient(120deg,#0c5766,#12a5b2); }
.ep-post-card__picture img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.ep-post-card:hover .ep-post-card__picture img { transform:scale(1.045); }
.ep-post-card__body { padding:14px 15px 16px; display:flex; flex-direction:column; align-items:flex-start; flex:1; }
.ep-portal .ep-post-card__label { font-size:10px; color:#c17b02; text-transform:uppercase; font-weight:900; letter-spacing:.025em; }
.ep-portal .ep-post-card__title { font-size:17px; line-height:1.24; margin:8px 0; font-weight:900; letter-spacing:-.025em; }
.ep-portal .ep-post-card__title a { color:#0a2835; }
.ep-portal .ep-post-card__title a:hover { color:#087d8b; }
.ep-portal .ep-post-card__excerpt { color:#536c78; font-size:12.3px; line-height:1.53; margin-bottom:15px; }
.ep-post-card__bottom { width:100%; margin-top:auto; display:flex; flex-wrap:wrap; gap:6px 15px; align-items:center; justify-content:space-between; }
.ep-post-card__bottom time { color:#82949d; font-size:10px; }
.ep-portal .ep-post-card__bottom .ep-text-link { font-size:11px; }

/* Dwa przekrojowe bannery z własną fotografią. */
.ep-promo-grid { display:grid; grid-template-columns:1.27fr .93fr; gap:13px; margin:15px -6px 0; }
.ep-promo { position:relative; min-height:214px; border-radius:10px; overflow:hidden; isolation:isolate; }
.ep-promo__photo { position:absolute; inset:0; z-index:-2; }
.ep-promo--safety { color:#fff; background:#062635; }
.ep-promo--safety .ep-promo__photo { background:url('../images/promo-bezpieczenstwo.webp') center right /cover no-repeat; }
.ep-promo--safety::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#051c2b 0%,rgba(5,35,48,.96) 37%,rgba(5,35,48,.68) 65%,rgba(5,35,48,.1) 100%); }
.ep-promo--oze { color:#0c2836; background:#e5f3f8; }
.ep-promo--oze .ep-promo__photo { background:url('../images/promo-oze.webp') center right /cover no-repeat; }
.ep-promo--oze::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(244,252,253,.98) 0%,rgba(244,252,253,.90) 42%,rgba(244,252,253,.22) 100%); }
.ep-promo__content { width:75%; padding:23px 26px; }
.ep-promo__content > span { display:inline-flex; align-items:center; gap:7px; color:#18c5ce; font-size:10px; font-weight:850; text-transform:uppercase; }
.ep-promo--oze .ep-promo__content > span { color:#008696; }
.ep-portal .ep-promo h2 { color:inherit; margin:8px 0 7px; font-size:clamp(21px,2.0vw,28px); font-weight:900; line-height:1.13; letter-spacing:-.03em; }
.ep-promo__content p { font-size:12px; line-height:1.52; max-width:340px; margin-bottom:11px; color:inherit; }
.ep-portal .ep-promo .ep-button { padding:8px 15px; font-size:11px; }
.ep-home-about { display:flex; align-items:flex-start; gap:18px; margin:27px 0 2px; padding:20px 24px; background:#fff; border:1px solid #e0eced; border-left:4px solid #10aeba; border-radius:9px; }
.ep-home-about__icon { flex-shrink:0; display:grid; place-items:center; width:55px; height:55px; border-radius:14px; background:#e5f9fa; color:#078f9d; }
.ep-portal .ep-home-about h2 { font-size:19px; font-weight:900; margin:1px 0 5px; }
.ep-home-about p { color:#526b77; font-size:13px; line-height:1.65; }

/* Artykuły i podstrony: jednolity panel od nagłówka do końca treści. */
.ep-reading-layout,.ep-archive__layout { display:grid; grid-template-columns:minmax(0,1fr) 290px; gap:18px; align-items:start; }
.ep-article { background:#fff; border-radius:12px; border:1px solid #e2edf0; box-shadow:0 5px 24px rgba(4,42,55,.055); min-width:0; overflow:hidden; }
.ep-article__header { padding:41px 45px 14px; background:transparent; }
.ep-breadcrumb { display:flex; flex-wrap:wrap; gap:8px; align-items:center; color:#758a94; font-size:11px; margin-bottom:22px; }
.ep-portal .ep-breadcrumb a { color:#4c7280; }
.ep-portal .ep-breadcrumb a:hover { color:#0091a0; }
.ep-breadcrumb__sep { color:#9dafb6; }
.ep-article__category { display:inline-block; background:#e6f7f8; border-radius:50px; font-weight:850; font-size:11px; padding:6px 13px; color:#087f8d !important; text-transform:uppercase; letter-spacing:.03em; }
.ep-portal .ep-article__header h1 { color:#092b39; font-weight:900; letter-spacing:-.044em; line-height:1.14; font-size:clamp(29px,3vw,43px); margin:12px 0 15px; }
.ep-portal .ep-article__lead { font-size:17px; line-height:1.65; color:#4b6876; margin:0 0 12px; }
.ep-article__meta { display:flex; flex-wrap:wrap; gap:8px 23px; align-items:center; font-size:12px; color:#607985; padding:1px 0 12px; }
.ep-article__meta span { display:inline-flex; align-items:center; gap:7px; }
.ep-article__cover { margin:18px 0 0; border-radius:9px; overflow:hidden; }
.ep-article__cover img { display:block; max-height:520px; object-fit:cover; width:100%; }
.ep-prose { background:transparent; padding:16px 45px 40px; font-size:16px; line-height:1.85; color:#233b48; overflow-wrap:anywhere; }
.ep-prose :is(.wpb_wrapper,.vc_column-inner,.td-post-content,.tdb-block-inner) { background:transparent !important; }
.ep-portal .ep-prose :is(p,li,blockquote,td,th) { color:#2a414e; }
.ep-portal .ep-prose p { margin:0 0 1.25em; line-height:1.85; }
.ep-portal .ep-prose :is(h2,h3,h4,h5,h6) { color:#0a2f3f; line-height:1.28; letter-spacing:-.025em; font-weight:900; scroll-margin-top:105px; }
.ep-portal .ep-prose h2 { font-size:clamp(23px,2.2vw,29px); margin:1.45em 0 .7em; padding-bottom:9px; border-bottom:1px solid #d7e8eb; }
.ep-portal .ep-prose h3 { font-size:clamp(19px,1.8vw,23px); margin:1.35em 0 .6em; }
.ep-portal .ep-prose h4 { font-size:18px; margin:1.2em 0 .55em; }
.ep-portal .ep-prose a { color:#008391; text-decoration:underline; text-decoration-color:#8acbd0; text-underline-offset:3px; }
.ep-portal .ep-prose a:hover { color:#005b6a; }
.ep-portal .ep-prose ul,.ep-portal .ep-prose ol { padding-left:1.35em; margin:0 0 1.5em; }
.ep-portal .ep-prose li { margin:0 0 .42em; }
.ep-portal .ep-prose strong,.ep-portal .ep-prose b { color:#082c39; }
.ep-prose :is(img,video,iframe) { max-width:100%; }
.ep-prose img { height:auto; border-radius:7px; }
.ep-prose figure { max-width:100%; margin:19px 0; }
.ep-portal .ep-prose figcaption { color:#6b828d; font-size:12px; margin:7px 0; text-align:center; }
.ep-portal .ep-prose blockquote { border-left:4px solid #1badb6; background:#edf8f9; padding:18px 22px; margin:22px 0; border-radius:0 10px 10px 0; }
.ep-portal .ep-prose blockquote p { margin-bottom:0; }
.ep-prose table { display:block; max-width:100%; overflow-x:auto; border-collapse:collapse; margin:18px 0; border:1px solid #d4e5e8; }
.ep-portal .ep-prose th,.ep-portal .ep-prose td { padding:10px 12px; border:1px solid #d4e5e8; font-size:14px; }
.ep-portal .ep-prose th { background:#eaf5f6; font-weight:850; }
.ep-portal .ep-prose code { padding:2px 5px; background:#edf5f7; border-radius:4px; color:#0c4959; }
.ep-portal .ep-prose pre { overflow-x:auto; padding:18px; background:#0c2d39; color:#e3fafa; border-radius:8px; }
.ep-portal .ep-prose pre code { background:transparent; color:inherit; }
.ep-portal .ep-prose :is(input,select,textarea) { max-width:100%; color:#153844; background:#fff; border:1px solid #b9d4d8; border-radius:7px; padding:8px 11px; }
.ep-portal .ep-prose :is(.wp-block-columns,.wp-block-group) { max-width:100%; }
.ep-portal .ep-post-pages { border-top:1px solid #dce8eb; padding-top:15px; margin-top:18px; }
.ep-article__after { padding:20px 45px 34px; border-top:1px solid #e3eef0; color:#6a7f88; font-size:12px; }
.ep-article__after > span { display:block; margin-bottom:9px; }
.ep-article__after > div { display:flex; flex-wrap:wrap; gap:8px; }
.ep-portal .ep-article__after a { display:inline-block; background:#eaf7f8; color:#007d8b; font-weight:750; padding:6px 12px; border-radius:50px; }
.ep-portal .ep-article__after a:hover { background:#d2f0f3; }

/* Sidebar: sticky całej kolumny; tylko lista Na skróty ma max-height i overflow-y. */
.ep-sidebar { min-width:0; }
.ep-sidebar__sticky { position:sticky; top:20px; display:flex; flex-direction:column; gap:12px; }
.ep-sidebox { background:#fff; border:1px solid #dce9eb; border-radius:11px; padding:15px 17px; box-shadow:0 4px 15px rgba(6,44,55,.04); min-width:0; }
.ep-sidebox__heading { display:flex; align-items:center; gap:9px; color:#068e9c; padding-bottom:10px; margin-bottom:10px; border-bottom:1px solid #e2eef0; }
.ep-portal .ep-sidebox__heading h2 { font-size:16px; font-weight:900; color:#0a2c39; line-height:1.25; letter-spacing:-.02em; }
.ep-toc__list { max-height:210px; overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain; padding-right:5px; scrollbar-width:thin; scrollbar-color:#82bfc5 #e8f3f5; }
.ep-toc__list::-webkit-scrollbar { width:6px; }
.ep-toc__list::-webkit-scrollbar-track { background:#e8f3f5; border-radius:9px; }
.ep-toc__list::-webkit-scrollbar-thumb { background:#82bfc5; border-radius:9px; }
.ep-portal .ep-toc__list a { display:block; color:#345967; padding:7px 8px; border-radius:5px; border-left:2px solid transparent; line-height:1.35; font-size:12px; font-weight:660; }
.ep-portal .ep-toc__list a:hover,.ep-portal .ep-toc__list a.is-active { background:#e6f7f8; color:#066d7b; border-left-color:#0ba5ae; }
.ep-portal .ep-toc__list a.ep-toc__h3 { padding-left:20px; color:#607985; font-size:11.5px; font-weight:550; }
.ep-sidebox__posts,.ep-sidebox__categories { list-style:none; padding:0; margin:0; }
.ep-sidebox__posts li { padding:0 0 9px; margin:0 0 9px; border-bottom:1px solid #ebf2f3; }
.ep-sidebox__posts li:last-child { padding:0; margin:0; border:0; }
.ep-portal .ep-sidebox__posts a { display:block; font-size:12px; line-height:1.43; font-weight:770; color:#173a47; }
.ep-portal .ep-sidebox__posts a:hover { color:#078997; }
.ep-sidebox__posts time { color:#899ba3; font-size:10px; display:block; margin-top:3px; }
.ep-sidebox__categories li + li { border-top:1px solid #ebf2f3; }
.ep-portal .ep-sidebox__categories a { display:flex; align-items:center; justify-content:space-between; gap:6px; padding:8px 0; color:#375661; font-size:12px; font-weight:710; }
.ep-portal .ep-sidebox__categories a:hover { color:#007b89; }
.ep-sidebox__categories .ep-icon { color:#2aaab4; }

/* Kategoria / archiwum: alternatywny layout względem domyślnego Newspaper. */
.ep-archive__header { border-radius:13px; padding:32px 39px; background:linear-gradient(115deg,#07303e,#0a5262); color:#fff; margin-bottom:18px; position:relative; overflow:hidden; }
.ep-archive__header::after { content:""; position:absolute; top:-120px; right:-40px; width:350px; height:350px; border-radius:50%; border:68px solid rgba(69,212,223,.08); pointer-events:none; }
.ep-archive__header .ep-breadcrumb { color:#c4e7ea; margin-bottom:16px; position:relative; z-index:1; }
.ep-portal .ep-archive__header .ep-breadcrumb a { color:#c6e5e9; }
.ep-archive__header .ep-eyebrow { color:#84f1f1; }
.ep-portal .ep-archive__header h1 { font-size:clamp(30px,3.3vw,45px); font-weight:900; line-height:1.14; margin:13px 0 12px; letter-spacing:-.035em; color:white; position:relative; z-index:1; }
.ep-archive__description { max-width:850px; color:#e7f4f5; font-size:14px; line-height:1.67; position:relative; z-index:1; }
.ep-archive__description :is(p,ul,ol) { margin:0 0 9px; }
.ep-archive__description a { text-decoration:underline; }
.ep-archive__content { min-width:0; }
.ep-archive__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.ep-archive__grid .ep-post-card__picture { aspect-ratio:16/8; }
.ep-archive__grid .ep-post-card__body { padding:19px; }
.ep-portal .ep-archive__grid .ep-post-card__title { font-size:19px; }
.ep-portal .ep-archive__grid .ep-post-card__excerpt { font-size:13px; }
.ep-pagination { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin:24px 0; }
.ep-portal .ep-pagination .page-numbers { padding:9px 12px; border:1px solid #cde1e4; background:#fff; border-radius:7px; color:#235465; font-weight:750; font-size:13px; }
.ep-portal .ep-pagination .page-numbers.current { border-color:#088f9d; background:#087e8c; color:#fff; }
.ep-portal .ep-pagination a.page-numbers:hover { color:#fff; background:#0b8d9b; }
.ep-archive__search { display:flex; flex-wrap:wrap; align-items:center; gap:8px; max-width:700px; margin-top:18px; }
.ep-archive__search label { width:100%; font-weight:760; font-size:12px; }
.ep-archive__search input { flex:1; width:auto; }
.ep-empty { background:white; padding:42px 34px; border-radius:11px; text-align:center; }
.ep-portal .ep-empty h2 { font-size:23px; font-weight:900; }
.ep-empty p { margin:9px 0 21px; color:#5d7380; }
.ep-error-page { padding:70px 35px 100px; max-width:800px; margin:0 auto; text-align:center; }
.ep-portal .ep-error-page__number { color:#078e9d; font-size:105px; letter-spacing:-.08em; font-weight:950; line-height:1; }
.ep-portal .ep-error-page h1 { font-size:clamp(28px,3.2vw,42px); font-weight:900; margin:12px 0; }
.ep-error-page p { color:#5e7783; font-size:16px; }
.ep-error-page .ep-archive__search { margin:26px auto 15px; text-align:left; }
.ep-error-page__links { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.ep-portal .ep-error-page__links a { background:#fff; padding:9px 13px; color:#087e8d; border-radius:99px; font-weight:760; font-size:12px; }
.ep-under-article { margin-top:34px; }
.ep-related-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.ep-comments-area { margin:22px 0; padding:28px 34px; background:#fff; border-radius:11px; color:#173849; }
.ep-comments-area :is(input,textarea) { max-width:100%; border:1px solid #cde0e2; background:#fff; color:#143746; padding:9px; border-radius:8px; }

/* Stopka wspólna dla każdej podstrony + pięć linków Statlink bez zbędnego napisu. */
.ep-footer { background:linear-gradient(105deg,#052633,#063443 70%,#042b38); color:#dbeff0; }
.ep-footer__main { display:grid; grid-template-columns:1.55fr 1fr .75fr 1.1fr; gap:32px; padding:33px 34px 23px; }
.ep-brand--footer .ep-brand__wordmark strong { color:#f4ffff; font-size:23px; }
.ep-brand--footer .ep-brand__wordmark strong span { color:#38d3df; }
.ep-brand--footer .ep-brand__wordmark small { color:#b2d2d7; }
.ep-footer__intro p { font-size:12px; color:#bed8dc; line-height:1.65; margin:13px 0 8px; }
.ep-portal .ep-footer__small-link { color:#67e2e5; display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:800; }
.ep-portal .ep-footer__small-link:hover { color:#ffd06a; }
.ep-portal .ep-footer__title { font-size:13px; color:#fff; margin:6px 0 13px; font-weight:900; line-height:1.3; }
.ep-footer__links { list-style:none; }
.ep-footer__links li { margin-bottom:7px; line-height:1.25; }
.ep-portal .ep-footer__links a { font-size:11.5px; color:#c6e1e4; }
.ep-portal .ep-footer__links a:hover { color:#ffd167; }
.ep-footer__subscribe p { color:#c2dde0; font-size:12px; line-height:1.58; margin-bottom:13px; }
.ep-portal .ep-footer__button { display:flex; justify-content:space-between; gap:8px; align-items:center; border-radius:8px; background:#e7f9fa; color:#075063; padding:11px 13px; font-size:12px; font-weight:850; }
.ep-portal .ep-footer__button:hover { background:#fff; color:#044458; }
.ep-portal .ep-footer__contact { color:#73dce2; font-size:11px; display:inline-block; margin-top:11px; text-decoration:underline; }
.ep-footer__bottom { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; font-size:10.5px; color:#a3c5cb; border-top:1px solid rgba(255,255,255,.1); padding:14px 34px 17px; }
.ep-statlink { display:flex; align-items:center; justify-content:center; background:#021f2a; border-top:1px solid rgba(255,255,255,.1); padding:13px 22px; text-align:center; color:#d3e8e9; }
.ep-statlink b { display:flex; gap:8px 14px; align-items:center; justify-content:center; flex-wrap:wrap; font-size:12px; }
.ep-statlink__item { display:inline-flex; max-width:100%; }
.ep-portal .ep-statlink a { color:#deedf0; text-decoration:underline; text-underline-offset:2px; }
.ep-portal .ep-statlink a:hover { color:#ffca5c; }
.ep-backtop { position:fixed; right:22px; bottom:22px; width:44px; height:44px; border-radius:50%; border:0; background:#07899a; color:#fff; box-shadow:0 6px 18px rgba(0,29,37,.22); display:grid; place-items:center; z-index:100; opacity:0; transform:translateY(10px) rotate(-90deg); pointer-events:none; transition:opacity .2s,transform .2s; }
.ep-backtop.is-visible { opacity:1; transform:translateY(0) rotate(-90deg); pointer-events:auto; }
.ep-backtop:hover { background:#045d6d; }

@media (max-width: 1150px) {
  .ep-header__inner { padding:12px 20px; }
  .ep-brand__wordmark strong { font-size:23px; }
  .ep-nav { gap:12px; }
  .ep-portal .ep-nav > a { font-size:11.8px; }
  .ep-canvas { padding:16px 20px 25px; }
  .ep-hero__copy { width:70%; }
  .ep-reading-layout,.ep-archive__layout { grid-template-columns:minmax(0,1fr) 270px; gap:14px; }
}
@media (max-width: 980px) {
  .ep-topbar__inner { padding:5px 22px; }
  .ep-mobile-menu { display:grid; margin-left:auto; }
  .ep-header__inner { min-height:76px; }
  .ep-nav { display:none; flex-direction:column; gap:0; align-items:stretch; position:absolute; top:100%; left:0; right:0; z-index:50; background:#fff; padding:12px 23px 19px; border-top:1px solid #dfeaed; box-shadow:0 18px 28px rgba(5,45,53,.15); }
  .ep-nav.is-open { display:flex; }
  .ep-portal .ep-nav > a { display:block; padding:11px 6px; border-bottom:1px solid #e7f0f2; font-size:14px; }
  .ep-nav__mobile-pages { display:grid; grid-template-columns:repeat(2,1fr); gap:10px 16px; padding-top:14px; }
  .ep-nav__mobile-pages a { color:#087d8a; font-weight:800; font-size:13px; }
  .ep-hero__copy { width:76%; }
  .ep-topics-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .ep-topic__cover { height:150px; }
  .ep-portal .ep-topic__bottom h3 { min-height:auto; font-size:15px; }
  .ep-portal .ep-topic__bottom p { font-size:11px; }
  .ep-latest-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ep-reading-layout,.ep-archive__layout { grid-template-columns:minmax(0,1fr) 245px; }
  .ep-article__header { padding:32px 29px 12px; }
  .ep-prose { padding:15px 29px 30px; }
  .ep-article__after { padding:18px 29px 28px; }
  .ep-footer__main { grid-template-columns:1.3fr 1fr 1fr; gap:24px; }
  .ep-footer__subscribe { grid-column:1/-1; max-width:480px; }
}
@media (max-width: 760px) {
  .ep-topbar__links { display:none; }
  .ep-canvas { padding:12px; }
  .ep-hero { min-height:500px; }
  .ep-hero__photo { width:100%; opacity:.68; }
  .ep-hero__glow { background:linear-gradient(90deg,rgba(3,33,45,.96),rgba(4,35,47,.81) 63%,rgba(4,32,45,.34)); }
  .ep-hero__copy { width:100%; padding:44px 25px 140px; }
  .ep-portal .ep-hero h1 { font-size:clamp(34px,7vw,49px); }
  .ep-hero__benefits { left:25px; right:20px; display:grid; grid-template-columns:repeat(2,1fr); gap:12px; bottom:18px; }
  .ep-feature { grid-template-columns:1fr; }
  .ep-feature__image,.ep-feature__image img { max-height:245px; min-height:190px; }
  .ep-feature__copy { padding:22px 24px; }
  .ep-portal .ep-feature__copy h2 { font-size:24px; }
  .ep-reading-layout,.ep-archive__layout { grid-template-columns:minmax(0,1fr); }
  .ep-sidebar__sticky { position:static; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }
  .ep-sidebox--toc { grid-column:1/-1; }
  .ep-toc__list { max-height:210px; }
  .ep-sidebox--related { grid-column:1/-1; }
  .ep-promo-grid { grid-template-columns:1fr; margin:16px 0; }
  .ep-archive__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ep-related-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .ep-topbar__inner { justify-content:center; padding:6px 9px; text-align:center; }
  .ep-topbar__inner p { font-size:10px; }
  .ep-header__inner { min-height:67px; padding:10px 12px; gap:3px; }
  .ep-brand { gap:7px; }
  .ep-brand__mark { width:36px; height:36px; }
  .ep-brand__wordmark strong { font-size:20px; }
  .ep-brand__wordmark small { font-size:8px; }
  .ep-search-toggle,.ep-mobile-menu { padding:8px; }
  .ep-hero__copy { padding:37px 22px 151px; }
  .ep-portal .ep-hero h1 { font-size:clamp(31px,8vw,41px); }
  .ep-portal .ep-hero__copy > p { font-size:13px; }
  .ep-hero__benefits span { font-size:10px; }
  .ep-hero__benefits .ep-icon { width:23px; height:23px; }
  .ep-section-heading { align-items:flex-start; flex-direction:column; gap:9px; }
  .ep-portal .ep-section-heading h2 { font-size:27px; }
  .ep-topics-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .ep-topic__cover { height:110px; }
  .ep-topic__bottom { padding:24px 10px 13px; }
  .ep-portal .ep-topic__bottom h3 { font-size:12.5px; }
  .ep-portal .ep-topic__bottom p { font-size:10px; }
  .ep-latest-grid,.ep-archive__grid,.ep-related-grid { grid-template-columns:1fr; }
  .ep-post-card__picture { aspect-ratio:16/7.6; }
  .ep-portal .ep-post-card__title { font-size:19px; }
  .ep-promo__content { width:84%; padding:22px; }
  .ep-home-about { padding:15px; flex-direction:column; }
  .ep-article__header { padding:26px 19px 7px; }
  .ep-portal .ep-article__header h1 { font-size:29px; }
  .ep-prose { padding:9px 19px 26px; font-size:15px; }
  .ep-article__after { padding:15px 19px 25px; }
  .ep-sidebar__sticky { grid-template-columns:1fr; }
  .ep-archive__header { padding:27px 21px; }
  .ep-footer__main { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 14px; padding:29px 20px; }
  .ep-footer__intro,.ep-footer__subscribe { grid-column:1/-1; }
  .ep-footer__bottom { padding:13px 20px; }
  .ep-error-page { padding:52px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ep-portal *, .ep-portal *::before, .ep-portal *::after { transition:none !important; scroll-behavior:auto !important; }
}
