/**
 * Stylesheet: policy-brief/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: Policy brief list (single column, horizontal rows) */
    .brief-grid { display: flex; flex-direction: column; gap: 22px; margin-top: 50px; }
    .brief-card { display: flex; flex-direction: row; transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
    .brief-card:hover { transform: translateY(-3px); }
    .brief-card-body { padding: 28px 32px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
    .brief-title { font-size: 18px; font-weight: 500; color: #ffffff; line-height: 1.45; margin-bottom: 14px; }
    .brief-desc { font-size: 14px; color: #b0b0b0; font-weight: 300; line-height: 1.6; margin-bottom: 22px; }
    .brief-download { color: #d4b359; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; align-self: flex-start; transition: gap 0.2s ease, color 0.2s ease; }
    .brief-card:hover .brief-download { gap: 10px; color: #f3cf7a; }

    /* COMPONENT: Pratinjau halaman pertama PDF (auto-generated via PDF.js).
       Full-bleed di kiri kartu — sama seperti preview di halaman Liputan. */
    .brief-preview { position: relative; display: block; width: 320px; min-width: 320px; aspect-ratio: 16 / 9; align-self: center; border-radius: 12px; overflow: hidden; background: #0c1a20; }
    .brief-preview::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(162,135,56,0.12), rgba(255,255,255,0.02)); }
    .brief-thumb { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
    .brief-thumb.is-ready { opacity: 1; }
    .brief-card:hover .brief-thumb { transform: scale(1.05); }
    .brief-meta { display: flex; justify-content: flex-end; margin: 0 0 10px; font-size: 13px; color: #888888; }
    .brief-meta-item { font-size: 13px; color: #888888; font-weight: 400; }

    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;
  }

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

@media (max-width: 768px) {
  .hero h1 {
    text-align: center !important;
  }
}

/* Force center hero h1 on mobile */
@media (max-width: 768px) {
  .hero h1,
  .hero,
  .page-main .container .hero h1 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
