/* === ARTICLE V2 — Школа здоровья ВЕСТА === */

/* --- Page-level: nav & footer for light article pages --- */
.blog-page { background: var(--cream); color: var(--text); }
.blog-page .nav { background: rgba(250,250,248,.85); backdrop-filter: blur(20px); }
.blog-page .nav .nav-logo-main { color: var(--text); }
.blog-page .nav .nav-logo-sub { color: var(--text-muted); }
.blog-page .nav .nav-links a { color: var(--text-muted); }
.blog-page .nav .nav-cta { border-color: rgba(28,28,26,.2); color: var(--text); }
.blog-page .nav .burger span { background: var(--text); }
.blog-page .nav.scrolled { background: rgba(250,250,248,.96); border-bottom: 1px solid rgba(28,28,26,.08); }
.blog-page footer { background: var(--cream-warm); border-top: 1px solid var(--border); }
.blog-page footer .fl { color: var(--text); }
.blog-page footer .fc { color: var(--text-muted); }
.blog-page footer .fll a { color: var(--text-muted); }
.blog-page footer .fll a:hover { color: var(--gold); }

/* --- Progress bar --- */
.article-progress {
  position: sticky; top: 0; z-index: 50;
  height: 2px; background: var(--border);
}
.article-progress-bar {
  height: 100%; width: 0%;
  background: var(--gold);
  transition: width 0.15s linear;
}

/* --- Hero --- */
.article-hero {
  max-width: 1280px; margin: 0 auto;
  padding: 120px 48px 0;
}
.article-hero .breadcrumb {
  padding: 24px 0;
  font-size: 12px; letter-spacing: 0.5px;
  color: var(--text-light);
}
.article-hero .breadcrumb a {
  color: var(--text-light); text-decoration: none;
}
.article-hero .breadcrumb a:hover { color: var(--gold); }
.article-hero .breadcrumb .sep {
  margin: 0 8px; opacity: 0.4;
}
.article-hero-tag {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.article-hero-tag::before {
  content: ''; width: 32px; height: 1px; background: var(--gold);
}
.article-hero h1 {
  font-family: 'Cormorant', serif;
  font-size: clamp(32px, 4vw, 48px); font-weight: 300;
  line-height: 1.15; max-width: 800px;
  margin-bottom: 20px; color: var(--dark);
}
.article-hero-meta {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: 1px;
  color: var(--text-light); text-transform: uppercase;
  margin-bottom: 32px;
}
.article-hero-image {
  width: 100%; aspect-ratio: 16/7;
  object-fit: cover; border-radius: 12px;
}

/* --- Content wrapper (article + sidebar) --- */
.article-wrapper {
  max-width: 1280px; margin: 0 auto;
  padding: 48px 48px 0;
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 64px;
}

/* --- Article body --- */
.article-body {
  max-width: 720px;
  background: transparent;
  color: var(--dark-soft);
}
.article-body h2 {
  font-family: 'Cormorant', serif;
  font-size: 28px; font-weight: 400;
  margin: 48px 0 16px; color: var(--dark);
}
.article-body h3 {
  font-family: 'Cormorant', serif;
  font-size: 22px; font-weight: 400;
  margin: 32px 0 12px; color: var(--dark);
}
.article-body p {
  margin-bottom: 20px; font-size: 15px;
  line-height: 1.8;
}
.article-body .lead {
  font-size: 17px; color: var(--text);
  line-height: 1.85; margin-bottom: 32px;
}
.article-body ul, .article-body ol {
  margin: 0 0 20px 24px;
  font-size: 15px; line-height: 1.8;
}
.article-body li {
  margin-bottom: 6px;
}
.article-body img {
  width: 100%; height: auto; margin: 32px 0;
}
.article-body a {
  color: #B08C6A; text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body blockquote {
  border-left: 2px solid var(--gold);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
}
.article-body blockquote p {
  font-family: 'Cormorant', serif;
  font-size: 20px; font-style: italic;
  line-height: 1.6; color: var(--dark);
  margin-bottom: 0;
}

/* --- Pull quote --- */
.pull-quote {
  border-left: 2px solid var(--gold);
  padding: 24px 0 24px 32px;
  margin: 40px 0;
}
.pull-quote p {
  font-family: 'Cormorant', serif;
  font-size: 22px; font-style: italic;
  line-height: 1.6; color: var(--dark); margin: 0;
}
.pull-quote cite {
  display: block; margin-top: 12px;
  font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold);
  font-style: normal;
}

/* --- Illustration / figure --- */
.article-illustration,
.article-body figure {
  margin: 40px 0;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
}
.article-illustration img {
  width: 100%;
  height: auto;
  display: block;
}
.article-illustration figcaption {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  font-style: italic;
  font-family: 'Cormorant', serif;
}

/* --- Psy table --- */
.psy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
}
.psy-table th {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sage);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border);
}
.psy-table td {
  font-size: 15px;
  color: var(--dark-soft);
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.psy-table tr:hover td { background: rgba(139,158,122,0.06); }

/* --- Inline CTA (внутри статьи) --- */
.inline-cta {
  background: var(--cream-warm);
  padding: 32px; margin: 40px 0;
  display: flex; gap: 24px; align-items: center;
  border-radius: 12px;
}
.inline-cta-icon {
  width: 48px; height: 48px;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; border-radius: 10px;
}
.inline-cta-text { flex: 1; }
.inline-cta-text strong {
  display: block; font-family: 'Cormorant', serif;
  font-size: 18px; font-weight: 400; margin-bottom: 4px;
}
.inline-cta-text span {
  font-size: 13px; color: var(--text-light);
}
.inline-cta-btn,
.article-body .inline-cta-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #B08C6A;
  color: #FAFAF8;
  font-family: 'Tenor Sans', sans-serif;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 6px;
  transition: background 0.3s;
}
.inline-cta-btn:hover,
.article-body .inline-cta-btn:hover {
  background: #9A7A5E;
  color: #FAFAF8;
}

/* --- Sidebar --- */
.article-sidebar {
  position: sticky; top: 24px;
  align-self: start;
}
.toc { margin-bottom: 40px; }
.toc-title {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-light); margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li { margin-bottom: 10px; }
.toc-list a {
  font-size: 13px; color: var(--text-light);
  text-decoration: none; line-height: 1.5;
  display: block; padding-left: 12px;
  border-left: 2px solid transparent;
  transition: all 0.2s;
}
.toc-list a.active {
  color: var(--gold); border-left-color: var(--gold);
}
.sidebar-author {
  padding: 24px; background: var(--cream-warm);
  text-align: center; border-radius: 12px;
}
.sidebar-author-photo {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--cream); margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant', serif; font-size: 22px; color: var(--gold);
  overflow: hidden;
}
.sidebar-author-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.sidebar-author-name {
  font-family: 'Cormorant', serif; font-size: 17px;
  margin-bottom: 4px;
}
.sidebar-author-role {
  font-size: 11px; color: var(--text-light); letter-spacing: 0.5px;
}

/* --- Article tags --- */
.article-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin: 48px 0; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.article-tags span, .article-tags a {
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 14px; border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-light); text-decoration: none;
  transition: all 0.2s;
}
.article-tags a:hover {
  border-color: var(--gold); color: var(--gold);
}

/* --- Author card (после статьи) --- */
.author-card {
  display: flex; gap: 24px;
  padding: 40px; background: var(--cream-warm);
  margin: 0 0 48px; border-radius: 12px;
}
.author-card-photo {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--cream); flex-shrink: 0;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant', serif; font-size: 28px; color: var(--gold);
}
.author-card-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.author-card-info h3 {
  font-family: 'Cormorant', serif;
  font-size: 20px; font-weight: 400; margin-bottom: 4px;
}
.author-card-info .role {
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.author-card-info p {
  font-size: 13px; color: var(--text-light); line-height: 1.7;
}

/* --- CTA section (конец статьи) --- */
.article-cta {
  max-width: 1280px; margin: 0 auto;
  padding: 0 48px 64px;
}
.article-cta-block {
  background: var(--dark); padding: 64px;
  display: flex; gap: 48px; align-items: center;
  border-radius: 16px;
}
.article-cta-text { flex: 1; }
.article-cta-text h2 {
  font-family: 'Cormorant', serif;
  font-size: clamp(24px, 3vw, 32px); font-weight: 300;
  color: var(--cream); margin-bottom: 12px;
}
.article-cta-text h2 em {
  color: var(--gold); font-style: italic;
}
.article-cta-text p {
  font-size: 14px; color: rgba(250,250,248,0.6);
  line-height: 1.7; margin-bottom: 24px;
}
.article-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.article-cta-primary {
  font-family: 'Tenor Sans', sans-serif;
  padding: 14px 36px; background: #B08C6A; color: #FAFAF8;
  font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
  text-decoration: none; transition: background 0.3s;
  border-radius: 6px;
}
.article-cta-primary:hover { background: #9A7A5E; }
.article-cta-secondary {
  font-family: 'Tenor Sans', sans-serif;
  padding: 14px 36px; border: 1px solid rgba(250,250,248,0.2);
  color: #FAFAF8; font-size: 10px; letter-spacing: 2.5px;
  text-transform: uppercase; text-decoration: none;
  transition: all 0.3s; border-radius: 6px;
}
.article-cta-secondary:hover { border-color: rgba(250,250,248,0.5); }

/* --- Related articles --- */
.related-articles {
  max-width: 1280px; margin: 0 auto;
  padding: 0 48px 80px;
}
.related-articles-title {
  font-family: 'Cormorant', serif;
  font-size: 28px; font-weight: 300;
  margin-bottom: 32px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-card {
  text-decoration: none; color: inherit; display: block;
  background: var(--cream);
  border: 1px solid rgba(28,28,26,0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(139,158,122,0.12);
}
.related-card:hover .related-card-title { color: var(--gold); }
.related-card-img {
  aspect-ratio: 16/9; object-fit: cover;
  width: 100%; display: block;
}
.related-card-tag {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
  padding: 16px 20px 0;
}
.related-card-title {
  font-family: 'Cormorant', serif;
  font-size: 20px; font-weight: 400; line-height: 1.3;
  margin-bottom: 8px; transition: color 0.2s;
  padding: 0 20px;
}
.related-card-meta {
  font-size: 11px; color: var(--text-light);
  padding: 0 20px 20px;
}

/* --- RESPONSIVE --- */
@media (max-width: 1020px) {
  .article-wrapper { grid-template-columns: 1fr; gap: 0; }
  .article-sidebar { display: none; }
  .article-hero { padding: 100px 32px 0; }
  .article-wrapper { padding: 32px 32px 0; }
  .article-cta { padding: 0 32px 48px; }
  .related-articles { padding: 0 32px 64px; }
}
@media (max-width: 768px) {
  .article-hero { padding: 90px 20px 0; }
  .article-wrapper { padding: 24px 20px 0; }
  .article-hero h1 { font-size: 32px; }
  .article-body h2 { font-size: 24px; margin-top: 36px; }
  .pull-quote { padding-left: 20px; margin: 32px 0; }
  .pull-quote p { font-size: 19px; }
  .inline-cta { flex-direction: column; text-align: center; }
  .inline-cta-btn { width: 100%; text-align: center; display: block; }
  .author-card { flex-direction: column; text-align: center; padding: 32px 24px; }
  .author-card-photo { margin: 0 auto; }
  .article-cta-block { flex-direction: column; padding: 40px 24px; text-align: center; }
  .article-cta-btns { flex-direction: column; width: 100%; }
  .article-cta-primary, .article-cta-secondary { width: 100%; text-align: center; }
  .related-grid { grid-template-columns: 1fr; gap: 32px; }
  .related-articles { padding: 0 20px 48px; }
  .article-cta { padding: 0 20px 40px; }
  .psy-table { font-size: 14px; }
  .psy-table th, .psy-table td { padding: 10px 12px; }
}
@media (max-width: 480px) {
  .article-hero { padding: 80px 16px 0; }
  .article-wrapper { padding: 20px 16px 0; }
  .article-hero h1 { font-size: 28px; }
  .article-hero-meta { gap: 12px; font-size: 10px; }
  .article-body p { font-size: 14px; }
  .pull-quote p { font-size: 17px; }
  .article-cta-block { padding: 32px 16px; }
  .psy-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .psy-table th:last-child, .psy-table td:last-child { display: none; }
}
