/* =====================================================
   АГЕНТСТВО 403 — ПОЛЬЗОВАТЕЛЬСКИЕ СТИЛИ
   Журнальная вёрстка статей
   Вставь в: Tilda → Настройки сайта → CSS
===================================================== */

/* =====================================================
   1. БАЗОВАЯ ВЁРСТКА СТАТЬИ
===================================================== */

/* Контейнер для статьи */
.article-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 40px;
}

@media (max-width: 768px) {
  .article-container {
    padding: 50px 20px;
  }
}

/* Заголовки */
h1 {
  font-size: clamp(42px, 5vw, 82px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.91;
  color: #162128;
  margin: 0 0 40px 0;
}

h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.94;
  color: #162128;
  margin: 60px 0 30px 0;
}

h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #162128;
  margin: 40px 0 20px 0;
}

/* Абзацы */
p {
  font-size: 16px;
  line-height: 1.65;
  color: #162128;
  margin: 0 0 24px 0;
}

/* Ссылки */
a {
  color: #162128;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

a:hover {
  border-bottom-color: #A87932;
  color: #A87932;
}

/* Списки */
ul, ol {
  font-size: 16px;
  line-height: 1.65;
  color: #162128;
  margin: 0 0 24px 0;
  padding-left: 25px;
}

li {
  margin-bottom: 12px;
}

/* =====================================================
   2. РАЗДЕЛИТЕЛЬ
===================================================== */

hr.section-divider {
  margin: 60px 0;
  border: 0;
  height: 1px;
  background: #D7DDDE;
}

/* =====================================================
   3. ЦИТАТА
===================================================== */

.pull-quote {
  margin: 60px 0;
  padding: 40px 50px;
  background: #F8F9F9;
  border-left: 4px solid #A87932;
  position: relative;
}

.pull-quote p {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 24px;
  font-style: italic;
  color: #162128;
  line-height: 1.4;
}

.pull-quote__author {
  margin-top: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #A87932;
}

/* =====================================================
   4. ВЫДЕЛЕННЫЙ БЛОК С ЦИФРОЙ
===================================================== */

.highlight-number {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  margin: 50px 0;
  padding: 30px;
  background: #162128;
  color: #F4F5F4;
}

.highlight-number__num {
  font-family: Georgia, serif;
  font-size: 60px;
  color: #EACB83;
  line-height: 1;
}

.highlight-number__content h3 {
  margin: 0 0 12px;
  color: #F4F5F4;
  font-size: 20px;
  font-weight: 600;
}

.highlight-number__content p {
  margin: 0;
  color: #68747A;
  font-size: 13px;
  line-height: 1.6;
}

/* =====================================================
   5. ИНФОБЛОК
===================================================== */

.info-block {
  display: flex;
  gap: 15px;
  margin: 30px 0;
  padding: 20px;
  background: #F8F9F9;
  border: 1px solid #D7DDDE;
}

.info-block__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #EACB83;
  color: #162128;
  font-size: 18px;
  flex-shrink: 0;
}

.info-block__content h4 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #162128;
}

.info-block__content p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #68747A;
}

/* =====================================================
   6. СТАТИСТИКА (3 КОЛОНКИ)
===================================================== */

.stat-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 50px 0;
  padding: 40px;
  background: #162128;
}

.stat-block__item {
  text-align: center;
}

.stat-block__value {
  display: block;
  margin-bottom: 10px;
  font-family: Georgia, serif;
  font-size: 48px;
  color: #EACB83;
  line-height: 1;
}

.stat-block__label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #68747A;
}

/* =====================================================
   7. ИЗОБРАЖЕНИЕ С ПОДПИСЬЮ
===================================================== */

.figure {
  margin: 45px 0;
}

.figure img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 12px;
}

.figure__caption {
  font-size: 11px;
  line-height: 1.5;
  color: #68747A;
}

.figure__caption strong {
  color: #162128;
  font-weight: 600;
  margin-right: 6px;
}

/* =====================================================
   8. СНОСКИ
===================================================== */

.footnote {
  color: #A87932;
  font-size: 0.75em;
  font-weight: 600;
  vertical-align: super;
  margin-left: 2px;
}

.footnotes {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #D7DDDE;
}

.footnotes__title {
  margin-bottom: 15px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #A87932;
}

.footnotes__list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: footnote;
}

.footnotes__list li {
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: #68747A;
  counter-increment: footnote;
}

.footnotes__list li::before {
  content: counter(footnote) ". ";
  color: #A87932;
  font-weight: 600;
  margin-right: 6px;
}

/* =====================================================
   9. СПИСКИ
===================================================== */

.styled-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.styled-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.65;
  color: #162128;
}

.styled-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #A87932;
  font-size: 18px;
  line-height: 1.4;
}

/* =====================================================
   10. КНОПКА
===================================================== */

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border: 1px solid #162128;
  background: #162128;
  color: #F4F5F4;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn:hover {
  background: #A87932;
  border-color: #A87932;
  color: #162128;
}

/* =====================================================
   11. СЕТКИ
===================================================== */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

/* =====================================================
   12. УТИЛИТЫ
===================================================== */

.text-center {
  text-align: center;
}

.muted {
  color: #68747A;
}

/* =====================================================
   13. АДАПТИВНОСТЬ
===================================================== */

@media (max-width: 768px) {
  .article-container {
    padding: 50px 20px;
  }
  
  h1 {
    font-size: 34px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  h3 {
    font-size: 22px;
  }
  
  .stat-block {
    grid-template-columns: 1fr;
    padding: 25px;
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .highlight-number {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 25px;
  }
  
  .highlight-number__num {
    font-size: 48px;
  }
  
  .pull-quote {
    padding: 30px 25px;
  }
  
  .pull-quote p {
    font-size: 20px;
  }
  
  .info-block {
    flex-direction: column;
    gap: 12px;
  }
  
  .info-block__icon {
    width: 100%;
    height: 35px;
  }
}