/**
 * Stylesheet: publikasi/style.css
 * Purpose: Page layout, typography, responsive behavior, and visual states.
 * Keep selectors aligned with rendered HTML classes and attributes.
 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: 'Inter', sans-serif;
      background-color: #030f12;
      color: #ffffff;
      line-height: 1.6;
      
    }
    a { color: inherit; text-decoration: none; }

/* COMPONENT: Header navigation layout */
.nav-container {
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 !important;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      box-sizing: border-box !important;
    }
    .logo-link { display: flex; align-items: center; gap: 12px; }
    .logo-emblem { height: 42px; width: auto; }
    .logo-text { height: 26px; width: auto; }
    .nav-menu { display: flex; align-items: center; gap: 32px; list-style: none; }
    .nav-link {
      font-family: 'Inter', sans-serif !important;
      font-size: 15px !important;
      font-weight: 300 !important;
      letter-spacing: 0.02em !important;
      color: #c4c4c4 !important;
      transition: color 0.25s ease !important;
      text-decoration: none !important;
    }
    .nav-link:hover { color: #ffffff !important; }
    .nav-link.active { color: #ffffff !important; font-weight: 500 !important; }
    .btn-contact {
      background-color: #a28738 !important;
      color: #ffffff !important;
      height: 48px !important;
      min-height: 48px !important;
      padding: 0 24px !important;
      border-radius: 8px !important;
      font-family: 'Inter', sans-serif !important;
      font-size: 16px !important;
      font-weight: 500 !important;
      letter-spacing: 0.02em !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      text-decoration: none !important;
      transition: background-color 0.25s ease, transform 0.2s ease !important;
      box-sizing: border-box !important;
      white-space: nowrap !important;
    }
    .btn-contact:hover { background-color: #b59842; }
    .hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; background: none; border: none; padding: 4px; }
    .hamburger span { display: block; width: 24px; height: 2px; background-color: #ffffff; }

    .container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 40px clamp(16px, 4vw, 48px); }
    .hero { text-align: center; padding: 60px 20px 30px; max-width: 900px; margin: 0 auto; }
    .badge {
      display: inline-flex;
      padding: 6px 16px;
      border-radius: 100px;
      background: rgba(162, 135, 56, 0.15);
      border: 1px solid rgba(162, 135, 56, 0.4);
      color: #d4b359;
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      margin-bottom: 20px;
    }
    .hero h1 { font-size: clamp(32px, 5vw, 46px); font-weight: 600; margin-bottom: 16px; }
    .hero p { max-width: 760px; margin: 0 auto; color: #a0a0a0; font-size: clamp(15px, 1.8vw, 17px); font-weight: 300; }
    .content-controls { display: flex; gap: 12px; max-width: 760px; margin: 20px auto 0; }
    .search-field { flex: 1; }
    .search-field input, .sort-field select { width: 100%; min-height: 46px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 10px; background: rgba(255, 255, 255, 0.05); color: #fff; font: inherit; padding: 0 14px; }
    .sort-field { min-width: 190px; }
    .sort-field select option { color: #0a191d; }
    .results-count { min-height: 21px; max-width: 760px; margin: 12px auto -18px; color: #a0a0a0; font-size: 14px; }
    .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

    /* COMPONENT: Publication list (single column, horizontal rows) */
    .articles-grid {
      display: flex;
      flex-direction: column;
      gap: 22px;
      margin-top: 50px;
    }
    .article-card {
      display: flex;
      flex-direction: row;
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .article-card:hover {
      transform: translateY(-3px);
    }
    .article-img-wrapper {
      width: 320px;
      min-width: 320px;
      aspect-ratio: 16 / 9;
      align-self: center;
      position: relative;
      border-radius: 12px;
      background: #0c1a20;
      overflow: hidden;
      display: block;
    }
    .article-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .article-card:hover .article-img {
      transform: scale(1.05);
    }
    .article-body {
      padding: 28px 32px;
      display: flex;
      flex-direction: column;
      flex: 1;
      justify-content: space-between;
    }
    .article-meta {
      display: flex;
      justify-content: flex-end;
      margin-bottom: 10px;
    }
    .article-date {
      font-size: 13px;
      color: #888888;
      font-weight: 400;
    }
    .article-title {
      font-size: 18px;
      font-weight: 500;
      color: #ffffff;
      line-height: 1.45;
      margin-bottom: 14px;
    }
    .article-snippet {
      font-size: 14px;
      color: #b0b0b0;
      font-weight: 300;
      line-height: 1.6;
      margin-bottom: 22px;
    }
    .article-link {
      color: #d4b359;
      font-size: 14px;
      font-weight: 500;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: gap 0.2s ease, color 0.2s ease;
      margin-top: auto;
    }
    .article-card:hover .article-link {
      gap: 10px;
      color: #f3cf7a;
    }

    footer {
      background-color: #030f12 !important;
      border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
      margin-top: 100px !important;
      padding: 70px clamp(24px, 5vw, 80px) 30px !important;
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
    }
    .footer-container {
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 !important;
      display: flex !important;
      flex-wrap: wrap !important;
      justify-content: space-between !important;
      gap: 40px !important;
      margin-bottom: 48px !important;
      box-sizing: border-box !important;
    }
    .footer-info { max-width: 440px; }
    .footer-address { color: #a0a0a0; font-size: 15px; font-weight: 300; line-height: 1.8; margin-top: 20px; }
    .footer-col h4 { font-size: 15px; font-weight: 600; color: #ffffff; margin-bottom: 18px; }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
    .footer-col a { color: #888888; font-size: 15px; transition: color 0.2s; }
    .footer-col a:hover { color: #ffffff; }
    .footer-bottom {
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 !important;
      padding-top: 24px !important;
      border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
      display: flex !important;
      justify-content: space-between !important;
      align-items: center !important;
      color: #777777 !important;
      font-size: 14px !important;
      box-sizing: border-box !important;
    }
      @media (max-width: 860px) {
      header .btn-contact { display: none !important; }
      header .hamburger { display: flex !important; }
.footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
      }
    }


html, body {
  width: 100% !important;
  max-width: 100vw !important;
  
  box-sizing: border-box !important;
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

img, video, svg {
  max-width: 100% !important;
  height: auto;
}

/* COMPONENT: Main content width and spacing */
.container {
  width: 100% !important;
  max-width: 1320px !important;
  padding-left: clamp(16px, 4vw, 40px) !important;
  padding-right: clamp(16px, 4vw, 40px) !important;
  box-sizing: border-box !important;
}

/* RESPONSIVE: Mobile layout overrides */
@media (max-width: 768px) {
  .content-controls { flex-wrap: wrap; }
  .search-field { flex: 1 1 100%; min-width: 0; }
  .sort-field { flex: 1 1 100%; min-width: 0; }
  .search-field input, .sort-field select { min-height: 48px; }  .hero h1 {
    font-size: clamp(26px, 7vw, 36px) !important;
    line-height: 1.25 !important;
  }
  .hero p {
    font-size: 15px !important;
    padding: 0 8px !important;
  }
  .hero {
    padding: 40px 12px 30px !important;
  }
  .container {
    padding-top: 30px !important;
    padding-bottom: 40px !important;
  }

  .articles-grid {
    gap: 16px !important;
  }
  .article-card {
    flex-direction: column !important;
  }
  .article-img-wrapper {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
  }
  .article-body {
    padding: 20px !important;
  }
}
