/* ==========================================================
   STYL OGŁOSZEŃ PARAFIALNYCH – wersja "Parafia Classic"
   Odwzorowanie układu z parafiasowice.tarnogorski.pl
   ========================================================== */

.po-ogloszenia {
  max-width: 880px;
  margin: 0 auto 40px auto;
  padding: 10px 25px;
  font-family: "Times New Roman", Georgia, serif;
  color: #000;
  background: #fff;
}

/* === Nagłówek strony (tytuł niedzieli) === */
.po-ogloszenia h2 {
  text-align: center;
  font-size: 20px;
  color: #006633;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 10px;
  margin-bottom: 25px;
  border: none;
  padding: 0;
}

/* === Pojedyncze ogłoszenie (blok) === */
.po-item {
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 25px;
  box-shadow: none;
}

.po-item h3 {
  text-align: center;
  color: #006633;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  text-transform: uppercase;
}

/* === Lista ogłoszeń === */
.po-list {
  list-style-type: decimal;
  list-style-position: outside;
  margin-left: 2em;
  padding-left: 0;
}

/* === Pojedynczy punkt === */
.po-list li {
  text-align: justify;
  line-height: 1.6;
  margin-bottom: 10px;
  font-size: 17px;
  color: #000;
}

/* === Numeracja punktów === */
.po-list li::marker {
  font-weight: bold;
  color: #000;
}

/* === Tytuł w punkcie (np. "Niedziela Misyjna.") === */
.po-list li strong,
.po-list li b {
  font-weight: bold;
  color: #000;
}

/* === Link do PDF === */
.po-pdf-wrap {
  margin-top: 25px;
  text-align: left;
}

.po-pdf {
  display: inline-block;
  background: none;
  color: #0000cc;
  font-weight: normal;
  text-decoration: underline;
  font-size: 16px;
  transition: color 0.2s;
}

.po-pdf:hover {
  color: #006600;
}

/* === Drobna separacja między wpisami === */
.po-item + .po-item {
  border-top: 1px solid #ccc;
  padding-top: 15px;
}

/* === Wyrównanie responsywne === */
@media (max-width: 768px) {
  .po-list li {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 8px;
  }

  .po-ogloszenia {
    padding: 10px 15px;
  }
}

/* === Opcjonalne podkreślenie tytułu wpisu === */
.po-item h3::after {
  content: "";
  display: block;
  width: 100px;
  height: 1px;
  margin: 5px auto 15px auto;
  background: #006633;
}
