:root {
      --color-primary: oklch(0.53 0.21 267.4); /* #575fcf - Brand Blue */
      --color-primary-hover: oklch(0.45 0.21 267.4);
      --color-primary-light: oklch(0.96 0.015 267.4);
      
      --color-text-dark: oklch(0.24 0.01 240); /* Soft black */
      --color-text-main: oklch(0.32 0.01 240); /* Soft main text */
      --color-text-muted: oklch(0.52 0.01 240); /* Muted text */
      
      --color-bg-main: oklch(0.99 0.003 240); /* Tinted white */
      --color-bg-card: oklch(0.985 0.005 240); /* Soft grey-blue background */
      --color-bg-highlight: oklch(0.955 0.01 240);
      
      --color-border: oklch(0.92 0.008 240);
      --color-border-light: oklch(0.95 0.005 240);
      
      --radius-sm: 6px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --radius-full: 9999px;
      
      --transition-base: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      --max-width-content: 740px;
      --font-main: 'Roboto', 'Open Sans', system-ui, -apple-system, sans-serif;
}
/* Meta bar */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.meta-item svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

.meta-item.author-meta {
  gap: 6px;
}

.meta-author-img {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.meta-item.author-meta a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
}

.meta-item.author-meta a:hover {
  color: var(--color-primary);
}

/* Lead Image */
.lead-image-container {
  margin: 24px 0 32px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  background-color: var(--color-bg-card);
  aspect-ratio: 16/10;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lead-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-base);
}

.lead-image-container:hover .lead-image {
  transform: scale(1.02);
}

/* Lead Text / Description */
.article-lead-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--color-text-dark);
  font-weight: 500;
  margin-bottom: 28px;
  padding-left: 16px;
  border-left: 3px solid var(--color-primary);
}

/* Table of Contents */
.toc-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 36px;
}

.toc-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-title svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-primary);
  fill: none;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toc-list li.toc-item {
	margin: 0;
	padding: 0;
}

.toc-list li.toc-item:before {
	display: none;
}

.toc-item a {
  color: var(--color-text-main);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-base);
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
}

.toc-item a:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

.toc-item a::before {
  content: "→";
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition-base);
}

/* Article Body Content */
.article-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-main);
}

.article-body p {
  margin-bottom: 20px;
}

.article-body h2 {
  font-family: 'Roboto', 'Open Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-top: 40px;
  margin-bottom: 16px;
  line-height: 1.35;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.article-body h2::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-primary);
}

/* Lists styling */
.article-body ul {
  list-style: none;
  margin-bottom: 24px;
  padding-left: 4px;
}

.article-body ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 1.02rem;
}

.article-body ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

/* Internal Images inside text */
.article-body img {
  display: block;
  max-width: 540px; /* smaller modern size */
  width: 100%;
  height: auto;
  margin: 36px auto;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  transition: var(--transition-base);
}

.article-body img:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* Link styling */
.article-body a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-base);
}

.article-body a:hover {
  color: var(--color-primary-hover);
  border-bottom-color: var(--color-primary-hover);
  background-color: var(--color-primary-light);
}

/* Share Block */
.share-block {
  margin-top: 48px;
  padding: 24px;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.share-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--color-bg-main);
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
}

.share-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.share-btn:hover {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(87, 95, 207, 0.2);
}

.share-btn.vk:hover {
  background-color: oklch(0.56 0.16 254.4); /* VK Color */
  border-color: oklch(0.56 0.16 254.4);
  box-shadow: 0 4px 12px rgba(74, 118, 168, 0.2);
}
.share-btn.tg:hover {
  background-color: oklch(0.58 0.16 230.4); /* Telegram Color */
  border-color: oklch(0.58 0.16 230.4);
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.2);
}
.share-btn.wa:hover {
  background-color: oklch(0.62 0.17 142.4); /* WhatsApp Color */
  border-color: oklch(0.62 0.17 142.4);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

/* Copy Link Button Toast Alert */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--color-text-dark);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Expert Block */
.expert-card {
  margin-top: 36px;
  padding: 24px;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 20px;
}

.expert-avatar-container {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.expert-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-info {
  flex-grow: 1;
}

.expert-status {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.expert-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

.expert-name a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-base);
}

.expert-name a:hover {
  color: var(--color-primary);
}

.expert-bio {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

@media (max-width: 580px) {
  .expert-card {
	flex-direction: column;
	text-align: center;
	padding: 28px 20px;
  }
  .expert-avatar-container {
	width: 90px;
	height: 90px;
  }
}

/* CTA Promo Block */
.promo-banner {
  margin-top: 36px;
  padding: 32px;
  background-color: var(--color-primary-light);
  border: 1px solid oklch(0.90 0.02 267.4);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 10px 30px rgba(87, 95, 207, 0.02);
}

.promo-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.promo-desc {
  font-size: 0.95rem;
  color: var(--color-text-main);
  margin-bottom: 20px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background-color: var(--color-primary);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  box-shadow: 0 4px 14px rgba(87, 95, 207, 0.2);
}

.promo-btn:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(87, 95, 207, 0.3);
}