
/* ===== MAIN ===== */
.texts-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 90px 20px;
  text-align: center;
}

/* ===== TITLE ===== */
.texts-page h1 {
  font-size: 42px;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

/* ===== INTRO ===== */
.texts-intro {
  max-width: 600px;
  margin: 0 auto 70px;
  font-size: 18px;
  line-height: 1.9;
  opacity: 0.8;
}

/* ===== SECTION ===== */
.texts-section {
  margin-top: 90px;
}

/* ===== SECTION TITLE ===== */
.texts-section h2 {
  font-size: 26px;
  margin-bottom: 15px;
}

/* subtelna kreska jak w książce */
.texts-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  margin: 12px auto 25px;
  background: rgba(0,0,0,0.2);
}

/* ===== DESCRIPTION ===== */
.texts-section p {
  max-width: 580px;
  margin: 0 auto 35px;
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.75;
}

/* ===== LIST ===== */
.texts-list {
  list-style: none;
  counter-reset: item; /* 🔥 KLUCZOWE */
  padding: 0;
  margin: 30px auto;
  max-width: 520px;
  text-align: left;
}

/* element listy */
.texts-list li {
  counter-increment: item;
  padding: 6px 0 6px 30px;
  position: relative;
  line-height: 1.45;
}


/* numer */
.texts-list li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  width: 24px;
  text-align: right;
  opacity: 0.5;
}

/* reset licznika */
.texts-list {
  counter-reset: item;
}

/* link */
.texts-list a {
  position: relative;
  color: inherit;
  opacity: 0.85;
}

.texts-list a:hover {
  color: #8a4b2a;
  opacity: 1;
}
.texts-list a:hover::after {
  width: 100%;
}

/* ===== VIEW ALL (ZOBACZ WSZYSTKIE)===== */
.texts-more {
  display: inline-block;
  margin-top: 30px;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-decoration: none;
  color: #8b5e3c;
  border-bottom: 1px solid rgba(138,79,56,0.4);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.texts-more:hover {
  color:  #d19a6a;
  border-bottom-color:  #d19a6a;
}

/* =====================================================
  SEPARATOR LITERACKI
   ===================================================== */

.texts-separator{
text-align:center;
margin:40px 0 40px 0;
color:#8a4b2a;
font-size:14px;
}

.texts-separator:before,
.texts-separator:after{

content:"";

display:inline-block;

width:35%;
height:1px;

background:#d8cfc3;

vertical-align:middle;

margin:0 10px;

}


/* ===== ARROW ANIMATION ===== */

.texts-more {
  display: inline-block;
  margin-top: 40px;
  margin-bottom: 60px;
  color: #8b5e3c;
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 1px solid rgba(138,79,56,0.4);
  padding-bottom: 2px;
  transition: 0.3s ease;
}

.texts-more:hover {
 opacity: 1;
}

.texts-more .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

/* animacja */
.texts-more:hover .arrow {
  transform: translateX(5px);
}


