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

html { scroll-behavior: smooth; }

body {
  font-family: 'Times New Roman', Times, serif;
  font-size: 15px;
  line-height: 1.6;
  color: #000000;
  background: #000000;
  margin: 0;
  padding: 8px;
  min-height: 100vh;
}

a { color: #0000ee; text-decoration: underline; }
a:hover { color: #551a8b; }
a:visited { color: #551a8b; }

.page-frame {
  background: #ffffff;
  border: 8px solid #000000;
  min-height: calc(100vh - 16px);
  position: relative;
}

@media (max-width: 767px) {
  body { padding: 4px; }
  .page-frame { border-width: 4px; }
}

@media (max-width: 479px) {
  body { padding: 2px; }
  .page-frame { border-width: 2px; }
}

.top-banner {
  background: #000000;
  color: #ffffff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.top-banner h1 {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.2;
}

.top-banner .site-name {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.0;
}

.top-banner .site-name:hover { color: #c0d4a7; text-decoration: none; }

.nowosci-sticker {
  display: inline-block;
  background: #fcc20f;
  color: #000000;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border: 1px solid #000000;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  flex-shrink: 0;
}

.main-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: calc(100vh - 60px - 120px);
}

@media (max-width: 991px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
}

.sidebar {
  background: #ffffff;
  border-right: 1px solid #000000;
  padding: 16px 0;
}

.sidebar h2 {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 6px 12px;
  margin: 0 0 4px 0;
  color: #000000;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #000000;
}

.sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-nav li { border-bottom: 1px solid #e0e0e0; }

.sidebar-nav a {
  display: block;
  padding: 7px 12px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #000000;
  text-decoration: none;
  text-transform: uppercase;
  background: #ffffff;
  transition: background 0.1s;
}

.sidebar-nav a:hover { background: #f0f0f0; color: #000000; text-decoration: none; }
.sidebar-nav a.active { background: #000000; color: #ffffff; }

.sidebar-tint-periwinkle { border-left: 4px solid #8c9ae0; }
.sidebar-tint-lime { border-left: 4px solid #c0d4a7; }
.sidebar-tint-peach { border-left: 4px solid #e6915d; }
.sidebar-tint-salmon { border-left: 4px solid #d77a7a; }

.main-content {
  padding: 20px 24px;
  background: #ffffff;
}

.section-eyebrow {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 12px 16px;
  margin: 0 0 0 0;
  border: 1px solid #000000;
  display: block;
  color: #000000;
  line-height: 1.0;
}

.section-eyebrow-periwinkle { background: #8c9ae0; }
.section-eyebrow-lime { background: #c0d4a7; }
.section-eyebrow-peach { background: #e6915d; }
.section-eyebrow-salmon { background: #d77a7a; }
.section-eyebrow-black { background: #000000; color: #ffffff; }

.ribbon-card {
  border: 1px solid #000000;
  margin-bottom: 12px;
}

.ribbon-card-title {
  background: #ffffff;
  border-bottom: 1px solid #000000;
  padding: 5px 12px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ribbon-card-body {
  padding: 12px 16px;
  font-family: 'Times New Roman', Times, serif;
  font-size: 14px;
  line-height: 1.5;
  color: #000000;
}

.ribbon-card-body-periwinkle { background: #8c9ae0; }
.ribbon-card-body-lime { background: #c0d4a7; }
.ribbon-card-body-peach { background: #e6915d; }
.ribbon-card-body-salmon { background: #d77a7a; }
.ribbon-card-body-steel { background: #a5b8c0; }
.ribbon-card-body-sage { background: #b3bd95; }
.ribbon-card-body-white { background: #ffffff; }

.ribbon-card-body a { color: #0000ee; }

.timeline-item {
  border-left: 3px solid #000000;
  margin-left: 12px;
  padding: 0 0 16px 16px;
  position: relative;
}

.timeline-item::before {
  content: '';
  width: 10px;
  height: 10px;
  background: #000000;
  border: 2px solid #ffffff;
  position: absolute;
  left: -7px;
  top: 4px;
}

.timeline-year {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 4px;
}

.timeline-text {
  font-size: 14px;
  color: #000000;
  line-height: 1.5;
}

.article-content h2 {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 8px 12px;
  margin: 24px 0 8px 0;
  color: #000000;
  border-bottom: 2px solid #000000;
  line-height: 1.0;
}

.article-content h3 {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 16px 0 6px 0;
  color: #000000;
}

.article-content p {
  font-family: 'Times New Roman', Times, serif;
  font-size: 15px;
  line-height: 1.7;
  color: #000000;
  margin-bottom: 12px;
}

.article-content ul, .article-content ol {
  font-family: 'Times New Roman', Times, serif;
  font-size: 14px;
  line-height: 1.5;
  padding-left: 20px;
  margin-bottom: 12px;
  color: #000000;
}

.disclaimer-ribbon {
  background: #c0d4a7;
  border: 1px solid #000000;
  padding: 10px 14px;
  font-family: 'Times New Roman', Times, serif;
  font-size: 13px;
  color: #000000;
  line-height: 1.5;
  margin-bottom: 16px;
}

.toc-box {
  background: #f5f5f5;
  border: 1px solid #000000;
  padding: 10px 14px;
  margin-bottom: 16px;
}

.toc-box strong {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.toc-box ol {
  font-family: 'Times New Roman', Times, serif;
  font-size: 13px;
  padding-left: 18px;
  margin: 0;
}

.toc-box a { color: #0000ee; }

.breadcrumb-bar {
  background: #f0f0f0;
  border-bottom: 1px solid #000000;
  padding: 6px 16px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
}

.breadcrumb-bar ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.breadcrumb-bar li { display: flex; align-items: center; gap: 4px; }

.breadcrumb-bar a { color: #0000ee; text-decoration: underline; }

.ribbon-footer {
  background: #000000;
  color: #ffffff;
  padding: 20px 24px;
  border-top: 1px solid #000000;
}

.ribbon-footer h3 {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fcc20f;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

.ribbon-footer a {
  color: #c0d4a7;
  text-decoration: none;
  font-family: 'Times New Roman', Times, serif;
  font-size: 13px;
  display: block;
  margin-bottom: 4px;
}

.ribbon-footer a:hover { text-decoration: underline; color: #ffffff; }

.ribbon-footer p, .ribbon-footer address {
  font-family: 'Times New Roman', Times, serif;
  font-size: 12px;
  color: #a0a0a0;
  line-height: 1.5;
  margin-bottom: 6px;
}

.contact-form-field {
  margin-bottom: 12px;
}

.contact-form-field label {
  display: block;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: #000000;
}

.contact-form-field input,
.contact-form-field textarea {
  width: 100%;
  border: 1px solid #000000;
  padding: 5px 8px;
  font-family: 'Times New Roman', Times, serif;
  font-size: 14px;
  color: #000000;
  background: #ffffff;
  outline: none;
  border-radius: 0;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
  outline: 2px solid #000000;
  outline-offset: 1px;
}

.btn-black {
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 7px 18px;
  cursor: pointer;
  border-radius: 0;
  display: inline-block;
  text-decoration: none;
}

.btn-black:hover { background: #333333; color: #ffffff; text-decoration: none; }

.btn-outline-black {
  background: #ffffff;
  color: #000000;
  border: 1px solid #000000;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 7px 18px;
  cursor: pointer;
  border-radius: 0;
  display: inline-block;
  text-decoration: none;
}

.btn-outline-black:hover { background: #000000; color: #ffffff; text-decoration: none; }

.related-posts-section {
  margin-top: 24px;
  border-top: 2px solid #000000;
  padding-top: 16px;
}

.related-posts-section h2 {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #000000;
}

.post-card {
  border: 1px solid #000000;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
}

.post-card-title {
  background: #000000;
  color: #ffffff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 10px;
  text-transform: uppercase;
}

.post-card-body {
  background: #ffffff;
  padding: 8px 10px;
  font-family: 'Times New Roman', Times, serif;
  font-size: 13px;
  color: #000000;
  flex: 1;
}

.post-card-body a { color: #0000ee; }

.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
}

.chat-toggle {
  background: #000000;
  color: #fcc20f;
  border: 2px solid #fcc20f;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 0;
  display: block;
}

.chat-box {
  background: #ffffff;
  border: 2px solid #000000;
  width: 280px;
  margin-bottom: 8px;
  display: none;
}

.chat-box.open { display: block; }

.chat-header {
  background: #000000;
  color: #fcc20f;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 10px;
}

.chat-messages {
  padding: 10px;
  height: 180px;
  overflow-y: auto;
  font-family: 'Times New Roman', Times, serif;
  font-size: 13px;
}

.chat-msg-bot { color: #000000; margin-bottom: 6px; }
.chat-msg-user { color: #0000ee; text-align: right; margin-bottom: 6px; }

.chat-input-row {
  display: flex;
  border-top: 1px solid #000000;
}

.chat-input-row input {
  flex: 1;
  border: none;
  border-right: 1px solid #000000;
  padding: 6px 8px;
  font-family: 'Times New Roman', Times, serif;
  font-size: 13px;
  outline: none;
  border-radius: 0;
}

.chat-input-row button {
  background: #000000;
  color: #ffffff;
  border: none;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 10px;
  cursor: pointer;
}

.mobile-sidebar-toggle {
  display: none;
  background: #000000;
  color: #fcc20f;
  border: none;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 12px;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

@media (max-width: 991px) {
  .mobile-sidebar-toggle { display: block; }
  .sidebar { border-right: none; border-bottom: 1px solid #000000; }
  .sidebar-content { display: none; }
  .sidebar-content.open { display: block; }
}

details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }

.faq-q {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 12px;
  background: #f0f0f0;
  border: 1px solid #000000;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-a {
  font-family: 'Times New Roman', Times, serif;
  font-size: 14px;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid #000000;
  border-top: none;
  margin-bottom: 8px;
  line-height: 1.6;
  color: #000000;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
