.subsite-header > div:first-child{
  margin-top: 20px !important;
  margin-bottom: 10px !important;
}

.block-more-pages {
  margin-top: 4em !important;
  margin-bottom: 4em !important;
}

#header-video {
  background-image: url(../../images/gfx/swtp_www_bg_4.jpg);
  background-size: cover;
  /* background-position: right; */
  /* filter: brightness(0.1); */
}


/***** SIS FORM *****/
#sisForm .form-label {
  font-size: 1.1rem !important;
}

#sisForm .input-lg {
  font-size: 1.1rem !important;
}

#sisForm button {
  font-size: 1rem !important;
  padding: 15px 30px !important;
  border-radius: 4px !important;
}

#sisForm button {
  font-size: 1rem !important;
  padding: 15px 30px !important;
  border-radius: 4px !important;
}

#sisForm .form-check-label {
  font-size: 1rem !important;
  margin-left: 1.25rem !important;
}

#sisForm .form-check-input {
  margin-left: 0 !important;
}

body#dolacz {
  background: url(../../images/gfx/bg-join.jpg) no-repeat center;
  background-size: cover;
}

/***** HERO: tlo obejmuje cala wysokosc sekcji (desktop) *****/
@media (min-width: 992px) {
  #home-header {
    background-image: url(../../images/gfx/swtp_www_bg_4.jpg);
    background-size: cover;
    background-position: center;
    background-color: #000000;
  }
  #header-video {
    display: none;
  }
}

/***** HERO: rozmiar naglowka i odstepy w akapitach *****/
@media (min-width: 992px) {
  #home-header h1 {
    font-size: 4.86em;
  }
}

.block-swtp-info p {
  margin-bottom: 5px;
}

@media (min-width: 992px) {
  #home-header .container > div:nth-child(2) {
    margin-top: 5em;
  }
}

#home-header .btn-go-to {
  margin-left: 0em;
  margin-top: 10px;
}

/***** Kafelki: ikonka i tytul w jednej linii bazowej *****/
#home-header .header-article .header-img {
  margin-top: 0;
}
#home-header .header-article h5 {
  margin-bottom: 0;
}

#home-header .header-article .col-md-2 {
  padding: 5px 6px;
}

/***** Kafelki: zdanie wiodace (pogrubione) *****/
#home-header .header-article .text-justify > p:first-child {
  margin-top: 10px;
  margin-bottom: 10px;
}

/***** ===== PRZENIESIENIE KAFELKOW POD HERO (2026-08-12) ===== *****
 * Kafelki "Nasze inicjatywy" / "Dlaczego warto ?" wyjechaly z #home-header
 * do sekcji #home-articles. Style ponizej odtwarzaja to, co wczesniej
 * dawalo im #home-header (obramowania, czerwony przycisk, odstepy).
 * COFNIECIE: usun caly ten blok + przywroc render_block('block-more-pages')
 * w resources/views/template/partials/home/header.blade.php
 ******************************************************************/
#home-articles .header-article > div {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}
#home-articles .header-article .header-img {
  margin-top: 0;
}
#home-articles .header-article h5 {
  margin-bottom: 0;
}
#home-articles .header-article .col-md-2 {
  padding: 5px 6px;
}
#home-articles .header-article .text-justify > p:first-child {
  margin-top: 10px;
  margin-bottom: 10px;
}
#home-articles .btn-go-to {
  display: inline-block;
  margin-left: 0;
  margin-top: 10px;
  padding: 10px 14px;
  color: #ffffff;
  font-weight: 700;
  background-color: #ed2227;
}
#home-articles .btn-go-to:hover,
#home-articles .btn-go-to:focus {
  color: #000000;
  background-color: #ffffff;
  text-decoration: none;
}
/***** ===== KONIEC PRZENIESIENIA KAFELKOW ===== *****/

/***** Kafelki: kolor naglowkow *****/
#home-articles .header-article h5 {
  color: #666666;
}

/***** HERO: wiecej przestrzeni i rozstrzelenie tresci (desktop) *****/
@media (min-width: 992px) {
  #home-header {
    min-height: 720px;
  }
  #home-header .container > div:nth-child(3) {
    margin-top: 2em;
    margin-bottom: 2em;
  }
}

/***** Kafelki pod hero: poprawki mobile *****/
@media (max-width: 767.98px) {
  #home-articles .btn-go-to {
    margin-bottom: 1.5em;
  }
}

/* ponizej 576px kolumny Bootstrapa nie maja breakpointu i ikonka
   ladowala nad naglowkiem - ustawiamy je obok siebie */
@media (max-width: 575.98px) {
  #home-articles .header-article .col-md-2 {
    flex: 0 0 auto;
    width: auto;
  }
  #home-articles .header-article .col-md-10 {
    flex: 1 1 0;
    width: auto;
  }
}

/***** /nasze-inicjatywy: blok CTA pod siatka - odseparowany od kart i od newslettera *****/
#initiative-list .initiatives-cta {
  margin-top: 3em;
  margin-bottom: 4.5em;
}
#initiative-list .initiatives-cta > div {
  padding: 2em;
  background-color: #f4f4f4;
  border-left: 4px solid #ed2227;
}
#initiative-list .initiatives-cta h3 {
  margin-bottom: 0.75em;
}
#initiative-list .initiatives-cta p:last-child {
  margin-bottom: 0;
}

/***** Strona inicjatywy: przyciski CTA pod trescia *****/
.initiative-cta-buttons {
  margin-top: 1.5em;
}
.initiative-cta-buttons .btn {
  margin-right: 10px;
  margin-bottom: 10px;
}

/***** Typografia tresci podstron: wyroznienia *****/
.page-highlight {
  margin: 2em 0;
  padding: 1.5em 2em;
  background-color: #f4f4f4;
  border-left: 4px solid #ed2227;
}
.page-highlight p:last-child {
  margin-bottom: 0;
}

ul.lista-mozliwosci {
  list-style: none;
  padding-left: 0;
  margin: 1.5em 0;
}
ul.lista-mozliwosci li {
  position: relative;
  padding-left: 1.7em;
  margin-bottom: 0.6em;
}
ul.lista-mozliwosci li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 9px;
  height: 9px;
  background-color: #ed2227;
}

p.swtp-claim {
  margin: 1.6em 0;
  line-height: 1.3;
}
p.swtp-cta {
  margin-top: 2em;
  margin-bottom: 2em;
}

/***** Partnerzy: wprowadzenie nad lista *****/
.partners-intro {
  margin-top: 2em;
  margin-bottom: 3em;
}

/***** O nas: odstep nad sekcjami wladz (Zarzad SWTP / Komisja Rewizyjna) *****/
body#o-nas .module-header,
body#o-nas #auditing-commission {
  margin-top: 3.5em;
}
body#o-nas #management {
  margin-top: 1em;
}

/***** Kontakt: wprowadzenie nad formularzem *****/
.kontakt-intro {
  margin-top: 2.5em;
  margin-bottom: 1em;
}

/***** ===== HIERARCHIA TRESCI PODSTRON (2026-08-12) ===== *****/

/* nadtytul nad naglowkiem strony */
.page-eyebrow {
  margin-bottom: 0.4em;
  color: #ed2227;
  font-size: 0.82em;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* czerwona kreska pod tytulem strony */
.subsite-header h2:after {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  margin-top: 0.45em;
  background-color: #ed2227;
}

/* kolumna tekstu o czytelnej szerokosci */
.page-narrow {
  max-width: 820px;
  margin: 0 auto;
}

/* nadtytul sekcji wewnatrz tresci */
.section-kicker {
  margin-bottom: 0.3em;
  color: #8c8c8c;
  font-size: 0.82em;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* cienka linia oddzielajaca sekcje */
.section-divider {
  height: 1px;
  margin: 3em 0 2.5em;
  background-color: #e4e4e4;
}

/* naglowek dwutonowy: druga czesc wyszarzona */
.heading-split .dim {
  color: #9b9b9b;
}

/* przypis / zdanie poboczne */
.muted-note {
  color: #8c8c8c;
}

/* ===== os czasu ===== */
ol.swtp-timeline {
  list-style: none;
  margin: 2em 0 1.5em;
  padding: 0;
}
ol.swtp-timeline li {
  position: relative;
  display: flex;
  padding-bottom: 1.8em;
}
ol.swtp-timeline li:last-child {
  padding-bottom: 0.5em;
}
.tl-year {
  flex: 0 0 84px;
  padding-right: 24px;
  padding-top: 0.1em;
  color: #ed2227;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}
.tl-body {
  flex: 1 1 auto;
  padding-left: 26px;
  border-left: 2px solid #e4e4e4;
}
.tl-body:before {
  content: "";
  position: absolute;
  left: 84px;
  top: 0.35em;
  width: 11px;
  height: 11px;
  margin-left: -5px;
  border: 2px solid #ed2227;
  border-radius: 50%;
  background-color: #ffffff;
}
.tl-title {
  margin-bottom: 0.2em;
  font-weight: 700;
}
.tl-body p {
  margin-bottom: 0;
  color: #6b6b6b;
}
ol.swtp-timeline li.tl-future .tl-year {
  color: #8c8c8c;
}
ol.swtp-timeline li.tl-future .tl-body:before {
  border-color: #b5b5b5;
}

/* ===== wyroznienie / callout ===== */
.callout {
  margin: 2.5em 0;
  padding: 1.6em 1.9em;
  background-color: #fdeaec;
  border-left: 5px solid #ed2227;
}
.callout-kicker {
  margin-bottom: 0.5em;
  color: #ed2227;
  font-size: 0.82em;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.callout p:last-child {
  margin-bottom: 0;
}
.chip {
  padding: 0.1em 0.5em;
  background-color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .tl-year {
    flex-basis: 58px;
    padding-right: 14px;
  }
  .tl-body {
    padding-left: 18px;
  }
  .tl-body:before {
    left: 58px;
  }
}

/***** Naglowek podstrony: podtytul mniejszy i w osi pionowej z H1 *****/
.subsite-header > .row:first-of-type {
  align-items: center;
}
.subsite-header h3.italic {
  font-size: 1.15em;
  font-weight: 400;
  line-height: 1.45;
}

/***** Os czasu: rowna pionowa linia niezaleznie od dlugosci etykiety roku *****/
.tl-year {
  flex: 0 0 118px;
  min-width: 0;
}
.tl-body:before {
  left: 118px;
}
@media (max-width: 575.98px) {
  .tl-year {
    flex-basis: 92px;
    padding-right: 14px;
  }
  .tl-body:before {
    left: 92px;
  }
}

.subsite-header hr {
  margin-top: 17px;
}

/***** Kontakt: dane kontaktowe w tej samej kolumnie co reszta tresci *****/
.kontakt-dane img {
  max-width: 100%;
  height: auto;
}
.kontakt-dane p:last-child {
  margin-bottom: 0;
}
.kontakt-dane + .kontakt-dane {
  margin-top: 1.5em;
}

/***** Lista terminow: czerwone haslo + opis *****/
ul.term-list {
  list-style: none;
  margin: 1.6em 0 0;
  padding: 0;
}
ul.term-list li {
  display: flex;
  align-items: baseline;
  margin-bottom: 1.1em;
}
ul.term-list .term {
  flex: 0 0 175px;
  padding-right: 14px;
  color: #ed2227;
  font-weight: 700;
}
ul.term-list .term-desc {
  flex: 1 1 auto;
}
@media (max-width: 575.98px) {
  ul.term-list li {
    display: block;
  }
  ul.term-list .term {
    display: block;
    margin-bottom: 0.15em;
  }
}

/***** Mocniejsza linia sekcji *****/
.section-divider-strong {
  height: 2px;
  background-color: #2b2b2b;
}

/***** Chip: rozowy na bialym tle, bialy wewnatrz calloutu *****/
.chip {
  background-color: #fdeaec;
  color: #c31f26;
}
.callout .chip {
  background-color: #ffffff;
  color: inherit;
}
