/* =========================
   АДАПТИВНАЯ ТИПОГРАФИКА РАЗДЕЛОВ И КАРТОЧЕК
   ========================= */

/* Мобильные устройства (до 600px) */
@media (max-width: 600px) {
  .section-title {
    font-size: 1.7rem;      /* ~27px */
    font-weight: bold;
    margin-bottom: 0.6em;
    line-height: 1.2;
    letter-spacing: 0.01em;
  }
  .section-subtitle {
    font-size: 1.25rem;     /* ~20px */
    font-weight: 500;
    margin-bottom: 0.5em;
    line-height: 1.3;
    letter-spacing: 0.01em;
  }
  .card-text, .quote, .aphorism-text {
    font-size: 1rem;        /* 16px */
    line-height: 1.5;
  }
  .card-author, .aphorism-author {
    font-size: 0.92rem;     /* ~15px */
    color: #888;
    margin-top: 0.5em;
  }
  .card, .aphorism-colorful {
    padding: 14px 10px;
    margin-bottom: 14px;
  }
}

/* Планшеты (от 601px до 900px) */
@media (min-width: 601px) and (max-width: 900px) {
  .section-title {
    font-size: 2rem;         /* ~36px */
    font-weight: bold;
    margin-bottom: 0.7em;
    line-height: 1.2;
    letter-spacing: 0.01em;
  }
  .section-subtitle {
    font-size: 1.4rem;       /* ~25px */
    font-weight: 500;
    margin-bottom: 0.5em;
    line-height: 1.3;
    letter-spacing: 0.01em;
  }
  .card-text, .quote, .aphorism-text {
    font-size: 1.1rem;       /* ~20px */
    line-height: 1.5;
  }
  .card-author, .aphorism-author {
    font-size: 1rem;         /* 18px */
    color: #888;
    margin-top: 0.5em;
  }
  .card, .aphorism-colorful {
    padding: 18px 16px;
    margin-bottom: 18px;
  }
}