* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid #eee;
  z-index: 999;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  width: 38px;
  height: 38px;
}

.logo span {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, #1e3a8a, #06b6d4, #84cc16);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* NAV */
.nav {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  position: relative;
}

/* HOVER */
.nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #06b6d4, #84cc16);
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

.nav a:hover::after {
  width: 100%;
}

.nav a:hover {
  color: #06b6d4;
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  min-width: 200px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
}

.dropdown-menu a {
  display: block;
  padding: 12px;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* CTA */
.cta a {
  background: linear-gradient(135deg, #1e3a8a, #06b6d4, #84cc16);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
}

/* BURGER */
.burger {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -300%;
  left: auto;
  width: 280px;
  height: 100%;
  background: #fff;
  padding: 20px;
  transition: 0.3s;
  z-index: 1000;

  display: flex;
  flex-direction: column;
  gap: 18px;

  box-shadow: -10px 0 30px rgba(0,0,0,0.15); /* efek premium */
}

.mobile-menu.active {
  right: 0;
}

.mobile-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-weight: bold;

  background: linear-gradient(135deg, #1e3a8a, #06b6d4, #84cc16);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mobile-menu a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
}

/* MOBILE DROPDOWN */
.mobile-dropdown-toggle {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.mobile-submenu {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding-left: 10px;
  border-left: 2px solid #eee;
}

.mobile-dropdown.active .mobile-submenu {
  display: flex;
}

/* MOBILE CTA */
.mobile-cta {
  background: linear-gradient(135deg, #1e3a8a, #06b6d4, #84cc16);
  color: #fff;
  padding: 12px;
  text-align: center;
  border-radius: 6px;
}

/* OVERLAY */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* RESPONSIVE */
@media(max-width:768px){
  .nav, .cta {
    display: none;
  }

  .burger {
    display: block;
  }
}

/* ARTICLE */
.article {
  padding: 80px 20px;
}

/* ARTICLE PREMIUM */
.article-container {
  max-width: 820px;
  margin: auto;
}

/* TITLE */
.article h1 {
  font-size: 40px;
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 20px;
}

/* META */
.article-meta {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: #777;
  margin-bottom: 25px;
}

/* IMAGE */
.article-image {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 30px;
}

/* CONTENT IMPROVE */
.article-content {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
}

/* PARAGRAPH */
.article-content p {
  margin-bottom: 18px;
}

/* HEADING */
.article-content h2 {
  margin-top: 40px;
  margin-bottom: 12px;
  font-size: 26px;
  font-weight: 700;
}

.article-content h3 {
  margin-top: 25px;
  font-size: 20px;
  font-weight: 600;
}

/* LIST */
.article-content ul,
.article-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

/* BLOCKQUOTE (optional premium) */
.article-content blockquote {
  border-left: 4px solid #06b6d4;
  padding-left: 15px;
  margin: 20px 0;
  color: #555;
  font-style: italic;
}

/* ARTICLE LINK STYLE */
.article-content a {
  color: #222; /* tidak biru */
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

/* HOVER EFFECT */
.article-content a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #06b6d4, #84cc16);
  left: 0;
  bottom: -2px;
  transition: 0.3s;
}

.article-content a:hover::after {
  width: 100%;
}

.article-content a:hover {
  color: #06b6d4;
}

/* PARAGRAPH JUSTIFY */
.article-content p {
  text-align: justify;
}

/* LIST JUGA BIAR RAPI */
.article-content li {
  text-align: justify;
}

/* SPACING & READABILITY */
.article-content {
  text-align: justify;
  line-height: 1.9;
  letter-spacing: 0.3px;
}

/* CTA */
.article-cta {
  margin-top: 40px;
  padding: 35px 25px; /* tambah ruang */
  border-radius: 12px;
  text-align: center;
  background: linear-gradient(135deg, #1e3a8a, #06b6d4, #84cc16);
  color: #fff;
}

/* CTA TEXT SPACING */
.article-cta h3 {
  line-height: 1.5;
  margin-bottom: 10px;
}

.article-cta p {
  line-height: 1.7;
  margin-bottom: 20px;
}

.article-cta a {
  display: inline-block;
  margin-top: 15px;
  background: #fff;
  color: #1e3a8a;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
}

/* FOOTER */
.footer {
  background: #0f172a;
  color: #fff;
  padding: 80px 20px 30px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* LOGO */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo img {
  width: 40px;
}

.footer-logo h3 {
  font-size: 20px;

  background: linear-gradient(135deg, #06b6d4, #84cc16);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* TEXT */
.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  color: #cbd5f5;
}

/* TITLE */
.footer-col h4 {
  margin-bottom: 15px;
  font-size: 16px;
}

/* LIST */
.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #cbd5f5;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #06b6d4;
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  margin-top: 50px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 13px;
  color: #94a3b8;
}

/* RESPONSIVE */
@media(max-width:992px){
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:600px){
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* TOC */
.toc {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  padding: 20px;
  border-radius: 12px;
  margin: 30px 0;
}

.toc-title {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 18px;
}

.toc ul {
  list-style: none;
  padding-left: 0;
}

.toc ul li {
  margin-bottom: 8px;
}

.toc a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: 0.3s;
}

.toc a:hover {
  color: #06b6d4;
}

/* ACTIVE SCROLL */
.toc a.active {
  color: #06b6d4;
  font-weight: 600;
}

/* =========================
   ARTICLE + SIDEBAR
========================= */

.article-layout{
    display:grid;
    grid-template-columns: 1fr 330px;
    gap:40px;
    align-items:start;
}


.article-main{
    min-width:0;
}


/* SIDEBAR */

.article-sidebar{
    position:sticky;
    top:100px;
}


.sidebar-widget{

    background:#ffffff;
    border-radius:22px;
    padding:22px;

    box-shadow:
    0 10px 35px rgba(0,0,0,.08);

    margin-bottom:25px;

}


.sidebar-widget h3{

    font-size:20px;
    margin-bottom:20px;

    color:#101828;

}



.sidebar-post{

    display:flex;
    gap:14px;

    margin-bottom:18px;

    text-decoration:none;

}



.sidebar-post img{

    width:90px;
    height:70px;

    object-fit:cover;

    border-radius:14px;

}



.sidebar-post span{

    font-size:14px;
    font-weight:600;

    line-height:1.4;

    color:#111827;

}



.sidebar-post:hover span{

    color:#00AEEF;

}




/* MOBILE */

@media(max-width:900px){


.article-layout{

grid-template-columns:1fr;

}


.article-sidebar{

position:relative;

top:0;

}


}