/* ==========================================================================
   СТИЛИ ДЛЯ СТАТЕЙ И ТЕХНИК САЙТА MANELIS.RU
   css/article.css — Классика, Фьюзинг, Флорентийка, Тиффани, Мозаика
   ========================================================================== */

/* Контейнер страницы */
.container,
.page-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Шапка страницы (Hero) ---- */
.page-hero {
  background: linear-gradient(160deg, #0d1520 0%, #0a0f16 60%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  padding: 100px 0 60px;
  text-align: center;
}

.page-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold, #d4af37);
  margin-bottom: 16px;
}

.page-title,
h1.zagolovok {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
}

.gold-bar {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #b8902a, #e6c96a, #b8902a);
  margin: 0 auto 24px;
  border-radius: 2px;
}

.page-lead,
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted, #a0aec0);
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 300;
  text-align: center;
}

/* Навигация-«хлебные крошки» */
.breadcrumb {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--gold, #d4af37);
}

/* Навигационные таблетки */
.page-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 2rem 0 3.5rem;
}

.page-nav a {
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold, #d4af37);
  background: rgba(212, 175, 55, 0.04);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.25s ease;
}

.page-nav a:hover,
.page-nav a.active {
  background: var(--gold, #d4af37);
  color: #0a0f16 !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* ---- Основной блок контента ---- */
.content-section {
  padding: 70px 0 90px;
}

/* Диаграмма / Главная иллюстрация */
.diagram-wrap {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 50px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
}

.diagram-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.diagram-caption {
  padding: 14px 20px;
  font-size: 0.85rem;
  color: #94a3b8;
  text-align: center;
  background: rgba(10, 15, 22, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-style: italic;
}

/* Заголовки разделов */
.section-h2 {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-size: 1.8rem;
  color: #e6c587;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-h2 .icon {
  font-size: 1.5rem;
}

/* Список элементов конструкции */
.elements-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 60px;
}

.elements-list li {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--gold, #d4af37);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #cbd5e1;
}

.elements-list li strong {
  color: #ffffff;
  font-weight: 600;
}

.arrow-red { color: #f87171; font-weight: 600; }
.arrow-orange { color: #fb923c; font-weight: 600; }
.arrow-green { color: #4ade80; font-weight: 600; }
.arrow-blue { color: #60a5fa; font-weight: 600; }

/* Шаги сборки (Инфографика) */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 60px;
}

.step-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
}

.step-num {
  width: 56px;
  height: 56px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-size: 1.3rem;
  color: var(--gold, #d4af37);
  flex-shrink: 0;
}

.step-body {
  padding-top: 8px;
}

.step-body strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.step-body p {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.75;
}

/* Итоговый блок про свет */
.light-highlight {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  padding: 36px 40px;
  margin-bottom: 60px;
}

.light-highlight p {
  font-size: 1.02rem;
  color: #e2e8f0;
  line-height: 1.8;
}

/* ── РАЗДЕЛ ОБ АВТОРЕ ТЕХНИКИ (БИОГРАФИЯ) ────── */
.bio-section {
  margin-top: 70px;
  padding-top: 60px;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
}

.bio-hero-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 35px;
  align-items: start;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 35px;
  margin-bottom: 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.bio-photo-wrap {
  position: relative;
}

.bio-photo {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  display: block;
}

.bio-caption {
  font-size: 0.72rem;
  color: var(--gold, #d4af37);
  text-align: center;
  margin-top: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.bio-main-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.bio-name {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-size: 1.85rem;
  color: #ffffff;
  line-height: 1.2;
}

.bio-years {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--gold, #d4af37);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}

.bio-lead-text {
  font-size: 0.96rem;
  color: #cbd5e1;
  line-height: 1.8;
  font-weight: 300;
}

/* Карточки исторических вех */
.bio-timeline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 40px;
}

.bio-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s;
}

.bio-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
}

.bio-card-tag {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold, #d4af37);
  font-weight: 600;
}

.bio-card-title {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-size: 1.25rem;
  color: #ffffff;
}

.bio-card-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.7;
  font-weight: 300;
}

.bio-card-img {
  width: 100%;
  height: 180px;
  border-radius: 6px;
  overflow: hidden;
  margin: 10px 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bio-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-fact-box {
  background: rgba(212, 175, 55, 0.06);
  border-left: 3px solid var(--gold, #d4af37);
  padding: 12px 16px;
  border-radius: 0 4px 4px 0;
  font-size: 0.82rem;
  color: #e2e8f0;
  line-height: 1.6;
  font-style: italic;
}

/* CTA Блок */
.cta-wrap {
  text-align: center;
  padding: 60px 0 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-wrap h3 {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-wrap p {
  color: #94a3b8;
  margin-bottom: 32px;
}

.btn-gold,
.cta-button {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, #b8902a, #e6c96a, #b8902a);
  background-size: 200% 100%;
  color: #0a0f16 !important;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none;
  transition: background-position 0.4s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.25);
  border: none;
  cursor: pointer;
}

.btn-gold:hover,
.cta-button:hover {
  background-position: right center;
  transform: translateY(-2px);
  color: #0a0f16 !important;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
}

@media (max-width: 768px) {
  .page-hero { padding: 80px 0 40px; }
  .bio-hero-grid { grid-template-columns: 1fr; padding: 25px; }
  .bio-photo { max-width: 200px; margin: 0 auto; }
  .bio-timeline-grid { grid-template-columns: 1fr; }
  .step-num { width: 44px; height: 44px; font-size: 1.1rem; }
  .step-item { grid-template-columns: 44px 1fr; gap: 14px; }
  .light-highlight { padding: 24px 20px; }
  .elements-list li { padding: 16px; }
}
