/* ============================================================
   Blog article pages — Vital Docs (RU)
   Uses the shared design tokens from style.css.
   ============================================================ */

/* — Breadcrumbs — */
.bc { padding: calc(var(--hdr-h, 122px) + clamp(18px, 3vw, 30px)) 0 0; }
.bc__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: .8rem; color: var(--muted); margin: 0; padding: 0; list-style: none; }
.bc__list li { list-style: none; }
.bc__list a { color: var(--ink-2); transition: color .25s var(--ease); }
.bc__list a:hover { color: var(--clay); }
.bc__sep { opacity: .5; }
.bc__cur { color: var(--ink); }

/* — Article hero (split: title/meta left, portrait cover right) — */
.ah { padding: clamp(22px, 3.5vw, 40px) 0 clamp(30px, 5vw, 54px); }
.ah__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.ah__eyebrow { font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); margin: 0 0 16px; }
.ah h1 { font-family: var(--serif); font-weight: 600; color: var(--ink);
  font-size: clamp(1.95rem, 4.2vw, 3rem); line-height: 1.1; letter-spacing: -.01em; margin: 0 0 18px; }
.ah__lead { font-size: 1.12rem; line-height: 1.6; color: var(--ink-2); margin: 0 0 26px; max-width: 46ch; }
.ah__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; font-size: .85rem; color: var(--ink-2); }
.ah__author { display: inline-flex; align-items: center; gap: 11px; font-weight: 500; color: var(--ink); }
.ah__author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.ah__metaitem { display: inline-flex; align-items: center; gap: 6px; }
.ah__metaitem .ic { width: 1.05em; height: 1.05em; color: var(--clay); }
.ah__media { position: relative; }
.ah__media img { width: 100%; height: auto; border-radius: var(--r); display: block;
  box-shadow: 0 34px 64px -34px rgba(27, 38, 50, .5); }
.ah__media figcaption { margin-top: 10px; font-size: .76rem; color: var(--muted); text-align: center; font-style: italic; }

/* — Article body — */
.article { padding: 0 0 clamp(50px, 8vw, 104px); }
.article__col { max-width: 50rem; }
.article p { font-size: 1.06rem; line-height: 1.8; color: var(--ink-2); margin: 0 0 18px; }
.article__lead-p { font-size: 1.2rem; line-height: 1.65; color: var(--ink); }
.article h2 { font-family: var(--serif); font-weight: 600; color: var(--ink);
  font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.22; margin: 50px 0 18px;
  scroll-margin-top: calc(var(--hdr-h, 122px) + 20px); }
.article h2:first-child { margin-top: 0; }
.article ul { list-style: none; margin: 6px 0 22px; padding: 0; }
.article li { position: relative; padding-left: 28px; font-size: 1.06rem; line-height: 1.7; color: var(--ink-2); margin-bottom: 10px; }
.article li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; background: var(--clay); transform: rotate(45deg); }
.article a.ilink { color: var(--clay-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; font-weight: 500; transition: color .25s var(--ease); }
.article a.ilink:hover { color: var(--clay); }
.article a[href^="http"]:not(.ilink) { color: var(--clay-2); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }

/* — Pull quote (marketing emphasis) — */
.pullquote { margin: 36px 0; padding: 6px 0 6px 30px; border-left: 3px solid var(--clay);
  font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  line-height: 1.4; color: var(--ink); }

/* — Sources box — */
.sources { margin: 36px 0; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 28px; }
.sources h2 { margin: 0 0 14px; font-size: 1.2rem; }
.sources ul { margin: 0; }
.sources li { font-size: .96rem; margin-bottom: 9px; }

/* — Disclaimer — */
.disclaimer { margin: 34px 0 8px; padding: 18px 22px; border: 1px dashed rgba(44, 62, 80, .28);
  border-radius: 14px; background: var(--paper-2); }
.disclaimer p { font-size: .94rem; line-height: 1.65; color: var(--ink-2); margin: 0 0 10px; }
.disclaimer p:last-child { margin-bottom: 0; }
.disclaimer .label { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono);
  font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.disclaimer .ic { width: 1.1em; height: 1.1em; }

/* — Author CTA (marketing) — */
.author-cta { margin: 48px 0 0; background: var(--emerald); color: var(--paper-2); border-radius: var(--r);
  padding: clamp(26px, 4vw, 44px); display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 34px); align-items: start; }
.author-cta__photo img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .22); display: block; }
.author-cta h3 { font-family: var(--serif); font-size: clamp(1.3rem, 2.5vw, 1.6rem); font-weight: 600; margin: 0 0 12px; color: #fff; line-height: 1.2; }
.author-cta p { color: rgba(255, 255, 255, .86); font-size: 1rem; line-height: 1.62; margin: 0 0 12px; }
.author-cta p:last-of-type { margin-bottom: 20px; }
.author-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.author-cta__btn { display: inline-flex; align-items: center; gap: 9px; background: var(--gold); color: var(--emerald-deep);
  font-weight: 600; font-size: .96rem; padding: 13px 26px; border-radius: 999px; transition: transform .25s var(--ease), background-color .25s; }
.author-cta__btn:hover { background: #c79a4e; transform: translateY(-1px); }
.author-cta__btn .ic { width: 1.05em; height: 1.05em; }
.author-cta__btn--ghost { background: transparent; color: var(--paper-2); border: 1px solid rgba(255, 255, 255, .35); }
.author-cta__btn--ghost:hover { background: rgba(255, 255, 255, .1); }

/* — Related articles — */
.related { padding: clamp(48px, 7vw, 90px) 0; background: var(--paper-2); border-top: 1px solid var(--line); }
.related__head { margin-bottom: 28px; }
.related__eyebrow { font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); margin: 0 0 8px; }
.related__head h2 { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0; }
.related__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.rcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 26px; display: flex; flex-direction: column; gap: 8px;
  position: relative; transition: border-color .25s, box-shadow .25s, transform .25s; }
.rcard--soon { opacity: .92; }
.rcard__tag { align-self: flex-start; font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--clay); background: var(--clay-soft); border-radius: 999px; padding: 4px 11px; margin-bottom: 4px; }
.rcard h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 1.18rem; line-height: 1.28; margin: 0; }
.rcard p { font-size: .92rem; line-height: 1.55; color: var(--ink-2); margin: 0; }
.rcard__soon { margin-top: auto; padding-top: 10px; font-size: .82rem; color: var(--muted); font-weight: 500; }
a.rcard:hover { border-color: var(--clay); box-shadow: 0 22px 44px -28px rgba(27, 38, 50, .4); transform: translateY(-2px); }

/* — Responsive — */
@media (max-width: 900px) {
  .ah__grid { grid-template-columns: 1fr; gap: 28px; }
  .ah__media { order: -1; max-width: 380px; }
  .related__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .author-cta { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .author-cta__actions { justify-content: center; }
}
