/* ============================================================
   УГЛИЧИ — журнал / статьи (расширение style.css)
   ============================================================ */

.blog-page main { padding-top: 0; }

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--paper-dim);
  margin-bottom: clamp(32px, 5vw, 56px);
  flex-wrap: wrap;
}

.breadcrumbs a { color: var(--paper-dim); transition: color 0.25s ease; }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs span[aria-current] { color: var(--paper); }

/* ---------- отдельная статья ---------- */

.article-page { padding-top: clamp(140px, 16vw, 200px); }

.article-inner { max-width: 820px; }

.article-hero {
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.article-hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.article-body .faq-list { max-width: 100%; margin-top: 0.5em; }
.article-body .faq-item summary { font-size: 1.02rem; letter-spacing: 0.02em; text-transform: none; }
.article-body .faq-item p { padding-right: 0; max-width: 100%; font-size: 16px; }

.article-title {
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  margin-bottom: clamp(36px, 5vw, 64px);
  text-transform: none;
  letter-spacing: 0.01em;
}

.article-body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--paper-dim);
}

.article-body p { margin-bottom: 1.4em; max-width: 720px; }

.article-body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  color: var(--paper);
  margin: 2em 0 0.8em;
  line-height: 1.35;
}

.article-body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--blue);
  margin: 1.8em 0 0.6em;
  letter-spacing: 0.02em;
}

.article-body ul, .article-body ol { margin: 0 0 1.4em 1.3em; }
.article-body li { margin-bottom: 0.5em; }

.article-body strong { color: var(--paper); font-weight: 600; }

.article-cta { margin-top: clamp(56px, 7vw, 90px); }

/* ---------- индекс журнала ---------- */

.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.journal-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.journal-card:hover { border-color: var(--red); transform: translateY(-3px); }

.journal-card .img {
  height: 200px;
  overflow: hidden;
}

.journal-card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.journal-card .meta { padding: 24px; display: flex; flex-direction: column; flex: 1; }

.journal-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
  color: var(--paper);
}

.journal-card p {
  font-size: 14.5px;
  color: var(--paper-dim);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 16px;
}

.journal-read {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

/* ---------- тизер журнала на главной ---------- */

.journal-teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: clamp(40px, 5vw, 64px);
}
