/*
Theme Name: MOST 3.3 — Newspaper Child
Theme URI: https://mostgolubdobrzyn.pl/
Description: Niezależny motyw potomny Newspaper dla portalu MOST. Samodzielnie renderuje nagłówek, czerwony pasek WAŻNE, stopkę, artykuły, archiwa i profile autorów.
Template: Newspaper
Version: 3.3.58
Author: Redakcja MOST
Text Domain: most-newspaper
Requires at least: 6.2
Requires PHP: 7.4
*/

/*
 * Brygada 1918 jest dostarczana lokalnie: bez połączeń do zewnętrznych CDN,
 * z prawdziwymi odmianami dla każdej używanej wagi i kursywy.
 */
@font-face{font-family:"Brygada 1918 MOST";src:url("assets/fonts/brygada-1918-regular.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Brygada 1918 MOST";src:url("assets/fonts/brygada-1918-italic.woff2") format("woff2");font-style:italic;font-weight:400;font-display:swap}
@font-face{font-family:"Brygada 1918 MOST";src:url("assets/fonts/brygada-1918-semibold.woff2") format("woff2");font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:"Brygada 1918 MOST";src:url("assets/fonts/brygada-1918-semibold-italic.woff2") format("woff2");font-style:italic;font-weight:600;font-display:swap}
@font-face{font-family:"Brygada 1918 MOST";src:url("assets/fonts/brygada-1918-bold.woff2") format("woff2");font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:"Brygada 1918 MOST";src:url("assets/fonts/brygada-1918-bold-italic.woff2") format("woff2");font-style:italic;font-weight:700;font-display:swap}

:root{
	--most3-font-family:"Brygada 1918 MOST",Georgia,"Times New Roman",serif;
	--most-font-family:var(--most3-font-family);
  --most3-primary:var(--most-primary,#1B2A4A);
  --most3-secondary:var(--most-secondary,#2C4A7C);
  --most3-accent:var(--most-accent,#D4A012);
  --most3-bg:var(--most-bg,#F5F5F0);
  --most3-text:var(--most-text,#333333);
  --most3-muted:#6b7280;
  --most3-border:#e2e4e7;
  --most3-white:#ffffff;
  --most3-radius:10px;
  --most3-shadow:0 12px 34px rgba(27,42,74,.08);
}

body.most-portal-active{background:var(--most3-bg);font-family:var(--most3-font-family);font-weight:400;font-synthesis:none;font-kerning:normal;text-rendering:optimizeLegibility}

/* MOST 3.3.55 — stopka jest końcem mobilnego dokumentu.
 * Reguła na elemencie root wyłącza sprężyste przewijanie poza zakres strony,
 * a zgodne tło zapobiega błyskowi koloru treści w starszych WebKitach. */
html.most3-portal-document{
  min-height:100%;
  background:#f7f7f7;
  overscroll-behavior-y:none;
}
html.most3-portal-document body.most3-own-header-footer{
  min-height:100%;
  margin:0;
  overscroll-behavior-y:none;
}
@media(max-width:860px){
  html.most3-portal-document,
  html.most3-portal-document body.most3-own-header-footer{
    overflow-x:clip;
  }
}
.most-sponsored-badge{display:inline-flex;align-items:center;max-width:100%;margin:0 0 10px;padding:5px 8px;background:#f4ead0;border-left:3px solid var(--most3-accent);color:#4b4232;font-size:11px;font-weight:700;line-height:1.25;letter-spacing:.045em;text-transform:uppercase}.most-sponsored-badge a{color:inherit!important;text-decoration:none!important}.most-sponsored-badge a:hover,.most-sponsored-badge a:focus-visible{color:var(--most3-secondary)!important;text-decoration:underline!important}.most3-card-body>.most-sponsored-badge{margin-bottom:7px;font-size:9px}.most3-article-header>.most-sponsored-badge{margin-bottom:12px}
.most-front-page .td-container,.most-author-profile-page .td-container{width:auto!important}
.most-portal-active .most-front-page{width:100%;max-width:none}

/* =========================================================
   Niezależny szablon pojedynczego artykułu
   ========================================================= */
body.most3-custom-single{background:var(--most3-bg)}
.most3-single-page{background:var(--most3-bg);padding:38px 0 70px;min-height:60vh}
.most3-single-shell{width:min(1180px,calc(100% - 40px));margin:0 auto;background:var(--most3-white);box-shadow:0 1px 0 rgba(0,0,0,.03)}
.most3-article{margin:0;padding:0}
.most3-article-inner{width:min(860px,calc(100% - 56px));margin:0 auto;padding:34px 0 54px}

.most3-breadcrumbs{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 28px;color:var(--most3-muted);font-size:12px}
.most3-breadcrumbs a{color:var(--most3-secondary);text-decoration:none}
.most3-breadcrumbs a:hover{color:var(--most3-accent)}

.most3-article-header{margin-bottom:28px}
.most3-article-taxonomy{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.most3-article-taxonomy a{color:var(--most3-secondary);text-decoration:none}
.most3-article-taxonomy span{color:var(--most3-accent)}
.most3-article-title{margin:0!important;color:var(--most3-primary)!important;font-family:inherit!important;font-size:clamp(38px,5vw,64px)!important;line-height:1.04!important;letter-spacing:-.035em!important;font-weight:700!important}
.most3-article-lead{margin:20px 0 0;color:#454b55;font-size:clamp(19px,2.2vw,24px);line-height:1.45;font-weight:400}

.most3-byline{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:24px;padding-top:18px;border-top:1px solid var(--most3-border);color:var(--most3-muted);font-size:13px}
.most3-byline-author{display:inline-flex;align-items:center;gap:10px;color:var(--most3-primary)!important;text-decoration:none!important;font-weight:700}
.most3-byline-author img{width:44px!important;height:44px!important;min-width:44px;border-radius:50%;object-fit:cover;background:#eef0f2}
.most3-byline time{margin-left:auto}

.most3-article-hero{margin:0 0 34px}
.most3-article-hero img{display:block;width:100%;height:auto;max-height:640px;object-fit:cover;border-radius:8px}
.most3-article-hero figcaption{display:flex;align-items:baseline;justify-content:space-between;gap:4px 16px;flex-wrap:wrap;margin-top:8px;color:var(--most3-muted);font-size:11px;line-height:1.45}
.most3-photo-caption{min-width:0}.most3-photo-credit{margin-left:auto;color:#7b8088;font-style:normal;white-space:normal}

.most3-article-content{color:var(--most3-text);font-family:var(--most3-font-family);font-size:19px;line-height:1.82;overflow-wrap:anywhere}

/* Informacja redakcyjna wyświetlana wyłącznie przed tekstami autorów zewnętrznych. */
.most3-opinion-disclaimer{margin:0 0 1.75em;padding:.9em 0 .9em 18px;border-left:4px solid var(--most3-accent);color:var(--most3-primary);font-style:italic;font-size:16px;line-height:1.65}
.most3-opinion-disclaimer p{margin:0!important;color:inherit!important;font:inherit!important;line-height:inherit!important}
.most3-article-content>*:first-child{margin-top:0}
.most3-article-content p{margin:0 0 1.45em}
.most3-article-content h2,.most3-article-content h3,.most3-article-content h4{color:var(--most3-primary);font-family:var(--most3-font-family);font-weight:700;line-height:1.25;margin:1.7em 0 .65em}
.most3-article-content h2{font-size:32px}.most3-article-content h3{font-size:25px}.most3-article-content h4{font-size:21px}
.most3-article-content a{color:var(--most3-secondary);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.most3-article-content img{max-width:100%;height:auto;border-radius:6px}
.most3-article-content figure{max-width:100%;margin:1.8em 0}
.most3-article-content figcaption{color:var(--most3-muted);font-family:var(--most3-font-family);font-size:12px;line-height:1.5}
.most3-article-content blockquote{margin:1.8em 0;padding:8px 0 8px 24px;border-left:5px solid var(--most3-accent);color:var(--most3-primary);font-size:1.15em;font-style:italic}
.most3-article-content ul,.most3-article-content ol{margin:0 0 1.5em 1.4em;padding:0}
.most3-article-content li{margin-bottom:.55em}
.most3-article-content table{display:block;width:100%;max-width:100%;overflow-x:auto;border-collapse:collapse;font-family:var(--most3-font-family);font-size:14px}
.most3-article-content th,.most3-article-content td{padding:10px 12px;border:1px solid var(--most3-border);text-align:left}
.most3-article-content iframe,.most3-article-content video{max-width:100%}
.most3-editorial-inline-image{display:block;clear:both;margin:clamp(38px,5vw,56px) 0!important}
.most3-editorial-inline-image__image{display:block;width:100%!important;height:auto!important;max-height:720px;object-fit:contain;border-radius:8px!important;background:#f3f4f6}
.most3-editorial-inline-image figcaption{display:flex;align-items:baseline;justify-content:space-between;gap:4px 18px;flex-wrap:wrap;margin:8px 0 0!important;color:var(--most3-muted)!important;font-family:var(--most3-font-family)!important;font-size:11px!important;line-height:1.5!important}
.most3-editorial-inline-image__caption{min-width:0}.most3-editorial-inline-image__credit{margin-left:auto;color:#7b8088;font-style:normal}
.most3-article-content .alignwide{width:min(1040px,calc(100vw - 48px));max-width:none;margin-left:50%;transform:translateX(-50%)}
.most3-article-content .alignfull{width:calc(100vw - 20px);max-width:none;margin-left:50%;transform:translateX(-50%)}

/* Reklama wewnątrz artykułu pozostaje elementem treści, nie wpływa na szablon. */
.most3-article-content .portal-ad[data-slot^="article-inline"]{width:100%;min-height:250px;margin:34px auto;clear:both;font-family:var(--most3-font-family)}
.most3-article-content .portal-ad img{max-width:100%;max-height:600px;width:auto;height:auto;object-fit:contain}

/* MOST 3.3.13 — pozioma reklama pod menu i paskiem WAŻNE. */
.most3-header-ad{background:var(--most3-bg);padding:18px 0 0}
.most3-header-ad__inner{width:min(1180px,calc(100% - 40px));margin:0 auto}
.most3-header-ad .portal-ad{width:100%;min-height:110px;margin:0;font-family:var(--most3-font-family)}
.most3-header-ad .portal-ad img{max-width:100%;max-height:260px;width:auto;height:auto;object-fit:contain}

/* MOST 3.3.14–3.3.15 — reklamy nad artykułem i w działach na złotym tle z palety portalu.
   3.3.14 objęło pojedynczy artykuł, a 3.3.15 tym samym efektem obejmuje
   reklamy działowe renderowane pod menu i czerwonym paskiem WAŻNE. */
body.most3-custom-single .most3-header-ad,
body.category.most3-custom-archive .most3-header-ad{background:var(--most3-accent);padding:18px 0}
body.most3-custom-single .most3-header-ad .portal-ad,
body.category.most3-custom-archive .most3-header-ad .portal-ad{background:var(--most3-accent);border-color:rgba(27,42,74,.18)}
body.most3-custom-single .most3-header-ad .portal-ad-label,
body.category.most3-custom-archive .most3-header-ad .portal-ad-label{color:rgba(27,42,74,.7)}

.most3-inline-recommendation{display:grid;grid-template-columns:minmax(220px,36%) 1fr;gap:0;margin:36px 0;border:1px solid var(--most3-border);border-radius:9px;overflow:hidden;background:#f8f8f5;font-family:var(--most3-font-family)}
.most3-inline-recommendation-image{display:block;min-height:210px;background:#dfe4ea;overflow:hidden}
.most3-inline-recommendation-image img{width:100%!important;height:100%!important;min-height:210px;object-fit:cover;border-radius:0!important;display:block}
.most3-image-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:210px;background:linear-gradient(135deg,var(--most3-primary),var(--most3-secondary));color:#fff;font-size:38px;font-weight:700;letter-spacing:-.04em}
.most3-inline-recommendation-body{display:flex;flex-direction:column;justify-content:center;padding:25px 28px}
.most3-inline-label{display:inline-block;align-self:flex-start;margin-bottom:9px;padding:5px 9px;background:var(--most3-accent);color:#111;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.07em}
.most3-inline-category{color:var(--most3-secondary);font-size:11px;font-weight:700;text-transform:uppercase}
.most3-inline-recommendation h2{margin:8px 0 0!important;font-size:25px!important;line-height:1.25!important}
.most3-inline-recommendation h2 a{color:var(--most3-primary)!important;text-decoration:none!important}

.most3-author-box{display:flex;align-items:flex-start;gap:22px;margin:42px 0 0;padding:24px;border-top:4px solid var(--most3-primary);background:#f6f6f2}
.most3-author-box>img{width:112px!important;height:112px!important;min-width:112px;border-radius:50%;object-fit:cover;background:#e9ecef}
.most3-author-label{color:var(--most3-accent);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.most3-author-box h2{margin:4px 0 7px!important;font-family:var(--most3-font-family)!important;font-size:27px!important;line-height:1.2!important}
.most3-author-box h2 a{color:var(--most3-primary)!important;text-decoration:none!important}
.most3-author-box p{margin:0 0 10px;color:#555;font-family:var(--most3-font-family);font-size:14px;line-height:1.6}
.most3-author-link{color:var(--most3-secondary)!important;font-family:var(--most3-font-family);font-size:12px;font-weight:700;text-decoration:none!important}

.most3-stay-updated{margin:48px 0 0}
.most3-section-heading{margin-bottom:20px;border-bottom:3px solid var(--most3-primary)}
.most3-section-heading h2{display:inline-block;margin:0!important;padding:10px 16px 9px;background:var(--most3-primary);color:#fff!important;font-family:var(--most3-font-family)!important;font-size:18px!important;line-height:1.2!important}
.most3-related-grid,.most3-archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}

.most3-post-navigation{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:40px 0 0;padding-top:22px;border-top:1px solid var(--most3-border)}
.most3-post-navigation a{display:flex;flex-direction:column;gap:5px;color:var(--most3-primary)!important;text-decoration:none!important}
.most3-post-navigation span{color:var(--most3-muted);font-size:11px;text-transform:uppercase;font-weight:700}
.most3-post-navigation strong{font-size:15px;line-height:1.35}
.most3-post-next{text-align:right}
.most3-page-links{margin:25px 0;font-family:var(--most3-font-family)}
.most3-comments{margin-top:36px;padding-top:24px;border-top:1px solid var(--most3-border)}

/* =========================================================
   Karty i archiwa
   ========================================================= */
body.most3-custom-archive{background:var(--most3-bg)}
.most3-archive-page{padding:38px 0 70px;background:var(--most3-bg);min-height:60vh}
.most3-archive-shell{width:min(1180px,calc(100% - 40px));margin:0 auto;padding:34px;background:#fff}
.most3-archive-header{margin-bottom:28px;padding-bottom:20px;border-bottom:3px solid var(--most3-primary)}
.most3-profile-eyebrow{color:var(--most3-accent);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.1em}
.most3-archive-header h1,.most3-author-profile h1{margin:5px 0 0!important;color:var(--most3-primary)!important;font-size:clamp(34px,4vw,50px)!important;line-height:1.1!important}
.most3-archive-description{max-width:760px;margin-top:12px;color:#555;font-size:15px;line-height:1.6}
.most3-author-profile{display:flex;align-items:center;gap:28px;margin-bottom:30px;padding:28px;border-bottom:3px solid var(--most3-primary);background:#f7f7f3}
.most3-author-profile>img{width:160px!important;height:160px!important;min-width:160px;border-radius:50%;object-fit:cover;background:#e9ecef}
.most3-author-profile p{max-width:720px;margin:10px 0 0;color:#555;font-size:15px;line-height:1.65}

.most3-card{min-width:0;overflow:hidden;border:1px solid var(--most3-border);border-radius:var(--most3-radius);background:#fff;box-shadow:0 2px 12px rgba(27,42,74,.04);transition:transform .18s ease,box-shadow .18s ease}
.most3-card:hover{transform:translateY(-2px);box-shadow:var(--most3-shadow)}
.most3-card-image{display:block;aspect-ratio:16/9;overflow:hidden;background:#dfe4ea}
.most3-card-image img{display:block;width:100%;height:100%;object-fit:cover}
.most3-card-image .most3-image-placeholder{min-height:0;height:100%}
.most3-card-body{padding:15px}
.most3-card-category{color:var(--most3-secondary)!important;font-size:11px;font-weight:700;text-transform:uppercase;text-decoration:none!important}
.most3-card h2{margin:8px 0!important;font-family:var(--most3-font-family)!important;font-size:20px!important;line-height:1.28!important}
.most3-card h2 a{color:var(--most3-primary)!important;text-decoration:none!important}
.most3-card-body>p{margin:0 0 13px;color:#555;font-size:14px;line-height:1.5}
.most3-card-meta{display:flex;align-items:center;gap:8px;padding-top:11px;border-top:1px solid #eee;color:var(--most3-muted);font-size:11px}
.most3-card-meta img{width:28px!important;height:28px!important;border-radius:50%;object-fit:cover}
.most3-card-meta time{margin-left:auto}

.most3-pagination{margin-top:34px}
.most3-pagination ul{display:flex;justify-content:center;gap:7px;list-style:none;margin:0;padding:0}
.most3-pagination a,.most3-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 10px;border:1px solid var(--most3-border);color:var(--most3-primary);text-decoration:none}
.most3-pagination .current{background:var(--most3-primary);color:#fff;border-color:var(--most3-primary)}
.most3-empty-state{padding:40px;border:1px dashed #cdd1d5;text-align:center;color:var(--most3-muted)}

/* =========================================================
   Responsywność
   ========================================================= */
@media(max-width:900px){
  .most3-single-page,.most3-archive-page{padding-top:22px}
  .most3-single-shell,.most3-archive-shell{width:min(100% - 24px,1180px)}
  .most3-article-inner{width:min(100% - 36px,860px)}
  .most3-related-grid,.most3-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .most3-inline-recommendation{grid-template-columns:34% 1fr}
}

@media(max-width:640px){
  .most3-single-shell,.most3-archive-shell{width:100%;box-shadow:none}
  .most3-archive-shell{padding:22px 14px}
  .most3-article-inner{width:calc(100% - 28px);padding:24px 0 40px}
  .most3-article-title{font-size:36px!important}
  .most3-article-lead{font-size:19px}
  .most3-byline{align-items:flex-start}
  .most3-byline time{width:100%;margin-left:54px}
  .most3-article-content{font-size:18px;line-height:1.72}
  .most3-article-content h2{font-size:28px}.most3-article-content h3{font-size:23px}
  .most3-inline-recommendation{display:block}
  .most3-inline-recommendation-image,.most3-inline-recommendation-image img,.most3-image-placeholder{min-height:190px}
  .most3-inline-recommendation-body{padding:18px}
  .most3-inline-recommendation h2{font-size:22px!important}
  .most3-author-box,.most3-author-profile{flex-direction:column;text-align:center;align-items:center}
  .most3-related-grid,.most3-archive-grid{grid-template-columns:1fr}
  .most3-post-navigation{grid-template-columns:1fr}
  .most3-post-next{text-align:left}
  .most3-card-meta time{margin-left:auto}
}

/* =========================================================
   MOST 3.2.8 — złote marginesy portalu
   Zmiana dotyczy wyłącznie zewnętrznego tła stron. Wewnętrzne
   białe i jasne powierzchnie portalu pozostają bez zmian.
   ========================================================= */
:root{--most3-margin-background:#d4a012}

@media (min-width:768px){
  body.most-portal-active,
  body.most3-custom-single,
  body.most3-custom-archive{
    background-color:var(--most3-margin-background)!important;
  }

  /* Newspaper nie przykrywa złotego tła własnym pełnoekranowym tłem. */
  body.most-portal-active .td-main-content-wrap,
  body.most3-custom-single .most3-single-page,
  body.most3-custom-archive .most3-archive-page{
    background-color:transparent!important;
  }

  /* Strona główna zachowuje dotychczasowe jasne wnętrze, a kolor złoty
     jest widoczny wyłącznie po bokach jako margines portalu. */
  body.most-portal-active .most-front-page,
  body.most-portal-active .most-author-profile-page{
    position:relative;
    isolation:isolate;
    background-color:var(--most3-margin-background)!important;
  }
  body.most-portal-active .most-front-page::before,
  body.most-portal-active .most-author-profile-page::before{
    content:"";
    position:absolute;
    z-index:-1;
    top:0;
    bottom:0;
    left:50%;
    width:min(1212px,100%);
    transform:translateX(-50%);
    background:var(--most-bg,#F5F5F0);
  }

  /* W strefie autora i na zwykłych stronach środkowy kontener nadal
     pozostaje biały, natomiast przestrzeń po jego bokach jest złota. */
  body.most-author-area .td-main-content-wrap > .td-container,
  body.most-author-area .td-main-content-wrap .td-container{
    background:#fff;
  }
}


/* =========================================================
   MOST 3.2.16 — stabilny profil autora zewnętrznego
   Profil używa niezależnego szablonu MOST. Środkowa kolumna pozostaje
   biała, a złoto jest widoczne wyłącznie na rzeczywistych marginesach.
   ========================================================= */
body.author.most3-custom-archive{
  background:var(--most3-margin-background,#d4a012)!important;
}
body.author.most3-custom-archive .most3-archive-page{
  background:transparent!important;
}
body.author.most3-custom-archive .most3-archive-shell{
  background:#fff!important;
}

@media(max-width:767px){
  body.author.most3-custom-archive,
  body.author.most3-custom-archive .most3-archive-page{
    background:var(--most3-bg,#F5F5F0)!important;
  }
  body.author.most3-custom-archive .most3-archive-shell{
    background:#fff!important;
  }
}

/* =========================================================
   MOST 3.2.19 — spójne strony kategorii
   Aktywna kategoria korzysta z niezależnego szablonu MOST. Biała kolumna
   treści pozostaje czytelna, a złoty kolor jest widoczny wyłącznie na
   rzeczywistych marginesach strony.
   ========================================================= */
body.category.most3-custom-archive{
  background:var(--most3-margin-background,#d4a012)!important;
}
body.category.most3-custom-archive .most3-archive-page{
  background:transparent!important;
}
body.category.most3-custom-archive .most3-archive-shell{
  background:#fff!important;
}

@media(max-width:767px){
  body.category.most3-custom-archive,
  body.category.most3-custom-archive .most3-archive-page{
    background:var(--most3-bg,#F5F5F0)!important;
  }
  body.category.most3-custom-archive .most3-archive-shell{
    background:#fff!important;
  }
}

/* =========================================================
   MOST 3.2.21 — minimalistyczna stopka informacyjna
   ========================================================= */
body.most3-code-footer-active .td-footer-page,
body.most3-code-footer-active .tdc-footer-template,
body.most3-code-footer-active .tdb-footer-wrap,
body.most3-code-footer-active .td-footer-wrap,
body.most3-code-footer-active .td-footer-wrapper,
body.most3-code-footer-active .td-footer-template-wrap,
body.most3-code-footer-active .td-footer-container,
body.most3-code-footer-active .td-sub-footer-wrap,
body.most3-code-footer-active .td-sub-footer-container,
body.most3-code-footer-active #td-footer-template,
body.most3-code-footer-active [data-template-type="footer"]{
  display:none!important;
}

.most3-site-footer-minimal{
  position:relative;
  z-index:50;
  width:100%;
  clear:both;
  margin:0;
  border-top:1px solid #e4e4e4;
  background:#f7f7f7;
  color:#9a9a9a;
  font-family:var(--most3-font-family);
}
.most3-footer-minimal-inner{
  width:min(1360px,calc(100% - 48px));
  margin:0 auto;
  padding:18px 0;
}
.most3-footer-minimal-list{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:7px 0;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
.most3-footer-minimal-list li{
  display:inline-flex;
  align-items:center;
  margin:0!important;
  padding:0!important;
  color:#b1b1b1;
  font-size:12px;
  line-height:1.45;
}
.most3-footer-minimal-list li+li::before{
  content:"•";
  display:inline-block;
  margin:0 9px;
  color:#b6b6b6;
  font-size:10px;
  line-height:1;
}
.most3-footer-minimal-list a{
  color:#9a9a9a!important;
  font-size:12px!important;
  font-weight:400!important;
  line-height:1.45!important;
  text-decoration:none!important;
  text-transform:none!important;
  transition:color .16s ease;
}
.most3-footer-minimal-list a:hover,
.most3-footer-minimal-list a:focus-visible{
  color:var(--most3-primary,#1b2a4a)!important;
  text-decoration:underline!important;
  text-underline-offset:3px;
}

@media(max-width:640px){
  .most3-footer-minimal-inner{
    width:100%;
    padding:16px 18px;
  }
  .most3-footer-minimal-list{
    justify-content:center;
  }
  .most3-footer-minimal-list li,
  .most3-footer-minimal-list a{
    font-size:11px!important;
  }
  .most3-footer-minimal-list li+li::before{
    margin:0 7px;
  }
}


/* =========================================================
   MOST 3.3 — niezależny nagłówek i stopka, bez tagDiv Header/Footer
   ========================================================= */
body.most3-own-header-footer{--most3-header-height:auto}
.most3-site-header{position:sticky;top:0;z-index:2200;width:100%;background:#fff;box-shadow:0 2px 10px rgba(27,42,74,.06);font-family:var(--most3-font-family)}
body.admin-bar .most3-site-header{top:32px}@media(max-width:782px){body.admin-bar .most3-site-header{top:46px}}
.most3-site-header .most-topline{background:var(--most3-primary,#1B2A4A);color:#fff;font-size:12px;font-weight:700;letter-spacing:.02em;padding:7px 0;text-align:left}
.most3-site-header .most-topline .most-wrap{display:flex;align-items:center;justify-content:space-between;gap:18px;width:min(1280px,calc(100% - 48px));margin:0 auto}
.most3-header-date{opacity:.98;white-space:nowrap}.most3-header-slogan{color:var(--most3-accent,#d4a012);font-weight:700;text-align:right;text-transform:uppercase}
.most3-site-header .most-header{position:relative;z-index:2;background:#fff;border-bottom:1px solid rgba(27,42,74,.08)}
.most3-site-header .most-header-inner{display:flex;align-items:center;gap:30px;min-height:84px;width:min(1280px,calc(100% - 48px));margin:0 auto}
.most3-site-header .most-brand{display:flex;align-items:center;flex:0 0 auto;min-width:220px;max-width:270px;text-decoration:none!important;line-height:1}
.most3-site-header .most-brand img{display:block;width:100%;max-width:260px;height:auto;object-fit:contain}
.most3-site-header .most-main-nav{display:flex;align-items:center;justify-content:center;gap:25px;flex:1;min-width:0}
.most3-site-header .most-main-nav>a{position:relative;font:inherit;font-size:16px;font-weight:700;color:var(--most3-primary,#1B2A4A);text-decoration:none;border:0;background:transparent;padding:30px 0;cursor:pointer;white-space:nowrap;text-transform:uppercase;letter-spacing:.005em;transition:color .16s ease}
.most3-site-header .most-main-nav>a::after{content:"";position:absolute;left:0;right:0;bottom:13px;height:3px;border-radius:999px;background:var(--most3-accent,#d4a012);transform:scaleX(0);transform-origin:center;transition:transform .16s ease}
.most3-site-header .most-main-nav>a:hover,.most3-site-header .most-main-nav>a:focus-visible,.most3-site-header .most-main-nav>a[aria-current]{color:var(--most3-accent,#d4a012)}
.most3-site-header .most-main-nav>a:hover::after,.most3-site-header .most-main-nav>a:focus-visible::after,.most3-site-header .most-main-nav>a[aria-current]::after{transform:scaleX(1)}
.most3-site-header .most-main-nav>a:focus-visible{outline:2px solid var(--most3-accent,#d4a012);outline-offset:6px;border-radius:2px}
.most3-site-header .most-header-tools{display:flex;align-items:center;gap:10px;flex:0 0 auto}.most3-site-header .most-search{display:flex;align-items:center;border:1px solid transparent;border-radius:999px;background:transparent;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.most3-site-header .most-search input{position:static;width:0!important;height:40px!important;min-width:0!important;overflow:hidden;clip:auto;opacity:0;pointer-events:none;border:0!important;background:transparent!important;padding:0!important;color:var(--most3-primary,#1B2A4A)!important;font:16px var(--most3-font-family)!important;outline:0;transition:width .2s ease,opacity .14s ease,padding .2s ease}.most3-site-header .most-search.is-open{border-color:rgba(27,42,74,.3);background:#fff;box-shadow:0 5px 18px rgba(27,42,74,.12)}.most3-site-header .most-search.is-open input{width:220px!important;opacity:1;pointer-events:auto;padding:0 4px 0 15px!important}.most3-site-header .most-search button{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex:0 0 42px;border:0;background:transparent;color:var(--most3-primary,#1B2A4A);line-height:1;cursor:pointer}.most3-site-header .most-search button svg{display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.most3-site-header .most-search button:hover,.most3-site-header .most-search button:focus-visible{color:var(--most3-accent,#d4a012)}.most3-site-header .most-search button:focus-visible{outline:2px solid var(--most3-accent,#d4a012);outline-offset:2px;border-radius:50%}
.most3-site-header .most3-facebook-link{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex:0 0 42px;border-radius:50%;background:transparent;color:var(--most3-primary,#1B2A4A)!important;text-decoration:none!important;transition:color .16s ease,background-color .16s ease,transform .16s ease}
.most3-site-header .most3-facebook-link svg{display:block;width:22px;height:22px;fill:currentColor}
.most3-site-header .most3-facebook-link:hover{color:var(--most3-accent,#d4a012)!important;background:rgba(212,160,18,.1);transform:translateY(-1px)}
.most3-site-header .most3-facebook-link:focus-visible{color:var(--most3-accent,#d4a012)!important;outline:2px solid var(--most3-accent,#d4a012);outline-offset:2px}
.most3-site-header .most-menu-toggle{display:none;margin-left:auto;border:0;background:transparent;padding:8px;cursor:pointer}.most3-site-header .most-menu-toggle span{display:block;width:26px;height:2px;margin:5px 0;background:var(--most3-primary,#1B2A4A)}
body.admin-bar .most3-site-header{top:32px}.most-breaking-ticker-integrated,.most3-site-header .most-breaking-ticker{position:relative!important;top:auto!important;z-index:3!important;display:block!important;width:100%;height:40px;background:#c8102e;color:#fff;box-shadow:none}.most-breaking-ticker-integrated[hidden]{display:none!important}.most-breaking-ticker-integrated .most-breaking-ticker__label{background:#9d0b22;color:#fff}.most-breaking-ticker-integrated .most-breaking-ticker__item{color:#fff!important;font-weight:700}.most-breaking-ticker-integrated .most-breaking-ticker__separator{background:#fff}.most-breaking-ticker-spacer{display:none!important}
.most3-site-footer-minimal{z-index:60}
@media(max-width:1120px){.most3-site-header .most-main-nav{gap:16px}.most3-site-header .most-main-nav>a{font-size:14px}.most3-site-header .most-brand{min-width:180px;max-width:220px}.most3-site-header .most-search.is-open input{width:170px!important}}
@media(max-width:860px){.most3-site-header .most-header{z-index:4}}
@media(max-width:860px){.most3-site-header .most-topline .most-wrap{width:min(100% - 24px,1280px);justify-content:center}.most3-header-date{display:none}.most3-header-slogan{text-align:center;font-size:10px}.most3-site-header .most-header-inner{width:min(100% - 24px,1280px);min-height:66px;gap:14px}.most3-site-header .most-brand{min-width:128px;max-width:158px}.most3-site-header .most-menu-toggle{display:block}.most3-site-header .most-main-nav{display:none;position:absolute;left:0;right:0;top:66px;z-index:30;align-items:stretch;flex-direction:column;gap:0;padding:12px 22px;background:#fff;border-top:1px solid #e6e8eb;box-shadow:0 14px 34px rgba(27,42,74,.15)}.most3-site-header .most-main-nav.is-open{display:flex}.most3-site-header .most-main-nav>a{display:block;width:100%;padding:13px 12px;border-bottom:1px solid #eef0f2;text-align:left;font-size:15px}.most3-site-header .most-main-nav>a::after{top:8px;right:auto;bottom:8px;left:0;width:4px;height:auto;transform:scaleY(0)}.most3-site-header .most-main-nav>a:hover::after,.most3-site-header .most-main-nav>a:focus-visible::after,.most3-site-header .most-main-nav>a[aria-current]::after{transform:scaleY(1)}.most3-site-header .most-header-tools{margin-left:0}.most3-site-header .most3-facebook-link,.most3-site-header .most-search button{width:36px;height:36px;flex-basis:36px}.most3-site-header .most3-facebook-link svg{width:20px;height:20px}.most3-site-header .most-search.is-open{position:absolute;z-index:50;top:100%;right:12px;left:12px;padding:4px;border-radius:6px}.most3-site-header .most-search.is-open input{width:100%!important;height:42px!important}.most-breaking-ticker-integrated{height:40px}.most-breaking-ticker-integrated .most-breaking-ticker__label{padding:0 11px;font-size:10px}.most-breaking-ticker-integrated .most-breaking-ticker__item{padding:0 13px;font-size:13px}}
@media(max-width:560px){.most3-site-header .most-topline{padding:5px 0}.most3-header-slogan{font-size:9px;line-height:1.25}.most3-site-header .most-brand{min-width:112px;max-width:136px}.most3-site-header .most-header-inner{min-height:58px}.most3-site-header .most-main-nav{top:58px}.most3-site-header .most-header-tools{display:flex;gap:6px}.most3-site-header .most3-facebook-link,.most3-site-header .most-search button{width:34px;height:34px;flex-basis:34px}.most3-site-header .most3-facebook-link svg{width:19px;height:19px}.most-breaking-ticker-integrated{height:38px}}


/*
   MOST 3.3.3 — korekta nagłówka i archiwów kategorii.
   Wyśrodkowanie sloganu w górnym pasku bez przesuwania przez datę po lewej.
*/
@media (min-width:861px){
  .most3-site-header .most-topline .most-wrap{
    position:relative;
    justify-content:center;
  }
  .most3-site-header .most-topline .most3-header-date{
    position:absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
  }
  .most3-site-header .most-topline .most3-header-slogan{
    display:block;
    width:100%;
    text-align:center;
    padding:0 210px;
    box-sizing:border-box;
  }
}
@media (min-width:861px) and (max-width:1120px){
  .most3-site-header .most-topline .most3-header-slogan{
    padding:0 150px;
  }
}
@media (min-width:861px) and (max-width:980px){
  .most3-site-header .most-topline .most3-header-date{
    position:static;
    transform:none;
  }
  .most3-site-header .most-topline .most-wrap{
    justify-content:center;
  }
  .most3-site-header .most-topline .most3-header-slogan{
    width:auto;
    padding:0;
  }
}


/* =========================================================
   MOST 3.3.18 — galeria zdjęć redakcyjnych w środku artykułu.
   ========================================================= */
.most3-editorial-gallery{margin:42px 0;padding-top:28px;border-top:1px solid var(--most3-border);font-family:var(--most3-font-family)}
.most3-editorial-gallery__head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px;border-bottom:3px solid var(--most3-primary)}
.most3-editorial-gallery__head h2{display:inline-block;margin:0!important;padding:10px 16px 9px;background:var(--most3-primary);color:#fff!important;font-family:var(--most3-font-family)!important;font-size:18px!important;line-height:1.2!important}
.most3-editorial-gallery__head span{padding-bottom:10px;color:var(--most3-muted);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.07em}
.most3-editorial-gallery__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.most3-editorial-gallery__item{position:relative;margin:0!important;border-radius:9px;overflow:hidden;background:#eef0f2;box-shadow:0 1px 0 rgba(0,0,0,.04)}
.most3-editorial-gallery__item.is-featured{grid-column:span 2;grid-row:span 2}
.most3-editorial-gallery__grid.has-1{grid-template-columns:1fr}
.most3-editorial-gallery__grid.has-1 .most3-editorial-gallery__item.is-featured{grid-column:auto;grid-row:auto}
.most3-editorial-gallery__grid.has-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.most3-editorial-gallery__grid.has-2 .most3-editorial-gallery__item.is-featured{grid-column:auto;grid-row:auto}
.most3-editorial-gallery__item a{display:block;width:100%;height:100%;text-decoration:none!important}
.most3-editorial-gallery__item img{display:block;width:100%!important;height:100%!important;aspect-ratio:4/3;object-fit:cover;border-radius:0!important;transition:transform .18s ease,filter .18s ease}
.most3-editorial-gallery__item.is-featured img{aspect-ratio:16/10}
.most3-editorial-gallery__item a:hover img{transform:scale(1.025);filter:brightness(.96)}
.most3-editorial-gallery__item figcaption{position:absolute;left:0;right:0;bottom:0;margin:0!important;padding:22px 14px 10px;background:linear-gradient(to top,rgba(0,0,0,.68),rgba(0,0,0,0));color:#fff!important;font-family:var(--most3-font-family)!important;font-size:12px!important;line-height:1.35!important}
@media(max-width:767px){.most3-editorial-gallery{margin:32px 0}.most3-editorial-gallery__head{align-items:flex-start;flex-direction:column;gap:6px}.most3-editorial-gallery__head span{padding:0 0 8px}.most3-editorial-gallery__grid{grid-template-columns:1fr 1fr;gap:8px}.most3-editorial-gallery__item.is-featured{grid-column:1/-1;grid-row:auto}.most3-editorial-gallery__item img,.most3-editorial-gallery__item.is-featured img{aspect-ratio:4/3}}
@media(max-width:767px){.most3-editorial-inline-image{margin:32px 0!important}.most3-editorial-inline-image figcaption{display:block}.most3-editorial-inline-image__credit{display:block;margin:3px 0 0}}


/* =========================================================
   MOST 3.3.19 — lightbox/karuzela galerii redakcyjnej.
   ========================================================= */
.most3-editorial-gallery__item a{cursor:zoom-in}
.most3-gallery-lightbox{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:32px;background:rgba(8,13,23,.86);font-family:var(--most3-font-family);color:#fff}
.most3-gallery-lightbox.is-open{display:flex}
.most3-gallery-lightbox[hidden]{display:none!important}
.most3-gallery-lightbox__panel{position:relative;width:min(1180px,100%);max-height:calc(100vh - 64px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;outline:none}
.most3-gallery-lightbox__top{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:42px}
.most3-gallery-lightbox__title{margin:0;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.78)}
.most3-gallery-lightbox__counter{font-size:13px;font-weight:700;color:rgba(255,255,255,.82)}
.most3-gallery-lightbox__close{appearance:none;border:0;border-radius:999px;width:42px;height:42px;background:#fff;color:var(--most3-primary,#1B2A4A);font-size:30px;line-height:40px;font-weight:700;cursor:pointer;box-shadow:0 12px 28px rgba(0,0,0,.24)}
.most3-gallery-lightbox__stage{position:relative;min-height:220px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.04);border-radius:12px;overflow:hidden;box-shadow:0 18px 50px rgba(0,0,0,.28)}
.most3-gallery-lightbox__figure{margin:0!important;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}
.most3-gallery-lightbox__image{display:block;max-width:100%!important;max-height:calc(100vh - 190px)!important;width:auto!important;height:auto!important;object-fit:contain;border-radius:0!important;box-shadow:none!important;background:#111827}
.most3-gallery-lightbox__caption{width:100%;margin:0!important;padding:12px 18px;background:rgba(0,0,0,.52);color:#fff!important;font-size:14px!important;line-height:1.45!important;text-align:center}
.most3-gallery-lightbox__caption:empty{display:none}
.most3-gallery-lightbox__nav{appearance:none;position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:48px;height:64px;border:0;border-radius:10px;background:rgba(255,255,255,.94);color:var(--most3-primary,#1B2A4A);font-size:42px;line-height:1;cursor:pointer;box-shadow:0 10px 28px rgba(0,0,0,.22)}
.most3-gallery-lightbox__nav:hover,.most3-gallery-lightbox__close:hover{background:var(--most3-accent,#D4A012);color:#111827}
.most3-gallery-lightbox__prev{left:14px}
.most3-gallery-lightbox__next{right:14px}
.most3-gallery-lightbox__hint{margin:0;text-align:center;font-size:12px;color:rgba(255,255,255,.66)}
@media(max-width:767px){.most3-gallery-lightbox{padding:12px}.most3-gallery-lightbox__panel{max-height:calc(100vh - 24px);gap:8px}.most3-gallery-lightbox__top{min-height:38px}.most3-gallery-lightbox__close{width:38px;height:38px;font-size:28px;line-height:36px}.most3-gallery-lightbox__stage{border-radius:9px}.most3-gallery-lightbox__image{max-height:calc(100vh - 170px)!important}.most3-gallery-lightbox__caption{padding:10px 12px;font-size:13px!important}.most3-gallery-lightbox__nav{width:42px;height:56px;font-size:36px;background:rgba(255,255,255,.88)}.most3-gallery-lightbox__prev{left:8px}.most3-gallery-lightbox__next{right:8px}.most3-gallery-lightbox__hint{display:none}}
html.most3-gallery-lightbox-open,body.most3-gallery-lightbox-open{overflow:hidden!important}
.most3-editorial-gallery__item figcaption{pointer-events:none}

/* =========================================================
   MOST 3.3.20 — galeria w treści jako pozioma zajawka karuzeli.
   W artykule widoczny jest duży pierwszy kadr i fragment kolejnego zdjęcia,
   co sugeruje przewijanie. Lightbox/karuzela po kliknięciu zostaje bez zmian.
   ========================================================= */
.most3-editorial-gallery{overflow:hidden}
.most3-editorial-gallery__grid,
.most3-editorial-gallery__grid.has-1,
.most3-editorial-gallery__grid.has-2{display:flex!important;grid-template-columns:none!important;gap:12px!important;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-left:0;-webkit-overflow-scrolling:touch;padding:0 0 12px;margin:0;touch-action:pan-x;scrollbar-width:thin}
.most3-editorial-gallery__grid::-webkit-scrollbar{height:7px}
.most3-editorial-gallery__grid::-webkit-scrollbar-track{background:#eef0f2;border-radius:999px}
.most3-editorial-gallery__grid::-webkit-scrollbar-thumb{background:rgba(27,42,74,.38);border-radius:999px}
.most3-editorial-gallery__item,
.most3-editorial-gallery__item.is-featured,
.most3-editorial-gallery__grid.has-1 .most3-editorial-gallery__item.is-featured,
.most3-editorial-gallery__grid.has-2 .most3-editorial-gallery__item.is-featured{flex:0 0 calc(100% - 96px)!important;width:calc(100% - 96px)!important;max-width:none!important;grid-column:auto!important;grid-row:auto!important;scroll-snap-align:start;scroll-snap-stop:always;border-radius:11px}
.most3-editorial-gallery__grid.has-1{overflow:visible!important;padding-bottom:0!important}
.most3-editorial-gallery__grid.has-1 .most3-editorial-gallery__item,
.most3-editorial-gallery__grid.has-1 .most3-editorial-gallery__item.is-featured{flex-basis:100%!important;width:100%!important}
.most3-editorial-gallery__item a{height:100%}
.most3-editorial-gallery__item img,
.most3-editorial-gallery__item.is-featured img{aspect-ratio:16/10!important;height:auto!important;min-height:260px;object-fit:cover}
.most3-editorial-gallery__item figcaption{padding:30px 16px 12px;font-size:13px!important}
@media(max-width:767px){.most3-editorial-gallery__grid,.most3-editorial-gallery__grid.has-1,.most3-editorial-gallery__grid.has-2{gap:10px!important;padding-bottom:10px}.most3-editorial-gallery__item,.most3-editorial-gallery__item.is-featured,.most3-editorial-gallery__grid.has-1 .most3-editorial-gallery__item.is-featured,.most3-editorial-gallery__grid.has-2 .most3-editorial-gallery__item.is-featured{flex-basis:calc(100% - 54px)!important;width:calc(100% - 54px)!important}.most3-editorial-gallery__grid.has-1 .most3-editorial-gallery__item,.most3-editorial-gallery__grid.has-1 .most3-editorial-gallery__item.is-featured{flex-basis:100%!important;width:100%!important}.most3-editorial-gallery__item img,.most3-editorial-gallery__item.is-featured img{aspect-ratio:4/3!important;min-height:0}.most3-editorial-gallery__item figcaption{padding:24px 12px 10px;font-size:12px!important}}


/* =========================================================
   MOST 3.3.21 — polska wyszukiwarka i spójne zwykłe strony
   Wyszukiwarka oraz strony informacyjne korzystają z jasnego środka
   i złotych marginesów, tak jak strona główna i działy portalu.
   ========================================================= */
body.most3-custom-page{
  background:var(--most3-margin-background,#d4a012)!important;
}
.most3-static-page{
  padding:38px 0 70px;
  background:transparent!important;
  min-height:60vh;
}
.most3-static-shell{
  width:min(1180px,calc(100% - 40px));
  margin:0 auto;
  padding:34px;
  background:#fff;
  color:var(--most3-text,#333333);
}
.most3-static-article{
  max-width:860px;
  margin:0 auto;
}
.most3-static-header{
  margin-bottom:26px;
  padding-bottom:18px;
  border-bottom:3px solid var(--most3-primary,#1B2A4A);
}
.most3-static-header h1{
  margin:0!important;
  color:var(--most3-primary,#1B2A4A)!important;
  font-size:clamp(34px,4vw,50px)!important;
  line-height:1.1!important;
  letter-spacing:-.025em!important;
}
.most3-static-content{
  font-family:var(--most3-font-family);
  font-size:18px;
  line-height:1.78;
}
.most3-static-content>*:first-child{margin-top:0!important}
.most3-static-content p{margin:0 0 1.35em}
.most3-static-content h2,.most3-static-content h3,.most3-static-content h4{
  color:var(--most3-primary,#1B2A4A);
  font-family:var(--most3-font-family);
  font-weight:700;
  line-height:1.25;
  margin:1.6em 0 .65em;
}
.most3-static-content h2{font-size:30px}.most3-static-content h3{font-size:24px}.most3-static-content h4{font-size:20px}
.most3-static-content a{color:var(--most3-secondary,#2C4A7C);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.most3-static-content img{max-width:100%;height:auto;border-radius:6px}
.most3-static-content ul,.most3-static-content ol{margin:0 0 1.4em 1.4em;padding:0}
.most3-static-content li{margin-bottom:.45em}
.most3-static-content table{display:block;width:100%;max-width:100%;overflow-x:auto;border-collapse:collapse;font-family:var(--most3-font-family);font-size:14px}
.most3-static-content th,.most3-static-content td{padding:10px 12px;border:1px solid var(--most3-border,#e2e4e7);text-align:left}

.most3-search-page-form{
  display:grid;
  grid-template-columns:1fr auto;
  gap:0;
  max-width:760px;
  margin:0 0 28px;
  border:1px solid var(--most3-primary,#1B2A4A);
  background:#fff;
}
.most3-search-page-form label{
  position:absolute;
  width:1px!important;
  height:1px!important;
  overflow:hidden;
  clip:rect(1px,1px,1px,1px);
  white-space:nowrap;
}
.most3-search-page-form input{
  width:100%;
  min-height:48px;
  border:0!important;
  padding:0 16px!important;
  background:#fff!important;
  color:var(--most3-text,#333333)!important;
  font:16px var(--most3-font-family)!important;
  outline:none;
}
.most3-search-page-form button{
  min-height:48px;
  border:0!important;
  padding:0 24px!important;
  background:var(--most3-primary,#1B2A4A)!important;
  color:#fff!important;
  font:700 13px var(--most3-font-family)!important;
  text-transform:uppercase;
  letter-spacing:.04em;
  cursor:pointer;
}
.most3-search-page-form button:hover{background:var(--most3-secondary,#2C4A7C)!important}
.most3-search-help{
  margin:-12px 0 26px;
  color:var(--most3-muted,#6b7280);
  font:14px/1.55 var(--most3-font-family);
}

@media(max-width:767px){
  body.most3-custom-page,
  body.most3-custom-page .most3-static-page,
  body.search.most3-custom-archive,
  body.search.most3-custom-archive .most3-archive-page{
    background:var(--most3-bg,#F5F5F0)!important;
  }
  .most3-static-shell{width:100%;padding:22px 14px}
  .most3-search-page-form{grid-template-columns:1fr;margin-bottom:22px}
  .most3-search-page-form button{width:100%}
}


/* =========================================================
   MOST 3.3.22 — globalne szablony systemowe bez fallbacku Newspaper
   Dotyczy m.in. 404, pustych/błędnych linków, zwykłych stron i pozostałych
   archiwów. Środek jest jasny/biały, złoto pozostaje tylko marginesem.
   ========================================================= */
body.most3-custom-system{
  background:var(--most3-margin-background,#d4a012)!important;
}
.most3-system-page{
  padding:38px 0 70px;
  background:transparent!important;
  min-height:60vh;
}
.most3-system-shell{
  width:min(1180px,calc(100% - 40px));
  margin:0 auto;
  padding:34px;
  background:#fff;
  color:var(--most3-text,#333333);
}
.most3-system-hero{
  max-width:860px;
  margin:0 auto 34px;
  padding-bottom:24px;
  border-bottom:3px solid var(--most3-primary,#1B2A4A);
}
.most3-system-hero h1{
  margin:6px 0 12px!important;
  color:var(--most3-primary,#1B2A4A)!important;
  font-size:clamp(38px,5vw,62px)!important;
  line-height:1.03!important;
  letter-spacing:-.04em!important;
}
.most3-system-hero p{
  max-width:720px;
  margin:0;
  color:#4f5661;
  font:18px/1.58 var(--most3-font-family);
}
.most3-system-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:22px;
  font-family:var(--most3-font-family);
}
.most3-system-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 18px;
  background:var(--most3-primary,#1B2A4A);
  color:#fff!important;
  font-weight:700;
  text-decoration:none!important;
  text-transform:uppercase;
  letter-spacing:.04em;
  font-size:12px;
}
.most3-system-button:hover{background:var(--most3-secondary,#2C4A7C)}
.most3-system-button.is-secondary{
  background:#fff;
  color:var(--most3-primary,#1B2A4A)!important;
  border:1px solid var(--most3-primary,#1B2A4A);
}
.most3-system-button.is-secondary:hover{background:#f5f5f0}
.most3-system-search{
  max-width:760px;
  margin:0 auto 34px;
}
.most3-system-search .most3-search-page-form{margin:0}
.most3-system-section{
  max-width:1180px;
  margin:0 auto;
}
.most3-system-section .most3-section-heading{margin-top:0}

@media(max-width:767px){
  body.most3-custom-system,
  body.most3-custom-system .most3-system-page{
    background:var(--most3-bg,#F5F5F0)!important;
  }
  .most3-system-shell{width:100%;padding:24px 14px}
  .most3-system-hero{margin-bottom:26px}
  .most3-system-actions{display:grid;grid-template-columns:1fr}
  .most3-system-button{width:100%}
}


/* MOST 3.3.24 — PILNE: bez zmiany wyglądu tytułów, większa plakietka na desktopie. */
.most3-card-pilne .most3-card-image,
.most3-inline-recommendation-pilne .most3-inline-recommendation-image{position:relative}
.most3-card-pilne-badge{position:absolute;top:10px;right:10px;z-index:3;display:inline-flex;align-items:center;justify-content:center;padding:5px 7px;background:#e30613;color:#fff;font:700 11px/1 var(--most3-font-family);letter-spacing:.03em;text-transform:uppercase;border-radius:0;box-shadow:0 3px 10px rgba(0,0,0,.22);pointer-events:none}
@media(min-width:1024px){
  .most3-card-pilne-badge{top:12px;right:12px;padding:7px 10px;font-size:13px;letter-spacing:.04em}
}
.most3-card-image,.most3-inline-recommendation-image{position:relative}
.most-thumbnail-badges{position:absolute;top:10px;left:10px;z-index:3;display:flex;max-width:calc(100% - 20px);flex-direction:column;align-items:flex-start;gap:5px;pointer-events:none}
.most3-card-pilne .most-thumbnail-badges,.most3-inline-recommendation-pilne .most-thumbnail-badges{top:48px}
.most-thumbnail-editorial-badge{display:inline-flex;max-width:100%;padding:5px 8px;background:var(--most3-accent,#D4A012);color:var(--most3-primary,#1B2A4A);font:800 10px/1.1 var(--most3-font-family);letter-spacing:.035em;text-transform:uppercase;box-shadow:0 3px 10px rgba(0,0,0,.18);white-space:normal}
@media(min-width:1024px){.most-thumbnail-badges{top:12px;left:12px}.most3-card-pilne .most-thumbnail-badges,.most3-inline-recommendation-pilne .most-thumbnail-badges{top:54px}.most-thumbnail-editorial-badge{padding:7px 10px;font-size:12px}}


/* =========================================================
   MOST 3.3.29 — tło i marginesy strony głównej
   Zmiana ograniczona do portalu na stronie głównej: jasny środek
   pozostaje bez zmian, a dotychczasowe złote marginesy otrzymują
   kolor #DECAAB.
   ========================================================= */
@media (min-width:768px){
  body.home.most-portal-active,
  body.page-template-page-portal-home.most-portal-active{
    background-color:#DECAAB!important;
  }

  body.most-portal-active .most-front-page{
    background-color:#DECAAB!important;
  }
}

/* =========================================================
   MOST 3.3.30 — pewne wymuszenie koloru tła strony głównej
   Uwzględnia sytuację po rollbacku do backupu: kolor jest
   ustawiony zarówno w motywie, jak i w CSS wtyczki.
   Zmiana dotyczy wyłącznie widoku strony głównej portalu.
   ========================================================= */
@media (min-width:768px){
  body.home,
  body.front-page,
  body.page-template-page-portal-home,
  body.most-portal-active:has(.most-front-page){
    background:#DECAAB!important;
    background-color:#DECAAB!important;
  }

  body.home.most-portal-active,
  body.front-page.most-portal-active,
  body.page-template-page-portal-home.most-portal-active,
  body.most-portal-active .td-main-content-wrap:has(.most-front-page),
  body.most-portal-active .td-main-content-wrap .most-front-page,
  body.most-portal-active .most-front-page{
    background:#DECAAB!important;
    background-color:#DECAAB!important;
  }

  body.most-portal-active .most-front-page::before{
    background:var(--most-bg,#F5F5F0)!important;
  }
}


/* =========================================================
   MOST 3.3.32 — jednolite tło portalu
   Kolor #DECAAB obejmuje zewnętrzne tło i marginesy wszystkich
   publicznych widoków MOST: strony głównej, artykułów, działów,
   gmin, autorów, wyszukiwarki, zwykłych stron i 404. Jasne/białe
   kontenery treści pozostają bez zmian.
   ========================================================= */
:root{--most3-margin-background:#DECAAB}

@media (min-width:768px){
  body.most-portal-active,
  body.most3-custom-single,
  body.most3-custom-archive,
  body.most3-custom-page,
  body.most3-custom-system,
  body.home,
  body.front-page,
  body.page-template-page-portal-home,
  body.single-post,
  body.category,
  body.tax-gmina,
  body.author,
  body.search,
  body.archive,
  body.page,
  body.error404{
    background:#DECAAB!important;
    background-color:#DECAAB!important;
  }

  body.most-portal-active .td-main-content-wrap,
  body.most3-custom-single .most3-single-page,
  body.most3-custom-archive .most3-archive-page,
  body.most3-custom-page .most3-static-page,
  body.most3-custom-system .most3-system-page{
    background:transparent!important;
    background-color:transparent!important;
  }

  body.most-portal-active .most-front-page,
  body.most-portal-active .most-author-profile-page{
    background:#DECAAB!important;
    background-color:#DECAAB!important;
  }

  body.most-portal-active .most-front-page::before,
  body.most-portal-active .most-author-profile-page::before{
    background:var(--most-bg,#F5F5F0)!important;
  }

  body.most3-custom-single .most3-header-ad,
  body.category.most3-custom-archive .most3-header-ad,
  body.most3-custom-single .most3-header-ad .portal-ad,
  body.category.most3-custom-archive .most3-header-ad .portal-ad{
    background:#DECAAB!important;
    background-color:#DECAAB!important;
  }
}

@media(max-width:767px){
  body.most-portal-active,
  body.most3-custom-single,
  body.most3-custom-archive,
  body.most3-custom-page,
  body.most3-custom-system{
    background:#DECAAB!important;
    background-color:#DECAAB!important;
  }
}

/* =========================================================
   MOST 3.3.33 — system typograficzny Brygada 1918
   Regular: tekst ciągły. SemiBold: leady, metadane i formularze.
   Bold: nagłówki, nawigacja i najważniejsze działania.
   ========================================================= */
body.most-portal-active :where(button,input,select,textarea){font-family:var(--most3-font-family)}
body.most-portal-active :where(p,li,dd,td,figcaption){font-weight:400}
body.most-portal-active :where(strong,b){font-weight:700}
body.most-portal-active :where(em,i){font-style:italic}

body.most-portal-active :where(h1,h2,h3,h4,h5,h6),
body.most-portal-active :where(.most3-article-title,.most3-card h2,.most-card h3,.most3-system-hero h1){
  font-family:var(--most3-font-family)!important;
  font-weight:700!important;
}

.most3-article-content,
.most3-static-content{
  font-family:var(--most3-font-family);
  font-weight:400;
}
.most3-article-lead,
.most3-system-hero>p,
.most3-opinion-disclaimer{
  font-weight:600!important;
}

.most3-site-header .most3-header-date,
.most3-site-header .most3-header-slogan,
.most3-breadcrumbs,
.most3-article-taxonomy,
.most3-byline,
.most-card-meta,
.most-card-footer{
  font-weight:600;
}
.most3-site-header .most-main-nav>a,
.most3-section-heading h2,
.most3-system-button,
.most3-card-pilne-badge{
  font-weight:700!important;
}

.most3-site-footer-minimal{font-weight:400}
.most3-site-footer-minimal .most3-footer-minimal-list a{font-weight:600!important}

body.most-portal-active .portal-form label,
body.most-portal-active .portal-checkline label,
body.most-portal-active .portal-hint,
body.most-portal-active .portal-my-post-meta{
  font-weight:600;
}
body.most-portal-active :where(.portal-btn,.portal-eyebrow){font-weight:700}

/* MOST 3.3.58 — mobilna stopka przybita do dolnej krawędzi ekranu.
 * Reguły znajdują się na końcu arkusza, aby nie mogły ich nadpisać starsze
 * warianty mobilnej stopki. */
@media(max-width:860px){
  html.most3-portal-document body.most3-own-header-footer{
    padding-bottom:var(--most3-mobile-footer-height,52px)!important;
  }
  .most3-site-footer-minimal{
    position:fixed!important;
    right:0!important;
    bottom:0!important;
    left:0!important;
    z-index:6000!important;
    width:100%!important;
    margin:0!important;
    padding-bottom:env(safe-area-inset-bottom)!important;
    box-shadow:0 -4px 18px rgba(27,42,74,.14);
  }
  .most3-footer-minimal-inner{
    width:100%!important;
    margin:0!important;
    padding:12px 14px!important;
    overflow:hidden!important;
  }
  .most3-footer-minimal-nav{
    width:100%;
    overflow:hidden;
  }
  .most3-footer-minimal-list{
    flex-wrap:nowrap!important;
    justify-content:flex-start!important;
    width:100%;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .most3-footer-minimal-list::-webkit-scrollbar{display:none}
  .most3-footer-minimal-list li,
  .most3-footer-minimal-list a{
    flex:0 0 auto;
    white-space:nowrap;
  }
}
