/*
 * Przychodnia Salwatorska – strona główna
 * Bootstrap 5 + własny CSS
 * border-radius: 0
 *
 * #01873c z białym tekstem daje kontrast ok. 4.63:1,
 * czyli jest tuż powyżej minimum 4.5:1 dla zwykłego tekstu WCAG AA.
 */

:root {
  --green: #01873c;
  --green-hover: #007a35;
  --green-dark: #006b30;
  --green-pale: #f3f8f5;
  --green-soft: #e7f2eb;
  --ink: #18221c;
  --muted: #526058;
  --line: #cbd5cf;
  --white: #ffffff;
  --focus: #ffbf47;
}
.pagination {
    --bs-pagination-hover-color: var(--green);
    --bs-pagination-focus-color: var(--green);
    --bs-pagination-active-bg: var(--green);
    --bs-pagination-active-border-color: var(--green);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--green-dark);
  text-decoration-thickness: .09em;
  text-underline-offset: .18em;
}

a:hover {
  color: var(--green-hover);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus) !important;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #111 !important;
}
.cms-color-primary { color: #0d6efd; }
.cms-color-secondary { color: #6c757d; }
.cms-color-success { color: #198754; }
.cms-color-danger { color: #dc3545; }
.cms-color-dark { color: #212529; }
.cms-img-25 {
    width: 25%;
}

.cms-img-50 {
    width: 50%;
}

.cms-img-75 {
    width: 75%;
}

.cms-img-100 {
    width: 100%;
}

.cms-img-left {
    display: block;
    margin-left: 0;
    margin-right: auto;
}

.cms-img-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.cms-img-right {
    display: block;
    margin-left: auto;
    margin-right: 0;
}

@media (max-width: 767.98px) {
    .cms-img-25,
    .cms-img-50,
    .cms-img-75 {
        width: 100%;
    }
}
.cms-text-left {
    text-align: left;
}

.cms-text-center {
    text-align: center;
}

.cms-text-right {
    text-align: right;
}
ul.cms-text-right,
ol.cms-text-right {
    text-align: right;
    list-style-position: inside;
}

ul.cms-text-center,
ol.cms-text-center {
    text-align: center;
    list-style-position: inside;
}

ul.cms-text-left,
ol.cms-text-left {
    text-align: left;
    list-style-position: outside;
}
.pagination {
    align-items: center;
}

.pagination .page-item {
    display: flex;
    align-items: center;
    margin: 0;
}

.pagination .page-link {
    height: 42px;
    display: flex;
    align-items: center;
    margin: 0;
}
#main-content:focus {
  outline: 0 !important;
  box-shadow: none !important;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 1rem;
  z-index: 9999;
  padding: .75rem 1rem;
  color: #111;
  background: var(--focus);
  font-weight: 700;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* =========================================================
   TOP BAR
   ========================================================= */

.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

/* Bootstrap .row odpowiada za układ kolumn */

.topbar-logo,
.topbar-item {
  min-height: 5.5rem;
}

.topbar-logo {
  display: flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}

.topbar-logo a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.site-logo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 6rem;
  object-fit: contain;
}

.topbar-item {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding-top: .75rem;
  padding-bottom: .75rem;

  border-left: 1px solid var(--line);

  color: var(--ink);
  font-size: .92rem;
}

.topbar-label {
  margin-bottom: .1rem;

  color: var(--green-dark);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.topbar-item a {
  color: var(--green-dark);
  font-weight: 700;
}

.topbar-contact a .bi {
  margin-right: .2rem;
  font-size: .82rem;
}


/* =========================================================
   NARZĘDZIA DOSTĘPNOŚCI
   ========================================================= */

.wcag-tools {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: .4rem;
  margin-top: .2rem;
}

.wcag-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;

  width: 2.5rem;
  height: 2.5rem;

  padding: 0;

  border: 2px solid var(--green-dark);
  background: var(--white);
  color: var(--green-dark);

  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.wcag-icon:hover {
  background: var(--green-dark);
  color: var(--white);
}

.wcag-icon:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.wcag-icon[aria-pressed="true"] {
  background: var(--green-dark);
  color: var(--white);
}


/* =========================================================
   NAVBAR
   ========================================================= */

.main-navbar {
  padding: .35rem 0;
  background: var(--green);
}

.navbar .nav-link {
  position: relative;

  padding: .8rem .82rem !important;

  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus-visible {
  color: var(--white);
  background: rgba(0, 0, 0, .12);
}

.navbar .nav-link.active,
.navbar .nav-link[aria-current="page"],
.navbar .nav-link.show {
  color: var(--white);
  background: var(--green-dark);
}

.navbar .nav-link:not(.dropdown-toggle)::after {
  content: "";

  position: absolute;
  right: .82rem;
  bottom: .42rem;
  left: .82rem;

  height: 2px;

  background: var(--white);

  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.navbar .nav-link:not(.dropdown-toggle):hover::after,
.navbar .nav-link:not(.dropdown-toggle):focus-visible::after,
.navbar .nav-link:not(.dropdown-toggle).active::after,
.navbar .nav-link:not(.dropdown-toggle)[aria-current="page"]::after {
  transform: scaleX(1);
}

.navbar-toggler {
  margin: .35rem 0;

  border: 2px solid var(--white);
  border-radius: 0;

  background: var(--white);
}


/* Elementy występujące wyłącznie w wersji mobilnej */

.mobile-navbar-header {
  display: none;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

  /*
   * TOPBAR
   *
   * Bootstrap:
   * logo         = col-6
   * dostępność   = col-6
   *
   * godziny i rejestrację z desktopowego topbara ukrywamy.
   */

  .topbar-hours,
  .topbar-contact {
    display: none;
  }

  .topbar-logo,
  .topbar-accessibility {
    min-height: 4.75rem;
  }


  /* LOGO */

  .topbar-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    padding-top: .5rem;
    padding-bottom: .5rem;
  }

  .topbar-logo a {
    max-width: 100%;
  }

  .site-logo {
    width: auto;
    max-width: 8rem;
    max-height: 3.5rem;
  }


  /* DOSTĘPNOŚĆ */

  .topbar-accessibility {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;

    padding-top: .5rem;
    padding-bottom: .5rem;

    border-left: 1px solid var(--line);
  }

  .topbar-accessibility .topbar-label {
    width: 100%;
    margin-bottom: .2rem;
    text-align: right;
  }

  .wcag-tools {
    justify-content: flex-end;
    gap: .2rem;
    margin-top: 0;
  }

  .wcag-icon {
    width: 2.15rem;
    height: 2.15rem;

    font-size: 1rem;
  }


  /* ZIELONY NAVBAR */

   .main-navbar {
    padding: .5rem 0;
  }

  .mobile-navbar-header {
    justify-content: space-between;
  }

  /* TELEFONY */

  .mobile-phones {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-width: 0;
  }

  .mobile-phones a {
    display: flex;
    align-items: center;
    gap: .4rem;

    color: var(--white);
    line-height: 1.15;
    text-decoration: none;
  }

  .mobile-phones a .bi {
    flex: 0 0 auto;
    font-size: .95rem;
  }

  .mobile-phones a span {
    display: flex;
    flex-direction: column;
  }

  .mobile-phones a small {
    font-size: .7rem;
    font-weight: 500;
  }

  .mobile-phones a strong {
    font-size: .86rem;
    font-weight: 700;
    white-space: nowrap;
  }

  .mobile-phones a:hover,
  .mobile-phones a:focus-visible {
    color: var(--white);
    text-decoration: underline;
  }


  /* HAMBURGER */

  .navbar-toggler {
    flex: 0 0 auto;
    margin: 0;
  }


  /* ROZWIJANE MENU */

  #mainNav {
    width: 100%;
    margin-top: .75rem;
  }
}


/* =========================================================
   BARDZO WĄSKIE EKRANY
   ========================================================= */

@media (max-width: 359.98px) {

  .site-logo {
    max-width: 6.5rem;
  }

  .wcag-icon {
    width: 2rem;
    height: 2rem;
    font-size: .9rem;
  }

  .wcag-tools {
    gap: .15rem;
  }

}

/* HERO */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--green-pale);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 45%;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(1,135,60,.035) 0,
      rgba(1,135,60,.035) 1px,
      transparent 1px,
      transparent 20px
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 4.5vw, 4.25rem) clamp(1rem, 3vw, 3rem) clamp(2.5rem, 4.5vw, 4.25rem) 0;
}

.eyebrow {
  margin: 0 0 .55rem;
  color: var(--green-dark);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 13ch;
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  font-weight: 760;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.hero-text {
  max-width: 35rem;
  margin-bottom: 1.4rem;
  color: #37453d;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

.btn {
  min-width: 9rem;
  min-height: 2.75rem;
  border-radius: 0 !important;
  font-weight: 750;
}

.btn-primary {
  --bs-btn-bg: var(--green);
  --bs-btn-border-color: var(--green);
  --bs-btn-hover-bg: var(--green-hover);
  --bs-btn-hover-border-color: var(--green-hover);
  --bs-btn-active-bg: var(--green-hover);
  --bs-btn-active-border-color: var(--green-hover);
}

.hero-photo {
  height: 100%;
}

.hero-photo img {
  align-self: end;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

/* WITAMY + AKTUALNOŚCI */

.home-content {
  position: relative;
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  overflow: hidden;
}

.home-content::before {
  content: "+";
  position: absolute;
  top: -7rem;
  left: -1.5rem;
  color: rgba(1,135,60,.045);
  font-size: 20rem;
  font-weight: 300;
  line-height: 1;
  pointer-events: none;
}

.welcome-column,
.news-column {
  position: relative;
  z-index: 1;
}

.welcome-column {
  padding-right: clamp(0rem, 3vw, 2.5rem);
}

.news-column {
  padding-left: clamp(0rem, 3vw, 2.5rem);
  border-left: 1px solid var(--line);
}

.welcome-column h2,
.news-column h2 {
  margin: 0 0 1.25rem;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -.03em;
}

.lead-copy {
  color: #344239;
  font-size: 1.1rem;
}

.welcome-accent {
  position: relative;
  display: grid;
  width: 5.25rem;
  height: 5.25rem;
  margin: 1.5rem 0 1.75rem;
  place-items: center;
  color: var(--white);
  background: var(--green);
}

.welcome-accent::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 8rem;
  height: 1px;
  background: var(--line);
}

.welcome-accent span {
  font-size: 3.2rem;
  font-weight: 300;
  line-height: 1;
}

.text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: .55rem;
  color: var(--green-dark);
  font-weight: 800;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.news-list {
  border-top: 0px solid var(--green);
}

.news-item {
  display: grid;
  grid-template-columns: 7rem minmax(0,1fr);
  gap: 1.5rem;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--line);
}

.news-item time, .news-date time {
  color: var(--green-dark);
  font-size: .88rem;
  font-weight: 800;
}

.news-content h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.35;
}

.news-content h3 a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(30, 39, 34, .45);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.news-content h3 a:hover,
.news-content h3 a:focus-visible {
  color: var(--green-dark);
  text-decoration-thickness: 2px;
}

.news-content p {
  margin: .55rem 0 0;
  color: var(--muted);
  font-size: .95rem;
}

/* FOOTER */

.site-footer {
  color: var(--white);
  background: var(--green-dark);
}

.footer-main {
  padding: 4rem 0;
}

.footer-heading {
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
}

.site-footer address {
  font-style: normal;
}

.site-footer a {
  color: var(--white);
  text-decoration:none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

.footer-links {
  margin: 0;
  padding-left:15px; 
}

.footer-links li + li {
  margin-top: .6rem;
}

.footer-bottom {
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255,255,255,.3);
}

.footer-bottom p {
  margin: 0;
  font-size: .9rem;
}

/* Globalnie bez zaokrągleń */

.btn,
.navbar-toggler,
.dropdown-menu,
.form-control,
.form-select,
.card,
.alert {
  border-radius: 0 !important;
}

/* RESPONSIVE */

@media (max-width: 1199.98px) {
  .mobile-navbar-header {
    display: flex;
    width: 100%;
    align-items: center; 
    gap: .75rem;
  }

  .navbar-nav {
    padding: .3rem 0 .6rem;
  }

  .navbar .nav-link {
    padding: .7rem 0 !important;
  }

  .navbar .nav-link:not(.dropdown-toggle)::after {
    right: 0;
    left: 0;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .mobile-phones {
    display: none;
  }
}

@media (max-width: 991.98px) {
.hero-content {
    padding-right: 0;
  }

  .hero-photo {
    margin-top: 0;
  }

  .news-column {
    padding-top: 3rem;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 767.98px) {
.section-heading {
    display: block;
  }

  .section-heading .text-link {
    margin-top: .45rem;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: .4rem;
  }
}

@media (max-width: 575.98px) {
.hero-actions {
    display: grid;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .welcome-accent::after {
    width: 5rem;
  }
}

@media (max-width: 360px) {
  .container {
    --bs-gutter-x: 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   PODSTRONY Z TREŚCIĄ
   Dopisz do css/style.css
   ========================================================= */

.page-header {
  padding: 1.5rem 0 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--green-soft);
}

.breadcrumb-nav {
  margin-bottom: 1.75rem;
}

.breadcrumb {
  margin: 0;
  font-size: .9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--muted);
}

.breadcrumb-item a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb-item a:hover,
.breadcrumb-item a:focus-visible {
  color: var(--ink);
}

.breadcrumb-item.active {
  color: var(--muted);
}

.page-header .eyebrow {
  margin-bottom: .6rem;
}

.page-header h1 {
  max-width: 52rem;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
}

.page-lead {
  max-width: 48rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.7;
}

.page-content {
  padding: 2.75rem 0 4rem;
}

.content-main {
  max-width: 56rem;
}

.content-main h2 {
  margin: 2.75rem 0 0.5rem;
  color: var(--ink);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1;
}

.content-main h2:first-child {
  margin-top: 0;
}

.content-main h3 {
  margin: 2rem 0 .75rem;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.35;
}

.content-main p,
.content-main li {
  line-height: 1.75;
}

.content-main p {
  margin-bottom: 1.25rem;
}

.content-main ul,
.content-main ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}

.content-main li + li {
  margin-top: .5rem;
}

.content-main a:not(.btn) {
  color: var(--green-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.content-main a:not(.btn):hover,
.content-main a:not(.btn):focus-visible {
  color: var(--ink);
  text-decoration-thickness: 2px;
}

@media (max-width: 767.98px) {
  .page-header {
    padding: 2.25rem 0 2rem;
  }

  .breadcrumb-nav {
    margin-bottom: 1.25rem;
  }

  .page-lead {
    font-size: 1rem;
  }

  .page-content {
    padding: 2.75rem 0 3.5rem;
  }

  .content-main h2 {
    margin-top: 2.25rem;
  }
}
/* Sekcje treści na podstronach */

.page-content .content-section {
  margin-top: 2.75rem;
}

.page-content .content-section:first-child {
  margin-top: 0;
}
.content-section-columns h2 {
  margin: 0 0 1.5rem;
  color: var(--ink);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
}

.content-section-columns p,
.content-section-columns li {
  line-height: 1.75;
}

.content-section-columns p {
  margin-bottom: 1.25rem;
}

.content-section-columns ul,
.content-section-columns ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}

.content-section-columns li + li {
  margin-top: .5rem;
}
/* CTA */

.content-section-cta {
  margin-top: 3.5rem !important;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;

  padding: 2.25rem 2.5rem;

  border-left: .35rem solid var(--green);
  background: var(--green-pale);
}

.cta-content {
  max-width: 46rem;
}

.cta-box h2 {
  margin: 0 0 .75rem;
  color: var(--ink);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  line-height: 1.25;
}

.cta-text > :last-child {
  margin-bottom: 0;
}

.cta-action {
  flex: 0 0 auto;
}

@media (max-width: 767.98px) {

  .content-section-cta {
    margin-top: 2.75rem !important;
  }

  .cta-box {
    display: block;
    padding: 1.75rem;
  }

  .cta-action {
    margin-top: 1.5rem;
  }

}

/* =========================================================
   AKTUALNOŚCI - LISTA PODSTRONY
   ========================================================= */

.news-list-page .news-item {
  grid-template-columns: 16rem minmax(0, 1fr);
  gap: 2rem;
  align-items: stretch;
  padding: 2rem 0;
}
.news-list-page .news-item.no-image {
  grid-template-columns: 1fr;
}

.news-list-page .news-thumbnail {
  width: 100%;
  min-height: 11rem;
}

.news-list-page .news-thumbnail > a {
  display: block;
  width: 100%;
  height: 100%;
}

.news-list-page .news-thumbnail img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
}
 
.news-list-page .news-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.news-list-page .news-content time {
  display: block;
  margin-bottom: .5rem;
}

.news-list-page .news-content h2 {
  margin: 0 0 .75rem;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.3;
}

.news-list-page .news-content h2 a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(30, 39, 34, .45);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.news-list-page .news-content h2 a:hover,
.news-list-page .news-content h2 a:focus-visible {
  color: var(--green-dark);
  text-decoration-thickness: 2px;
}

.news-list-page .news-content p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1rem;
}

.news-list-page .news-content .btn {
  margin-top: auto;
}


/* AKTUALNOŚCI - MOBILE */

@media (max-width: 767.98px) {

  .news-list-page .news-item {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.75rem 0;
  }

  .news-list-page .news-thumbnail {
    min-height: 0;
  }

  .news-list-page .news-thumbnail img,
  .news-list-page .news-thumbnail-placeholder {
    height: 13rem;
  }

}
.news-page {
  max-width: none;
}
/* =========================================================
   AKTUALNOŚCI - POJEDYNCZY WPIS
   ========================================================= */

.news-date {
  margin: 0 0 .75rem;
}

.news-lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.7;
}

.news-featured-image {
  margin: 0 0 2rem;
}

.news-featured-image img {
  width: 100%;
  height: auto;
}

.news-body {
  margin-top: 0;
}

.news-body > :last-child {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {

  .news-lead {
    font-size: 1.05rem;
  }

  .news-featured-image {
    margin-bottom: 1.5rem;
  }

}
/* FORMULARZE */

.content-form {
    padding: 3rem 0;
}

.content-form .content-main {
    background: #f5f6f6;
    border: 1px solid #d9dddd;
    padding: 2rem;
}

.content-form .form-label {
    font-weight: 600;
    color: #212529;
}

.content-form .form-control,
.content-form .form-select {
    background-color: #fff;
    border-color: #aeb5b5;
}

.content-form .form-control:focus,
.content-form .form-select:focus,
.content-form .form-check-input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 .2rem rgba(0, 100, 60, .18);
}

.content-form fieldset {
    background: #fff;
    border: 1px solid #cfd4d4 !important;
    padding: 1.5rem !important;
}

.content-form fieldset legend {
    background: #fff;
    font-weight: 600;
}

.content-form .form-text {
    color: #5b6363;
}

.content-form .form-check {
    padding-top: .25rem;
    padding-bottom: .25rem;
}

@media (max-width: 767.98px) {
    .content-form {
        padding: 2rem 0;
    }

    .content-form .content-main {
        padding: 1.25rem;
    }

    .content-form fieldset {
        padding: 1rem !important;
    }
}
/* PEOPLE */

.people-list .row {
    align-items: stretch;
}

.person-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    padding: 1.5rem;
}

.person-photo {
    margin: -1.5rem -1.5rem 1.5rem;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.person-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-card h2,
.person-card h3 {
    margin-bottom: .5rem;
    font-size: 1.35rem;
}

.person-roles {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--green);
}

.person-availability {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

@media (max-width: 767.98px) {
    .person-card {
        padding: 1.25rem;
    }

    .person-photo {
        margin: -1.25rem -1.25rem 1.25rem;
    }
}
.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}
.wcag-icon {
  background: var(--white);
  color: var(--green-dark);
} 
.contrast-icon-bg {
  fill: var(--white);
  stroke: currentColor;
} 
.wcag-icon:hover .contrast-icon-bg,
.wcag-icon[aria-pressed="true"] .contrast-icon-bg {
  fill: var(--green-dark);
}

/* =========================================================
   WYSOKI KONTRAST
   ========================================================= */

body.high-contrast {
  background: #000;
  color: #fff;
}

/* Tekst i tła */
body.high-contrast .topbar,
body.high-contrast .home-content,
body.high-contrast .page-header,
body.high-contrast .page-content,
body.high-contrast .content-main,
body.high-contrast .content-form .content-main,
body.high-contrast .content-form fieldset,
body.high-contrast .person-card,
body.high-contrast .news-thumbnail-placeholder,
body.high-contrast .cta-box {
  background: #000;
  color: #fff;
}

body.high-contrast p,
body.high-contrast li,
body.high-contrast .section-lead,
body.high-contrast .text-muted,
body.high-contrast .form-text,
body.high-contrast .person-role {
  color: #fff !important;
}

/* Linki */
body.high-contrast a:not(.btn):not(.nav-link):not(.dropdown-item) {
  color: #ff0;
}

body.high-contrast a:not(.btn):not(.nav-link):not(.dropdown-item):hover {
  color: #ff0;
  text-decoration: underline;
}

/* Topbar */
body.high-contrast .topbar {
  border-color: #fff;
}

body.high-contrast .topbar-label,
body.high-contrast .topbar-item,
body.high-contrast .topbar-item strong {
  color: #fff;
}

/* Przyciski dostępności */
body.high-contrast .wcag-icon {
  background: #000;
  color: #ff0;
  border: 2px solid #fff;
}

body.high-contrast .wcag-icon:hover,
body.high-contrast .wcag-icon:focus-visible {
  background: #ff0;
  color: #000;
  border-color: #ff0;
}

body.high-contrast .wcag-icon[aria-pressed="true"] {
  background: #ff0;
  color: #000;
  border-color: #fff;
}

/* Nawigacja */
body.high-contrast .main-navbar {
  background: #000;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

body.high-contrast .navbar .nav-link {
  color: #ff0;
}

body.high-contrast .navbar .nav-link:hover,
body.high-contrast .navbar .nav-link:focus-visible {
  color: #000;
  background: #ff0;
}

body.high-contrast .navbar .nav-link.active,
body.high-contrast .navbar .nav-link[aria-current="page"],
body.high-contrast .navbar .nav-link.show {
  color: #000;
  background: #ff0;
}

body.high-contrast .navbar .nav-link:not(.dropdown-toggle)::after {
  background: #ff0;
}

body.high-contrast .navbar .nav-link:hover::after,
body.high-contrast .navbar .nav-link:focus-visible::after,
body.high-contrast .navbar .nav-link.active::after,
body.high-contrast .navbar .nav-link[aria-current="page"]::after {
  background: #000;
}

/* Hamburger */
body.high-contrast .navbar-toggler {
  color: #ff0;
  background: #000;
  border: 2px solid #fff;
}

body.high-contrast .navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

/* Dropdown */
body.high-contrast .dropdown-menu {
  background: #000;
  border: 2px solid #fff;
  box-shadow: none;
}

body.high-contrast .dropdown-item {
  color: #ff0;
  background: #000;
}

body.high-contrast .dropdown-item:hover,
body.high-contrast .dropdown-item:focus,
body.high-contrast .dropdown-item.active,
body.high-contrast .dropdown-item:active {
  color: #000;
  background: #ff0;
}

/* Hero */
body.high-contrast .hero {
  background: #000;
  color: #fff;
}

body.high-contrast .hero::before,
body.high-contrast .home-content::before {
  display: none;
}

body.high-contrast .hero h1,
body.high-contrast .hero p {
  color: #fff;
}

/* Nagłówki i elementy treści */
body.high-contrast h1,
body.high-contrast h2,
body.high-contrast h3,
body.high-contrast h4,
body.high-contrast h5,
body.high-contrast h6,
body.high-contrast .section-title,
body.high-contrast .eyebrow {
  color: #fff;
}

body.high-contrast .welcome-accent {
  color: #fff;
  border-color: #fff;
}

body.high-contrast .welcome-accent::after {
  background: #ff0;
}

/* Aktualności */
body.high-contrast .news-item,
body.high-contrast .news-list-item,
body.high-contrast .single-news {
  color: #fff;
  border-color: #fff;
}

body.high-contrast .news-item time,
body.high-contrast .news-list-item time,
body.high-contrast .single-news time {
  color: #fff;
}

body.high-contrast .news-item h3 a,
body.high-contrast .news-list-item h2 a,
body.high-contrast .news-list-item h3 a {
  color: #ff0;
}

/* Przyciski */
body.high-contrast .btn {
  background: #000;
  color: #ff0;
  border: 2px solid #fff;
  box-shadow: none;
}

body.high-contrast .btn:hover,
body.high-contrast .btn:focus-visible,
body.high-contrast .btn:active {
  background: #ff0 !important;
  color: #000 !important;
  border-color: #ff0 !important;
}

/* Breadcrumb */
body.high-contrast .breadcrumb,
body.high-contrast .breadcrumb-item,
body.high-contrast .breadcrumb-item.active {
  color: #fff;
}

body.high-contrast .breadcrumb-item + .breadcrumb-item::before {
  color: #fff;
}

body.high-contrast .breadcrumb a {
  color: #ff0;
}

/* Formularze */
body.high-contrast .content-form label,
body.high-contrast .content-form legend,
body.high-contrast .form-label,
body.high-contrast .form-check-label {
  color: #fff;
}

body.high-contrast .form-control,
body.high-contrast .form-select {
  background: #000;
  color: #fff;
  border: 2px solid #fff;
}

body.high-contrast .form-control::placeholder {
  color: #fff;
  opacity: 1;
}

body.high-contrast .form-control:focus,
body.high-contrast .form-select:focus {
  background: #000;
  color: #fff;
  border-color: #ff0;
  box-shadow: none;
}

body.high-contrast .form-check-input {
  background-color: #000;
  border: 2px solid #fff;
}

body.high-contrast .form-check-input:checked {
  background-color: #ff0;
  border-color: #ff0;
}

/* Personel */
body.high-contrast .person-card {
  border: 1px solid #fff;
  box-shadow: none;
}

body.high-contrast .person-card h2,
body.high-contrast .person-card h3 {
  color: #fff;
}

/* Stopka */
body.high-contrast .site-footer {
  background: #000;
  color: #fff;
  border-top: 1px solid #fff;
}

body.high-contrast .site-footer h2,
body.high-contrast .site-footer h3,
body.high-contrast .site-footer p,
body.high-contrast .site-footer li {
  color: #fff;
}

body.high-contrast .site-footer a {
  color: #ff0;
}

body.high-contrast .site-footer a:hover,
body.high-contrast .site-footer a:focus-visible {
  color: #ff0;
  text-decoration: underline;
}

/* Linie i obramowania */
body.high-contrast hr {
  border-color: #fff;
  opacity: 1;
}

/* Usunięcie elementów czysto dekoracyjnych */
body.high-contrast .hero,
body.high-contrast .home-content,
body.high-contrast .cta-box,
body.high-contrast .person-card,
body.high-contrast .dropdown-menu {
  box-shadow: none;
  background-image: none;
}

/* Focus */
body.high-contrast a:focus-visible,
body.high-contrast button:focus-visible,
body.high-contrast input:focus-visible,
body.high-contrast select:focus-visible,
body.high-contrast textarea:focus-visible,
body.high-contrast [tabindex]:focus-visible {
  outline: 3px solid #ff0 !important;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #000 !important;
}
body.high-contrast .wcag-icon:hover .contrast-icon-bg,
body.high-contrast .wcag-icon[aria-pressed="true"] .contrast-icon-bg {
  fill: #ff0;
}
body.high-contrast .skip-link,
body.high-contrast .skip-link:focus,
body.high-contrast .skip-link:focus-visible {
  color: #000 !important;
  background: #ff0 !important;
}