
html {
  scroll-behavior: smooth;
}


body.article-page {
  overflow: visible !important;

}

.article-body h2[id] {
  scroll-margin-top: 120px;
}

.article-body h2,
.article-content h2,
.guide-content h2 {
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.3;
  font-weight: 700;
  margin: 32px 0 14px;
  color: var(--ink, #08122e);
  letter-spacing: -0.015em;
}

.article-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 0 86px;
  font-family: var(--font-sans, system-ui, -apple-system, sans-serif);
}


.article-layout > .article-body,
.article-layout > .article-sidebar {
  min-width: 0;
}

.article-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 150px;
  align-self: start;
  height: fit-content;
  z-index: 20;
}

.sticky-cta-card {
  background: #f5f4fc;
  border: 1px solid var(--line, #dedbea);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(8, 36, 58, 0.04);
}

.card-divider {
  border: none;
  border-top: 1px solid var(--line, #e6e8ee);
  margin: 24px 0;
}

.toc-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink, #05050a);
  margin: 0 0 16px 0;
}

.toc-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start; 
  text-align: start;
}

.toc-links a {
  text-decoration: none;
  color: #425466;
  font-size: 0.925rem;
  line-height: 1.4;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
  padding-left: 12px;
  border-left: 3px solid transparent;
  display: block;
}

.toc-links a:hover {
  color: var(--primary, #0075d5);
}

.toc-links a.active {
  color: var(--primary, #0075d5);
  font-weight: 600;
  border-left-color: var(--primary, #0075d5);
}

.cta-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink, #05050a);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.cta-desc {
  font-size: 0.9rem;
  color: #425466;
  line-height: 1.5;
  margin: 0 0 20px 0;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-block {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.share-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.share-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink, #05050a);
}
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%; 
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.share-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.article-recommended {
  width: min(1100px, calc(100vw - 64px));
  max-width: none;
  margin: 56px auto 0;
  padding-bottom: 60px;
}
.share-btn.share-linkedin {
  background: #0a66c2;
}

.share-btn.share-facebook {
  background: #1877f2;
}

.share-btn.share-x {
  background: #000000;
}

.share-btn.share-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aebe6 90%);
}

.share-btn.share-youtube {
  background: #ff0000;
}

.share-btn.share-copy {
  border: none;
  cursor: pointer;
  background: #0075d5; 
  position: relative;
  outline: none;
  padding: 0;
}

.copy-tooltip {
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: #05050a;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.copy-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px;
  border-style: solid;
  border-color: #05050a transparent transparent transparent;
}

.share-btn.share-copy.copied .copy-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .article-sidebar {
    position: static;
    order: 2;
  }
  .article-recommended{
  padding-bottom: 0px;
}
}