/* kamus.css — hakkekayaanintelektual.com
   A–Z Glossary + FAQ Accordion reference structure
   Prefix: hki-
   -------------------------------------------------- */

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', 'Noto Sans', Arial, sans-serif;
  background: #f5f7fa;
  color: #1a2340;
  line-height: 1.7;
}

a { color: #0a3d8f; text-decoration: none; }
a:hover { text-decoration: underline; color: #0056d6; }

img { max-width: 100%; display: block; }

/* ── Layout wrapper ── */
.hki-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Site identity bar ── */
.hki-identity {
  background: #0a2060;
  color: #fff;
  padding: 14px 0;
  border-bottom: 4px solid #f5a623;
}

.hki-identity .hki-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.hki-site-name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
  line-height: 1.2;
}

.hki-site-tagline {
  font-size: .78rem;
  color: #b8cdf0;
  font-weight: 400;
  display: block;
  margin-top: 2px;
}

.hki-identity-links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.hki-identity-links a {
  color: #c8daf8;
  font-size: .82rem;
  padding: 4px 10px;
  border-radius: 3px;
  transition: background .15s, color .15s;
}

.hki-identity-links a:hover,
.hki-identity-links a.hki-active {
  background: #f5a623;
  color: #fff;
  text-decoration: none;
}

/* ── Page title block (homepage) ── */
.hki-page-title {
  background: #0a2060;
  color: #fff;
  padding: 28px 0 22px;
  border-bottom: 3px solid #f5a623;
}

.hki-page-title h1 {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 8px;
}

.hki-page-title .hki-subtitle {
  font-size: .97rem;
  color: #c8daf8;
  max-width: 660px;
}

/* ── Inner page banner (articles, about, contact) ── */
.hki-page-banner {
  background: #0a2060;
  color: #fff;
  padding: 28px 0;
  border-bottom: 3px solid #f5a623;
}

.hki-page-banner h1 {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.3;
}

.hki-breadcrumb {
  font-size: .82rem;
  color: #b8cdf0;
  margin-bottom: 10px;
}

.hki-breadcrumb a { color: #f5a623; }

/* ── Main content ── */
.hki-main {
  padding: 36px 0 56px;
}

/* ── Section heading ── */
.hki-section-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0a2060;
  border-left: 5px solid #f5a623;
  padding-left: 14px;
  margin-bottom: 20px;
}

/* ════════════════════════════════════════
   GLOSSARY  (A–Z Kamus Istilah)
   ════════════════════════════════════════ */

.hki-glossary { margin-bottom: 52px; }

/* Letter jump bar */
.hki-letter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #d0dbf0;
  border-radius: 6px;
  margin-bottom: 28px;
}

.hki-letter-bar a {
  display: inline-block;
  min-width: 30px;
  text-align: center;
  padding: 4px 6px;
  font-size: .85rem;
  font-weight: 700;
  color: #0a3d8f;
  border-radius: 3px;
  background: #f0f5ff;
  transition: background .12s, color .12s;
}

.hki-letter-bar a:hover {
  background: #f5a623;
  color: #fff;
  text-decoration: none;
}

.hki-letter-bar span {
  display: inline-block;
  min-width: 30px;
  text-align: center;
  padding: 4px 6px;
  font-size: .85rem;
  font-weight: 700;
  color: #b0bedd;
  cursor: default;
}

/* Letter group */
.hki-letter-group {
  margin-bottom: 28px;
  scroll-margin-top: 80px;
}

.hki-letter-anchor {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 800;
  background: #0a2060;
  color: #f5a623;
  border-radius: 4px;
  margin-bottom: 12px;
}

/* Definition list */
.hki-def-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #d0dbf0;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.hki-def-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  border-bottom: 1px solid #e8eef8;
}

.hki-def-item:last-child { border-bottom: none; }

.hki-def-term {
  padding: 14px 16px;
  font-weight: 700;
  font-size: .93rem;
  color: #0a2060;
  background: #f5f8ff;
  border-right: 1px solid #d0dbf0;
  display: flex;
  align-items: flex-start;
}

.hki-def-desc {
  padding: 14px 18px;
  font-size: .92rem;
  color: #2a3555;
  line-height: 1.65;
}

/* ════════════════════════════════════════
   FAQ ACCORDION
   ════════════════════════════════════════ */

.hki-faq-section { margin-bottom: 48px; }

.hki-faq-item {
  border: 1px solid #d0dbf0;
  border-radius: 6px;
  margin-bottom: 8px;
  background: #fff;
  overflow: hidden;
}

.hki-faq-item summary {
  padding: 15px 18px;
  font-weight: 600;
  color: #0a2060;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .96rem;
  gap: 12px;
}

.hki-faq-item summary::-webkit-details-marker { display: none; }

.hki-faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: #f5a623;
  font-weight: 700;
  flex-shrink: 0;
}

.hki-faq-item[open] summary::after { content: '−'; }

.hki-faq-item[open] summary {
  background: #f0f5ff;
  border-bottom: 1px solid #d0dbf0;
}

.hki-faq-body {
  padding: 14px 18px;
  font-size: .92rem;
  color: #2a3555;
  line-height: 1.7;
}

.hki-faq-body p { margin-bottom: 10px; }
.hki-faq-body p:last-child { margin-bottom: 0; }

/* ════════════════════════════════════════
   DIGEST LIST  (pipeline classes — unchanged names)
   ════════════════════════════════════════ */

ul.digest {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #d8e4f5;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

ul.digest li {
  border-bottom: 1px solid #e0e8f5;
  padding: 18px 20px;
}

ul.digest li:last-child { border-bottom: none; }

ul.digest li h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 4px 0 6px;
  line-height: 1.35;
}

ul.digest li h3 a { color: #0a2060; }
ul.digest li h3 a:hover { color: #0056d6; }

ul.digest li p {
  font-size: .88rem;
  color: #4a5578;
  line-height: 1.6;
}

/* Standfirst meta (pipeline — class name stays "standfirst") */
div.standfirst {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #f5a623;
}

/* ── Article body ── */
.hki-article-body {
  background: #fff;
  border: 1px solid #d8e2f3;
  border-radius: 8px;
  padding: 34px 38px;
  margin-bottom: 30px;
  max-width: 760px;
}

.hki-article-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0a2060;
  margin: 26px 0 12px;
  padding-bottom: 5px;
  border-bottom: 2px solid #e5ecfb;
}

.hki-article-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0d3fa8;
  margin: 20px 0 9px;
}

.hki-article-body p { margin-bottom: 15px; color: #2a3555; }

.hki-article-body ul,
.hki-article-body ol {
  padding-left: 22px;
  margin-bottom: 15px;
  color: #2a3555;
}

.hki-article-body li { margin-bottom: 5px; }

.hki-article-body blockquote {
  border-left: 4px solid #f5a623;
  background: #f0f5ff;
  padding: 13px 17px;
  margin: 16px 0;
  font-style: italic;
  color: #3a4d80;
  border-radius: 0 4px 4px 0;
}

.hki-disclaimer {
  background: #fffbea;
  border: 1px solid #f5d67a;
  border-radius: 6px;
  padding: 13px 17px;
  font-size: .88rem;
  color: #7a6020;
  margin-top: 26px;
}

/* ── About / contact page content ── */
.hki-content-page {
  background: #fff;
  border: 1px solid #d8e2f3;
  border-radius: 8px;
  padding: 34px 38px;
  max-width: 760px;
}

.hki-content-page h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0a2060;
  margin: 22px 0 11px;
  padding-bottom: 5px;
  border-bottom: 2px solid #e5ecfb;
}

.hki-content-page p { margin-bottom: 13px; color: #2a3555; }

.hki-content-page ul {
  padding-left: 20px;
  margin-bottom: 13px;
  color: #2a3555;
}

.hki-content-page li { margin-bottom: 5px; }

/* ── Contact form ── */
.hki-form { max-width: 580px; }

.hki-form-group { margin-bottom: 18px; }

.hki-form-group label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: #0a2060;
  margin-bottom: 5px;
}

.hki-form-group input,
.hki-form-group textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid #b0bedd;
  border-radius: 5px;
  font-size: .95rem;
  color: #1a2340;
  background: #f8faff;
  font-family: inherit;
  transition: border-color .15s;
}

.hki-form-group input:focus,
.hki-form-group textarea:focus {
  outline: none;
  border-color: #0d3fa8;
  background: #fff;
}

.hki-form-group textarea { resize: vertical; min-height: 130px; }

.hki-submit {
  background: #0a2060;
  color: #fff;
  border: none;
  padding: 11px 28px;
  font-size: .95rem;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
  letter-spacing: .04em;
  transition: background .15s;
}

.hki-submit:hover { background: #0d3fa8; }

.hki-honeypot { display: none !important; }

.hki-alert-success {
  background: #e8f5e9;
  border: 1px solid #81c784;
  color: #2e7d32;
  padding: 13px 17px;
  border-radius: 6px;
  margin-bottom: 18px;
  font-weight: 600;
}

.hki-alert-error {
  background: #fdecea;
  border: 1px solid #ef9a9a;
  color: #c62828;
  padding: 13px 17px;
  border-radius: 6px;
  margin-bottom: 18px;
  font-weight: 600;
}

/* ── Footer ── */
.hki-footer {
  background: #0a2060;
  color: #b8cdf0;
  padding: 32px 0 18px;
  margin-top: 44px;
  border-top: 4px solid #f5a623;
}

.hki-footer-about h4,
.hki-footer-col h4 {
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 10px;
}

.hki-footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 24px;
}

.hki-footer-about p {
  font-size: .85rem;
  line-height: 1.6;
  color: #94acd8;
}

.hki-footer-col ul { list-style: none; }
.hki-footer-col ul li { margin-bottom: 6px; }
.hki-footer-col ul li a { color: #94acd8; font-size: .85rem; }
.hki-footer-col ul li a:hover { color: #f5a623; text-decoration: none; }

.hki-footer-bottom {
  border-top: 1px solid #1e3a7a;
  padding-top: 16px;
  font-size: .78rem;
  color: #6080b8;
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 680px) {
  .hki-page-title h1 { font-size: 1.3rem; }
  .hki-page-banner h1 { font-size: 1.25rem; }
  .hki-article-body { padding: 20px 16px; }
  .hki-content-page { padding: 20px 16px; }
  .hki-footer-inner { grid-template-columns: 1fr; gap: 18px; }
  .hki-identity .hki-wrap { flex-direction: column; align-items: flex-start; }
  .hki-def-item { grid-template-columns: 1fr; }
  .hki-def-term { border-right: none; border-bottom: 1px solid #d0dbf0; }
}
