html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
}

body,
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  width: 100%;
}

.article-hero-wrapper {
  width: 100%;
}

.hero-section-full {
  position: relative;
  width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -100px;
  padding-top: 100px;
}

.hero-section-full::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(30, 27, 75, 0.5) 0%,
    rgba(72, 71, 81, 0.85) 100%
  );
  z-index: 1;
}

.hero-inner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  color: #ffffff;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 80px;
  box-sizing: border-box;
}

.ksps-breadcrumb {
  font-size: 12px;
  font-weight: 500;
  color: #e0e7ff;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ksps-breadcrumb a {
  color: #e0e7ff;
  text-decoration: none;
}

.hero-title-large {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #d1d5db;
  margin-bottom: 32px;
  max-width: 800px;
}

.author-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-icon {
  width: 40px;
  height: 40px;
  background: #211591;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 10px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.author-text {
  font-size: 12px;
}

.author-name {
  font-weight: 600;
  color: #fff;
}

.article-layout-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 24px;
  display: flex;
  gap: 60px;
  position: relative;
}

.sidebar-wrapper {
  width: 300px;
  flex-shrink: 0;
}

.toc-sticky-box {
  position: sticky;
  top: 100px;
  background: transparent;
  border: none;
  padding: 0;
}

.toc-title {
  font-family: "Inter";
  font-size: 22px;
  font-weight: 600;
  color: #111;
  margin-bottom: 15px;
  padding-bottom: 0;
  border-bottom: none;
}

.toc-list {
  list-style: none;
  margin: 0;
  background: #f1eaea;
  padding: 30px 24px;
  border-radius: 4px;
}

.toc-list li {
  margin-bottom: 16px;
  position: relative;
  padding-left: 28px;
  line-height: 1.5;
}

.toc-list li:last-child {
  margin-bottom: 0;
}

.toc-list li::before {
  content: "●";
  color: #211591;
  font-size: 18px;
  position: absolute;
  left: 0;
  top: -3px;
}

.toc-list a {
  text-decoration: none;
  color: #1f2937;
  font-size: 15px;
  transition: color 0.2s;
  display: block;
}

.toc-list a:hover {
  color: #211591;
  font-weight: 600;
}

.toc-list li.toc-h3 {
  padding-left: 45px;
}

.toc-list li.toc-h3::before {
  left: 20px;
  font-size: 14px;
  color: #4b5563;
}

.main-content-area {
  flex: 1;
  min-width: 0;
}

.key-takeaways-box {
  overflow: hidden;
  margin-bottom: 40px;
}

.key-header {
  background-color: #211591;
  color: #ffffff;
  padding: 16px 24px;
  font-size: 18px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
}

.key-list {
  display: flex;
  flex-direction: column;
}

.key-item {
  padding: 16px 24px;
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
  font-family: "Inter", sans-serif;
}

.key-item:nth-child(odd) {
  background-color: #f3f4f6;
}

.key-item:nth-child(even) {
  background-color: #ebe8e8;
}

.key-item:last-child {
  border-bottom: none;
}

.article-text {
  font-family: "Inter", sans-serif;
  color: #374151;
  font-size: 15px;
  line-height: 1.5;
  text-align: justify;
}

.article-text h2 {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  margin-top: 24px;
  margin-bottom: 16px;
  scroll-margin-top: 100px;
}

.article-text h3 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-top: 20px;
  margin-bottom: 12px;
  scroll-margin-top: 100px;
}

.article-text p {
  margin-bottom: 10px;
}

.article-text ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 16px;
}

.article-cta-box {
  background-color: #1e1b4b;
  background-image:
    linear-gradient(rgba(30, 27, 75, 0.6), rgba(49, 46, 129, 0.6)),
    url("<?php echo get_stylesheet_directory_uri(); ?>/assets/images/bg-cta-article.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(33, 21, 145, 0.15);
}

.article-cta-box::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  filter: blur(20px);
}

.article-cta-box h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
  line-height: 1.4;
}

.article-cta-box .highlight {
  color: #f59e0b;
}

.article-cta-box p {
  font-size: 16px;
  color: #e0e7ff;
  margin-bottom: 30px;
  font-weight: 400;
}

.cta-button-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.whatsapp-btn {
  background-color: #4ad439;
  color: #fff;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 10px;
  border-color: #111;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 2px 3px 0 rgb(0, 0, 0);
  font-size: 16px;
}

.cta-decor-line {
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.8;
}

.meta-group {
  margin-bottom: 30px;
}

.meta-label {
  font-size: 14px;
  font-weight: 400;
  color: #000;
  margin-bottom: 8px;
  display: block;
}

.related-links {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid transparent;
  font-size: 15px;
  color: #312e81;
  font-weight: 400;
  width: fit-content;
  gap: 8px;
}

.share-icons {
  display: flex;
  gap: 12px;
}

.share-btn {
  width: 40px;
  height: 40px;
  background-color: #d7d3fc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #312e81;
  transition: all 0.2s;
  text-decoration: none;
}

.share-btn:hover {
  background-color: #312e81;
  color: #ffffff;
  transform: translateY(-2px);
}

.share-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.latest-section-wrapper {
  max-width: 1200px;
  margin: 80px auto 60px;
  padding: 0 24px;
}

.latest-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 10px;
}

.latest-title {
  font-size: 28px;
  font-weight: 700;
  color: #312e81;
  margin: 0;
}

.latest-title .highlight {
  color: #f59e0b;
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.latest-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  border: 1px solid #f0f0f0;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.latest-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.latest-img-box {
  height: 180px;
  overflow: hidden;
}

.latest-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.latest-content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.latest-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-meta {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
}

.latest-meta strong {
  color: #312e81;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .hero-inner-content {
    padding: 40px 20px;
    max-width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 450px;
  }

  .hero-section-full {
    height: auto;
    min-height: 500px;
    padding-top: 100px;
    align-items: flex-end;
  }

  .hero-title-large {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 12px;
    text-align: left;
  }

  .hero-desc {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
    max-width: 100%;
    text-align: left;
  }

  .hero-desc {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
    max-width: 100%;
    text-align: left;
  }

  .ksps-breadcrumb {
    justify-content: flex-start;
    margin-bottom: 15px;
  }

  .author-block {
    justify-content: flex-start;
    gap: 12px;
  }

  .article-layout-container {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
  }

  .sidebar-wrapper {
    width: 100%;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
  }

  .toc-sticky-box {
    position: static;
    background: transparent;
    padding: 0;
  }

  .hero-section-full {
    height: auto;
    min-height: 400px;
    padding-bottom: 40px;
  }

  .article-text {
    text-align: left;
  }

  .article-cta-box {
    padding: 30px 20px;
  }

  .article-cta-box h3 {
    font-size: 20px;
  }

  .cta-decor-line {
    display: none;
  }

  .latest-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-footer-meta {
    padding-top: 20px;
    margin-top: 30px;
  }

  .meta-label {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .related-links {
    gap: 12px;
    width: 100%;
  }

  .related-links a {
    font-size: 14px;
    line-height: 1.4;
    color: #312e81;
    text-decoration: underline;
    text-underline-offset: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .latest-grid {
    grid-template-columns: 1fr;
  }
}
