/* ════════════════════════════════════════════════════════════════════════
   Fundacja e-esencja | fee.css
   Design: Akademicki / Naukowy / Dokumentalny
   Typografia: Jura (Google Fonts)
   Paleta:
     --fee-ink:       #0d1b2a  (granat głęboki — główny tekst)
     --fee-parchment: #f5f1e8  (pergamin — tło)
     --fee-navy:      #1a3a6b  (akademicka granat — akcent)
     --fee-signal:    #2e6bc4  (sygnałowy błękit — interakcje)
     --fee-rule:      #c8c2b4  (linia atramentowa — separatory)
     --fee-ghost:     #f0ecdf  (cień pergaminu — karty)
   ════════════════════════════════════════════════════════════════════════ */

/* ── Tokeny projektu ──────────────────────────────────────────────────── */
:root {
  --fee-ink:        #0d1b2a;
  --fee-parchment:  #f5f1e8;
  --fee-navy:       #1a3a6b;
  --fee-signal:     #2e6bc4;
  --fee-rule:       #c8c2b4;
  --fee-ghost:      #f0ecdf;
  --fee-light:      #ffffff;
  --fee-muted:      #6b7280;

  --fee-font:       'Jura', system-ui, sans-serif;
  --fee-radius:     2px;          /* minimalny — dokumentalny */
  --fee-transition: 200ms ease;

  /* Skala typograficzna (fluid) */
  --fee-fs-xs:  0.75rem;
  --fee-fs-sm:  0.875rem;
  --fee-fs-md:  1rem;
  --fee-fs-lg:  1.125rem;
  --fee-fs-xl:  1.375rem;
  --fee-fs-2xl: 1.75rem;
  --fee-fs-3xl: 2.5rem;
  --fee-fs-hero: clamp(2.5rem, 6vw, 4rem);
}

/* ── Reset / Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.fee-body {
  font-family:      var(--fee-font);
  font-weight:      400;
  font-size:        var(--fee-fs-md);
  line-height:      1.7;
  color:            var(--fee-ink);
  background-color: var(--fee-parchment);
  letter-spacing:   0.01em;
  -webkit-font-smoothing: antialiased;
}

/* ── Headings — dokumentalne, bez serifs ────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--fee-font);
  font-weight: 600;
  line-height: 1.25;
  color:       var(--fee-ink);
  letter-spacing: 0.02em;
}

a {
  color:           var(--fee-signal);
  text-decoration: none;
  transition:      color var(--fee-transition);
}
a:hover { color: var(--fee-navy); text-decoration: underline; }

/* ════════════════════════════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════════════════════════════ */

.fee-header {
  position:         sticky;
  top:              0;
  z-index:          1030;
  background-color: var(--fee-ink);
  border-bottom:    1px solid rgba(255,255,255,0.08);
}

.fee-navbar {
  padding-top:    0.6rem;
  padding-bottom: 0.6rem;
  background:     transparent;
}

/* Logo + tekst */
.fee-brand {
  display:     flex;
  align-items: center;
  gap:         0.75rem;
  text-decoration: none !important;
}

.fee-logo-img {
  height:    40px;
  width:     40px;
  object-fit: contain;
  filter:    brightness(1.1);
}

.fee-brand-text {
  display:        flex;
  flex-direction: column;
  line-height:    1.1;
}

.fee-brand-main {
  font-family:    var(--fee-font);
  font-size:      var(--fee-fs-lg);
  font-weight:    600;
  color:          #ffffff;
  letter-spacing: 0.05em;
}

.fee-brand-sub {
  font-family:    var(--fee-font);
  font-size:      var(--fee-fs-xs);
  font-weight:    300;
  color:          rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Nav links */
.fee-nav-list {
  align-items: center;
  gap:         0.25rem;
}

.fee-nav-link {
  font-family:    var(--fee-font);
  font-size:      var(--fee-fs-sm);
  font-weight:    500;
  color:          rgba(255,255,255,0.75) !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding:        0.5rem 0.85rem !important;
  border-bottom:  2px solid transparent;
  transition:     color var(--fee-transition), border-color var(--fee-transition);
}
.fee-nav-link:hover,
.fee-nav-link.active {
  color:        #ffffff !important;
  border-color: var(--fee-signal);
  text-decoration: none;
}

/* Dropdown */
.fee-dropdown {
  background-color: var(--fee-ink);
  border:           1px solid rgba(255,255,255,0.1);
  border-radius:    var(--fee-radius);
  min-width:        200px;
}
.fee-dropdown-item {
  font-family:    var(--fee-font);
  font-size:      var(--fee-fs-sm);
  color:          rgba(255,255,255,0.75);
  padding:        0.5rem 1rem;
  letter-spacing: 0.04em;
  transition:     background-color var(--fee-transition), color var(--fee-transition);
}
.fee-dropdown-item:hover,
.fee-dropdown-item.active {
  background-color: rgba(255,255,255,0.07);
  color:            #ffffff;
}

/* GitHub button */
.fee-btn-github {
  font-family:     var(--fee-font);
  font-size:       var(--fee-fs-xs);
  font-weight:     500;
  letter-spacing:  0.08em;
  text-transform:  uppercase;
  color:           rgba(255,255,255,0.65);
  border:          1px solid rgba(255,255,255,0.2);
  border-radius:   var(--fee-radius);
  padding:         0.35rem 0.85rem;
  transition:      all var(--fee-transition);
  text-decoration: none;
}
.fee-btn-github:hover {
  color:            #ffffff;
  border-color:     rgba(255,255,255,0.5);
  background-color: rgba(255,255,255,0.06);
}

/* Hamburger */
.fee-toggler {
  border:  1px solid rgba(255,255,255,0.2);
  color:   white;
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  background: transparent;
}
.fee-toggler:focus { box-shadow: none; }

/* ════════════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════════════ */

.fee-hero {
  position:         relative;
  background-color: var(--fee-ink);
  overflow:         hidden;
  padding:          5rem 0 4rem;
}

/* Znak wodny — logo w tle */
.fee-hero-watermark {
  position:         absolute;
  right:            -4%;
  top:              50%;
  transform:        translateY(-50%);
  width:            min(55vw, 520px);
  height:           min(55vw, 520px);
  background-image: url("../img/logo.d75d7a5d2448.png");
  background-size:  contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity:          0.04;
  pointer-events:   none;
}

.min-vh-75 { min-height: 75vh; }

.fee-hero-eyebrow {
  font-family:    var(--fee-font);
  font-size:      var(--fee-fs-xs);
  font-weight:    400;
  color:          rgba(255,255,255,0.45);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom:  1rem;
}

.fee-hero-title {
  font-family:    var(--fee-font);
  font-size:      var(--fee-fs-hero);
  font-weight:    300;
  color:          rgba(255,255,255,0.9);
  line-height:    1.1;
  margin-bottom:  0.5rem;
  letter-spacing: -0.01em;
}

.fee-hero-accent {
  font-weight:    700;
  color:          #ffffff;
}

.fee-hero-subtitle {
  font-family:  var(--fee-font);
  font-size:    var(--fee-fs-lg);
  font-weight:  300;
  color:        rgba(255,255,255,0.6);
  line-height:  1.6;
  margin-top:   1.25rem;
  margin-bottom: 2.25rem;
  max-width:    480px;
}

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

/* Przycisk główny */
.fee-btn-primary {
  font-family:     var(--fee-font);
  font-size:       var(--fee-fs-sm);
  font-weight:     500;
  letter-spacing:  0.08em;
  text-transform:  uppercase;
  color:           var(--fee-ink) !important;
  background-color: #ffffff;
  border:          2px solid #ffffff;
  border-radius:   var(--fee-radius);
  padding:         0.65rem 1.5rem;
  transition:      all var(--fee-transition);
  text-decoration: none !important;
}
.fee-btn-primary:hover {
  background-color: var(--fee-signal);
  border-color:     var(--fee-signal);
  color:            #ffffff !important;
}

/* Przycisk obramowany */
.fee-btn-outline {
  font-family:     var(--fee-font);
  font-size:       var(--fee-fs-sm);
  font-weight:     500;
  letter-spacing:  0.08em;
  text-transform:  uppercase;
  color:           rgba(255,255,255,0.75) !important;
  background-color: transparent;
  border:          1px solid rgba(255,255,255,0.3);
  border-radius:   var(--fee-radius);
  padding:         0.65rem 1.5rem;
  transition:      all var(--fee-transition);
  text-decoration: none !important;
}
.fee-btn-outline:hover {
  color:        #ffffff !important;
  border-color: rgba(255,255,255,0.7);
  background-color: rgba(255,255,255,0.06);
}

/* Logo w hero */
.fee-hero-logo-wrap {
  position: relative;
}
.fee-hero-logo {
  width:   min(320px, 35vw);
  opacity: 0.85;
  filter:  drop-shadow(0 0 60px rgba(46,107,196,0.3));
}

.fee-hero-logo-wrap {
  position: relative;
}


.fee-hero-logo-wrap-plate {
  width: 100%;
  margin: 0 0 3rem 0;
}

.fee-hero-logo-plate {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 60px rgba(46,107,196,0.18));
}


/* Linia oddzielająca hero */
.fee-hero-rule {
  height:           1px;
  background:       linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.15) 30%,
    rgba(46,107,196,0.4) 50%,
    rgba(255,255,255,0.15) 70%,
    transparent 100%
  );
  margin-top: 4rem;
}

/* ════════════════════════════════════════════════════════════════════════
   SEKCJE OGÓLNE
   ════════════════════════════════════════════════════════════════════════ */

.fee-section {
  padding: 5rem 0;
}

/* Naprzemienne tło sekcji */
.fee-section:nth-child(even) {
  background-color: var(--fee-ghost);
}
.fee-section.fee-preamble,
.fee-section.fee-github-section {
  background-color: var(--fee-ink);
}

/* Nagłówek sekcji */
.fee-section-header {
  text-align:    center;
  margin-bottom: 1rem;
}

.fee-section-para {
  display:        inline-block;
  font-family:    var(--fee-font);
  font-size:      var(--fee-fs-xs);
  font-weight:    500;
  color:          var(--fee-signal);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom:  0.5rem;
}

.fee-section-title {
  font-size:      var(--fee-fs-2xl);
  font-weight:    600;
  color:          var(--fee-ink);
  margin-bottom:  0.5rem;
  letter-spacing: 0.01em;
}
.fee-preamble .fee-section-title,
.fee-github-section .fee-section-title {
  color: #ffffff;
}

.fee-section-sub {
  font-size:  var(--fee-fs-md);
  color:      var(--fee-muted);
  margin-bottom: 0;
}

/* ════════════════════════════════════════════════════════════════════════
   FILARY (Cele Fundacji)
   ════════════════════════════════════════════════════════════════════════ */

.fee-pillar-card {
  background-color: var(--fee-light);
  border:           1px solid var(--fee-rule);
  border-top:       3px solid var(--fee-rule);
  border-radius:    var(--fee-radius);
  padding:          2rem 1.75rem;
  height:           100%;
  transition:       border-top-color var(--fee-transition), transform var(--fee-transition);
  position:         relative;
}
.fee-pillar-card:hover {
  border-top-color: var(--fee-signal);
  transform:        translateY(-2px);
}
.fee-pillar-card--accent {
  border-top-color: var(--fee-signal);
}

.fee-pillar-number {
  font-family:    var(--fee-font);
  font-size:      var(--fee-fs-xs);
  font-weight:    700;
  color:          var(--fee-rule);
  letter-spacing: 0.15em;
  margin-bottom:  0.75rem;
}

.fee-pillar-icon {
  font-size:     1.75rem;
  color:         var(--fee-signal);
  margin-bottom: 1rem;
}

.fee-pillar-title {
  font-size:     var(--fee-fs-xl);
  font-weight:   600;
  margin-bottom: 0.75rem;
}

.fee-pillar-text {
  font-size:     var(--fee-fs-sm);
  color:         var(--fee-muted);
  line-height:   1.7;
  margin-bottom: 1.25rem;
}

.fee-pillar-link {
  font-family:    var(--fee-font);
  font-size:      var(--fee-fs-xs);
  font-weight:    600;
  color:          var(--fee-signal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition:     color var(--fee-transition);
}
.fee-pillar-link:hover { color: var(--fee-navy); }

/* ════════════════════════════════════════════════════════════════════════
   PREAMBUŁA
   ════════════════════════════════════════════════════════════════════════ */

.fee-preamble-box {
  border-left:  3px solid var(--fee-signal);
  padding-left: 2rem;
}

.fee-preamble-label {
  display:        block;
  font-family:    var(--fee-font);
  font-size:      var(--fee-fs-xs);
  font-weight:    500;
  color:          var(--fee-signal);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom:  1rem;
}

.fee-preamble-quote {
  font-family:    var(--fee-font);
  font-size:      var(--fee-fs-xl);
  font-weight:    300;
  font-style:     italic;
  color:          rgba(255,255,255,0.85);
  line-height:    1.6;
  border:         none;
  padding:        0;
  margin-bottom:  1.5rem;
}

.fee-preamble-body {
  font-size:  var(--fee-fs-md);
  color:      rgba(255,255,255,0.55);
  line-height: 1.75;
  margin:     0;
}

/* ════════════════════════════════════════════════════════════════════════
   FORMY DZIAŁALNOŚCI
   ════════════════════════════════════════════════════════════════════════ */

.fee-activity-item {
  display:     flex;
  align-items: flex-start;
  gap:         0.75rem;
  padding:     1rem 1.25rem;
  background:  var(--fee-light);
  border:      1px solid var(--fee-rule);
  border-left: 3px solid transparent;
  border-radius: var(--fee-radius);
  font-size:   var(--fee-fs-sm);
  color:       var(--fee-ink);
  height:      100%;
  transition:  border-left-color var(--fee-transition);
}
.fee-activity-item:hover {
  border-left-color: var(--fee-signal);
}
.fee-activity-icon {
  font-size:  1.1rem;
  color:      var(--fee-signal);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ════════════════════════════════════════════════════════════════════════
   DANE REJESTROWE
   ════════════════════════════════════════════════════════════════════════ */

.fee-registry-table {
  font-family: var(--fee-font);
  font-size:   var(--fee-fs-sm);
  border:      1px solid var(--fee-rule);
  background:  var(--fee-light);
}
.fee-registry-table th {
  font-weight:      500;
  color:            var(--fee-navy);
  background-color: var(--fee-ghost);
  width:            38%;
  vertical-align:   middle;
  padding:          0.7rem 1rem;
  letter-spacing:   0.04em;
  border-color:     var(--fee-rule);
}
.fee-registry-table td {
  vertical-align: middle;
  padding:        0.7rem 1rem;
  color:          var(--fee-ink);
  border-color:   var(--fee-rule);
}
.fee-registry-table tr:hover td { background-color: var(--fee-parchment); }

.fee-badge-no {
  font-family:      var(--fee-font);
  font-size:        var(--fee-fs-xs);
  font-weight:      500;
  background-color: rgba(200,194,180,0.3);
  color:            var(--fee-ink);
  border:           1px solid var(--fee-rule);
  border-radius:    var(--fee-radius);
  padding:          0.2em 0.6em;
  letter-spacing:   0.06em;
}

.fee-registry-note {
  font-size: var(--fee-fs-xs);
  color:     var(--fee-muted);
  margin-top: 1rem;
}

/* ════════════════════════════════════════════════════════════════════════
   GITHUB SECTION
   ════════════════════════════════════════════════════════════════════════ */

.fee-github-box { padding: 2rem 1rem; }

.fee-github-icon {
  display:       block;
  font-size:     3rem;
  color:         rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}

.fee-github-title {
  font-size:     var(--fee-fs-2xl);
  font-weight:   600;
  color:         #ffffff;
  margin-bottom: 1rem;
}

.fee-github-text {
  font-size:     var(--fee-fs-md);
  color:         rgba(255,255,255,0.55);
  max-width:     500px;
  margin:        0 auto 2rem;
  line-height:   1.7;
}

/* ════════════════════════════════════════════════════════════════════════
   STOPKA
   ════════════════════════════════════════════════════════════════════════ */

.fee-footer {
  background-color: var(--fee-ink);
  padding:          3.5rem 0 0;
}

.fee-footer-brand {
  display:     flex;
  align-items: center;
  gap:         0.75rem;
  margin-bottom: 0.75rem;
}
.fee-footer-logo {
  height:    36px;
  width:     36px;
  object-fit: contain;
  opacity:   0.8;
}
.fee-footer-name {
  font-family:    var(--fee-font);
  font-size:      var(--fee-fs-md);
  font-weight:    600;
  color:          #ffffff;
  margin:         0;
  letter-spacing: 0.04em;
}
.fee-footer-desc {
  font-size:  var(--fee-fs-xs);
  color:      rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  margin:     0;
}

.fee-footer-heading {
  font-family:    var(--fee-font);
  font-size:      var(--fee-fs-xs);
  font-weight:    600;
  color:          rgba(255,255,255,0.5);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom:  1rem;
}

.fee-footer-dl {
  font-size: var(--fee-fs-sm);
  margin:    0;
}
.fee-footer-dl dt {
  font-weight:    500;
  color:          rgba(255,255,255,0.4);
  font-size:      var(--fee-fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top:     0.5rem;
}
.fee-footer-dl dd {
  color:  rgba(255,255,255,0.75);
  margin: 0;
}

.fee-footer-link {
  font-family:    var(--fee-font);
  font-size:      var(--fee-fs-xs);
  color:          rgba(255,255,255,0.5);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition:     color var(--fee-transition);
}
.fee-footer-link:hover { color: rgba(255,255,255,0.9); }

.fee-footer-hr {
  border-color: rgba(255,255,255,0.1);
  margin:       2rem 0 1.25rem;
}

.fee-footer-bottom { padding-bottom: 1.5rem; }

.fee-footer-copy {
  font-size:  var(--fee-fs-xs);
  color:      rgba(255,255,255,0.3);
  margin:     0;
  line-height: 1.8;
}

/* ════════════════════════════════════════════════════════════════════════
   STRONY CMS (page.html)
   ════════════════════════════════════════════════════════════════════════ */

.fee-page-header {
  background-color: var(--fee-ink);
  padding:          2.5rem 0 2rem;
  border-bottom:    3px solid var(--fee-signal);
}

.fee-breadcrumb {
  font-size:   var(--fee-fs-xs);
  margin-bottom: 0.75rem;
  --bs-breadcrumb-divider-color: rgba(255,255,255,0.3);
  --bs-breadcrumb-item-active-color: rgba(255,255,255,0.6);
}
.fee-breadcrumb a { color: rgba(255,255,255,0.5); }
.fee-breadcrumb a:hover { color: rgba(255,255,255,0.9); }

.fee-page-title {
  font-size:      var(--fee-fs-2xl);
  font-weight:    600;
  color:          #ffffff;
  margin:         0;
  letter-spacing: 0.01em;
}

.fee-page-body {
  padding: 3rem 0 5rem;
}

.fee-page-content {
  font-size:   var(--fee-fs-md);
  line-height: 1.8;
}
.fee-page-content h2 {
  font-size:     var(--fee-fs-xl);
  font-weight:   600;
  color:         var(--fee-navy);
  border-bottom: 1px solid var(--fee-rule);
  padding-bottom: 0.5rem;
  margin-top:    2.5rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.fee-page-content h3 {
  font-size:     var(--fee-fs-lg);
  font-weight:   600;
  margin-top:    1.75rem;
  margin-bottom: 0.75rem;
}
.fee-page-content p { margin-bottom: 1.1rem; }
.fee-page-content ul, .fee-page-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.fee-page-content--wide { max-width: 860px; margin: 0 auto; }

/* Sidebar */
.fee-sidebar-nav {
  position:  sticky;
  top:       80px;
  padding:   1.25rem 0;
  border-right: 1px solid var(--fee-rule);
}

.fee-sidebar-list { list-style: none; padding: 0; margin: 0; }
.fee-sidebar-item { margin-bottom: 0.1rem; }
.fee-sidebar-link {
  display:     block;
  font-family: var(--fee-font);
  font-size:   var(--fee-fs-sm);
  font-weight: 500;
  color:       var(--fee-ink);
  padding:     0.45rem 0.75rem;
  border-left: 3px solid transparent;
  text-decoration: none;
  transition:  all var(--fee-transition);
}
.fee-sidebar-link:hover { border-left-color: var(--fee-signal); color: var(--fee-navy); }
.fee-sidebar-item.active .fee-sidebar-link {
  border-left-color: var(--fee-signal);
  color:             var(--fee-signal);
  font-weight:       600;
}

.fee-sidebar-sublist { list-style: none; padding: 0; margin: 0.1rem 0 0 1rem; }
.fee-sidebar-subitem { }
.fee-sidebar-sublink {
  display:     block;
  font-size:   var(--fee-fs-xs);
  color:       var(--fee-muted);
  padding:     0.3rem 0.75rem;
  border-left: 2px solid transparent;
  text-decoration: none;
  transition:  all var(--fee-transition);
}
.fee-sidebar-sublink:hover { border-left-color: var(--fee-rule); color: var(--fee-ink); }
.fee-sidebar-subitem.active .fee-sidebar-sublink {
  border-left-color: var(--fee-signal);
  color:             var(--fee-signal);
}

/* ════════════════════════════════════════════════════════════════════════
   RESPONSYWNOŚĆ
   ════════════════════════════════════════════════════════════════════════ */

@media (max-width: 991px) {
  .fee-hero { padding: 3.5rem 0 3rem; }
  .fee-hero-subtitle { max-width: 100%; }
  .fee-section { padding: 3.5rem 0; }
  .fee-footer-top { gap: 2rem; }
}

@media (max-width: 575px) {
  .fee-hero { padding: 2.5rem 0 2rem; }
  .fee-hero-actions { flex-direction: column; }
  .fee-btn-primary, .fee-btn-outline { width: 100%; text-align: center; }
  .fee-registry-table th { width: 45%; }
}

/* ════════════════════════════════════════════════════════════════════════
   DOSTĘPNOŚĆ
   ════════════════════════════════════════════════════════════════════════ */

:focus-visible {
  outline:        2px solid var(--fee-signal);
  outline-offset: 3px;
  border-radius:  2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ════════════════════════════════════════════════════════════════════════
   CMS TOOLBAR override (aby pasek CMS nie zepsuł designu)
   ════════════════════════════════════════════════════════════════════════ */

.cms-toolbar-expanded .fee-header { top: 46px !important; }

/* ================================================================
   AKTUALNOŚCI NA STRONIE GŁÓWNEJ
   STYL NEO-BRUTALISTYCZNY
   ================================================================ */

.fee-news-section {
  position:*relative;
  overflow: hidden;
  ba*kground-color: #f3efe3;
  border-t*p: 3px solid #0b2235;
  border-bot*om: 3px solid #0b2235;
}

.fee-news-section::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 190px;
  height: 190px;
  content: "";
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0,
    transparent 10px,
    rgba(11, 34, 53, 0.08) 10px,
    rgba(11, 34, 53, 0.08) 13px
  );
  pointer-events: none;
}

.fee-news-section-header {
  position: relative;
  z-index: 1;
  margin-bottom: 3rem;
  text-align: center;
}

.fee-news-grid {
  position: relative;
  z-index: 1;
}


/* Kafelek aktualności */

.fee-news-tile {
  display: fle*;
  flex-direction: column;
  height: 100%;
  min-height: 340px;
  padding: 1.65rem;
  color: #0b2235;
  background-color: #fffdf5;
  border: 3px solid #0b2235;
  border-radius: 0;
  box-shadow: 9px 9px 0 #0b2235;
  transition:
    transform 130ms ease,
    box-shadow 130ms ease,
    background-color 130ms ease;
}

.fee-news-tile:hover {
  background-color: #ffffff;
  box-shadow: 4px 4px 0 #0b2235;
  transform: translate(5px, 5px);
}

.fee-news-tile:focus-within {
  outline: 4px solid #287cab;
  outline-offset: 5px;
}


/* Góra kafelka */

.fee-news-tile-top {
  display:*flex;
  align-items: center;
  jus*ify-content: space-between;
  gap:*1rem;
  padding-bottom: 1rem;
  ma*gin-bottom: 1.4rem;
  border-botto*: 2px solid #0b2235;
}

.fee-news-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0b2235;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.fee-news-date i {
  font-size: 1rem;
}

.fee-news-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 55px;
  padding: 0.35rem 0.55rem;
  color: #ffffff;
  background-color: #0b2235;
  border: 2px solid #0b2235;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}


/* Tytuł aktualności */

.fee-news-title {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
}

.fee-news-title a {
  color: #0b2235;
  text-decoration: none;
}

.fee-news-title a:hover {
  color: #1f6f9f;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.fee-news-title a:focus-visible {
  outline: 3px solid #287cab;
  outline-offset: 4px;
}


/* Zajawka */

.fee-news-lead {
  margin: 0 0 1.75rem;
  color: #334b5d;
  font-size: 1rem;
  line-height: 1.65;
}


/* Dół kafelka */

.fee-news-tile-bottom {
  paddi*g-top: 1.15rem;
  margin-top: auto*
  border-top: 2px solid #0b2235;
*

.fee-news-read-more {
  display:*flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  color: #0b2235;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.fee-news-read-more i {
  font-size: 1.1rem;
  transition: transform 130ms ease;
}

.fee-news-read-more:hover {
  color: #1f6f9f;
}

.fee-news-read-more:hover i {
  transform: translateX(5px);
}

.fee-news-read-more:focus-visible {
  outline: 3px solid #287cab;
  outline-offset: 4px;
}


/* Przycisk wszystkich aktualności */

.fee-news-more-wrap {
  positio*: relative;
  z-index: 1;
  margin*top: 3.5rem;
  padding-bottom: 9px*
  text-align: center;
}

.fee-new*-more-button {
  display: inline-f*ex;
  align-items: center;
  justi*y-content: center;
  gap: 0.75rem;*  padding: 1rem 1.6rem;
  color: #*fffff;
  background-color: #1f6f9f*
  border: 3px solid #0b2235;
  bo*der-radius: 0;
  box-shadow: 6px 6*x 0 #0b2235;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    color 120ms ease,
    background-color 120ms ease;
}

.fee-news-more-button:hover {
  color: #0b2235;
  background-color: #ffffff;
  box-shadow: 2px 2px 0 #0b2235;
  transform: translate(4px, 4px);
}

.fee-news-more-button:focus-visible {
  outline: 4px solid #287cab;
  outline-offset: 5px;
}


/* Komunikat o braku wpisów */

.fee-news-empty-brutal {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem;
  color: #0b2235;
  background-color: #fffdf5;
  border: 3px solid #0b2235;
  border-radius: 0;
  box-shadow: 8px 8px 0 #0b2235;
}

.fee-news-empty-brutal > i {
  flex: 0 0 auto;
  font-size: 2.5rem;
}

.fee-news-empty-brutal h3 {
  margin: 0 0 0.3rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.fee-news-empty-brutal p {
  margin: 0;
  color: #334b5d;
}


/* Tablet */

@media (max-width: 991.98px) {
  .fee-news-tile {
    min-height: 320px;
  }
}


/* Telefon */

@media (max-width: 767.98px) {
  .fee-news-section::before {
    width: 110px;
    height: 110px;
  }

  .fee-news-section-header {
    margin-bottom: 2.25rem;
  }

  .fee-news-tile {
    min-height: 290px;
    padding: 1.35rem;
    box-shadow: 6px 6px 0 #0b2235;
  }

  .fee-news-tile:hover {
    box-shadow: 3px 3px 0 #0b2235;
    transform: translate(3px, 3px);
  }

  .fee-news-more-wrap {
    margin-top: 2.5rem;
  }

  .fee-news-more-button {
    width: calc(100% - 6px);
  }
}


/* Ograniczenie animacji zgodnie z ustawieniami użytkownika */

@media (prefers-reduced-motion: reduce) {
  .fee-news-tile,
  .fee-news-more-button,
  .fee-news-read-more i {
    transition: none;
  }
}

.fee-news-section {
  position: relative;
  overflow: hidden;
  background-color: #f3efe3;
  border-top: 3px solid #0b2235;
  border-bottom: 3px solid #0b2235;
}

.fee-news-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 340px;
  padding: 1.65rem;
  color: #0b2235;
  background-color: #fffdf5;
  border: 3px solid #0b2235;
  border-radius: 0;
  box-shadow: 9px 9px 0 #0b2235;
}

.fee-news-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.4rem;
  border-bottom: 2px solid #0b2235;
}

.fee-news-tile-bottom {
  padding-top: 1.15rem;
  margin-top: auto;
  border-top: 2px solid #0b2235;
}

.fee-news-more-wrap {
  position: relative;
  z-index: 1;
  margin-top: 3.5rem;
  padding-bottom: 9px;
  text-align: center;
}

.fee-news-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.6rem;
  color: #ffffff;
  background-color: #1f6f9f;
  border: 3px solid #0b2235;
  border-radius: 0;
  box-shadow: 6px 6px 0 #0b2235;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.fee-news-tile-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.fee-news-tile-link:hover,
.fee-news-tile-link:focus {
  color: inherit;
  text-decoration: none;
}

.fee-news-tile-link:focus-visible {
  outline: 3px solid #2878d0;
  outline-offset: 6px;
}

.fee-news-tile-link:hover .fee-news-tile,
.fee-news-tile-link:focus .fee-news-tile {
  transform: translate(3px, 3px);
  box-shadow: 6px 6px 0 #001b2b;
}

.fee-news-more-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  color: #fffdf6;
  background: #001b2b;
  border: 3px solid #001b2b;
  box-shadow: 6px 6px 0 #2878d0;
  font-weight: 700;
  text-decoration: none;
}

.fee-news-more-link:hover,
.fee-news-more-link:focus {
  color: #fffdf6;
  text-decoration: none;
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 #2878d0;
}

.fee-news-more-wrap {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  width: 100% !important;
  margin-top: 3.5rem !important;
  padding-top: 0.5rem !important;
  padding-bottom: 9px !important;
  text-align: center !important;
  clear: both !important;
}

.fee-event-card{background:var(--fee-light);border:1px solid var(--fee-rule);border-top:3px solid var(--fee-signal);padding:1.5rem;height:100%;display:flex;flex-direction:column;text-align:left;}
.fee-event-card-top{display:flex;justify-content:space-between;font-size:var(--fee-fs-xs);color:var(--fee-muted);margin-bottom:0.75rem;}
.fee-event-card-title{font-size:var(--fee-fs-lg);font-weight:600;margin-bottom:0.5rem;text-align:left;}
.fee-event-card-bottom{margin-top:auto;display:flex;justify-content:space-between;align-items:center;}
.fee-badge-children{background:var(--fee-signal);color:#fff;font-size:0.65rem;padding:0.2em 0.5em;}

.stream-container {
    width: min(100% - 2rem, 1100px);
    margin: 0 auto;
}

.stream-header {
    margin-bottom: 1.5rem;
}

.stream-entry-page,
.stream-watch-page,
.stream-closed-page {
    padding: 2rem 0 4rem;
}

.stream-entry-info {
    margin-bottom: 1.5rem;
}

.stream-form-field {
    margin-bottom: 1.25rem;
}

.stream-form-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.stream-form-field.form-check label {
    display: inline;
    margin-left: 0.4rem;
    font-weight: 400;
}

.stream-submit {
    margin-top: 0.5rem;
}

.stream-privacy-info {
    margin-top: 2rem;
    padding: 1rem;
    font-size: 0.9rem;
    background: #f1f5f9;
    border-radius: 12px;
}

.youtube-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
    border-radius: 16px;
}

.youtube-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.stream-waiting {
    padding: 2rem;
    background: #f1f5f9;
    border-radius: 16px;
}

.stream-help {
    margin-top: 1rem;
    color: #475569;
}

.invalid-feedback {
    margin-top: 0.3rem;
    color: #b91c1c;
}

@media (max-width: 600px) {
    .stream-entry-page,
    .stream-watch-page,
    .stream-closed-page {
        padding-top: 1rem;
    }

    .youtube-wrapper {
        border-radius: 8px;
    }
}