/* =========================================
   STYLE DEDYKOWANE DLA STRON TEKSTOWYCH
   (Polityka prywatności, Regulaminy itp.)
   ========================================= */

/* --- HERO --- */
.text-hero {
  position: relative;
  background-color: var(--color-dark);
  padding: 160px 0 60px;
  color: #fff;
  text-align: center;
}

.text-hero__content { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.text-hero__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: var(--w-bold); margin-bottom: 0.5rem; }
.text-hero__meta { font-size: 1rem; opacity: 0.7; font-style: italic; font-weight: 300; }

/* --- CONTENT --- */
.text-page { background: #fff; }

.text-content {
  width: 100%; 
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
}

/* Typography wewnątrz artykułu */
.text-content p {
  margin-bottom: 1.5rem;
}

.text-content .lead {
  font-size: 1.2rem;
  font-weight: var(--w-semi);
  color: var(--color-text-heading);
  margin-bottom: 2.5rem;
}

.text-content h2 {
  font-size: 1.6rem;
  color: var(--color-text-heading);
  margin-top: 3rem;
  margin-bottom: 1.2rem;
  font-weight: var(--w-bold);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}

.text-content h3 {
  font-size: 1.3rem;
  color: var(--color-text-heading);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: var(--w-semi);
}

/* Listy */
.text-content ul, 
.text-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.text-content ul li, 
.text-content ol li {
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

.text-content ul li::marker {
  color: var(--color-primary);
}

/* Linki w tekście (ZMIANA: wykluczamy klasę .btn, żeby nie kolorować przycisków) */
.text-content a:not(.btn) {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.text-content a:not(.btn):hover {
  color: var(--color-dark);
}

/* Highlight box */
.contact-box {
  background: #f8fafc;
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin-top: 4rem;
  text-align: center;
}

.contact-box h3 { margin-top: 0; margin-bottom: 0.5rem; }
.contact-box p { margin-bottom: 1.5rem; }

/* Styl przycisku w boxie */
.contact-box .btn { 
  display: inline-flex; 
  text-decoration: none; 
  color: #fff !important; /* WYMUSZENIE BIAŁEGO KOLORU */
}

/* Responsive */
@media (max-width: 576px) {
  .text-hero { padding: 140px 0 40px; }
  .text-content { font-size: 1rem; }
  .contact-box { padding: 1.5rem; }
}