:root {
  --terracotta: #bf675b;
  --terracotta-dark: #bd5b5a;
  --navy: #353f4d;
  --beige-light: #cdc1bc;
  --beige-dark: #9d968c;
  --gray-blue: #a4a8b5;
  --gray-light: #b1b5b3;
  --gray-medium: #758185;
  --gray-dark: #6a6b69;

  --white: #ffffff;
  --page-bg: #f7f6f5;
  --border: rgba(53, 63, 77, 0.12);

  --font-display: "Geologica", Georgia, serif;
  --font-body: "Geologica", Arial, sans-serif;
  --font-title: "Tinos", Georgia, serif;

  --container-width: 1200px;
  --content-padding: 32px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-block-start: 24px;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-width: 0;
  background: var(--page-bg);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* Opacity-only fallback for browsers without cross-document transitions. */
@media (prefers-reduced-motion: no-preference) {
  html.page-entering { animation: page-enter 180ms ease-out; }
}
@keyframes page-enter { from { opacity: 0; } to { opacity: 1; } }

main { overflow-wrap: anywhere; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--terracotta-dark);
  outline-offset: 4px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(100% - (var(--content-padding) * 2), var(--container-width));
  margin-inline: auto;
}

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
/* Баннер между логотипом и меню */
.header-banner {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.header-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 48px;      /* не выше 48px — держит хедер компактным */
  object-fit: contain;
}

.brand,
.footer-logo {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand {
  font-size: 40px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 28px;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gray-dark);
  font-size: 18px;
  font-weight: 500;
  transition: color 180ms ease;
}

.main-nav .nav-placeholder { color: var(--gray-dark); font-size: 13px; font-weight: 500; opacity: 0.65; cursor: default; }
.button-disabled { opacity: 0.55; cursor: default; }
.button.button-disabled:hover { background-color: transparent; color: var(--navy); transform: none; }
.footer-placeholder { padding-block: 6px; font-size: 13px; opacity: 0.65; }
.footer-social .social-placeholder { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 50%; color: var(--white); opacity: 0.5; }
.footer-social .social-placeholder:nth-child(2) svg { fill: none; }

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--terracotta-dark);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ===============================
   Step 2: Hero Section (Issue No. 1)
   ===============================*/

.hero {
  padding: 120px 0;
  /* Мягкий градиент на основе палитры */
  background: var(--page-bg);
  overflow: hidden;
}
.hero-inner {
  max-width: 800px; /* Ограничиваем ширину текста */
}

.hero-inner--with-cover {
  max-width: var(--container-width);
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero-cover {
  display: block;
  box-shadow: 0 8px 28px rgba(53, 63, 77, 0.16);
  transition: box-shadow 180ms ease;
}

.hero-cover img {
  width: 100%;
  height: auto;
}

.hero-cover:hover,
.hero-cover:focus-visible {
  box-shadow: 0 12px 32px rgba(53, 63, 77, 0.24);
}

.hero-kicker {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  margin: 0 0 16px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px); /* Адаптивный размер шрифта */
  line-height: 1.1;
  color: var(--navy);
  margin: 0 0 24px;
}

.hero-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-medium);
  margin: 0 0 40px;
  max-width: 600px;
}

/* --- Кнопки --- */

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 50px; /* Форма таблетки, как в PDF */
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  gap: 8px;
  min-height: 48px;
  text-align: center;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
  text-decoration: none;
}

.button-primary {
  background-color: var(--terracotta);
  color: var(--white);
  border: 1px solid var(--terracotta);
}

.button-primary:hover,
.button-primary:focus-visible {
  background-color: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  transform: translateY(-2px);
}

.button-outline {
  background-color: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.button-outline:hover,
.button-outline:focus-visible {
  background-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* =========================================
   Step 3: Contributors Section
   ========================================= */

.contributors-section {
  padding: 64px 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-medium);
  text-align: center;
  margin: 0 0 40px;
}

.contributors-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 48px;
}

.contributor {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--gray-blue); /* Заглушка для аватара */
  border: 2px solid var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.contributor-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
}

/* Ссылки на опубликованные профили авторов */
.contributor-profile .avatar { object-fit: cover; }
.contributor-profile:hover .contributor-name,
.contributor-profile:focus-visible .contributor-name {
  color: var(--terracotta-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Отдельная подборка авторов на главной. */
.featured-authors .contributors-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: start;
  gap: 32px 24px;
}
.featured-authors .contributor {
  flex-direction: column;
  gap: 16px;
  text-align: center;
}
.featured-authors .avatar {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 50%;
}
.featured-authors .author-photo-placeholder {
  display: grid;
  place-items: center;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 32px;
}
.featured-authors .contributor-name {
  max-width: 18ch;
  font-size: 16px;
  line-height: 1.4;
}
@media (max-width: 1000px) {
  .featured-authors .contributors-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .featured-authors .contributors-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .featured-authors .avatar { width: 88px; height: 88px; }
}

/* =========================================
   Step 3: Archive Section (Previous Issues)
   ========================================= */

.archive-section {
  padding: 12px 0 96px;
  background-color: var(--page-bg);
}

.archive-header {
  margin-bottom: 48px;
}

.archive-header h2,
.archive-header .page-title {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--navy);
  margin: 0 0 8px;
}

.archive-header p {
  font-size: 15px;
  color: var(--gray-medium);
  margin: 0;
}

.issues-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.issue-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 200ms ease;
}

.issue-card[href]:hover,
.issue-card[href]:focus-visible {
  transform: translateY(-4px); /* Эффект поднятия карточки */
}

.issue-cover {
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  background-color: var(--beige-light);
  box-shadow: 0 4px 12px rgba(53, 63, 77, 0.06);
  transition: box-shadow 200ms ease;
  overflow: hidden;           /* ← чтобы картинка не вылезала за скругления */
}

.issue-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.issue-card[href]:hover .issue-cover,
.issue-card[href]:focus-visible .issue-cover {
  box-shadow: 0 12px 24px rgba(53, 63, 77, 0.12);
}

/* Цвета-заглушки для обложек */
.cover-beige { background-color: var(--beige-light); }
.cover-teal  { background-color: var(--gray-medium); }
.cover-gray  { background-color: var(--gray-light); }
.cover-navy  { background-color: var(--navy); }

.issue-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
}

.issue-date {
  color: var(--gray-medium);
  font-weight: 400;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: var(--gray-light);
  padding: 72px 0 28px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 42px;
}

.footer-brand {
  max-width: 430px;
}

.footer-logo {
  display: inline-block;
  color: var(--white);
  font-size: 26px;
}

.footer-brand p {
  max-width: 360px;
  margin: 16px 0 0;
  color: var(--gray-blue);
  font-size: 13px;
  line-height: 1.75;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  color: var(--white);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background: var(--terracotta);
  border-color: var(--terracotta);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.2;
}

.footer-social a:nth-child(2) svg {
  fill: none;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 32px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  
  align-items: center;
  justify-items: center; 
}

.footer-links a {
  color: var(--gray-light);
  font-size: 13px;
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
}

.footer-bottom p {
  margin: 0;
  color: var(--gray-blue);
  font-size: 11px;
}

/* Главная: короткие подборки и ссылки на отдельные страницы */
.archive-preview { padding-block: 64px; }
.archive-preview .archive-header { margin-bottom: 28px; }
.archive-preview .archive-header h2 { font-size: clamp(22px, 3vw, 28px); }
.archive-preview .archive-header p { max-width: 60ch; font-size: 14px; }
.archive-preview .issues-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.archive-preview .issue-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.archive-preview .issue-cover {
  flex: 0 0 88px;
  width: 88px;
  aspect-ratio: 3 / 4;
  box-shadow: none;
}
.archive-preview .issue-cover img { object-fit: contain; }
.archive-preview .issue-info { display: block; min-width: 0; font-size: 15px; line-height: 1.5; }
.archive-preview .issue-card[href]:hover,
.archive-preview .issue-card[href]:focus-visible { background: var(--white); transform: none; }
.archive-preview .issue-card[href]:hover .issue-cover,
.archive-preview .issue-card[href]:focus-visible .issue-cover { box-shadow: none; }
.section-actions .section-cta { min-width: 200px; width: auto; }
@media (max-width: 600px) {
  .archive-preview .issues-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .archive-preview .issue-card { gap: 16px; padding: 14px; }
  .archive-preview .issue-cover { flex-basis: 72px; width: 72px; }
  .featured-authors .section-cta, .archive-preview .section-cta { width: 100%; max-width: 360px; }
}
.section-actions { margin-top: 32px; text-align: center; }
.section-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; color: var(--terracotta-dark); font-weight: 600; }
.section-link:hover, .section-link:focus-visible { text-decoration: underline; text-underline-offset: 4px; color: var(--navy); }
.page-title { margin: 0 0 32px; font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); line-height: 1.2; color: var(--navy); }
.contributors-section .page-title { text-align: center; }
.avatar { flex-shrink: 0; }
.issue-info { flex-wrap: wrap; gap: 4px 12px; }
a:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 5px; }
.main-nav a[aria-current="page"] { color: var(--terracotta-dark); }
.issue-card[id] { scroll-margin-top: 24px; }
.issue-card:target .issue-cover { outline: 2px solid var(--terracotta); outline-offset: 4px; }

/* ---------- Polished interactive states and text spacing ---------- */
.brand:hover, .brand:focus-visible { color: var(--terracotta-dark); }
.footer-logo:hover, .footer-logo:focus-visible { opacity: 0.75; }
.contributor, .hero-copy, .footer-brand { min-width: 0; }
h1, h2, p, .contributor-name, .footer-links a { overflow-wrap: break-word; }
.footer-links a { display: inline-block; padding-block: 6px; }

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .issues-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  :root {
    --content-padding: 20px;
  }

  .header-inner {
    min-height: auto;
    padding-block: 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 4px 22px;
  }

  .main-nav a {
    font-size: 14px;
  }

  .hero {
    padding: 64px 0;
  }

  .hero-inner--with-cover {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero-cover {
    width: min(100%, 240px);
    justify-self: center;
  }

  .hero-description {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .button {
    width: 100%; /* Кнопки на всю ширину на мобильных */
  }

  .contributors-list {
    flex-direction: column;
    gap: 24px;
  }

  .archive-section,
  .contributors-section {
    padding: 56px 0;
  }

  .archive-header { margin-bottom: 32px; }
  .contributor { width: min(100%, 320px); }
  .issue-card { width: min(100%, 420px); margin-inline: auto; }

  .archive-header h2,
  .archive-header .page-title {
    font-size: 26px;
  }

  .issues-grid {
    grid-template-columns: minmax(0, 1fr); /* Одна колонка на мобильных */
    gap: 20px;
  }

  .site-footer {
    padding-top: 52px;
  }

  .footer-top {
    flex-direction: column;
    gap: 28px;
  }

  .footer-links {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    align-items: start;
    gap: 4px;
    padding-block: 20px;
    text-align: left;
  }

  .footer-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    max-width: 100%;
    line-height: 1.6;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .button:hover, .button:focus-visible,
  .issue-card[href]:hover, .issue-card[href]:focus-visible,
  .footer-social a:hover, .footer-social a:focus-visible { transform: none; }
}
/* =========================================================
   ABOUT PAGE
   ========================================================= */

/* ----- Вступление ----- */
.about-intro {
  padding-bottom: 0;
}

/* ----- Команда ----- */
.about-team {
  padding: 56px 0 64px;
}

.about-team .section-title {
  margin-bottom: 40px;
  text-align: center;
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.team-photo {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--beige-light);
  border: 1px solid var(--border);
  border-radius: 4px;
  margin: 0 0 16px;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.team-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.team-role {
  margin: 10px 0 0;
  max-width: 240px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-dark);
}

/* ----- О ЖУРНАЛЕ: текст по центру, без фактов ----- */
.about-story {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}

.about-story-container {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.about-h2 {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  color: var(--navy);
  text-align: center;
}

/* Основной текст — чёткий Georgia, как в поэтических текстах */
.about-story-container p,
.about-contact-container p,
.about-intro .issue-description {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.85;
  color: var(--navy);
  margin: 0 0 22px;
}

.about-story-container p:last-child,
.about-contact-container p:last-child {
  margin-bottom: 0;
}

/* ----- Манифест ----- */
.about-manifesto {
  padding: 64px 0;
}

.about-quote {
  max-width: 720px;
  margin: 0 auto;
  padding-left: clamp(20px, 3vw, 32px);
  border-left: 3px solid var(--terracotta);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 30px);
  font-style: italic;
  line-height: 1.5;
}

.about-quote-author {
  max-width: 720px;
  margin: 16px auto 0;
  padding-left: clamp(20px, 3vw, 32px);
  color: var(--gray-medium);
  font-size: 13px;
}

/* ----- Контакты ----- */
.about-contact {
  padding: 0 0 80px;
}

.about-contact-container {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.about-contact-container .about-h2 {
  text-align: center;
}

.about-contact-placeholder {
  color: var(--gray-medium);
  border-bottom: 1px dashed var(--border);
  padding-bottom: 2px;
}

/* ----- Адаптив ----- */
@media (max-width: 700px) {
  .about-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .team-photo {
    max-width: 180px;
  }
}

@media (max-width: 480px) {
  .about-team-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Вводный абзац — крупнее, ярче, но в том же боксе */
.about-story-container .about-lede {
  font-family: var(--font-display);        /* Playfair Display */
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.5;
  color: var(--terracotta);                /* терракотовый акцент */
  font-weight: 500;
  margin: 0 0 36px;
  letter-spacing: -0.005em;
}

/* Остальные абзацы — как раньше */
.about-story-container p:not(.about-lede) {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.85;
  color: var(--navy);
  margin: 0 0 22px;
}
.collection-editor {
  color: var(--gray-dark);
  font-size: 15px;
  margin: 6px 0 0;
}

.collection-editor a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.collection-editor a:hover,
.collection-editor a:focus-visible {
  color: var(--terracotta-dark);
}
.author-contact {
  margin: 16px 0 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gray-dark);
}

.author-contact a {
  color: var(--terracotta-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.author-contact a:hover,
.author-contact a:focus-visible {
  color: var(--navy);
}
/* ===== Страница политики конфиденциальности ===== */

.privacy-page {
  max-width: 820px;
  margin: 48px auto 80px;
  font-size: 1rem;
  line-height: 1.7;
}

.privacy-page h1 {
  font-size: 1.75rem;
  line-height: 1.3;
  margin-bottom: 32px;
}

.privacy-page h2 {
  font-size: 1.2rem;
  margin: 36px 0 12px;
}

.privacy-page p {
  margin: 0 0 12px;
}

.privacy-page a {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .privacy-page {
    margin: 32px auto 56px;
    padding: 0 16px;
    font-size: 0.95rem;
  }
  .privacy-page h1 { font-size: 1.4rem; }
}
/* Синие ссылки в блоке контактов */
.about-contact-link {
  color: #0b5ed7;
  text-decoration: none;
}
.about-contact-link:hover,
.about-contact-link:focus-visible {
  color: #0a4bb5;
  text-decoration: underline;
}
.work-verse:empty,
.work-prose:empty {
  display: none;
}

/* Комментарий редактора к подборке */
.collection-editor-comment {
  margin: 24px auto;
  max-width: 65ch;
  padding: 16px 0; /* убрали боковые отступы, чтобы не было плашки */
  text-align: left;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--navy);
}

.collection-editor-comment p {
  margin: 0 0 8px;
  font-style: italic; /* сделали курсивом, как пометку на полях */
}

.collection-editor-comment .editor-signature {
  display: block;
  text-align: right;
  font-style: normal;
  font-weight: 600;
  color: var(--gray-dark);
  font-size: 14px;
}
/* Выравнивание текста под блоком команды по центру */
.about-team-afterword {
  max-width: 720px;
  margin: 48px auto 0;
  text-align: center; /* Вот это выравнивает текст по центру */
}

.about-team-afterword p {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--navy);
  margin-bottom: 20px;
}