/* ============================================================
   author.css — стили страницы «Об авторе»

============================================================ */

/* ---------- Общий контейнер ---------- */
.author-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: Georgia, 'Times New Roman', serif;
  color: #4A3560;
}

/* ---------- Шапка страницы ---------- */
.author-hero {
  display: flex;
  gap: 32px;
  align-items: center;
  background: linear-gradient(160deg, #F4EDF9 0%, #EFE6F6 100%);
  border: 1px solid rgba(123,90,166,0.18);
  border-radius: 22px;
  padding: 40px 44px;
  box-shadow: 0 12px 40px rgba(74,53,96,0.10);
  margin-bottom: 32px;
}
.author-hero__portrait {
  flex-shrink: 0;
  width: 180px;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(74,53,96,0.15);
}
.author-hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.author-hero__title {
  font-size: 34px;
  color: #5B3E86;
  margin: 0 0 8px;
}
.author-hero__subtitle {
  font-family: 'Segoe UI', sans-serif;
  font-size: 17px;
  color: #7B5AA6;
  margin: 0 0 18px;
}
.author-hero__quote {
  font-style: italic;
  font-size: 19px;
  line-height: 1.7;
  color: #4A3560;
  border-left: 3px solid #C9A961;
  padding-left: 16px;
  margin: 0;
}

/* ---------- Секции-карточки ---------- */
.author-section {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(123,90,166,0.14);
  border-radius: 18px;
  padding: 30px 36px;
  margin-bottom: 22px;
  box-shadow: 0 6px 24px rgba(74,53,96,0.07);
}
.author-section__title {
  font-family: 'Segoe UI', sans-serif;
  font-size: 23px;
  font-weight: 700;
  color: #5B3E86;
  margin: 0 0 16px;
}
.author-section__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 8px;
  background: linear-gradient(90deg, #C9A961, transparent);
}
.author-section__text {
  font-size: 18px;
  line-height: 1.85;
  margin: 0 0 14px;
}
.author-section__text:last-child { margin-bottom: 0; }
.author-section__text a { color: #8B6914; }
.author-section__text a:hover { color: #C9A961; }

/* ---------- Подзаголовки h3 внутри секций ---------- */
.author-subtitle {
  font-family: 'Segoe UI', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #7B5AA6;
  margin: 28px 0 14px;
}
.author-subtitle::before {
  content: "◆";
  color: #C9A961;
  font-size: 12px;
  margin-right: 8px;
  vertical-align: 2px;
}

/* ---------- Списки ---------- */
.author-list {
  margin: 0 0 16px;
  padding-left: 24px;
  font-size: 18px;
  line-height: 1.8;
  color: #4A3560;
}
.author-list li { margin-bottom: 6px; }
.author-list li::marker { color: #C9A961; }

/* ---------- Фото и подписи ---------- */
.author-photo {
  margin: 22px auto;
  text-align: center;
}
.author-photo img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(74,53,96,0.15);
}
.author-photo--narrow img { max-width: 420px; }
.author-caption {
  font-family: 'Segoe UI', sans-serif;
  font-size: 14px;
  font-style: italic;
  color: #887788;
  text-align: center;
  margin: 10px auto 20px;
  max-width: 560px;
  line-height: 1.5;
}

/* ---------- Врезка с точной датой затворничества ---------- */
.author-mark {
  background: rgba(123,90,166,0.08);
  border-left: 4px solid #7B5AA6;
  border-radius: 0 10px 10px 0;
  padding: 14px 20px;
  font-weight: 600;
}

/* ============================================================
   ЦИТАТА «ЗОЛОТОЙ КИТ» — крупная, заметная, по центру
============================================================ */
.author-quote {
  position: relative;
  margin: 30px 0;
  padding: 34px 44px 34px 74px;
  background: linear-gradient(160deg, #FDF8EC 0%, #F6EEDC 100%);
  border: 1px solid rgba(201,169,97,0.45);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(176,141,62,0.18);
  font-style: italic;
  font-size: 18.5px;
  line-height: 1.9;
  color: #4A3560;
}
.author-quote::before {
  content: "«";
  position: absolute;
  top: 8px;
  left: 22px;
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: 1;
  color: #C9A961;
  opacity: 0.85;
}
.author-quote::after {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #C9A961, rgba(201,169,97,0.2));
}
.author-quote p {
  margin: 0 0 12px;
  text-indent: 0;
}
.author-quote p:last-child { margin-bottom: 0; }

/* ---------- Финальная секция «От автора» ---------- */
.author-section--violet {
  background: linear-gradient(160deg, #F4EDF9 0%, #EFE6F6 100%);
  border-color: rgba(123,90,166,0.25);
}

/* ---------- Адаптив ---------- */
@media (max-width: 900px) {
  .author-hero { flex-direction: column; text-align: center; padding: 30px 24px; }
  .author-hero__quote { border-left: none; padding-left: 0; text-align: center; }
}
@media (max-width: 640px) {
  .author-page { padding: 24px 12px; }
  .author-section { padding: 24px 18px; }
  .author-section__text { font-size: 16.5px; }
  .author-list { font-size: 16.5px; }
  .author-hero__title { font-size: 27px; }
  .author-section__title { font-size: 20px; }
  .author-subtitle { font-size: 18px; }
  .author-quote { padding: 26px 22px 26px 56px; font-size: 16.5px; }
  .author-quote::before { font-size: 56px; left: 14px; }
}
