@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=Montserrat:wght@700&display=swap');

html {
  height: 100%;
  width: 100%;
  /* Hapus display: flex dan flex-direction: column dari html */
  overflow-x: hidden;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #000;
  color: #f3f3f3;
  overflow-x: hidden;
}
header, .header-pro {
  background: #000 !important;
  /* box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  border-bottom: 1.5px solid #18181b; */
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-logo {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 0.2rem;
  display: block;
}
.header-tagline {
  color: #b3b3b3;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.2rem;
}
main {
  flex: 1 0 auto;
  padding: 1.5rem 0.5rem 2.5rem 0.5rem;
  max-width: 700px;
  margin: 0 auto;
  background: #000;
  min-height: unset;
}
.berita-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.berita-item {
  background: #000;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
  padding: 0;
  overflow: hidden;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.berita-item:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.28);
}
.berita-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #000;
  display: block;
  border-radius: 18px;
  min-height: 160px;
  max-height: 220px;
}
.berita-content {
  padding: 1.2rem 0 1.1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-start;
  text-align: left;
}
.berita-title {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.1rem 0;
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.15s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  max-height: 2.6em;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}
.berita-title:hover {
  color: #b3b3b3;
}
.berita-meta {
  color: #b3b3b3;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  text-align: left;
}
.berita-ringkasan {
  font-size: 1.05rem;
  color: #e0e0e0;
  margin-bottom: 0.7rem;
}
.btn-detail {
  display: inline-block;
  background: #fff;
  color: #18181b;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 0.55rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.13);
}
.btn-detail:hover {
  background: #b3b3b3;
  color: #18181b;
}
footer {
  flex-shrink: 0;
  background: #18181b !important;
  color: #b3b3b3;
  text-align: center;
  font-size: 0.98rem;
  padding: 2.2rem 0.5rem 2.5rem 0.5rem;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  margin-top: 2rem;
  box-shadow: none;
  border: none;
  letter-spacing: 0.01em;
}
footer a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.15s;
}
footer a:hover {
  color: #39FF14;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  margin-bottom: 1.1rem;
  font-size: 0.97rem;
  color: #888;
}
.footer-nav a {
  color: #888;
  text-decoration: none;
  font-weight: 400;
  padding: 0 0.2em;
  border-radius: 3px;
  border-bottom: 1.5px solid transparent;
  transition: color 0.15s, border-bottom 0.15s;
}
.footer-nav a:hover {
  color: #39FF14;
  border-bottom: 1.5px solid #39FF14;
  text-decoration: none;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.1rem;
}
.footer-social a {
  color: #b3b3b3;
  font-size: 1.45rem;
  transition: color 0.15s;
}
.footer-social a:hover {
  color: #39FF14;
}
.footer-copyright {
  color: #b3b3b3;
  font-size: 0.98rem;
  margin-top: 0.7rem;
  letter-spacing: 0.01em;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.7rem 2.2rem 1.2rem 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  position: relative;
}
.nav-menu {
  display: flex;
  gap: 2.2rem;
  align-items: center;
  margin-left: auto;
  position: absolute;
  right: 2.2rem;
  top: 1.7rem;
}
.nav-menu a {
  color: #b3b3b3;
  text-decoration: none;
  font-size: 1.18rem;
  font-weight: 500;
  padding: 0.6rem 1.1rem;
  border-radius: 5px;
  position: relative;
  transition: color 0.18s;
  letter-spacing: 0.1px;
}
.nav-menu a:not(.btn-nav)::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: width 0.22s cubic-bezier(.4,0,.2,1);
  margin-top: 3px;
}
.nav-menu a:not(.btn-nav):hover {
  color: #39FF14;
}
.nav-menu a:not(.btn-nav):hover::after {
  width: 100%;
  background: #39FF14;
}
.btn-nav {
  background: #fff;
  color: #18181b !important;
  font-weight: 700;
  padding: 0.45rem 1.25rem;
  border-radius: 999px;
  margin-left: 0.7rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.13);
  font-size: 1.08rem;
  border: none;
  outline: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  display: inline-block;
}
.btn-nav:hover {
  background: #39FF14;
  color: #18181b !important;
  box-shadow: 0 4px 16px rgba(57,255,20,0.18);
}
.header-logo-pro {
  font-size: 2.1rem;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.1;
}
.logo-highlight {
  color: #b3b3b3;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.header-tagline-pro {
  color: #b3b3b3;
  font-size: 0.98rem;
  font-weight: 400;
  margin-top: 0.1rem;
  margin-bottom: 0.1rem;
}
.berita-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 1.5rem;
  margin-top: 1.2rem;
}
@media (min-width: 700px) {
  .berita-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .header-inner {
    padding: 1.1rem 1.2rem 0.7rem 1.2rem;
    gap: 0.3rem;
  }
  .header-logo-pro {
    font-size: 1.45rem;
  }
  .nav-menu {
    gap: 1.2rem;
    right: 1.2rem;
    top: 1.1rem;
  }
  .nav-menu a, .btn-nav {
    font-size: 1.08rem;
    padding: 0.45rem 1.25rem;
  }
  .berita-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .berita-card {
    border-radius: 14px;
  }
  .berita-content {
    padding: 1rem 0.8rem 0.9rem 0.8rem;
  }
  .desktop-navbar { display: none !important; }
  .mobile-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1rem;
    background: #000;
    border-bottom: 1.5px solid #18181b;
    position: relative;
    top: unset;
    left: unset;
    right: unset;
    z-index: unset;
    min-height: 56px;
    height: 56px;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
  }
  .mobile-navbar {
    position: relative;
    top: unset;
    left: unset;
    right: unset;
    z-index: unset;
  }
  body {
    padding-top: 0;
    overflow-x: hidden;
  }
  main {
    margin: 0 auto;
  }
  .mobile-hamburger {
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    margin-right: 0.7rem;
    padding: 0.2em 0.4em;
    display: flex;
    align-items: center;
  }
  .mobile-hamburger i {
    font-size: 1.3rem;
    /* font-weight: 400; */
    line-height: 1;
  }
  .mobile-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    text-align: center;
    flex: 1 1 auto;
  }
  .mobile-join-btn {
    background: none;
    color: #fff;
    border-radius: 8px;
    padding: 0.2em 0.2em;
    font-size: 1.3rem;
    margin-left: 0.7rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    box-shadow: none;
    transition: color 0.15s;
  }
  .mobile-join-btn:hover {
    color: #39FF14;
    background: none;
  }
  .mobile-sidebar {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 220px;
    background: #18181b;
    z-index: 2000;
    box-shadow: 2px 0 16px rgba(0,0,0,0.18);
    padding: 2rem 1.2rem 1.2rem 1.2rem;
    min-height: 100vh;
    animation: slideSidebar 0.2s;
  }
  .mobile-sidebar-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    margin-left: auto;
    margin-bottom: 2rem;
    cursor: pointer;
  }
  .mobile-sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .mobile-sidebar-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.18rem;
    font-weight: 500;
    padding: 0.6rem 1.1rem;
    border-radius: 5px;
    transition: background 0.18s;
  }
  .mobile-sidebar-menu a:hover {
    background: #232323;
  }
  .footer-nav a:hover {
    color: #39FF14;
    border-bottom: 1.5px solid #39FF14;
  }
  .footer-social a:hover {
    color: #39FF14;
  }
  .nav-menu a:not(.btn-nav):hover {
    color: #39FF14;
  }
  .btn-nav:hover {
    background: #39FF14;
    color: #18181b !important;
  }
}
@keyframes slideSidebar {
  from { transform: translateX(-60px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@media (max-width: 600px) {
  main {
    padding: 1rem 0.2rem 2rem 0.2rem;
    margin: 0 auto;
  }
  .berita-content {
    padding: 0.8rem 0.7rem 1rem 0.7rem;
  }
  .header-logo {
    font-size: 1.3rem;
  }
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    padding: 0.8rem 0.7rem 0.5rem 0.7rem;
  }
  .nav-menu {
    gap: 1rem;
    margin-top: 0.3rem;
    position: static;
    right: unset;
    top: unset;
    margin-left: 0;
    align-self: flex-start;
  }
  .nav-menu a, .btn-nav {
    font-size: 1.13rem;
    padding: 0.5rem 0.7rem;
  }
  .btn-nav {
    margin-left: 0.3rem;
  }
  .header-logo-pro {
    font-size: 1.05rem;
  }
  .header-tagline-pro {
    font-size: 0.85rem;
  }
  .berita-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding-right: 0.7rem;
    padding-left: 0.7rem;
  }
  .berita-card {
    border-radius: 14px;
    margin-left: 0;
    margin-right: 0;
  }
  .berita-content {
    padding: 1rem 0.8rem 0.9rem 0.8rem;
  }
  footer {
    background: #18181b !important;
    padding: 1.2rem 0.5rem 1.5rem 0.5rem;
    margin-top: 1.2rem;
    font-size: 0.93rem;
  }
  body {
    overflow-x: hidden;
  }
  .footer-nav a:hover {
    color: #39FF14;
    border-bottom: 1.5px solid #39FF14;
  }
  .footer-social a:hover {
    color: #39FF14;
  }
}
@media (min-width: 901px) {
  .mobile-navbar, .mobile-sidebar {
    display: none !important;
  }
} 
.berita-date {
  font-size: 0.74rem;
} 
.share-btn:hover {
  background: none !important;
  color: #fff;
} 
.detail-isi a {
  color: #39FF14;
  text-decoration: underline;
  transition: none;
}
.detail-isi a:hover {
  color: #39FF14;
  background: none;
  text-decoration: underline;
  border-radius: 0;
  padding: 0;
} 