/* ASIA89 Portal — direktori peta bacaan, biru royal dan emas */
:root {
  --lm-bg: #f4f7fc;
  --lm-surface: #ffffff;
  --lm-surface-alt: #e7eef8;
  --lm-ink: #142033;
  --lm-muted: #3e4e66;
  --lm-accent: #143a8c;
  --lm-accent-hover: #0e2c6e;
  --lm-accent-soft: rgba(20, 58, 140, 0.08);
  --lm-gold: #c6a15b;
  --lm-gold-soft: rgba(198, 161, 91, 0.2);
  --lm-line: #d5deee;
  --lm-line-strong: #c3d0e6;
  --lm-on-accent: #ffffff;
  --lm-shadow: 0 10px 28px rgba(20, 32, 51, 0.06);
  --lm-radius: 18px;
  --lm-font-sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --lm-font-display: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; background: #f4f7fc; color: #142033; font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: #143a8c; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: #0e2c6e; }
a:focus-visible, summary:focus-visible { outline: 2.5px solid #c6a15b; outline-offset: 2px; border-radius: 4px; }

.lm-container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.lm-skip { position: absolute; left: -9999px; top: 0; background: #143a8c; color: #ffffff; padding: 10px 16px; z-index: 100; }
.lm-skip:focus { left: 16px; top: 16px; }

.lm-header { position: static; background: #f4f7fc; border-bottom: 3px solid #c6a15b; }
.lm-header-bar { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px 0 14px; }
.lm-header-bar nav { width: 100%; }
.lm-brand { display: flex; justify-content: center; text-decoration: none; }
.lm-brand img, .lm-brand amp-img { height: 64px; width: auto; object-fit: contain; }
.lm-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; list-style: none; margin: 0; padding: 0 8px; }
.lm-nav a { color: #142033; font-weight: 600; font-size: 0.92rem; text-decoration: none; padding: 6px 8px; border-radius: 0; background: transparent; }
.lm-nav a:hover { color: #143a8c; background: transparent; }
.lm-nav a[aria-current="page"] { color: #143a8c; background: transparent; box-shadow: inset 0 -2px 0 #c6a15b; }

.lm-directory { padding: 28px 0 8px; }
.lm-kicker { margin: 0 0 8px; text-align: center; color: #143a8c; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em; }
.lm-directory .lm-h1 { text-align: center; }
.lm-lead { text-align: center; max-width: 680px; margin: 0 auto 18px; color: #142033; }
.lm-directory-sub .lm-h1 { text-align: left; margin-top: 8px; }
.lm-directory-sub .lm-bc { margin-top: 4px; }

.lm-bento { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0 0 22px; text-align: left; }
.lm-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 118px; padding: 16px 18px; background: #ffffff; color: #142033; border: 1px solid #d5deee; border-top: 3px solid #c6a15b; border-radius: 18px; text-decoration: none; box-shadow: 0 8px 20px rgba(20, 32, 51, 0.04); }
.lm-tile:hover { border-color: #143a8c; color: #142033; }
.lm-tile strong { color: #143a8c; font-size: 1.05rem; line-height: 1.3; }
.lm-tile-domain { color: #143a8c; font-weight: 700; font-size: 0.88rem; }
.lm-tile-task { color: #3e4e66; font-size: 0.92rem; }
.lm-tile-kicker { color: #c6a15b; font-size: 0.78rem; font-weight: 700; }
.lm-tile-here { background: #143a8c; color: #ffffff; border: 1px solid #c6a15b; cursor: default; }
.lm-tile-here strong { color: #c6a15b; font-size: 1.35rem; }
.lm-tile-here .lm-tile-domain { color: #ffffff; }
.lm-tile-here .lm-tile-task { color: #f4f7fc; }

.lm-brand-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 16px; }
.lm-brand-row a, .lm-brand-row .is-here { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; flex: 1 1 120px; max-width: 180px; padding: 8px 10px; background: #ffffff; color: #142033; border: 1px solid #d5deee; border-top: 3px solid #c6a15b; border-radius: 14px; text-decoration: none; }
.lm-brand-row a:hover { border-color: #143a8c; color: #142033; }
.lm-brand-row strong { color: #143a8c; font-size: 0.8rem; line-height: 1.3; }
.lm-brand-row span { color: #3e4e66; font-size: 0.72rem; line-height: 1.3; }
.lm-brand-row .is-here { background: #143a8c; border-color: #143a8c; border-top-color: #c6a15b; }
.lm-brand-row .is-here strong { color: #c6a15b; }
.lm-brand-row .is-here span { color: #ffffff; }

.lm-flow-media { background: #e7eef8; border-radius: 18px; overflow: hidden; margin: 0 0 14px; }
.lm-bc { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 14px; font-size: 0.86rem; color: #3e4e66; }
.lm-bc a { color: #143a8c; text-decoration: none; font-weight: 600; }
.lm-h1 { font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-size: clamp(1.45rem, 2.5vw, 2.15rem); line-height: 1.35; margin: 0 0 10px; overflow-wrap: break-word; font-weight: 800; color: #142033; }
.lm-meta-row { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 0.88rem; color: #3e4e66; margin: 0 0 14px; }
.lm-meta-row a { font-weight: 700; }
.lm-tag-pill { display: inline-block; background: rgba(198, 161, 91, 0.2); color: #142033; border: 1px solid #c6a15b; font-weight: 700; padding: 3px 10px; border-radius: 999px; font-size: 0.82rem; }

.lm-main-wrap { padding: 10px 0 56px; }
.lm-content-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.lm-summary { background: #ffffff; border: 1px solid #d5deee; border-left: 4px solid #143a8c; border-radius: 18px; padding: 22px 24px; box-shadow: var(--lm-shadow); }
.lm-summary h2 { margin: 0 0 10px; font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-size: 1.25rem; color: #143a8c; }
.lm-summary p { margin: 0; }

.lm-facts { background: #e7eef8; border: 1px solid #d5deee; border-radius: 18px; padding: 20px 24px; }
.lm-facts h3 { margin: 0 0 14px; font-size: 1.08rem; color: #142033; }
.lm-facts dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 20px; }
.lm-fact-row { border-top: 1px solid #c3d0e6; padding-top: 8px; }
.lm-facts dt { font-size: 0.8rem; color: #3e4e66; font-weight: 600; }
.lm-facts dd { margin: 3px 0 0; font-weight: 700; font-size: 0.95rem; color: #142033; }

.lm-toc { background: #ffffff; border: 1px solid #d5deee; border-radius: 18px; padding: 18px 22px; }
.lm-toc strong { display: block; margin-bottom: 10px; color: #142033; }
.lm-toc ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px 16px; }
.lm-toc a { color: #3e4e66; text-decoration: none; font-size: 0.92rem; font-weight: 600; }
.lm-toc a:hover { color: #143a8c; }

.lm-article { background: #ffffff; border: 1px solid #d5deee; border-radius: 18px; padding: 30px 32px; box-shadow: var(--lm-shadow); }
.lm-article section { margin-bottom: 32px; }
.lm-article h2 { font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.4; margin: 0 0 14px; font-weight: 800; color: #142033; }
.lm-article p { margin: 0 0 14px; font-size: 1.02rem; color: #142033; }
.lm-fig { margin: 22px 0; background: #e7eef8; border: 1px solid #d5deee; border-radius: 18px; overflow: hidden; }
.lm-fig figcaption { padding: 10px 16px; font-size: 0.88rem; color: #3e4e66; }
.lm-flow-media img, .lm-flow-media amp-img, .lm-fig img, .lm-fig amp-img, .lm-rel-card img, .lm-rel-card amp-img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; display: block; border-radius: 18px; }
amp-img img { object-fit: contain; }

.lm-table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid #d5deee; border-radius: 12px; }
.lm-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.94rem; color: #142033; }
.lm-table caption { padding: 12px 16px; font-weight: 700; text-align: left; background: #e7eef8; color: #142033; }
.lm-table th, .lm-table td { padding: 12px 14px; border-top: 1px solid #d5deee; vertical-align: top; }
.lm-table thead th { background: #ffffff; color: #143a8c; font-weight: 700; }
.lm-steps { margin: 16px 0; padding-left: 22px; display: grid; gap: 10px; color: #142033; }

.lm-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 14px; }
.lm-info-card { background: #e7eef8; border: 1px solid #d5deee; border-top: 3px solid #c6a15b; border-radius: 18px; padding: 18px; }
.lm-info-card h3 { margin: 0 0 8px; font-size: 1.02rem; color: #142033; }
.lm-info-card p { margin: 0; font-size: 0.92rem; color: #3e4e66; }

.lm-faq details { background: #e7eef8; border: 1px solid #d5deee; border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.lm-faq summary { cursor: pointer; font-weight: 700; color: #142033; }
.lm-faq p { margin: 10px 0 0; color: #3e4e66; font-size: 0.95rem; }

.lm-related h2 { font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-size: 1.35rem; margin: 0 0 16px; color: #142033; }
.lm-rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.lm-rel-card { display: flex; flex-direction: column; background: #ffffff; border: 1px solid #d5deee; border-radius: 18px; overflow: hidden; text-decoration: none; color: #142033; box-shadow: var(--lm-shadow); }
.lm-rel-card:hover { border-color: #143a8c; color: #142033; }
.lm-rel-card img, .lm-rel-card amp-img { background: #e7eef8; }
.lm-rel-card span { padding: 14px 16px; }
.lm-rel-card strong { color: #143a8c; font-size: 1rem; }

.lm-footer { background: #ffffff; border-top: 3px solid #c6a15b; padding: 44px 0 28px; margin-top: 24px; }
.lm-footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 28px; padding-bottom: 28px; border-bottom: 1px solid #d5deee; }
.lm-footer-logo { height: 56px; width: auto; margin-bottom: 12px; object-fit: contain; }
.lm-footer h2 { font-size: 1rem; margin: 0 0 12px; color: #143a8c; }
.lm-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lm-footer a { color: #3e4e66; text-decoration: none; font-size: 0.92rem; }
.lm-footer a:hover { color: #143a8c; }
.lm-footer p { color: #3e4e66; font-size: 0.92rem; }
.lm-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.lm-badge { font-size: 0.78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #f4f7fc; color: #142033; border: 1px solid #c6a15b; }
.lm-copy { padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.86rem; color: #3e4e66; }
.lm-door { padding: 48px 0 64px; }
.lm-door-card { background: #ffffff; border: 1px solid #d5deee; border-top: 3px solid #c6a15b; border-radius: 18px; padding: 28px; box-shadow: var(--lm-shadow); max-width: 720px; margin: 0 auto; }
.lm-door-card .lm-kicker, .lm-door-card .lm-h1 { text-align: left; }

@media (min-width: 720px) {
  .lm-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lm-tile-here { grid-column: span 2; }
}
@media (min-width: 1100px) {
  .lm-brand-row { flex-wrap: wrap; }
  .lm-brand-row a, .lm-brand-row .is-here { flex: 0 1 200px; max-width: 220px; }
}
@media (min-width: 980px) {
  .lm-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lm-tile-here { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 860px) {
  .lm-article { padding: 22px 18px; }
  .lm-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .lm-footer-grid { grid-template-columns: minmax(0, 1fr); }
  .lm-brand-row { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none; }
}
