:root{
  --bg:#0f1724; /* dark blue */
  --card:#ffffff;
  --muted:#667085;
  --accent:#0ea5a4; /* teal */
  --max-width:1100px;
  --radius:12px;
  --glass: rgba(255,255,255,0.06);
  --shadow: 0 6px 20px rgba(2,6,23,0.4);
  color-scheme: light dark;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background: linear-gradient(180deg,#f7f9fc 0%, #eef2f6 100%);
  color:#0b1220;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  padding:24px;
  display:flex;justify-content:center;
}
.container{
  width:100%;max-width:var(--max-width);
}

/* Navbar modern */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 20px;
  flex-wrap: wrap;
}
.brand{display:flex;gap:12px;align-items:center}
.logo{
  width:54px;height:54px;border-radius:10px;
  background:linear-gradient(135deg,var(--accent),#2563eb);
  display:flex;align-items:center;justify-content:center;
  color:white;font-weight:700;font-size:20px;
  box-shadow:var(--shadow)
}
.brand h1{font-size:18px;margin:0}
.brand p{margin:0;font-size:12px;color:var(--muted)}

.menu {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.menu a {
  text-decoration: none;
  font-weight: 500;
  color: #0b1220;
  transition: color 0.2s ease;
}
.menu a:hover {
  color: var(--accent);
}

.search{display:flex;gap:8px;align-items:center}
.search input{padding:10px 12px;border-radius:10px;border:1px solid #e6eef6;min-width:220px}
.btn{background:var(--accent);color:white;padding:10px 12px;border-radius:10px;border:0;cursor:pointer}

/* Hero Slider */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 300px;
  margin-bottom: 20px;
  border-radius: var(--radius);
}
.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 100%;
  opacity: 0;
  transition: all 0.8s ease;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  color: #fff;
  padding: 20px;
  box-sizing: border-box;
}
.hero-slide.active {
  left: 0;
  opacity: 1;
}
.hero-caption {
  background: rgba(0,0,0,0.5);
  padding: 10px 15px;
  border-radius: 5px;
  max-width: 70%;
}

/* Articles Grid */
.grid-articles{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.article{background:white;border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:10px;min-height:260px;text-decoration:none;color:black}
.article img{width:100%;height:150px;object-fit:cover;border-radius:8px}
.kicker{font-size:12px;color:var(--muted)}
.title{font-weight:700;margin:0}
.excerpt{color:var(--muted);font-size:14px}
.meta{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted)}

footer{margin-top:24px;text-align:center;color:var(--muted);font-size:13px}

/* Responsive */
@media (max-width:1000px){
  .grid-articles{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:600px){
  body{padding:12px}
  .search input{min-width:120px}
  .grid-articles{grid-template-columns:1fr}
  .navbar{flex-direction:column;align-items:flex-start;gap:12px}
  .hero-caption{max-width:100%}
}
  /* Grid Kategori */
    main {
      background: var(--card);
      box-shadow: var(--shadow);
      border-radius: var(--radius);
      padding: 20px;
    }
    .grid-kategori {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 16px;
    }
    .kategori-card {
      background: white;
      border-radius: var(--radius);
      padding: 16px;
      box-shadow: var(--shadow);
      text-align: center;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      cursor: pointer;
      text-decoration: none;
    }
    .kategori-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            text-decoration: none;
    }
    .kategori-card h3 {
      margin: 0;
      font-size: 1.1rem;
      color: var(--accent);
    }

    img.feature {
      width: 100%;
      height: auto;
      margin: 20px 0;
      border-radius: 8px;
    }
