
:root {
  --ink: #102a2a;
  --muted: #506565;
  --surface: #ffffff;
  --surface-soft: #f4f8f6;
  --brand: #0b6b57;
  --brand-deep: #073f34;
  --accent: #b37a22;
  --line: #d8e3de;
  --focus: #ffbf47;
  --shadow: 0 10px 24px rgba(5, 45, 39, .10);
  --radius: .75rem;
  --content: 76rem;
  --font-scale: 1;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; font-size: calc(100% * var(--font-scale)); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
a { color: var(--brand); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .16em; }
img, svg { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, .button { min-height: 2.75rem; }
:focus-visible { outline: .2rem solid var(--focus); outline-offset: .2rem; }
.skip-link { position: fixed; z-index: 9999; left: 1rem; top: -6rem; background:#fff; color:#000; padding:.75rem 1rem; border:2px solid #000; }
.skip-link:focus { top:1rem; }
.container { width:min(calc(100% - 2rem), var(--content)); margin-inline:auto; }
.topbar { background:var(--brand-deep); color:#fff; font-size:.88rem; }
.topbar a { color:#fff; text-decoration:none; }
.topbar-inner { display:flex; gap:1rem; justify-content:space-between; align-items:center; min-height:2.65rem; }
.utility-links { display:flex; flex-wrap:wrap; align-items:center; gap:.35rem 1rem; list-style:none; margin:0; padding:0; }
.utility-links a { display:inline-flex; align-items:center; min-height:2.4rem; }
.site-header { background:#fff; border-bottom:1px solid var(--line); }
.identity { display:grid; grid-template-columns:auto 1fr auto; gap:1rem; align-items:center; padding:1.1rem 0; }
.crest { width:4.2rem; aspect-ratio:1; border:2px solid var(--accent); border-radius:50%; display:grid; place-items:center; text-align:center; font-weight:800; font-size:.66rem; line-height:1.05; color:var(--brand-deep); background:#fff; }
.portal-label { margin:0; color:var(--brand); font-size:.82rem; text-transform:uppercase; letter-spacing:.13em; font-weight:800; }
.site-title { margin:.12rem 0 0; font-size:clamp(1.12rem,2.5vw,1.65rem); line-height:1.2; }
.site-subtitle { margin:.2rem 0 0; color:var(--muted); font-size:.9rem; }
.ministry { text-align:right; max-width:16rem; font-size:.82rem; color:var(--muted); }
.nav-shell { background:var(--brand); color:#fff; }
.nav-inner { position:relative; display:flex; align-items:center; min-height:3.7rem; }
.menu-toggle { display:none; margin-left:auto; background:#fff; border:0; color:var(--brand-deep); border-radius:.5rem; padding:.5rem .8rem; font-weight:750; cursor:pointer; }
.primary-nav { width:100%; }
.primary-nav ul { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:.1rem; }
.primary-nav a { display:flex; min-height:3.7rem; align-items:center; color:#fff; padding:.65rem .9rem; text-decoration:none; font-weight:650; border-bottom:.25rem solid transparent; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background:rgba(255,255,255,.11); border-color:var(--accent); }
.breadcrumb { border-bottom:1px solid var(--line); background:var(--surface-soft); }
.breadcrumb ol { list-style:none; display:flex; flex-wrap:wrap; gap:.45rem; padding:.6rem 0; margin:0; font-size:.88rem; }
.breadcrumb li:not(:last-child)::after { content:"/"; margin-left:.45rem; color:var(--muted); }
.hero { position:relative; overflow:hidden; background:#073f34 url("../images/topography.svg") center/cover no-repeat; color:#fff; }
.hero-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(18rem,.75fr); gap:2rem; padding:clamp(3rem,7vw,6rem) 0; align-items:center; position:relative; z-index:1; }
.eyebrow { font-weight:800; color:var(--accent); text-transform:uppercase; letter-spacing:.12em; font-size:.82rem; }
.hero h1 { margin:.2rem 0 1rem; font-size:clamp(2.1rem,4.6vw,4rem); line-height:1.06; max-width:16ch; letter-spacing:-.03em; }
.hero p { max-width:62ch; font-size:clamp(1rem,2vw,1.18rem); color:#e6f2ee; }
.hero-search { background:#fff; color:var(--ink); padding:1.1rem; border:1px solid var(--line); border-radius:var(--radius); }
.search-row { display:flex; gap:.5rem; }
.search-row input { flex:1; min-width:0; border:1px solid #a9bbb4; border-radius:.6rem; padding:.75rem .85rem; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:.45rem; border:0; border-radius:.6rem; padding:.66rem .95rem; background:var(--brand); color:#fff; text-decoration:none; font-weight:750; cursor:pointer; }
.button:hover { background:var(--brand-deep); }
.button.secondary { color:var(--brand); background:#e7f1ed; }
.button.outline { border:1px solid currentColor; background:transparent; color:inherit; }
.section { padding:clamp(2.8rem,6vw,5.3rem) 0; }
.section.soft { background:var(--surface-soft); }
.section-head { display:flex; gap:1rem; justify-content:space-between; align-items:end; margin-bottom:1.6rem; }
.section-head h2 { margin:0; font-size:clamp(1.7rem,3vw,2.45rem); line-height:1.15; }
.section-head p { margin:.4rem 0 0; color:var(--muted); max-width:62ch; }
.grid { display:grid; gap:1.15rem; }
.grid-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.grid-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.grid-4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
.card { border:1px solid var(--line); background:var(--surface); border-radius:var(--radius); padding:1.25rem; box-shadow:none; }
.card h2, .card h3 { margin-top:0; line-height:1.25; }
.card p:last-child { margin-bottom:0; }
.card-link { display:block; color:inherit; text-decoration:none; }
.card-link:hover { background:var(--surface-soft); }
.icon-tile { display:inline; color:var(--brand); font-weight:800; margin-right:.45rem; }
.quick-services { margin-top:-1.5rem; position:relative; z-index:2; }
.quick-services .card { border-top:1px solid var(--line); }
.notice { border-left:.35rem solid var(--accent); background:#fff7e8; padding:1rem 1.15rem; border-radius:.4rem; }
.meta { display:flex; flex-wrap:wrap; gap:.4rem .8rem; color:var(--muted); font-size:.86rem; }
.tag { display:inline-flex; background:#e7f1ed; color:var(--brand-deep); border-radius:99rem; padding:.18rem .55rem; font-size:.8rem; font-weight:700; }
.page-hero { padding:2.8rem 0; background:#073f34 url("../images/topography.svg") center/cover no-repeat; color:#fff; }
.page-hero h1 { margin:0; font-size:clamp(2rem,4vw,3.2rem); line-height:1.08; }
.page-hero p { max-width:65ch; color:#e5f2ed; }
.prose { max-width:72ch; }
.prose h2 { margin-top:2.2rem; line-height:1.25; }
.prose li + li { margin-top:.5rem; }
.table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:.75rem; }
table { width:100%; border-collapse:collapse; min-width:42rem; }
th, td { padding:.8rem .9rem; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
th { background:var(--surface-soft); }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.field { display:grid; gap:.35rem; }
.field.full { grid-column:1/-1; }
label { font-weight:720; }
input, select, textarea { width:100%; border:1px solid #9eb1a9; border-radius:.55rem; padding:.72rem .8rem; background:#fff; color:#111; }
textarea { min-height:8rem; resize:vertical; }
.search-results { display:grid; gap:.9rem; margin-top:1.25rem; }
.search-result { border-bottom:1px solid var(--line); padding-bottom:1rem; }
.search-result h2 { font-size:1.15rem; margin:0 0 .25rem; }
.search-result p { margin:.2rem 0; }
.empty-state { border:1px dashed var(--line); border-radius:.8rem; padding:1.5rem; text-align:center; color:var(--muted); }
.site-footer { background:#082e29; color:#dceae5; margin-top:3rem; }
.site-footer a { color:#fff; }
.footer-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:2rem; padding:3rem 0; }
.footer-grid h2 { color:#fff; font-size:1.1rem; }
.footer-links { list-style:none; margin:0; padding:0; }
.footer-links li + li { margin-top:.45rem; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.18); padding:1rem 0; font-size:.85rem; }
.footer-bottom-inner { display:flex; gap:1rem; justify-content:space-between; flex-wrap:wrap; }
.status-pill { display:inline-flex; align-items:center; gap:.4rem; border:1px solid rgba(255,255,255,.35); border-radius:99rem; padding:.2rem .65rem; }
.status-dot { width:.55rem; height:.55rem; background:#69dc9b; border-radius:50%; }
.back-top { position:fixed; right:1rem; bottom:1rem; z-index:20; border:0; border-radius:50%; width:3rem; height:3rem; background:var(--brand); color:#fff; cursor:pointer; box-shadow:none; display:none; }
.back-top.visible { display:block; }
.print-only { display:none; }

@media (max-width: 62rem) {
  .grid-4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .grid-3 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hero-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .identity { grid-template-columns:auto 1fr; }
  .ministry { grid-column:2; text-align:left; }
  .menu-toggle { display:inline-flex; }
  .primary-nav { display:none; position:absolute; top:100%; left:0; right:0; background:var(--brand-deep); z-index:30; box-shadow:0 2px 10px rgba(16,42,42,.08); }
  .primary-nav.open { display:block; }
  .primary-nav ul { display:block; }
  .primary-nav a { min-height:3.2rem; }
}
@media (max-width: 42rem) {
  .topbar-inner { display:block; padding:.4rem 0; }
  .utility-links { gap:.15rem .65rem; }
    .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns:1fr; }
  .field.full { grid-column:auto; }
  .footer-grid { grid-template-columns:1fr; }
  .section-head { display:block; }
  .search-row { display:grid; }
  .crest { width:3.4rem; }
  .site-subtitle { display:none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; animation-iteration-count:1 !important; }
}
@media print {
  .topbar, .nav-shell, .breadcrumb, .back-top, .hero-search, .site-footer { display:none !important; }
  .print-only { display:block; }
  body { color:#000; background:#fff; }
  a { color:#000; text-decoration:none; }
}



/* v1.3: SPLaSK-aligned public website IA and modern government service theme */
.service-hub { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.priority-actions { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.85rem; margin-top:1.4rem; }
.priority-actions a { display:block; padding:1rem; border:1px solid rgba(255,255,255,.3); border-radius:var(--radius); color:#fff; text-decoration:none; background:rgba(255,255,255,.08); }
.priority-actions a:hover { background:rgba(255,255,255,.15); }
.stat-row { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:#fff; }
.stat-row .stat { padding:1rem; border-right:1px solid var(--line); }
.stat-row .stat:last-child { border-right:0; }
.stat strong { display:block; color:var(--brand-deep); font-size:clamp(1.35rem,3vw,2rem); line-height:1.08; }
.stat span { display:block; color:var(--muted); font-size:.9rem; }
.splask-menu { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; }
.splask-menu .card { min-height:11rem; }
.link-list { list-style:none; padding:0; margin:0; display:grid; gap:.5rem; }
.link-list a { display:flex; justify-content:space-between; gap:1rem; padding:.72rem .85rem; border:1px solid var(--line); border-radius:.55rem; text-decoration:none; background:#fff; }
.link-list a::after { content:'›'; color:var(--accent); font-weight:800; }
.page-actions { display:flex; flex-wrap:wrap; gap:.7rem; margin-top:1.2rem; }
.modern-panel { border:1px solid var(--line); border-radius:var(--radius); background:#fff; padding:1.25rem; }
.modern-panel.accent { border-left:.35rem solid var(--accent); }
.card.card-link { border-color:#dce7e2; }
.card.card-link:hover { border-color:#a8c7bc; transform:translateY(-1px); box-shadow:var(--shadow); }
.primary-nav a { letter-spacing:-.01em; }
.report-band, .report-nav { display:initial; }
@media (max-width:62rem) { .splask-menu, .priority-actions, .stat-row { grid-template-columns:repeat(2,minmax(0,1fr)); } .service-hub { grid-template-columns:1fr; } .stat-row .stat:nth-child(2) { border-right:0; } }
@media (max-width:42rem) { .splask-menu, .priority-actions, .stat-row { grid-template-columns:1fr; } .stat-row .stat { border-right:0; border-bottom:1px solid var(--line); } .stat-row .stat:last-child { border-bottom:0; } }

/* v1.4: JMG official-logo colour theme + local Flaticon-style SVG icons */
:root {
  --ink: #203744;
  --muted: #536774;
  --surface: #ffffff;
  --surface-soft: #f5f8fa;
  --brand: #1778ba;
  --brand-deep: #0d4d78;
  --brand-soft: #eaf5fc;
  --green: #94c93d;
  --green-deep: #527c1f;
  --green-soft: #eef9e4;
  --accent: #f39a1e;
  --accent-deep: #a95f08;
  --accent-soft: #fff3e4;
  --line: #dce8ef;
  --focus: #f39a1e;
  --shadow: 0 10px 22px rgba(23, 120, 186, .10);
}
a { color: var(--brand-deep); }
.topbar { background: #0d4d78; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.identity { grid-template-columns:auto minmax(0,1fr) auto; gap:1.05rem; }
.crest,
.brand-mark { width: 5.6rem; min-width: 5.6rem; height: 4.6rem; display:grid; place-items:center; border:0; border-radius:0; background:#fff; color:var(--brand-deep); }
.brand-logo { width: 5.4rem; max-height: 4.2rem; object-fit: contain; display:block; }
.portal-label { color: var(--accent-deep); letter-spacing:.11em; }
.site-title strong { color:#15394f; }
.site-subtitle { color: var(--muted); }
.ministry { border-left: .22rem solid var(--green); padding-left: .85rem; color: #3e5867; }
.nav-shell { background: var(--brand); }
.primary-nav a:hover,
.primary-nav a[aria-current="page"] { background: rgba(13,77,120,.35); border-color: var(--accent); }
.hero,
.page-hero { background:
  radial-gradient(circle at 90% 10%, rgba(148,201,61,.28), transparent 30%),
  linear-gradient(135deg, #0d4d78 0%, #1778ba 52%, #0d6a76 100%);
}
.hero::before,
.page-hero::before { content:""; position:absolute; inset:0; pointer-events:none; background:url("../images/topography.svg") center/cover no-repeat; opacity:.18; }
.hero > *, .page-hero > * { position:relative; z-index:1; }
.eyebrow { color:#ffd18a; }
.hero p, .page-hero p { color:#eef8fd; }
.hero-search { border-top:.28rem solid var(--green); box-shadow:0 16px 32px rgba(13,77,120,.18); }
.button { background: var(--brand); }
.button:hover { background: var(--brand-deep); }
.button.secondary { color: var(--brand-deep); background: var(--brand-soft); }
.button.outline { border:1.5px solid currentColor; }
.card { border-color: var(--line); }
.card.card-link:hover { border-color:#9ed2ee; box-shadow:var(--shadow); }
.tag { background: var(--green-soft); color: #416b18; }
.notice { border-left-color: var(--accent); background:var(--accent-soft); }
.stat strong { color: var(--brand-deep); }
.link-list a::after { color: var(--accent); }
.site-footer { background: #0b3c5d; }
.status-dot { background: var(--green); }
.back-top { background: var(--accent); color:#102a2a; font-weight:800; }
.feature-icon { width:2.55rem; height:2.55rem; display:block; margin-bottom:.75rem; }
.priority-actions a { display:flex; gap:.75rem; align-items:flex-start; background:rgba(255,255,255,.11); border-color:rgba(255,255,255,.34); }
.priority-actions .feature-icon { width:2rem; height:2rem; margin:0; flex:0 0 auto; }
.splask-menu .card,
.grid .card.card-link { position:relative; overflow:hidden; }
.splask-menu .card::after,
.grid .card.card-link::after { content:""; position:absolute; left:0; right:0; top:0; height:.25rem; background:linear-gradient(90deg,var(--brand),var(--green),var(--accent)); opacity:.85; }
.icon-card { display:flex; gap:1rem; align-items:flex-start; }
.icon-card .feature-icon { flex:0 0 auto; }
.icon-card h3 { margin-top:.1rem; }
.hero .page-actions .button:first-child { background:var(--green); color:#14310b; }
.hero .page-actions .button:first-child:hover { background:#b2dd6c; }
.hero .page-actions .button.outline { color:#fff; }
.search-row input:focus { border-color:var(--brand); box-shadow:0 0 0 .18rem rgba(23,120,186,.18); }
@media (max-width: 62rem) { .brand-mark { width:4.8rem; min-width:4.8rem; } .brand-logo { width:4.6rem; } }
@media (max-width: 42rem) { .identity { gap:.8rem; } .brand-mark { width:4rem; min-width:4rem; height:3.6rem; } .brand-logo { width:4rem; } .ministry { grid-column:1 / -1; border-left:0; padding-left:0; border-top:1px solid var(--line); padding-top:.6rem; } .priority-actions a { display:block; } .priority-actions .feature-icon { margin-bottom:.5rem; } }

/* v1.5: announcement emphasis */
.announcement-card {
  border-left: 5px solid var(--jmg-orange);
}
.announcement-card .tag {
  background: color-mix(in srgb, var(--jmg-orange) 15%, white);
  color: #7a3e00;
}
.text-link {
  font-weight: 700;
}


/* v1.7: Mandatory SPLaSK links moved to the right side of the identity header. */
.header-quick-links {
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
  gap:.35rem;
  max-width:24rem;
  text-align:right;
  border-left:.22rem solid var(--green);
  padding-left:.85rem;
}
.header-quick-links a {
  display:inline-flex;
  align-items:center;
  min-height:2.15rem;
  padding:.35rem .62rem;
  border:1px solid var(--line);
  border-radius:999rem;
  background:#fff;
  color:var(--brand-deep);
  text-decoration:none;
  font-size:.82rem;
  font-weight:750;
  line-height:1.2;
}
.header-quick-links a:hover {
  border-color:var(--accent);
  background:var(--accent-soft);
  text-decoration:none;
}
.topbar-inner { justify-content:flex-end; }
.utility-links { margin-right:auto; }
.utility-links:empty { display:none; }
.hero .priority-actions { display:none; }
@media (max-width:62rem) {
  .identity { grid-template-columns:auto minmax(0,1fr); }
  .header-quick-links { grid-column:1 / -1; justify-content:flex-start; max-width:none; border-left:0; border-top:1px solid var(--line); padding-left:0; padding-top:.75rem; text-align:left; }
}
@media (max-width:42rem) {
  .header-quick-links a { flex:1 1 calc(50% - .4rem); justify-content:center; text-align:center; }
}


/* v1.10: mobile menu refinement - icon-only hamburger + cleaner mobile quick links */
@media (max-width:62rem) {
  .nav-inner {
    min-height: 3.5rem;
    justify-content: flex-end;
    padding: .55rem 0;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 3.15rem;
    height: 3.15rem;
    min-height: 3.15rem;
    margin-left: auto;
    padding: 0;
    font-size: 0;
    color: transparent;
    background: #fff;
    border: 1px solid rgba(13,77,120,.12);
    border-radius: .85rem;
    box-shadow: 0 8px 18px rgba(13,77,120,.16);
  }
  .menu-toggle::before,
  .menu-toggle::after {
    content: "";
    position: absolute;
    width: 1.3rem;
    height: 2px;
    border-radius: 999px;
    background: var(--brand-deep);
    transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
  }
  .menu-toggle::before {
    box-shadow: 0 -6px 0 var(--brand-deep), 0 6px 0 var(--brand-deep);
  }
  .menu-toggle::after {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"]::before {
    box-shadow: none;
    transform: rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"]::after {
    opacity: 1;
    transform: rotate(-45deg);
  }
  .primary-nav {
    top: calc(100% + .35rem);
    left: 0;
    right: 0;
    border-radius: 0 0 .95rem .95rem;
    background: var(--brand-deep);
    border: 1px solid rgba(255,255,255,.08);
    overflow: hidden;
    box-shadow: 0 16px 30px rgba(13,77,120,.22);
  }
  .primary-nav ul {
    display: grid;
  }
  .primary-nav li + li a {
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .primary-nav a {
    min-height: 3.45rem;
    padding: .9rem 1.15rem;
    border-bottom: 0;
    border-left: .28rem solid transparent;
  }
  .primary-nav a:hover,
  .primary-nav a[aria-current="page"] {
    border-left-color: var(--accent);
    background: rgba(255,255,255,.09);
  }
  .header-quick-links {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: .55rem;
    width: 100%;
    padding-top: .85rem;
  }
  .header-quick-links a {
    width: 100%;
    min-height: 2.8rem;
    justify-content: center;
    text-align: center;
    padding: .55rem .75rem;
  }
}
@media (max-width:42rem) {
  .identity {
    align-items: start;
  }
  .site-title {
    font-size: clamp(1rem, 6.8vw, 1.45rem);
  }
  .header-quick-links {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .header-quick-links a {
    font-size: .83rem;
    line-height: 1.25;
  }
}


/* v1.11: compact premium mobile header */
@media (max-width: 42rem) {
  .topbar {
    font-size: .84rem;
  }
  .topbar-inner {
    min-height: 2.35rem;
    padding: .2rem 0;
  }
  .utility-links a {
    min-height: 2rem;
  }

  .site-header {
    box-shadow: 0 2px 12px rgba(13,77,120,.06);
  }
  .identity {
    grid-template-columns: auto minmax(0,1fr);
    gap: .65rem .8rem;
    align-items: center;
    padding: .8rem 0 .72rem;
  }
  .brand-mark {
    width: 3.55rem;
    min-width: 3.55rem;
    height: 3.25rem;
  }
  .brand-logo {
    width: 3.45rem;
    max-height: 3.1rem;
  }
  .portal-label {
    font-size: .7rem;
    letter-spacing: .16em;
    line-height: 1.15;
  }
  .site-title {
    margin-top: .08rem;
    font-size: clamp(1rem, 5.7vw, 1.28rem);
    line-height: 1.12;
    letter-spacing: -.02em;
  }
  .site-subtitle {
    display: none;
  }

  .header-quick-links {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: .45rem;
    overflow-x: auto;
    overflow-y: hidden;
    width: calc(100% + 2rem);
    margin-inline: -1rem;
    padding: .65rem 1rem .25rem;
    border-top: 1px solid var(--line);
    border-left: 0;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .header-quick-links::-webkit-scrollbar {
    display: none;
  }
  .header-quick-links a {
    flex: 0 0 auto;
    width: auto;
    min-height: 2.35rem;
    padding: .45rem .75rem;
    border-radius: 999rem;
    background: var(--brand-soft);
    border-color: #cfe4f2;
    color: var(--brand-deep);
    font-size: .78rem;
    font-weight: 780;
    white-space: nowrap;
    scroll-snap-align: start;
  }
  .header-quick-links a:hover,
  .header-quick-links a:focus-visible {
    background: var(--accent-soft);
    border-color: var(--accent);
  }

  .nav-shell {
    box-shadow: 0 6px 16px rgba(13,77,120,.10);
  }
  .nav-inner {
    min-height: 3.15rem;
    padding: .45rem 0;
  }
  .menu-toggle {
    width: 2.85rem;
    height: 2.85rem;
    min-height: 2.85rem;
    border-radius: .75rem;
  }
  .menu-toggle::before,
  .menu-toggle::after {
    width: 1.2rem;
  }
  .menu-toggle::before {
    box-shadow: 0 -5.5px 0 var(--brand-deep), 0 5.5px 0 var(--brand-deep);
  }
  .primary-nav {
    top: calc(100% + .25rem);
    border-radius: 0 0 .85rem .85rem;
  }
  .primary-nav a {
    min-height: 3.15rem;
    padding: .78rem 1rem;
    font-size: .97rem;
  }

  .hero-grid {
    padding-top: 2.35rem;
  }
  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }
  .hero p {
    font-size: 1rem;
    line-height: 1.7;
  }
}

@media (max-width: 22rem) {
  .site-title {
    font-size: 1rem;
  }
  .brand-mark {
    width: 3.2rem;
    min-width: 3.2rem;
  }
  .brand-logo {
    width: 3.1rem;
  }
  .header-quick-links a {
    font-size: .74rem;
    padding-inline: .65rem;
  }
}


/* v1.12: About JMG page - corporate content redesign based on Annual Report 2024 */
.about-hero .container { max-width: 72rem; }
.about-hero p { max-width: 58rem; }
.about-actions { margin-top: 1.3rem; }
.about-page { padding-top: 2.5rem; }
.about-intro-grid { display:grid; grid-template-columns: minmax(0,1.35fr) minmax(18rem,.65fr); gap:1.2rem; align-items:stretch; }
.about-lead { border-top:.35rem solid var(--green); padding:1.45rem; }
.about-lead h2 { font-size:clamp(1.65rem,3vw,2.2rem); margin-bottom:.6rem; }
.about-source-panel { background:linear-gradient(180deg,#fff,var(--brand-soft)); }
.fact-list { display:grid; gap:.85rem; margin:0; }
.fact-list div { padding-bottom:.75rem; border-bottom:1px solid var(--line); }
.fact-list div:last-child { border-bottom:0; padding-bottom:0; }
.fact-list dt { color:var(--muted); font-size:.82rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.fact-list dd { margin:.1rem 0 0; font-weight:650; color:var(--ink); }
.about-band { padding-block: 2rem; }
.vision-mission-card { display:grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); overflow:hidden; border-radius:1rem; border:1px solid var(--line); background:#fff; box-shadow:var(--shadow); }
.vision-block { padding:clamp(1.4rem,4vw,2.2rem); color:#fff; background:linear-gradient(135deg,var(--brand-deep),var(--brand)); position:relative; overflow:hidden; }
.vision-block::after { content:""; position:absolute; width:12rem; height:12rem; border:1.5rem solid rgba(148,201,61,.26); border-radius:50%; right:-4rem; bottom:-5rem; }
.vision-block h2 { position:relative; margin:.4rem 0 0; font-size:clamp(1.75rem,4vw,3rem); line-height:1.05; letter-spacing:-.03em; }
.vision-block .eyebrow { color:#ffd18a; }
.mission-block { padding:clamp(1.4rem,4vw,2.2rem); background:linear-gradient(180deg,#fff,var(--surface-soft)); }
.mission-block p { margin:.45rem 0 0; font-size:1.06rem; }
.compact-section { padding-block: 2.6rem; }
.objective-grid { display:grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap:.9rem; }
.number-card { background:#fff; border:1px solid var(--line); border-radius:.9rem; padding:1.05rem; position:relative; overflow:hidden; }
.number-card::before { content:""; position:absolute; inset:0 0 auto 0; height:.28rem; background:linear-gradient(90deg,var(--brand),var(--green),var(--accent)); }
.number-card > span { display:inline-flex; width:2.25rem; height:2.25rem; border-radius:50%; align-items:center; justify-content:center; background:var(--brand-soft); color:var(--brand-deep); font-size:.8rem; font-weight:900; }
.number-card h3 { margin:.75rem 0 .4rem; font-size:1.03rem; line-height:1.25; }
.number-card p { margin:0; color:var(--muted); font-size:.94rem; line-height:1.55; }
.function-grid { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:.85rem; }
.function-grid article { display:grid; grid-template-columns: minmax(10rem,.42fr) minmax(0,1fr); gap:1rem; align-items:start; padding:1rem; border:1px solid var(--line); border-radius:.8rem; background:#fff; }
.function-grid strong { color:var(--brand-deep); line-height:1.25; }
.function-grid span { color:var(--muted); line-height:1.55; }
.about-values-section { padding-block:2.6rem; }
.clean-list { margin:0; padding-left:1.1rem; }
.clean-list li + li { margin-top:.45rem; }
.quality-card { border-top:.3rem solid var(--accent); }
.shared-values-card { border-top:.3rem solid var(--green); }
.value-pill-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; margin:1rem 0; }
.value-pill-grid span { display:flex; gap:.55rem; align-items:center; border:1px solid var(--line); border-radius:999rem; padding:.55rem .75rem; background:var(--surface-soft); font-weight:750; }
.value-pill-grid strong { display:inline-grid; place-items:center; width:1.55rem; height:1.55rem; border-radius:50%; background:var(--brand); color:#fff; font-size:.8rem; }
.about-next-section { margin-inline:calc(50% - 50vw); padding-inline:max(1rem,calc((100vw - var(--content)) / 2)); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
@media (max-width:72rem) { .objective-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:62rem) { .about-intro-grid, .vision-mission-card, .function-grid { grid-template-columns:1fr; } .function-grid article { grid-template-columns:1fr; gap:.35rem; } .objective-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:42rem) { .about-page { padding-top:1.6rem; } .about-actions { display:grid; } .objective-grid, .value-pill-grid { grid-template-columns:1fr; } .number-card { padding:1rem; } .mission-block p { font-size:1rem; } }


/* v1.13: business icon treatment for Mengenai JMG page */
.about-icon-card,
.about-source-panel-icon,
.vision-block,
.mission-block,
.quality-card,
.shared-values-card {
  position: relative;
}
.about-main-icon {
  width: 3.6rem;
  height: 3.6rem;
  display: block;
  margin-bottom: .85rem;
  filter: drop-shadow(0 8px 14px rgba(13,77,120,.12));
}
.about-main-icon.small {
  width: 3rem;
  height: 3rem;
}
.business-section-icon {
  width: 3.2rem;
  height: 3.2rem;
  display: block;
  margin-bottom: .85rem;
  filter: drop-shadow(0 8px 14px rgba(13,77,120,.12));
}
.business-mini-icon {
  width: 2.55rem;
  height: 2.55rem;
  display: block;
  margin-bottom: .65rem;
}
.number-card {
  display: flex;
  flex-direction: column;
}
.number-card > span {
  order: 2;
}
.number-card > h3,
.number-card > p {
  order: 3;
}
.number-card > .business-mini-icon {
  order: 1;
}
.business-function-grid article {
  display: grid;
  grid-template-columns: 3rem minmax(0,1fr);
  gap: .9rem;
  align-items: start;
}
.function-business-icon {
  width: 2.65rem;
  height: 2.65rem;
  margin-top: .1rem;
  flex: 0 0 auto;
}
.business-function-grid article strong {
  display: block;
  color: var(--brand-deep);
}
.business-function-grid article span {
  display: block;
}
.shared-values-card .business-section-icon,
.quality-card .business-section-icon {
  margin-bottom: .65rem;
}
@media (max-width: 42rem) {
  .about-main-icon,
  .business-section-icon {
    width: 2.9rem;
    height: 2.9rem;
  }
  .business-function-grid article {
    grid-template-columns: 2.7rem minmax(0,1fr);
    gap: .75rem;
  }
  .function-business-icon,
  .business-mini-icon {
    width: 2.35rem;
    height: 2.35rem;
  }
}


/* v1.15: detailed shared values section */
.values-top-grid { align-items: stretch; }
.shared-values-detail-card { background: linear-gradient(180deg,#fff,var(--surface-soft)); }
.shared-values-intro { margin: .25rem 0 0; }
.values-detail-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.value-cluster {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem 1.1rem 1rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.value-cluster::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: .28rem;
}
.value-cluster.spiritual::before { background: #6b58c4; }
.value-cluster.teamwork::before { background: #ee6ca7; }
.value-cluster.excellence::before { background: #0f8f5b; }
.value-cluster.professionalism::before { background: #19a7d8; }
.value-cluster-head {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: .9rem;
  align-items: center;
  margin-bottom: .8rem;
}
.value-cluster-head h3 {
  margin: 0;
  font-size: 1.12rem;
}
.value-cluster-head p {
  margin: .15rem 0 0;
  color: var(--muted);
  font-weight: 650;
}
.value-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 10px 22px rgba(13,77,120,.16);
}
.value-cluster.spiritual .value-badge { background: #6b58c4; }
.value-cluster.teamwork .value-badge { background: #ee6ca7; }
.value-cluster.excellence .value-badge { background: #0f8f5b; }
.value-cluster.professionalism .value-badge { background: #19a7d8; }
.value-points { padding-left: 1.15rem; }
.value-points li + li { margin-top: .42rem; }
@media (max-width:62rem) {
  .values-detail-grid { grid-template-columns: 1fr; }
}


/* v1.16: Mengenai JMG layout refinement - preserve copy, improve alignment */
.about-hero .about-actions .button,
.about-hero .about-actions .button.outline,
.page-hero .about-actions .button,
.page-hero .about-actions .button.outline {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.9);
  box-shadow: none;
}
.about-hero .about-actions .button:hover,
.about-hero .about-actions .button:focus-visible,
.page-hero .about-actions .button:hover,
.page-hero .about-actions .button:focus-visible {
  background: #fff;
  color: var(--brand-deep);
  border-color: #fff;
}

@media (min-width: 72rem) {
  .about-page .section-head {
    display: block;
  }
  .about-page .section-head > div {
    width: 100%;
  }
  .about-page .section-head p {
    max-width: none;
    width: 100%;
    white-space: nowrap;
    font-size: clamp(.86rem, .84vw, .96rem);
    line-height: 1.55;
  }
  .about-page .compact-section .section-head,
  .about-page .about-values-section .section-head {
    margin-bottom: 1.35rem;
  }
}

@media (max-width: 72rem) {
  .about-page .section-head p {
    white-space: normal;
  }
}


/* v1.17: about page section text must stay inside page margin */
@media (min-width: 72rem) {
  .about-page .section-head {
    display: block;
    max-width: 100%;
  }
  .about-page .section-head > div {
    width: 100%;
    max-width: 100%;
  }
  .about-page .section-head p {
    max-width: 100%;
    width: 100%;
    white-space: normal;
    overflow-wrap: normal;
    text-wrap: pretty;
    font-size: .96rem;
    line-height: 1.6;
  }
}


/* v1.18: Senior management UI/UX */
.leadership-hero .container { max-width: 72rem; }
.leadership-hero p { max-width: 72ch; }
.leadership-page { padding-top: 2.5rem; }
.leadership-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, .85fr);
  gap: 1.2rem;
  align-items: stretch;
}
.leader-card {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 1rem;
  align-items: center;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.leader-card::before { content:""; position:absolute; inset:0 0 auto 0; height:.3rem; background:var(--brand); }
.leadership-green::before { background: var(--green); }
.leadership-orange::before { background: var(--accent); }
.leader-card-main {
  min-height: 17rem;
  background: radial-gradient(circle at 94% 12%, rgba(148,201,61,.22), transparent 32%), linear-gradient(135deg, #fff, var(--brand-soft));
}
.leader-avatar {
  width: 4.8rem;
  height: 4.8rem;
  display: inline-grid;
  place-items: center;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  font-weight: 900;
  letter-spacing: .04em;
  font-size: 1.35rem;
}
.leadership-green .leader-avatar { background: linear-gradient(135deg, var(--green), #527c1f); color:#102a2a; }
.leadership-orange .leader-avatar { background: linear-gradient(135deg, var(--accent), #a95f08); color:#102a2a; }
.leader-index { display:inline-flex; color:var(--accent-deep); font-weight:900; letter-spacing:.12em; font-size:.78rem; }
.leader-card h2 { margin:.15rem 0 .25rem; font-size: clamp(1.15rem, 2vw, 1.75rem); line-height:1.12; }
.leader-card p { margin:.15rem 0; }
.leader-role { color:var(--brand-deep); font-weight:800; }
.leader-credential, .leader-grade { color:var(--muted); font-size:.92rem; }
.leadership-summary { background: linear-gradient(180deg,#fff,var(--surface-soft)); }
.fact-list.compact div { padding-bottom:.55rem; }
.leader-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.org-flow { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:.85rem; }
.org-flow article { border:1px solid var(--line); background:#fff; border-radius:.95rem; padding:1rem; position:relative; overflow:hidden; }
.org-flow article::before { content:""; position:absolute; inset:0 0 auto 0; height:.24rem; background:linear-gradient(90deg,var(--brand),var(--green),var(--accent)); }
.org-flow span { display:inline-grid; place-items:center; width:2.2rem; height:2.2rem; border-radius:50%; background:var(--brand-soft); color:var(--brand-deep); font-weight:900; font-size:.78rem; }
.org-flow h3 { margin:.75rem 0 .35rem; font-size:1.02rem; line-height:1.2; }
.org-flow p { margin:0; color:var(--muted); font-size:.92rem; line-height:1.5; }
.management-groups { display:grid; gap:.85rem; }
.management-groups details { border:1px solid var(--line); border-radius:1rem; background:#fff; overflow:hidden; }
.management-groups summary { cursor:pointer; list-style:none; padding:1rem 1.15rem; font-weight:900; color:var(--brand-deep); background:linear-gradient(180deg,#fff,var(--surface-soft)); display:flex; justify-content:space-between; gap:1rem; }
.management-groups summary::-webkit-details-marker { display:none; }
.management-groups summary::after { content:"+"; color:var(--accent-deep); font-weight:900; }
.management-groups details[open] summary::after { content:"−"; }
.directory-mini-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.75rem; padding:1rem; border-top:1px solid var(--line); }
.directory-mini-card { border:1px solid var(--line); border-radius:.8rem; padding:.9rem; background:#fff; }
.directory-mini-card span { display:block; color:var(--muted); font-size:.8rem; font-weight:800; text-transform:uppercase; letter-spacing:.04em; line-height:1.35; }
.directory-mini-card strong { display:block; margin:.35rem 0 .2rem; color:var(--ink); line-height:1.2; }
.directory-mini-card small { color:var(--brand-deep); font-weight:750; }
@media (max-width:72rem) { .org-flow { grid-template-columns:repeat(2,minmax(0,1fr)); } .directory-mini-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:62rem) { .leadership-intro-grid, .leader-grid { grid-template-columns:1fr; } .leader-card-main { min-height:0; } }
@media (max-width:42rem) { .leader-card { grid-template-columns:1fr; } .leader-avatar { width:4rem; height:4rem; border-radius:.9rem; } .org-flow, .directory-mini-grid { grid-template-columns:1fr; } .leadership-page { padding-top:1.6rem; } }


/* v1.20: section descriptions use full page margin without overflow */
@media (min-width: 72rem) {
  .leadership-page .section-head {
    display: block;
    width: 100%;
    max-width: 100%;
  }
  .leadership-page .section-head > div {
    width: 100%;
    max-width: 100%;
  }
  .leadership-page .section-head p {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: pretty;
    line-height: 1.6;
  }
}


/* v1.21: Contact page UI/UX */
.contact-hero p { max-width: 62rem; }
.contact-page { padding-top: 2.5rem; }
.contact-overview-grid { display:grid; grid-template-columns: minmax(0,1.1fr) minmax(20rem,.9fr); gap:1.2rem; align-items:stretch; }
.contact-primary-card { background:linear-gradient(135deg,var(--brand-deep),var(--brand)); color:#fff; border-radius:1.15rem; padding:clamp(1.4rem,4vw,2.2rem); box-shadow:var(--shadow); position:relative; overflow:hidden; }
.contact-primary-card::after { content:""; position:absolute; right:-5rem; bottom:-5rem; width:15rem; height:15rem; border:1.4rem solid rgba(148,201,61,.24); border-radius:50%; }
.contact-primary-card h2 { position:relative; margin:.25rem 0 .9rem; font-size:clamp(1.75rem,4vw,3rem); line-height:1.05; }
.contact-primary-card .eyebrow { color:#ffd18a; }
.contact-primary-card address { position:relative; font-style:normal; line-height:1.75; font-weight:650; }
.contact-actions-grid { position:relative; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.75rem; margin-top:1.4rem; }
.contact-actions-grid div { padding:.9rem; border-radius:.85rem; background:rgba(255,255,255,.11); border:1px solid rgba(255,255,255,.28); }
.contact-actions-grid span { display:block; color:#d8f0ff; font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; font-weight:850; }
.contact-actions-grid strong { display:block; margin-top:.25rem; color:#fff; font-size:1rem; overflow-wrap:anywhere; }
.contact-map-card { background:#fff; border:1px solid var(--line); border-radius:1.15rem; padding:1.1rem; box-shadow:var(--shadow); }
.map-visual { min-height:11.8rem; display:grid; place-items:center; border-radius:.95rem; background:linear-gradient(135deg,rgba(23,120,186,.18),rgba(148,201,61,.20)),url('../images/topography.svg'); border:1px solid var(--line); }
.map-visual span { display:grid; place-items:center; width:4.2rem; height:4.2rem; border-radius:50%; background:var(--brand-deep); color:#fff; font-weight:900; box-shadow:0 12px 26px rgba(13,77,120,.25); }
.contact-map-card h2 { margin:1rem 0 .45rem; }
.contact-map-card p { color:var(--muted); }
.contact-channel-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.9rem; }
.contact-channel-card { background:#fff; border:1px solid var(--line); border-radius:1rem; padding:1rem; box-shadow:var(--shadow); border-top:.25rem solid var(--green); }
.contact-channel-card:nth-child(2) { border-top-color:var(--accent); }
.contact-channel-card:nth-child(3) { border-top-color:var(--brand); }
.contact-channel-card:nth-child(4) { border-top-color:var(--brand-deep); }
.contact-channel-card img { width:2.75rem; height:2.75rem; margin-bottom:.65rem; }
.contact-channel-card h3 { margin:.2rem 0 .45rem; font-size:1.08rem; }
.contact-channel-card p { margin:0 0 .75rem; color:var(--muted); }
.contact-channel-card strong, .contact-channel-card a { overflow-wrap:anywhere; font-weight:800; color:var(--brand-deep); }
.contact-feedback-band { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:1.2rem; align-items:center; margin-inline:calc(50% - 50vw); padding-inline:max(1rem,calc((100vw - var(--content)) / 2)); background:linear-gradient(135deg,var(--surface-soft),#fff); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.contact-feedback-band h2 { margin:.25rem 0 .45rem; }
.contact-feedback-band p { margin:0; color:var(--muted); max-width:70rem; }
.feedback-note-card { min-width:18rem; background:#fff; border:1px solid var(--line); border-radius:1rem; padding:1rem; box-shadow:var(--shadow); }
.feedback-note-card strong { display:block; color:var(--muted); font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; }
.feedback-note-card span { display:block; margin-top:.25rem; font-weight:900; color:var(--brand-deep); overflow-wrap:anywhere; }
.office-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.9rem; }
.office-card { background:#fff; border:1px solid var(--line); border-radius:1rem; padding:1rem; position:relative; box-shadow:var(--shadow); overflow:hidden; }
.office-card::before { content:""; position:absolute; inset:0 0 auto 0; height:.25rem; background:linear-gradient(90deg,var(--brand),var(--green),var(--accent)); }
.office-number { display:inline-grid; place-items:center; width:2.2rem; height:2.2rem; border-radius:50%; background:var(--brand-soft); color:var(--brand-deep); font-weight:900; font-size:.8rem; }
.office-card h3 { margin:.75rem 0 .45rem; font-size:1.08rem; color:var(--brand-deep); }
.office-card address { font-style:normal; color:var(--ink); line-height:1.55; min-height:4.85rem; }
.office-meta { margin:.85rem 0 0; display:grid; gap:.45rem; }
.office-meta div { display:grid; grid-template-columns:4.6rem minmax(0,1fr); gap:.6rem; padding-top:.45rem; border-top:1px solid var(--line); }
.office-meta dt { color:var(--muted); font-size:.78rem; font-weight:850; text-transform:uppercase; letter-spacing:.06em; }
.office-meta dd { margin:0; color:var(--ink); font-weight:700; overflow-wrap:anywhere; }
@media (max-width:72rem) { .contact-channel-grid, .office-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .contact-overview-grid, .contact-feedback-band { grid-template-columns:1fr; } .feedback-note-card { min-width:0; } }
@media (max-width:42rem) { .contact-page { padding-top:1.5rem; } .contact-actions-grid, .contact-channel-grid, .office-grid { grid-template-columns:1fr; } .contact-primary-card { padding:1.25rem; } .office-card address { min-height:0; } .office-meta div { grid-template-columns:1fr; gap:.15rem; } }


/* v1.22: contact page map, links and no-cut contact text */
.contact-page .section-head {
  display: block;
}
.contact-page .section-head > div {
  width: 100%;
  max-width: 100%;
}
.contact-page .section-head p {
  max-width: none;
  width: 100%;
  line-height: 1.65;
  overflow-wrap: normal;
}
.contact-actions-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
}
.contact-actions-grid div:last-child {
  grid-column: 1 / -1;
}
.contact-actions-grid strong,
.email-nowrap,
.contact-channel-card strong {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}
.contact-map-card {
  overflow: hidden;
}
.google-map-embed {
  display: block;
  width: 100%;
  height: 17.5rem;
  border: 0;
  border-radius: .95rem;
  background: var(--surface-soft);
  box-shadow: inset 0 0 0 1px var(--line);
}
.map-link-row,
.feedback-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1rem;
}
.social-link-list {
  list-style: none;
  margin: .85rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.social-link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: .4rem .65rem;
  border-radius: 999rem;
  background: var(--brand-soft);
  border: 1px solid #cfe4f2;
  color: var(--brand-deep);
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}
.social-link-list a:hover,
.social-link-list a:focus-visible {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.feedback-note-card {
  min-width: min(24rem,100%);
}
.feedback-note-card .button,
.feedback-note-card .button.outline {
  width: 100%;
  justify-content: center;
}
.office-map-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin-top: .85rem;
  padding: .45rem .7rem;
  border: 1px solid var(--line);
  border-radius: 999rem;
  color: var(--brand-deep);
  background: var(--surface-soft);
  font-weight: 800;
  font-size: .9rem;
  text-decoration: none;
}
.office-map-link:hover,
.office-map-link:focus-visible {
  background: var(--brand-soft);
  border-color: #cfe4f2;
}
.office-meta dd .email-nowrap {
  display: inline-block;
}
@media (max-width:42rem) {
  .contact-actions-grid {
    grid-template-columns: 1fr;
  }
  .contact-actions-grid div:last-child {
    grid-column: auto;
  }
  .google-map-embed {
    height: 15rem;
  }
  .contact-actions-grid strong,
  .email-nowrap,
  .contact-channel-card strong {
    white-space: normal;
  }
}


/* v1.23: promote Bidang Kepakaran / Areas of Expertise to main navigation */
@media (min-width: 62.01rem) {
  .primary-nav a {
    padding-inline: .68rem;
    font-size: clamp(.82rem, .78vw, .95rem);
    white-space: nowrap;
  }
  .primary-nav ul {
    justify-content: center;
  }
}
@media (min-width: 80rem) {
  .primary-nav a {
    padding-inline: .82rem;
  }
}


/* v1.24: Bidang Kepakaran landing page and individual achievement pages */
.expertise-landing .notice {
  border-left: .35rem solid var(--green);
}
.expertise-summary {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(18rem,.45fr);
  gap: 1.2rem;
  align-items: stretch;
}
.expertise-summary-card {
  border-top: .3rem solid var(--brand);
}
.expertise-stat-card {
  background: linear-gradient(135deg,var(--brand-deep),var(--brand));
  color: #fff;
  border: 0;
  overflow: hidden;
  position: relative;
}
.expertise-stat-card::after {
  content: "";
  position: absolute;
  width: 12rem;
  height: 12rem;
  border: 1.4rem solid rgba(148,201,61,.25);
  border-radius: 50%;
  right: -4rem;
  bottom: -5rem;
}
.expertise-stat-card strong {
  display: block;
  font-size: clamp(2.4rem,5vw,4rem);
  line-height: 1;
}
.expertise-stat-card span {
  position: relative;
  display: block;
  margin-top: .4rem;
  font-weight: 750;
}
.expertise-card-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
}
.expertise-card {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  border-top: .28rem solid var(--brand);
  min-height: 100%;
}
.expertise-card:nth-child(3n+2) {
  border-top-color: var(--green);
}
.expertise-card:nth-child(3n) {
  border-top-color: var(--accent);
}
.expertise-card img {
  width: 2.65rem;
  height: 2.65rem;
}
.expertise-card h2,
.expertise-card h3 {
  margin-bottom: .25rem;
}
.expertise-card .chapter-tag,
.detail-meta .chapter-tag {
  width: fit-content;
  border-radius: 999rem;
  background: var(--brand-soft);
  color: var(--brand-deep);
  padding: .22rem .55rem;
  font-weight: 900;
  font-size: .8rem;
}
.expertise-card .metric-pill {
  width: fit-content;
  margin-top: auto;
  border-radius: 999rem;
  background: var(--accent-soft);
  color: var(--ink);
  border: 1px solid rgba(243,154,30,.35);
  padding: .3rem .6rem;
  font-weight: 850;
  font-size: .86rem;
}
.expertise-detail-hero .detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1rem;
}
.expertise-detail-layout {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(18rem,.42fr);
  gap: 1.2rem;
  align-items: start;
}
.achievement-panel {
  border-top: .32rem solid var(--green);
}
.achievement-list {
  margin: .75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .75rem;
}
.achievement-list li {
  position: relative;
  padding: .85rem .95rem .85rem 2.35rem;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: #fff;
}
.achievement-list li::before {
  content: "✓";
  position: absolute;
  left: .85rem;
  top: .85rem;
  width: 1.15rem;
  height: 1.15rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #123;
  font-size: .75rem;
  font-weight: 900;
}
.expertise-side-card {
  border-top: .32rem solid var(--accent);
}
.focus-list {
  margin: .75rem 0 0;
  padding-left: 1.1rem;
}
.focus-list li + li {
  margin-top: .45rem;
}
.related-expertise-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
}
.related-expertise-grid a {
  min-height: 100%;
}
@media (max-width:72rem) {
  .expertise-card-grid,
  .related-expertise-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width:62rem) {
  .expertise-summary,
  .expertise-detail-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width:42rem) {
  .expertise-card-grid,
  .related-expertise-grid {
    grid-template-columns: 1fr;
  }
}


/* v1.25: Bidang Kepakaran clean portal theme - no report/chapter styling */
.expertise-landing .page-hero,
.expertise-detail-hero {
  background: linear-gradient(135deg,var(--brand-deep),var(--brand));
}
.expertise-landing .notice {
  border-left-color: var(--brand);
}
.expertise-summary-card {
  border-top: .3rem solid var(--green);
}
.expertise-card-grid {
  align-items: stretch;
}
.expertise-card {
  border-top: 0;
  border-left: .28rem solid var(--line);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.expertise-card:hover,
.expertise-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(13,77,120,.12);
  border-left-color: var(--brand);
}
.expertise-card:nth-child(3n+2),
.expertise-card:nth-child(3n) {
  border-top-color: transparent;
}
.expertise-card:nth-child(3n+2) { border-left-color: var(--green); }
.expertise-card:nth-child(3n) { border-left-color: var(--accent); }
.expertise-card .button.outline {
  margin-top: auto;
  justify-content: center;
}
.expertise-card .chapter-tag,
.detail-meta .chapter-tag,
.expertise-card .metric-pill {
  display: none !important;
}
.expertise-card h2,
.expertise-card h3 {
  margin-top: .15rem;
}
.expertise-detail-hero .detail-meta {
  display: none;
}
.expertise-side-card {
  border-top-color: var(--brand);
}
.achievement-panel {
  border-top-color: var(--green);
}
@media (max-width:42rem) {
  .expertise-card {
    border-left-width: .24rem;
  }
}


/* v1.26: align Bidang Kepakaran with Mengenai JMG visual theme */
.expertise-landing.about-page {
  padding-top: 0;
}
.expertise-landing .page-hero,
.expertise-detail-page .page-hero {
  background: linear-gradient(135deg,var(--brand-deep),var(--brand));
  color: #fff;
}
.expertise-landing .page-hero .eyebrow,
.expertise-detail-page .page-hero .eyebrow {
  color: #ffd18a;
}
.expertise-landing .page-hero p,
.expertise-detail-page .page-hero p {
  color: rgba(255,255,255,.92);
}
.expertise-landing .page-actions .button,
.expertise-landing .page-actions .button.outline,
.expertise-detail-page .page-actions .button,
.expertise-detail-page .page-actions .button.outline {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.9);
  box-shadow: none;
}
.expertise-landing .page-actions .button:hover,
.expertise-landing .page-actions .button:focus-visible,
.expertise-detail-page .page-actions .button:hover,
.expertise-detail-page .page-actions .button:focus-visible {
  background: #fff;
  color: var(--brand-deep);
  border-color: #fff;
}
.expertise-landing .expertise-summary {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(18rem,.55fr);
  gap: 1.2rem;
  align-items: stretch;
}
.expertise-landing .expertise-summary-card {
  border-top: 0;
}
.expertise-landing .expertise-summary-card .about-main-icon,
.expertise-landing .expertise-source-panel .about-main-icon {
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: .85rem;
}
.expertise-source-panel {
  background: linear-gradient(180deg,#fff,var(--brand-soft));
}
.expertise-source-panel .fact-list dd {
  line-height: 1.45;
}
.expertise-landing #senarai-bidang {
  padding-top: 2.6rem;
}
.expertise-landing .expertise-card-grid {
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: .95rem;
}
.expertise-landing .expertise-card {
  border: 1px solid var(--line);
  border-radius: .9rem;
  padding: 1.05rem;
  position: relative;
  overflow: hidden;
  box-shadow: none;
  background: #fff;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.expertise-landing .expertise-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: .28rem;
  background: linear-gradient(90deg,var(--brand),var(--green),var(--accent));
}
.expertise-landing .expertise-card img {
  width: 2.55rem;
  height: 2.55rem;
  margin-bottom: .65rem;
}
.expertise-landing .expertise-card h2 {
  margin: .2rem 0 .4rem;
  font-size: 1.03rem;
  line-height: 1.25;
  color: var(--brand-deep);
}
.expertise-landing .expertise-card p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.55;
}
.expertise-landing .expertise-card .button {
  margin-top: auto;
  width: fit-content;
}
.expertise-detail-page .expertise-detail-layout {
  align-items: stretch;
}
.expertise-detail-page .achievement-panel,
.expertise-detail-page .expertise-side-card {
  border-radius: 1rem;
}
.expertise-detail-page .achievement-list li {
  box-shadow: none;
}
@media (max-width:72rem) {
  .expertise-landing .expertise-card-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}
@media (max-width:62rem) {
  .expertise-landing .expertise-summary {
    grid-template-columns: 1fr;
  }
  .expertise-landing .expertise-card-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width:42rem) {
  .expertise-landing .expertise-card-grid {
    grid-template-columns: 1fr;
  }
}


/* v1.27: searchable cooperation archive for Jalinan dan Hubungan Kerjasama */
.cooperation-archive-page .cooperation-tools {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}
.cooperation-filter-grid {
  display: grid;
  grid-template-columns: minmax(14rem,1.3fr) repeat(2,minmax(10rem,.7fr)) auto;
  gap: .75rem;
  align-items: end;
}
.cooperation-filter-grid label {
  display: grid;
  gap: .35rem;
  font-weight: 800;
  color: var(--ink);
}
.cooperation-filter-grid input,
.cooperation-filter-grid select {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  padding: .55rem .75rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.cooperation-filter-grid input:focus,
.cooperation-filter-grid select:focus {
  outline: 3px solid rgba(23,120,186,.22);
  border-color: var(--brand);
}
.cooperation-counter {
  margin-top: .75rem;
  color: var(--muted);
  font-weight: 750;
}
.cooperation-card-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
}
.cooperation-card {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  padding: 1rem;
  cursor: pointer;
  display: grid;
  gap: .65rem;
  box-shadow: none;
  font: inherit;
  color: inherit;
  min-height: 100%;
  position: relative;
  overflow: hidden;
}
.cooperation-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: .28rem;
  background: linear-gradient(90deg,var(--brand),var(--green),var(--accent));
}
.cooperation-card:hover,
.cooperation-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(23,120,186,.28);
  outline: none;
}
.cooperation-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.cooperation-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999rem;
  padding: .22rem .55rem;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: .78rem;
  font-weight: 900;
}
.cooperation-pill.green {
  background: rgba(148,201,61,.18);
  color: #31520d;
}
.cooperation-pill.orange {
  background: var(--accent-soft);
  color: #6d3a00;
}
.cooperation-card h2,
.cooperation-card h3 {
  margin: .1rem 0 0;
  color: var(--brand-deep);
  font-size: 1.04rem;
  line-height: 1.3;
}
.cooperation-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.cooperation-card small {
  color: var(--muted);
  font-weight: 750;
}
.cooperation-empty {
  display: none;
  border: 1px dashed var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
  background: var(--surface-soft);
  color: var(--muted);
}
.cooperation-dialog {
  width: min(54rem, calc(100vw - 2rem));
  border: 0;
  border-radius: 1rem;
  padding: 0;
  box-shadow: 0 1.2rem 4rem rgba(0,0,0,.28);
}
.cooperation-dialog::backdrop {
  background: rgba(4,19,36,.55);
}
.cooperation-dialog-inner {
  padding: 1.25rem;
}
.cooperation-dialog header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: .9rem;
  margin-bottom: 1rem;
}
.cooperation-dialog h2 {
  margin: .4rem 0 0;
  color: var(--brand-deep);
}
.cooperation-close {
  border: 1px solid var(--line);
  border-radius: 999rem;
  width: 2.35rem;
  height: 2.35rem;
  background: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}
.cooperation-detail-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .75rem;
}
.cooperation-detail-box {
  border: 1px solid var(--line);
  border-radius: .85rem;
  padding: .85rem;
  background: var(--surface-soft);
}
.cooperation-detail-box strong {
  display: block;
  color: var(--brand-deep);
  margin-bottom: .2rem;
}
.cooperation-dialog .achievement-list {
  margin-top: .75rem;
}
@media (max-width:72rem) {
  .cooperation-card-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .cooperation-filter-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width:42rem) {
  .cooperation-card-grid,
  .cooperation-detail-grid,
  .cooperation-filter-grid {
    grid-template-columns: 1fr;
  }
}


/* v1.28: fix cooperation filter UI/UX and visible records */
.cooperation-archive-page .cooperation-tools {
  padding: 1.1rem;
  background:
    linear-gradient(180deg,#fff,var(--surface-soft));
}
.cooperation-filter-grid {
  grid-template-columns: minmax(18rem,1.45fr) minmax(10rem,.55fr) minmax(14rem,.85fr) auto;
  gap: .85rem;
}
.cooperation-filter-grid label {
  font-size: .92rem;
}
.cooperation-filter-grid label span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.cooperation-filter-grid input,
.cooperation-filter-grid select {
  min-height: 3rem;
  border-radius: .9rem;
  border-color: #d8e4ec;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.cooperation-filter-grid input::placeholder {
  color: #708393;
}
.cooperation-filter-grid .button {
  min-height: 3rem;
  align-self: end;
  white-space: nowrap;
}
.cooperation-counter {
  display: inline-flex;
  width: fit-content;
  margin-top: .9rem;
  padding: .35rem .65rem;
  border-radius: 999rem;
  background: var(--brand-soft);
  color: var(--brand-deep);
}
.cooperation-card-grid {
  align-items: stretch;
}
.cooperation-card {
  min-height: 16rem;
}
.cooperation-card small {
  display: block;
  line-height: 1.45;
}
.cooperation-card p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cooperation-dialog-inner {
  max-height: min(84vh, 52rem);
  overflow: auto;
}
.cooperation-dialog .cooperation-detail-box span {
  overflow-wrap: anywhere;
}
@media (max-width:72rem) {
  .cooperation-filter-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cooperation-filter-grid label:first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width:42rem) {
  .cooperation-filter-grid {
    grid-template-columns: 1fr;
  }
  .cooperation-filter-grid label:first-child {
    grid-column: auto;
  }
  .cooperation-filter-grid .button {
    width: 100%;
    justify-content: center;
  }
}


/* v1.29: cooperation pagination, equal fields, neutral clickable pills and partner marquee */
.cooperation-filter-grid {
  grid-template-columns: minmax(18rem,1.45fr) minmax(9rem,.45fr) minmax(12rem,.65fr) minmax(9rem,.45fr) auto;
  align-items: stretch;
  gap: .85rem;
}
.cooperation-filter-grid label,
.cooperation-filter-grid .filter-action-wrap {
  min-height: 4.7rem;
}
.cooperation-filter-grid input,
.cooperation-filter-grid select,
.cooperation-filter-grid .button {
  height: 3rem;
}
.cooperation-filter-grid .filter-action-wrap {
  display: flex;
  align-items: end;
}
.cooperation-filter-grid .filter-action-wrap .button {
  width: 100%;
  justify-content: center;
}
.quick-filter-panel {
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
}
.quick-filter-panel strong {
  display: block;
  margin-bottom: .55rem;
  color: var(--brand-deep);
}
.quick-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.quick-filter-pill,
.cooperation-pill {
  border: 1px solid #d4dde5;
  background: #f3f6f8;
  color: #455968;
  border-radius: 999rem;
  padding: .28rem .62rem;
  font-size: .8rem;
  font-weight: 850;
  line-height: 1.2;
}
.quick-filter-pill { cursor: pointer; }
.quick-filter-pill:hover,
.quick-filter-pill:focus-visible,
.quick-filter-pill[aria-pressed="true"] {
  background: #e5ebf0;
  border-color: #aebdca;
  color: var(--brand-deep);
  outline: none;
}
.cooperation-pill.green,
.cooperation-pill.orange {
  background: #f3f6f8;
  color: #455968;
  border-color: #d4dde5;
}
.cooperation-card { min-height: 16rem; }
.cooperation-card p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cooperation-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  margin-top: 1.25rem;
}
.cooperation-page-button {
  min-width: 2.45rem;
  min-height: 2.45rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: #fff;
  color: var(--brand-deep);
  font-weight: 900;
  cursor: pointer;
}
.cooperation-page-button:hover,
.cooperation-page-button:focus-visible,
.cooperation-page-button[aria-current="page"] {
  background: var(--brand-deep);
  color: #fff;
  border-color: var(--brand-deep);
  outline: none;
}
.cooperation-page-button[disabled] {
  opacity: .45;
  cursor: not-allowed;
  background: #fff;
  color: var(--muted);
}
.cooperation-page-status {
  width: 100%;
  text-align: center;
  color: var(--muted);
  font-weight: 750;
  margin-top: .2rem;
}
.partner-marquee-card {
  overflow: hidden;
  border-top: .3rem solid var(--green);
}
.partner-marquee-card .section-head { margin-bottom: .95rem; }
.partner-marquee {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(180deg,#fff,var(--surface-soft));
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partner-marquee-track {
  display: flex;
  width: max-content;
  gap: .75rem;
  padding: .85rem;
  animation: partner-scroll 55s linear infinite;
}
.partner-marquee:hover .partner-marquee-track,
.partner-marquee:focus-within .partner-marquee-track { animation-play-state: paused; }
.partner-logo-card {
  flex: 0 0 auto;
  width: 12.5rem;
  min-height: 4.2rem;
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: center;
  gap: .65rem;
  padding: .65rem .75rem;
  border: 1px solid #d4dde5;
  border-radius: .95rem;
  background: #fff;
  box-shadow: 0 .35rem 1rem rgba(7,35,58,.05);
}
.partner-logo-card span {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: .9rem;
  background: #f3f6f8;
  color: var(--brand-deep);
  font-size: .82rem;
  font-weight: 950;
  text-align: center;
}
.partner-logo-card small {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.25;
}
@keyframes partner-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .partner-marquee-track { animation: none; flex-wrap: wrap; width: auto; }
}
@media (max-width:72rem) {
  .cooperation-filter-grid { grid-template-columns: 1fr 1fr; }
  .cooperation-filter-grid label:first-child,
  .cooperation-filter-grid .filter-action-wrap { grid-column: auto; }
}
@media (max-width:42rem) {
  .cooperation-filter-grid { grid-template-columns: 1fr; }
  .cooperation-filter-grid label,
  .cooperation-filter-grid .filter-action-wrap { min-height: auto; }
  .partner-logo-card { width: 11rem; }
}


/* v1.30: precise location filter and small grey card metadata */
.cooperation-card {
  display: flex;
  flex-direction: column;
}
.cooperation-card .cooperation-meta {
  display: none;
}
.cooperation-card-meta-line {
  margin-top: auto;
  padding-top: .7rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.45;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .5rem;
}
.cooperation-card-meta-line span {
  display: inline;
}
.cooperation-card-meta-line span + span::before {
  content: "•";
  margin-right: .5rem;
  color: #a8b5bf;
}
.cooperation-card small {
  color: #6f7f8d;
  font-size: .82rem;
}
.cooperation-pill,
.cooperation-pill.green,
.cooperation-pill.orange {
  background: #f3f6f8;
  color: #596a78;
  border-color: #d4dde5;
}
.quick-filter-pill,
.cooperation-pill {
  box-shadow: none;
}


/* v1.31: standalone moving partner strip, no intro summary box */
.cooperation-archive-page .cooperation-partners-section {
  padding: 1.65rem 0 0;
  background: #fff;
  overflow: hidden;
}
.cooperation-archive-page .partner-marquee-card {
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.cooperation-archive-page .partner-marquee-card .section-head {
  margin-bottom: .65rem;
}
.cooperation-archive-page .partner-marquee-card .section-head h2 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}
.cooperation-archive-page .partner-marquee-card .section-head p {
  max-width: 100%;
}
.cooperation-archive-page .partner-marquee {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #f8fbfd, #fff, #f8fbfd);
  padding: .75rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.cooperation-archive-page .partner-marquee-track {
  gap: .7rem;
}
.cooperation-archive-page .partner-logo-card {
  min-width: 13.5rem;
  border: 1px solid #dde7ee;
  background: rgba(255,255,255,.86);
  box-shadow: none;
}
.cooperation-archive-page .partner-logo-card span {
  color: var(--brand-deep);
}
.cooperation-archive-page #senarai-kerjasama {
  padding-top: 2.2rem;
}
@media (max-width:42rem) {
  .cooperation-archive-page .partner-logo-card {
    min-width: 11.5rem;
  }
}


/* v1.32: all available annual reports dataset for cooperation page */
.cooperation-archive-page .cooperation-source-note {
  margin-top: .8rem;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
}
.cooperation-archive-page .partner-logo-card {
  min-width: 14.5rem;
}
.cooperation-dialog .cooperation-detail-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
}
@media (max-width:42rem) {
  .cooperation-archive-page .partner-logo-card { min-width: 12.25rem; }
}


/* v1.33: English cooperation page language alignment */
html[lang="en"] .cooperation-archive-page .cooperation-card h2 {
  letter-spacing: -0.01em;
}
html[lang="en"] .cooperation-archive-page .section-head p {
  max-width: 100%;
}
html[lang="en"] .cooperation-archive-page .cooperation-card-meta-line {
  color: var(--muted);
}


/* v1.34: cooperation subtitle width, marquee fade blur and lighter form text */
.cooperation-archive-page .section-head {
  display: block;
  max-width: 100%;
}
.cooperation-archive-page .section-head > div {
  width: 100%;
  max-width: 100%;
}
.cooperation-archive-page .section-head p {
  width: 100%;
  max-width: none;
  white-space: normal !important;
  overflow-wrap: normal;
  text-wrap: pretty;
  line-height: 1.65;
}
@media (min-width: 78rem) {
  .cooperation-archive-page .section-head p {
    white-space: nowrap !important;
  }
}
.cooperation-archive-page .partner-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 11%, #000 89%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 11%, #000 89%, transparent 100%);
}
.cooperation-archive-page .partner-marquee::before,
.cooperation-archive-page .partner-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(8rem, 14vw);
  z-index: 3;
  pointer-events: none;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.cooperation-archive-page .partner-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.88) 34%, rgba(255,255,255,0) 100%);
}
.cooperation-archive-page .partner-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #fff 0%, rgba(255,255,255,.88) 34%, rgba(255,255,255,0) 100%);
}
.cooperation-archive-page .partner-marquee-track {
  position: relative;
  z-index: 1;
}
.cooperation-filter-grid label {
  font-weight: 700;
}
.cooperation-filter-grid label span {
  font-weight: 700;
  color: var(--brand-deep);
}
.cooperation-filter-grid input,
.cooperation-filter-grid select {
  font-weight: 500;
  color: var(--ink);
}
.cooperation-filter-grid input::placeholder {
  font-weight: 400;
}
.cooperation-filter-grid option {
  font-weight: 400;
  color: var(--ink);
}
.cooperation-filter-grid .button {
  font-weight: 750;
}
.cooperation-counter {
  font-weight: 650;
}
.quick-filter-panel strong {
  font-weight: 750;
}
.quick-filter-pill {
  font-weight: 650;
}
@media (max-width: 77.99rem) {
  .cooperation-archive-page .section-head p {
    white-space: normal !important;
  }
}
@media (max-width: 42rem) {
  .cooperation-archive-page .partner-marquee::before,
  .cooperation-archive-page .partner-marquee::after {
    width: 3.5rem;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }
}


/* v1.35: official service page for Technical Advisory and Consultation */
.advisory-official-page .advisory-intro-grid {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(18rem,.45fr);
  gap: 1.2rem;
  align-items: stretch;
}
.advisory-official-page .advisory-lead-card {
  border-top: .32rem solid var(--green);
}
.advisory-official-page .advisory-lead-card .business-section-icon,
.advisory-official-page .advisory-side-card .business-section-icon {
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: .85rem;
}
.advisory-official-page .advisory-side-card {
  background: linear-gradient(180deg,#fff,var(--brand-soft));
}
.advisory-official-page .advisory-service-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1rem;
}
.advisory-official-page .advisory-service-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.advisory-official-page .advisory-service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: .28rem;
  background: linear-gradient(90deg,var(--brand),var(--green),var(--accent));
}
.advisory-official-page .advisory-service-card img {
  width: 2.55rem;
  height: 2.55rem;
  margin: .3rem 0 .65rem;
}
.advisory-official-page .advisory-service-card h2,
.advisory-official-page .advisory-service-card h3 {
  color: var(--brand-deep);
  margin-bottom: .45rem;
}
.advisory-official-page .advisory-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .85rem;
}
.advisory-official-page .advisory-chip {
  display: inline-flex;
  border: 1px solid #d5e2ea;
  border-radius: 999rem;
  padding: .25rem .58rem;
  background: #f5f8fa;
  color: #536675;
  font-size: .82rem;
  font-weight: 650;
}
.advisory-official-page .advisory-process-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 1rem;
  counter-reset: advisory-step;
}
.advisory-official-page .advisory-step-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  padding: 1rem;
  min-height: 100%;
  position: relative;
}
.advisory-official-page .advisory-step-card::before {
  counter-increment: advisory-step;
  content: counter(advisory-step);
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: var(--brand-deep);
  color: #fff;
  font-weight: 900;
  margin-bottom: .75rem;
}
.advisory-official-page .advisory-step-card h3 {
  margin-bottom: .35rem;
  color: var(--brand-deep);
}
.advisory-official-page .advisory-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
}
.advisory-official-page .advisory-highlight-card {
  border-top: .28rem solid var(--brand);
}
.advisory-official-page .advisory-highlight-card:nth-child(2) {
  border-top-color: var(--green);
}
.advisory-official-page .advisory-highlight-card:nth-child(3) {
  border-top-color: var(--accent);
}
.advisory-official-page .advisory-highlight-card strong {
  display: block;
  color: var(--brand-deep);
  font-size: clamp(1.75rem,3vw,2.65rem);
  line-height: 1;
  margin-bottom: .45rem;
}
.advisory-official-page .advisory-doc-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .65rem;
  margin: .9rem 0 0;
  padding: 0;
  list-style: none;
}
.advisory-official-page .advisory-doc-list li {
  border: 1px solid var(--line);
  border-radius: .85rem;
  padding: .75rem .85rem;
  background: var(--surface-soft);
}
.advisory-official-page .advisory-note {
  border-left: .32rem solid var(--accent);
}
.advisory-official-page .section-head {
  display: block;
}
.advisory-official-page .section-head > div,
.advisory-official-page .section-head p {
  width: 100%;
  max-width: none;
}
@media (min-width: 78rem) {
  .advisory-official-page .section-head p {
    white-space: nowrap;
  }
}
@media (max-width:72rem) {
  .advisory-official-page .advisory-process-grid,
  .advisory-official-page .advisory-highlight-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width:62rem) {
  .advisory-official-page .advisory-intro-grid,
  .advisory-official-page .advisory-service-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width:42rem) {
  .advisory-official-page .advisory-process-grid,
  .advisory-official-page .advisory-highlight-grid,
  .advisory-official-page .advisory-doc-list {
    grid-template-columns: 1fr;
  }
}


/* v1.36: keep section subtitles inside container margin + 2024 technical advisory records */
.cooperation-archive-page .section-head,
.advisory-official-page .section-head {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.cooperation-archive-page .section-head > div,
.advisory-official-page .section-head > div {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.cooperation-archive-page .section-head p,
.advisory-official-page .section-head p {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  white-space: normal !important;
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: pretty;
  line-height: 1.65;
}
.advisory-official-page .advisory-stat-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.advisory-official-page .advisory-stat-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  padding: 1rem;
  min-height: 100%;
  position: relative;
  overflow: hidden;
}
.advisory-official-page .advisory-stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: .24rem;
  background: linear-gradient(90deg,var(--brand),var(--green),var(--accent));
}
.advisory-official-page .advisory-stat-card strong {
  display: block;
  color: var(--brand-deep);
  font-size: clamp(1.75rem,3vw,2.65rem);
  line-height: 1;
  margin: .35rem 0 .35rem;
}
.advisory-official-page .advisory-stat-card span {
  display: block;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
}
.advisory-official-page .advisory-record-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1rem;
}
.advisory-official-page .advisory-record-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  padding: 1.05rem;
  box-shadow: none;
}
.advisory-official-page .advisory-record-card h3 {
  color: var(--brand-deep);
  margin-bottom: .45rem;
}
.advisory-official-page .advisory-record-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: .65rem 0 .8rem;
}
.advisory-official-page .advisory-record-meta span {
  border: 1px solid #d5e2ea;
  border-radius: 999rem;
  padding: .22rem .55rem;
  background: #f5f8fa;
  color: #536675;
  font-size: .8rem;
  font-weight: 650;
}
.advisory-official-page .advisory-record-card dl {
  display: grid;
  gap: .65rem;
  margin: .85rem 0 0;
}
.advisory-official-page .advisory-record-card dl div {
  border-top: 1px solid var(--line);
  padding-top: .65rem;
}
.advisory-official-page .advisory-record-card dt {
  color: var(--brand-deep);
  font-weight: 850;
  margin-bottom: .2rem;
}
.advisory-official-page .advisory-record-card dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.advisory-official-page .advisory-record-list {
  margin: .45rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}
.advisory-official-page .advisory-record-list li + li {
  margin-top: .25rem;
}
@media (max-width:72rem) {
  .advisory-official-page .advisory-stat-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width:42rem) {
  .advisory-official-page .advisory-stat-grid,
  .advisory-official-page .advisory-record-grid {
    grid-template-columns: 1fr;
  }
}


/* v1.37: technical advisory sorotan page based on annual reports */
.advisory-sorotan-page .advisory-stat-grid-wide {
  grid-template-columns: repeat(3,minmax(0,1fr));
}
.advisory-sorotan-page .advisory-stat-card strong {
  letter-spacing: -0.04em;
}
.advisory-sorotan-page .advisory-service-card p {
  color: var(--muted);
  line-height: 1.62;
}
.advisory-sorotan-page .advisory-tools {
  background: linear-gradient(180deg,#fff,var(--surface-soft));
}
.advisory-sorotan-page .advisory-filter-grid {
  grid-template-columns: minmax(18rem,1.3fr) minmax(8rem,.45fr) minmax(13rem,.7fr) minmax(9rem,.45fr) auto;
}
.advisory-sorotan-page .advisory-card-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
}
.advisory-sorotan-page .advisory-sorotan-card {
  min-height: 15.5rem;
}
.advisory-sorotan-page .cooperation-card small {
  color: #6f7f8d;
  font-size: .8rem;
  line-height: 1.45;
}
.advisory-sorotan-page .cooperation-card p {
  -webkit-line-clamp: 5;
}
.advisory-sorotan-page .section-head,
.advisory-sorotan-page .section-head > div,
.advisory-sorotan-page .section-head p {
  max-width: 100%;
  width: 100%;
  white-space: normal !important;
  overflow-wrap: break-word;
}
.advisory-sorotan-page .cooperation-filter-grid label span,
.advisory-sorotan-page .quick-filter-panel strong {
  font-weight: 700;
}
.advisory-sorotan-page .cooperation-filter-grid input,
.advisory-sorotan-page .cooperation-filter-grid select,
.advisory-sorotan-page .cooperation-filter-grid option {
  font-weight: 400;
}
@media (max-width:72rem) {
  .advisory-sorotan-page .advisory-stat-grid-wide,
  .advisory-sorotan-page .advisory-card-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .advisory-sorotan-page .advisory-filter-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width:42rem) {
  .advisory-sorotan-page .advisory-stat-grid-wide,
  .advisory-sorotan-page .advisory-card-grid,
  .advisory-sorotan-page .advisory-filter-grid {
    grid-template-columns: 1fr;
  }
}


/* v1.38: actual technical advisory activity records and aggregated statistics */
.advisory-sorotan-page .advisory-stat-card em {
  display: block;
  margin-top: .28rem;
  color: var(--muted);
  font-style: normal;
  font-size: .86rem;
  line-height: 1.45;
  font-weight: 560;
}
.advisory-sorotan-page .advisory-stat-grid-wide {
  grid-template-columns: repeat(4,minmax(0,1fr));
}
.advisory-sorotan-page .advisory-service-card {
  background: linear-gradient(180deg,#fff,#fbfdff);
}
.advisory-sorotan-page .advisory-tools .cooperation-counter {
  background: #eef5fa;
  color: var(--brand-deep);
}
.advisory-sorotan-page .advisory-card-grid .cooperation-card h2 {
  color: var(--brand-deep);
}
.advisory-sorotan-page .advisory-card-grid .cooperation-card small {
  color: #6f7f8d;
  font-weight: 650;
}
@media (max-width:72rem) {
  .advisory-sorotan-page .advisory-stat-grid-wide {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width:42rem) {
  .advisory-sorotan-page .advisory-stat-grid-wide {
    grid-template-columns: 1fr;
  }
}


/* v1.39: public-facing technical advisory wording refinement */
.advisory-official-page .cooperation-detail-box strong {
  color: var(--brand-deep);
}


/* v1.41: official Information Management page */
.info-management-page .section-head {
  display: block;
  width: 100%;
  max-width: 100%;
}
.info-management-page .section-head > div,
.info-management-page .section-head p {
  width: 100%;
  max-width: 100%;
}
.info-management-page .section-head p {
  white-space: normal !important;
  overflow-wrap: break-word;
  text-wrap: pretty;
  line-height: 1.65;
}
.info-management-page .info-intro-grid {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(18rem,.45fr);
  gap: 1.2rem;
  align-items: stretch;
}
.info-management-page .info-lead-card {
  border-top: .32rem solid var(--green);
}
.info-management-page .info-side-card {
  background: linear-gradient(180deg,#fff,var(--brand-soft));
}
.info-management-page .info-lead-card .business-section-icon,
.info-management-page .info-side-card .business-section-icon {
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: .85rem;
}
.info-management-page .info-scope-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 1rem;
}
.info-management-page .info-scope-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.info-management-page .info-scope-card::before,
.info-management-page .info-stat-card::before,
.info-management-page .info-record-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: .25rem;
  background: linear-gradient(90deg,var(--brand),var(--green),var(--accent));
}
.info-management-page .info-scope-card img {
  width: 2.55rem;
  height: 2.55rem;
  margin: .3rem 0 .65rem;
}
.info-management-page .info-scope-card h3 {
  color: var(--brand-deep);
  margin-bottom: .45rem;
}
.info-management-page .info-stat-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
}
.info-management-page .info-stat-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 .25rem .8rem rgba(15,42,64,.05);
  display: flex;
  flex-direction: column;
  min-height: 14rem;
}
.info-management-page .info-stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: .22rem;
  background: linear-gradient(90deg,var(--brand),var(--green),var(--accent));
}
.info-management-page .info-stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1rem .2rem;
}
.info-management-page .info-stat-top small {
  margin: 0;
  color: #6f7f8d;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.25;
}
.info-management-page .info-stat-top span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #12926b;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.info-management-page .info-stat-card strong {
  display: block;
  color: var(--brand-deep);
  font-size: clamp(2rem,3vw,2.6rem);
  line-height: 1;
  margin: .2rem 0 .55rem;
  padding: 0 1rem;
}
.info-management-page .info-stat-card b {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 850;
  line-height: 1.3;
  padding: 0 1rem .9rem;
}
.info-management-page .info-stat-bottom {
  margin-top: auto;
  padding: .9rem 1rem 1rem;
  border-top: 1px solid var(--line);
  color: #354b5e;
  font-weight: 650;
  line-height: 1.5;
  background: linear-gradient(180deg,#fff,#fbfdff);
}
.info-management-page .info-record-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
}
.info-management-page .info-record-card {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  padding: 1rem;
  cursor: pointer;
  color: inherit;
  font: inherit;
  display: flex;
  flex-direction: column;
  min-height: 16rem;
  position: relative;
  overflow: hidden;
}
.info-management-page .info-record-card:hover,
.info-management-page .info-record-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(23,120,186,.28);
  outline: none;
}
.info-management-page .info-record-card h3 {
  color: var(--brand-deep);
  font-size: 1.04rem;
  line-height: 1.32;
  margin: .15rem 0 .45rem;
}
.info-management-page .info-record-card small {
  color: #6f7f8d;
  font-size: .82rem;
  line-height: 1.45;
  font-weight: 700;
}
.info-management-page .info-record-card p {
  color: var(--muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.info-management-page .info-card-meta {
  margin-top: auto;
  padding-top: .7rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .5rem;
}
.info-management-page .info-card-meta span + span::before {
  content: "•";
  margin-right: .5rem;
  color: #a8b5bf;
}
.info-management-page .info-filter-grid {
  grid-template-columns: minmax(18rem,1.45fr) minmax(9rem,.45fr) minmax(13rem,.6fr) minmax(9rem,.45fr) auto;
}
.info-management-page .cooperation-filter-grid input,
.info-management-page .cooperation-filter-grid select {
  font-weight: 500;
}
.info-management-page .cooperation-filter-grid option {
  font-weight: 400;
}
.info-management-page .quick-filter-pill {
  font-weight: 650;
}
.info-management-page .info-dialog {
  width: min(54rem, calc(100vw - 2rem));
  border: 0;
  border-radius: 1rem;
  padding: 0;
  box-shadow: 0 1.2rem 4rem rgba(0,0,0,.28);
}
.info-management-page .info-dialog::backdrop {
  background: rgba(4,19,36,.55);
}
.info-management-page .info-dialog-inner {
  padding: 1.25rem;
  max-height: min(84vh,52rem);
  overflow: auto;
}
.info-management-page .info-dialog header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: .9rem;
  margin-bottom: 1rem;
}
.info-management-page .info-dialog h2 {
  margin: .4rem 0 0;
  color: var(--brand-deep);
}
.info-management-page .info-close {
  border: 1px solid var(--line);
  border-radius: 999rem;
  width: 2.35rem;
  height: 2.35rem;
  background: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}
.info-management-page .info-detail-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .75rem;
}
.info-management-page .info-detail-box {
  border: 1px solid var(--line);
  border-radius: .85rem;
  padding: .85rem;
  background: var(--surface-soft);
}
.info-management-page .info-detail-box strong {
  display: block;
  color: var(--brand-deep);
  margin-bottom: .2rem;
}
@media (max-width:72rem) {
  .info-management-page .info-scope-grid,
  .info-management-page .info-stat-grid,
  .info-management-page .info-record-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .info-management-page .info-filter-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width:62rem) {
  .info-management-page .info-intro-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width:42rem) {
  .info-management-page .info-scope-grid,
  .info-management-page .info-stat-grid,
  .info-management-page .info-record-grid,
  .info-management-page .info-detail-grid,
  .info-management-page .info-filter-grid {
    grid-template-columns: 1fr;
  }
}


/* v1.43: standard impact statistic cards and safe subtitle margins */
.info-management-page .section-head p,
.advisory-official-page .section-head p,
.cooperation-archive-page .section-head p {
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
.info-management-page .impact-stat-grid,
.advisory-official-page .impact-stat-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
}
.info-management-page .impact-stat-card,
.advisory-official-page .impact-stat-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 .25rem .8rem rgba(15,42,64,.05);
  display: flex;
  flex-direction: column;
  min-height: 14rem;
}
.info-management-page .impact-stat-card::before,
.advisory-official-page .impact-stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: .22rem;
  background: linear-gradient(90deg,var(--brand),var(--green),var(--accent));
}
.info-management-page .impact-stat-top,
.advisory-official-page .impact-stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1rem .2rem;
}
.info-management-page .impact-stat-top small,
.advisory-official-page .impact-stat-top small {
  margin: 0;
  color: #6f7f8d;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.25;
}
.info-management-page .impact-stat-top span,
.advisory-official-page .impact-stat-top span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #12926b;
  font-size: .86rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.info-management-page .impact-stat-card strong,
.advisory-official-page .impact-stat-card strong {
  display: block;
  color: var(--brand-deep);
  font-size: clamp(2rem,3vw,2.6rem);
  line-height: 1;
  margin: .2rem 0 .55rem;
  padding: 0 1rem;
}
.info-management-page .impact-stat-card b,
.advisory-official-page .impact-stat-card b {
  display: block;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 850;
  line-height: 1.3;
  padding: 0 1rem .9rem;
}
.info-management-page .impact-stat-bottom,
.advisory-official-page .impact-stat-bottom {
  margin-top: auto;
  padding: .9rem 1rem 1rem;
  border-top: 1px solid var(--line);
  color: #354b5e;
  font-weight: 650;
  line-height: 1.5;
  background: linear-gradient(180deg,#fff,#fbfdff);
}
@media (max-width:72rem) {
  .info-management-page .impact-stat-grid,
  .advisory-official-page .impact-stat-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width:42rem) {
  .info-management-page .impact-stat-grid,
  .advisory-official-page .impact-stat-grid {
    grid-template-columns: 1fr;
  }
}


/* v1.44: gradient service-scope cards adapted from the requested card component for static HTML */
.jmg-gradient-card-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1.15rem;
}
.jmg-gradient-card {
  position: relative;
  display: flex;
  min-height: 19rem;
  overflow: hidden;
  border: 1px solid rgba(214,226,235,.95);
  border-radius: 1.25rem;
  padding: 1.35rem;
  background: linear-gradient(135deg,#f8fafc,#eef4f8);
  box-shadow: 0 .25rem .9rem rgba(15,42,64,.05);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.jmg-gradient-card:hover,
.jmg-gradient-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(23,120,186,.32);
  box-shadow: 0 1rem 2rem rgba(15,42,64,.10);
}
.jmg-gradient-card--blue {
  background: linear-gradient(135deg,rgba(23,120,186,.13),rgba(224,242,254,.85));
}
.jmg-gradient-card--green {
  background: linear-gradient(135deg,rgba(148,201,61,.16),rgba(236,253,245,.86));
}
.jmg-gradient-card--orange {
  background: linear-gradient(135deg,rgba(243,154,30,.15),rgba(255,247,237,.88));
}
.jmg-gradient-card--purple {
  background: linear-gradient(135deg,rgba(124,58,237,.12),rgba(238,242,255,.88));
}
.jmg-gradient-card__graphic {
  position: absolute;
  right: -8%;
  bottom: -14%;
  width: min(14rem,42%);
  height: auto;
  opacity: .2;
  pointer-events: none;
  transform: rotate(4deg);
  filter: saturate(1.05);
  transition: transform .32s ease, opacity .32s ease;
}
.jmg-gradient-card:hover .jmg-gradient-card__graphic,
.jmg-gradient-card:focus-within .jmg-gradient-card__graphic {
  transform: scale(1.08) rotate(8deg);
  opacity: .28;
}
.jmg-gradient-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
}
.jmg-gradient-card__badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  width: fit-content;
  margin-bottom: 1rem;
  padding: .36rem .72rem;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 999rem;
  background: rgba(255,255,255,.62);
  color: #385164;
  font-size: .84rem;
  font-weight: 750;
  line-height: 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.jmg-gradient-card__dot {
  width: .52rem;
  height: .52rem;
  border-radius: 50%;
  background: var(--brand);
}
.jmg-gradient-card__dot--green { background: var(--green); }
.jmg-gradient-card__dot--orange { background: var(--accent); }
.jmg-gradient-card__dot--purple { background: #7c3aed; }
.jmg-gradient-card h3 {
  margin: 0 0 .55rem;
  color: var(--brand-deep);
  font-size: clamp(1.32rem,2.2vw,1.85rem);
  line-height: 1.16;
  letter-spacing: -.02em;
}
.jmg-gradient-card p {
  max-width: 34rem;
  margin: 0;
  color: #415669;
  font-weight: 600;
  line-height: 1.62;
}
.jmg-gradient-card__cta {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  width: fit-content;
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--brand-deep);
  font-weight: 850;
  text-decoration: none;
}
.jmg-gradient-card__cta span {
  transition: transform .28s ease;
}
.jmg-gradient-card__cta:hover span,
.jmg-gradient-card__cta:focus-visible span {
  transform: translateX(.25rem);
}
.info-management-page .info-scope-grid,
.advisory-official-page .advisory-service-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
}
.info-management-page .info-scope-card,
.advisory-official-page .advisory-service-card {
  border-top: 0;
}
.info-management-page .info-scope-card::before,
.advisory-official-page .advisory-service-card::before {
  content: none;
}
@media (max-width: 62rem) {
  .jmg-gradient-card-grid,
  .info-management-page .info-scope-grid,
  .advisory-official-page .advisory-service-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 42rem) {
  .jmg-gradient-card {
    min-height: 17rem;
    padding: 1.05rem;
  }
  .jmg-gradient-card__graphic {
    width: 10rem;
    opacity: .14;
  }
}


/* v1.45: gradient scope cards with larger contextual Flaticon-style graphics, no card CTA */
.jmg-gradient-card {
  min-height: 18.25rem;
  padding: 1.55rem;
  isolation: isolate;
}
.jmg-gradient-card__content {
  max-width: 76%;
  min-height: 100%;
}
.jmg-gradient-card h3 {
  max-width: 24rem;
}
.jmg-gradient-card p {
  max-width: 25rem;
  color: #364d60;
  font-weight: 600;
}
.jmg-gradient-card__graphic {
  right: -11%;
  bottom: -18%;
  width: min(19rem,54%);
  opacity: .54;
  filter: saturate(1.12) drop-shadow(0 1rem 1.25rem rgba(15,42,64,.16));
  z-index: 0;
}
.jmg-gradient-card:hover .jmg-gradient-card__graphic,
.jmg-gradient-card:focus-within .jmg-gradient-card__graphic {
  transform: scale(1.06) rotate(7deg);
  opacity: .66;
}
.jmg-gradient-card__cta {
  display: none !important;
}
.info-management-page .info-scope-card,
.advisory-official-page .advisory-service-card {
  align-items: stretch;
}
@media (max-width: 62rem) {
  .jmg-gradient-card__content {
    max-width: 78%;
  }
  .jmg-gradient-card__graphic {
    width: min(17rem,50%);
    opacity: .36;
  }
}
@media (max-width: 42rem) {
  .jmg-gradient-card {
    min-height: 17rem;
    padding: 1.15rem;
  }
  .jmg-gradient-card__content {
    max-width: 100%;
    padding-right: 4.2rem;
  }
  .jmg-gradient-card__graphic {
    right: -16%;
    bottom: -16%;
    width: 11.5rem;
    opacity: .18;
  }
}


/* v1.46: fix gradient card large icon visibility against older page-specific img rules */
.info-management-page .info-scope-card .jmg-gradient-card__graphic,
.advisory-official-page .advisory-service-card .jmg-gradient-card__graphic {
  display: block !important;
  position: absolute !important;
  right: -8% !important;
  bottom: -14% !important;
  width: min(18.5rem,52%) !important;
  height: auto !important;
  max-width: none !important;
  margin: 0 !important;
  opacity: .58 !important;
  pointer-events: none;
  z-index: 0;
  transform: rotate(4deg);
  filter: saturate(1.12) drop-shadow(0 1rem 1.25rem rgba(15,42,64,.16));
  transition: transform .32s ease, opacity .32s ease;
}
.info-management-page .info-scope-card:hover .jmg-gradient-card__graphic,
.info-management-page .info-scope-card:focus-within .jmg-gradient-card__graphic,
.advisory-official-page .advisory-service-card:hover .jmg-gradient-card__graphic,
.advisory-official-page .advisory-service-card:focus-within .jmg-gradient-card__graphic {
  transform: scale(1.06) rotate(7deg);
  opacity: .72 !important;
}
.info-management-page .info-scope-card .jmg-gradient-card__content,
.advisory-official-page .advisory-service-card .jmg-gradient-card__content {
  position: relative;
  z-index: 1;
  max-width: 76%;
}
@media (max-width: 62rem) {
  .info-management-page .info-scope-card .jmg-gradient-card__graphic,
  .advisory-official-page .advisory-service-card .jmg-gradient-card__graphic {
    width: min(16rem,48%) !important;
    opacity: .36 !important;
  }
  .info-management-page .info-scope-card .jmg-gradient-card__content,
  .advisory-official-page .advisory-service-card .jmg-gradient-card__content {
    max-width: 78%;
  }
}
@media (max-width: 42rem) {
  .info-management-page .info-scope-card .jmg-gradient-card__graphic,
  .advisory-official-page .advisory-service-card .jmg-gradient-card__graphic {
    right: -16% !important;
    bottom: -16% !important;
    width: 11.5rem !important;
    opacity: .20 !important;
  }
  .info-management-page .info-scope-card .jmg-gradient-card__content,
  .advisory-official-page .advisory-service-card .jmg-gradient-card__content {
    max-width: 100%;
    padding-right: 4.2rem;
  }
}


/* v1.47: Bidang Kepakaran landing uses static GradientCard-style cards */
.expertise-landing .expertise-card-grid.jmg-gradient-card-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1.35rem;
}
.expertise-landing .expertise-gradient-card {
  min-height: 20rem;
  padding: 1.65rem;
}
.expertise-landing .expertise-gradient-card .jmg-gradient-card__content {
  max-width: 74%;
}
.expertise-landing .expertise-gradient-card .jmg-gradient-card__graphic {
  display: block !important;
  position: absolute !important;
  right: -9% !important;
  bottom: -15% !important;
  width: min(19rem,54%) !important;
  height: auto !important;
  max-width: none !important;
  margin: 0 !important;
  opacity: .58 !important;
  pointer-events: none;
  z-index: 0;
  transform: rotate(4deg);
  filter: saturate(1.12) drop-shadow(0 1rem 1.25rem rgba(15,42,64,.16));
  transition: transform .32s ease, opacity .32s ease;
}
.expertise-landing .expertise-gradient-card:hover .jmg-gradient-card__graphic,
.expertise-landing .expertise-gradient-card:focus-within .jmg-gradient-card__graphic {
  transform: scale(1.06) rotate(7deg);
  opacity: .72 !important;
}
.expertise-landing .expertise-gradient-card .jmg-gradient-card__cta {
  display: inline-flex !important;
  align-items: center;
  gap: .45rem;
  width: fit-content;
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--brand-deep);
  font-weight: 850;
  text-decoration: none;
}
.expertise-landing .expertise-gradient-card .jmg-gradient-card__cta span {
  transition: transform .28s ease;
}
.expertise-landing .expertise-gradient-card .jmg-gradient-card__cta:hover span,
.expertise-landing .expertise-gradient-card .jmg-gradient-card__cta:focus-visible span {
  transform: translateX(.25rem);
}
.expertise-landing .section-head {
  display: block;
  width: 100%;
  max-width: 100%;
}
.expertise-landing .section-head > div,
.expertise-landing .section-head p {
  width: 100%;
  max-width: 100%;
}
.expertise-landing .section-head p {
  white-space: normal !important;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
@media (max-width: 72rem) {
  .expertise-landing .expertise-card-grid.jmg-gradient-card-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 42rem) {
  .expertise-landing .expertise-gradient-card {
    min-height: 17rem;
    padding: 1.15rem;
  }
  .expertise-landing .expertise-gradient-card .jmg-gradient-card__content {
    max-width: 100%;
    padding-right: 4.2rem;
  }
  .expertise-landing .expertise-gradient-card .jmg-gradient-card__graphic {
    right: -16% !important;
    bottom: -16% !important;
    width: 11.5rem !important;
    opacity: .20 !important;
  }
}


/* v1.48: Laboratory Services official page, statistics and searchable highlights */
.lab-services-page .section-head {
  display: block;
  width: 100%;
  max-width: 100%;
}
.lab-services-page .section-head > div,
.lab-services-page .section-head p {
  width: 100%;
  max-width: 100%;
}
.lab-services-page .section-head p {
  white-space: normal !important;
  overflow-wrap: break-word;
  text-wrap: pretty;
  line-height: 1.65;
}
.lab-services-page .lab-intro-grid {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(18rem,.45fr);
  gap: 1.2rem;
  align-items: stretch;
}
.lab-services-page .lab-lead-card { border-top: .32rem solid var(--green); }
.lab-services-page .lab-side-card { background: linear-gradient(180deg,#fff,var(--brand-soft)); }
.lab-services-page .lab-lead-card .business-section-icon,
.lab-services-page .lab-side-card .business-section-icon { width: 3.2rem; height: 3.2rem; margin-bottom: .85rem; }
.lab-services-page .lab-stat-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
}
.lab-services-page .lab-stat-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 .25rem .8rem rgba(15,42,64,.05);
  display: flex;
  flex-direction: column;
  min-height: 14rem;
}
.lab-services-page .lab-stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: .22rem;
  background: linear-gradient(90deg,var(--brand),var(--green),var(--accent));
}
.lab-services-page .lab-stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1rem .2rem;
}
.lab-services-page .lab-stat-top small { color:#6f7f8d; font-size:.88rem; font-weight:700; line-height:1.25; }
.lab-services-page .lab-stat-top span { color:#12926b; font-size:.88rem; font-weight:800; line-height:1; white-space:nowrap; }
.lab-services-page .lab-stat-card strong { display:block; color:var(--brand-deep); font-size:clamp(2rem,3vw,2.6rem); line-height:1; margin:.2rem 0 .55rem; padding:0 1rem; }
.lab-services-page .lab-stat-card b { display:block; color:var(--ink); font-size:1.05rem; font-weight:850; line-height:1.3; padding:0 1rem .9rem; }
.lab-services-page .lab-stat-bottom { margin-top:auto; padding:.9rem 1rem 1rem; border-top:1px solid var(--line); color:#354b5e; font-weight:650; line-height:1.5; background:linear-gradient(180deg,#fff,#fbfdff); }
.lab-services-page .lab-scope-grid.jmg-gradient-card-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.15rem; }
.lab-services-page .lab-scope-grid .jmg-gradient-card { min-height: 19rem; padding: 1.45rem; }
.lab-services-page .lab-scope-grid .jmg-gradient-card__content { max-width: 76%; }
.lab-services-page .lab-scope-grid .jmg-gradient-card__graphic { display:block !important; position:absolute !important; right:-10% !important; bottom:-16% !important; width:min(17rem,52%) !important; height:auto !important; max-width:none !important; margin:0 !important; opacity:.58 !important; pointer-events:none; z-index:0; transform:rotate(4deg); filter:saturate(1.12) drop-shadow(0 1rem 1.25rem rgba(15,42,64,.16)); }
.lab-services-page .lab-scope-grid .jmg-gradient-card__cta { display:none !important; }
.lab-services-page .lab-record-grid { display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap:1rem; }
.lab-services-page .lab-record-card { text-align:left; border:1px solid var(--line); border-radius:1rem; background:#fff; padding:1rem; cursor:pointer; color:inherit; font:inherit; display:flex; flex-direction:column; min-height:16rem; position:relative; overflow:hidden; }
.lab-services-page .lab-record-card::before { content:""; position:absolute; inset:0 0 auto 0; height:.25rem; background:linear-gradient(90deg,var(--brand),var(--green),var(--accent)); }
.lab-services-page .lab-record-card:hover,
.lab-services-page .lab-record-card:focus-visible { transform:translateY(-2px); box-shadow:var(--shadow-soft); border-color:rgba(23,120,186,.28); outline:none; }
.lab-services-page .lab-record-card h3 { color:var(--brand-deep); font-size:1.04rem; line-height:1.32; margin:.15rem 0 .45rem; }
.lab-services-page .lab-record-card small { color:#6f7f8d; font-size:.82rem; line-height:1.45; font-weight:700; }
.lab-services-page .lab-record-card p { color:var(--muted); line-height:1.55; display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
.lab-services-page .lab-card-meta { margin-top:auto; padding-top:.7rem; border-top:1px solid var(--line); color:var(--muted); font-size:.78rem; font-weight:700; display:flex; flex-wrap:wrap; gap:.25rem .5rem; }
.lab-services-page .lab-card-meta span + span::before { content:"•"; margin-right:.5rem; color:#a8b5bf; }
.lab-services-page .lab-filter-grid { grid-template-columns:minmax(18rem,1.45fr) minmax(9rem,.45fr) minmax(13rem,.6fr) minmax(9rem,.45fr) auto; }
.lab-services-page .cooperation-filter-grid input,
.lab-services-page .cooperation-filter-grid select { font-weight:500; }
.lab-services-page .cooperation-filter-grid option { font-weight:400; }
.lab-services-page .lab-dialog { width:min(54rem,calc(100vw - 2rem)); border:0; border-radius:1rem; padding:0; box-shadow:0 1.2rem 4rem rgba(0,0,0,.28); }
.lab-services-page .lab-dialog::backdrop { background:rgba(4,19,36,.55); }
.lab-services-page .lab-dialog-inner { padding:1.25rem; max-height:min(84vh,52rem); overflow:auto; }
.lab-services-page .lab-dialog header { display:flex; align-items:start; justify-content:space-between; gap:1rem; border-bottom:1px solid var(--line); padding-bottom:.9rem; margin-bottom:1rem; }
.lab-services-page .lab-dialog h2 { margin:.4rem 0 0; color:var(--brand-deep); }
.lab-services-page .lab-close { border:1px solid var(--line); border-radius:999rem; width:2.35rem; height:2.35rem; background:#fff; font-size:1.25rem; cursor:pointer; }
.lab-services-page .lab-detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; }
.lab-services-page .lab-detail-box { border:1px solid var(--line); border-radius:.85rem; padding:.85rem; background:var(--surface-soft); }
.lab-services-page .lab-detail-box strong { display:block; color:var(--brand-deep); margin-bottom:.2rem; }
@media (max-width:72rem) {
  .lab-services-page .lab-stat-grid,
  .lab-services-page .lab-record-grid,
  .lab-services-page .lab-scope-grid.jmg-gradient-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lab-services-page .lab-filter-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:62rem) { .lab-services-page .lab-intro-grid { grid-template-columns:1fr; } }
@media (max-width:42rem) {
  .lab-services-page .lab-stat-grid,
  .lab-services-page .lab-record-grid,
  .lab-services-page .lab-detail-grid,
  .lab-services-page .lab-filter-grid,
  .lab-services-page .lab-scope-grid.jmg-gradient-card-grid { grid-template-columns:1fr; }
  .lab-services-page .lab-scope-grid .jmg-gradient-card__content { max-width:100%; padding-right:4.2rem; }
  .lab-services-page .lab-scope-grid .jmg-gradient-card__graphic { width:11.5rem !important; opacity:.20 !important; right:-16% !important; bottom:-16% !important; }
}


/* v1.49: laboratory intro displays achievement highlights, focus and significance */
.lab-services-page .lab-achievement-card,
.lab-services-page .lab-focus-card {
  position: relative;
  overflow: hidden;
}
.lab-services-page .lab-achievement-card::after {
  content: "";
  position: absolute;
  right: -5rem;
  bottom: -5rem;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(148,201,61,.20), rgba(23,120,186,.08) 52%, transparent 70%);
  pointer-events: none;
}
.lab-services-page .lab-achievement-card > * {
  position: relative;
  z-index: 1;
}
.lab-services-page .lab-intro-stat-list {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: .75rem;
  margin-top: 1.25rem;
}
.lab-services-page .lab-intro-stat-list span {
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: rgba(255,255,255,.72);
  padding: .8rem .85rem;
  min-width: 0;
}
.lab-services-page .lab-intro-stat-list strong {
  display: block;
  color: var(--brand-deep);
  font-size: clamp(1.25rem,2vw,1.8rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: .25rem;
}
.lab-services-page .lab-intro-stat-list em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.35;
}
.lab-services-page .lab-focus-card h2 {
  margin-bottom: 1rem;
}
.lab-services-page .lab-focus-card .fact-list div:last-child {
  background: rgba(23,120,186,.06);
  border-radius: .75rem;
  padding: .7rem .75rem;
}
@media (max-width: 72rem) {
  .lab-services-page .lab-intro-stat-list {
    grid-template-columns: 1fr;
  }
}


/* v1.50: laboratory featured achievements list drawn from records */
.lab-services-page .lab-featured-list {
  margin-top: 1.15rem;
}
.lab-services-page .lab-featured-list li {
  font-weight: 650;
  line-height: 1.55;
}
.lab-services-page .lab-featured-list li strong {
  display: block;
  color: var(--brand-deep);
  margin-bottom: .22rem;
  font-size: .98rem;
}
.lab-services-page .lab-featured-list li span {
  display: block;
  color: #43596b;
}
.lab-services-page .lab-achievement-card p {
  max-width: 100%;
}


/* v1.51: Minerals page uses laboratory-page format with searchable highlights */
.mineral-services-page .section-head {
  display: block;
  width: 100%;
  max-width: 100%;
}
.mineral-services-page .section-head > div,
.mineral-services-page .section-head p {
  width: 100%;
  max-width: 100%;
}
.mineral-services-page .section-head p {
  white-space: normal !important;
  overflow-wrap: break-word;
  text-wrap: pretty;
  line-height: 1.65;
}
.mineral-services-page .mineral-intro-grid {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(18rem,.45fr);
  gap: 1.2rem;
  align-items: stretch;
}
.mineral-services-page .mineral-lead-card { border-top: .32rem solid var(--green); }
.mineral-services-page .mineral-side-card { border-top: .32rem solid var(--brand); background: linear-gradient(180deg,#fff,var(--brand-soft)); }
.mineral-services-page .mineral-lead-card .business-section-icon,
.mineral-services-page .mineral-side-card .business-section-icon { width: 3.2rem; height: 3.2rem; margin-bottom: .85rem; }
.mineral-services-page .mineral-achievement-card,
.mineral-services-page .mineral-focus-card { position: relative; overflow: hidden; }
.mineral-services-page .mineral-achievement-card::after {
  content: "";
  position: absolute;
  right: -5rem;
  bottom: -5rem;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(148,201,61,.20), rgba(23,120,186,.08) 52%, transparent 70%);
  pointer-events: none;
}
.mineral-services-page .mineral-achievement-card > * { position: relative; z-index: 1; }
.mineral-services-page .mineral-featured-list { margin-top: 1.15rem; }
.mineral-services-page .mineral-featured-list li { font-weight: 650; line-height: 1.55; }
.mineral-services-page .mineral-featured-list li strong { display:block; color: var(--brand-deep); margin-bottom: .22rem; font-size: .98rem; }
.mineral-services-page .mineral-featured-list li span { display:block; color:#43596b; }
.mineral-services-page .mineral-focus-card h2 { margin-bottom: 1rem; }
.mineral-services-page .mineral-focus-card .fact-list div:last-child {
  background: rgba(23,120,186,.06);
  border-radius: .75rem;
  padding: .7rem .75rem;
}
.mineral-services-page .mineral-scope-grid.jmg-gradient-card-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1.35rem;
}
.mineral-services-page .mineral-scope-grid .jmg-gradient-card {
  min-height: 18rem;
  padding: 1.65rem;
}
.mineral-services-page .mineral-scope-grid .jmg-gradient-card__content { max-width: 74%; }
.mineral-services-page .mineral-scope-grid .jmg-gradient-card__graphic {
  display: block !important;
  position: absolute !important;
  right: -9% !important;
  bottom: -15% !important;
  width: min(18rem,54%) !important;
  height: auto !important;
  max-width: none !important;
  margin: 0 !important;
  opacity: .58 !important;
  pointer-events: none;
  z-index: 0;
  transform: rotate(4deg);
  filter: saturate(1.12) drop-shadow(0 1rem 1.25rem rgba(15,42,64,.16));
  transition: transform .32s ease, opacity .32s ease;
}
.mineral-services-page .mineral-scope-grid .jmg-gradient-card:hover .jmg-gradient-card__graphic {
  transform: scale(1.06) rotate(7deg);
  opacity: .72 !important;
}
.mineral-services-page .mineral-stat-grid,
.mineral-services-page .mineral-record-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
}
.mineral-services-page .mineral-stat-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 .25rem .8rem rgba(15,42,64,.05);
  display: flex;
  flex-direction: column;
  min-height: 14rem;
}
.mineral-services-page .mineral-stat-card::before,
.mineral-services-page .mineral-record-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: .22rem;
  background: linear-gradient(90deg,var(--brand),var(--green),var(--accent));
}
.mineral-services-page .mineral-stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1rem .2rem;
}
.mineral-services-page .mineral-stat-top small { color:#6f7f8d; font-size:.88rem; font-weight:700; line-height:1.25; }
.mineral-services-page .mineral-stat-top span { color:#12926b; font-size:.88rem; font-weight:800; line-height:1; white-space:nowrap; }
.mineral-services-page .mineral-stat-card strong { display:block; color:var(--brand-deep); font-size:clamp(2rem,3vw,2.6rem); line-height:1; margin:.2rem 0 .55rem; padding:0 1rem; }
.mineral-services-page .mineral-stat-card b { display:block; color:var(--ink); font-size:1.05rem; font-weight:850; line-height:1.3; padding:0 1rem .9rem; }
.mineral-services-page .mineral-stat-bottom { margin-top:auto; padding:.9rem 1rem 1rem; border-top:1px solid var(--line); color:#354b5e; font-weight:650; line-height:1.5; background:linear-gradient(180deg,#fff,#fbfdff); }
.mineral-services-page .mineral-record-card {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  padding: 1rem;
  cursor: pointer;
  color: inherit;
  font: inherit;
  display: flex;
  flex-direction: column;
  min-height: 16rem;
  position: relative;
  overflow: hidden;
}
.mineral-services-page .mineral-record-card:hover,
.mineral-services-page .mineral-record-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(23,120,186,.28);
  outline: none;
}
.mineral-services-page .mineral-record-card h3 { color:var(--brand-deep); font-size:1.04rem; line-height:1.32; margin:.15rem 0 .45rem; }
.mineral-services-page .mineral-record-card small { color:#6f7f8d; font-size:.82rem; line-height:1.45; font-weight:700; }
.mineral-services-page .mineral-record-card p { color:var(--muted); line-height:1.55; display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
.mineral-services-page .mineral-card-meta {
  margin-top:auto;
  padding-top:.7rem;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:.78rem;
  font-weight:700;
  display:flex;
  flex-wrap:wrap;
  gap:.25rem .5rem;
}
.mineral-services-page .mineral-card-meta span + span::before { content:"•"; margin-right:.5rem; color:#a8b5bf; }
.mineral-services-page .mineral-filter-grid {
  grid-template-columns: minmax(18rem,1.45fr) minmax(9rem,.45fr) minmax(13rem,.6fr) minmax(9rem,.45fr) auto;
}
.mineral-services-page .cooperation-filter-grid input,
.mineral-services-page .cooperation-filter-grid select { font-weight:500; }
.mineral-services-page .cooperation-filter-grid option { font-weight:400; }
.mineral-services-page .quick-filter-pill { font-weight:650; }
.mineral-services-page .mineral-dialog {
  width: min(54rem, calc(100vw - 2rem));
  border: 0;
  border-radius: 1rem;
  padding: 0;
  box-shadow: 0 1.2rem 4rem rgba(0,0,0,.28);
}
.mineral-services-page .mineral-dialog::backdrop { background: rgba(4,19,36,.55); }
.mineral-services-page .mineral-dialog-inner { padding:1.25rem; max-height:min(84vh,52rem); overflow:auto; }
.mineral-services-page .mineral-dialog header {
  display:flex;
  align-items:start;
  justify-content:space-between;
  gap:1rem;
  border-bottom:1px solid var(--line);
  padding-bottom:.9rem;
  margin-bottom:1rem;
}
.mineral-services-page .mineral-dialog h2 { margin:.4rem 0 0; color:var(--brand-deep); }
.mineral-services-page .mineral-close {
  border:1px solid var(--line);
  border-radius:999rem;
  width:2.35rem;
  height:2.35rem;
  background:#fff;
  font-size:1.25rem;
  cursor:pointer;
}
.mineral-services-page .mineral-detail-grid {
  display:grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap:.75rem;
}
.mineral-services-page .mineral-detail-box {
  border:1px solid var(--line);
  border-radius:.85rem;
  padding:.85rem;
  background:var(--surface-soft);
}
.mineral-services-page .mineral-detail-box strong { display:block; color:var(--brand-deep); margin-bottom:.2rem; }
@media (max-width:72rem) {
  .mineral-services-page .mineral-stat-grid,
  .mineral-services-page .mineral-record-grid,
  .mineral-services-page .mineral-scope-grid.jmg-gradient-card-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .mineral-services-page .mineral-filter-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width:62rem) {
  .mineral-services-page .mineral-intro-grid { grid-template-columns:1fr; }
}
@media (max-width:42rem) {
  .mineral-services-page .mineral-stat-grid,
  .mineral-services-page .mineral-record-grid,
  .mineral-services-page .mineral-scope-grid.jmg-gradient-card-grid,
  .mineral-services-page .mineral-detail-grid,
  .mineral-services-page .mineral-filter-grid {
    grid-template-columns:1fr;
  }
  .mineral-services-page .mineral-scope-grid .jmg-gradient-card { min-height:17rem; padding:1.15rem; }
  .mineral-services-page .mineral-scope-grid .jmg-gradient-card__content { max-width:100%; padding-right:4.2rem; }
  .mineral-services-page .mineral-scope-grid .jmg-gradient-card__graphic { right:-16% !important; bottom:-16% !important; width:11.5rem !important; opacity:.20 !important; }
}


/* v1.52: expertise directory starts directly with field cards and uses field-specific icons */
.expertise-landing #senarai-bidang,
.expertise-landing #expertise-list {
  padding-top: clamp(2.25rem, 5vw, 4.5rem);
}
.expertise-landing .expertise-summary.about-intro-grid {
  display: none !important;
}
.expertise-landing .expertise-gradient-card .jmg-gradient-card__graphic[src*="/expertise/"] {
  display: block !important;
  width: min(20rem, 58%) !important;
  right: -10% !important;
  bottom: -16% !important;
  opacity: .70 !important;
  filter: saturate(1.08) drop-shadow(0 1rem 1.1rem rgba(15,42,64,.16));
}
.expertise-landing .expertise-gradient-card:hover .jmg-gradient-card__graphic[src*="/expertise/"] {
  opacity: .86 !important;
}
@media (max-width: 42rem) {
  .expertise-landing .expertise-gradient-card .jmg-gradient-card__graphic[src*="/expertise/"] {
    width: 12rem !important;
    opacity: .24 !important;
  }
}


/* v1.56: Hydrogeology page reuses Mineral-format official layout */
.hydro-services-page .mineral-lead-card { border-top-color: var(--green); }
.hydro-services-page .mineral-side-card { border-top-color: var(--brand); }
.hydro-services-page .mineral-achievement-card::after {
  background: radial-gradient(circle, rgba(23,120,186,.20), rgba(148,201,61,.10) 52%, transparent 70%);
}


/* v1.58: official highlight link in Hydrogeology modal */
.official-highlight-link-wrap {
  margin-top: 1rem;
}
.official-highlight-link-wrap .button {
  width: fit-content;
}


/* v1.59: Hydrogeology current-year priority refinements */
.hydro-services-page .section-head {
  display: block;
  width: 100%;
  max-width: 100%;
}
.hydro-services-page .section-head > div,
.hydro-services-page .section-head p {
  width: 100%;
  max-width: 100%;
}
.hydro-services-page .section-head p {
  white-space: normal !important;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
.hydro-services-page .quick-filter-pill[aria-pressed="true"] {
  background: var(--brand-deep);
  color: #fff;
  border-color: var(--brand-deep);
}
.hydro-services-page .mineral-stat-card .mineral-stat-top small {
  max-width: 70%;
}


/* v1.60: Hydrogeology copy block margin safety */
.hydro-services-page .mineral-achievement-card p,
.hydro-services-page .mineral-focus-card dd,
.hydro-services-page .section-head p,
.hydro-services-page .mineral-stat-bottom {
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: break-word;
}


/* v1.61: random high-impact statistics for Hydrogeology */
.hydro-random-stat-grid .hydro-random-stat-card {
  min-height: 100%;
}
.hydro-random-stat-card strong {
  letter-spacing: -.03em;
}
.hydro-random-stat-card .mineral-stat-top small,
.hydro-random-stat-card .mineral-stat-top span {
  white-space: normal;
  line-height: 1.25;
}


/* v1.62: Mineral current-impact copy and random statistics */
.mineral-services-page .section-head,
.mineral-services-page .section-head > div,
.mineral-services-page .section-head p {
  width: 100%;
  max-width: 100%;
}
.mineral-services-page .section-head p,
.mineral-services-page .mineral-achievement-card p,
.mineral-services-page .mineral-stat-bottom {
  white-space: normal !important;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
.mineral-random-stat-grid .mineral-random-stat-card {
  min-height: 100%;
}
.mineral-random-stat-card .mineral-stat-top small,
.mineral-random-stat-card .mineral-stat-top span {
  white-space: normal;
  line-height: 1.25;
}
.official-highlight-link-wrap {
  margin-top: 1rem;
}
.official-highlight-link-wrap .button {
  width: fit-content;
}


/* v1.63: Engineering Geology and Geological Disaster Management page */
.engineering-geology-page .section-head,
.engineering-geology-page .section-head > div,
.engineering-geology-page .section-head p {
  width: 100%;
  max-width: 100%;
}
.engineering-geology-page .section-head p,
.engineering-geology-page .mineral-achievement-card p,
.engineering-geology-page .mineral-focus-card p,
.engineering-geology-page .mineral-stat-bottom,
.engineering-geology-page .mineral-record-card p {
  white-space: normal !important;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
.engineering-geology-page .mineral-featured-list li,
.engineering-geology-page .achievement-list li {
  overflow-wrap: anywhere;
}
.engineering-random-stat-grid .engineering-random-stat-card {
  min-height: 100%;
}
.engineering-random-stat-card .mineral-stat-top small,
.engineering-random-stat-card .mineral-stat-top span {
  white-space: normal;
  line-height: 1.25;
}
.engineering-geology-page .quick-filter-pill[aria-pressed="true"] {
  background: var(--brand-deep);
  color: #fff;
  border-color: var(--brand-deep);
}
.official-highlight-link-wrap {
  margin-top: 1rem;
}
.official-highlight-link-wrap .button {
  width: fit-content;
}


/* v1.64: Engineering Geology clean rebuild - no oversized chips/icons, no crushed letter spacing */
.engineering-geology-page,
.engineering-geology-page * {
  letter-spacing: normal;
}
.engineering-geology-page .eyebrow,
.engineering-geology-page .jmg-gradient-card__badge,
.engineering-geology-page .jmg-gradient-card__badge-dot,
.engineering-geology-page .jmg-gradient-card__dot {
  letter-spacing: normal;
}
.engineering-clean-hero h1 {
  max-width: 980px;
}
.engineering-clean-hero p,
.engineering-geology-page .section-head p,
.engineering-geology-page .engineering-clean-head p,
.engineering-geology-page .engineering-overview-card p,
.engineering-geology-page .engineering-scope-card p,
.engineering-geology-page .mineral-stat-bottom {
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
.engineering-geology-page .section-head,
.engineering-geology-page .section-head > div {
  display: block;
  width: 100%;
  max-width: 100%;
}
.engineering-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}
.engineering-overview-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23,120,186,.16);
  border-radius: 1.25rem;
  box-shadow: 0 1rem 2rem rgba(16,50,77,.06);
}
.engineering-overview-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: .35rem;
  background: linear-gradient(180deg, var(--brand), var(--green));
}
.engineering-overview-card h2 {
  margin-top: 0;
  color: var(--brand-deep);
}
.engineering-overview-card--lead .achievement-list li {
  gap: .5rem;
  line-height: 1.55;
}
.engineering-fact-list div {
  border-bottom: 1px solid rgba(23,120,186,.12);
  padding-bottom: .75rem;
  margin-bottom: .75rem;
}
.engineering-fact-list div:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.engineering-service-section {
  overflow: hidden;
}
.engineering-clean-head h2 {
  max-width: 100%;
  color: var(--brand-deep);
}
.engineering-scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.engineering-scope-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .9rem;
  align-items: start;
  padding: clamp(1rem, 2vw, 1.25rem);
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(23,120,186,.15);
  border-radius: 1.1rem;
  box-shadow: 0 .75rem 1.75rem rgba(16,50,77,.06);
}
.engineering-scope-card h3 {
  margin: 0 0 .4rem;
  color: var(--brand-deep);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.25;
}
.engineering-scope-card p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-soft, #385469);
}
.engineering-scope-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  height: 2.35rem;
  border-radius: .8rem;
  background: linear-gradient(135deg, rgba(23,120,186,.12), rgba(148,201,61,.16));
  color: var(--brand-deep);
  font-weight: 800;
  font-size: .9rem;
}
.engineering-geology-page .business-section-icon {
  max-width: 3.25rem;
  opacity: .9;
}
.engineering-geology-page .engineering-filter-button {
  border-radius: .65rem;
  letter-spacing: normal;
  text-transform: none;
}
.engineering-geology-page .engineering-filter-button[aria-pressed="true"] {
  background: var(--brand-deep);
  color: #fff;
  border-color: var(--brand-deep);
}
.engineering-geology-page .mineral-record-card h3,
.engineering-geology-page .mineral-dialog h2,
.engineering-geology-page .mineral-dialog h3 {
  letter-spacing: normal;
}
@media (max-width: 900px) {
  .engineering-overview-grid,
  .engineering-scope-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .engineering-scope-card {
    grid-template-columns: 1fr;
  }
  .engineering-scope-number {
    width: 2.35rem;
  }
}


/* v1.65: Engineering Geology rebuilt to match standard expertise theme */
.engineering-theme-page .eyebrow {
  letter-spacing: .045em;
}
.engineering-theme-page .section-head,
.engineering-theme-page .section-head > div,
.engineering-theme-page .section-head p {
  width: 100%;
  max-width: 100%;
}
.engineering-theme-page .section-head p,
.engineering-theme-page .expertise-detail-hero p,
.engineering-theme-page .mineral-achievement-card p,
.engineering-theme-page .mineral-focus-card dd,
.engineering-theme-page .mineral-stat-bottom,
.engineering-theme-page .jmg-gradient-card p {
  white-space: normal !important;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
.engineering-theme-page .jmg-gradient-card {
  min-height: 17.25rem;
}
.engineering-theme-page .jmg-gradient-card__graphic {
  width: min(10rem, 30vw);
  max-width: 34%;
  right: 1rem;
  bottom: .25rem;
  opacity: .55;
}
.engineering-theme-page .jmg-gradient-card__badge {
  max-width: 100%;
  white-space: normal;
  letter-spacing: 0;
}
.engineering-theme-page .jmg-gradient-card__content {
  max-width: 74%;
  padding-right: clamp(1rem, 12vw, 8rem);
}
.engineering-theme-page .jmg-gradient-card h3 {
  max-width: 100%;
}
.engineering-theme-page .quick-filter-pill {
  letter-spacing: 0;
}
.engineering-theme-page .quick-filter-pill[aria-pressed="true"] {
  background: var(--brand-deep);
  color: #fff;
  border-color: var(--brand-deep);
}
.engineering-theme-page .mineral-lead-card {
  border-top-color: var(--orange);
}
.engineering-theme-page .mineral-side-card {
  border-top-color: var(--brand);
}
.engineering-theme-page .business-section-icon {
  width: clamp(3rem, 5vw, 4rem);
  height: clamp(3rem, 5vw, 4rem);
}
@media (max-width: 760px) {
  .engineering-theme-page .jmg-gradient-card__content {
    max-width: 100%;
    padding-right: 1rem;
  }
  .engineering-theme-page .jmg-gradient-card__graphic {
    width: 7rem;
    max-width: 28%;
    opacity: .22;
  }
}


/* v1.66: 2025 source update and subtitle margin safety for core expertise pages */
.mineral-services-page .section-head,
.hydro-services-page .section-head,
.engineering-geology-page .section-head {
  width: 100%;
  max-width: 100%;
}
.mineral-services-page .section-head > div,
.hydro-services-page .section-head > div,
.engineering-geology-page .section-head > div,
.mineral-services-page .section-head p,
.hydro-services-page .section-head p,
.engineering-geology-page .section-head p {
  width: 100%;
  max-width: 100%;
}
.mineral-services-page .section-head p,
.hydro-services-page .section-head p,
.engineering-geology-page .section-head p,
.mineral-services-page .mineral-achievement-card p,
.hydro-services-page .mineral-achievement-card p,
.engineering-geology-page .mineral-achievement-card p {
  white-space: normal !important;
  overflow-wrap: break-word;
  text-wrap: pretty;
}


/* v1.67: Engineering Geology page follows Hydrogeology/Mineral standard theme */
.engineering-geology-page {
  letter-spacing: normal;
}
.engineering-geology-page .expertise-detail-hero .eyebrow,
.engineering-geology-page .section-head .eyebrow {
  letter-spacing: .055em;
}
.engineering-geology-page .section-head,
.engineering-geology-page .section-head > div,
.engineering-geology-page .section-head p {
  width: 100%;
  max-width: 100%;
}
.engineering-geology-page .section-head p,
.engineering-geology-page .expertise-detail-hero p,
.engineering-geology-page .mineral-achievement-card p,
.engineering-geology-page .mineral-focus-card dd,
.engineering-geology-page .mineral-stat-bottom,
.engineering-geology-page .jmg-gradient-card p {
  white-space: normal !important;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
.engineering-geology-page .mineral-lead-card { border-top-color: var(--green); }
.engineering-geology-page .mineral-side-card { border-top-color: var(--brand); }
.engineering-geology-page .mineral-scope-grid.jmg-gradient-card-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1.35rem;
}
.engineering-geology-page .mineral-scope-grid .jmg-gradient-card {
  min-height: 18rem;
  padding: 1.65rem;
}
.engineering-geology-page .mineral-scope-grid .jmg-gradient-card__content {
  max-width: 74%;
  padding-right: 0;
}
.engineering-geology-page .mineral-scope-grid .jmg-gradient-card__graphic {
  display: block !important;
  position: absolute !important;
  right: -9% !important;
  bottom: -15% !important;
  width: min(18rem,54%) !important;
  height: auto !important;
  max-width: none !important;
  margin: 0 !important;
  opacity: .46 !important;
  pointer-events: none;
  z-index: 0;
  transform: rotate(4deg);
  filter: saturate(1.08) drop-shadow(0 1rem 1.25rem rgba(15,42,64,.14));
  transition: transform .32s ease, opacity .32s ease;
}
.engineering-geology-page .mineral-scope-grid .jmg-gradient-card:hover .jmg-gradient-card__graphic,
.engineering-geology-page .mineral-scope-grid .jmg-gradient-card:focus-within .jmg-gradient-card__graphic {
  transform: scale(1.06) rotate(7deg);
  opacity: .62 !important;
}
.engineering-geology-page .jmg-gradient-card__badge {
  letter-spacing: normal;
  white-space: normal;
}
.engineering-geology-page .business-section-icon {
  width: 3.2rem;
  height: 3.2rem;
  max-width: 3.2rem;
  margin-bottom: .85rem;
}
.engineering-geology-page .quick-filter-pill {
  letter-spacing: normal;
}
.engineering-geology-page .quick-filter-pill[aria-pressed="true"] {
  background: var(--brand-deep);
  color: #fff;
  border-color: var(--brand-deep);
}
@media (max-width: 900px) {
  .engineering-geology-page .mineral-scope-grid.jmg-gradient-card-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 760px) {
  .engineering-geology-page .mineral-scope-grid.jmg-gradient-card-grid {
    grid-template-columns: 1fr;
  }
  .engineering-geology-page .mineral-scope-grid .jmg-gradient-card {
    min-height: 17rem;
    padding: 1.15rem;
  }
  .engineering-geology-page .mineral-scope-grid .jmg-gradient-card__content {
    max-width: 100%;
    padding-right: 4.2rem;
  }
  .engineering-geology-page .mineral-scope-grid .jmg-gradient-card__graphic {
    right: -16% !important;
    bottom: -16% !important;
    width: 11.5rem !important;
    opacity: .20 !important;
  }
}


/* v1.68: Engineering Geology sorotan cards match Hydrogeology record cards */
.engineering-geology-page .mineral-record-card {
  border-radius: 1rem;
  padding: 1rem;
  min-height: 16rem;
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 0;
}
.engineering-geology-page .mineral-record-card h3 {
  margin: .15rem 0 .45rem;
  color: var(--brand-deep);
  font-size: 1.04rem;
  line-height: 1.32;
  letter-spacing: normal;
}
.engineering-geology-page .mineral-record-card small {
  display: block;
  color: #6f7f8d;
  font-size: .82rem;
  line-height: 1.45;
  font-weight: 700;
  margin-bottom: .65rem;
}
.engineering-geology-page .mineral-card-meta {
  margin-top: auto;
  padding-top: .7rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .5rem;
}
.engineering-geology-page .mineral-card-meta span + span::before {
  content: "•";
  margin-right: .5rem;
  color: #a8b5bf;
}
.engineering-geology-page .mineral-record-meta,
.engineering-geology-page .mineral-record-foot {
  display: none !important;
}
.engineering-geology-page .cooperation-counter {
  width: fit-content;
  max-width: 100%;
}


/* v1.70: Engineering geology statistic values should remain numeric/metric focused */
.engineering-services-page .mineral-random-stat-card strong,
.engineering-services-page .hydro-random-stat-card strong {
  word-break: normal;
  overflow-wrap: normal;
}


/* v1.71: current-year quick filter removed from all expertise pages; default quick filter is now neutral. */


/* v1.72: remaining expertise pages use Mineral-format field layout */
.expertise-standard-page .section-head,
.expertise-standard-page .section-head > div,
.expertise-standard-page .section-head p {
  width: 100%;
  max-width: 100%;
}
.expertise-standard-page .section-head p,
.expertise-standard-page .mineral-achievement-card p,
.expertise-standard-page .mineral-stat-bottom,
.expertise-standard-page .jmg-gradient-card p {
  white-space: normal !important;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
.expertise-standard-page .jmg-gradient-card__graphic {
  max-width: 9.5rem;
  max-height: 9.5rem;
  opacity: .72;
}
.expertise-standard-page .mineral-random-stat-card strong {
  word-break: normal;
  overflow-wrap: normal;
}
.expertise-standard-page .quick-filter-pill[aria-pressed="true"] {
  background: var(--brand-deep);
  color: #fff;
  border-color: var(--brand-deep);
}


/* v1.73: FB curated records and quick-filter consistency for expertise pages */
.expertise-detail-page .official-highlight-link-wrap {
  margin-top: 1rem;
}
.expertise-detail-page .official-highlight-link-wrap .button {
  width: fit-content;
}
.expertise-detail-page .section-head p,
.expertise-detail-page .mineral-achievement-card p,
.expertise-detail-page .mineral-stat-bottom {
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: break-word;
}


/* v1.75: CDO placed under About/Mengenai JMG corporate navigation */
.primary-nav .nav-has-sub {
  position: relative;
}
.primary-nav .nav-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 17rem;
  z-index: 80;
  margin: 0;
  padding: .35rem;
  background: var(--brand-deep);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 0 0 .95rem .95rem;
  box-shadow: 0 14px 28px rgba(13,77,120,.22);
}
.primary-nav .nav-has-sub:hover > .nav-submenu,
.primary-nav .nav-has-sub:focus-within > .nav-submenu {
  display: grid;
  gap: .1rem;
}
.primary-nav .nav-submenu li + li a {
  border-top: 1px solid rgba(255,255,255,.10);
}
.primary-nav .nav-submenu a {
  min-height: 2.75rem;
  padding: .7rem .85rem;
  border-bottom: 0;
  border-left: .22rem solid transparent;
  border-radius: .55rem;
  white-space: nowrap;
}
.primary-nav .nav-submenu a:hover,
.primary-nav .nav-submenu a:focus {
  border-left-color: var(--accent);
  background: rgba(255,255,255,.10);
}
@media (max-width: 62rem) {
  .primary-nav .nav-submenu {
    display: grid;
    position: static;
    min-width: 0;
    padding: 0 0 .35rem 1rem;
    background: rgba(255,255,255,.06);
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .primary-nav .nav-submenu a {
    min-height: 2.65rem;
    padding: .65rem 1rem;
    white-space: normal;
    font-size: .95rem;
  }
}


/* v1.76: Official Client Charter and CDO pages */
.charter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}
.charter-card {
  padding: clamp(1.2rem, 2vw, 1.55rem);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 14px 28px rgba(13,77,120,.08);
}
.charter-card-wide {
  grid-column: 1 / -1;
}
.charter-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .65rem;
  margin-bottom: .85rem;
  border-radius: 999px;
  background: rgba(13,77,120,.09);
  color: var(--brand);
  font-weight: 800;
  font-size: .86rem;
}
.charter-card h3,
.cdo-profile-card h2 {
  overflow-wrap: break-word;
}
.charter-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.charter-metric-grid div {
  padding: 1rem;
  border-radius: 1rem;
  background: var(--soft);
  border: 1px solid var(--line);
}
.charter-metric-grid strong {
  display: block;
  color: var(--brand);
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  line-height: 1;
}
.charter-metric-grid span {
  display: block;
  margin-top: .55rem;
  color: var(--muted);
  font-weight: 650;
}
.cdo-profile-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.6rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 1.4rem;
  background: linear-gradient(135deg, rgba(13,77,120,.10), rgba(135,203,75,.12));
  border: 1px solid var(--line);
}
.cdo-profile-mark {
  display: grid;
  place-items: center;
  width: clamp(5rem, 10vw, 7rem);
  height: clamp(5rem, 10vw, 7rem);
  border-radius: 1.4rem;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  letter-spacing: .08em;
  box-shadow: 0 16px 28px rgba(13,77,120,.22);
}
.page-hero p,
.section-head p {
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
@media (max-width: 760px) {
  .charter-grid,
  .charter-metric-grid,
  .cdo-profile-card {
    grid-template-columns: 1fr;
  }
  .charter-card-wide {
    grid-column: auto;
  }
}


/* v1.77: Piagam Pelanggan and CDO use original official wording without rewritten content */
.charter-original-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}
.charter-original-card,
.cdo-original-card,
.cdo-role-card {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 14px 28px rgba(13,77,120,.08);
}
.charter-original-card,
.cdo-role-card {
  padding: clamp(1.15rem, 2vw, 1.55rem);
}
.charter-original-card-wide {
  grid-column: 1 / -1;
}
.charter-original-card h3,
.cdo-original-card h2,
.cdo-role-card h2 {
  overflow-wrap: break-word;
}
.cdo-original-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.6rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(135deg, rgba(13,77,120,.10), rgba(135,203,75,.12));
}
.cdo-role-card .numbered-list,
.numbered-list ol {
  margin: .9rem 0 0 1.3rem;
  padding: 0;
}
.cdo-role-card .numbered-list > li,
.numbered-list ol > li {
  margin-bottom: .7rem;
}
.charter-original-section .section-head p,
.cdo-original-section .section-head p {
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: break-word;
}
@media (max-width: 760px) {
  .charter-original-grid,
  .cdo-original-card {
    grid-template-columns: 1fr;
  }
  .charter-original-card-wide {
    grid-column: auto;
  }
}


/* v1.78: CDO page UI/UX refinement without changing official content */
.cdo-page .breadcrumb {
  margin-top: 1.2rem;
}
.cdo-hero {
  position: relative;
  overflow: hidden;
}
.cdo-hero::after {
  content: "";
  position: absolute;
  inset: auto -8rem -12rem auto;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(135,203,75,.28), rgba(13,77,120,0));
  pointer-events: none;
}
.cdo-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 24rem);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
}
.cdo-hero h1,
.cdo-section-head h2,
.cdo-official-profile h2 {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.cdo-hero-actions {
  margin-top: 1.2rem;
}
.cdo-hero-panel {
  position: relative;
  z-index: 1;
  padding: clamp(1.2rem, 3vw, 1.75rem);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 1.4rem;
  background: rgba(255,255,255,.14);
  box-shadow: 0 24px 46px rgba(13,77,120,.22);
  backdrop-filter: blur(12px);
}
.cdo-hero-panel span {
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  margin-bottom: 1rem;
  border-radius: 1.25rem;
  background: #fff;
  color: var(--brand);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: .08em;
}
.cdo-hero-panel strong {
  display: block;
  color: #fff;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.25;
}
.cdo-profile-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, .6fr);
  gap: clamp(1rem, 3vw, 1.5rem);
  align-items: stretch;
}
.cdo-official-profile,
.cdo-contact-card,
.cdo-role-intro,
.cdo-role-card {
  border: 1px solid var(--line);
  box-shadow: 0 18px 34px rgba(13,77,120,.08);
}
.cdo-official-profile {
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(13,77,120,.10), rgba(135,203,75,.13)),
    #fff;
}
.cdo-email-link {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: .6rem .85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 800;
  overflow-wrap: anywhere;
}
.cdo-contact-card {
  padding: clamp(1.1rem, 2vw, 1.4rem);
  border-radius: 1.25rem;
  background: #fff;
}
.cdo-contact-card dl {
  display: grid;
  gap: .85rem;
  margin: 1rem 0 0;
}
.cdo-contact-card div {
  padding: .85rem;
  border-radius: .95rem;
  background: var(--soft);
  border: 1px solid rgba(13,77,120,.08);
}
.cdo-contact-card dt {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 800;
}
.cdo-contact-card dd {
  margin: .25rem 0 0;
  color: var(--ink);
  font-weight: 850;
  overflow-wrap: anywhere;
}
.cdo-role-intro {
  max-width: 100%;
  margin-bottom: 1rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  border-radius: 1.1rem;
  background: linear-gradient(135deg, rgba(13,77,120,.07), rgba(250,173,49,.08));
}
.cdo-role-intro p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.7;
}
.cdo-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.25rem);
}
.cdo-role-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: clamp(1.1rem, 2vw, 1.35rem);
  border-radius: 1.15rem;
  background: #fff;
}
.cdo-role-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: .28rem;
  border-radius: 1.15rem 0 0 1.15rem;
  background: linear-gradient(180deg, var(--brand), var(--accent));
}
.cdo-role-card-wide {
  grid-column: 1 / -1;
}
.cdo-role-number {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: .9rem;
  background: rgba(13,77,120,.09);
  color: var(--brand);
  font-weight: 900;
}
.cdo-role-card p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.65;
}
.cdo-nested-list {
  margin: .85rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.65;
}
.cdo-nested-list li + li {
  margin-top: .45rem;
}
@media (max-width: 900px) {
  .cdo-hero-grid,
  .cdo-profile-shell,
  .cdo-role-grid {
    grid-template-columns: 1fr;
  }
  .cdo-role-card-wide {
    grid-column: auto;
  }
}
@media (max-width: 560px) {
  .cdo-role-card {
    grid-template-columns: 1fr;
  }
  .cdo-hero-panel span {
    width: 4.5rem;
    height: 4.5rem;
  }
}



/* v1.80 online services hub with MyGEMS as primary platform */
.service-hub-hero {
  position: relative;
  overflow: hidden;
}
.service-hub-hero::after {
  content: "";
  position: absolute;
  inset: auto -6rem -8rem auto;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(179,122,34,.22), rgba(179,122,34,0));
  pointer-events: none;
}
.service-hub-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .75fr);
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: center;
}
.service-hub-page .page-hero h1,
.service-hub-page .section-head h2,
.mygems-feature-card h2,
.service-row-card h3,
.service-platform-grid h3,
.expertise-link-columns a {
  max-width: 100%;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.2rem;
}
.service-hero-panel {
  display: grid;
  gap: .85rem;
  padding: clamp(1rem, 3vw, 1.25rem);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 1rem;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 44px rgba(0,0,0,.18);
}
.service-hero-panel div {
  display: grid;
  gap: .2rem;
  padding: .8rem .9rem;
  border-radius: .85rem;
  background: rgba(255,255,255,.10);
}
.service-hero-panel strong {
  color: #fff;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  line-height: 1.1;
}
.service-hero-panel span {
  color: #eef8fd;
  font-weight: 700;
}
.mygems-highlight-section {
  padding-top: clamp(2.2rem, 5vw, 4rem);
}
.mygems-feature-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(16rem, .8fr);
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: center;
  overflow: hidden;
  padding: clamp(1.35rem, 4vw, 2.4rem);
  border-radius: 1.35rem;
  border: 1px solid #cfe4dc;
  background:
    radial-gradient(circle at 90% 10%, rgba(135,203,75,.22), transparent 34%),
    linear-gradient(135deg, rgba(11,107,87,.08), rgba(179,122,34,.08)),
    #fff;
  box-shadow: 0 22px 44px rgba(5,45,39,.10);
}
.mygems-feature-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: .45rem;
  background: linear-gradient(180deg, var(--brand), #78b84b, var(--accent));
}
.mygems-feature-content p {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.08rem);
}
.mygems-feature-side {
  display: grid;
  gap: .8rem;
}
.mygems-feature-side div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .75rem;
  align-items: center;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(11,107,87,.14);
}
.mygems-feature-side span,
.service-row-card > span {
  display: inline-grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: .85rem;
  background: rgba(11,107,87,.10);
  color: var(--brand);
  font-weight: 900;
}
.mygems-feature-side strong {
  color: var(--ink);
  line-height: 1.3;
}
.service-priority-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem;
}
.service-row-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: .9rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
  border: 1px solid #d6e4de;
  border-radius: 1rem;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 14px 26px rgba(5,45,39,.06);
}
.service-row-card::after,
.service-platform-grid .card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: .25rem;
  background: linear-gradient(90deg, var(--brand), #78b84b, var(--accent));
  border-radius: 1rem 1rem 0 0;
}
.service-row-card:hover,
.service-platform-grid .card:hover,
.expertise-link-columns a:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.service-row-card h3 {
  margin: 0 0 .25rem;
  line-height: 1.25;
}
.service-row-card p {
  margin: 0;
  color: var(--muted);
}
.service-platform-grid .card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-color: #d6e4de;
  box-shadow: 0 14px 26px rgba(5,45,39,.06);
}
.service-platform-grid .card p {
  color: var(--muted);
}
.expertise-link-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: .85rem;
}
.expertise-link-columns a {
  display: flex;
  align-items: center;
  min-height: 4.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid #d6e4de;
  border-radius: .95rem;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 12px 22px rgba(5,45,39,.05);
}
.expertise-link-columns a::before {
  content: "";
  flex: 0 0 .75rem;
  width: .75rem;
  height: .75rem;
  margin-right: .75rem;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 .25rem rgba(11,107,87,.10);
}
.service-note {
  margin-top: 1.25rem;
}
@media (max-width: 1080px) {
  .service-priority-list,
  .service-platform-grid,
  .expertise-link-columns {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 900px) {
  .service-hub-hero-grid,
  .mygems-feature-card {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .service-priority-list,
  .service-platform-grid,
  .expertise-link-columns {
    grid-template-columns: 1fr;
  }
  .service-row-card {
    grid-template-columns: 1fr;
  }
}


/* v1.81 online services promotional copy refinement: expertise reference section removed from Online Services page. */


/* v1.82 news hub based on online services theme */
.news-hub-page .page-hero h1,
.news-hub-page .section-head h2,
.news-feature-card h3,
.news-record-card h3 {
  max-width: 100%;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.news-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.news-feature-card,
.news-record-card {
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: .95rem;
  background: #fff;
  box-shadow: 0 16px 30px rgba(5,45,39,.06);
}
.news-feature-card::before,
.news-record-card::before {
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:.25rem;
  background:linear-gradient(90deg,var(--brand),#78b84b,var(--accent));
}
.news-feature-card h3,
.news-record-card h3 {
  margin: .85rem 0 .55rem;
  line-height: 1.22;
  color: var(--ink);
}
.news-feature-card p,
.news-record-card p {
  color: var(--muted);
  font-weight: 650;
}
.news-feature-card a,
.news-record-card a {
  display: inline-flex;
  margin-top: .7rem;
  font-weight: 850;
  text-decoration-thickness: .1rem;
}
.news-tools {
  display: grid;
  grid-template-columns: minmax(16rem, 1.4fr) minmax(9rem,.55fr) minmax(11rem,.7fr) minmax(9rem,.55fr) auto;
  gap: .85rem;
  align-items: end;
  margin-bottom: 1rem;
}
.news-record-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.news-card-top {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
}
.news-card-top span,
.news-card-top small {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: .2rem .62rem;
  border-radius: 999px;
  background: rgba(11,107,87,.09);
  color: var(--brand-deep);
  font-weight: 850;
}
.news-card-top small {
  background: #fff3dc;
  color: #7a4b05;
}
.news-impact {
  margin: .85rem 0;
  padding: .8rem .9rem;
  border-left: .24rem solid var(--accent);
  border-radius: .6rem;
  background: #fff8eb;
  color: var(--ink);
  font-weight: 750;
}
.news-record-card .meta {
  margin-top: .6rem;
}
@media (max-width: 1080px) {
  .news-feature-grid,
  .news-record-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .news-tools { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .news-feature-grid,
  .news-record-grid,
  .news-tools { grid-template-columns: 1fr; }
}


/* v1.83: News page uses FB source 2025/2026 and promotional public-facing copy */
.news-hub-page .section-head,
.news-hub-page .service-hub-hero-grid,
.news-hub-page .news-feature-grid,
.news-hub-page .news-record-grid {
  width: 100%;
  max-width: 100%;
}
.news-hub-page .page-hero p,
.news-hub-page .section-head p,
.news-hub-page .news-feature-card p,
.news-hub-page .news-record-card p {
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
@media (min-width: 1000px) {
  .news-hub-page .section-head > div {
    width: 100%;
  }
  .news-hub-page .section-head p {
    width: 100%;
  }
}


/* v1.84: News page carousel, uniform cards and pagination consistency */
.news-feature-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: .2rem 0 1.1rem;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.news-feature-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  align-items: stretch;
  animation: news-marquee-rtl 72s linear infinite;
}
.news-feature-marquee:hover .news-feature-track,
.news-feature-marquee:focus-within .news-feature-track {
  animation-play-state: paused;
}
.news-feature-track .news-feature-card {
  flex: 0 0 clamp(19rem, 30vw, 27rem);
  min-height: 20rem;
}
@keyframes news-marquee-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - .5rem)); }
}
.news-feature-card,
.news-record-card {
  display: flex;
  flex-direction: column;
  min-height: 22rem;
}
.news-feature-card p,
.news-record-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-feature-card p {
  -webkit-line-clamp: 4;
}
.news-record-card p {
  -webkit-line-clamp: 3;
}
.news-impact {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-record-card .meta {
  margin-top: auto;
  padding-top: .8rem;
}
.news-feature-card a,
.news-record-card a {
  margin-top: .85rem;
  align-self: flex-start;
}
.news-hub-page .cooperation-pagination {
  margin-top: 1.4rem;
}
.news-hub-page .section-head h2 {
  white-space: normal;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.news-hub-page .section-head p,
.news-hub-page .page-hero p {
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
}
@media (min-width: 1100px) {
  .news-hub-page .section-head p {
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .news-feature-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }
  .news-feature-track .news-feature-card {
    flex: 1 1 19rem;
  }
}
@media (max-width: 700px) {
  .news-feature-marquee {
    mask-image: none;
    overflow-x: auto;
    padding-bottom: 1rem;
  }
  .news-feature-track {
    animation: none;
  }
  .news-feature-track .news-feature-card {
    flex-basis: min(85vw, 24rem);
  }
  .news-feature-card,
  .news-record-card {
    min-height: 0;
  }
}


/* v1.85: News page compact hero, equal filter fields and plain info cards */
.news-hub-page .news-hub-hero {
  padding: clamp(2.1rem, 4.2vw, 3.8rem) 0;
}
.news-hub-page .service-hub-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(17rem, .72fr);
  gap: clamp(1rem, 3vw, 2rem);
}
.news-hub-page .news-hub-hero h1 {
  font-size: clamp(2rem, 3.7vw, 3.15rem);
}
.news-hub-page .news-hub-hero p {
  max-width: 76ch;
  font-weight: 500;
  line-height: 1.65;
}
.news-hub-page .service-hero-panel {
  max-width: 34rem;
  margin-left: auto;
}
.news-hub-page .service-hero-panel div {
  padding: .78rem .9rem;
}
.news-hub-page .service-hero-panel strong,
.news-hub-page .service-hero-panel span {
  font-weight: 700;
}
.news-hub-page .section {
  padding-top: clamp(2.4rem, 4vw, 4rem);
  padding-bottom: clamp(2.4rem, 4vw, 4rem);
}
.news-hub-page .section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.55rem);
}
.news-hub-page .section-head p {
  font-weight: 500;
  line-height: 1.65;
}
.news-tools {
  align-items: end;
}
.news-tools label {
  display: grid;
  gap: .3rem;
  font-weight: 600;
}
.news-tools label span {
  font-weight: 600;
}
.news-tools input,
.news-tools select,
.news-tools .button {
  height: 3.25rem;
  min-height: 3.25rem;
}
.news-tools input,
.news-tools select {
  font-weight: 500;
}
.news-tools .button {
  font-weight: 700;
}
.news-feature-card,
.news-record-card {
  border-color: #dce8ef;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  box-shadow: 0 12px 24px rgba(15,42,64,.06);
}
.news-feature-card::before,
.news-record-card::before {
  display: none;
}
.news-card-icon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
}
.news-flat-icon {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  border-radius: .95rem;
  background: #e8f4fb;
  color: #1c7db6;
}
.news-flat-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}
.news-feature-card .tag {
  margin-left: auto;
}
.news-feature-card h3,
.news-record-card h3 {
  margin-top: .2rem;
  font-weight: 800;
}
.news-feature-card p,
.news-record-card p,
.news-impact {
  display: block;
  overflow: visible;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.65;
}
.news-impact {
  margin: .85rem 0;
  padding: .85rem .95rem;
  border-left: 0;
  border-radius: .85rem;
  background: #edf6fb;
  color: #38586a;
}
.news-card-top span,
.news-card-top small {
  font-weight: 700;
}
.news-record-card .meta {
  margin-top: 0;
  padding-top: .85rem;
  color: var(--muted);
  font-weight: 500;
}
.news-feature-card,
.news-record-card {
  min-height: 0;
  height: auto;
}
.news-feature-track .news-feature-card {
  min-height: 0;
}
.news-record-card a,
.news-feature-card a {
  font-weight: 700;
}
.news-hub-page .quick-filter-panel strong,
.news-hub-page .cooperation-counter {
  font-weight: 700;
}
@media (min-width: 1081px) {
  .news-record-grid {
    align-items: stretch;
  }
  .news-record-card {
    min-height: 29rem;
  }
}
@media (max-width: 1080px) {
  .news-hub-page .service-hub-hero-grid {
    grid-template-columns: 1fr;
  }
  .news-hub-page .service-hero-panel {
    max-width: 100%;
    margin-left: 0;
  }
}
@media (max-width: 700px) {
  .news-tools input,
  .news-tools select,
  .news-tools .button {
    width: 100%;
  }
}

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


/* v1.86: News hero aligned to Online Services container and info icons removed */
.news-hub-page .service-hub-hero-grid {
  width: min(calc(100% - 2rem), var(--content)) !important;
  max-width: var(--content) !important;
  margin-inline: auto !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .75fr) !important;
  gap: clamp(1.25rem, 4vw, 2.5rem) !important;
}
.news-hub-page .news-hub-hero {
  padding: clamp(2.6rem, 5vw, 4.3rem) 0 !important;
}
.news-hub-page .service-hero-panel {
  max-width: none !important;
  margin-left: 0 !important;
}
.news-hub-page .news-hub-hero p {
  max-width: 72ch !important;
}
.news-card-icon-row,
.news-flat-icon {
  display: none !important;
}
.news-feature-card h3,
.news-record-card h3 {
  margin-top: .7rem !important;
  font-weight: 750 !important;
}
.news-feature-card p,
.news-record-card p,
.news-impact {
  font-weight: 400 !important;
  line-height: 1.68 !important;
}
.news-card-top span,
.news-card-top small,
.news-record-card .meta,
.news-feature-card a,
.news-record-card a {
  font-weight: 650 !important;
}
.news-tools input,
.news-tools select {
  font-weight: 400 !important;
}
.news-hub-page .service-hero-actions .button {
  font-weight: 750 !important;
}
@media (max-width: 1080px) {
  .news-hub-page .service-hub-hero-grid {
    grid-template-columns: 1fr !important;
  }
}


/* v1.87: Publications page follows Berita theme and UI pattern */
.publication-hub-page .publication-hub-hero {
  padding: clamp(2.1rem, 4.2vw, 3.8rem) 0;
}
.publication-hub-page .service-hub-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(17rem, .72fr);
  gap: clamp(1rem, 3vw, 2rem);
}
.publication-hub-page .page-hero h1,
.publication-hub-page .section-head h2,
.publication-feature-card h3,
.publication-record-card h3 {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.publication-hub-page .page-hero p,
.publication-hub-page .section-head p,
.publication-feature-card p,
.publication-record-card p,
.publication-record-card .news-impact {
  max-width: 100%;
  font-weight: 500;
  line-height: 1.65;
  white-space: normal !important;
  overflow-wrap: break-word;
}
.publication-hub-page .service-hero-panel {
  max-width: 34rem;
  margin-left: auto;
}
.publication-hub-page .service-hero-panel div {
  padding: .78rem .9rem;
}
.publication-hub-page .service-hero-panel strong,
.publication-hub-page .service-hero-panel span {
  font-weight: 700;
}
.publication-tools input,
.publication-tools select,
.publication-tools .button {
  height: 3.25rem;
  min-height: 3.25rem;
}
.publication-tools label,
.publication-tools label span,
.publication-tools input,
.publication-tools select {
  font-weight: 500;
}
.publication-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .7rem;
  margin-bottom: .85rem;
}
.publication-card-top small {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: .2rem .62rem;
  border-radius: 999px;
  background: #fff3dc;
  color: #7a4b05;
  font-weight: 700;
}
.publication-feature-card,
.publication-record-card {
  border-color: #dce8ef;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  box-shadow: 0 12px 24px rgba(15,42,64,.06);
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: auto;
}
.publication-feature-card::before,
.publication-record-card::before {
  display: none;
}
.publication-feature-card a,
.publication-record-card a {
  margin-top: .85rem;
  align-self: flex-start;
  font-weight: 700;
}
.publication-record-card .meta {
  margin-top: auto;
  padding-top: .85rem;
  color: var(--muted);
  font-weight: 500;
}
.publication-hub-page .cooperation-pagination {
  margin-top: 1.4rem;
}
@media (min-width: 1081px) {
  .publication-record-card {
    min-height: 28rem;
  }
}
@media (max-width: 1080px) {
  .publication-hub-page .service-hub-hero-grid {
    grid-template-columns: 1fr;
  }
  .publication-hub-page .service-hero-panel {
    max-width: 100%;
    margin-left: 0;
  }
}


/* v1.88: Digital publication gallery with real covers and generated fallback covers */
.publication-gallery-page .publication-hub-hero { padding: clamp(2.4rem, 4.5vw, 4.1rem) 0; }
.publication-gallery-page .service-hub-hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(17rem, .72fr); gap: clamp(1rem, 3vw, 2rem); }
.publication-gallery-page .publication-hub-hero h1 { font-size: clamp(2.05rem, 3.9vw, 3.25rem); }
.publication-gallery-page .publication-hub-hero p,
.publication-gallery-page .section-head p { max-width: 100%; white-space: normal !important; overflow-wrap: break-word; text-wrap: pretty; font-weight: 500; line-height: 1.65; }
.publication-gallery-page .service-hero-panel { max-width: 34rem; margin-left: auto; }
.publication-gallery-page .section-head h2,
.publication-feature-card h3,
.publication-record-card h3 { max-width: 100%; overflow-wrap: break-word; text-wrap: balance; }
.publication-record-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; align-items: stretch; }
.publication-feature-track .publication-feature-card { flex: 0 0 clamp(22rem, 32vw, 29rem); }
.publication-feature-card,
.publication-record-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid #dce8ef; border-radius: 1.05rem; background: linear-gradient(180deg, #fff 0%, #f8fbfd 100%); box-shadow: 0 14px 28px rgba(15,42,64,.07); }
.publication-feature-card::before,
.publication-record-card::before { display: none !important; }
.publication-cover { position: relative; width: 100%; aspect-ratio: 0.72; min-height: 16rem; margin: 0; overflow: hidden; background: #eef4f6; border-bottom: 1px solid #dce8ef; }
.publication-cover img { width: 100%; height: 100%; display: block; object-fit: cover; }
.publication-cover-feature { min-height: 17.5rem; }
.publication-cover-fallback { display: grid; align-content: space-between; padding: 1.2rem; color: #fff; background: linear-gradient(145deg, #12628c, #0b6b57); }
.publication-cover-fallback::after { content: ""; position: absolute; inset: auto -18% -18% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.18); }
.publication-cover-orange { background: linear-gradient(145deg, #0d4d78, #f59e0b); }
.publication-cover-green { background: linear-gradient(145deg, #0b6b57, #7bbf42); }
.publication-cover-blue { background: linear-gradient(145deg, #0d4d78, #1c7db6); }
.publication-cover-gold { background: linear-gradient(145deg, #7a4b05, #f7b733); }
.publication-cover-purple { background: linear-gradient(145deg, #4b2674, #1c7db6); }
.publication-cover-teal { background: linear-gradient(145deg, #0c736e, #0d4d78); }
.publication-cover-fallback span { position: relative; z-index: 1; width: fit-content; padding: .35rem .65rem; border-radius: 999px; background: rgba(255,255,255,.18); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.publication-cover-fallback strong { position: relative; z-index: 1; max-width: 12ch; font-size: clamp(1.65rem, 5vw, 2.7rem); line-height: 1; letter-spacing: -.04em; }
.publication-cover-fallback em { position: relative; z-index: 1; font-size: 2.2rem; line-height: 1; font-style: normal; font-weight: 900; opacity: .95; }
.publication-card-body { display: flex; flex-direction: column; padding: clamp(1rem, 2vw, 1.25rem); }
.publication-card-top { display: flex; justify-content: space-between; gap: .75rem; align-items: center; margin-bottom: .75rem; }
.publication-card-top span,
.publication-card-top small { display: inline-flex; align-items: center; min-height: 1.8rem; padding: .2rem .62rem; border-radius: 999px; background: rgba(11,107,87,.09); color: var(--brand-deep); font-size: .85rem; font-weight: 700; }
.publication-card-top small { background: #fff3dc; color: #7a4b05; }
.publication-feature-card h3,
.publication-record-card h3 { margin: 0 0 .65rem; color: var(--ink); font-size: clamp(1.12rem, 1.9vw, 1.32rem); line-height: 1.25; font-weight: 800; }
.publication-feature-card p,
.publication-record-card p,
.publication-impact { color: var(--muted); font-weight: 500; line-height: 1.65; }
.publication-impact { margin: .85rem 0; padding: .85rem .95rem; border-radius: .85rem; background: #edf6fb; color: #38586a; }
.publication-record-card .meta { margin-top: auto; padding-top: .85rem; color: var(--muted); font-weight: 500; }
.publication-action,
.publication-muted-action { display: inline-flex; align-self: flex-start; margin-top: .85rem; font-weight: 700; }
.publication-muted-action { padding: .38rem .65rem; border-radius: 999px; color: #5b6f7b; background: #eef4f6; text-decoration: none; }
.publication-tools input,
.publication-tools select,
.publication-tools .button { height: 3.25rem; min-height: 3.25rem; }
.publication-tools label,
.publication-tools label span,
.publication-tools input,
.publication-tools select { font-weight: 500; }
.publication-gallery-page .quick-filter-panel strong,
.publication-gallery-page .cooperation-counter,
.publication-gallery-page .button { font-weight: 700; }
@media (max-width: 1080px) { .publication-gallery-page .service-hub-hero-grid { grid-template-columns: 1fr; } .publication-record-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .publication-gallery-page .service-hero-panel { max-width: 100%; margin-left: 0; } }
@media (max-width: 760px) { .publication-record-grid { grid-template-columns: 1fr; } .publication-cover { min-height: 14rem; } .publication-feature-track .publication-feature-card { flex-basis: min(86vw, 24rem); } }


/* v1.89: Publication gallery uses Informasi JMG materials and plain metadata under title */
.publication-card-meta {
  display: block;
  margin: -.2rem 0 .75rem;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.45;
}
.publication-card-meta span {
  color: #9aa9b3;
  margin: 0 .3rem;
}
.publication-card-body > h3 + .publication-card-meta {
  max-width: 100%;
  overflow-wrap: break-word;
}
.publication-card-body p,
.publication-impact {
  font-weight: 500;
}
.publication-card-top {
  display: none !important;
}
.publication-record-card .meta {
  display: none !important;
}
.publication-record-card,
.publication-feature-card {
  border-color: #dce8ef;
}
.publication-action {
  font-weight: 700;
}
.publication-cover-fallback span {
  border-radius: .65rem;
}
.publication-cover-fallback strong {
  max-width: 13ch;
}
@media (min-width: 1081px) {
  .publication-record-grid {
    align-items: stretch;
  }
  .publication-record-card {
    min-height: 34rem;
  }
}


/* v1.90: Publication gallery cover and metadata refinement */
@media (min-width: 1180px) {
  .publication-gallery-page .publication-record-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 820px) and (max-width: 1179px) {
  .publication-gallery-page .publication-record-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 560px) and (max-width: 819px) {
  .publication-gallery-page .publication-record-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.publication-gallery-page .publication-cover {
  height: clamp(8.75rem, 18vw, 11.5rem);
  min-height: 0;
  aspect-ratio: auto;
  display: grid;
  place-items: center;
  padding: .45rem;
  background: #f3f8fb;
}
.publication-gallery-page .publication-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: .45rem;
}
.publication-gallery-page .publication-cover-feature {
  height: clamp(9.25rem, 20vw, 12.5rem);
  min-height: 0;
}
.publication-gallery-page .publication-cover-fallback {
  align-content: space-between;
  padding: .9rem;
  color: #fff !important;
}
.publication-gallery-page .publication-cover-fallback span,
.publication-gallery-page .publication-cover-fallback strong,
.publication-gallery-page .publication-cover-fallback em {
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.28);
}
.publication-gallery-page .publication-cover-fallback span {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.22);
  font-size: .68rem;
  line-height: 1.15;
}
.publication-gallery-page .publication-cover-fallback strong {
  max-width: 12ch;
  font-size: clamp(1.15rem, 3vw, 1.75rem);
  line-height: 1.05;
}
.publication-gallery-page .publication-cover-fallback em {
  font-size: clamp(1.2rem, 3vw, 1.65rem);
}
.publication-gallery-page .publication-card-meta {
  margin: -.15rem 0 .7rem;
  font-size: .82rem;
  font-weight: 500;
  color: #667b89;
}
.publication-gallery-page .publication-card-body {
  padding: clamp(.9rem, 1.7vw, 1.05rem);
}
.publication-gallery-page .publication-card-body h3 {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.25;
}
.publication-gallery-page .publication-card-body p,
.publication-gallery-page .publication-impact {
  font-size: .92rem;
  line-height: 1.58;
}
@media (min-width: 1081px) {
  .publication-gallery-page .publication-record-card {
    min-height: 0;
  }
}


/* v1.91: publication JS recovery and fallback-cover safety */
.publication-cover-fallback,
.publication-cover-fallback span,
.publication-cover-fallback strong,
.publication-cover-fallback em { color: #fff !important; }
@media (min-width: 1120px) {
  .publication-gallery-page .publication-record-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}


/* v1.92: final menu structure and publication gallery cover/card fix */
@media (min-width: 860px) {
  .publication-gallery-page .publication-record-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.publication-gallery-page .publication-cover {
  height: clamp(7.8rem, 12vw, 10.25rem);
  min-height: 0 !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
  overflow: hidden;
  background: #eaf3f7;
}
.publication-gallery-page .publication-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center center;
  border-radius: 0 !important;
}
.publication-gallery-page .publication-cover-feature {
  height: clamp(8.5rem, 15vw, 11.25rem);
}
.publication-gallery-page .publication-cover-fallback {
  display: grid !important;
  place-items: stretch;
  align-content: space-between;
  padding: .85rem !important;
  color: #fff !important;
  background: linear-gradient(145deg, #0d4d78, #0b6b57);
}
.publication-gallery-page .publication-cover-fallback span,
.publication-gallery-page .publication-cover-fallback strong,
.publication-gallery-page .publication-cover-fallback em {
  position: relative;
  z-index: 1;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.38);
}
.publication-gallery-page .publication-cover-fallback strong {
  max-width: 13ch;
  align-self: center;
  font-size: clamp(1rem, 2.2vw, 1.55rem);
  line-height: 1.05;
}
.publication-gallery-page .publication-record-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 0 !important;
}
.publication-gallery-page .publication-record-card .publication-card-body {
  min-height: 10.2rem;
}
.publication-gallery-page .publication-record-card .publication-action {
  margin-top: auto;
}
.publication-gallery-page .publication-record-card p,
.publication-gallery-page .publication-record-card .publication-impact {
  display: none !important;
}
.publication-gallery-page .publication-card-meta {
  margin-bottom: .85rem;
}
.primary-nav .nav-submenu {
  white-space: normal;
}


/* v1.93: publication cover image gap fix */
.publication-gallery-page .publication-cover-has-image {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
  background: transparent !important;
  border-bottom: 1px solid #dce8ef;
}
.publication-gallery-page .publication-cover-has-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover !important;
  object-position: center center !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: top !important;
}
.publication-gallery-page .publication-cover-fallback {
  font-size: 1rem;
  line-height: 1.1;
}


/* v1.94: simplify News/Publications navigation and move e-Participation/Open Data into page content */
.news-eparticipation-section {
  background: linear-gradient(180deg, #ffffff 0%, #f4f9fb 100%);
}
.news-eparticipation-card {
  min-height: 100%;
  border-color: #dce8ef;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  box-shadow: 0 12px 24px rgba(15,42,64,.06);
}
.news-eparticipation-card h3 {
  margin-top: 0;
  overflow-wrap: break-word;
}
.news-eparticipation-card p {
  color: var(--muted);
  font-weight: 500;
  line-height: 1.65;
}
.publication-open-data-button {
  white-space: nowrap;
}
.service-hero-actions {
  align-items: center;
}
@media (max-width: 760px) {
  .publication-open-data-button,
  .service-hero-actions .button {
    white-space: normal;
  }
}


/* v1.95: Mandatory SPLaSK quick-link images in header with mobile-specific icons */
.header-quick-links {
  max-width: 31rem;
  gap: .45rem;
}
.header-quick-links .header-quick-link {
  gap: .45rem;
  min-height: 2.55rem;
  padding: .32rem .72rem .32rem .42rem;
  border-radius: 999rem;
  background: linear-gradient(180deg,#fff,#f7fbfd);
  box-shadow: 0 4px 14px rgba(15,42,64,.05);
}
.quick-link-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  line-height: 0;
}
.quick-link-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.quick-link-icon--mobile {
  display: none;
}
.quick-link-label {
  display: inline-block;
  white-space: normal;
  overflow-wrap: anywhere;
}
.header-quick-links .header-quick-link:hover .quick-link-icon--desktop img,
.header-quick-links .header-quick-link:focus .quick-link-icon--desktop img {
  transform: translateY(-1px);
}
.header-quick-links .header-quick-link .quick-link-icon--desktop img {
  transition: transform .18s ease;
}
@media (max-width: 62rem) {
  .header-quick-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .55rem;
    width: 100%;
    max-width: none;
    padding-left: 0;
  }
  .header-quick-links .header-quick-link {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: .35rem;
    min-height: 4.9rem;
    padding: .55rem .35rem;
    border-radius: .95rem;
  }
  .quick-link-icon {
    width: 1.95rem;
    height: 1.95rem;
  }
  .quick-link-icon--desktop {
    display: none;
  }
  .quick-link-icon--mobile {
    display: inline-grid;
  }
  .quick-link-label {
    font-size: .75rem;
    line-height: 1.15;
  }
}
@media (max-width: 30rem) {
  .header-quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .header-quick-links .header-quick-link {
    min-height: 4.55rem;
  }
}


/* v1.96: About page embeds Client Charter, CDO modal and Warga quick link */
.about-actions {
  flex-wrap: wrap;
}
.about-actions button.button {
  cursor: pointer;
}
.about-charter-section {
  scroll-margin-top: 6rem;
}
.about-charter-section .section-head p {
  max-width: 100%;
  overflow-wrap: break-word;
}
.cdo-modal[hidden] {
  display: none !important;
}
.cdo-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
}
.cdo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,30,45,.68);
  backdrop-filter: blur(8px);
}
.cdo-modal-panel {
  position: relative;
  z-index: 1;
  width: min(72rem, 100%);
  max-height: min(86vh, 62rem);
  overflow: auto;
  border-radius: 1.35rem;
  background: #fff;
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
  outline: none;
}
.cdo-modal-body {
  padding: clamp(1.2rem, 3vw, 2rem);
}
.cdo-modal-head {
  margin-bottom: 1rem;
}
.cdo-modal-close {
  position: sticky;
  top: .85rem;
  float: right;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: .85rem .85rem 0 0;
  border: 0;
  border-radius: 999px;
  background: #0f4c75;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15,76,117,.25);
}
.cdo-modal .section {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
body.modal-open {
  overflow: hidden;
}
.header-quick-link--warga .quick-link-icon--desktop img {
  filter: drop-shadow(0 3px 7px rgba(15,42,64,.12));
}
@media (max-width: 62rem) {
  .header-quick-links {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .cdo-modal {
    padding: .6rem;
  }
  .cdo-modal-panel {
    max-height: 90vh;
    border-radius: 1rem;
  }
  .cdo-modal .cdo-profile-shell,
  .cdo-modal .cdo-role-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 42rem) {
  .header-quick-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 30rem) {
  .header-quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* v1.97: Warga JMG moved from header quick links to a separated right-side main-navigation item */
.nav-inner {
  justify-content: space-between;
  gap: clamp(.75rem, 2vw, 1.25rem);
}
.primary-nav {
  width: auto;
  flex: 0 1 auto;
}
.primary-nav ul {
  justify-content: flex-start;
}
.nav-warga-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: .55rem .95rem;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999rem;
  color: #fff;
  text-decoration: none;
  font-weight: 850;
  line-height: 1.15;
  white-space: nowrap;
  background: rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.nav-warga-link:hover,
.nav-warga-link:focus-visible {
  background: #fff;
  color: var(--brand-deep);
  border-color: #fff;
  text-decoration: none;
}
.header-quick-link--warga {
  display: none !important;
}
@media (max-width: 62rem) {
  .nav-inner {
    justify-content: flex-end;
  }
  .menu-toggle {
    order: 2;
    margin-left: 0;
  }
  .primary-nav {
    order: 3;
    width: 100%;
  }
  .nav-warga-link {
    order: 1;
    min-height: 2.75rem;
    margin-left: auto;
    margin-right: .55rem;
    padding: .55rem .85rem;
    border-radius: .85rem;
    background: rgba(255,255,255,.14);
    font-size: .9rem;
  }
  .header-quick-links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 42rem) {
  .nav-warga-link {
    font-size: .82rem;
    padding-inline: .7rem;
  }
  .header-quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* v1.98: uppercase brand title, sticky navigation, larger menu and mineral price ticker */
.site-title strong {
  text-transform: uppercase;
  letter-spacing: .015em;
}
.nav-shell {
  position: sticky;
  top: 0;
  z-index: 1200;
  box-shadow: 0 10px 24px rgba(5,45,39,.12);
}
.primary-nav a {
  font-size: clamp(.98rem, 1.05vw, 1.08rem);
  font-weight: 760;
  padding-inline: 1.05rem;
}
.nav-warga-link {
  font-size: clamp(.96rem, 1vw, 1.05rem);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.85rem;
}
.utility-links {
  margin-left: auto !important;
  margin-right: 0 !important;
  flex: 0 0 auto;
  justify-content: flex-end;
}
.mineral-price-ticker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .75rem;
  min-width: 0;
  flex: 1 1 auto;
  color: #fff;
}
.mineral-ticker-label {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: .28rem .7rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999rem;
  background: rgba(255,255,255,.10);
  color: #fff;
  font-weight: 850;
  white-space: nowrap;
}
.mineral-ticker-label::before {
  content: "";
  width: .55rem;
  height: .55rem;
  margin-right: .45rem;
  border-radius: 999rem;
  background: var(--accent);
  box-shadow: 0 0 0 .22rem rgba(179,122,34,.28);
}
.mineral-ticker-window {
  position: relative;
  overflow: hidden;
  min-width: 0;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.mineral-ticker-track {
  display: flex;
  width: max-content;
  gap: 1.1rem;
  align-items: center;
  white-space: nowrap;
  animation: mineral-ticker-rtl 46s linear infinite;
}
.mineral-price-ticker:hover .mineral-ticker-track,
.mineral-price-ticker:focus-within .mineral-ticker-track {
  animation-play-state: paused;
}
.mineral-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  color: rgba(255,255,255,.96);
  font-weight: 650;
  line-height: 1.2;
}
.mineral-ticker-item::after {
  content: "";
  width: .22rem;
  height: .22rem;
  border-radius: 999rem;
  background: rgba(255,255,255,.55);
  margin-left: .75rem;
}
@keyframes mineral-ticker-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - .55rem)); }
}
@media (max-width: 62rem) {
  .nav-shell {
    top: 0;
  }
  .primary-nav a {
    font-size: 1rem;
    padding-inline: 1.15rem;
  }
  .topbar-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .55rem;
    padding-block: .25rem;
  }
  .mineral-price-ticker {
    grid-template-columns: 1fr;
    gap: .18rem;
  }
  .mineral-ticker-label {
    width: fit-content;
    min-height: 1.7rem;
    padding: .18rem .55rem;
    font-size: .72rem;
  }
  .mineral-ticker-track {
    animation-duration: 36s;
  }
  .mineral-ticker-item {
    font-size: .78rem;
  }
  .utility-links {
    align-self: start;
    padding-top: .05rem;
  }
}
@media (max-width: 42rem) {
  .topbar-inner {
    grid-template-columns: minmax(0,1fr) auto;
  }
  .mineral-ticker-label {
    max-width: 11.5rem;
  }
  .site-title {
    font-size: clamp(.95rem, 5.6vw, 1.35rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mineral-ticker-track {
    animation: none;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: auto;
  }
}


/* v1.99: slower smoother mineral ticker with market-card colour treatment */
.mineral-price-ticker {
  gap: .65rem;
  padding: .22rem .45rem .22rem .25rem;
  border: 1px solid rgba(180, 137, 40, .24);
  border-radius: 999rem;
  background: linear-gradient(90deg, rgba(250, 255, 251, .96), rgba(255, 251, 238, .94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.86), 0 8px 18px rgba(10, 50, 41, .10);
  color: #173d34;
}
.mineral-ticker-label {
  min-height: 2.05rem;
  padding: .3rem .78rem;
  border-color: rgba(224, 176, 67, .44);
  background: linear-gradient(135deg, #053b32 0%, #0b6b55 72%, #0f8a63 100%);
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(5, 59, 50, .20);
}
.mineral-ticker-label::before {
  background: #d9a529;
  box-shadow: 0 0 0 .23rem rgba(217, 165, 41, .22);
}
.mineral-ticker-window {
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.mineral-ticker-track {
  gap: .72rem;
  animation-duration: 128s !important;
  will-change: transform;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
}
.mineral-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: .36rem;
  padding: .28rem .58rem;
  border: 1px solid rgba(9, 73, 57, .12);
  border-radius: 999rem;
  background: rgba(255,255,255,.82);
  color: #213f38;
  font-weight: 680;
  box-shadow: 0 2px 8px rgba(9, 73, 57, .06);
}
.mineral-ticker-item::after {
  width: .24rem;
  height: .24rem;
  background: rgba(13, 93, 73, .35);
  margin-left: .42rem;
}
.mineral-ticker-category {
  color: #07513f;
  font-weight: 860;
}
.mineral-ticker-name {
  color: #273f39;
  font-weight: 720;
}
.mineral-ticker-price {
  color: #1b342f;
  font-weight: 820;
  font-variant-numeric: tabular-nums;
}
.mineral-ticker-change {
  display: inline-flex;
  align-items: center;
  padding: .12rem .38rem;
  border: 1px solid transparent;
  border-radius: 999rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}
.mineral-ticker-change.is-up {
  color: #137a37;
  background: #e9f8ef;
  border-color: rgba(19, 122, 55, .18);
}
.mineral-ticker-change.is-down {
  color: #c92f2f;
  background: #fff0f0;
  border-color: rgba(201, 47, 47, .18);
}
@media (max-width: 62rem) {
  .mineral-price-ticker {
    border-radius: 1rem;
    padding: .28rem .38rem;
  }
  .mineral-ticker-track {
    animation-duration: 104s !important;
    gap: .55rem;
  }
  .mineral-ticker-item {
    padding: .24rem .48rem;
    font-size: .78rem;
  }
}


/* v2.00: restore original topbar background; only mineral values use pills; ticker slightly faster */
.mineral-price-ticker {
  gap: .75rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
}
.mineral-ticker-label {
  min-height: 2rem !important;
  padding: .28rem .7rem !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  border-radius: 999rem !important;
  background: rgba(255,255,255,.10) !important;
  color: #fff !important;
  box-shadow: none !important;
}
.mineral-ticker-label::before {
  background: var(--accent) !important;
  box-shadow: 0 0 0 .22rem rgba(179,122,34,.28) !important;
}
.mineral-ticker-track {
  gap: 1.1rem !important;
  animation-duration: 88s !important;
  will-change: transform;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
}
.mineral-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: .32rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(255,255,255,.96) !important;
  box-shadow: none !important;
  font-weight: 650 !important;
  line-height: 1.2;
}
.mineral-ticker-item::after {
  width: .22rem !important;
  height: .22rem !important;
  background: rgba(255,255,255,.55) !important;
  margin-left: .75rem !important;
}
.mineral-ticker-category {
  color: rgba(255,255,255,.88) !important;
  font-weight: 760 !important;
}
.mineral-ticker-name {
  color: #fff !important;
  font-weight: 720 !important;
}
.mineral-ticker-price {
  display: inline-flex;
  align-items: center;
  padding: .12rem .42rem;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999rem;
  background: rgba(255,255,255,.14);
  color: #fff !important;
  font-weight: 820;
  font-variant-numeric: tabular-nums;
}
.mineral-ticker-change {
  display: inline-flex;
  align-items: center;
  padding: .12rem .38rem;
  border-radius: 999rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}
.mineral-ticker-change.is-up {
  color: #dff8ea !important;
  background: rgba(24, 158, 80, .28) !important;
  border-color: rgba(151, 231, 179, .38) !important;
}
.mineral-ticker-change.is-down {
  color: #ffe5e5 !important;
  background: rgba(215, 56, 56, .30) !important;
  border-color: rgba(255, 176, 176, .42) !important;
}
@media (max-width: 62rem) {
  .mineral-price-ticker {
    border-radius: 0 !important;
    padding: 0 !important;
  }
  .mineral-ticker-track {
    animation-duration: 72s !important;
    gap: .85rem !important;
  }
  .mineral-ticker-item {
    padding: 0 !important;
    font-size: .78rem;
  }
  .mineral-ticker-price,
  .mineral-ticker-change {
    padding: .1rem .32rem;
  }
}


/* v2.01: compact official header, hover-expand quick links and seamless mineral ticker */
.identity {
  gap: .72rem !important;
  padding: .72rem 0 !important;
}
.brand-mark {
  width: 4.35rem !important;
  min-width: 4.35rem !important;
  height: 3.6rem !important;
}
.brand-logo {
  width: 4.15rem !important;
  max-height: 3.35rem !important;
}
.portal-label {
  font-size: .72rem !important;
  letter-spacing: .14em !important;
  line-height: 1.15 !important;
}
.site-title {
  font-size: clamp(.98rem, 1.5vw, 1.25rem) !important;
  line-height: 1.12 !important;
  margin-top: .08rem !important;
}
.site-subtitle {
  font-size: .78rem !important;
  margin-top: .12rem !important;
}
.header-quick-links {
  max-width: none !important;
  flex-wrap: nowrap !important;
  justify-content: flex-end !important;
  gap: .38rem !important;
  overflow: visible !important;
  border-left-width: .16rem !important;
  padding-left: .7rem !important;
}
.header-quick-links .header-quick-link {
  width: auto !important;
  min-width: 2.58rem !important;
  max-width: 2.58rem;
  min-height: 2.58rem !important;
  padding: .28rem !important;
  gap: 0 !important;
  overflow: hidden;
  white-space: nowrap;
  justify-content: flex-start;
  transition: max-width .34s ease, padding-inline .34s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.header-quick-links .header-quick-link:hover,
.header-quick-links .header-quick-link:focus-visible {
  max-width: 17rem;
  padding-right: .75rem !important;
  box-shadow: 0 8px 20px rgba(15,42,64,.10);
}
.header-quick-links .quick-link-icon {
  width: 2rem !important;
  height: 2rem !important;
}
.header-quick-links .quick-link-label {
  max-width: 0;
  opacity: 0;
  margin-left: 0;
  overflow: hidden;
  white-space: nowrap;
  transform: translateX(-.25rem);
  transition: max-width .34s ease, opacity .22s ease, margin-left .34s ease, transform .34s ease;
}
.header-quick-links .header-quick-link:hover .quick-link-label,
.header-quick-links .header-quick-link:focus-visible .quick-link-label {
  max-width: 14rem;
  opacity: 1;
  margin-left: .5rem;
  transform: translateX(0);
}
.mineral-ticker-window {
  overflow: hidden !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}
.mineral-ticker-track {
  animation-name: mineral-ticker-rtl-v201 !important;
  animation-duration: 88s !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
  transform: translate3d(0,0,0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  contain: content;
}
@keyframes mineral-ticker-rtl-v201 {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-33.333333%,0,0); }
}
@media (max-width: 62rem) {
  .identity {
    gap: .58rem !important;
    padding: .62rem 0 !important;
  }
  .brand-mark {
    width: 3.75rem !important;
    min-width: 3.75rem !important;
    height: 3.1rem !important;
  }
  .brand-logo {
    width: 3.55rem !important;
    max-height: 2.95rem !important;
  }
  .site-title {
    font-size: clamp(.86rem, 3.2vw, 1.05rem) !important;
  }
  .site-subtitle {
    font-size: .72rem !important;
  }
  .header-quick-links {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: .42rem !important;
    overflow-x: auto !important;
    scrollbar-width: none;
    border-left: 0 !important;
    padding-left: 0 !important;
  }
  .header-quick-links::-webkit-scrollbar { display: none; }
  .header-quick-links .header-quick-link {
    flex: 0 0 auto !important;
    max-width: 2.58rem;
    min-width: 2.58rem !important;
    min-height: 2.58rem !important;
    padding: .28rem !important;
    border-radius: 999rem !important;
  }
  .header-quick-links .header-quick-link:hover,
  .header-quick-links .header-quick-link:focus-visible,
  .header-quick-links .header-quick-link:active {
    max-width: 15rem;
    padding-right: .75rem !important;
  }
  .header-quick-links .header-quick-link:hover .quick-link-label,
  .header-quick-links .header-quick-link:focus-visible .quick-link-label,
  .header-quick-links .header-quick-link:active .quick-link-label {
    max-width: 12rem;
    opacity: 1;
    margin-left: .5rem;
    transform: translateX(0);
  }
  .mineral-ticker-track {
    animation-duration: 72s !important;
  }
}
@media (max-width: 30rem) {
  .portal-label { font-size: .66rem !important; }
  .site-title { font-size: .82rem !important; }
  .header-quick-links .header-quick-link:hover,
  .header-quick-links .header-quick-link:focus-visible,
  .header-quick-links .header-quick-link:active {
    max-width: 13.5rem;
  }
}

/* v2.02: FAQ page refined with Online Services visual theme and Kompendium-derived content */
.faq-hub-page .service-hub-hero-grid {
  align-items: center;
}
.faq-hub-page .page-hero p {
  max-width: 70rem;
}
.faq-feature-card .mygems-feature-side a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .75rem;
  align-items: center;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(11,107,87,.14);
  color: inherit;
  text-decoration: none;
}
.faq-feature-card .mygems-feature-side a:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(5,45,39,.10);
}
.faq-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.faq-category-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .65rem .95rem;
  border: 1px solid #cfe4dc;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-deep);
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 10px 20px rgba(5,45,39,.05);
}
.faq-category-nav a:hover {
  border-color: rgba(11,107,87,.36);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.faq-section {
  padding-top: clamp(2rem, 5vw, 3.25rem);
}
.faq-accordion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .9rem;
}
.faq-item {
  overflow: hidden;
  border: 1px solid #d6e4de;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 14px 26px rgba(5,45,39,.06);
}
.faq-item summary {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: .8rem;
  align-items: center;
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.1rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary span {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: .75rem;
  background: rgba(11,107,87,.10);
  color: var(--brand);
  font-size: .88rem;
  font-weight: 950;
}
.faq-item summary strong {
  max-width: 100%;
  overflow-wrap: break-word;
  text-wrap: balance;
  line-height: 1.25;
}
.faq-item summary::after {
  content: "+";
  grid-column: 3;
  justify-self: end;
  color: var(--accent-deep);
  font-weight: 950;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  margin: 0;
  padding: 0 1.1rem 1.1rem 4.25rem;
  color: var(--muted);
  line-height: 1.65;
}
@media (max-width: 900px) {
  .faq-accordion-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .faq-item summary {
    grid-template-columns: auto minmax(0,1fr) auto;
  }
  .faq-item summary::after {
    grid-column: 3;
  }
  .faq-item p {
    padding-left: 1.1rem;
  }
}


/* v2.03: stable mineral ticker and sitemap primary-nav repair */
.primary-nav > ul > li > ul {
  display: none !important;
}
.mineral-price-ticker {
  --mineral-ticker-duration: 96s;
}
.mineral-ticker-window {
  overflow: hidden !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
  contain: content;
}
.mineral-ticker-track {
  display: inline-flex !important;
  align-items: center !important;
  width: max-content !important;
  min-width: max-content !important;
  gap: 0 !important;
  animation: mineral-ticker-stable-v203 var(--mineral-ticker-duration) linear infinite !important;
  will-change: transform;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.mineral-ticker-segment {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 1.1rem;
  padding-right: 1.1rem;
  white-space: nowrap;
}
.mineral-ticker-item {
  flex: 0 0 auto;
}
@keyframes mineral-ticker-stable-v203 {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-50%,0,0); }
}
@media (max-width: 62rem) {
  .mineral-price-ticker {
    --mineral-ticker-duration: 80s;
  }
  .mineral-ticker-segment {
    gap: .85rem;
    padding-right: .85rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mineral-ticker-track {
    animation: none !important;
    overflow-x: auto;
    max-width: 100%;
  }
}


/* v2.05: controlled quick-link pop labels, FAQ visual alignment and safer ticker loop */
.header-quick-links {
  isolation: isolate;
}
.header-quick-links .header-quick-link {
  position: relative !important;
  overflow: visible !important;
  justify-content: center !important;
  max-width: 2.58rem !important;
  min-width: 2.58rem !important;
  width: 2.58rem !important;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
  z-index: 1;
}
.header-quick-links .header-quick-link:hover,
.header-quick-links .header-quick-link:focus-visible {
  max-width: 2.58rem !important;
  padding: .28rem !important;
  transform: translateY(-1px);
  box-shadow: 0 .75rem 1.4rem rgba(15,42,64,.12) !important;
  z-index: 20;
}
.header-quick-links .quick-link-label {
  position: absolute !important;
  left: calc(100% + .48rem) !important;
  right: auto !important;
  top: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 2.12rem !important;
  max-width: min(18rem, 58vw) !important;
  width: max-content !important;
  margin-left: 0 !important;
  padding: .42rem .72rem !important;
  border: 1px solid rgba(13,77,120,.16) !important;
  border-radius: 999rem !important;
  background: rgba(255,255,255,.98) !important;
  color: var(--brand-deep) !important;
  box-shadow: 0 .9rem 1.8rem rgba(15,42,64,.14) !important;
  font-size: .82rem !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  overflow: visible !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translate3d(-.35rem,-50%,0) scale(.98) !important;
  transform-origin: left center !important;
  transition: opacity .18s ease, transform .22s cubic-bezier(.2,.7,.2,1), visibility 0s linear .22s !important;
}
.header-quick-links .quick-link-label::before {
  content: "";
  position: absolute;
  left: -.28rem;
  top: 50%;
  width: .55rem;
  height: .55rem;
  border-left: 1px solid rgba(13,77,120,.16);
  border-bottom: 1px solid rgba(13,77,120,.16);
  background: rgba(255,255,255,.98);
  transform: translateY(-50%) rotate(45deg);
}
.header-quick-links .header-quick-link:hover .quick-link-label,
.header-quick-links .header-quick-link:focus-visible .quick-link-label {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate3d(0,-50%,0) scale(1) !important;
  transition-delay: 0s !important;
}
.header-quick-links .header-quick-link:nth-last-child(-n+2) .quick-link-label {
  left: auto !important;
  right: calc(100% + .48rem) !important;
  transform: translate3d(.35rem,-50%,0) scale(.98) !important;
  transform-origin: right center !important;
}
.header-quick-links .header-quick-link:nth-last-child(-n+2) .quick-link-label::before {
  left: auto;
  right: -.28rem;
  border-left: 0;
  border-bottom: 0;
  border-right: 1px solid rgba(13,77,120,.16);
  border-top: 1px solid rgba(13,77,120,.16);
}
.header-quick-links .header-quick-link:nth-last-child(-n+2):hover .quick-link-label,
.header-quick-links .header-quick-link:nth-last-child(-n+2):focus-visible .quick-link-label {
  transform: translate3d(0,-50%,0) scale(1) !important;
}

.faq-hub-page .service-hub-hero {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand) 58%, var(--green));
}
.faq-hub-page .service-hero-panel,
.faq-hub-page .mygems-feature-card {
  border-color: rgba(255,255,255,.18);
}
.faq-hub-page .faq-category-nav a,
.faq-hub-page .faq-item {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}
.faq-hub-page .faq-item[open] {
  border-color: rgba(11,107,87,.32);
  box-shadow: 0 1rem 2rem rgba(5,45,39,.10);
}
.faq-hub-page .faq-item[open] summary {
  background: linear-gradient(180deg,#fff,var(--brand-soft));
}

.mineral-price-ticker {
  --mineral-ticker-duration: 92s;
}
.mineral-ticker-track {
  animation-name: mineral-ticker-stable-v205 !important;
  animation-duration: var(--mineral-ticker-duration) !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
  transform: translate3d(0,0,0);
  will-change: transform;
}
.mineral-ticker-track.is-ticker-ready,
.mineral-ticker-track[data-ticker-signature] {
  opacity: 1;
}
@keyframes mineral-ticker-stable-v205 {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-33.333333%,0,0); }
}
@media (max-width: 62rem) {
  .header-quick-links {
    overflow-y: visible !important;
  }
  .header-quick-links .header-quick-link,
  .header-quick-links .header-quick-link:hover,
  .header-quick-links .header-quick-link:focus-visible,
  .header-quick-links .header-quick-link:active {
    max-width: 2.58rem !important;
    min-width: 2.58rem !important;
    width: 2.58rem !important;
    padding: .28rem !important;
  }
  .header-quick-links .quick-link-label,
  .header-quick-links .header-quick-link:nth-last-child(-n+2) .quick-link-label {
    left: 50% !important;
    right: auto !important;
    top: calc(100% + .5rem) !important;
    max-width: min(15rem, 76vw) !important;
    transform: translate3d(-50%,-.35rem,0) scale(.98) !important;
    transform-origin: center top !important;
  }
  .header-quick-links .quick-link-label::before,
  .header-quick-links .header-quick-link:nth-last-child(-n+2) .quick-link-label::before {
    left: 50% !important;
    right: auto !important;
    top: -.28rem !important;
    border: 0 !important;
    border-left: 1px solid rgba(13,77,120,.16) !important;
    border-top: 1px solid rgba(13,77,120,.16) !important;
    transform: translateX(-50%) rotate(45deg) !important;
  }
  .header-quick-links .header-quick-link:hover .quick-link-label,
  .header-quick-links .header-quick-link:focus-visible .quick-link-label,
  .header-quick-links .header-quick-link:active .quick-link-label,
  .header-quick-links .header-quick-link:nth-last-child(-n+2):hover .quick-link-label,
  .header-quick-links .header-quick-link:nth-last-child(-n+2):focus-visible .quick-link-label {
    transform: translate3d(-50%,0,0) scale(1) !important;
  }
  .mineral-price-ticker {
    --mineral-ticker-duration: 76s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .header-quick-links .quick-link-label,
  .header-quick-links .header-quick-link,
  .faq-hub-page .faq-category-nav a,
  .faq-hub-page .faq-item {
    transition: none !important;
  }
}


/* v2.06: Enhanced official footer, related links and popular tags */
.site-footer { background: linear-gradient(135deg, #082f49 0%, #0b3c5d 54%, #0b4f55 100%); color:#dceaf2; margin-top:3rem; }
.site-footer a { color:#fff; text-decoration:none; }
.site-footer a:hover, .site-footer a:focus { text-decoration:underline; text-underline-offset:.18rem; }
.footer-grid.footer-grid-enhanced { display:grid; grid-template-columns:1.35fr .92fr 1.18fr 1.08fr .95fr; gap:1.35rem; padding:3rem 0 2.55rem; align-items:start; }
.footer-grid h2 { color:#fff; font-size:1rem; letter-spacing:.01em; margin:0 0 .9rem; line-height:1.25; }
.footer-brand-block h2 { font-size:1.08rem; letter-spacing:.04em; }
.footer-brand-block p { margin:.15rem 0 1rem; color:#d8edf5; line-height:1.6; max-width:42ch; }
.footer-brand-block address { color:#e7f4f8; font-style:normal; line-height:1.65; }
.footer-links { list-style:none; margin:0; padding:0; }
.footer-links li + li { margin-top:.52rem; }
.footer-links a { display:inline-flex; align-items:flex-start; gap:.45rem; line-height:1.35; font-weight:650; }
.footer-links a::before { content:"›"; color:#ffd18a; font-weight:900; line-height:1.2; margin-top:.02rem; }
.footer-tag-cloud { display:flex; flex-wrap:wrap; gap:.45rem; }
.footer-tag-cloud a { display:inline-flex; align-items:center; min-height:2rem; border:1px solid rgba(255,255,255,.28); border-radius:99rem; padding:.32rem .72rem; background:rgba(255,255,255,.10); color:#fff; font-weight:750; font-size:.86rem; line-height:1.2; transition:background .2s ease, border-color .2s ease, transform .2s ease; }
.footer-tag-cloud a:hover, .footer-tag-cloud a:focus { background:rgba(255,209,138,.18); border-color:rgba(255,209,138,.72); transform:translateY(-1px); text-decoration:none; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.18); padding:1rem 0; font-size:.85rem; color:#e7f4f8; }
.footer-bottom-inner { display:flex; gap:1rem; justify-content:space-between; flex-wrap:wrap; }
@media (max-width: 78rem) { .footer-grid.footer-grid-enhanced { grid-template-columns:1.35fr 1fr 1fr; } .footer-brand-block { grid-column:1 / -1; } }
@media (max-width: 62rem) { .footer-grid.footer-grid-enhanced { grid-template-columns:1fr 1fr; } .footer-brand-block { grid-column:1 / -1; } }
@media (max-width: 42rem) { .footer-grid.footer-grid-enhanced { grid-template-columns:1fr; padding:2.25rem 0 2rem; } .footer-brand-block { grid-column:auto; } .footer-bottom-inner { display:grid; gap:.5rem; } }


/* v2.07: Sitemap page aligned with FAQ / Online Services theme */
.sitemap-hub-page .page-hero p { max-width: 70rem; }
.sitemap-hub-page .service-hub-hero { background: linear-gradient(135deg, var(--brand-deep), var(--brand) 58%, var(--green)); }
.sitemap-hub-page .service-hero-panel,
.sitemap-hub-page .mygems-feature-card { border-color: rgba(255,255,255,.18); }
.sitemap-hub-page .sitemap-feature-card .mygems-feature-side a { min-height: 4.8rem; }
.sitemap-category-nav a,
.sitemap-link-card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease; }
.sitemap-section { padding-top: clamp(2rem, 5vw, 3.25rem); }
.sitemap-link-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .95rem; }
.sitemap-link-card { padding: 0; }
.sitemap-link-card:hover { transform: translateY(-1px); border-color: rgba(11,107,87,.30); box-shadow: 0 1rem 2rem rgba(5,45,39,.10); }
.sitemap-link-card-wide { grid-column: 1 / -1; }
.sitemap-card-head { display:grid; grid-template-columns:auto minmax(0,1fr); gap:.8rem; align-items:center; padding:1rem 1.1rem .7rem; }
.sitemap-card-head span { display:inline-grid; place-items:center; width:2.35rem; height:2.35rem; border-radius:.75rem; background:rgba(11,107,87,.10); color:var(--brand); font-size:.88rem; font-weight:950; }
.sitemap-card-head h3 { margin:0; max-width:100%; overflow-wrap:break-word; text-wrap:balance; font-size:1.08rem; line-height:1.25; }
.sitemap-link-list { list-style:none; margin:0; padding:.15rem 1.1rem 1.1rem 4.25rem; display:grid; gap:.45rem; }
.sitemap-link-list a { display:inline-flex; align-items:flex-start; gap:.45rem; color:var(--brand-deep); font-weight:760; line-height:1.35; text-decoration:none; }
.sitemap-link-list a::before { content:"›"; color:var(--accent); font-weight:950; line-height:1.2; }
.sitemap-link-list a:hover, .sitemap-link-list a:focus { color:var(--brand); text-decoration:underline; text-underline-offset:.18rem; }
.sitemap-link-list-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 980px) { .sitemap-link-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sitemap-link-list-columns { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .sitemap-link-card-grid { grid-template-columns: 1fr; } .sitemap-card-head { grid-template-columns: 1fr; } .sitemap-link-list { padding-left:1.1rem; } }
@media (prefers-reduced-motion: reduce) { .sitemap-category-nav a, .sitemap-link-card { transition:none !important; } }


/* v2.08: compact footer and legal links */
.footer-grid.footer-grid-compact { display:grid; grid-template-columns:1.35fr 1.2fr 1.05fr; gap:1.45rem; padding:2.75rem 0 2.35rem; align-items:start; }
.footer-grid.footer-grid-compact .footer-brand-block p { display:none; }
.footer-legal-links { display:inline-flex; flex-wrap:wrap; align-items:center; gap:.42rem; margin-left:.55rem; }
.footer-legal-links a { color:#fff; text-decoration:underline; text-underline-offset:.18em; font-weight:750; }
.footer-legal-links a:hover, .footer-legal-links a:focus { color:#ffd18a; }
.footer-copyright { display:inline-flex; flex-wrap:wrap; align-items:center; gap:.18rem; }
@media (max-width: 62rem) { .footer-grid.footer-grid-compact { grid-template-columns:1fr 1fr; } .footer-grid.footer-grid-compact .footer-brand-block { grid-column:1 / -1; } }
@media (max-width: 42rem) { .footer-grid.footer-grid-compact { grid-template-columns:1fr; padding:2.25rem 0 2rem; } .footer-grid.footer-grid-compact .footer-brand-block { grid-column:auto; } .footer-legal-links { margin-left:0; width:100%; } .footer-copyright { gap:.35rem; } }


/* v2.10: Jata, Malaysia MADANI topbar, relocated mineral button and About hero actions */
.brand-mark-group {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  min-width: max-content;
}
.brand-mark-group .brand-mark {
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.brand-mark--jata {
  width: 3.1rem !important;
  min-width: 3.1rem !important;
  height: 3.25rem !important;
}
.brand-mark--jmg {
  width: 3.85rem !important;
  min-width: 3.85rem !important;
  height: 3.25rem !important;
}
.brand-logo--jata {
  width: 3.0rem !important;
  max-height: 3.15rem !important;
  object-fit: contain !important;
}
.brand-logo--jmg {
  width: 3.75rem !important;
  max-height: 3.05rem !important;
  object-fit: contain !important;
}
.madani-topbar-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 7.4rem;
  height: 2.05rem;
  padding: .18rem .58rem;
  border-radius: 999rem;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.45);
  box-shadow: 0 .35rem 1rem rgba(0,0,0,.12);
}
.madani-topbar-badge img {
  display: block;
  width: 6.65rem;
  max-height: 1.45rem;
  object-fit: contain;
}
.nav-side-actions {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-left: auto;
  flex: 0 0 auto;
}
.nav-market-link,
.nav-warga-link {
  white-space: nowrap;
}
.nav-market-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: .55rem .85rem;
  border-radius: 999rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.34);
  color: #fff;
  text-decoration: none;
  font-weight: 850;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.nav-market-link::before {
  content: "";
  width: .52rem;
  height: .52rem;
  margin-right: .45rem;
  border-radius: 999rem;
  background: var(--accent);
  box-shadow: 0 0 0 .18rem rgba(255,255,255,.16);
}
.nav-market-link:hover,
.nav-market-link:focus-visible {
  background: rgba(255,255,255,.20);
  color: #fff;
  transform: translateY(-1px);
}
.about-actions .button:first-child {
  box-shadow: 0 16px 32px rgba(8,47,73,.16);
}
@media (max-width: 62rem) {
  .brand-mark-group { gap: .36rem; }
  .brand-mark--jata { width: 2.55rem !important; min-width: 2.55rem !important; height: 2.8rem !important; }
  .brand-mark--jmg { width: 3.25rem !important; min-width: 3.25rem !important; height: 2.8rem !important; }
  .brand-logo--jata { width: 2.45rem !important; max-height: 2.65rem !important; }
  .brand-logo--jmg { width: 3.15rem !important; max-height: 2.55rem !important; }
  .madani-topbar-badge { min-width: 6.55rem; height: 1.9rem; padding-inline: .45rem; }
  .madani-topbar-badge img { width: 5.8rem; max-height: 1.28rem; }
  .nav-inner { gap: .55rem; }
  .nav-side-actions { margin-left: 0; width: 100%; justify-content: flex-start; flex-wrap: wrap; padding-bottom: .15rem; }
  .nav-market-link,
  .nav-warga-link { min-height: 2.3rem; font-size: .88rem; }
}
@media (max-width: 42rem) {
  .identity { grid-template-columns: auto minmax(0,1fr) !important; }
  .brand-mark-group { align-self: start; }
  .madani-topbar-badge { margin-bottom: .35rem; }
  .topbar-inner { display: flex !important; gap: .45rem !important; }
  .mineral-price-ticker { width: 100%; min-width: 0; }
}


/* v2.12: Malaysia MADANI logo uses user-provided white mark; mineral price shortcut removed */
.madani-topbar-badge {
  min-width: 8.6rem !important;
  height: 2.05rem !important;
  padding: .12rem .5rem !important;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  box-shadow: none !important;
}
.madani-topbar-badge img {
  width: 7.65rem !important;
  max-height: 1.55rem !important;
  object-fit: contain !important;
}
.nav-side-actions { gap: .55rem; }
@media (max-width: 64rem) {
  .madani-topbar-badge { min-width: 7.3rem !important; height: 1.9rem !important; }
  .madani-topbar-badge img { width: 6.55rem !important; max-height: 1.35rem !important; }
}

/* v2.13: MADANI plain logo, equal Jata/JMG visual size and modal above sticky navigation */
.madani-topbar-badge {
  min-width: 0 !important;
  width: auto !important;
  height: 2.35rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.madani-topbar-badge img {
  display: block !important;
  width: 8.85rem !important;
  max-height: 1.95rem !important;
  object-fit: contain !important;
}
.brand-mark--jata,
.brand-mark--jmg {
  width: 3.85rem !important;
  min-width: 3.85rem !important;
  height: 3.25rem !important;
}
.brand-logo--jata,
.brand-logo--jmg {
  width: 3.75rem !important;
  max-height: 3.05rem !important;
  object-fit: contain !important;
}
.cdo-modal {
  z-index: 6000 !important;
}
.cdo-modal-backdrop {
  z-index: 0 !important;
}
.cdo-modal-panel {
  z-index: 1 !important;
}
body.modal-open .nav-shell {
  z-index: 10 !important;
}
@media (max-width: 62rem) {
  .brand-mark--jata,
  .brand-mark--jmg {
    width: 3.15rem !important;
    min-width: 3.15rem !important;
    height: 2.8rem !important;
  }
  .brand-logo--jata,
  .brand-logo--jmg {
    width: 3.05rem !important;
    max-height: 2.55rem !important;
  }
  .madani-topbar-badge {
    min-width: 0 !important;
    width: auto !important;
    height: 2.1rem !important;
  }
  .madani-topbar-badge img {
    width: 7.45rem !important;
    max-height: 1.6rem !important;
  }
}
@media (max-width: 42rem) {
  .madani-topbar-badge {
    margin-bottom: 0 !important;
  }
  .madani-topbar-badge img {
    width: 6.55rem !important;
  }
}


/* v2.16: remove green separator at quick links and refine homepage latest news */
.header-quick-links {
  border-left: 0 !important;
  padding-left: 0 !important;
}
.home-latest-section .section-head {
  align-items: end;
}
.home-latest-section .section-head .eyebrow {
  display: inline-block;
  margin-bottom: .35rem;
}
.home-latest-grid {
  align-items: stretch;
}
.home-news-card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  min-height: 100%;
  border-top: .28rem solid var(--brand);
}
.home-news-card h3 {
  margin: .05rem 0 0;
}
.home-news-card p {
  margin: 0;
  color: var(--muted);
}
.home-news-card .meta {
  margin-top: auto;
  padding-top: .35rem;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .5rem;
  color: var(--muted);
  font-size: .88rem;
}
.home-news-card .meta span:not(:last-child)::after {
  content: "•";
  margin-left: .5rem;
  color: #9aa9b3;
}
.home-news-card .text-link {
  margin-top: .2rem;
}
@media (max-width: 62rem) {
  .home-latest-section .section-head {
    align-items: start;
  }
}


/* v2.18: Homepage hero refresh with rotating highlight text and lightweight poster showcase */
.home-hero {
  background:
    radial-gradient(circle at 18% 26%, rgba(255,255,255,.12), transparent 26%),
    radial-gradient(circle at 82% 22%, rgba(173,223,96,.10), transparent 24%),
    linear-gradient(118deg, #0f588d 0%, #1b79bc 54%, #1e8a8d 100%);
}
.home-hero::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(4,31,58,.08), rgba(4,31,58,.18)),
    url("../images/topography.svg") center/cover no-repeat;
  opacity:.72;
}
.home-hero-grid {
  grid-template-columns:minmax(0,1.05fr) minmax(21rem,.95fr);
  gap:clamp(1.5rem,3vw,2.6rem);
  align-items:center;
}
.home-hero-copy {
  max-width:46rem;
}
.home-hero .hero-actions {
  display:flex;
  flex-wrap:wrap;
  gap:.9rem;
  margin-top:1.4rem;
}
.home-hero .hero-actions .button.outline {
  background:rgba(255,255,255,.08);
}
.hero-rotator {
  display:flex;
  align-items:center;
  gap:.7rem;
  min-height:3.15rem;
  margin:0 0 1rem;
  padding:.8rem 1rem;
  border:1px solid rgba(255,255,255,.18);
  border-radius:1rem;
  background:rgba(4,30,57,.18);
  backdrop-filter:blur(8px);
}
.hero-rotator-prefix {
  flex:0 0 auto;
  font-size:.8rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#d8f4a7;
}
.hero-rotator-text {
  display:block;
  font-size:1rem;
  line-height:1.45;
  color:#fff;
  opacity:1;
  transform:translateY(0);
  transition:opacity .35s ease, transform .35s ease;
}
.hero-rotator-text.is-changing {
  opacity:0;
  transform:translateY(.35rem);
}
.hero-showcase {
  display:grid;
  gap:1rem;
}
.hero-poster-stack {
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:1rem;
}
.hero-poster {
  position:relative;
  display:block;
  min-height:12rem;
  border-radius:1.35rem;
  overflow:hidden;
  color:#fff;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 22px 48px rgba(5,30,59,.26);
  isolation:isolate;
  background:linear-gradient(135deg, rgba(8,58,95,.92), rgba(18,109,149,.88));
}
.hero-poster img,
.hero-poster-surface {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.hero-poster-surface {
  background:
    linear-gradient(135deg, rgba(9,50,90,.92), rgba(28,124,172,.86)),
    url("../images/topography.svg") center/cover no-repeat;
}
.hero-poster-overlay {
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(8,25,46,.12), rgba(8,25,46,.72));
}
.hero-poster-content {
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:.4rem;
  height:100%;
  padding:1rem 1rem 1.1rem;
}
.hero-poster-kicker {
  align-self:flex-start;
  display:inline-flex;
  padding:.25rem .65rem;
  border-radius:99rem;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.18);
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.hero-poster strong {
  display:block;
  font-size:clamp(1rem,1.8vw,1.28rem);
  line-height:1.28;
}
.hero-poster-content span:last-child {
  font-size:.92rem;
  line-height:1.45;
  color:rgba(255,255,255,.92);
}
.hero-poster--featured {
  min-height:16rem;
}
.hero-poster--compact {
  min-height:12rem;
}
.hero-poster:hover,
.hero-poster:focus-visible {
  transform:translateY(-3px);
  box-shadow:0 24px 54px rgba(5,30,59,.32);
}
.hero-poster,
.hero-poster::before {
  transition:transform .25s ease, box-shadow .25s ease;
}
.hero-poster::before {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(255,255,255,.06), transparent 26%);
  z-index:0;
}
@media (max-width: 992px) {
  .home-hero-grid {
    grid-template-columns:1fr;
  }
  .home-hero-copy {
    max-width:none;
  }
}
@media (max-width: 640px) {
  .hero-rotator {
    flex-direction:column;
    align-items:flex-start;
    gap:.35rem;
    min-height:0;
  }
  .hero-poster-stack {
    grid-template-columns:1fr;
  }
  .hero-poster--featured {
    min-height:14rem;
  }
}


/* v2.19: Homepage hero poster auto-slide with square 1080x1080-style framing */
.home-hero-grid {
  align-items:center;
}
.hero-showcase--slider {
  display:grid;
  gap:.9rem;
  justify-items:end;
}
.hero-slider-window {
  position:relative;
  width:min(100%, 31rem);
  aspect-ratio:1 / 1;
  min-height:0;
  border-radius:1.5rem;
  overflow:hidden;
}
.hero-poster-slide {
  position:absolute;
  inset:0;
  min-height:0;
  opacity:0;
  transform:scale(1.02);
  pointer-events:none;
  transition:opacity .85s ease, transform 1.2s ease;
}
.hero-poster-slide.is-active {
  opacity:1;
  transform:scale(1);
  pointer-events:auto;
}
.hero-poster-slide .hero-poster-content {
  justify-content:flex-end;
  padding:1.1rem 1.1rem 1.2rem;
}
.hero-poster-slide strong {
  font-size:clamp(1.05rem, 2vw, 1.35rem);
}
.hero-poster-slide .hero-poster-content span:last-child {
  font-size:.95rem;
}
.hero-slider-dots {
  display:flex;
  justify-content:center;
  gap:.55rem;
}
.hero-slider-dot {
  width:.78rem;
  height:.78rem;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.4);
  background:rgba(255,255,255,.28);
  padding:0;
  cursor:pointer;
  transition:transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.hero-slider-dot.is-active,
.hero-slider-dot:hover,
.hero-slider-dot:focus-visible {
  background:#fff;
  border-color:#fff;
  transform:scale(1.08);
}
.hero-rotator-prefix {
  min-width:0;
  padding:.36rem .72rem;
  border-radius:999px;
  background:rgba(216,244,167,.14);
  border:1px solid rgba(216,244,167,.22);
  color:#eef8cf;
}
.hero-showcase .hero-poster::before {
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0));
}
@media (max-width: 992px) {
  .hero-showcase--slider {
    justify-items:center;
  }
  .hero-slider-window {
    width:min(100%, 24rem);
  }
}
@media (max-width: 640px) {
  .hero-slider-window {
    width:100%;
    max-width:22rem;
  }
  .hero-poster-slide .hero-poster-content {
    padding:1rem;
  }
}


/* v2.20: Homepage hero title casing, latest-news date badge and corrected circular poster controls */
.hero-rotator {
  position:relative !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start !important;
  gap:.45rem .85rem !important;
  padding:1rem 1.05rem !important;
}
.hero-rotator-prefix {
  justify-self:start;
  max-width:calc(100% - 5.7rem);
}
.hero-latest-date {
  grid-column:1 / -1;
  display:inline-flex;
  align-items:center;
  justify-self:start;
  width:max-content;
  max-width:100%;
  padding:.22rem .58rem;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.18);
  color:#f5fbff;
  font-size:.82rem;
  line-height:1.25;
  font-weight:760;
}
.hero-rotator-text {
  grid-column:1 / -1;
  padding-right:3.9rem;
}
.hero-rotator-link {
  position:absolute;
  top:.62rem;
  right:.68rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:1.9rem;
  padding:.28rem .6rem;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.24);
  color:#fff;
  text-decoration:none;
  font-size:.78rem;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
}
.hero-rotator-link:hover,
.hero-rotator-link:focus-visible {
  background:rgba(255,255,255,.24);
  color:#fff;
}
.hero-slider-dots {
  justify-self:center;
  align-items:center;
  min-height:1.35rem;
}
.hero-slider-dot {
  appearance:none;
  -webkit-appearance:none;
  box-sizing:border-box;
  flex:0 0 .82rem;
  inline-size:.82rem;
  block-size:.82rem;
  min-width:.82rem;
  min-height:.82rem;
  aspect-ratio:1 / 1;
  border-radius:999px !important;
  line-height:0;
  overflow:hidden;
}
@media (max-width:640px) {
  .hero-rotator {
    padding:.95rem !important;
  }
  .hero-rotator-prefix {
    max-width:100%;
    padding-right:4.4rem;
  }
  .hero-rotator-text {
    padding-right:0;
  }
  .hero-latest-date {
    font-size:.78rem;
  }
}


/* v2.21: Homepage photo-gallery hero with latest-news panel and News announcement poster section */
.home-hero {
  --home-hero-bg:url("../images/gallery/hero-geowarisan.webp");
  background:#0f588d;
}
.home-hero::before {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(105deg, rgba(6,35,67,.90) 0%, rgba(14,79,124,.76) 45%, rgba(12,82,87,.64) 100%),
    var(--home-hero-bg) center/cover no-repeat;
  opacity:1;
}
.home-hero::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.14), transparent 22%),
    radial-gradient(circle at 82% 18%, rgba(173,223,96,.10), transparent 24%),
    url("../images/topography.svg") center/cover no-repeat;
  opacity:.34;
}
.home-hero-grid {
  grid-template-columns:minmax(0,1.04fr) minmax(20rem,.78fr);
  gap:clamp(1.5rem,3vw,2.8rem);
  padding-bottom:clamp(4.3rem,8vw,6.8rem);
}
.home-hero-copy {
  position:relative;
  z-index:1;
}
.home-hero .hero-actions {
  display:flex;
  flex-wrap:wrap;
  gap:.9rem;
  margin-top:1.45rem;
}
.home-hero .hero-actions .button.outline {
  background:rgba(255,255,255,.08);
  color:#fff;
}
.home-hero-news-panel {
  position:relative;
  z-index:1;
  display:grid;
  gap:.85rem;
  padding:clamp(1rem,2.2vw,1.3rem);
  border-radius:1.25rem;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.94);
  color:var(--ink);
  box-shadow:0 24px 55px rgba(5,30,59,.24);
}
.home-hero-news-corner {
  position:absolute;
  top:.85rem;
  right:.9rem;
  font-size:.82rem;
  font-weight:800;
  text-decoration:none;
  color:var(--brand);
}
.home-hero-news-panel .hero-rotator-prefix {
  align-self:start;
  margin-right:5rem;
  padding:.34rem .68rem;
  border-radius:999px;
  background:#eef8e5;
  border:1px solid #d6ebc3;
  color:#285417;
  font-size:.72rem;
  line-height:1.35;
}
.home-hero-news-list {
  display:grid;
  gap:.65rem;
}
.home-hero-news-item {
  display:grid;
  gap:.18rem;
  padding:.78rem .85rem;
  border:1px solid #d9e7ef;
  border-radius:.85rem;
  background:linear-gradient(180deg,#fff,#f7fbfd);
  color:inherit;
  text-decoration:none;
}
.home-hero-news-item:hover,
.home-hero-news-item:focus-visible {
  border-color:#a8cce0;
  box-shadow:0 10px 22px rgba(12,86,132,.10);
}
.home-hero-news-item time {
  color:var(--muted);
  font-size:.82rem;
  font-weight:750;
}
.home-hero-news-item strong {
  font-size:.98rem;
  line-height:1.34;
}
.home-hero-photo-caption {
  position:absolute;
  left:50%;
  bottom:1rem;
  transform:translateX(-50%);
  z-index:2;
  display:flex;
  justify-content:flex-end;
  pointer-events:none;
}
.home-hero-photo-caption span,
.home-hero-photo-caption strong {
  display:inline-flex;
  align-items:center;
  min-height:2.2rem;
}
.home-hero-photo-caption span {
  padding:.25rem .7rem;
  border-radius:999px 0 0 999px;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.20);
  color:#eef8cf;
  font-size:.72rem;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.home-hero-photo-caption strong {
  max-width:min(44rem,70vw);
  padding:.25rem .85rem;
  border-radius:0 999px 999px 0;
  background:rgba(4,26,48,.45);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  font-size:.86rem;
  font-weight:750;
}
.news-poster-section {
  background:#fff;
}
.announcement-poster-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.15rem;
}
.announcement-poster-card {
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:1rem;
  background:#fff;
  box-shadow:0 14px 30px rgba(7,63,52,.08);
}
.announcement-poster-card > a {
  display:block;
  aspect-ratio:1 / 1;
  overflow:hidden;
  background:#edf4f7;
}
.announcement-poster-card img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .3s ease;
}
.announcement-poster-card:hover img {
  transform:scale(1.025);
}
.announcement-poster-body {
  padding:1rem;
}
.announcement-poster-body span {
  display:block;
  margin-bottom:.35rem;
  color:var(--muted);
  font-size:.78rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.announcement-poster-body h3 {
  margin:.15rem 0 .45rem;
  font-size:1.1rem;
  line-height:1.28;
}
.announcement-poster-body p {
  margin:.25rem 0 .7rem;
  color:var(--muted);
  font-size:.94rem;
}
@media (max-width: 992px) {
  .home-hero-grid {
    grid-template-columns:1fr;
  }
  .home-hero-photo-caption {
    position:relative;
    left:auto;
    bottom:auto;
    transform:none;
    justify-content:flex-start;
    padding-bottom:1rem;
  }
  .announcement-poster-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 640px) {
  .home-hero-news-corner {
    position:static;
    justify-self:start;
    order:3;
  }
  .home-hero-news-panel .hero-rotator-prefix {
    margin-right:0;
  }
  .home-hero-photo-caption {
    flex-direction:column;
    align-items:flex-start;
  }
  .home-hero-photo-caption span,
  .home-hero-photo-caption strong {
    border-radius:.8rem;
  }
  .home-hero-photo-caption strong {
    max-width:100%;
  }
  .announcement-poster-grid {
    grid-template-columns:1fr;
  }
}


/* v2.22: Homepage hero uses cave gallery photo background with poster slider. */
.home-hero::before {
  background:
    linear-gradient(102deg, rgba(6,35,67,.88) 0%, rgba(11,65,103,.74) 46%, rgba(13,74,78,.60) 100%),
    var(--home-hero-bg) center center / cover no-repeat;
}
.home-hero-grid {
  align-items:center;
}
.home-hero-copy {
  position:relative;
  z-index:1;
}
.home-hero .hero-actions {
  display:flex;
  flex-wrap:wrap;
  gap:.9rem;
  margin-top:1.45rem;
}
.home-hero .hero-actions .button.outline {
  background:rgba(255,255,255,.08);
  color:#fff;
}
.hero-showcase--slider {
  position:relative;
  z-index:1;
}
.hero-showcase--slider .hero-slider-window {
  aspect-ratio:1 / 1;
  max-width:29rem;
  margin-inline:auto;
  border-radius:1.6rem;
  overflow:hidden;
  background:rgba(255,255,255,.10);
  box-shadow:0 24px 55px rgba(5,30,59,.26);
}
.hero-showcase--slider .hero-poster-slide img {
  width:100%;
  height:100%;
  object-fit:cover;
}
.hero-showcase--slider .hero-poster-content {
  padding:1rem 1rem 1.05rem;
}
.hero-showcase--slider .hero-poster-content strong {
  font-size:1.18rem;
}
.hero-showcase--slider .hero-poster-content span:last-child {
  font-size:.9rem;
  line-height:1.45;
}
@media (max-width: 992px) {
  .hero-showcase--slider .hero-slider-window {
    max-width:min(26rem,100%);
  }
}
@media (max-width: 640px) {
  .hero-showcase--slider .hero-slider-window {
    max-width:100%;
  }
}


/* v2.23: Fix homepage cave hero image path; CSS var url resolves from assets/css/. */
.home-hero {
  --home-hero-bg: url("../images/gallery/hero-gua-batuan.webp");
}


/* v2.24: 3D drag-and-swipe poster carousel with animated context panel. */
.hero-immersive {
  --home-hero-bg: url("../images/gallery/hero-gua-batuan.webp");
  position: relative;
  overflow: hidden;
  background: #0b4264;
  color: #fff;
}
.hero-immersive::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(4,24,45,.88) 0%, rgba(7,61,96,.72) 48%, rgba(8,76,78,.56) 100%),
    var(--home-hero-bg) center center / cover no-repeat;
  z-index: 0;
}
.hero-immersive::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/topography.svg") center / cover no-repeat;
  opacity: .22;
  z-index: 0;
  pointer-events: none;
}
.hero-immersive > * {
  position: relative;
  z-index: 1;
}
.hero-immersive .home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, .94fr);
  gap: clamp(1.8rem, 4vw, 3.4rem);
  align-items: center;
  padding: clamp(4.2rem, 7vw, 6.6rem) 0;
}
.hero-immersive .home-hero-copy h1 {
  max-width: 15ch;
  margin: .25rem 0 1.2rem;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.hero-immersive .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 1.4rem;
}
.hero-immersive .hero-actions .button.outline {
  color: #fff;
  background: rgba(255,255,255,.08);
}
.hero-story-rail {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  justify-items: center;
}
.hero-story-stage {
  position: relative;
  width: min(100%, 31rem);
  aspect-ratio: 1 / 1;
  perspective: 1200px;
  touch-action: pan-y;
  user-select: none;
}
.hero-story-card {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 1.45rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 28px 60px rgba(0,0,0,.34);
  transform-style: preserve-3d;
  transition: transform .65s cubic-bezier(.2,.8,.2,1), opacity .45s ease, z-index .45s ease;
  -webkit-user-drag: none;
}
.hero-story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.hero-story-card.is-active {
  opacity: 1;
  z-index: 4;
  transform: translateX(0) translateZ(80px) rotateY(0deg) scale(1);
}
.hero-story-card.is-prev {
  opacity: 1;
  z-index: 2;
  transform: translateX(-31%) translateZ(-80px) rotateY(16deg) scale(.84);
}
.hero-story-card.is-next {
  opacity: 1;
  z-index: 2;
  transform: translateX(31%) translateZ(-80px) rotateY(-16deg) scale(.84);
}
.hero-story-card.is-hidden {
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transform: translateX(0) translateZ(-180px) scale(.72);
}
.hero-story-controls {
  display: flex;
  justify-content: center;
  gap: .55rem;
}
.hero-story-dot {
  width: .78rem;
  height: .78rem;
  min-width: .78rem;
  min-height: .78rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.35);
  padding: 0;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.hero-story-dot.is-active,
.hero-story-dot:hover,
.hero-story-dot:focus-visible {
  background: #fff;
  border-color: #fff;
  transform: scale(1.12);
}
.hero-story-panel {
  width: min(100%, 31rem);
  padding: 1.1rem 1.15rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.94);
  color: var(--ink);
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  transform: translateY(0);
  opacity: 1;
  transition: opacity .35s ease, transform .35s ease;
}
.hero-story-panel.is-changing {
  opacity: 0;
  transform: translateY(.45rem);
}
.hero-story-panel-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
}
.hero-story-type {
  display: inline-flex;
  padding: .25rem .65rem;
  border-radius: 999px;
  background: #eef8e5;
  color: #285417;
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-story-date {
  display: inline-flex;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}
.hero-story-panel h2 {
  margin: .65rem 0 .35rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.22;
}
.hero-story-panel p {
  margin: 0 0 .7rem;
  color: var(--muted);
  font-size: .95rem;
}
@media (max-width: 992px) {
  .hero-immersive .home-hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-immersive .home-hero-copy h1 {
    max-width: 17ch;
  }
  .hero-story-stage,
  .hero-story-panel {
    width: min(100%, 25rem);
  }
}
@media (max-width: 640px) {
  .hero-immersive .home-hero-grid {
    padding: 3rem 0 3.8rem;
  }
  .hero-story-stage {
    width: min(100%, 21.5rem);
  }
  .hero-story-card.is-prev {
    transform: translateX(-18%) translateZ(-70px) rotateY(10deg) scale(.82);
  }
  .hero-story-card.is-next {
    transform: translateX(18%) translateZ(-70px) rotateY(-10deg) scale(.82);
  }
  .hero-story-panel {
    width: 100%;
  }
}


/* v2.25: Hero story carousel without context panel; wider dot spacing and darker/deeper side posters. */
.hero-story-rail {
  gap: 1.35rem;
}
.hero-story-panel,
.hero-story-panel-meta {
  display: none !important;
}
.hero-story-controls {
  gap: 1.05rem;
  margin-top: .15rem;
}
.hero-story-dot {
  width: .82rem;
  height: .82rem;
  min-width: .82rem;
  min-height: .82rem;
  border-radius: 999px;
  flex: 0 0 .82rem;
}
.hero-story-card {
  transition: transform .68s cubic-bezier(.2,.8,.2,1), opacity .45s ease, filter .45s ease, z-index .45s ease;
}
.hero-story-card.is-active {
  filter: brightness(1) saturate(1.04);
}
.hero-story-card.is-prev {
  opacity: .88;
  filter: brightness(.62) saturate(.92);
  transform: translateX(-36%) translateZ(-120px) rotateY(20deg) scale(.80);
}
.hero-story-card.is-next {
  opacity: .88;
  filter: brightness(.62) saturate(.92);
  transform: translateX(36%) translateZ(-120px) rotateY(-20deg) scale(.80);
}
.hero-story-card.is-hidden {
  filter: brightness(.50) saturate(.80);
}
@media (max-width: 640px) {
  .hero-story-controls {
    gap: .88rem;
  }
  .hero-story-card.is-prev {
    filter: brightness(.66) saturate(.9);
    transform: translateX(-22%) translateZ(-90px) rotateY(12deg) scale(.80);
  }
  .hero-story-card.is-next {
    filter: brightness(.66) saturate(.9);
    transform: translateX(22%) translateZ(-90px) rotateY(-12deg) scale(.80);
  }
}


/* v2.26: Clean hero background and rotating JMG expertise headline. */
.hero.home-hero::after,
.hero-immersive::after {
  display: none !important;
  content: none !important;
  background: none !important;
  opacity: 0 !important;
}
.hero-immersive::before,
.hero.home-hero::before {
  background:
    linear-gradient(102deg, rgba(4,24,45,.86) 0%, rgba(7,61,96,.70) 47%, rgba(8,76,78,.54) 100%),
    var(--home-hero-bg) center center / cover no-repeat !important;
}
.hero-immersive .home-hero-copy h1,
.home-hero-heading {
  font-family: "Segoe UI Variable Display", "Aptos Display", "Helvetica Neue", Arial, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -.055em;
  text-wrap: balance;
  text-shadow: 0 12px 34px rgba(0,0,0,.28);
}
.home-hero-heading [data-hero-heading-text] {
  display: inline-block;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .42s ease, transform .42s ease;
}
.home-hero-heading [data-hero-heading-text].is-changing {
  opacity: 0;
  transform: translateY(.45rem);
}
.hero-story-card.is-prev {
  opacity: .90;
  filter: brightness(.72) saturate(.95);
  transform: translateX(-36%) translateZ(-132px) rotateY(20deg) scale(.80);
}
.hero-story-card.is-next {
  opacity: .90;
  filter: brightness(.72) saturate(.95);
  transform: translateX(36%) translateZ(-132px) rotateY(-20deg) scale(.80);
}
.hero-story-controls {
  gap: .9rem;
}
@media (max-width: 640px) {
  .hero-immersive .home-hero-copy h1,
  .home-hero-heading {
    letter-spacing: -.04em;
  }
  .hero-story-card.is-prev {
    filter: brightness(.74) saturate(.94);
    transform: translateX(-22%) translateZ(-98px) rotateY(12deg) scale(.80);
  }
  .hero-story-card.is-next {
    filter: brightness(.74) saturate(.94);
    transform: translateX(22%) translateZ(-98px) rotateY(-12deg) scale(.80);
  }
}

/* v2.27: Mobile-first header and homepage hero refinement. Desktop remains unchanged. */
@media (max-width: 767px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  /* Compact mobile topbar: retain Malaysia MADANI and language only. */
  .topbar-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: .75rem !important;
    min-height: 3.05rem !important;
    padding: .34rem 0 !important;
  }
  .mineral-price-ticker {
    width: auto !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
  }
  .mineral-ticker-window {
    display: none !important;
  }
  .madani-topbar-badge {
    height: 2rem !important;
    margin: 0 !important;
  }
  .madani-topbar-badge img {
    width: 6.15rem !important;
    max-height: 1.45rem !important;
  }
  .utility-links {
    margin: 0 !important;
    flex: 0 0 auto !important;
  }
  .utility-links a {
    min-height: 2.25rem !important;
    padding: .25rem .15rem !important;
    font-size: .93rem !important;
    font-weight: 700 !important;
  }

  /* Compact official identity and quick links. */
  .site-header .identity {
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: .38rem .58rem !important;
    align-items: center !important;
    padding: .55rem 0 .48rem !important;
  }
  .brand-mark-group {
    gap: .18rem !important;
    align-self: center !important;
  }
  .brand-mark--jata,
  .brand-mark--jmg {
    width: 2.55rem !important;
    min-width: 2.55rem !important;
    height: 2.6rem !important;
  }
  .brand-logo--jata,
  .brand-logo--jmg {
    width: 2.45rem !important;
    max-height: 2.45rem !important;
  }
  .portal-label {
    margin: 0 !important;
    font-size: .6rem !important;
    line-height: 1.05 !important;
    letter-spacing: .17em !important;
  }
  .site-title {
    margin: .1rem 0 0 !important;
    font-size: clamp(.82rem, 3.55vw, .98rem) !important;
    line-height: 1.08 !important;
    letter-spacing: .015em !important;
  }
  .site-subtitle {
    display: none !important;
  }
  .header-quick-links {
    grid-column: 1 / -1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .62rem !important;
    width: 100% !important;
    margin: .34rem 0 0 !important;
    padding: .42rem 0 .08rem !important;
    overflow: visible !important;
    border-top: 1px solid var(--line) !important;
  }
  .header-quick-links .header-quick-link,
  .header-quick-links .header-quick-link:hover,
  .header-quick-links .header-quick-link:focus-visible,
  .header-quick-links .header-quick-link:active {
    flex: 0 0 2.45rem !important;
    width: 2.45rem !important;
    min-width: 2.45rem !important;
    max-width: 2.45rem !important;
    min-height: 2.45rem !important;
    height: 2.45rem !important;
    padding: .24rem !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    transform: none !important;
    box-shadow: 0 .35rem .9rem rgba(15, 42, 64, .08) !important;
  }
  .header-quick-links .quick-link-icon {
    width: 1.88rem !important;
    height: 1.88rem !important;
  }
  .header-quick-links .quick-link-label {
    display: none !important;
  }

  /* One compact Warga/Menu row. */
  .nav-shell {
    box-shadow: 0 .35rem 1rem rgba(7, 47, 80, .12) !important;
  }
  .nav-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: .65rem !important;
    min-height: 3.45rem !important;
    padding: .38rem 0 !important;
  }
  .nav-side-actions {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
  }
  .nav-warga-link {
    min-height: 2.55rem !important;
    padding: .48rem .9rem !important;
    font-size: .87rem !important;
  }
  .menu-toggle {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 2.7rem !important;
    height: 2.7rem !important;
    min-height: 2.7rem !important;
    margin: 0 !important;
    border-radius: .75rem !important;
  }
  .primary-nav {
    grid-column: 1 / -1 !important;
    top: calc(100% + .15rem) !important;
  }

  /* Mobile hero: reduce height, stabilise rotating title and improve CTA rhythm. */
  .hero-immersive .home-hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.55rem !important;
    padding: 2.05rem 0 2.4rem !important;
  }
  .hero-immersive .home-hero-copy {
    min-width: 0 !important;
  }
  .hero-immersive .home-hero-copy .eyebrow {
    margin: 0 0 .58rem !important;
    font-size: .69rem !important;
    line-height: 1.25 !important;
    letter-spacing: .19em !important;
  }
  .hero-immersive .home-hero-copy h1,
  .home-hero-heading {
    width: 100% !important;
    max-width: none !important;
    min-height: 3.82em !important;
    margin: 0 !important;
    font-size: clamp(2.05rem, 9.35vw, 2.62rem) !important;
    line-height: .98 !important;
    letter-spacing: -.045em !important;
    text-wrap: balance !important;
  }
  .hero-immersive .hero-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .68rem !important;
    margin-top: .95rem !important;
  }
  .hero-immersive .hero-actions .button {
    min-width: 0 !important;
    min-height: 3.2rem !important;
    padding: .68rem .65rem !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: .88rem !important;
    line-height: 1.2 !important;
    border-radius: .82rem !important;
  }

  /* Mobile 3D carousel: smaller focal poster and controlled side depth. */
  .hero-story-rail {
    width: 100% !important;
    gap: .82rem !important;
    overflow: visible !important;
  }
  .hero-story-stage {
    width: min(76vw, 18.25rem) !important;
    max-width: 100% !important;
    perspective: 960px !important;
  }
  .hero-story-card {
    border-radius: 1.08rem !important;
    box-shadow: 0 1.25rem 2.6rem rgba(0, 0, 0, .28) !important;
  }
  .hero-story-card.is-active {
    transform: translateX(0) translateZ(48px) rotateY(0) scale(1) !important;
    filter: brightness(1) saturate(1.02) !important;
  }
  .hero-story-card.is-prev {
    opacity: .78 !important;
    filter: brightness(.58) saturate(.86) !important;
    transform: translateX(-17%) translateZ(-92px) rotateY(11deg) scale(.79) !important;
  }
  .hero-story-card.is-next {
    opacity: .78 !important;
    filter: brightness(.58) saturate(.86) !important;
    transform: translateX(17%) translateZ(-92px) rotateY(-11deg) scale(.79) !important;
  }
  .hero-story-controls {
    gap: .76rem !important;
    margin-top: .06rem !important;
  }
  .hero-story-dot {
    width: .72rem !important;
    height: .72rem !important;
    min-width: .72rem !important;
    min-height: .72rem !important;
    flex-basis: .72rem !important;
  }
}

@media (max-width: 359px) {
  .hero-immersive .hero-actions {
    grid-template-columns: 1fr !important;
  }
  .hero-immersive .home-hero-copy h1,
  .home-hero-heading {
    min-height: 4.75em !important;
    font-size: 2rem !important;
  }
  .hero-story-stage {
    width: min(80vw, 17rem) !important;
  }
}


/* v2.28: Refined mobile identity, compact menu grid and balanced footer. Desktop and tablet remain unchanged. */
@media (max-width: 767px) {
  .site-header .identity {
    grid-template-columns: auto minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    gap: .5rem !important;
    min-height: 4.65rem !important;
    padding: .58rem 0 !important;
  }
  .site-header .identity > div:nth-child(2) { display: none !important; }
  .brand-mark-group {
    grid-column: 1 !important;
    grid-row: 1 !important;
    gap: .12rem !important;
    margin: 0 !important;
  }
  .brand-mark--jata, .brand-mark--jmg {
    width: 2.45rem !important;
    min-width: 2.45rem !important;
    height: 2.5rem !important;
  }
  .brand-logo--jata, .brand-logo--jmg {
    width: 2.35rem !important;
    max-height: 2.35rem !important;
  }
  .header-quick-links {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: clamp(.28rem, 1.7vw, .48rem) !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-top: 0 !important;
    overflow: visible !important;
  }
  .header-quick-links .header-quick-link,
  .header-quick-links .header-quick-link:hover,
  .header-quick-links .header-quick-link:focus-visible,
  .header-quick-links .header-quick-link:active {
    flex: 0 0 clamp(2.35rem, 10.2vw, 2.65rem) !important;
    width: clamp(2.35rem, 10.2vw, 2.65rem) !important;
    min-width: clamp(2.35rem, 10.2vw, 2.65rem) !important;
    max-width: clamp(2.35rem, 10.2vw, 2.65rem) !important;
    min-height: clamp(2.35rem, 10.2vw, 2.65rem) !important;
    height: clamp(2.35rem, 10.2vw, 2.65rem) !important;
    padding: .2rem !important;
    border-color: #d8e7ef !important;
    background: #fff !important;
    border-radius: 999px !important;
    box-shadow: 0 .28rem .75rem rgba(13, 77, 120, .08) !important;
  }
  .header-quick-links .quick-link-icon {
    width: clamp(1.7rem, 7.5vw, 1.92rem) !important;
    height: clamp(1.7rem, 7.5vw, 1.92rem) !important;
  }

  .primary-nav {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding: .72rem !important;
    border-radius: 0 0 1rem 1rem !important;
    background: linear-gradient(145deg, rgba(9,72,111,.99), rgba(7,54,87,.99)) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    box-shadow: 0 1.15rem 2.4rem rgba(2,32,54,.30) !important;
  }
  .primary-nav > ul {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .55rem !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .primary-nav > ul > li {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  .primary-nav > ul > li > a {
    width: 100% !important;
    min-height: 3.7rem !important;
    padding: .7rem .58rem !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.18 !important;
    font-size: .91rem !important;
    font-weight: 780 !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: .78rem !important;
    background: rgba(255,255,255,.075) !important;
  }
  .primary-nav > ul > li > a:hover,
  .primary-nav > ul > li > a:focus-visible {
    background: rgba(255,255,255,.14) !important;
    border-color: rgba(255,255,255,.34) !important;
  }
  .primary-nav > ul > li > a[aria-current='page'] {
    color: #fff !important;
    background: rgba(255,255,255,.15) !important;
    border-color: rgba(255,191,71,.72) !important;
    box-shadow: inset .24rem 0 0 var(--focus) !important;
  }

  .site-footer { margin-top: 2rem !important; }
  .footer-grid.footer-grid-compact {
    gap: 0 !important;
    padding: 2rem 0 1.45rem !important;
  }
  .footer-grid.footer-grid-compact > section { padding: 0 0 1.45rem !important; }
  .footer-grid.footer-grid-compact > section + section {
    padding-top: 1.4rem !important;
    border-top: 1px solid rgba(255,255,255,.16) !important;
  }
  .footer-grid h2, .footer-brand-block h2 {
    margin: 0 0 .72rem !important;
    font-size: .96rem !important;
    line-height: 1.3 !important;
    letter-spacing: .025em !important;
  }
  .footer-brand-block address {
    font-size: .92rem !important;
    line-height: 1.58 !important;
  }
  .footer-links {
    display: grid !important;
    gap: .1rem !important;
  }
  .footer-links li, .footer-links li + li { margin: 0 !important; }
  .footer-links a {
    width: 100% !important;
    min-height: 2.65rem !important;
    padding: .5rem .1rem !important;
    align-items: center !important;
    gap: .48rem !important;
    font-size: .91rem !important;
    line-height: 1.3 !important;
    border-bottom: 1px solid rgba(255,255,255,.09) !important;
  }
  .footer-links li:last-child a { border-bottom: 0 !important; }
  .footer-tag-cloud { gap: .42rem !important; }
  .footer-tag-cloud a {
    min-height: 2.05rem !important;
    padding: .34rem .65rem !important;
    font-size: .78rem !important;
    font-weight: 720 !important;
  }
  .footer-bottom { padding: 1.15rem 0 1.35rem !important; }
  .footer-bottom-inner {
    display: grid !important;
    gap: .72rem !important;
    font-size: .79rem !important;
    line-height: 1.45 !important;
  }
  .footer-copyright {
    display: grid !important;
    gap: .62rem !important;
  }
  .footer-legal-links {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: .38rem !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .footer-legal-links > span[aria-hidden='true'] { display: none !important; }
  .footer-legal-links a {
    width: fit-content !important;
    font-size: .82rem !important;
  }
  .footer-bottom-inner > span:last-child:not(.footer-copyright) { display: none !important; }
  .back-top {
    width: 2.85rem !important;
    height: 2.85rem !important;
    right: .85rem !important;
    bottom: .85rem !important;
  }
}

@media (max-width: 359px) {
  .site-header .identity { gap: .32rem !important; }
  .brand-mark--jata, .brand-mark--jmg {
    width: 2.15rem !important;
    min-width: 2.15rem !important;
    height: 2.2rem !important;
  }
  .brand-logo--jata, .brand-logo--jmg {
    width: 2.05rem !important;
    max-height: 2.05rem !important;
  }
  .header-quick-links { gap: .2rem !important; }
  .primary-nav > ul { grid-template-columns: 1fr !important; }
  .primary-nav > ul > li > a { min-height: 3.15rem !important; }
}


/* v2.29: Homepage expertise cards with large soft-focus icons at bottom-right. */
.home-expertise-section .grid {
  align-items: stretch;
}

.home-expertise-card {
  position: relative;
  isolation: isolate;
  min-height: 11.25rem;
  padding: 1.35rem 1.35rem 1.5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 100%, rgba(23, 120, 186, .09), transparent 47%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease,
    background-color .22s ease;
}

.home-expertise-card::before {
  content: "";
  position: absolute;
  right: -2.2rem;
  bottom: -2.55rem;
  z-index: -1;
  width: 9.4rem;
  height: 9.4rem;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(23, 120, 186, .12) 0%,
    rgba(23, 120, 186, .055) 48%,
    transparent 72%
  );
  pointer-events: none;
}

.home-expertise-card .feature-icon {
  position: absolute;
  right: -.85rem;
  bottom: -1.05rem;
  z-index: 0;
  width: 7.75rem;
  height: 7.75rem;
  margin: 0;
  object-fit: contain;
  opacity: .17;
  filter: none;
  transform: rotate(-7deg) scale(1);
  transform-origin: center;
  pointer-events: none;
  transition:
    opacity .28s ease,
    filter .28s ease,
    transform .38s cubic-bezier(.2, .8, .2, 1);
}

.home-expertise-card h3,
.home-expertise-card p {
  position: relative;
  z-index: 2;
}

.home-expertise-card h3 {
  max-width: 12ch;
  margin: .15rem 0 .55rem;
  padding-right: .6rem;
  font-size: clamp(1.12rem, 1.6vw, 1.3rem);
}

.home-expertise-card p {
  max-width: 25ch;
  margin: 0;
  padding-right: 1.25rem;
  color: var(--muted);
}

.home-expertise-card:hover,
.home-expertise-card:focus-visible {
  transform: translateY(-3px);
  border-color: #9fc7dc;
  box-shadow: 0 16px 34px rgba(13, 77, 120, .12);
  background:
    radial-gradient(circle at 100% 100%, rgba(23, 120, 186, .13), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f4fafc 100%);
}

.home-expertise-card:hover .feature-icon,
.home-expertise-card:focus-visible .feature-icon {
  opacity: .25;
  filter: none;
  transform: rotate(-3deg) scale(1.08);
}

@media (max-width: 767px) {
  .home-expertise-card {
    min-height: 9.6rem;
    padding: 1.15rem 1.1rem 1.3rem;
  }

  .home-expertise-card .feature-icon {
    right: -.7rem;
    bottom: -.8rem;
    width: 6.65rem;
    height: 6.65rem;
    opacity: .16;
    filter: none;
  }

  .home-expertise-card h3 {
    max-width: 11ch;
    font-size: 1.08rem;
  }

  .home-expertise-card p {
    max-width: 23ch;
    padding-right: 1rem;
    font-size: .9rem;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-expertise-card,
  .home-expertise-card .feature-icon {
    transition: none;
  }
}


/* v2.30: Homepage section actions and refined latest-news cards. */
.home-expertise-section .section-head > a,
.home-latest-section .section-head > a {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  flex: 0 0 auto;
  white-space: nowrap;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.2;
}

.home-expertise-section .section-head > a::after,
.home-latest-section .section-head > a::after {
  content: "→";
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(11, 107, 87, .10);
  color: var(--brand);
  font-size: 1rem;
  font-weight: 900;
  transition: transform .2s ease, background-color .2s ease;
}

.home-expertise-section .section-head > a:hover::after,
.home-expertise-section .section-head > a:focus-visible::after,
.home-latest-section .section-head > a:hover::after,
.home-latest-section .section-head > a:focus-visible::after {
  transform: translateX(.18rem);
  background: rgba(11, 107, 87, .17);
}

.home-latest-grid {
  gap: 1rem;
}

.home-news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .68rem;
  min-height: 100%;
  padding: 1.25rem 1.25rem 1.05rem;
  border: 0 !important;
  border-top: 0 !important;
  border-radius: 1rem;
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(239,246,248,.96));
  box-shadow:
    0 .55rem 1.45rem rgba(10, 53, 74, .075),
    inset 0 1px 0 rgba(255,255,255,.86);
}

.home-news-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 100% 0%, rgba(23,120,186,.075), transparent 42%);
  pointer-events: none;
}

.home-news-card > * {
  position: relative;
  z-index: 1;
}

.home-news-card .tag {
  display: block;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #45616f;
  font-size: .78rem;
  font-weight: 780;
  line-height: 1.45;
  letter-spacing: .015em;
  text-transform: none;
}

.home-news-card h3 {
  margin: .05rem 0 0;
  line-height: 1.3;
}

.home-news-card p {
  margin: 0;
  color: var(--muted);
}

.home-news-card .meta {
  display: none !important;
}

.home-news-card .text-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  align-self: flex-end;
  margin-top: auto;
  padding-top: .5rem;
  font-size: .87rem;
  font-weight: 820;
  text-decoration: none;
}

.home-news-card .text-link::after {
  content: "↗";
  display: inline-grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: .82rem;
  line-height: 1;
  transition: transform .2s ease, background-color .2s ease;
}

.home-news-card .text-link:hover::after,
.home-news-card .text-link:focus-visible::after {
  transform: translate(.12rem, -.12rem);
  background: var(--brand-deep);
}

@media (max-width: 767px) {
  .home-expertise-section .section-head,
  .home-latest-section .section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .85rem;
    align-items: end;
  }

  .home-expertise-section .section-head > a,
  .home-latest-section .section-head > a {
    align-self: end;
    margin-bottom: .15rem;
    font-size: .82rem;
  }

  .home-expertise-section .section-head > a::after,
  .home-latest-section .section-head > a::after {
    width: 1.55rem;
    height: 1.55rem;
    font-size: .9rem;
  }

  .home-news-card {
    padding: 1.1rem 1.05rem .95rem;
  }
}

@media (max-width: 430px) {
  .home-expertise-section .section-head,
  .home-latest-section .section-head {
    grid-template-columns: 1fr;
  }

  .home-expertise-section .section-head > a,
  .home-latest-section .section-head > a {
    justify-self: start;
    margin: 0;
  }
}

/* v2.31: Footer social icons, animated popular-tag cloud and safer hero typography. */
.home-hero-heading {
  display: grid;
  align-items: start;
  max-width: 16ch;
  line-height: 1.06;
  letter-spacing: -.025em;
  overflow: visible;
}
.home-hero-heading [data-hero-heading-text] {
  display: block;
  width: 100%;
  line-height: inherit;
  letter-spacing: inherit;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1rem;
}
.footer-social-links a {
  display: inline-grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: #fff;
  box-shadow: 0 .45rem 1rem rgba(0,0,0,.10);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.footer-social-links a:hover,
.footer-social-links a:focus-visible {
  transform: translateY(-2px);
  background: rgba(255,209,138,.18);
  border-color: rgba(255,209,138,.72);
  text-decoration: none;
}
.footer-social-links img {
  width: 1.28rem;
  height: 1.28rem;
  filter: brightness(0) invert(1);
}

.footer-tag-cloud.is-orbiting {
  position: relative;
  display: block;
  width: 100%;
  min-height: 13.5rem;
  max-width: 24rem;
  margin-inline: auto;
  perspective: 700px;
  transform-style: preserve-3d;
}
.footer-tag-cloud.is-orbiting a {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  white-space: nowrap;
  will-change: transform, opacity;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.footer-tag-cloud.is-orbiting a:hover,
.footer-tag-cloud.is-orbiting a:focus-visible {
  z-index: 100 !important;
  opacity: 1 !important;
  background: rgba(255,209,138,.22);
  border-color: rgba(255,209,138,.85);
  box-shadow: 0 .65rem 1.25rem rgba(0,0,0,.16);
}

@media (max-width: 767px) {
  .home-hero-heading {
    max-width: 100% !important;
    min-height: 4.45em !important;
    font-size: clamp(1.95rem, 8.8vw, 2.45rem) !important;
    line-height: 1.06 !important;
    letter-spacing: -.018em !important;
  }
  .footer-social-links {
    margin-top: .85rem;
    gap: .48rem;
  }
  .footer-social-links a {
    width: 2.3rem;
    height: 2.3rem;
  }
  .footer-tag-cloud.is-orbiting {
    min-height: 12rem;
    max-width: 21rem;
  }
  .footer-tag-cloud.is-orbiting a {
    font-size: .76rem !important;
    padding: .3rem .58rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-tag-cloud.is-orbiting {
    display: flex;
    flex-wrap: wrap;
    min-height: 0;
    max-width: none;
    perspective: none;
  }
  .footer-tag-cloud.is-orbiting a {
    position: static;
    transform: none !important;
    opacity: 1 !important;
  }
}


/* v2.32: Crisp transparent expertise icons and left-aligned MADANI logo. */
.home-expertise-card .feature-icon,
.home-expertise-card:hover .feature-icon,
.home-expertise-card:focus-visible .feature-icon {
  filter: none !important;
}

.home-expertise-card .feature-icon {
  opacity: .38 !important;
  image-rendering: auto;
}

.home-expertise-card:hover .feature-icon,
.home-expertise-card:focus-visible .feature-icon {
  opacity: .5 !important;
}

.topbar .topbar-inner {
  justify-content: space-between !important;
}

.topbar .mineral-price-ticker {
  justify-self: start !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

.topbar .madani-topbar-badge {
  justify-content: flex-start !important;
  justify-self: start !important;
  margin-left: 0 !important;
  transform: translateX(-.12rem);
}

.topbar .madani-topbar-badge img {
  object-position: left center !important;
}

@media (max-width: 767px) {
  .home-expertise-card .feature-icon {
    opacity: .35 !important;
    filter: none !important;
  }

  .home-expertise-card:hover .feature-icon,
  .home-expertise-card:focus-visible .feature-icon {
    opacity: .48 !important;
    filter: none !important;
  }

  .topbar .topbar-inner {
    width: min(calc(100% - 1.35rem), var(--content)) !important;
  }

  .topbar .madani-topbar-badge {
    transform: none;
  }
}


/* v2.33: Interactive Warga JMG button and draggable 3D popular-tag cloud. */
.nav-warga-link {
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: .62rem !important;
  min-width: 9rem;
  padding: .48rem .48rem .48rem 1rem !important;
  border: 1px solid rgba(255,255,255,.54) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease !important;
}
.nav-warga-link::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: .4rem;
  top: 50%;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #fff;
  transform: translateY(-50%);
  transition:
    width .42s cubic-bezier(.22,1,.36,1),
    height .42s cubic-bezier(.22,1,.36,1),
    right .42s cubic-bezier(.22,1,.36,1);
}
.nav-warga-label,
.nav-warga-arrow {
  position: relative;
  z-index: 1;
}
.nav-warga-label {
  transition: color .28s ease, transform .28s ease;
}
.nav-warga-arrow {
  display: inline-grid;
  place-items: center;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  color: var(--brand-deep);
  font-size: 1.04rem;
  font-weight: 950;
  line-height: 1;
  transition: transform .32s cubic-bezier(.22,1,.36,1), color .28s ease;
}
.nav-warga-link:hover,
.nav-warga-link:focus-visible {
  color: var(--brand-deep) !important;
  border-color: #fff !important;
  background: rgba(255,255,255,.08) !important;
  box-shadow: 0 .55rem 1.25rem rgba(3,34,57,.18) !important;
  transform: translateY(-1px);
  text-decoration: none;
}
.nav-warga-link:hover::before,
.nav-warga-link:focus-visible::before {
  right: .18rem;
  width: calc(100% - .36rem);
  height: calc(100% - .36rem);
}
.nav-warga-link:hover .nav-warga-label,
.nav-warga-link:focus-visible .nav-warga-label {
  color: var(--brand-deep);
  transform: translateX(.08rem);
}
.nav-warga-link:hover .nav-warga-arrow,
.nav-warga-link:focus-visible .nav-warga-arrow {
  color: var(--brand-deep);
  transform: translateX(.18rem);
}

.footer-tag-cloud.is-orbiting {
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  overscroll-behavior: contain;
}
.footer-tag-cloud.is-orbiting.is-dragging {
  cursor: grabbing;
}
.footer-tag-cloud.is-orbiting a {
  -webkit-user-drag: none;
  user-select: none;
  backface-visibility: hidden;
}
.footer-tag-cloud.is-orbiting.is-dragging a {
  pointer-events: none;
}
.footer-tag-cloud.is-orbiting::after {
  content: "Seret untuk memutar";
  position: absolute;
  left: 50%;
  bottom: .15rem;
  transform: translateX(-50%);
  color: rgba(255,255,255,.58);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  pointer-events: none;
}
html[lang="en"] .footer-tag-cloud.is-orbiting::after {
  content: "Drag to rotate";
}
@media (max-width: 767px) {
  .nav-warga-link {
    min-width: 8rem !important;
    min-height: 2.55rem !important;
    padding: .36rem .36rem .36rem .8rem !important;
    gap: .45rem !important;
  }
  .nav-warga-link::before {
    right: .3rem;
    width: 1.86rem;
    height: 1.86rem;
  }
  .nav-warga-arrow {
    flex-basis: 1.86rem;
    width: 1.86rem;
    height: 1.86rem;
  }
  .footer-tag-cloud.is-orbiting {
    min-height: 13.25rem;
  }
}
@media (max-width: 359px) {
  .nav-warga-link {
    min-width: 7.35rem !important;
    padding-left: .7rem !important;
    font-size: .8rem !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-warga-link::before,
  .nav-warga-label,
  .nav-warga-arrow {
    transition: none !important;
  }
  .footer-tag-cloud.is-orbiting::after {
    display: none;
  }
}


/* v2.34: Refined news cards, contained clickable tag cloud and live visitor stats. */
.home-news-card {
  border: 1px solid rgba(155, 187, 199, .58) !important;
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease,
    background-color .22s ease;
}
.home-news-card:hover,
.home-news-card:focus-within {
  transform: translateY(-3px);
  border-color: #9fc7dc !important;
  box-shadow: 0 16px 34px rgba(13, 77, 120, .12);
  background:
    linear-gradient(145deg, rgba(255,255,255,1), rgba(242,249,251,.98));
}
.home-news-card:hover::before,
.home-news-card:focus-within::before {
  background: radial-gradient(circle at 100% 0%, rgba(23,120,186,.12), transparent 46%);
}

.footer-tag-cloud.is-orbiting {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 15rem;
  padding: .8rem;
  overflow: hidden;
  contain: layout paint;
  border-radius: .9rem;
}
.footer-tag-cloud.is-orbiting::after {
  content: none !important;
  display: none !important;
}
.footer-tag-cloud.is-orbiting a {
  max-width: calc(100% - 1.2rem);
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
}
.footer-tag-cloud.is-orbiting.is-dragging a {
  cursor: grabbing;
  pointer-events: none;
}

.footer-portal-stats {
  display: inline-flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  color: #e7f4f8;
}
.footer-stat {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  min-height: 2rem;
  padding: .3rem .65rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.075);
  white-space: nowrap;
}
.footer-stat span {
  font-size: .76rem;
  font-weight: 680;
}
.footer-stat strong {
  min-width: 1.25rem;
  color: #ffd18a;
  font-size: .86rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
@media (max-width: 767px) {
  .footer-tag-cloud.is-orbiting {
    min-height: 15.5rem;
    padding: .6rem;
  }
  .footer-portal-stats {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem;
  }
  .footer-stat {
    justify-content: space-between;
    min-width: 0;
  }
}
@media (max-width: 359px) {
  .footer-portal-stats {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-news-card {
    transition: none;
  }
  .footer-tag-cloud.is-orbiting {
    overflow: visible;
    contain: none;
  }
}


/* v2.35: Quick-access card section, balanced mineral ticker spacing and calmer tag cloud. */
.home-quick-access-section {
  position: relative;
  z-index: 3;
  padding-top: 0;
  margin-top: clamp(-2.1rem, -2vw, -1.1rem);
}
.home-quick-access-card {
  display: grid;
  grid-template-columns: minmax(13rem, .75fr) minmax(0, 1.6fr);
  gap: clamp(1rem, 2.2vw, 1.45rem);
  align-items: stretch;
  padding: clamp(1rem, 2vw, 1.3rem);
  border: 1px solid rgba(155, 187, 199, .58);
  border-radius: 1.25rem;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 42px rgba(13, 77, 120, .12);
  backdrop-filter: blur(12px);
}
.home-quick-access-head {
  display: grid;
  align-content: center;
  gap: .42rem;
  padding: .55rem .4rem .55rem .2rem;
}
.home-quick-access-head h2 {
  margin: 0;
  font-size: clamp(1.38rem, 2.2vw, 1.85rem);
  line-height: 1.12;
}
.home-quick-access-head p {
  margin: 0;
  color: var(--muted);
  max-width: 28ch;
}
.home-quick-access-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
}
.home-quick-link {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .68rem;
  align-items: center;
  min-height: 5.15rem;
  padding: .8rem .88rem;
  border: 1px solid rgba(216, 227, 222, .95);
  border-radius: .95rem;
  background: linear-gradient(180deg, #fff, #f7fbfd);
  color: var(--ink);
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}
.home-quick-link::after {
  content: "→";
  position: absolute;
  right: .72rem;
  bottom: .55rem;
  z-index: 0;
  color: rgba(13, 77, 120, .22);
  font-size: 1.25rem;
  font-weight: 950;
  transition: transform .22s ease, color .22s ease;
}
.home-quick-link img {
  width: 2.1rem;
  height: 2.1rem;
  padding: .45rem;
  border-radius: .78rem;
  background: rgba(23, 120, 186, .09);
}
.home-quick-link span,
.home-quick-link small {
  position: relative;
  z-index: 1;
}
.home-quick-link span {
  display: block;
  padding-right: 1.25rem;
  color: var(--ink);
  font-size: .94rem;
  font-weight: 820;
  line-height: 1.22;
}
.home-quick-link small {
  display: block;
  margin-top: .15rem;
  padding-right: .75rem;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.28;
}
.home-quick-link:hover,
.home-quick-link:focus-visible {
  transform: translateY(-3px);
  border-color: #9fc7dc;
  box-shadow: 0 14px 30px rgba(13, 77, 120, .12);
  background: linear-gradient(180deg, #fff, #f1f8fb);
  text-decoration: none;
}
.home-quick-link:hover::after,
.home-quick-link:focus-visible::after {
  color: rgba(13, 77, 120, .48);
  transform: translateX(.18rem);
}

@media (min-width: 768px) {
  .topbar .mineral-price-ticker {
    gap: .62rem !important;
  }
  .topbar .mineral-ticker-window {
    margin-left: .06rem !important;
  }
}

.footer-tag-cloud.is-orbiting {
  min-height: 17rem !important;
  padding: 1rem .95rem !important;
  overflow: hidden !important;
}
.footer-tag-cloud.is-orbiting a {
  max-width: calc(100% - 1.6rem) !important;
  transform-origin: center !important;
}
.footer-tag-cloud.is-orbiting a:hover,
.footer-tag-cloud.is-orbiting a:focus-visible {
  z-index: 120 !important;
}

@media (max-width: 992px) {
  .home-quick-access-card {
    grid-template-columns: 1fr;
  }
  .home-quick-access-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .home-quick-access-section {
    margin-top: -1.05rem;
  }
  .home-quick-access-card {
    padding: .9rem;
    border-radius: 1rem;
  }
  .home-quick-access-head {
    padding: .25rem .15rem .15rem;
  }
  .home-quick-access-grid {
    gap: .55rem;
  }
  .home-quick-link {
    grid-template-columns: 1fr;
    gap: .42rem;
    min-height: 7.05rem;
    align-content: start;
    padding: .72rem;
  }
  .home-quick-link img {
    width: 2rem;
    height: 2rem;
  }
  .home-quick-link span {
    padding-right: .75rem;
    font-size: .87rem;
  }
  .home-quick-link small {
    font-size: .73rem;
  }
  .footer-tag-cloud.is-orbiting {
    min-height: 17.5rem !important;
    padding: .8rem .65rem !important;
  }
}
@media (max-width: 359px) {
  .home-quick-access-grid {
    grid-template-columns: 1fr;
  }
  .home-quick-link {
    min-height: 5.2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-quick-link {
    transition: none;
  }
}


/* v2.36: Rotating geosite hero photo captions, cleaner latest heading, footer stats text and mobile section rhythm. */
.hero-immersive {
  position: relative;
}
.hero-immersive::before {
  transition: opacity .45s ease;
}
.hero-immersive.is-hero-bg-changing::before {
  opacity: .92;
}
.hero-photo-caption {
  position: absolute !important;
  left: 50%;
  bottom: .95rem;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  justify-content: flex-start;
  pointer-events: none;
}
.hero-photo-caption span,
.hero-photo-caption strong {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hero-photo-caption-label {
  padding: .36rem .68rem;
  border: 1px solid rgba(255,255,255,.18);
  border-right: 0;
  border-radius: 999px 0 0 999px;
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.78);
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-photo-caption strong {
  max-width: min(44rem, 72vw);
  padding: .36rem .82rem;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 0 999px 999px 0;
  background: rgba(4, 25, 44, .38);
  color: #fff;
  font-size: .82rem;
  font-weight: 760;
  text-shadow: 0 1px 2px rgba(0,0,0,.22);
  transition: opacity .28s ease, transform .28s ease;
}
.hero-photo-caption strong.is-changing {
  opacity: .25;
  transform: translateY(.18rem);
}
.home-latest-section .section-head .eyebrow {
  display: none !important;
}
.footer-legal-links a,
.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
  text-decoration: none !important;
  border-bottom: 0 !important;
}
.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
  color: #ffd18a !important;
}
.footer-portal-stats {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .35rem .75rem !important;
  color: #e7f4f8 !important;
}
.footer-stat {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: .28rem !important;
  min-height: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  white-space: nowrap !important;
}
.footer-stat:not(:last-child)::after {
  content: "•";
  margin-left: .72rem;
  color: rgba(255,255,255,.45);
  font-weight: 700;
}
.footer-stat span {
  font-size: .78rem !important;
  font-weight: 700 !important;
  color: rgba(231,244,248,.88) !important;
}
.footer-stat strong {
  min-width: 0 !important;
  color: #ffd18a !important;
  font-size: .9rem !important;
  font-variant-numeric: tabular-nums !important;
  text-align: left !important;
}
.footer-tag-cloud.is-orbiting::after {
  content: none !important;
  display: none !important;
}
@media (max-width: 767px) {
  .hero-photo-caption {
    position: relative !important;
    left: auto;
    bottom: auto;
    transform: none;
    margin-top: -.25rem;
    padding-bottom: 1rem;
    justify-content: flex-start;
  }
  .hero-photo-caption span,
  .hero-photo-caption strong {
    min-height: 1.9rem;
  }
  .hero-photo-caption-label {
    display: none !important;
  }
  .hero-photo-caption strong {
    max-width: 100%;
    border-radius: 999px;
    padding: .36rem .72rem;
    font-size: .75rem;
    line-height: 1.3;
    background: rgba(4, 25, 44, .48);
  }
  .home-expertise-section .section-head p,
  .home-latest-section .section-head p {
    display: none !important;
  }
  .footer-portal-stats {
    width: 100% !important;
    display: inline-flex !important;
    flex-wrap: wrap !important;
    gap: .36rem .65rem !important;
  }
  .footer-stat {
    justify-content: flex-start !important;
  }
  .footer-stat:not(:last-child)::after {
    margin-left: .65rem;
  }
}


/* v2.37: Homepage Akses Pantas focused on core JMG systems and service links. */
.home-quick-access-head p {
  max-width: 55rem;
}
.home-quick-link {
  position: relative;
  align-items: flex-start;
  min-height: 8.35rem;
  padding-right: 2.35rem;
}
.home-quick-link::after {
  content: "↗";
  position: absolute;
  right: 1rem;
  bottom: .9rem;
  width: 1.9rem;
  height: 1.9rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(23, 120, 186, .10);
  color: #0b5c86;
  font-weight: 900;
  line-height: 1;
  transition: transform .22s ease, background .22s ease, color .22s ease;
}
.home-quick-link:hover::after,
.home-quick-link:focus-visible::after {
  transform: translate(.14rem, -.14rem);
  background: var(--brand);
  color: #fff;
}
.home-quick-link span {
  line-height: 1.22;
}
.home-quick-link small {
  line-height: 1.42;
}
@media (max-width: 767px) {
  .home-quick-access-card {
    padding: 1rem;
  }
  .home-quick-link {
    min-height: 7.75rem;
    padding: 1rem 2.15rem 1rem 1rem;
  }
  .home-quick-link::after {
    right: .72rem;
    bottom: .7rem;
    width: 1.65rem;
    height: 1.65rem;
    font-size: .82rem;
  }
}


/* v2.38: Footer office name grouped with address, vertical tag cloud and refined photo caption. */
.footer-brand-block h2 {
  display: none !important;
}
.footer-brand-block address {
  margin-top: 0 !important;
}
.footer-office-name {
  display: inline !important;
  font: inherit !important;
  font-weight: 760 !important;
  color: #fff !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.footer-social-links {
  margin-top: .85rem !important;
}

.footer-tag-cloud.is-orbiting {
  min-height: 22rem !important;
  max-width: 23rem !important;
  padding: 1.35rem 1rem !important;
  overflow: hidden !important;
  perspective: 820px !important;
}
.footer-tag-cloud.is-orbiting a {
  max-width: min(13rem, calc(100% - 2rem)) !important;
  text-align: center !important;
  transform-origin: center !important;
}
.footer-tag-cloud.is-orbiting a:hover,
.footer-tag-cloud.is-orbiting a:focus-visible {
  white-space: nowrap !important;
}

.hero-photo-caption {
  left: max(1rem, calc((100vw - var(--content)) / 2 + 1rem)) !important;
  right: auto !important;
  bottom: 1rem !important;
  transform: none !important;
  justify-content: flex-start !important;
  width: auto !important;
  max-width: min(38rem, calc(100% - 2rem)) !important;
}
.hero-photo-caption span,
.hero-photo-caption strong {
  box-shadow: 0 .9rem 1.8rem rgba(0,0,0,.16) !important;
}
.hero-photo-caption-label {
  background: rgba(255,255,255,.13) !important;
  color: rgba(255,255,255,.82) !important;
}
.hero-photo-caption strong {
  background: rgba(3, 28, 47, .48) !important;
  font-size: .8rem !important;
}

@media (max-width: 767px) {
  .footer-office-name {
    display: inline !important;
    font-weight: 720 !important;
  }
  .footer-tag-cloud.is-orbiting {
    min-height: 21rem !important;
    max-width: 100% !important;
    padding: 1.05rem .75rem !important;
  }
  .footer-tag-cloud.is-orbiting a {
    max-width: min(11.5rem, calc(100% - 1.2rem)) !important;
  }
  .hero-photo-caption {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    max-width: 100% !important;
    margin-top: -.15rem !important;
    padding-bottom: .95rem !important;
  }
  .hero-photo-caption strong {
    max-width: 100% !important;
    font-size: .74rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-tag-cloud.is-orbiting {
    min-height: 0 !important;
    overflow: visible !important;
    max-width: none !important;
  }
}


/* v2.39: Compact quick-access layout, unobstructed hero caption and balanced tag cloud height. */
.home-quick-access-section {
  margin-top: clamp(.75rem, 1.25vw, 1.15rem) !important;
  padding-top: 0 !important;
}
.home-quick-access-card--portal {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: .62rem !important;
  align-items: stretch !important;
  padding: clamp(.78rem, 1.45vw, 1rem) !important;
  border-radius: 1.18rem !important;
}
.home-quick-access-card--portal .home-quick-access-head {
  grid-column: span 2 !important;
  min-height: 4.75rem !important;
  align-content: center !important;
  gap: .22rem !important;
  padding: .72rem .85rem !important;
  border: 1px solid rgba(216, 227, 222, .92);
  border-radius: .92rem;
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(241,248,251,.92));
}
.home-quick-access-card--portal .home-quick-access-head .eyebrow {
  color: #8b5b00 !important;
  letter-spacing: .1em !important;
}
.home-quick-access-card--portal .home-quick-access-head h2 {
  font-size: clamp(1.15rem, 1.8vw, 1.48rem) !important;
  line-height: 1.06 !important;
}
.home-quick-access-card--portal .home-quick-access-head p {
  max-width: 31ch !important;
  font-size: .82rem !important;
  line-height: 1.35 !important;
}
.home-quick-access-card--portal .home-quick-access-grid {
  display: contents !important;
}
.home-quick-access-card--portal .home-quick-link {
  min-height: 4.75rem !important;
  grid-template-columns: 2rem minmax(0, 1fr) !important;
  gap: .52rem !important;
  align-items: center !important;
  align-content: center !important;
  padding: .58rem 2.35rem .58rem .68rem !important;
  border-radius: .88rem !important;
}
.home-quick-access-card--portal .home-quick-link img {
  width: 2rem !important;
  height: 2rem !important;
  padding: .42rem !important;
  align-self: center !important;
}
.home-quick-access-card--portal .home-quick-link span {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding-right: 0 !important;
  font-size: .82rem !important;
  line-height: 1.18 !important;
}
.home-quick-access-card--portal .home-quick-link small {
  display: block !important;
  margin-top: .12rem !important;
  padding-right: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  font-size: .68rem !important;
  line-height: 1.2 !important;
}
.home-quick-access-card--portal .home-quick-link::after {
  right: .64rem !important;
  bottom: .58rem !important;
  width: 1.45rem !important;
  height: 1.45rem !important;
  font-size: .78rem !important;
}
.hero-photo-caption {
  z-index: 5 !important;
}
.footer-tag-cloud.is-orbiting {
  min-height: 14.75rem !important;
  max-width: 24rem !important;
  padding: .85rem .85rem 1rem !important;
  overflow: hidden !important;
}
.footer-tag-cloud.is-orbiting a {
  max-width: min(12rem, calc(100% - 1.2rem)) !important;
}
@media (max-width: 1120px) {
  .home-quick-access-card--portal {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .home-quick-access-card--portal .home-quick-access-head {
    grid-column: 1 / -1 !important;
    min-height: 0 !important;
  }
  .home-quick-access-card--portal .home-quick-access-grid {
    display: contents !important;
  }
}
@media (max-width: 767px) {
  .home-quick-access-section {
    margin-top: .65rem !important;
  }
  .home-quick-access-card--portal {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .5rem !important;
    padding: .72rem !important;
  }
  .home-quick-access-card--portal .home-quick-access-head {
    grid-column: 1 / -1 !important;
    padding: .72rem .72rem .68rem !important;
  }
  .home-quick-access-card--portal .home-quick-access-head p {
    font-size: .78rem !important;
    max-width: none !important;
  }
  .home-quick-access-card--portal .home-quick-link {
    min-height: 4.35rem !important;
    grid-template-columns: 1.76rem minmax(0, 1fr) !important;
    gap: .42rem !important;
    padding: .52rem 1.86rem .52rem .56rem !important;
  }
  .home-quick-access-card--portal .home-quick-link img {
    width: 1.76rem !important;
    height: 1.76rem !important;
    padding: .38rem !important;
  }
  .home-quick-access-card--portal .home-quick-link span {
    font-size: .78rem !important;
    line-height: 1.16 !important;
  }
  .home-quick-access-card--portal .home-quick-link small {
    font-size: .64rem !important;
  }
  .home-quick-access-card--portal .home-quick-link::after {
    right: .5rem !important;
    bottom: .48rem !important;
    width: 1.28rem !important;
    height: 1.28rem !important;
    font-size: .7rem !important;
  }
  .hero-photo-caption {
    margin-bottom: .75rem !important;
  }
  .footer-tag-cloud.is-orbiting {
    min-height: 12.8rem !important;
    max-width: 21.5rem !important;
    padding: .58rem .58rem .72rem !important;
  }
  .footer-tag-cloud.is-orbiting a {
    max-width: min(10.8rem, calc(100% - 1rem)) !important;
  }
}
@media (max-width: 380px) {
  .home-quick-access-card--portal {
    grid-template-columns: 1fr !important;
  }
  .home-quick-access-card--portal .home-quick-link {
    min-height: 3.9rem !important;
  }
}

/* v2.40: Poster-inspired official theme palette from Peperiksaan Pembedil poster. */
:root {
  --ink: #071b36;
  --muted: #566777;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --brand: #044c67;
  --brand-deep: #021f4e;
  --accent: #e5ac3e;
  --focus: #f6c343;
  --line: #d6e0e9;
  --shadow: 0 12px 30px rgba(2,31,78,.11);
  --jmg-navy: #021f4e;
  --jmg-blue: #044c67;
  --jmg-sky: #1778ba;
  --jmg-teal: #006f63;
  --jmg-gold: #e5ac3e;
  --jmg-amber: #f3bd30;
  --jmg-cloud: #f1f4f8;
}

body {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 38%, #ffffff 100%);
}

.topbar {
  background: linear-gradient(90deg, var(--jmg-navy) 0%, #053c61 55%, var(--jmg-blue) 100%);
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.nav-shell {
  background: linear-gradient(90deg, #0c78b6 0%, var(--jmg-sky) 52%, #0b6f9f 100%);
  box-shadow: 0 10px 22px rgba(2,31,78,.10);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: rgba(255,255,255,.12);
  border-color: var(--jmg-amber);
}

.portal-label,
.eyebrow,
.home-latest-section .section-head .eyebrow,
.home-quick-access-card--portal .home-quick-access-head .eyebrow {
  color: var(--jmg-gold) !important;
}

.button {
  background: linear-gradient(135deg, var(--jmg-teal), #078573);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0,111,99,.14);
}

.button:hover,
.button:focus-visible {
  background: linear-gradient(135deg, var(--jmg-navy), var(--jmg-blue));
}

.button.secondary {
  color: var(--jmg-navy);
  background: #eef6f8;
}

.card,
.home-expertise-card,
.home-news-card,
.home-quick-access-card--portal,
.announcement-poster-card {
  border-color: rgba(2,31,78,.12) !important;
  box-shadow: 0 12px 28px rgba(2,31,78,.055);
}

.card:hover,
.card-link:hover,
.home-expertise-card:hover,
.home-news-card:hover,
.home-news-card:focus-within,
.home-quick-link:hover,
.home-quick-link:focus-visible,
.announcement-poster-card:hover {
  border-color: rgba(229,172,62,.60) !important;
  box-shadow: 0 16px 34px rgba(2,31,78,.12);
}

.home-hero::before,
.hero-immersive::before {
  background:
    linear-gradient(105deg, rgba(2,31,78,.88) 0%, rgba(4,76,103,.72) 48%, rgba(0,111,99,.52) 100%),
    var(--home-hero-bg) center center / cover no-repeat !important;
}

.hero-story-dot.is-active,
.hero-slider-dot.is-active {
  background: var(--jmg-amber) !important;
  border-color: rgba(255,255,255,.92) !important;
}

.home-expertise-card {
  background:
    radial-gradient(circle at 100% 100%, rgba(229,172,62,.12), transparent 47%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%) !important;
}

.home-expertise-card::before {
  background: radial-gradient(circle, rgba(23,120,186,.15) 0%, rgba(229,172,62,.07) 48%, transparent 72%) !important;
}

.home-quick-access-card--portal {
  background:
    linear-gradient(145deg, rgba(255,255,255,.97), rgba(244,248,251,.98)),
    radial-gradient(circle at top right, rgba(229,172,62,.16), transparent 48%) !important;
}

.home-quick-link::after,
.home-news-card .home-news-link::after,
.home-latest-section .section-head > a::after,
.home-expertise-section .section-head > a::after {
  color: var(--jmg-gold) !important;
}

.home-quick-link {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fb 100%) !important;
  border-color: rgba(2,31,78,.12) !important;
}

.home-quick-link:hover,
.home-quick-link:focus-visible {
  background: linear-gradient(180deg, #ffffff 0%, #fff8ea 100%) !important;
}

.home-news-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(229,172,62,.10), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%) !important;
}

.home-news-card .news-meta,
.home-news-card time,
.home-news-card .home-news-meta {
  color: #486476 !important;
}

.site-footer {
  background: linear-gradient(145deg, var(--jmg-navy) 0%, #053c61 54%, var(--jmg-teal) 100%) !important;
}

.footer-tag-cloud a {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.11);
}

.footer-tag-cloud a:hover,
.footer-tag-cloud a:focus-visible {
  border-color: rgba(229,172,62,.78);
  background: rgba(229,172,62,.18);
}

.back-top {
  background: linear-gradient(135deg, var(--jmg-gold), var(--jmg-amber)) !important;
  color: var(--jmg-navy) !important;
}

@media (max-width: 767px) {
  .nav-shell {
    background: linear-gradient(90deg, #117dbb, var(--jmg-sky));
  }

  .primary-nav {
    background: linear-gradient(145deg, rgba(2,31,78,.99), rgba(4,76,103,.99)) !important;
  }
}

/* v2.41: Restore overlapping quick-access rail, relocate photo caption, show full card descriptions and brighter menu bar. */
.nav-shell {
  background: linear-gradient(90deg, #1592d2 0%, #1f9bdd 48%, #1383c4 100%) !important;
  box-shadow: 0 10px 22px rgba(2, 31, 78, .10) !important;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, .16) !important;
  border-color: var(--jmg-amber, #f3bd30) !important;
}

@media (min-width: 768px) {
  .home-quick-access-section {
    margin-top: clamp(-3.25rem, -4vw, -2rem) !important;
    position: relative !important;
    z-index: 8 !important;
  }
  .hero-photo-caption {
    left: auto !important;
    right: max(1rem, calc((100vw - var(--content)) / 2 + 1rem)) !important;
    bottom: clamp(5.25rem, 7vw, 6.65rem) !important;
    max-width: min(34rem, calc(100% - 2rem)) !important;
    z-index: 7 !important;
  }
}

.home-quick-access-card--portal .home-quick-link {
  min-height: 6.15rem !important;
  align-items: start !important;
  align-content: start !important;
  padding-top: .72rem !important;
  padding-bottom: .72rem !important;
  grid-template-rows: auto auto !important;
}
.home-quick-access-card--portal .home-quick-link img {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  margin-top: .05rem !important;
}
.home-quick-access-card--portal .home-quick-link span {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: clip !important;
}
.home-quick-access-card--portal .home-quick-link small {
  grid-column: 2 !important;
  grid-row: 2 !important;
  display: block !important;
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: clip !important;
  line-height: 1.28 !important;
}

@media (max-width: 767px) {
  .nav-shell {
    background: linear-gradient(90deg, #168fd2 0%, #209de0 100%) !important;
  }
  .primary-nav {
    background: linear-gradient(145deg, rgba(8, 93, 143, .99), rgba(5, 70, 116, .99)) !important;
  }
  .home-quick-access-section {
    margin-top: .75rem !important;
  }
  .home-quick-access-card--portal .home-quick-link {
    min-height: 5.8rem !important;
    padding-top: .62rem !important;
    padding-bottom: .62rem !important;
  }
  .home-quick-access-card--portal .home-quick-link small {
    font-size: .64rem !important;
    line-height: 1.22 !important;
  }
  .hero-photo-caption {
    position: relative !important;
    margin-top: .75rem !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    justify-content: flex-start !important;
  }
}


/* v2.42: NaTSIS URL update support, smaller hero eyebrow and fixed 4-line headline space. */
.hero-immersive .home-hero-copy .eyebrow {
  font-size: clamp(.66rem, .72vw, .78rem) !important;
  letter-spacing: .16em !important;
  line-height: 1.28 !important;
  margin-bottom: .72rem !important;
}
.hero-immersive .home-hero-copy h1,
.home-hero-heading {
  display: grid !important;
  align-items: start !important;
  max-width: 15.8ch !important;
  min-height: calc(4 * 1.08em) !important;
  height: calc(4 * 1.08em) !important;
  line-height: 1.08 !important;
  letter-spacing: -.026em !important;
  overflow: visible !important;
}
.home-hero-heading [data-hero-heading-text] {
  display: block !important;
  max-width: 100% !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}
@media (max-width: 767px) {
  .hero-immersive .home-hero-copy .eyebrow {
    font-size: .58rem !important;
    letter-spacing: .17em !important;
    line-height: 1.22 !important;
    margin-bottom: .48rem !important;
  }
  .hero-immersive .home-hero-copy h1,
  .home-hero-heading {
    max-width: 18ch !important;
    min-height: calc(4 * 1.12em) !important;
    height: calc(4 * 1.12em) !important;
    font-size: clamp(1.72rem, 7.45vw, 2.14rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -.014em !important;
    margin-bottom: .1rem !important;
  }
}
@media (max-width: 359px) {
  .hero-immersive .home-hero-copy h1,
  .home-hero-heading {
    max-width: 17.2ch !important;
    font-size: clamp(1.58rem, 7.1vw, 1.92rem) !important;
    min-height: calc(4 * 1.14em) !important;
    height: calc(4 * 1.14em) !important;
    line-height: 1.14 !important;
  }
}


/* v2.43: Hero photo caption replaces CTA buttons; quick access header is no longer boxed. */
.home-hero-photo-note {
  display: inline-grid;
  gap: .22rem;
  margin-top: clamp(1.1rem, 2vw, 1.55rem);
  padding: .72rem .9rem;
  max-width: min(100%, 28rem);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: .95rem;
  background: rgba(3, 28, 52, .28);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
}

.home-hero-photo-note span {
  color: #ffd18a;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.home-hero-photo-note strong {
  font-size: clamp(.92rem, 1.25vw, 1.04rem);
  line-height: 1.35;
  font-weight: 760;
}

/* Keep older caption element away if cached markup still exists. */
.home-hero-photo-caption {
  display: none !important;
}

/* Quick access: section heading outside any visual box, balanced with other homepage sections. */
.home-quick-access-section {
  position: relative;
  z-index: 3;
}

.home-quick-access-section .section-head,
.quick-access-section .section-head,
.digital-gateway-section .section-head,
section:has(.quick-access-grid) .section-head {
  margin-bottom: 1.15rem;
}

.home-quick-access-section .section-head > div,
.quick-access-section .section-head > div,
.digital-gateway-section .section-head > div,
section:has(.quick-access-grid) .section-head > div {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.home-quick-access-section .section-head .eyebrow,
.quick-access-section .section-head .eyebrow,
.digital-gateway-section .section-head .eyebrow,
section:has(.quick-access-grid) .section-head .eyebrow {
  color: #b66b00;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  font-size: .84rem;
  letter-spacing: .11em;
}

.home-quick-access-section .section-head h2,
.quick-access-section .section-head h2,
.digital-gateway-section .section-head h2,
section:has(.quick-access-grid) .section-head h2 {
  font-size: clamp(1.72rem, 3vw, 2.38rem);
  line-height: 1.12;
  margin: .32rem 0 .35rem;
}

.home-quick-access-section .section-head p,
.quick-access-section .section-head p,
.digital-gateway-section .section-head p,
section:has(.quick-access-grid) .section-head p {
  max-width: 46rem;
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  line-height: 1.55;
}

/* Quick cards: slightly larger, full readable title/description and still compact. */
.quick-access-grid,
.gateway-card-grid {
  align-items: stretch;
}

.quick-access-card,
.gateway-card,
a[class*="quick-access"],
a[class*="gateway-card"] {
  min-height: 8.6rem;
}

.quick-access-card h3,
.gateway-card h3,
.quick-access-card strong,
.gateway-card strong {
  font-size: clamp(1.02rem, 1.25vw, 1.15rem) !important;
  line-height: 1.25 !important;
  letter-spacing: -.015em;
  overflow: visible !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
}

.quick-access-card p,
.gateway-card p {
  font-size: clamp(.92rem, 1.05vw, .98rem) !important;
  line-height: 1.45 !important;
  overflow: visible !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
}

/* Known v2.39/v2.40 gateway naming support. */
.digital-gateway-card {
  min-height: 8.6rem;
}

.digital-gateway-card h3 {
  font-size: clamp(1.02rem, 1.25vw, 1.15rem) !important;
  line-height: 1.25 !important;
  overflow: visible !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
}

.digital-gateway-card p {
  font-size: clamp(.92rem, 1.05vw, .98rem) !important;
  line-height: 1.45 !important;
  overflow: visible !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
}

@media (max-width: 767px) {
  .home-hero-photo-note {
    margin-top: 1rem;
    padding: .62rem .72rem;
    max-width: 100%;
    border-radius: .82rem;
  }

  .home-hero-photo-note span {
    font-size: .64rem;
  }

  .home-hero-photo-note strong {
    font-size: .82rem;
    line-height: 1.32;
  }

  .home-quick-access-section .section-head h2,
  .quick-access-section .section-head h2,
  .digital-gateway-section .section-head h2,
  section:has(.quick-access-grid) .section-head h2 {
    font-size: 1.52rem;
  }

  .home-quick-access-section .section-head p,
  .quick-access-section .section-head p,
  .digital-gateway-section .section-head p,
  section:has(.quick-access-grid) .section-head p {
    font-size: .94rem;
    line-height: 1.48;
  }

  .quick-access-card,
  .gateway-card,
  .digital-gateway-card,
  a[class*="quick-access"],
  a[class*="gateway-card"] {
    min-height: auto;
  }

  .quick-access-card h3,
  .gateway-card h3,
  .digital-gateway-card h3,
  .quick-access-card strong,
  .gateway-card strong {
    font-size: 1rem !important;
  }

  .quick-access-card p,
  .gateway-card p,
  .digital-gateway-card p {
    font-size: .9rem !important;
  }
}


/* v2.44: Larger 6-card key digital services quick-access rail. */
@media (min-width: 768px) {
  .home-quick-access-section {
    margin-top: clamp(-3.35rem, -4vw, -2.15rem) !important;
    padding-top: 0 !important;
    position: relative !important;
    z-index: 8 !important;
  }
}

.home-quick-access-card--portal {
  display: grid !important;
  grid-template-columns: minmax(14rem, .92fr) repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(.82rem, 1.4vw, 1rem) !important;
  align-items: stretch !important;
  padding: clamp(1rem, 1.75vw, 1.25rem) !important;
  border: 1px solid rgba(159, 199, 220, .72) !important;
  border-radius: 1.28rem !important;
  background: rgba(255,255,255,.97) !important;
  box-shadow: 0 20px 48px rgba(5, 41, 78, .15) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
}

.home-quick-access-card--portal .home-quick-access-head {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  min-height: 0 !important;
  display: grid !important;
  align-content: center !important;
  gap: .5rem !important;
  padding: clamp(1.2rem, 2vw, 1.55rem) clamp(1rem, 1.65vw, 1.25rem) !important;
  border: 0 !important;
  border-radius: 1rem !important;
  background:
    radial-gradient(circle at 100% 100%, rgba(243, 189, 48, .18), transparent 50%),
    linear-gradient(145deg, rgba(248, 252, 255, .96), rgba(236, 247, 252, .96)) !important;
  box-shadow: inset .26rem 0 0 var(--jmg-amber, #f3bd30) !important;
}

.home-quick-access-card--portal .home-quick-access-head .eyebrow {
  color: #9b6100 !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  font-size: .86rem !important;
  line-height: 1.2 !important;
  letter-spacing: .11em !important;
}

.home-quick-access-card--portal .home-quick-access-head h2 {
  margin: 0 !important;
  color: var(--ink) !important;
  font-size: clamp(1.82rem, 2.7vw, 2.42rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
}

.home-quick-access-card--portal .home-quick-access-head p {
  max-width: 30ch !important;
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: clamp(1rem, 1.18vw, 1.08rem) !important;
  line-height: 1.58 !important;
}

.home-quick-access-card--portal .home-quick-access-grid {
  display: contents !important;
}

.home-quick-access-card--portal .home-quick-link {
  min-height: 8.85rem !important;
  display: grid !important;
  grid-template-columns: 2.45rem minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  gap: .62rem .78rem !important;
  align-items: start !important;
  align-content: start !important;
  padding: 1.08rem 2.65rem 1.08rem 1.05rem !important;
  border: 1px solid rgba(216, 227, 222, .98) !important;
  border-radius: 1.02rem !important;
  background:
    radial-gradient(circle at 100% 100%, rgba(243, 189, 48, .13), transparent 48%),
    linear-gradient(180deg, #fff, #f5fafc) !important;
  color: var(--ink) !important;
  box-shadow: 0 10px 24px rgba(5, 41, 78, .065) !important;
  overflow: hidden !important;
}

.home-quick-access-card--portal .home-quick-link img {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  width: 2.45rem !important;
  height: 2.45rem !important;
  margin-top: .04rem !important;
  padding: .48rem !important;
  border-radius: .82rem !important;
  background: rgba(21, 146, 210, .10) !important;
}

.home-quick-access-card--portal .home-quick-link span {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: block !important;
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: clip !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  padding-right: 0 !important;
  color: var(--ink) !important;
  font-size: clamp(1.07rem, 1.22vw, 1.18rem) !important;
  font-weight: 850 !important;
  line-height: 1.22 !important;
  letter-spacing: -.02em !important;
}

.home-quick-access-card--portal .home-quick-link small {
  grid-column: 2 !important;
  grid-row: 2 !important;
  display: block !important;
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: clip !important;
  margin-top: -.08rem !important;
  padding-right: 0 !important;
  color: var(--muted) !important;
  font-size: clamp(.92rem, 1.04vw, .99rem) !important;
  line-height: 1.48 !important;
}

.home-quick-access-card--portal .home-quick-link::after {
  right: .82rem !important;
  bottom: .78rem !important;
  width: 1.72rem !important;
  height: 1.72rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: rgba(4, 76, 103, .08) !important;
  color: rgba(4, 76, 103, .58) !important;
  font-size: .95rem !important;
  font-weight: 950 !important;
}

.home-quick-access-card--portal .home-quick-link:hover,
.home-quick-access-card--portal .home-quick-link:focus-visible {
  transform: translateY(-4px) !important;
  border-color: rgba(243, 189, 48, .92) !important;
  box-shadow: 0 18px 34px rgba(5, 41, 78, .13) !important;
  text-decoration: none !important;
}

@media (max-width: 1120px) {
  .home-quick-access-card--portal {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .home-quick-access-card--portal .home-quick-access-head {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    min-height: 0 !important;
  }
  .home-quick-access-card--portal .home-quick-link {
    min-height: 8.2rem !important;
  }
}

@media (max-width: 767px) {
  .home-quick-access-section {
    margin-top: .8rem !important;
  }
  .home-quick-access-card--portal {
    grid-template-columns: 1fr !important;
    gap: .7rem !important;
    padding: .9rem !important;
    border-radius: 1.05rem !important;
  }
  .home-quick-access-card--portal .home-quick-access-head {
    padding: 1rem !important;
    border-radius: .9rem !important;
  }
  .home-quick-access-card--portal .home-quick-access-head .eyebrow {
    font-size: .72rem !important;
  }
  .home-quick-access-card--portal .home-quick-access-head h2 {
    font-size: 1.55rem !important;
    line-height: 1.1 !important;
  }
  .home-quick-access-card--portal .home-quick-access-head p {
    max-width: none !important;
    font-size: .94rem !important;
    line-height: 1.5 !important;
  }
  .home-quick-access-card--portal .home-quick-link {
    min-height: auto !important;
    grid-template-columns: 2.18rem minmax(0, 1fr) !important;
    gap: .45rem .65rem !important;
    padding: .92rem 2.35rem .92rem .88rem !important;
    border-radius: .92rem !important;
  }
  .home-quick-access-card--portal .home-quick-link img {
    width: 2.18rem !important;
    height: 2.18rem !important;
    padding: .42rem !important;
  }
  .home-quick-access-card--portal .home-quick-link span {
    font-size: 1rem !important;
    line-height: 1.2 !important;
  }
  .home-quick-access-card--portal .home-quick-link small {
    font-size: .86rem !important;
    line-height: 1.42 !important;
  }
  .home-quick-access-card--portal .home-quick-link::after {
    width: 1.45rem !important;
    height: 1.45rem !important;
    right: .62rem !important;
    bottom: .62rem !important;
    font-size: .82rem !important;
  }
}


/* v2.45: Bright blue menu across desktop/mobile, remove hero photo note, and improve iPad carousel interaction. */
:root {
  --jmg-menu-bright: #168fd2;
  --jmg-menu-mid: #1d9ddd;
  --jmg-menu-deep: #0b73b7;
}

.nav-shell {
  background: linear-gradient(90deg, var(--jmg-menu-bright) 0%, var(--jmg-menu-mid) 52%, var(--jmg-menu-deep) 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(2, 31, 78, .12) !important;
}

.primary-nav a {
  color: #fff !important;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, .18) !important;
  border-color: var(--jmg-amber, #f3bd30) !important;
}

.nav-warga-link {
  border-color: rgba(255, 255, 255, .55) !important;
  color: #fff !important;
}

.home-hero-photo-note,
.home-hero-photo-caption,
.hero-photo-caption {
  display: none !important;
}

.hero-story-stage {
  touch-action: pan-y pinch-zoom;
  -webkit-user-select: none;
  user-select: none;
  cursor: grab;
}

.hero-story-stage:active {
  cursor: grabbing;
}

@media (max-width: 767px) {
  .nav-shell {
    background: linear-gradient(90deg, #168fd2 0%, #1d9ddd 100%) !important;
  }

  .primary-nav {
    background: linear-gradient(145deg, #168fd2 0%, #0f82c5 58%, #0a6dac 100%) !important;
    border-color: rgba(255,255,255,.22) !important;
  }

  .primary-nav > ul > li > a {
    background: rgba(255, 255, 255, .10) !important;
    border-color: rgba(255, 255, 255, .18) !important;
  }

  .primary-nav > ul > li > a:hover,
  .primary-nav > ul > li > a:focus-visible,
  .primary-nav > ul > li > a[aria-current="page"] {
    background: rgba(255, 255, 255, .18) !important;
    border-color: rgba(243, 189, 48, .86) !important;
  }
}

/* v2.46: Move Gerbang Digital JMG quick-access card icons to top-right. */
.home-quick-access-card--portal .home-quick-link {
  position: relative !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  gap: .38rem !important;
  padding: 1.12rem 3.45rem 1.12rem 1.08rem !important;
}

.home-quick-access-card--portal .home-quick-link img {
  position: absolute !important;
  top: .86rem !important;
  right: .86rem !important;
  grid-column: auto !important;
  grid-row: auto !important;
  width: 2.45rem !important;
  height: 2.45rem !important;
  margin: 0 !important;
  padding: .48rem !important;
  border-radius: .85rem !important;
  background: rgba(21, 146, 210, .11) !important;
  box-shadow: inset 0 0 0 1px rgba(21, 146, 210, .10) !important;
  pointer-events: none !important;
}

.home-quick-access-card--portal .home-quick-link span,
.home-quick-access-card--portal .home-quick-link small {
  grid-column: 1 !important;
  padding-right: 0 !important;
}

.home-quick-access-card--portal .home-quick-link span {
  max-width: calc(100% - 1.35rem) !important;
}

.home-quick-access-card--portal .home-quick-link small {
  max-width: 100% !important;
}

.home-quick-access-card--portal .home-quick-link:hover img,
.home-quick-access-card--portal .home-quick-link:focus-visible img {
  background: rgba(243, 189, 48, .16) !important;
  box-shadow: inset 0 0 0 1px rgba(243, 189, 48, .28) !important;
  transform: translateY(-1px) scale(1.03) !important;
}

@media (max-width: 767px) {
  .home-quick-access-card--portal .home-quick-link {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: .96rem 3.05rem .96rem .92rem !important;
  }

  .home-quick-access-card--portal .home-quick-link img {
    top: .78rem !important;
    right: .78rem !important;
    width: 2.08rem !important;
    height: 2.08rem !important;
    padding: .4rem !important;
  }

  .home-quick-access-card--portal .home-quick-link span {
    max-width: calc(100% - .75rem) !important;
  }
}


/* v2.47: Restore the visual box for the Gerbang Digital JMG section heading. */
.home-quick-access-section .section-head > div,
.quick-access-section .section-head > div,
.digital-gateway-section .section-head > div,
section:has(.quick-access-grid) .section-head > div {
  position: relative;
  overflow: hidden;
  padding: clamp(1.1rem, 2vw, 1.45rem) clamp(1.15rem, 2.35vw, 1.75rem) !important;
  border: 1px solid rgba(23, 120, 186, .16) !important;
  border-radius: 1.15rem !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 193, 7, .14), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(239, 248, 252, .96)) !important;
  box-shadow: 0 14px 34px rgba(13, 77, 120, .09) !important;
}

.home-quick-access-section .section-head > div::after,
.quick-access-section .section-head > div::after,
.digital-gateway-section .section-head > div::after,
section:has(.quick-access-grid) .section-head > div::after {
  content: "";
  position: absolute;
  right: -3.2rem;
  bottom: -3.4rem;
  width: 11rem;
  height: 11rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(23,120,186,.10), transparent 68%);
  pointer-events: none;
}

.home-quick-access-section .section-head .eyebrow,
.quick-access-section .section-head .eyebrow,
.digital-gateway-section .section-head .eyebrow,
section:has(.quick-access-grid) .section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #9c6100 !important;
  background: rgba(255, 209, 138, .22) !important;
  border: 1px solid rgba(255, 193, 7, .24) !important;
  border-radius: 999px !important;
  padding: .25rem .64rem !important;
  font-size: .78rem !important;
  letter-spacing: .1em !important;
}

.home-quick-access-section .section-head h2,
.quick-access-section .section-head h2,
.digital-gateway-section .section-head h2,
section:has(.quick-access-grid) .section-head h2,
.home-quick-access-section .section-head p,
.quick-access-section .section-head p,
.digital-gateway-section .section-head p,
section:has(.quick-access-grid) .section-head p {
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .home-quick-access-section .section-head > div,
  .quick-access-section .section-head > div,
  .digital-gateway-section .section-head > div,
  section:has(.quick-access-grid) .section-head > div {
    padding: 1rem !important;
    border-radius: .95rem !important;
  }

  .home-quick-access-section .section-head .eyebrow,
  .quick-access-section .section-head .eyebrow,
  .digital-gateway-section .section-head .eyebrow,
  section:has(.quick-access-grid) .section-head .eyebrow {
    font-size: .68rem !important;
  }
}


/* v2.48: Remove visual box from Gerbang Digital JMG heading block. */
.home-quick-access-section .section-head > div,
.quick-access-section .section-head > div,
.digital-gateway-section .section-head > div,
section:has(.quick-access-grid) .section-head > div,
.home-quick-access-card .home-quick-access-head {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.home-quick-access-section .section-head > div::after,
.quick-access-section .section-head > div::after,
.digital-gateway-section .section-head > div::after,
section:has(.quick-access-grid) .section-head > div::after,
.home-quick-access-card .home-quick-access-head::after {
  display: none !important;
  content: none !important;
}

.home-quick-access-section .section-head .eyebrow,
.quick-access-section .section-head .eyebrow,
.digital-gateway-section .section-head .eyebrow,
section:has(.quick-access-grid) .section-head .eyebrow,
.home-quick-access-head .eyebrow {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #b66b00 !important;
  box-shadow: none !important;
}

.home-quick-access-section .section-head h2,
.quick-access-section .section-head h2,
.digital-gateway-section .section-head h2,
section:has(.quick-access-grid) .section-head h2,
.home-quick-access-head h2 {
  margin-top: .32rem !important;
}


/* v2.49: Plain transparent background-photo caption positioned directly above Gerbang Digital JMG. */
.hero-photo-caption,
.home-hero-photo-note {
  display: none !important;
}

.quick-access-photo-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .42rem;
  margin: 0 0 .52rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(28, 48, 66, .76);
  font-size: .88rem;
  line-height: 1.35;
}

.quick-access-photo-caption span {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(159, 97, 0, .92);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.quick-access-photo-caption strong {
  display: inline;
  color: rgba(24, 42, 61, .78);
  font-size: .88rem;
  font-weight: 650;
}

@media (max-width: 767px) {
  .quick-access-photo-caption {
    margin-bottom: .46rem;
    gap: .34rem;
    font-size: .78rem;
  }

  .quick-access-photo-caption span {
    font-size: .64rem;
  }

  .quick-access-photo-caption strong {
    font-size: .78rem;
  }
}


/* v2.51: Photo caption above Gerbang Digital JMG as plain white text only. */
.quick-access-photo-caption {
  display: block !important;
  margin: 0 0 .58rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.quick-access-photo-caption span {
  display: none !important;
}

.quick-access-photo-caption strong {
  display: block !important;
  color: #ffffff !important;
  font-size: clamp(.86rem, 1vw, .98rem) !important;
  font-weight: 720 !important;
  line-height: 1.35 !important;
  letter-spacing: .01em !important;
  text-shadow: 0 2px 8px rgba(0, 32, 64, .42) !important;
}


/* v2.52: Smooth caption text transition when hero background changes. */
.quick-access-photo-caption strong {
  transition: opacity .18s ease, transform .18s ease !important;
}

.quick-access-photo-caption strong.is-changing {
  opacity: .45 !important;
  transform: translateY(2px) !important;
}


/* v2.53: Poster Hebahan carousel and homepage poster links. */
.news-poster-section .announcement-poster-carousel {
  display: grid;
  justify-items: center;
  gap: 1rem;
  max-width: 42rem;
  margin-inline: auto;
}

.news-poster-section .announcement-poster-stage {
  width: min(100%, 34rem);
  aspect-ratio: 1 / 1;
  perspective: 1200px;
}

.news-poster-section .announcement-poster-slide {
  background: #ffffff;
  box-shadow: 0 22px 52px rgba(9, 54, 91, .22);
}

.news-poster-section .announcement-poster-slide img {
  object-fit: cover;
}

.news-poster-section .announcement-poster-panel {
  width: min(100%, 34rem);
  padding: 1.05rem 1.12rem;
  border: 1px solid rgba(18, 117, 170, .16);
  border-radius: 1.08rem;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(241,249,253,.98));
  box-shadow: 0 16px 34px rgba(9, 54, 91, .10);
}

.news-poster-section .announcement-poster-panel span {
  display: block;
  margin-bottom: .35rem;
  color: #116a9f;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.news-poster-section .announcement-poster-panel h3 {
  margin: 0 0 .4rem;
  font-size: clamp(1.16rem, 2vw, 1.45rem);
  line-height: 1.22;
}

.news-poster-section .announcement-poster-panel p {
  margin: 0 0 .72rem;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.55;
}

.news-poster-section .announcement-poster-controls,
.hero-story-rail .hero-story-controls {
  flex-wrap: wrap;
  max-width: min(100%, 34rem);
}

.news-poster-section .hero-story-dot,
.hero-story-rail .hero-story-dot {
  width: .72rem;
  height: .72rem;
  min-width: .72rem;
  min-height: .72rem;
}

@media (max-width: 640px) {
  .news-poster-section .announcement-poster-carousel {
    max-width: 100%;
  }

  .news-poster-section .announcement-poster-stage {
    width: min(100%, 21rem);
  }

  .news-poster-section .announcement-poster-panel {
    width: min(100%, 21rem);
    padding: .9rem;
  }

  .news-poster-section .announcement-poster-panel p {
    font-size: .9rem;
  }
}


/* v2.54: Staff Directory placement on homepage and Contact Us page. */
.quick-access-related {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: .72rem;
  margin-top: 1.05rem;
  padding-top: .92rem;
  border-top: 1px solid rgba(17, 106, 159, .14);
}

.quick-access-related > span {
  display: inline-flex;
  align-items: center;
  padding-inline-end: .22rem;
  color: rgba(31, 55, 76, .68);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.quick-access-related a {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 3.15rem;
  padding: .62rem .82rem;
  border: 1px solid rgba(17, 106, 159, .15);
  border-radius: .82rem;
  background: rgba(255,255,255,.78);
  color: var(--brand-deep);
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(9, 54, 91, .07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.quick-access-related a:hover,
.quick-access-related a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(23, 120, 186, .32);
  box-shadow: 0 14px 28px rgba(9, 54, 91, .12);
}

.quick-access-related strong {
  font-size: .94rem;
  line-height: 1.2;
}

.quick-access-related small {
  max-width: 18rem;
  margin-top: .18rem;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.3;
}

.staff-directory-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
  gap: 1.2rem;
  align-items: stretch;
  padding: clamp(1.1rem, 2.4vw, 1.55rem);
  border: 1px solid rgba(23, 120, 186, .16);
  border-radius: 1.18rem;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 193, 7, .13), transparent 30%),
    linear-gradient(135deg, rgba(241, 249, 253, .98), rgba(255,255,255,.98));
  box-shadow: 0 16px 34px rgba(9, 54, 91, .09);
}

.staff-directory-copy h2 {
  margin: .32rem 0 .48rem;
  font-size: clamp(1.34rem, 2.25vw, 1.82rem);
  line-height: 1.16;
}

.staff-directory-copy p {
  margin: 0;
  max-width: 56rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.staff-directory-card {
  position: relative;
  display: grid;
  gap: .34rem;
  align-content: end;
  min-height: 10.2rem;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid rgba(17, 106, 159, .18);
  border-radius: 1rem;
  background: linear-gradient(135deg, #ffffff, rgba(231, 246, 252, .98));
  color: var(--brand-deep);
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(9, 54, 91, .10);
}

.staff-directory-card::after {
  content: "→";
  position: absolute;
  right: 1rem;
  bottom: .9rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}

.staff-directory-card img {
  position: absolute;
  top: .88rem;
  right: .88rem;
  width: 3.15rem;
  height: 3.15rem;
  opacity: .86;
}

.staff-directory-card span {
  padding-right: 2.8rem;
  font-size: 1.12rem;
  font-weight: 850;
  line-height: 1.22;
}

.staff-directory-card small {
  padding-right: 2.8rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.4;
}

.staff-directory-card:hover,
.staff-directory-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(9, 54, 91, .15);
}

@media (max-width: 900px) {
  .staff-directory-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .quick-access-related {
    display: grid;
    grid-template-columns: 1fr;
  }

  .quick-access-related > span {
    padding: 0;
  }

  .quick-access-related a {
    min-height: auto;
  }

  .staff-directory-band {
    padding: 1rem;
    border-radius: 1rem;
  }

  .staff-directory-card {
    min-height: 8.8rem;
  }
}


/* v2.55: Direct homepage poster links, removed News Poster Hebahan section, and refined Staff Directory card. */
.quick-access-related {
  align-items: center !important;
}

.quick-access-related a[href*="/apps/direktori/"] {
  min-width: min(100%, 26rem);
  padding: .78rem .95rem !important;
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(237,249,253,.92)) !important;
  border-color: rgba(17, 106, 159, .2) !important;
}

.quick-access-related a[href*="/apps/direktori/"] strong {
  font-size: 1rem !important;
}

.quick-access-related a[href*="/apps/direktori/"] small {
  max-width: 24rem !important;
  font-size: .82rem !important;
  line-height: 1.35 !important;
}

.staff-directory-band {
  grid-template-columns: minmax(0, 1.18fr) minmax(18rem, 26rem) !important;
  padding: clamp(1.2rem, 2.8vw, 1.85rem) !important;
  border-radius: 1.24rem !important;
  background:
    radial-gradient(circle at 94% 4%, rgba(255, 193, 7, .18), transparent 31%),
    linear-gradient(135deg, rgba(255,255,255,.99), rgba(236,248,253,.99)) !important;
}

.staff-directory-copy h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.08rem) !important;
}

.staff-directory-copy p {
  font-size: clamp(1rem, 1.2vw, 1.08rem) !important;
  line-height: 1.62 !important;
}

.staff-directory-card {
  min-height: 11.4rem !important;
  padding: 1.08rem 1.08rem 1.12rem !important;
  border-color: rgba(17, 106, 159, .22) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 193, 7, .15), transparent 34%),
    linear-gradient(145deg, #ffffff, rgba(229, 246, 252, .98)) !important;
}

.staff-directory-card img {
  top: .95rem !important;
  right: .95rem !important;
  width: 3.55rem !important;
  height: 3.55rem !important;
}

.staff-directory-card span {
  font-size: clamp(1.16rem, 1.5vw, 1.32rem) !important;
  line-height: 1.2 !important;
}

.staff-directory-card small {
  font-size: .94rem !important;
  line-height: 1.42 !important;
}

.staff-directory-card::after {
  width: 2.18rem !important;
  height: 2.18rem !important;
}

@media (max-width: 900px) {
  .staff-directory-band {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .quick-access-related a[href*="/apps/direktori/"] {
    width: 100%;
  }

  .staff-directory-card {
    min-height: 9.6rem !important;
  }
}


/* v2.58: Prevent side/hidden carousel cards from blocking the active poster click. */
.hero-story-rail .hero-story-card {
  pointer-events: none !important;
}

.hero-story-rail .hero-story-card.is-active {
  pointer-events: auto !important;
  cursor: pointer !important;
}

.hero-story-rail .hero-story-card img {
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
}


/* v2.59: Homepage poster dots sit slightly lower and use a more transparent finish. */
.hero-story-controls {
  margin-top: .95rem !important;
}
.hero-story-dot {
  border-color: rgba(255,255,255,.34) !important;
  background: rgba(255,255,255,.20) !important;
  box-shadow: 0 .35rem .9rem rgba(2,31,78,.12) !important;
}
.hero-story-dot:hover,
.hero-story-dot:focus-visible {
  background: rgba(255,255,255,.34) !important;
  border-color: rgba(255,255,255,.56) !important;
}
.hero-story-dot.is-active {
  background: rgba(229,172,62,.78) !important;
  border-color: rgba(255,255,255,.88) !important;
}
@media (max-width: 640px) {
  .hero-story-controls {
    margin-top: .82rem !important;
  }
}


/* v2.60: Homepage poster controls use previous/next arrows with current slide count. */
.hero-story-controls--arrows {
  align-items: center !important;
  justify-content: center !important;
  gap: .82rem !important;
  margin-top: 1rem !important;
}
.hero-story-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(255,255,255,.16);
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 .55rem 1.25rem rgba(2,31,78,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.hero-story-arrow:hover,
.hero-story-arrow:focus-visible {
  background: rgba(255,255,255,.30);
  border-color: rgba(255,255,255,.70);
  transform: translateY(-1px);
  box-shadow: 0 .75rem 1.55rem rgba(2,31,78,.22);
}
.hero-story-counter {
  min-width: 4.8rem;
  padding: .44rem .88rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.30);
  background: rgba(255,255,255,.13);
  color: rgba(255,255,255,.92);
  font-size: .88rem;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  letter-spacing: .03em;
  box-shadow: 0 .4rem 1rem rgba(2,31,78,.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
@media (max-width: 640px) {
  .hero-story-controls--arrows {
    gap: .68rem !important;
    margin-top: .88rem !important;
  }
  .hero-story-arrow {
    width: 2.18rem;
    height: 2.18rem;
    font-size: 1.42rem;
  }
  .hero-story-counter {
    min-width: 4.35rem;
    padding: .4rem .78rem;
    font-size: .82rem;
  }
}


/* v2.62: Poster controller appears on hover with a lighter glass look; geosite caption is softer and not bold. */
.hero-story-rail {
  position: relative;
}

.hero-story-controls--arrows {
  opacity: 0;
  visibility: hidden;
  transform: translateY(.35rem);
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
}

.hero-story-rail:hover .hero-story-controls--arrows,
.hero-story-rail:focus-within .hero-story-controls--arrows {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-story-arrow {
  border-color: rgba(255,255,255,.26) !important;
  background: rgba(255,255,255,.08) !important;
  color: rgba(255,255,255,.92) !important;
  box-shadow: 0 .45rem 1.1rem rgba(2,31,78,.12) !important;
}

.hero-story-arrow:hover,
.hero-story-arrow:focus-visible {
  background: rgba(255,255,255,.22) !important;
  border-color: rgba(255,255,255,.56) !important;
}

.hero-story-counter {
  border-color: rgba(255,255,255,.20) !important;
  background: rgba(255,255,255,.07) !important;
  color: rgba(255,255,255,.84) !important;
  box-shadow: 0 .35rem .95rem rgba(2,31,78,.10) !important;
}

.quick-access-photo-caption strong {
  color: rgba(255,255,255,.72) !important;
  font-weight: 400 !important;
  text-shadow: 0 1px 4px rgba(0,32,64,.22) !important;
}

@media (hover: none), (pointer: coarse) {
  .hero-story-controls--arrows {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
}

@media (max-width: 640px) {
  .hero-story-controls--arrows {
    transform: none;
  }
}


/* v2.64: Interactive contour is now the far-back page background for the homepage, not the hero overlay. */
body.home-index-page {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 10%, rgba(229,172,62,.08), transparent 26rem),
    radial-gradient(circle at 88% 22%, rgba(23,120,186,.08), transparent 30rem),
    linear-gradient(180deg, #fbfdfc 0%, #f4f8f6 46%, #ffffff 100%) !important;
}

body.home-index-page > .page-contour-canvas {
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none !important;
  opacity: .38;
  mix-blend-mode: multiply;
  filter: blur(.06px);
}

body.home-index-page > .skip-link,
body.home-index-page > .topbar,
body.home-index-page > .site-header,
body.home-index-page > .nav-shell,
body.home-index-page > main,
body.home-index-page > footer {
  position: relative;
  z-index: 1;
}

body.home-index-page > main {
  background: transparent;
}

body.home-index-page .hero-immersive .container,
body.home-index-page .hero-immersive .home-hero-grid,
body.home-index-page .hero-immersive .hero-story-rail {
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  body.home-index-page > .page-contour-canvas {
    opacity: .28;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home-index-page > .page-contour-canvas {
    opacity: .22;
  }
}


/* v2.65: Terrain/sandbox contour is now placed inside the About JMG hero only. */
.about-hero {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  background:
    radial-gradient(circle at 78% 18%, rgba(229,172,62,.22), transparent 22rem),
    radial-gradient(circle at 24% 78%, rgba(148,201,61,.18), transparent 26rem),
    linear-gradient(135deg, #0d4d78 0%, #1778ba 52%, #0d6a76 100%) !important;
}

.about-hero::before {
  opacity: .08 !important;
  z-index: 0 !important;
}

.about-terrain-contour-canvas {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  opacity: .86 !important;
  mix-blend-mode: screen;
  filter: saturate(1.08);
}

.about-hero > .container {
  position: relative !important;
  z-index: 2 !important;
}

@media (max-width: 767px) {
  .about-terrain-contour-canvas {
    opacity: .68 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-terrain-contour-canvas {
    opacity: .48 !important;
  }
}

/* v2.66: About hero uses coloured topographic contour-map surface, similar to an AR sandbox. */
body.home-index-page > .page-contour-canvas {
  display: none !important;
}

.about-hero {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  background:
    linear-gradient(135deg, #0b3a5c 0%, #116b93 52%, #0d6966 100%) !important;
}

.about-hero::before {
  opacity: 0 !important;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2,31,78,.78) 0%, rgba(2,31,78,.46) 42%, rgba(2,31,78,.24) 100%),
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.13), transparent 22rem),
    radial-gradient(circle at 86% 72%, rgba(0,38,68,.22), transparent 26rem);
}

.about-terrain-contour-canvas {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  opacity: .82 !important;
  mix-blend-mode: normal !important;
  filter: saturate(1.05) contrast(1.02) !important;
}

.about-hero > .container {
  position: relative !important;
  z-index: 2 !important;
}

@media (max-width: 767px) {
  .about-terrain-contour-canvas {
    opacity: .70 !important;
  }

  .about-hero::after {
    background:
      linear-gradient(90deg, rgba(2,31,78,.82) 0%, rgba(2,31,78,.58) 100%),
      radial-gradient(circle at 18% 18%, rgba(255,255,255,.10), transparent 18rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-terrain-contour-canvas {
    opacity: .58 !important;
  }
}


/* v2.69: Opt-in MyGEMS Web AppViewer map as homepage hero background. */
.hero-location-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity .55s ease;
}

.hero-location-map[hidden] {
  display: none !important;
}

.hero-immersive.has-location-map .hero-location-map {
  opacity: 1;
}

.hero-immersive.has-location-map::before {
  opacity: .34;
}

.hero-immersive.has-location-map::after {
  opacity: .14;
}

.hero-location-map__frame {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  border: 0;
  opacity: .72;
  filter: saturate(1.16) contrast(1.04) brightness(.88);
  transform: scale(1.025);
  transform-origin: center;
}

.hero-location-map__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(229,172,62,.16), transparent 28rem),
    linear-gradient(105deg, rgba(2,31,78,.88) 0%, rgba(4,76,103,.68) 45%, rgba(0,111,99,.48) 100%);
}

.hero-location-actions {
  align-items: center;
}

.hero-location-button {
  box-shadow: 0 1rem 2rem rgba(0,0,0,.16);
}

.hero-location-button.is-loading {
  opacity: .82;
  cursor: wait;
}

.hero-location-link {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-location-status {
  max-width: 34rem;
  margin: .78rem 0 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(.82rem, 1vw, .94rem);
  line-height: 1.45;
  text-shadow: 0 1px 5px rgba(0, 24, 48, .35);
}

.hero-location-status.is-success {
  color: rgba(209, 255, 219, .92);
}

.hero-location-status.is-error {
  color: rgba(255, 231, 198, .94);
}

@media (max-width: 767px) {
  .hero-location-status {
    max-width: 100%;
    margin-top: .58rem;
    font-size: .76rem;
  }

  .hero-location-actions {
    gap: .56rem !important;
  }

  .hero-location-actions .button {
    flex: 1 1 12rem;
  }
}


/* v2.70: Shift the MyGEMS location marker away from the poster and soften the geology result line. */
.hero-location-map__pin {
  position: absolute;
  left: 34%;
  top: 51%;
  z-index: 3;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  border: 3px solid rgba(255,255,255,.95);
  background: #38d9ff;
  box-shadow:
    0 0 0 .45rem rgba(56,217,255,.20),
    0 .55rem 1.35rem rgba(0,32,64,.32);
  opacity: 0;
  transform: translate(-50%, -50%) scale(.92);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}

.hero-location-map__pin::after {
  content: '';
  position: absolute;
  inset: -.75rem;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.45);
  animation: heroLocationPulse 1.8s ease-out infinite;
}

.hero-immersive.has-location-map .hero-location-map__pin {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

@keyframes heroLocationPulse {
  0% { transform: scale(.55); opacity: .78; }
  100% { transform: scale(1.65); opacity: 0; }
}

.hero-location-status.is-success {
  color: rgba(221, 255, 226, .94) !important;
  font-weight: 520;
}

@media (min-width: 768px) {
  .hero-location-map__frame {
    inset: -5% -12% -5% -2% !important;
    width: 114% !important;
    height: 110% !important;
    transform: translateX(-7%) scale(1.04) !important;
  }
}

@media (max-width: 767px) {
  .hero-location-map__pin {
    left: 50%;
    top: 52%;
    width: .9rem;
    height: .9rem;
  }
}

/* v2.71: Softer location guidance, friendlier result text and refined MyGEMS map offset. */
.hero-location-status {
  max-width: 31.5rem !important;
  margin-top: .56rem !important;
  color: rgba(255,255,255,.72) !important;
  font-size: clamp(.72rem, .86vw, .84rem) !important;
  line-height: 1.42 !important;
  letter-spacing: .005em !important;
  text-shadow: 0 1px 4px rgba(0,24,48,.28) !important;
}

.hero-location-status.is-success {
  color: rgba(223,255,230,.90) !important;
  font-weight: 450 !important;
}

.hero-location-status.is-error {
  color: rgba(255,232,202,.90) !important;
  font-weight: 450 !important;
}

@media (min-width: 768px) {
  .hero-location-map__frame {
    inset: -5% -12% -5% -2% !important;
    width: 114% !important;
    height: 110% !important;
    transform: translateX(-14%) scale(1.04) !important;
  }

  .hero-location-map__pin {
    left: 39% !important;
    top: 56% !important;
  }
}

@media (max-width: 767px) {
  .hero-location-status {
    max-width: 100% !important;
    margin-top: .5rem !important;
    font-size: .72rem !important;
  }
}

/* v2.70: Smoother About JMG hero topographic map surface. */
.about-terrain-contour-canvas {
  opacity: .88 !important;
  filter: saturate(1.12) contrast(1.04) blur(.18px) !important;
  transform: scale(1.012);
  transform-origin: center;
}

.about-hero::after {
  background:
    linear-gradient(90deg, rgba(2,31,78,.74) 0%, rgba(2,31,78,.43) 42%, rgba(2,31,78,.22) 100%),
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.14), transparent 24rem),
    radial-gradient(circle at 86% 72%, rgba(0,38,68,.20), transparent 28rem) !important;
}

@media (max-width: 767px) {
  .about-terrain-contour-canvas {
    opacity: .74 !important;
    filter: saturate(1.08) contrast(1.02) blur(.12px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-terrain-contour-canvas {
    opacity: .62 !important;
    filter: saturate(1.04) contrast(1.01) !important;
  }
}


/* v2.73: Force Bidang Perkhidmatan hero to use the exact same topographic contour treatment as Mengenai JMG. */
.expertise-landing .page-hero.about-hero,
.expertise-landing .page-hero.about-hero.about-hero--standard,
.service-hub-page .page-hero.about-hero {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  background: linear-gradient(135deg, #0b3a5c 0%, #116b93 52%, #0d6966 100%) !important;
  color: #fff !important;
}

.expertise-landing .page-hero.about-hero::before,
.expertise-landing .page-hero.about-hero.about-hero--standard::before,
.service-hub-page .page-hero.about-hero::before {
  opacity: 0 !important;
}

.expertise-landing .page-hero.about-hero::after,
.expertise-landing .page-hero.about-hero.about-hero--standard::after,
.service-hub-page .page-hero.about-hero::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background:
    linear-gradient(90deg, rgba(2,31,78,.74) 0%, rgba(2,31,78,.43) 42%, rgba(2,31,78,.22) 100%),
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.14), transparent 24rem),
    radial-gradient(circle at 86% 72%, rgba(0,38,68,.20), transparent 28rem) !important;
}

.expertise-landing .page-hero.about-hero .about-terrain-contour-canvas,
.expertise-landing .page-hero.about-hero.about-hero--standard .about-terrain-contour-canvas,
.service-hub-page .page-hero.about-hero .about-terrain-contour-canvas {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  opacity: .88 !important;
  mix-blend-mode: normal !important;
  filter: saturate(1.12) contrast(1.04) blur(.18px) !important;
  transform: scale(1.012) !important;
  transform-origin: center !important;
}

.expertise-landing .page-hero.about-hero > .container,
.expertise-landing .page-hero.about-hero.about-hero--standard > .container,
.service-hub-page .page-hero.about-hero > .container {
  position: relative !important;
  z-index: 2 !important;
}

@media (max-width: 767px) {
  .expertise-landing .page-hero.about-hero .about-terrain-contour-canvas,
  .expertise-landing .page-hero.about-hero.about-hero--standard .about-terrain-contour-canvas,
  .service-hub-page .page-hero.about-hero .about-terrain-contour-canvas {
    opacity: .74 !important;
    filter: saturate(1.08) contrast(1.02) blur(.12px) !important;
  }
}


/* v2.74: Same topographic contour pattern with distinct styling for Expertise and Online Services headers. */
.expertise-contour-hero,
.service-digital-contour-hero {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  color: #fff !important;
}

.expertise-contour-hero {
  background:
    linear-gradient(135deg, #17391f 0%, #0f5f62 42%, #7b4f24 100%) !important;
}

.service-digital-contour-hero {
  background:
    linear-gradient(135deg, #062b58 0%, #075b7e 48%, #0a716a 100%) !important;
}

.expertise-contour-hero::before,
.service-digital-contour-hero::before {
  opacity: 0 !important;
}

.expertise-contour-hero::after,
.service-digital-contour-hero::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.expertise-contour-hero::after {
  background:
    linear-gradient(108deg, rgba(7,30,30,.82) 0%, rgba(7,42,42,.55) 38%, rgba(25,55,38,.28) 60%, rgba(91,55,24,.38) 100%),
    radial-gradient(circle at 78% 22%, rgba(255,213,113,.22), transparent 22rem),
    radial-gradient(circle at 18% 78%, rgba(52,197,159,.18), transparent 26rem),
    repeating-linear-gradient(115deg, rgba(255,255,255,.055) 0 1px, transparent 1px 92px) !important;
}

.service-digital-contour-hero::after {
  background:
    linear-gradient(100deg, rgba(2,24,68,.84) 0%, rgba(2,36,78,.58) 44%, rgba(5,80,93,.30) 100%),
    radial-gradient(circle at 78% 22%, rgba(88,214,255,.18), transparent 23rem),
    radial-gradient(circle at 20% 76%, rgba(93,255,198,.13), transparent 26rem),
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 82px) !important;
}

.expertise-contour-canvas,
.service-digital-contour-canvas {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  transform: scale(1.014) !important;
  transform-origin: center !important;
}

.expertise-contour-canvas {
  opacity: .88 !important;
  mix-blend-mode: soft-light !important;
  filter: saturate(1.08) contrast(1.05) blur(.14px) !important;
}

.service-digital-contour-canvas {
  opacity: .82 !important;
  mix-blend-mode: screen !important;
  filter: saturate(1.15) contrast(1.04) blur(.12px) !important;
}

.expertise-contour-hero > .container,
.service-digital-contour-hero > .container {
  position: relative !important;
  z-index: 2 !important;
}

.expertise-contour-hero .button.outline,
.service-digital-contour-hero .button.outline {
  border-color: rgba(255,255,255,.52) !important;
  background: rgba(255,255,255,.07) !important;
}

@media (max-width: 767px) {
  .expertise-contour-canvas,
  .service-digital-contour-canvas {
    opacity: .70 !important;
    transform: scale(1.02) !important;
  }

  .expertise-contour-hero::after {
    background:
      linear-gradient(100deg, rgba(7,30,30,.88) 0%, rgba(7,42,42,.68) 58%, rgba(91,55,24,.42) 100%),
      radial-gradient(circle at 76% 24%, rgba(255,213,113,.16), transparent 17rem) !important;
  }

  .service-digital-contour-hero::after {
    background:
      linear-gradient(100deg, rgba(2,24,68,.88) 0%, rgba(2,36,78,.70) 58%, rgba(5,80,93,.42) 100%),
      radial-gradient(circle at 78% 24%, rgba(88,214,255,.14), transparent 17rem) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .expertise-contour-canvas,
  .service-digital-contour-canvas {
    opacity: .62 !important;
    filter: saturate(1.04) contrast(1.01) !important;
  }
}


/* v2.73: Corporate profile card icon refinement for About JMG page. */
.about-page .about-lead,
.about-page .about-source-panel {
  position: relative;
  overflow: hidden;
}

.about-page .about-lead > .about-main-icon,
.about-page .about-source-panel > .about-main-icon {
  display: none !important;
}

.about-page .vision-mission-card {
  display: grid !important;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr) !important;
  gap: 1rem !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.about-page .vision-block,
.about-page .mission-block {
  min-height: 15rem;
  border: 1px solid rgba(13, 77, 120, .12);
  border-radius: 1.2rem;
  box-shadow: 0 1.05rem 2.4rem rgba(6, 31, 53, .10);
}

.about-page .vision-block {
  background:
    linear-gradient(135deg, rgba(6, 56, 88, .98) 0%, rgba(12, 98, 130, .96) 54%, rgba(17, 119, 103, .95) 100%) !important;
}

.about-page .mission-block {
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255,255,255,.98) 0%, rgba(238,250,247,.96) 54%, rgba(227,243,255,.98) 100%) !important;
}

.about-page .vision-block::after,
.about-page .mission-block::after {
  display: none !important;
}

.about-page .vision-block .business-section-icon,
.about-page .mission-block .business-section-icon {
  position: absolute;
  right: -1.15rem;
  bottom: -1.25rem;
  width: clamp(8.8rem, 15vw, 12.5rem);
  height: clamp(8.8rem, 15vw, 12.5rem);
  margin: 0;
  opacity: .115;
  filter: none;
  transform: rotate(-8deg);
  pointer-events: none;
  z-index: 0;
}

.about-page .vision-block > :not(.business-section-icon),
.about-page .mission-block > :not(.business-section-icon) {
  position: relative;
  z-index: 1;
}

.about-page .mission-block .eyebrow {
  color: var(--brand-deep);
}

.about-page .number-card {
  padding: 1.05rem 3.35rem 1.05rem 1.05rem;
}

.about-page .number-card > .business-mini-icon {
  position: absolute;
  top: .72rem;
  right: .72rem;
  width: 2.35rem;
  height: 2.35rem;
  margin: 0;
  opacity: .58;
  filter: drop-shadow(0 .55rem 1rem rgba(13,77,120,.10));
  z-index: 1;
}

.about-page .number-card > span,
.about-page .number-card > h3,
.about-page .number-card > p {
  position: relative;
  z-index: 2;
}

.about-page .quality-card,
.about-page .shared-values-detail-card {
  position: relative;
  overflow: hidden;
  padding-top: 1.25rem;
  padding-right: 4.4rem;
}

.about-page .quality-card > .business-section-icon,
.about-page .shared-values-detail-card > .business-section-icon {
  position: absolute;
  top: .95rem;
  right: .95rem;
  width: 3.05rem;
  height: 3.05rem;
  margin: 0;
  opacity: .66;
  filter: drop-shadow(0 .6rem 1.05rem rgba(13,77,120,.10));
  z-index: 1;
}

.about-page .quality-card > :not(.business-section-icon),
.about-page .shared-values-detail-card > :not(.business-section-icon) {
  position: relative;
  z-index: 2;
}

@media (max-width: 62rem) {
  .about-page .vision-mission-card {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 42rem) {
  .about-page .vision-block,
  .about-page .mission-block {
    min-height: 12.5rem;
  }

  .about-page .number-card {
    padding-right: 3.1rem;
  }

  .about-page .quality-card,
  .about-page .shared-values-detail-card {
    padding-right: 3.55rem;
  }

  .about-page .quality-card > .business-section-icon,
  .about-page .shared-values-detail-card > .business-section-icon {
    width: 2.45rem;
    height: 2.45rem;
  }
}


/* v2.75: Standardise selected inner-page heroes to match Mengenai JMG topographic header. */
.page-hero.about-hero {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  color: #fff !important;
  background: linear-gradient(135deg, #0b3a5c 0%, #116b93 52%, #0d6966 100%) !important;
}

.page-hero.about-hero::before {
  opacity: 0 !important;
  z-index: 0 !important;
}

.page-hero.about-hero::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background:
    linear-gradient(90deg, rgba(2,31,78,.74) 0%, rgba(2,31,78,.43) 42%, rgba(2,31,78,.22) 100%),
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.14), transparent 24rem),
    radial-gradient(circle at 86% 72%, rgba(0,38,68,.20), transparent 28rem) !important;
}

.page-hero.about-hero > .about-terrain-contour-canvas {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  opacity: .88 !important;
  mix-blend-mode: normal !important;
  filter: saturate(1.12) contrast(1.04) blur(.18px) !important;
  transform: scale(1.012) !important;
  transform-origin: center !important;
}

.page-hero.about-hero > .container {
  position: relative !important;
  z-index: 2 !important;
}

.page-hero.about-hero .button.outline {
  border-color: rgba(255,255,255,.52) !important;
  background: rgba(255,255,255,.07) !important;
}

@media (max-width: 767px) {
  .page-hero.about-hero > .about-terrain-contour-canvas {
    opacity: .74 !important;
    filter: saturate(1.08) contrast(1.02) blur(.12px) !important;
  }

  .page-hero.about-hero::after {
    background:
      linear-gradient(90deg, rgba(2,31,78,.82) 0%, rgba(2,31,78,.58) 100%),
      radial-gradient(circle at 18% 18%, rgba(255,255,255,.10), transparent 18rem) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero.about-hero > .about-terrain-contour-canvas {
    opacity: .62 !important;
    filter: saturate(1.04) contrast(1.01) !important;
  }
}


/* v2.73: Senior management page aligned with JMG staff directory photos and leadership cards. */
.leadership-photo-feature .leader-card,
.secondary-leaders .leader-card {
  align-items: stretch;
}

.leader-photo-frame {
  width: clamp(5.1rem, 9vw, 7.2rem);
  min-height: clamp(6.4rem, 11vw, 8.8rem);
  align-self: stretch;
  display: block;
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(23,120,186,.16), rgba(148,201,61,.16));
  border: 1px solid rgba(23,120,186,.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}

.leader-card-main .leader-photo-frame {
  width: clamp(7rem, 12vw, 10rem);
  min-height: clamp(9rem, 15vw, 12.5rem);
}

.leader-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.leader-photo-placeholder {
  display: grid;
  place-items: center;
  color: rgba(7,63,52,.42);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 950;
  letter-spacing: .08em;
  background:
    radial-gradient(circle at 70% 22%, rgba(148,201,61,.24), transparent 34%),
    linear-gradient(135deg, #f6fbf8, #e6f1f2);
}

.leader-photo-placeholder span {
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 1.2rem;
  border: 1px dashed rgba(7,63,52,.26);
}

.leader-contact {
  color: rgba(76,88,104,.88);
  font-size: .86rem;
  line-height: 1.45;
}

.leadership-summary {
  position: relative;
  overflow: hidden;
  padding-right: clamp(1.2rem, 10vw, 8.6rem);
}

.leadership-summary .leadership-summary-icon,
.leadership-summary .business-section-icon {
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: clamp(4.8rem, 8vw, 6.7rem);
  height: clamp(4.8rem, 8vw, 6.7rem);
  opacity: .16;
  pointer-events: none;
  margin: 0;
}

.leadership-vacancy-card {
  background: linear-gradient(135deg, #fff, #f7fbf1);
}

@media (max-width: 42rem) {
  .leader-card {
    grid-template-columns: 5.1rem minmax(0,1fr) !important;
  }

  .leader-card-main {
    grid-template-columns: 6.2rem minmax(0,1fr) !important;
  }

  .leader-photo-frame,
  .leader-card-main .leader-photo-frame {
    width: 100%;
    min-height: 6.7rem;
    border-radius: .9rem;
  }

  .leadership-summary {
    padding-right: 1.1rem;
  }

  .leadership-summary .leadership-summary-icon,
  .leadership-summary .business-section-icon {
    width: 4.4rem;
    height: 4.4rem;
    opacity: .12;
  }
}


/* v2.76: Force Online Services, News and Publications heroes to use the same header treatment as Mengenai JMG. */
.service-hub-page > .page-hero.about-hero,
.news-hub-page > .page-hero.about-hero,
.publication-hub-page > .page-hero.about-hero {
  padding: 2.8rem 0 !important;
  background: linear-gradient(135deg, #0b3a5c 0%, #116b93 52%, #0d6966 100%) !important;
}

.service-hub-page > .page-hero.about-hero > .container,
.news-hub-page > .page-hero.about-hero > .container,
.publication-hub-page > .page-hero.about-hero > .container {
  display: block !important;
  max-width: var(--content) !important;
  width: min(calc(100% - 2rem), var(--content)) !important;
  margin-inline: auto !important;
}

.service-hub-page > .page-hero.about-hero h1,
.news-hub-page > .page-hero.about-hero h1,
.publication-hub-page > .page-hero.about-hero h1 {
  margin: 0 !important;
  font-size: clamp(2rem, 4vw, 3.2rem) !important;
  line-height: 1.08 !important;
  max-width: 100% !important;
  text-wrap: balance !important;
}

.service-hub-page > .page-hero.about-hero p,
.news-hub-page > .page-hero.about-hero p,
.publication-hub-page > .page-hero.about-hero p {
  max-width: 58rem !important;
  color: #e5f2ed !important;
  font-weight: 400 !important;
  line-height: 1.62 !important;
}

.service-hub-page > .page-hero.about-hero .page-actions,
.news-hub-page > .page-hero.about-hero .page-actions,
.publication-hub-page > .page-hero.about-hero .page-actions {
  margin-top: 1.2rem !important;
}

.service-hub-page > .page-hero.about-hero .about-terrain-contour-canvas,
.news-hub-page > .page-hero.about-hero .about-terrain-contour-canvas,
.publication-hub-page > .page-hero.about-hero .about-terrain-contour-canvas {
  opacity: .88 !important;
}

/* v2.77: Refine senior management photo frames so faces do not look cramped. */
.leadership-photo-feature .leader-card,
.secondary-leaders .leader-card {
  grid-template-columns: auto minmax(0, 1fr) !important;
  gap: clamp(1rem, 2vw, 1.35rem) !important;
}

.leader-photo-frame {
  width: clamp(6.4rem, 11vw, 9.4rem) !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 5 !important;
  align-self: center !important;
  border-radius: 1.15rem !important;
}

.leader-card-main .leader-photo-frame {
  width: clamp(8.4rem, 15vw, 12.2rem) !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 5 !important;
}

.leader-photo {
  object-fit: cover !important;
  object-position: center 18% !important;
  transform: scale(1.01);
}

.leader-card-main .leader-photo {
  object-position: center 16% !important;
}

@media (min-width: 72rem) {
  .secondary-leaders .leader-card {
    grid-template-columns: clamp(7.4rem, 10vw, 9.4rem) minmax(0, 1fr) !important;
  }

  .leadership-photo-feature .leader-card-main {
    grid-template-columns: clamp(9rem, 14vw, 12.2rem) minmax(0, 1fr) !important;
  }
}

@media (max-width: 42rem) {
  .leader-card,
  .leader-card-main {
    grid-template-columns: 6.4rem minmax(0,1fr) !important;
  }

  .leader-photo-frame,
  .leader-card-main .leader-photo-frame {
    width: 6.4rem !important;
    aspect-ratio: 4 / 5 !important;
    min-height: 0 !important;
    border-radius: .95rem !important;
  }

  .leader-photo {
    object-position: center 17% !important;
  }
}


/* v2.78: Senior management organisation summary uses a top-management chart and removes card numbering. */
.leader-index {
  display: none !important;
}

.leader-card-main {
  align-items: flex-start !important;
}

.leader-card-main .leader-photo-frame {
  align-self: start !important;
  margin-top: .25rem !important;
}

.leader-card-main .leader-photo {
  object-position: center 8% !important;
}

.org-chart-top {
  position: relative;
  display: grid;
  gap: 1.45rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(23,120,186,.16);
  border-radius: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(244,249,251,.96)),
    radial-gradient(circle at 50% 0%, rgba(23,120,186,.10), transparent 26rem);
  box-shadow: 0 1.2rem 2.8rem rgba(7, 63, 52, .08);
  overflow: hidden;
}

.org-chart-top::before {
  content: "";
  position: absolute;
  left: 50%;
  top: clamp(5.8rem, 9vw, 7.15rem);
  width: 1px;
  height: clamp(1.1rem, 3vw, 1.7rem);
  background: rgba(23,120,186,.42);
  transform: translateX(-50%);
}

.org-chart-top::after {
  content: "";
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: clamp(7.3rem, 12vw, 8.85rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(23,120,186,.40) 10%, rgba(23,120,186,.40) 90%, transparent);
}

.org-node {
  position: relative;
  z-index: 1;
  min-height: 6.2rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(23,120,186,.14);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 .7rem 1.5rem rgba(0, 39, 73, .06);
  overflow: hidden;
}

.org-node::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: .34rem;
  background: var(--brand);
}

.org-node::after {
  content: "";
  position: absolute;
  right: -.8rem;
  bottom: -.9rem;
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 999px;
  background: rgba(23,120,186,.08);
}

.org-node-primary {
  width: min(24rem, 100%);
  justify-self: center;
  text-align: center;
  background: linear-gradient(135deg, #fff, #eef8fb);
}

.org-node-primary::before { background: var(--brand); }
.org-node-ops::before { background: #2f6ca3; }
.org-node-cem::before { background: #a9433f; }
.org-node-technical::before { background: var(--accent); }
.org-node-research::before { background: var(--green); }

.org-chart-branches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .95rem;
}

.org-chart-branches .org-node::before {
  z-index: 1;
}

.org-chart-branches .org-node {
  padding-top: 1.05rem;
}

.org-chart-branches .org-node .org-node-title::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1.45rem;
  width: 1px;
  height: 1.45rem;
  background: rgba(23,120,186,.38);
  transform: translateX(-50%);
}

.org-node-title {
  position: relative;
  display: block;
  margin-bottom: .45rem;
  color: var(--accent-deep);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1.25;
}

.org-node strong {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--ink);
  font-size: clamp(.98rem, 1.4vw, 1.16rem);
  line-height: 1.2;
}

.org-node small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: .45rem;
  color: rgba(76,88,104,.92);
  font-weight: 750;
  line-height: 1.35;
}

.org-node-vacant {
  background: linear-gradient(135deg, #fff, #f7fbf1);
}

@media (max-width: 72rem) {
  .org-chart-top::after,
  .org-chart-top::before,
  .org-chart-branches .org-node .org-node-title::before {
    display: none;
  }

  .org-chart-branches {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 42rem) {
  .leader-card-main .leader-photo-frame {
    margin-top: 0 !important;
  }

  .org-chart-branches {
    grid-template-columns: 1fr;
  }

  .org-node,
  .org-node-primary {
    text-align: left;
  }
}


/* v2.81: CDO profile uses the official photo and removes the summary side card. */
.cdo-profile-shell--photo {
  display: block !important;
}

.cdo-official-profile--with-photo {
  display: grid !important;
  grid-template-columns: minmax(9.8rem, 13rem) minmax(0, 1fr) !important;
  align-items: center !important;
  gap: clamp(1.25rem, 3vw, 2.1rem) !important;
  min-height: 18rem !important;
  padding: clamp(1.45rem, 3vw, 2.25rem) !important;
}

.cdo-profile-photo-frame {
  width: min(13rem, 28vw);
  aspect-ratio: 4 / 5;
  margin: 0;
  border-radius: 1.05rem;
  overflow: hidden;
  border: 1px solid rgba(198, 216, 229, .92);
  background: linear-gradient(135deg, rgba(240,248,255,.92), rgba(228,245,251,.86));
  box-shadow: 0 1.1rem 2.2rem rgba(15, 42, 64, .13);
}

.cdo-profile-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.cdo-profile-copy {
  min-width: 0;
}

.cdo-profile-copy h2 {
  margin-top: .45rem;
}

.cdo-modal .cdo-profile-shell--photo {
  grid-template-columns: 1fr !important;
}

.cdo-modal .cdo-official-profile--with-photo {
  min-height: 15.5rem !important;
}

@media (max-width: 640px) {
  .cdo-official-profile--with-photo {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
  }

  .cdo-profile-photo-frame {
    width: min(11.5rem, 58vw);
  }
}

/* v2.81: Bidang Kepakaran landing uses smaller refined Flaticon-style field icons. */
.expertise-landing .expertise-gradient-card .jmg-gradient-card__graphic[src*="/expertise-modern/"] {
  display: block !important;
  right: 1.05rem !important;
  bottom: .95rem !important;
  width: min(9.25rem, 30%) !important;
  height: auto !important;
  max-width: none !important;
  margin: 0 !important;
  opacity: .24 !important;
  pointer-events: none;
  z-index: 0;
  transform: rotate(0deg) !important;
  filter: saturate(1.08) drop-shadow(0 .85rem 1.1rem rgba(15,42,64,.12)) !important;
  transition: transform .28s ease, opacity .28s ease;
}

.expertise-landing .expertise-gradient-card:hover .jmg-gradient-card__graphic[src*="/expertise-modern/"],
.expertise-landing .expertise-gradient-card:focus-within .jmg-gradient-card__graphic[src*="/expertise-modern/"] {
  transform: scale(1.04) translateY(-.15rem) !important;
  opacity: .34 !important;
}

.expertise-landing .expertise-gradient-card .jmg-gradient-card__content {
  max-width: 82% !important;
}

@media (max-width: 42rem) {
  .expertise-landing .expertise-gradient-card .jmg-gradient-card__graphic[src*="/expertise-modern/"] {
    right: .7rem !important;
    bottom: .7rem !important;
    width: 6.7rem !important;
    opacity: .16 !important;
  }

  .expertise-landing .expertise-gradient-card .jmg-gradient-card__content {
    max-width: 100% !important;
    padding-right: 3.2rem !important;
  }
}


/* v2.79: Header menu hover uses a clear button state, not font-colour change only; remove expertise landing card pills. */
.nav-shell .primary-nav > ul > li > a {
  position: relative !important;
  overflow: hidden !important;
  border-radius: .08rem !important;
  color: #fff !important;
  transition: background-color .22s ease, box-shadow .22s ease, transform .22s ease, border-color .22s ease !important;
}

.nav-shell .primary-nav > ul > li > a::before {
  content: "";
  position: absolute;
  inset: .52rem .38rem;
  border-radius: .55rem;
  background: rgba(255,255,255,.16);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 .55rem 1.2rem rgba(2,31,78,.14);
  opacity: 0;
  transform: scale(.96);
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
  z-index: 0;
}

.nav-shell .primary-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: .72rem;
  right: .72rem;
  bottom: .36rem;
  height: .18rem;
  border-radius: 99rem;
  background: var(--jmg-amber, #f3bd30);
  opacity: 0;
  transform: scaleX(.35);
  transform-origin: center;
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
  z-index: 0;
}

.nav-shell .primary-nav > ul > li > a:hover,
.nav-shell .primary-nav > ul > li > a:focus-visible,
.nav-shell .primary-nav > ul > li > a[aria-current="page"] {
  color: #fff !important;
  background: rgba(255,255,255,.10) !important;
  border-color: transparent !important;
  transform: translateY(-1px);
}

.nav-shell .primary-nav > ul > li > a:hover::before,
.nav-shell .primary-nav > ul > li > a:focus-visible::before,
.nav-shell .primary-nav > ul > li > a[aria-current="page"]::before,
.nav-shell .primary-nav > ul > li > a:hover::after,
.nav-shell .primary-nav > ul > li > a:focus-visible::after,
.nav-shell .primary-nav > ul > li > a[aria-current="page"]::after {
  opacity: 1;
  transform: scale(1);
}

.nav-shell .primary-nav > ul > li > a > * {
  position: relative;
  z-index: 1;
}

.nav-shell .primary-nav > ul > li > a:not(:has(*)) {
  z-index: 1;
}

.primary-nav .nav-submenu a:hover,
.primary-nav .nav-submenu a:focus-visible {
  color: var(--jmg-navy, #021f4e) !important;
  background: linear-gradient(90deg, rgba(243,189,48,.20), rgba(255,255,255,.96)) !important;
  box-shadow: inset .25rem 0 0 var(--jmg-amber, #f3bd30) !important;
}

.expertise-landing .jmg-gradient-card__badge {
  display: none !important;
}

.expertise-landing .jmg-gradient-card__content h3 {
  margin-top: 0 !important;
}

@media (max-width: 767px) {
  .nav-shell .primary-nav > ul > li > a {
    border-radius: .75rem !important;
    margin: .18rem .34rem !important;
  }

  .nav-shell .primary-nav > ul > li > a::before {
    inset: .22rem .16rem;
    border-radius: .65rem;
  }

  .nav-shell .primary-nav > ul > li > a::after {
    left: .82rem;
    right: auto;
    width: 2.25rem;
    bottom: .38rem;
  }
}

/* v2.80: Restore original primary-navigation hover; apply refined hover only to hero action buttons. */
.nav-shell .primary-nav > ul > li > a {
  position: relative !important;
  overflow: visible !important;
  border-radius: 0 !important;
  color: #fff !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease !important;
}

.nav-shell .primary-nav > ul > li > a::before,
.nav-shell .primary-nav > ul > li > a::after {
  display: none !important;
  content: none !important;
}

.nav-shell .primary-nav > ul > li > a:hover,
.nav-shell .primary-nav > ul > li > a:focus-visible,
.nav-shell .primary-nav > ul > li > a[aria-current="page"] {
  color: #fff !important;
  background: rgba(255,255,255,.11) !important;
  border-color: var(--accent) !important;
  box-shadow: none !important;
  transform: none !important;
}

.primary-nav .nav-submenu a:hover,
.primary-nav .nav-submenu a:focus-visible {
  color: var(--brand-deep, #062c3b) !important;
  background: rgba(243,189,48,.14) !important;
  box-shadow: inset .18rem 0 0 var(--accent, #f3bd30) !important;
}

.page-hero.about-hero .page-actions .button,
.page-hero.about-hero .about-actions .button,
.expertise-detail-page .page-hero.about-hero .page-actions .button,
.expertise-landing .page-hero.about-hero .page-actions .button {
  position: relative !important;
  overflow: hidden !important;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease !important;
}

.page-hero.about-hero .page-actions .button:hover,
.page-hero.about-hero .page-actions .button:focus-visible,
.page-hero.about-hero .about-actions .button:hover,
.page-hero.about-hero .about-actions .button:focus-visible,
.expertise-detail-page .page-hero.about-hero .page-actions .button:hover,
.expertise-detail-page .page-hero.about-hero .page-actions .button:focus-visible,
.expertise-landing .page-hero.about-hero .page-actions .button:hover,
.expertise-landing .page-hero.about-hero .page-actions .button:focus-visible {
  transform: translateY(-2px) !important;
  box-shadow: 0 .95rem 1.85rem rgba(2,31,78,.24) !important;
}

.page-hero.about-hero .page-actions .button.outline:hover,
.page-hero.about-hero .page-actions .button.outline:focus-visible,
.page-hero.about-hero .about-actions .button.outline:hover,
.page-hero.about-hero .about-actions .button.outline:focus-visible,
.expertise-detail-page .page-hero.about-hero .page-actions .button.outline:hover,
.expertise-detail-page .page-hero.about-hero .page-actions .button.outline:focus-visible,
.expertise-landing .page-hero.about-hero .page-actions .button.outline:hover,
.expertise-landing .page-hero.about-hero .page-actions .button.outline:focus-visible {
  color: #fff !important;
  border-color: rgba(243,189,48,.86) !important;
  background: rgba(255,255,255,.17) !important;
}

@media (max-width: 767px) {
  .nav-shell .primary-nav > ul > li > a {
    border-radius: 0 !important;
    margin: 0 !important;
  }
}


/* v2.82: Mineral detail page card cleanup - no intro icons, no scope-card pills, smaller card graphics. */
.mineral-services-page .mineral-lead-card > .business-section-icon,
.mineral-services-page .mineral-side-card > .business-section-icon {
  display: none !important;
}

.mineral-services-page .mineral-scope-grid .jmg-gradient-card__badge {
  display: none !important;
}

.mineral-services-page .mineral-scope-grid .jmg-gradient-card__content {
  max-width: 82% !important;
}

.mineral-services-page .mineral-scope-grid .jmg-gradient-card__content h3 {
  margin-top: 0 !important;
}

.mineral-services-page .mineral-scope-grid .jmg-gradient-card__graphic {
  right: .9rem !important;
  bottom: .75rem !important;
  width: min(10.25rem, 32%) !important;
  opacity: .28 !important;
  transform: rotate(0deg) !important;
  filter: saturate(1.06) drop-shadow(0 .7rem 1rem rgba(15,42,64,.10)) !important;
}

.mineral-services-page .mineral-scope-grid .jmg-gradient-card:hover .jmg-gradient-card__graphic,
.mineral-services-page .mineral-scope-grid .jmg-gradient-card:focus-within .jmg-gradient-card__graphic {
  transform: scale(1.04) translateY(-.1rem) !important;
  opacity: .38 !important;
}

@media (max-width: 767px) {
  .mineral-services-page .mineral-scope-grid .jmg-gradient-card__content {
    max-width: 100% !important;
    padding-right: 3rem !important;
  }

  .mineral-services-page .mineral-scope-grid .jmg-gradient-card__graphic {
    right: .65rem !important;
    bottom: .65rem !important;
    width: 6.2rem !important;
    opacity: .16 !important;
  }
}


/* v2.83: consistent accessible button hover states across advisory/cooperation pages. */
.button:hover,
.button:focus-visible {
  color: #fff !important;
  background: linear-gradient(135deg, #0b6f88, #078573) !important;
  border-color: #078573 !important;
  box-shadow: 0 .65rem 1.35rem rgba(2,31,78,.18) !important;
  text-decoration: none !important;
}
.button.outline:hover,
.button.outline:focus-visible,
.cooperation-dialog .button.outline:hover,
.cooperation-dialog .button.outline:focus-visible {
  color: #fff !important;
  background: linear-gradient(135deg, #0b6f88, #078573) !important;
  border-color: #078573 !important;
}
.quick-filter-pill:hover,
.quick-filter-pill:focus-visible,
.quick-filter-pill[aria-pressed="true"] {
  color: #fff !important;
  background: #087765 !important;
  border-color: #087765 !important;
  outline: none;
}
.cooperation-page-button:hover,
.cooperation-page-button:focus-visible,
.cooperation-page-button[aria-current="page"] {
  color: #fff !important;
  background: #087765 !important;
  border-color: #087765 !important;
}
.cooperation-close:hover,
.cooperation-close:focus-visible,
.back-top:hover,
.back-top:focus-visible {
  color: #fff !important;
  background: #087765 !important;
  border-color: #087765 !important;
  outline: none;
}
/* Keep hero action buttons light and readable over the hero background. */
.page-hero.about-hero .page-actions .button:hover,
.page-hero.about-hero .page-actions .button:focus-visible,
.page-hero.about-hero .about-actions .button:hover,
.page-hero.about-hero .about-actions .button:focus-visible,
.expertise-detail-page .page-hero.about-hero .page-actions .button:hover,
.expertise-detail-page .page-hero.about-hero .page-actions .button:focus-visible,
.expertise-landing .page-hero.about-hero .page-actions .button:hover,
.expertise-landing .page-hero.about-hero .page-actions .button:focus-visible {
  color: var(--brand-deep, #021f4e) !important;
  background: #fff !important;
  border-color: #fff !important;
}
.cooperation-source-action {
  margin-top: 1rem;
}


/* v2.84: online-services hierarchy and news-highlight metadata alignment. */
.online-services-page .mygems-highlight-section {
  padding-top: clamp(2.4rem, 4vw, 4.2rem);
}

.online-services-page .mygems-feature-card--primary {
  grid-template-columns: minmax(0, 1.08fr) minmax(22rem, .92fr);
  gap: clamp(1.5rem, 3vw, 3.25rem);
  padding: clamp(1.4rem, 3vw, 2.6rem);
  border: 1px solid rgba(8,119,101,.18);
  background:
    radial-gradient(circle at 10% 10%, rgba(243,189,48,.18), transparent 30%),
    linear-gradient(135deg, #f8fcfb 0%, #eef7f7 48%, #e7f2f6 100%);
  box-shadow: 0 1.35rem 3rem rgba(2,31,78,.12);
}

.online-services-page .mygems-feature-content h2 {
  max-width: 20ch;
  margin-bottom: .9rem;
}

.online-services-page .mygems-feature-points {
  display: grid;
  gap: .62rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.online-services-page .mygems-feature-points li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--ink, #18324a);
  font-weight: 650;
}

.online-services-page .mygems-feature-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent, #f3bd30), #8fcb3f);
  box-shadow: 0 0 0 .22rem rgba(143,203,63,.14);
}

.online-services-page .mygems-feature-side--actions {
  display: grid;
  gap: .78rem;
  align-content: center;
}

.online-services-page .mygems-action-card {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .9rem;
  min-height: 7rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(8,119,101,.2);
  border-radius: 1.15rem;
  color: var(--brand-deep, #021f4e);
  background: rgba(255,255,255,.86);
  box-shadow: 0 .65rem 1.35rem rgba(2,31,78,.07);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}

.online-services-page .mygems-action-card--primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #075b76, #087765);
}

.online-services-page .mygems-action-card:hover,
.online-services-page .mygems-action-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--accent, #f3bd30);
  background: #fff;
  box-shadow: 0 1rem 2rem rgba(2,31,78,.14);
  color: var(--brand-deep, #021f4e);
  outline: none;
}

.online-services-page .mygems-action-icon,
.online-services-page .service-card-icon {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: .95rem;
  background: linear-gradient(145deg, rgba(8,119,101,.12), rgba(23,120,186,.12));
}

.online-services-page .mygems-action-card--primary .mygems-action-icon {
  background: rgba(255,255,255,.16);
}

.online-services-page .mygems-action-icon img,
.online-services-page .service-card-icon img {
  width: 1.72rem;
  height: 1.72rem;
  object-fit: contain;
}

.online-services-page .mygems-action-card--primary .mygems-action-icon img {
  filter: brightness(0) invert(1);
}

.online-services-page .mygems-action-card:hover .mygems-action-icon img,
.online-services-page .mygems-action-card:focus-visible .mygems-action-icon img {
  filter: none;
}

.online-services-page .mygems-feature-side--actions .mygems-action-card > span:nth-child(2) {
  display: block;
  width: auto;
  height: auto;
  place-items: initial;
  border-radius: 0;
  color: inherit;
  background: none;
  font-weight: inherit;
}

.online-services-page .mygems-action-card small,
.online-services-page .mygems-action-card strong,
.online-services-page .mygems-action-card em {
  display: block;
}

.online-services-page .mygems-action-card strong {
  color: inherit;
}

.online-services-page .mygems-action-card small {
  margin-bottom: .18rem;
  color: inherit;
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .72;
}

.online-services-page .mygems-action-card strong {
  line-height: 1.25;
}

.online-services-page .mygems-action-card em {
  margin-top: .28rem;
  color: inherit;
  font-size: .86rem;
  font-style: normal;
  line-height: 1.4;
  opacity: .82;
}

.online-services-page .service-arrow {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 800;
  transition: transform .2s ease, background-color .2s ease;
}

.online-services-page .mygems-action-card:hover .service-arrow,
.online-services-page .mygems-action-card:focus-visible .service-arrow,
.online-services-page .service-row-card:hover .service-arrow,
.online-services-page .service-row-card:focus-visible .service-arrow {
  transform: translateX(.18rem);
  background: rgba(243,189,48,.2);
}

.online-services-page .digital-services-section {
  padding-top: clamp(3rem, 5vw, 5rem);
}

.online-services-page .service-priority-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.online-services-page .service-row-card {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) auto;
  align-items: start;
  gap: .9rem;
  min-height: 15.5rem;
  padding: 1.25rem;
  border: 1px solid #d8e5e9;
  border-radius: 1.25rem;
  color: var(--brand-deep, #021f4e);
  background: #fff;
  box-shadow: 0 .55rem 1.35rem rgba(2,31,78,.06);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}

.online-services-page .service-row-card:hover,
.online-services-page .service-row-card:focus-visible {
  color: var(--brand-deep, #021f4e);
  border-color: rgba(8,119,101,.55);
  background: linear-gradient(145deg, #fff, #f2faf8);
  box-shadow: 0 1rem 2rem rgba(2,31,78,.12);
  transform: translateY(-4px);
  outline: none;
}

.online-services-page .service-row-card > div h3 {
  margin: .15rem 0 .55rem;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.32;
}

.online-services-page .service-row-card > div p {
  margin: 0;
  color: var(--muted, #5d7182);
  line-height: 1.58;
}

.news-feature-card .news-feature-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  width: 100%;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #dce8ef;
}

.news-feature-card .news-feature-date {
  color: var(--muted, #5d7182);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.35;
}

.news-feature-card .news-feature-footer a {
  align-self: auto !important;
  flex: 0 0 auto;
  margin-top: 0 !important;
}

@media (max-width: 1080px) {
  .online-services-page .mygems-feature-card--primary {
    grid-template-columns: 1fr;
  }

  .online-services-page .mygems-feature-content h2 {
    max-width: none;
  }

  .online-services-page .service-priority-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .online-services-page .service-priority-list {
    grid-template-columns: 1fr;
  }

  .online-services-page .service-row-card {
    min-height: 0;
  }

  .online-services-page .mygems-action-card,
  .online-services-page .service-row-card {
    grid-template-columns: 2.85rem minmax(0, 1fr) auto;
    gap: .72rem;
  }

  .online-services-page .mygems-action-icon,
  .online-services-page .service-card-icon {
    width: 2.85rem;
    height: 2.85rem;
  }

  .news-feature-card .news-feature-footer {
    align-items: flex-start;
  }
}

@media (max-width: 430px) {
  .news-feature-card .news-feature-footer {
    flex-direction: column;
  }
}


/* v2.85: refined MyGEMS identity, primary access card and corrected service destinations. */
.online-services-page .mygems-feature-content .mygems-feature-title {
  display: grid;
  gap: .38rem;
  max-width: none;
  margin: .3rem 0 1rem;
}

.online-services-page .mygems-feature-name {
  display: block;
  color: var(--brand-deep, #021f4e);
  font-size: clamp(2.8rem, 5.2vw, 4.85rem);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: .94;
}

.online-services-page .mygems-feature-fullname {
  display: block;
  max-width: 30ch;
  color: #174f73;
  font-size: clamp(1.2rem, 1.65vw, 1.62rem);
  font-weight: 760;
  letter-spacing: -.018em;
  line-height: 1.28;
}

.online-services-page .mygems-action-card--primary {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.32);
  background: linear-gradient(135deg, #075b91 0%, #087765 68%, #0a8a73 100%);
  box-shadow: 0 .95rem 2rem rgba(5,75,116,.25);
}

.online-services-page .mygems-action-card--primary::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: .34rem;
  background: linear-gradient(180deg, #f3bd30, #b7d43b);
}

.online-services-page .mygems-action-card--primary .mygems-action-icon {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 .45rem 1rem rgba(2,31,78,.16);
}

.online-services-page .mygems-action-card--primary .mygems-action-icon img,
.online-services-page .mygems-action-card--primary:hover .mygems-action-icon img,
.online-services-page .mygems-action-card--primary:focus-visible .mygems-action-icon img {
  width: 2.08rem;
  height: 2.08rem;
  filter: none;
}

.online-services-page .mygems-action-card--primary .service-arrow {
  color: #fff;
  background: rgba(255,255,255,.14);
}

.online-services-page .mygems-action-card--primary:hover .service-arrow,
.online-services-page .mygems-action-card--primary:focus-visible .service-arrow {
  color: var(--brand-deep, #021f4e);
  background: rgba(243,189,48,.24);
}

@media (max-width: 700px) {
  .online-services-page .mygems-feature-fullname {
    max-width: none;
  }
}


/* v2.62: FAQ hero alignment and Contact page card spacing. */
.faq-hub-page > .page-hero.faq-about-hero {
  margin-bottom: 0;
}

.contact-page > .staff-directory-band {
  margin-top: clamp(2rem, 4vw, 3.25rem);
}

@media (max-width: 42rem) {
  .contact-page > .staff-directory-band {
    margin-top: 1.6rem;
  }
}


/* v2.63: Contact SPAB consolidation, Flaticon social icon and Menara PjH image treatment. */
.contact-primary-card {
  isolation: isolate;
  background: linear-gradient(135deg, #063d67, #0b7098 58%, #087d73);
}

.contact-primary-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(105deg, rgba(2, 31, 78, .92) 0%, rgba(2, 52, 88, .78) 50%, rgba(4, 84, 91, .62) 100%),
    url("https://www.ppj.gov.my/storage/11433/5.jpg");
  background-size: cover;
  background-position: center;
  opacity: .82;
  pointer-events: none;
}

.contact-primary-card::after {
  z-index: 0;
  opacity: .7;
}

.contact-primary-card > * {
  position: relative;
  z-index: 1;
}

.contact-primary-card address,
.contact-primary-card .contact-actions-grid strong {
  text-shadow: 0 1px 10px rgba(0, 20, 45, .34);
}

.contact-primary-card .contact-actions-grid div {
  background: rgba(4, 40, 69, .46);
  border-color: rgba(255,255,255,.34);
  backdrop-filter: blur(5px);
}

.contact-channel-card--sispaa {
  background: linear-gradient(155deg, #ffffff, #f4fbff 62%, #eef9f7);
}

.contact-channel-action {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .15rem;
  padding: .35rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .2em;
}

.contact-channel-action::before {
  content: "";
  width: 1.08rem;
  height: 1.08rem;
  flex: 0 0 1.08rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16v12H7l-3 3Z'/%3E%3Cpath d='M8 8h8M8 12h5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16v12H7l-3 3Z'/%3E%3Cpath d='M8 8h8M8 12h5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.contact-channel-action:hover,
.contact-channel-action:focus-visible {
  border: 0;
  background: transparent;
  color: var(--brand);
}

.contact-channel-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: .65rem;
  display: inline-grid;
  place-items: center;
  border-radius: .82rem;
  background: linear-gradient(135deg, rgba(23,120,186,.13), rgba(148,201,61,.18));
  color: var(--brand-deep);
  border: 1px solid rgba(23,120,186,.14);
}

.contact-channel-icon--flaticon i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.48rem;
  line-height: 1;
}

.contact-channel-card--social .social-link-list {
  margin-top: .8rem;
}

.flaticon-credit {
  display: block;
  margin-top: .75rem;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.3;
}

.flaticon-credit a {
  color: inherit;
  font-weight: 750;
}

.contact-channel-section + #pejabat-jmg {
  margin-top: clamp(2.1rem, 4vw, 3.25rem);
}

@media (max-width: 42rem) {
  .contact-primary-card::before {
    background-position: 58% center;
  }
}

/* v2.64: Contact social platforms use local official-style icons and direct links. */
.contact-channel-card--social .social-link-list--platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  margin-top: .9rem;
}

.contact-channel-card--social .social-link-list--platforms li {
  min-width: 0;
}

.contact-channel-card--social .social-platform-link {
  display: flex;
  align-items: center;
  gap: .55rem;
  width: 100%;
  min-height: 2.55rem;
  padding: .38rem .52rem;
  border: 1px solid var(--line);
  border-radius: .78rem;
  background: #fff;
  color: var(--brand-deep);
  font-size: .82rem;
  font-weight: 850;
  white-space: normal;
  box-shadow: 0 .35rem .85rem rgba(10, 63, 103, .06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.contact-channel-card--social .social-platform-link:hover,
.contact-channel-card--social .social-platform-link:focus-visible {
  transform: translateY(-2px);
  background: #f8fbfd;
  border-color: rgba(23, 120, 186, .36);
  box-shadow: 0 .65rem 1.15rem rgba(10, 63, 103, .12);
  text-decoration: none;
}

.contact-channel-card--social .social-platform-icon {
  flex: 0 0 auto;
  width: 1.78rem;
  height: 1.78rem;
  display: inline-grid;
  place-items: center;
  border-radius: .55rem;
  background: var(--brand-deep);
}

.contact-channel-card--social .social-platform-icon img {
  width: 1rem;
  height: 1rem;
  margin: 0;
  filter: brightness(0) invert(1);
}

.contact-channel-card--social .social-platform-link--facebook .social-platform-icon { background: #1877f2; }
.contact-channel-card--social .social-platform-link--x .social-platform-icon { background: #111827; }
.contact-channel-card--social .social-platform-link--instagram .social-platform-icon { background: linear-gradient(135deg, #833ab4, #fd1d1d 58%, #fcb045); }
.contact-channel-card--social .social-platform-link--youtube .social-platform-icon { background: #ff0000; }
.contact-channel-card--social .social-platform-link--tiktok .social-platform-icon { background: #111827; }

@media (max-width: 26rem) {
  .contact-channel-card--social .social-link-list--platforms {
    grid-template-columns: 1fr;
  }
}

/* v2.85: Simplified contact channels and right-aligned office card actions. */
.contact-page .contact-channel-card {
  border: 0;
  padding-top: 1.15rem;
}

.contact-page .contact-channel-card h3 {
  margin-top: 0;
}

.contact-page .office-card {
  display: flex;
  flex-direction: column;
  padding-top: 1.25rem;
}

.contact-page .office-number {
  position: absolute;
  top: .9rem;
  right: 1rem;
}

.contact-page .office-card h3 {
  margin-top: 0;
  padding-right: 3rem;
}

.contact-page .office-map-link {
  align-self: flex-start;
  gap: .42rem;
  margin-top: auto;
  padding: .85rem 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .2em;
}

.contact-page .office-map-link::before {
  content: "";
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 1.05rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.contact-page .office-map-link:hover,
.contact-page .office-map-link:focus-visible {
  border: 0;
  background: transparent;
  color: var(--brand);
}
/* ===== WARGA JMG / JMG STAFF GATEWAY ===== */
.staff-hub-page{background:#f8fbfd}.staff-hub-hero{position:relative;overflow:hidden}.staff-hub-hero:after{content:"";position:absolute;inset:auto -10% -58% 48%;height:115%;background:radial-gradient(circle,rgba(255,193,47,.22),transparent 62%);pointer-events:none}.staff-hub-hero-inner{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,.72fr);gap:clamp(2rem,5vw,5rem);align-items:end;position:relative;z-index:2}.staff-hero-assurance{display:flex;gap:1rem;align-items:flex-start;padding:1.25rem;border:1px solid rgba(255,255,255,.35);background:rgba(4,49,83,.35);border-radius:1.25rem;backdrop-filter:blur(12px);box-shadow:0 22px 50px rgba(0,28,53,.18)}.staff-hero-assurance-icon{display:grid;place-items:center;width:3rem;height:3rem;flex:0 0 3rem;border-radius:1rem;background:#f2b233;color:#063c61}.staff-hero-assurance-icon svg{width:1.55rem;height:1.55rem}.staff-hero-assurance strong{display:block;color:#fff;font-size:1.02rem;margin-bottom:.25rem}.staff-hero-assurance p{margin:0;color:rgba(255,255,255,.83);font-size:.92rem;line-height:1.55}.staff-feature-section{padding-top:clamp(2.5rem,6vw,5rem)}.staff-feature-grid{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(320px,.78fr);gap:1.25rem}.staff-primary-panel{position:relative;overflow:hidden;padding:clamp(1.7rem,4vw,3rem);border-radius:1.6rem;background:linear-gradient(135deg,#063c61 0%,#0d7382 62%,#0b8b78 100%);color:#fff;box-shadow:0 24px 60px rgba(5,58,93,.18)}.staff-primary-panel:after{content:"";position:absolute;width:280px;height:280px;border-radius:50%;right:-110px;bottom:-140px;border:40px solid rgba(255,255,255,.08)}.staff-primary-panel .eyebrow{color:#ffd36a}.staff-primary-panel h2{margin:.55rem 0 .7rem;color:#fff;font-size:clamp(1.85rem,3.5vw,3rem);max-width:14ch}.staff-primary-panel>p{max-width:62ch;color:rgba(255,255,255,.84);line-height:1.7}.staff-primary-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;margin-top:1.7rem;position:relative;z-index:1}.staff-primary-actions a,.staff-feature-link{display:flex;align-items:center;gap:.9rem;text-decoration:none}.staff-primary-actions a{padding:1rem;border-radius:1rem;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);color:#fff;transition:transform .2s ease,background .2s ease,border-color .2s ease}.staff-primary-actions a:hover,.staff-primary-actions a:focus-visible{transform:translateY(-3px);background:rgba(255,255,255,.2);border-color:rgba(255,255,255,.5);color:#fff}.staff-primary-actions span,.staff-feature-link>span{display:grid;place-items:center;width:2.75rem;height:2.75rem;flex:0 0 2.75rem;border-radius:.85rem;background:#fff;color:#0b6680}.staff-primary-actions svg,.staff-feature-link svg{width:1.35rem;height:1.35rem}.staff-primary-actions div,.staff-feature-link div{min-width:0;flex:1}.staff-primary-actions small,.staff-feature-link small{display:block;text-transform:uppercase;letter-spacing:.09em;font-size:.68rem;font-weight:800;opacity:.75}.staff-primary-actions strong,.staff-feature-link strong{display:block;margin-top:.2rem;font-size:1rem}.staff-primary-actions b,.staff-feature-link b{font-size:1.35rem}.staff-feature-stack{display:grid;gap:.9rem}.staff-feature-link{padding:1.1rem 1.15rem;border:1px solid #d9e6ed;background:#fff;border-radius:1.15rem;color:#0a2e4f;box-shadow:0 12px 34px rgba(7,53,82,.08);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.staff-feature-link:hover,.staff-feature-link:focus-visible{transform:translateY(-3px);border-color:#0a7d79;box-shadow:0 18px 40px rgba(7,83,97,.14);color:#063c61}.staff-feature-link p{margin:.25rem 0 0;color:#607286;font-size:.86rem;line-height:1.45}.staff-feature-link b{color:#0a7d79}.staff-section-head{margin-bottom:1.2rem}.staff-filter-bar{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:1rem;align-items:center;padding:1rem;border:1px solid #d9e6ed;background:#fff;border-radius:1.2rem;box-shadow:0 12px 32px rgba(7,53,82,.07);margin-bottom:1.4rem}.staff-search-box{display:flex;align-items:center;gap:.75rem;min-width:0;padding:.8rem 1rem;border:1px solid #cfdde5;background:#f8fbfd;border-radius:.85rem}.staff-search-box:focus-within{border-color:#0a7d79;box-shadow:0 0 0 3px rgba(10,125,121,.12)}.staff-search-box>span:first-child{display:grid;color:#0b6680}.staff-search-box svg{width:1.25rem;height:1.25rem}.staff-search-box input{width:100%;border:0;outline:0;background:transparent;color:#0a2e4f;font:inherit}.staff-filter-buttons{display:flex;flex-wrap:wrap;gap:.45rem;justify-content:flex-end}.staff-filter-buttons button{border:1px solid #cddde5;background:#fff;color:#31536a;border-radius:999px;padding:.65rem .9rem;font:inherit;font-size:.84rem;font-weight:750;cursor:pointer;transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease}.staff-filter-buttons button:hover,.staff-filter-buttons button:focus-visible,.staff-filter-buttons button.is-active{background:#0b6f78;border-color:#0b6f78;color:#fff;transform:translateY(-1px)}.staff-result-count{grid-column:1/-1;margin:0;color:#667a89;font-size:.82rem}.staff-app-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.staff-app-card{display:flex;flex-direction:column;min-height:280px;padding:1.2rem;border:1px solid #d8e5ec;background:#fff;border-radius:1.25rem;box-shadow:0 10px 30px rgba(7,53,82,.06);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}.staff-app-card:hover{transform:translateY(-5px);border-color:#78b8b3;box-shadow:0 20px 44px rgba(7,83,97,.12)}.staff-app-card[hidden]{display:none}.staff-app-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:.7rem}.staff-app-icon{display:grid;place-items:center;width:3rem;height:3rem;border-radius:1rem;background:linear-gradient(145deg,#e7f4f5,#edf5fb);color:#0a6c7c}.staff-app-icon svg{width:1.5rem;height:1.5rem}.staff-access-badge{display:inline-flex;align-items:center;min-height:1.8rem;padding:.35rem .65rem;border-radius:999px;background:#eef4f7;color:#486476;font-size:.7rem;font-weight:800;line-height:1.1;text-align:center}.staff-app-card-body{padding:1rem 0;flex:1}.staff-app-card h3{margin:0 0 .55rem;color:#0a2e4f;font-size:1.08rem}.staff-app-card p{margin:0;color:#617386;line-height:1.58;font-size:.9rem}.staff-app-link{display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding-top:.8rem;border-top:1px solid #e4edf2;color:#0a6f78;text-decoration:none;font-weight:800;font-size:.86rem}.staff-app-link:hover,.staff-app-link:focus-visible{color:#064c68}.staff-app-link>span:last-child{display:grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:#e7f4f3;transition:transform .2s ease,background .2s ease}.staff-app-link:hover>span:last-child,.staff-app-link:focus-visible>span:last-child{transform:translateX(3px);background:#0b6f78;color:#fff}.staff-app-card.is-access-managed{background:linear-gradient(180deg,#fff,#fbfcf4);border-color:#e3e6c7}.staff-app-card.is-access-managed .staff-app-icon{background:#f4f5dd;color:#6d7a1f}.staff-app-card.is-access-managed .staff-access-badge{background:#f1f3d7;color:#637019}.staff-managed-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.staff-managed-grid .staff-app-card{min-height:255px}.staff-no-results{text-align:center;padding:3rem;border:1px dashed #b9ccd6;border-radius:1.2rem;background:#fff}.staff-no-results>span{display:grid;place-items:center;width:3.5rem;height:3.5rem;margin:0 auto 1rem;border-radius:1rem;background:#eaf3f6;color:#0b6f78}.staff-no-results svg{width:1.7rem;height:1.7rem}.staff-no-results h3{margin:0 0 .4rem;color:#0a2e4f}.staff-no-results p{margin:0;color:#667a89}.staff-security-band{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:2rem;padding:clamp(1.6rem,4vw,2.6rem);border-radius:1.5rem;background:linear-gradient(135deg,#092f4e,#075d70);color:#fff;box-shadow:0 24px 60px rgba(5,48,77,.18)}.staff-security-copy{display:flex;gap:1.1rem;align-items:flex-start}.staff-security-icon{display:grid;place-items:center;width:3.6rem;height:3.6rem;flex:0 0 3.6rem;border-radius:1.1rem;background:#f2b233;color:#073b5e}.staff-security-icon svg{width:1.75rem;height:1.75rem}.staff-security-copy .eyebrow{color:#ffd36a}.staff-security-copy h2{margin:.45rem 0 .7rem;color:#fff}.staff-security-copy p{margin:0;color:rgba(255,255,255,.82);line-height:1.7}.staff-support-actions{display:grid;gap:.7rem}.staff-support-actions a{display:flex;align-items:center;gap:.85rem;padding:.9rem;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:1rem;color:#fff;text-decoration:none;transition:background .2s ease,transform .2s ease,border-color .2s ease}.staff-support-actions a:hover,.staff-support-actions a:focus-visible{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.45);transform:translateY(-2px);color:#fff}.staff-support-actions a>span{display:grid;place-items:center;width:2.6rem;height:2.6rem;flex:0 0 2.6rem;border-radius:.8rem;background:#fff;color:#0a6f78}.staff-support-actions svg{width:1.3rem;height:1.3rem}.staff-support-actions div{min-width:0;flex:1}.staff-support-actions small{display:block;opacity:.7;font-size:.72rem;text-transform:uppercase;letter-spacing:.08em}.staff-support-actions strong{display:block;margin-top:.15rem;overflow-wrap:anywhere}.staff-access-notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1rem}.staff-access-notes article{display:flex;gap:.9rem;padding:1.15rem;border:1px solid #d9e6ed;background:#fff;border-radius:1.1rem}.staff-access-notes article>span{display:grid;place-items:center;width:2.7rem;height:2.7rem;flex:0 0 2.7rem;border-radius:.85rem;background:#eaf4f5;color:#0a6f78}.staff-access-notes svg{width:1.35rem;height:1.35rem}.staff-access-notes h3{margin:0 0 .35rem;color:#0a2e4f;font-size:1rem}.staff-access-notes p{margin:0;color:#667a89;font-size:.85rem;line-height:1.55}
@media(max-width:1100px){.staff-managed-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.staff-app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-filter-bar{grid-template-columns:1fr}.staff-filter-buttons{justify-content:flex-start}.staff-security-band{grid-template-columns:1fr}}
@media(max-width:820px){.staff-hub-hero-inner,.staff-feature-grid{grid-template-columns:1fr}.staff-hero-assurance{max-width:620px}.staff-primary-actions{grid-template-columns:1fr}.staff-access-notes{grid-template-columns:1fr}}
@media(max-width:620px){.staff-app-grid,.staff-managed-grid{grid-template-columns:1fr}.staff-app-card{min-height:0}.staff-filter-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.staff-filter-buttons button{width:100%}.staff-security-copy{display:block}.staff-security-icon{margin-bottom:1rem}.staff-hero-assurance{display:none}}

/* v2.72: Clear, self-contained icons for homepage MyGEMS location actions. */
.hero-location-actions .button {
  gap: .62rem;
}

.hero-location-action-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: .62rem;
  color: currentColor;
  background: rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.hero-location-action-icon svg {
  width: 1.18rem;
  height: 1.18rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-location-action-label {
  min-width: 0;
}

.hero-location-button:hover .hero-location-action-icon,
.hero-location-button:focus-visible .hero-location-action-icon,
.hero-location-link:hover .hero-location-action-icon,
.hero-location-link:focus-visible .hero-location-action-icon {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.42);
  transform: translateY(-1px);
}

.hero-location-action-icon {
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

@media (max-width: 767px) {
  .hero-location-actions .button {
    gap: .48rem !important;
  }

  .hero-location-action-icon {
    width: 1.78rem;
    height: 1.78rem;
    border-radius: .54rem;
  }

  .hero-location-action-icon svg {
    width: 1.02rem;
    height: 1.02rem;
  }
}

/* v2.91: Cerahkan gradien navigasi utama JMG. */
.nav-shell {
  background: linear-gradient(to right, #0d47a1 0%, #1565c0 52%, #1976d2 100%) !important;
}

/* v2.67: Interactive geoscience exploration on the homepage. */
.home-interactive-geoscience {
  position: relative;
  overflow: hidden;
  padding-top: clamp(2.7rem, 5vw, 4.4rem);
  padding-bottom: clamp(2.9rem, 5vw, 4.6rem);
  background:
    radial-gradient(circle at 8% 18%, rgba(23,120,186,.10), transparent 26rem),
    radial-gradient(circle at 92% 82%, rgba(0,111,99,.09), transparent 27rem),
    linear-gradient(180deg, #ffffff 0%, #f5f9fc 100%);
}
.home-interactive-geoscience::before,
.home-interactive-geoscience::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(23,120,186,.10);
  border-radius: 48% 52% 45% 55%;
  transform: rotate(-14deg);
}
.home-interactive-geoscience::before {
  width: 23rem;
  height: 13rem;
  top: -5.5rem;
  right: -6rem;
  box-shadow: 0 0 0 1.2rem rgba(23,120,186,.025), 0 0 0 2.6rem rgba(23,120,186,.018);
}
.home-interactive-geoscience::after {
  width: 18rem;
  height: 10rem;
  left: -6rem;
  bottom: -4.5rem;
  box-shadow: 0 0 0 1.1rem rgba(0,111,99,.025), 0 0 0 2.4rem rgba(0,111,99,.017);
}
.home-interactive-geoscience > .container {
  position: relative;
  z-index: 1;
}
.home-interactive-geoscience__head {
  margin-bottom: clamp(1.2rem, 2vw, 1.65rem);
  align-items: end;
}
.home-interactive-geoscience__head .eyebrow {
  display: block;
  margin-bottom: .42rem;
  color: #8b5b00;
  letter-spacing: .12em;
}
.home-interactive-geoscience__head h2 {
  margin-bottom: .38rem;
}
.home-interactive-geoscience__head p {
  max-width: 66ch;
}
.home-interactive-geoscience__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(21rem, .92fr);
  gap: clamp(.85rem, 1.6vw, 1.2rem);
  align-items: stretch;
}
.home-interactive-geoscience__stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(.85rem, 1.6vw, 1.2rem);
}
.geo-explorer-card {
  --geo-card-accent: #1778ba;
  position: relative;
  isolation: isolate;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(7,27,54,.10);
  border-radius: 1.35rem;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(2,31,78,.10);
  color: var(--ink);
  text-decoration: none;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.geo-explorer-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: .28rem;
  z-index: 3;
  background: linear-gradient(90deg, var(--geo-card-accent), color-mix(in srgb, var(--geo-card-accent) 56%, #e5ac3e));
  transform: scaleX(.28);
  transform-origin: left;
  transition: transform .24s ease;
}
.geo-explorer-card:hover,
.geo-explorer-card:focus-visible {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--geo-card-accent) 34%, #ffffff);
  box-shadow: 0 23px 58px rgba(2,31,78,.16);
  color: var(--ink);
}
.geo-explorer-card:hover::after,
.geo-explorer-card:focus-visible::after {
  transform: scaleX(1);
}
.geo-explorer-card:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.geo-explorer-card__content {
  position: relative;
  z-index: 2;
  min-width: 0;
}
.geo-explorer-card__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.72rem;
  padding: .3rem .62rem;
  border: 1px solid color-mix(in srgb, var(--geo-card-accent) 30%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--geo-card-accent) 9%, #ffffff);
  color: color-mix(in srgb, var(--geo-card-accent) 86%, #071b36);
  font-size: .68rem;
  font-weight: 820;
  letter-spacing: .085em;
  line-height: 1;
  text-transform: uppercase;
}
.geo-explorer-card h3 {
  margin: .72rem 0 .46rem;
  color: inherit;
  font-size: clamp(1.3rem, 2vw, 1.78rem);
  line-height: 1.08;
}
.geo-explorer-card h3 span {
  color: color-mix(in srgb, var(--geo-card-accent) 76%, #071b36);
  font-size: .7em;
  font-weight: 690;
}
.geo-explorer-card p {
  margin: 0;
  max-width: 49ch;
  color: #536878;
  font-size: .92rem;
  line-height: 1.58;
}
.geo-explorer-card__action {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  width: fit-content;
  margin-top: 1rem;
  color: color-mix(in srgb, var(--geo-card-accent) 82%, #071b36);
  font-size: .86rem;
  font-weight: 790;
}
.geo-explorer-card__action > span {
  display: inline-grid;
  place-items: center;
  width: 1.62rem;
  height: 1.62rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--geo-card-accent) 12%, #ffffff);
  transition: transform .22s ease, background .22s ease, color .22s ease;
}
.geo-explorer-card:hover .geo-explorer-card__action > span,
.geo-explorer-card:focus-visible .geo-explorer-card__action > span {
  transform: translateX(3px);
  background: var(--geo-card-accent);
  color: #ffffff;
}
.geo-explorer-card__visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.geo-explorer-card__visual svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.geo-explorer-card--featured {
  --geo-card-accent: #49d6ca;
  min-height: 23rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(14rem, .8fr);
  align-items: center;
  padding: clamp(1.35rem, 3vw, 2.15rem);
  border-color: rgba(118,224,214,.22);
  background:
    radial-gradient(circle at 78% 18%, rgba(73,214,202,.20), transparent 21rem),
    linear-gradient(135deg, #021f4e 0%, #064d72 56%, #006f63 100%);
  color: #ffffff;
  box-shadow: 0 24px 62px rgba(2,31,78,.24);
}
.geo-explorer-card--featured::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .34;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, #000 48%, #000);
}
.geo-explorer-card--featured:hover,
.geo-explorer-card--featured:focus-visible {
  border-color: rgba(118,224,214,.52);
  color: #ffffff;
  box-shadow: 0 28px 68px rgba(2,31,78,.31);
}
.geo-explorer-card--featured .geo-explorer-card__badge {
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.11);
  color: #dffdf9;
}
.geo-explorer-card--featured h3 {
  font-size: clamp(1.8rem, 3.8vw, 3rem);
}
.geo-explorer-card--featured h3 span {
  color: #9ef0e8;
}
.geo-explorer-card--featured p {
  color: rgba(255,255,255,.86);
  font-size: clamp(.92rem, 1.25vw, 1rem);
}
.geo-explorer-card--featured .geo-explorer-card__action {
  color: #ffffff;
}
.geo-explorer-card--featured .geo-explorer-card__action > span {
  background: #e5ac3e;
  color: #071b36;
}
.geo-explorer-card--featured:hover .geo-explorer-card__action > span,
.geo-explorer-card--featured:focus-visible .geo-explorer-card__action > span {
  background: #ffffff;
  color: #006f63;
}
.geo-explorer-card__glow {
  position: absolute;
  width: 15rem;
  height: 15rem;
  right: 7%;
  top: 10%;
  z-index: 0;
  border-radius: 50%;
  background: rgba(73,214,202,.13);
  filter: blur(18px);
}
.geo-explorer-card__visual--scan {
  align-self: end;
  width: min(100%, 17.5rem);
  justify-self: center;
  filter: drop-shadow(0 18px 18px rgba(0,0,0,.23));
  transition: transform .26s ease;
}
.geo-explorer-card--featured:hover .geo-explorer-card__visual--scan,
.geo-explorer-card--featured:focus-visible .geo-explorer-card__visual--scan {
  transform: translateY(-5px) rotate(1deg);
}
.geo-scan-orbit {
  fill: rgba(255,255,255,.08);
  stroke: rgba(158,240,232,.45);
  stroke-width: 1.5;
  stroke-dasharray: 5 7;
}
.geo-phone-screen { fill: #073e58; }
.geo-phone-slot { fill: #b8d8e3; }
.geo-rock { fill: #d8b87d; stroke: #f1d8a8; stroke-width: 2; }
.geo-rock-line { fill: none; stroke: #866733; stroke-width: 2; stroke-linecap: round; }
.geo-scan-corner { fill: none; stroke: #78eadf; stroke-width: 3; stroke-linecap: round; }
.geo-scan-line { fill: none; stroke: #f1bd51; stroke-width: 2; filter: drop-shadow(0 0 4px rgba(241,189,81,.9)); }
.geo-ai-dot { fill: #e5ac3e; }
.geo-ai-mark { fill: none; stroke: #071b36; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.geo-explorer-card--sandbox,
.geo-explorer-card--landslide,
.geo-explorer-card--geodip {
  grid-template-columns: minmax(0, 1.3fr) minmax(8.3rem, .66fr);
  align-items: center;
  min-height: 10.85rem;
  padding: clamp(1rem, 2.2vw, 1.35rem);
}
.geo-explorer-card--sandbox {
  --geo-card-accent: #1778ba;
  background: linear-gradient(145deg, #ffffff 0%, #eef8fd 100%);
}
.geo-explorer-card--landslide {
  --geo-card-accent: #b87124;
  background: linear-gradient(145deg, #ffffff 0%, #fff7ec 100%);
}
.geo-explorer-card--geodip {
  --geo-card-accent: #087f78;
  background: linear-gradient(145deg, #ffffff 0%, #edf9f6 100%);
}
.geo-explorer-card--sandbox h3,
.geo-explorer-card--landslide h3,
.geo-explorer-card--geodip h3 {
  font-size: clamp(1.22rem, 1.8vw, 1.55rem);
}
.geo-explorer-card--sandbox p,
.geo-explorer-card--landslide p,
.geo-explorer-card--geodip p {
  font-size: .82rem;
  line-height: 1.46;
}
.geo-explorer-card--sandbox .geo-explorer-card__action,
.geo-explorer-card--landslide .geo-explorer-card__action,
.geo-explorer-card--geodip .geo-explorer-card__action {
  margin-top: .7rem;
  font-size: .78rem;
}
.geo-explorer-card__visual--sandbox,
.geo-explorer-card__visual--landslide,
.geo-explorer-card__visual--geodip {
  width: min(100%, 10.5rem);
  justify-self: end;
  transition: transform .24s ease;
}
.geo-explorer-card--sandbox:hover .geo-explorer-card__visual--sandbox,
.geo-explorer-card--sandbox:focus-visible .geo-explorer-card__visual--sandbox,
.geo-explorer-card--landslide:hover .geo-explorer-card__visual--landslide,
.geo-explorer-card--landslide:focus-visible .geo-explorer-card__visual--landslide,
.geo-explorer-card--geodip:hover .geo-explorer-card__visual--geodip,
.geo-explorer-card--geodip:focus-visible .geo-explorer-card__visual--geodip {
  transform: translateY(-3px) scale(1.025);
}
.geo-contour {
  fill: none;
  stroke: #1778ba;
  stroke-width: 2;
}
.geo-contour--1 { opacity: .35; }
.geo-contour--2 { opacity: .58; }
.geo-contour--3 { opacity: .9; }
.geo-water-flow { fill: none; stroke: #0e92d2; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 6 7; }
.geo-water-drop { fill: #0e92d2; stroke: #9de6ff; stroke-width: 2; }
.geo-slope-back { fill: #e7c796; stroke: #b87124; stroke-width: 2; }
.geo-slope-front { fill: #8cad72; stroke: #587c43; stroke-width: 2; }
.geo-slip-plane { fill: none; stroke: #c94f3d; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 7 5; }
.geo-debris { fill: #a96934; stroke: #74431f; stroke-width: 1.5; }
.geo-monitor { fill: none; stroke: #044c67; stroke-width: 3; stroke-linecap: round; }
.geo-monitor-head { fill: #1778ba; stroke: #ffffff; stroke-width: 2; }
.geo-alert { fill: #f3bd30; stroke: #8b5b00; stroke-width: 2; }
.geo-alert-mark { fill: none; stroke: #071b36; stroke-width: 3; stroke-linecap: round; }
.geo-dip-contour { fill: none; stroke: #159c91; stroke-width: 2; }
.geo-dip-contour--1 { opacity: .38; }
.geo-dip-contour--2 { opacity: .68; }
.geo-dip-compass { fill: rgba(255,255,255,.82); stroke: #087f78; stroke-width: 2.5; }
.geo-dip-axis { fill: none; stroke: #8bbdb8; stroke-width: 1.5; stroke-dasharray: 3 4; }
.geo-dip-plane { fill: none; stroke: #075f74; stroke-width: 4; stroke-linecap: round; }
.geo-dip-north { fill: #e5ac3e; stroke: #8b5b00; stroke-width: 1.5; }

@media (max-width: 980px) {
  .home-interactive-geoscience__grid {
    grid-template-columns: 1fr;
  }
  .home-interactive-geoscience__stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }
  .geo-explorer-card--featured {
    min-height: 21rem;
  }
  .geo-explorer-card--sandbox,
  .geo-explorer-card--landslide {
    grid-template-columns: minmax(0, 1fr) 7.5rem;
    min-height: 12.4rem;
  }
}

@media (max-width: 720px) {
  .home-interactive-geoscience {
    padding-top: 2.5rem;
    padding-bottom: 2.7rem;
  }
  .home-interactive-geoscience__head {
    align-items: start;
  }
  .home-interactive-geoscience__stack {
    grid-template-columns: 1fr;
  }
  .geo-explorer-card--featured {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 1.25rem 1.15rem 0;
  }
  .geo-explorer-card--featured .geo-explorer-card__content {
    padding-bottom: .25rem;
  }
  .geo-explorer-card__visual--scan {
    width: min(78%, 15.5rem);
    margin-top: .1rem;
  }
  .geo-explorer-card--sandbox,
  .geo-explorer-card--landslide {
    grid-template-columns: minmax(0, 1fr) 7rem;
    min-height: 10.6rem;
    padding: 1rem;
  }
  .geo-explorer-card p {
    font-size: .84rem;
  }
}

@media (max-width: 430px) {
  .home-interactive-geoscience__head > a {
    width: fit-content;
  }
  .geo-explorer-card--sandbox,
  .geo-explorer-card--landslide {
    grid-template-columns: 1fr;
  }
  .geo-explorer-card__visual--sandbox,
  .geo-explorer-card__visual--landslide {
    position: absolute;
    right: -.8rem;
    bottom: -.55rem;
    width: 7.8rem;
    opacity: .34;
  }
  .geo-explorer-card--sandbox .geo-explorer-card__content,
  .geo-explorer-card--landslide .geo-explorer-card__content {
    padding-right: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .geo-explorer-card,
  .geo-explorer-card::after,
  .geo-explorer-card__action > span,
  .geo-explorer-card__visual--scan,
  .geo-explorer-card__visual--sandbox,
  .geo-explorer-card__visual--landslide,
  .geo-explorer-card__visual--geodip {
    transition: none !important;
  }
}


/* v2.68: Equal-size cards for Interactive Geoscience Exploration. */
.home-interactive-geoscience__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.home-interactive-geoscience__stack {
  display: contents;
}

.geo-explorer-card--featured,
.geo-explorer-card--sandbox,
.geo-explorer-card--landslide,
.geo-explorer-card--geodip {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 21rem;
  padding: clamp(1.05rem, 1.8vw, 1.35rem);
}

.geo-explorer-card--featured {
  grid-template-columns: none;
}

.geo-explorer-card--featured h3,
.geo-explorer-card--sandbox h3,
.geo-explorer-card--landslide h3,
.geo-explorer-card--geodip h3 {
  font-size: clamp(1.3rem, 1.8vw, 1.62rem);
}

.geo-explorer-card--featured p,
.geo-explorer-card--sandbox p,
.geo-explorer-card--landslide p,
.geo-explorer-card--geodip p {
  font-size: .84rem;
  line-height: 1.5;
}

.geo-explorer-card--featured .geo-explorer-card__action,
.geo-explorer-card--sandbox .geo-explorer-card__action,
.geo-explorer-card--landslide .geo-explorer-card__action,
.geo-explorer-card--geodip .geo-explorer-card__action {
  margin-top: .78rem;
  font-size: .8rem;
}

.geo-explorer-card__visual--scan,
.geo-explorer-card__visual--sandbox,
.geo-explorer-card__visual--landslide,
.geo-explorer-card__visual--geodip {
  position: relative;
  right: auto;
  bottom: auto;
  align-self: flex-end;
  justify-self: auto;
  width: min(55%, 10.5rem);
  margin-top: auto;
  opacity: 1;
}

.geo-explorer-card__visual--scan {
  width: min(58%, 10.8rem);
}

.geo-explorer-card--featured .geo-explorer-card__content,
.geo-explorer-card--sandbox .geo-explorer-card__content,
.geo-explorer-card--landslide .geo-explorer-card__content,
.geo-explorer-card--geodip .geo-explorer-card__content {
  padding: 0;
}

.geo-explorer-card__glow {
  width: 10rem;
  height: 10rem;
  right: -1rem;
  top: auto;
  bottom: -1.5rem;
}

@media (max-width: 980px) {
  .home-interactive-geoscience__grid {
    grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  }

  .home-interactive-geoscience__stack {
    display: contents;
  }

  .geo-explorer-card--featured,
  .geo-explorer-card--sandbox,
  .geo-explorer-card--landslide,
  .geo-explorer-card--geodip {
    grid-template-columns: none;
    min-height: 20.5rem;
  }
}

@media (max-width: 720px) {
  .home-interactive-geoscience__grid {
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  }

  .geo-explorer-card--featured,
  .geo-explorer-card--sandbox,
  .geo-explorer-card--landslide,
  .geo-explorer-card--geodip {
    grid-template-columns: none;
    min-height: 20rem;
    padding: 1.1rem;
  }

  .geo-explorer-card__visual--scan,
  .geo-explorer-card__visual--sandbox,
  .geo-explorer-card__visual--landslide,
  .geo-explorer-card__visual--geodip {
    width: min(52%, 9.8rem);
    margin-top: auto;
  }
}

@media (max-width: 560px) {
  .home-interactive-geoscience__grid {
    grid-template-columns: 1fr;
  }

  .geo-explorer-card--featured,
  .geo-explorer-card--sandbox,
  .geo-explorer-card--landslide,
  .geo-explorer-card--geodip {
    min-height: 18.5rem;
  }
}

@media (max-width: 430px) {
  .geo-explorer-card__visual--scan,
  .geo-explorer-card__visual--sandbox,
  .geo-explorer-card__visual--landslide,
  .geo-explorer-card__visual--geodip {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(48%, 8.8rem);
    opacity: 1;
  }

  .geo-explorer-card--featured .geo-explorer-card__content,
  .geo-explorer-card--sandbox .geo-explorer-card__content,
  .geo-explorer-card--landslide .geo-explorer-card__content,
  .geo-explorer-card--geodip .geo-explorer-card__content {
    padding-right: 0;
  }
}

/* v2.69: Interactive Geoscience heading and description share one line on larger screens. */
.home-interactive-geoscience__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: .8rem 1.15rem;
  max-width: 100%;
}

.home-interactive-geoscience__head > div {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: baseline;
  column-gap: clamp(.65rem, 1.25vw, 1rem);
  row-gap: .38rem;
  min-width: 0;
  max-width: 100%;
}

.home-interactive-geoscience__head .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.home-interactive-geoscience__head h2 {
  margin: 0;
  white-space: nowrap;
}

.home-interactive-geoscience__head h2::after {
  content: "-";
  display: inline-block;
  margin-left: clamp(.55rem, 1vw, .85rem);
  color: var(--accent);
  font-weight: 700;
}

.home-interactive-geoscience__head p {
  min-width: 0;
  max-width: none;
  margin: 0;
  line-height: 1.48;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.home-interactive-geoscience__head > a {
  white-space: nowrap;
}

@media (max-width: 980px) {
  .home-interactive-geoscience__head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .home-interactive-geoscience__head > a {
    width: fit-content;
  }
}

@media (max-width: 720px) {
  .home-interactive-geoscience__head > div {
    display: block;
  }

  .home-interactive-geoscience__head .eyebrow {
    display: block;
    margin-bottom: .42rem;
  }

  .home-interactive-geoscience__head h2 {
    white-space: normal;
  }

  .home-interactive-geoscience__head h2::after,
  .home-interactive-geoscience__head p {
    display: none;
  }
}

/* Warga JMG: rapatkan jarak baris tajuk motivasi pada kad akses utama. */
.staff-primary-panel h2[data-staff-motivation],
.staff-primary-panel h2 {
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

@media (max-width: 720px) {
  .staff-primary-panel h2[data-staff-motivation],
  .staff-primary-panel h2 {
    line-height: 1.12;
    letter-spacing: -0.025em;
  }
}

/* v2.96: Pautan pantas FAQ, Hubungi Kami, Aduan dan Peta Laman sebagai panel sisi gelongsor. */
@media (min-width: 62.01rem) {
  .site-header .header-quick-links {
    position: fixed !important;
    left: 0 !important;
    top: 50% !important;
    z-index: 1250 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: .48rem !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: visible !important;
    transform: translateY(-50%);
    pointer-events: none;
  }

  .site-header .header-quick-links .header-quick-link {
    --quick-link-accent: #1678ba;
    pointer-events: auto;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    min-width: 3.15rem !important;
    max-width: 3.15rem !important;
    min-height: 3.15rem !important;
    padding: .42rem .55rem !important;
    gap: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    border: 1px solid rgba(12, 72, 118, .17) !important;
    border-left: 0 !important;
    border-radius: 0 999px 999px 0 !important;
    background: rgba(255, 255, 255, .97) !important;
    color: #0a3458 !important;
    box-shadow: 0 .55rem 1.35rem rgba(4, 41, 72, .15) !important;
    transform: translateX(-.18rem);
    transition:
      max-width .38s cubic-bezier(.22, .8, .28, 1),
      padding-right .38s cubic-bezier(.22, .8, .28, 1),
      transform .26s ease,
      background-color .2s ease,
      border-color .2s ease,
      box-shadow .2s ease !important;
  }

  .site-header .header-quick-links .header-quick-link:nth-child(1) { --quick-link-accent: #1678ba; }
  .site-header .header-quick-links .header-quick-link:nth-child(2) { --quick-link-accent: #078879; }
  .site-header .header-quick-links .header-quick-link:nth-child(3) { --quick-link-accent: #d49314; }
  .site-header .header-quick-links .header-quick-link:nth-child(4) { --quick-link-accent: #6756b3; }

  .site-header .header-quick-links .header-quick-link::after {
    content: "";
    position: absolute;
    inset: .5rem auto .5rem 0;
    width: .2rem;
    border-radius: 0 999px 999px 0;
    background: var(--quick-link-accent);
    opacity: .95;
  }

  .site-header .header-quick-links .header-quick-link:hover,
  .site-header .header-quick-links .header-quick-link:focus-visible {
    max-width: 18rem !important;
    padding-right: 1rem !important;
    transform: translateX(0);
    border-color: color-mix(in srgb, var(--quick-link-accent) 35%, white) !important;
    background: #fff !important;
    box-shadow: 0 .85rem 1.9rem rgba(4, 41, 72, .22) !important;
    text-decoration: none !important;
  }

  .site-header .header-quick-links .quick-link-icon {
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 2.08rem !important;
    width: 2.08rem !important;
    height: 2.08rem !important;
    margin: 0 !important;
    border-radius: .7rem;
    background: color-mix(in srgb, var(--quick-link-accent) 11%, white);
  }

  .site-header .header-quick-links .quick-link-icon--desktop {
    display: inline-grid !important;
  }

  .site-header .header-quick-links .quick-link-icon--mobile {
    display: none !important;
  }

  .site-header .header-quick-links .quick-link-icon img {
    width: 1.55rem !important;
    height: 1.55rem !important;
    object-fit: contain;
    transition: transform .3s ease !important;
  }

  .site-header .header-quick-links .header-quick-link:hover .quick-link-icon img,
  .site-header .header-quick-links .header-quick-link:focus-visible .quick-link-icon img {
    transform: scale(1.06) !important;
  }

  .site-header .header-quick-links .quick-link-label {
    display: inline-block !important;
    max-width: 0 !important;
    margin-left: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    color: #0a3458 !important;
    font-size: .86rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    transform: translateX(-.55rem);
    transition:
      max-width .38s cubic-bezier(.22, .8, .28, 1),
      margin-left .38s cubic-bezier(.22, .8, .28, 1),
      opacity .2s ease .06s,
      transform .38s cubic-bezier(.22, .8, .28, 1) !important;
  }

  .site-header .header-quick-links .header-quick-link:hover .quick-link-label,
  .site-header .header-quick-links .header-quick-link:focus-visible .quick-link-label {
    max-width: 14rem !important;
    margin-left: .62rem !important;
    opacity: 1 !important;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) and (min-width: 62.01rem) {
  .site-header .header-quick-links .header-quick-link,
  .site-header .header-quick-links .quick-link-label,
  .site-header .header-quick-links .quick-link-icon img {
    transition-duration: .01ms !important;
  }
}

/* v2.97: Pulihkan pautan pantas dalam header. Semua ikon kekal pada kedudukan asal;
   hanya label pautan yang sedang dihover/fokus muncul secara gelongsor di sisi ikon. */
@media (min-width: 62.01rem) {
  .site-header .header-quick-links {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    z-index: auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: .38rem !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 0 0 .7rem !important;
    border: 0 !important;
    border-left: .16rem solid var(--green) !important;
    overflow: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    isolation: isolate;
  }

  .site-header .header-quick-links .header-quick-link {
    --quick-link-accent: var(--brand);
    position: relative !important;
    z-index: 1 !important;
    pointer-events: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 2.58rem !important;
    width: 2.58rem !important;
    min-width: 2.58rem !important;
    max-width: 2.58rem !important;
    min-height: 2.58rem !important;
    padding: .28rem !important;
    gap: 0 !important;
    overflow: visible !important;
    white-space: nowrap !important;
    border: 1px solid var(--line) !important;
    border-radius: 999rem !important;
    background: #fff !important;
    color: var(--brand-deep) !important;
    box-shadow: none !important;
    transform: none !important;
    transition: border-color .18s ease, background-color .18s ease,
      box-shadow .18s ease, transform .18s ease !important;
  }

  .site-header .header-quick-links .header-quick-link::after {
    content: none !important;
  }

  .site-header .header-quick-links .header-quick-link:hover,
  .site-header .header-quick-links .header-quick-link:focus-visible {
    width: 2.58rem !important;
    min-width: 2.58rem !important;
    max-width: 2.58rem !important;
    padding: .28rem !important;
    border-color: var(--accent) !important;
    background: var(--accent-soft) !important;
    box-shadow: 0 .75rem 1.4rem rgba(15,42,64,.12) !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
    z-index: 30 !important;
  }

  .site-header .header-quick-links .quick-link-icon {
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 2rem !important;
    width: 2rem !important;
    height: 2rem !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  .site-header .header-quick-links .quick-link-icon--desktop {
    display: inline-grid !important;
  }

  .site-header .header-quick-links .quick-link-icon--mobile {
    display: none !important;
  }

  .site-header .header-quick-links .quick-link-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    transform: none !important;
    transition: transform .2s ease !important;
  }

  .site-header .header-quick-links .header-quick-link:hover .quick-link-icon img,
  .site-header .header-quick-links .header-quick-link:focus-visible .quick-link-icon img {
    transform: scale(1.04) !important;
  }

  .site-header .header-quick-links .quick-link-label {
    position: absolute !important;
    left: calc(100% + .48rem) !important;
    right: auto !important;
    top: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 2.12rem !important;
    width: max-content !important;
    max-width: min(18rem, 58vw) !important;
    margin: 0 !important;
    padding: .42rem .72rem !important;
    overflow: visible !important;
    border: 1px solid rgba(13,77,120,.16) !important;
    border-radius: 999rem !important;
    background: rgba(255,255,255,.99) !important;
    color: var(--brand-deep) !important;
    box-shadow: 0 .9rem 1.8rem rgba(15,42,64,.14) !important;
    font-size: .82rem !important;
    font-weight: 850 !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translate3d(-.42rem,-50%,0) scale(.98) !important;
    transform-origin: left center !important;
    transition: opacity .18s ease,
      transform .24s cubic-bezier(.2,.7,.2,1),
      visibility 0s linear .24s !important;
  }

  .site-header .header-quick-links .quick-link-label::before {
    content: "";
    position: absolute;
    left: -.28rem;
    right: auto;
    top: 50%;
    width: .55rem;
    height: .55rem;
    border-left: 1px solid rgba(13,77,120,.16);
    border-bottom: 1px solid rgba(13,77,120,.16);
    border-right: 0;
    border-top: 0;
    background: rgba(255,255,255,.99);
    transform: translateY(-50%) rotate(45deg);
  }

  .site-header .header-quick-links .header-quick-link:hover .quick-link-label,
  .site-header .header-quick-links .header-quick-link:focus-visible .quick-link-label {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate3d(0,-50%,0) scale(1) !important;
    transition-delay: 0s !important;
  }

  /* Dua ikon terakhir memaparkan label ke kiri supaya tidak terkeluar dari skrin. */
  .site-header .header-quick-links .header-quick-link:nth-last-child(-n+2) .quick-link-label {
    left: auto !important;
    right: calc(100% + .48rem) !important;
    transform: translate3d(.42rem,-50%,0) scale(.98) !important;
    transform-origin: right center !important;
  }

  .site-header .header-quick-links .header-quick-link:nth-last-child(-n+2) .quick-link-label::before {
    left: auto !important;
    right: -.28rem !important;
    border-left: 0 !important;
    border-bottom: 0 !important;
    border-right: 1px solid rgba(13,77,120,.16) !important;
    border-top: 1px solid rgba(13,77,120,.16) !important;
  }

  .site-header .header-quick-links .header-quick-link:nth-last-child(-n+2):hover .quick-link-label,
  .site-header .header-quick-links .header-quick-link:nth-last-child(-n+2):focus-visible .quick-link-label {
    transform: translate3d(0,-50%,0) scale(1) !important;
  }
}

@media (prefers-reduced-motion: reduce) and (min-width: 62.01rem) {
  .site-header .header-quick-links .header-quick-link,
  .site-header .header-quick-links .quick-link-label,
  .site-header .header-quick-links .quick-link-icon img {
    transition-duration: .01ms !important;
  }
}

/* v2.98: Semua label pautan pantas muncul di sebelah kiri ikon.
   Ikon kekal pada kedudukan asal dan garis pemisah hijau dibuang. */
@media (min-width: 62.01rem) {
  .site-header .header-quick-links {
    border-left: 0 !important;
    padding-left: 0 !important;
  }

  .site-header .header-quick-links .quick-link-label,
  .site-header .header-quick-links .header-quick-link:nth-last-child(-n+2) .quick-link-label {
    left: auto !important;
    right: calc(100% + .48rem) !important;
    transform: translate3d(.42rem, -50%, 0) scale(.98) !important;
    transform-origin: right center !important;
  }

  .site-header .header-quick-links .quick-link-label::before,
  .site-header .header-quick-links .header-quick-link:nth-last-child(-n+2) .quick-link-label::before {
    left: auto !important;
    right: -.28rem !important;
    border-left: 0 !important;
    border-bottom: 0 !important;
    border-right: 1px solid rgba(13,77,120,.16) !important;
    border-top: 1px solid rgba(13,77,120,.16) !important;
  }

  .site-header .header-quick-links .header-quick-link:hover .quick-link-label,
  .site-header .header-quick-links .header-quick-link:focus-visible .quick-link-label,
  .site-header .header-quick-links .header-quick-link:nth-last-child(-n+2):hover .quick-link-label,
  .site-header .header-quick-links .header-quick-link:nth-last-child(-n+2):focus-visible .quick-link-label {
    transform: translate3d(0, -50%, 0) scale(1) !important;
  }
}


/* JMG interactive institutional history */
.jmg-history-section{position:relative;overflow:hidden;padding-top:4.5rem;padding-bottom:4.5rem;background:linear-gradient(145deg,#eef7fb 0%,#fff 48%,#f4f8ed 100%)}
.jmg-history-heading{align-items:end}.jmg-history-heading>p{max-width:50rem;margin:0;color:#52657a}
.jmg-history-app{position:relative;isolation:isolate;border-radius:30px;overflow:hidden;background:#061d35;color:#fff;box-shadow:0 24px 70px rgba(3,30,62,.2)}
.jmg-history-visual{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1;background:radial-gradient(circle at 76% 20%,rgba(35,177,163,.25),transparent 35%),linear-gradient(135deg,#031a35,#083f64 55%,#08776e)}
.jmg-history-strata{position:absolute;inset:auto -8% -22% -8%;height:65%;transform:rotate(-4deg)}.jmg-history-strata i{display:block;height:20%;border-top:1px solid rgba(255,255,255,.12);background:linear-gradient(90deg,rgba(8,37,72,.6),rgba(29,152,143,.16),rgba(237,174,48,.1));clip-path:polygon(0 28%,18% 4%,38% 35%,60% 9%,78% 35%,100% 5%,100% 100%,0 100%)}
.jmg-history-orbit span{position:absolute;border:1px solid rgba(255,255,255,.12);border-radius:50%}.jmg-history-orbit span:nth-child(1){width:520px;height:520px;right:-120px;top:-270px}.jmg-history-orbit span:nth-child(2){width:360px;height:360px;right:-30px;top:-190px}.jmg-history-orbit span:nth-child(3){width:210px;height:210px;right:55px;top:-110px}
.jmg-history-year-ghost{position:absolute;right:3%;bottom:-4%;font-size:clamp(8rem,24vw,25rem);font-weight:900;line-height:.8;color:rgba(255,255,255,.08);letter-spacing:-.08em}
.jmg-history-toolbar{display:flex;gap:.75rem;align-items:center;padding:1.1rem 1.25rem;border-bottom:1px solid rgba(255,255,255,.14);background:rgba(4,28,53,.7);backdrop-filter:blur(12px)}
.jmg-history-control,.jmg-history-play{border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);color:#fff;border-radius:999px;min-height:44px;padding:0 1rem;font-weight:750;cursor:pointer}.jmg-history-control{width:44px;padding:0}.jmg-history-play.is-playing{background:#e7a92d;color:#061d35;border-color:#e7a92d}.jmg-history-jump{margin-left:auto;display:flex;gap:.65rem;align-items:center;font-size:.86rem;font-weight:700}.jmg-history-jump input{width:92px;border:1px solid rgba(255,255,255,.25);background:#fff;color:#0a2949;border-radius:10px;padding:.55rem .65rem;font-weight:800}
.jmg-history-stage{display:grid;grid-template-columns:minmax(280px,.82fr) minmax(0,1.4fr);gap:1px;background:rgba(255,255,255,.14)}
.jmg-history-year-panel,.jmg-history-detail{background:rgba(5,31,56,.72);backdrop-filter:blur(12px);padding:clamp(1.4rem,4vw,3.2rem)}
.jmg-history-kicker{display:block;color:#f2b538;font-weight:850;letter-spacing:.13em;text-transform:uppercase}.jmg-history-year{display:block;margin:.35rem 0 1.4rem;font-size:clamp(4.5rem,11vw,9rem);line-height:.8;letter-spacing:-.07em}
.jmg-history-progress{height:6px;background:rgba(255,255,255,.14);border-radius:99px;overflow:hidden}.jmg-history-progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,#e7ad30,#42c7ac)}
.jmg-history-range{width:100%;margin:1.35rem 0 .45rem;accent-color:#e7ad30}.jmg-history-range-labels{display:flex;justify-content:space-between;font-size:.68rem;color:rgba(255,255,255,.64)}
.jmg-history-meta{display:flex;flex-wrap:wrap;gap:.55rem;margin-bottom:1rem}.jmg-history-meta span{padding:.42rem .68rem;border-radius:999px;background:rgba(255,255,255,.1);font-size:.72rem;font-weight:780;letter-spacing:.05em}.jmg-history-meta span:last-child{background:rgba(231,173,48,.18);color:#ffd98a}
.jmg-history-detail h3{max-width:42rem;margin:.2rem 0 .8rem;font-size:clamp(1.55rem,3vw,2.5rem);line-height:1.08}.jmg-history-detail>p{max-width:52rem;color:rgba(255,255,255,.78);line-height:1.72}
.jmg-history-leader-card{display:grid;gap:.2rem;margin:1.35rem 0;padding:1rem 1.1rem;border-left:4px solid #e7ad30;border-radius:0 14px 14px 0;background:rgba(255,255,255,.08)}.jmg-history-leader-card span{font-size:.68rem;letter-spacing:.12em;color:#9edfd7;font-weight:800}.jmg-history-leader-card strong{font-size:1.08rem}.jmg-history-leader-card small{color:rgba(255,255,255,.65)}
.jmg-history-events{margin:1rem 0;padding-left:1.2rem}.jmg-history-events li{margin:.45rem 0;color:#f5f8fb}.jmg-history-source-note{font-size:.74rem!important;color:rgba(255,255,255,.5)!important}
.jmg-history-year-strip{display:flex;gap:.35rem;padding:1rem 1.25rem;overflow-x:auto;scrollbar-width:thin;background:rgba(1,18,35,.84)}.jmg-history-year-chip{flex:0 0 auto;border:0;border-radius:8px;background:transparent;color:rgba(255,255,255,.48);padding:.45rem .55rem;font-size:.72rem;cursor:pointer}.jmg-history-year-chip.is-milestone{color:#ffce69;background:rgba(231,173,48,.1)}.jmg-history-year-chip.is-active{background:#fff;color:#063052;font-weight:900;transform:translateY(-2px)}
.jmg-history-app[data-era=origin] .jmg-history-visual{filter:hue-rotate(-18deg)}.jmg-history-app[data-era=survey] .jmg-history-visual{filter:hue-rotate(0deg)}.jmg-history-app[data-era=jmg] .jmg-history-visual{filter:hue-rotate(14deg)}
@media(max-width:820px){.jmg-history-stage{grid-template-columns:1fr}.jmg-history-year-panel{padding-bottom:1.6rem}.jmg-history-year{font-size:5rem}.jmg-history-toolbar{flex-wrap:wrap}.jmg-history-jump{width:100%;margin-left:0;justify-content:space-between}.jmg-history-heading>p{display:none}}
@media(max-width:520px){.jmg-history-section{padding-block:2.6rem}.jmg-history-app{border-radius:20px}.jmg-history-toolbar{padding:.8rem}.jmg-history-play{flex:1}.jmg-history-range-labels span:nth-child(2),.jmg-history-range-labels span:nth-child(4){display:none}.jmg-history-detail,.jmg-history-year-panel{padding:1.25rem}.jmg-history-year-strip{padding:.8rem}}
@media(prefers-reduced-motion:reduce){.jmg-history-app *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Sejarah dan Evolusi JMG: versi ringkas berdasarkan panel Muzium Geologi Ipoh */
.jmg-history-section{position:relative;overflow:hidden;padding-block:4.5rem;background:linear-gradient(145deg,#eef7fb 0%,#fff 48%,#f6f8ee 100%)}
.jmg-history-heading{align-items:end}.jmg-history-heading>p{max-width:58rem;margin:0;color:#52657a}
.jmg-history-app{position:relative;isolation:isolate;border-radius:30px;overflow:hidden;background:#061d35;color:#fff;box-shadow:0 24px 70px rgba(3,30,62,.2)}
.jmg-history-visual{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1;background:radial-gradient(circle at 76% 20%,rgba(35,177,163,.25),transparent 35%),linear-gradient(135deg,#031a35,#083f64 55%,#08776e)}
.jmg-history-section[data-era=mines] .jmg-history-visual,.jmg-history-app[data-era=mines] .jmg-history-visual{background:radial-gradient(circle at 76% 20%,rgba(238,173,61,.22),transparent 35%),linear-gradient(135deg,#2a170c,#5b3419 56%,#8c5a28)}
.jmg-history-section[data-era=jmg] .jmg-history-visual,.jmg-history-app[data-era=jmg] .jmg-history-visual{background:radial-gradient(circle at 76% 20%,rgba(42,196,160,.24),transparent 35%),linear-gradient(135deg,#042649,#075b8f 52%,#0c8a74)}
.jmg-history-strata{position:absolute;inset:auto -8% -20% -8%;height:56%;transform:rotate(-4deg)}
.jmg-history-strata i{display:block;height:25%;border-top:1px solid rgba(255,255,255,.12);background:linear-gradient(90deg,rgba(8,37,72,.64),rgba(29,152,143,.18),rgba(237,174,48,.12));clip-path:polygon(0 28%,18% 4%,38% 35%,60% 9%,78% 35%,100% 5%,100% 100%,0 100%)}
.jmg-history-orbit span{position:absolute;border:1px solid rgba(255,255,255,.12);border-radius:50%}.jmg-history-orbit span:nth-child(1){width:520px;height:520px;right:-120px;top:-270px}.jmg-history-orbit span:nth-child(2){width:360px;height:360px;right:-30px;top:-190px}.jmg-history-orbit span:nth-child(3){width:210px;height:210px;right:55px;top:-110px}
.jmg-history-tabs{display:flex;gap:.7rem;align-items:center;padding:1rem 1.1rem;border-bottom:1px solid rgba(255,255,255,.14);background:rgba(3,24,45,.72);backdrop-filter:blur(14px);overflow-x:auto;scrollbar-width:thin}
.jmg-history-tab{flex:0 0 auto;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);color:#fff;border-radius:999px;padding:.8rem 1rem;font-weight:850;font-size:.86rem;letter-spacing:.01em;cursor:pointer;transition:transform .22s ease,background .22s ease,color .22s ease,border-color .22s ease}
.jmg-history-tab:hover,.jmg-history-tab:focus-visible{transform:translateY(-1px);background:rgba(255,255,255,.16);outline:0}.jmg-history-tab.is-active{background:#fff;color:#082b48;border-color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.15)}
.jmg-history-stage{display:grid!important;grid-template-columns:minmax(240px,.65fr) minmax(0,1.7fr)!important;gap:1px!important;background:rgba(255,255,255,.14)!important;outline:0}
.jmg-history-dept-card,.jmg-history-column{background:rgba(5,31,56,.76);backdrop-filter:blur(12px)}
.jmg-history-dept-card{display:flex;flex-direction:column;justify-content:space-between;min-height:420px;padding:clamp(1.35rem,3vw,2.3rem)}
.jmg-history-kicker{display:block;color:#f2b538;font-weight:850;letter-spacing:.13em;text-transform:uppercase;font-size:.78rem}.jmg-history-dept-card strong{display:block;margin:1rem 0 .35rem;font-size:clamp(2rem,4vw,4.5rem);line-height:.92;letter-spacing:-.06em}.jmg-history-dept-card small{display:block;color:#9edfd7;font-weight:800}.jmg-history-dept-card p{max-width:26rem;margin-top:auto;color:rgba(255,255,255,.72);line-height:1.65}
.jmg-history-columns{display:grid;grid-template-columns:1fr .95fr;gap:1px;background:rgba(255,255,255,.12)}
.jmg-history-column{padding:clamp(1.25rem,3vw,2rem)}
.jmg-history-column-head{display:flex;align-items:center;gap:.85rem;margin-bottom:1rem}.jmg-history-column-head span{display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:rgba(255,255,255,.11);color:#f2b538;font-weight:900}.jmg-history-column-head h3{margin:0;color:#fff;font-size:1.2rem;line-height:1.2}
.jmg-history-list,.jmg-history-leader-list{display:grid;gap:.65rem}.jmg-history-event-card,.jmg-history-leader-item{border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.075);border-radius:18px;padding:.9rem 1rem;box-shadow:0 12px 30px rgba(0,0,0,.08)}
.jmg-history-event-card{display:grid;grid-template-columns:84px minmax(0,1fr);gap:.8rem;align-items:start}.jmg-history-event-card strong{font-size:1.35rem;color:#ffd172;line-height:1}.jmg-history-event-card p{margin:0;color:rgba(255,255,255,.82);line-height:1.62}
.jmg-history-leader-item{display:flex;align-items:center;justify-content:space-between;gap:.8rem}.jmg-history-leader-item strong{color:#fff;font-size:.98rem}.jmg-history-leader-item span{flex:0 0 auto;color:#9edfd7;font-weight:850;background:rgba(158,223,215,.11);border-radius:999px;padding:.34rem .6rem;font-size:.78rem}
.jmg-history-source-note{margin:0;padding:1rem 1.25rem;background:rgba(1,18,35,.84);color:rgba(255,255,255,.62)!important;font-size:.78rem!important;line-height:1.55!important}
.jmg-history-app[data-era=survey] .jmg-history-tab.is-active{color:#082b48}.jmg-history-app[data-era=mines] .jmg-history-tab.is-active{color:#3a210f}.jmg-history-app[data-era=mines] .jmg-history-event-card strong,.jmg-history-app[data-era=mines] .jmg-history-column-head span,.jmg-history-app[data-era=mines] .jmg-history-kicker{color:#ffcf75}.jmg-history-app[data-era=jmg] .jmg-history-event-card strong,.jmg-history-app[data-era=jmg] .jmg-history-kicker{color:#77f0d1}
@media(max-width:1020px){.jmg-history-stage{grid-template-columns:1fr!important}.jmg-history-dept-card{min-height:auto}.jmg-history-columns{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.jmg-history-heading>p{display:none}.jmg-history-section{padding-block:2.8rem}.jmg-history-app{border-radius:22px}.jmg-history-tabs{padding:.8rem}.jmg-history-tab{font-size:.78rem;padding:.7rem .82rem}.jmg-history-columns{grid-template-columns:1fr}.jmg-history-dept-card,.jmg-history-column{padding:1.15rem}.jmg-history-dept-card strong{font-size:2.35rem}.jmg-history-event-card{grid-template-columns:1fr}.jmg-history-leader-item{align-items:flex-start;flex-direction:column}.jmg-history-source-note{padding:.9rem 1rem}}
@media(prefers-reduced-motion:reduce){.jmg-history-app *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Sejarah JMG: kemas kini kad kepimpinan dengan foto dan sumber ringkas */
.jmg-history-dept-card small[data-history-dept-subtitle]{display:none!important}
.jmg-history-leader-item{display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;align-items:center!important;justify-content:normal!important;gap:.85rem!important;min-height:88px!important}
.jmg-history-leader-photo{width:64px;height:64px;object-fit:cover;border-radius:18px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.12);box-shadow:0 12px 26px rgba(0,0,0,.18)}
.jmg-history-leader-meta{display:grid;gap:.32rem;min-width:0}
.jmg-history-leader-meta strong{display:block;color:#fff;font-size:.98rem;line-height:1.25}
.jmg-history-leader-meta span{justify-self:start;color:#9edfd7;font-weight:850;background:rgba(158,223,215,.11);border-radius:999px;padding:.34rem .6rem;font-size:.78rem;line-height:1.1}
.jmg-history-leader-meta small{display:block;color:rgba(255,255,255,.58);font-weight:650;line-height:1.35;font-size:.72rem}
.jmg-history-app[data-era=mines] .jmg-history-leader-meta span{color:#ffcf75;background:rgba(255,207,117,.12)}
.jmg-history-app[data-era=jmg] .jmg-history-leader-meta span{color:#77f0d1;background:rgba(119,240,209,.12)}
@media(max-width:720px){.jmg-history-leader-item{grid-template-columns:56px minmax(0,1fr)!important;min-height:78px!important}.jmg-history-leader-photo{width:56px;height:56px;border-radius:15px}.jmg-history-leader-meta small{font-size:.68rem}}


/* History section refinement v7 */
.jmg-history-dept-card strong{letter-spacing:0 !important;line-height:1.05 !important;font-size:clamp(1.95rem,3.15vw,3.2rem) !important;max-width:14ch;text-wrap:balance;}
.jmg-history-dept-logo-wrap{display:flex;align-items:center;justify-content:flex-start;margin:.9rem 0 1rem;}
.jmg-history-dept-logo-wrap[hidden]{display:none !important;}
.jmg-history-dept-logo{display:block;max-width:108px;max-height:108px;width:auto;height:auto;padding:.5rem;border-radius:20px;background:rgba(255,255,255,.97);box-shadow:0 16px 30px rgba(0,0,0,.18);}
.jmg-history-leader-photo{width:78px;height:78px;object-fit:cover;object-position:center 16%;border-radius:22px;}
.jmg-history-leader-item{align-items:center;grid-template-columns:78px minmax(0,1fr);gap:1rem;}
@media(max-width:720px){.jmg-history-dept-card strong{font-size:2rem !important;max-width:none}.jmg-history-dept-logo{max-width:92px;max-height:92px;border-radius:18px}.jmg-history-leader-photo{width:64px;height:64px;border-radius:18px}.jmg-history-leader-item{grid-template-columns:64px minmax(0,1fr)!important}}


/* History section refinement v8 */
.jmg-history-dept-logo{padding:0 !important;background:transparent !important;box-shadow:none !important;border:0 !important;border-radius:0 !important;}
.jmg-history-leader-meta small{display:none !important;}

/* v2.99: Warna menu utama dan child menu mengikut arahan JMG. */
.nav-shell {
  background: #14324A !important;
  color: #fff !important;
}

.primary-nav .nav-submenu {
  background: #274259 !important;
  border-color: rgba(255, 255, 255, .12) !important;
  box-shadow: 0 16px 34px rgba(20, 50, 74, .28) !important;
}

.primary-nav .nav-submenu a {
  color: #fff !important;
}

.primary-nav .nav-submenu a:hover,
.primary-nav .nav-submenu a:focus-visible,
.primary-nav .nav-submenu a[aria-current="page"] {
  background: rgba(255, 255, 255, .12) !important;
  border-left-color: var(--accent) !important;
  color: #fff !important;
}

@media (max-width: 62rem) {
  .primary-nav {
    background: #274259 !important;
  }

  .primary-nav .nav-submenu {
    background: rgba(255, 255, 255, .06) !important;
    box-shadow: none !important;
  }
}

/* v3.00: Warga JMG link without outer border and with lock icon before the label. */
.nav-warga-link {
  border: 0 !important;
  box-shadow: none !important;
  padding: .48rem .58rem .48rem .78rem !important;
  gap: .48rem !important;
}

.nav-warga-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: .42rem !important;
}

.nav-warga-label::before {
  content: "\1F512";
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: .88rem;
  line-height: 1;
  opacity: .88;
  transform: translateY(-.02rem);
}

.nav-warga-link:hover,
.nav-warga-link:focus-visible {
  border: 0 !important;
  box-shadow: 0 .45rem 1.05rem rgba(3,34,57,.14) !important;
}

.nav-warga-link:hover .nav-warga-label::before,
.nav-warga-link:focus-visible .nav-warga-label::before {
  opacity: 1;
}

@media (max-width: 62rem) {
  .nav-warga-link {
    border: 0 !important;
  }
}

/* v3.01: Replace emoji lock with a local SVG lock icon in a Flaticon-style treatment. */
.nav-warga-label::before {
  content: "" !important;
  width: 1rem !important;
  height: 1rem !important;
  flex: 0 0 1rem !important;
  display: inline-block !important;
  background-color: currentColor !important;
  -webkit-mask: url("../icons/ui/lock-flaticon-style.svg") center / contain no-repeat !important;
  mask: url("../icons/ui/lock-flaticon-style.svg") center / contain no-repeat !important;
  opacity: .94 !important;
  transform: translateY(-.015rem) !important;
}

.nav-warga-link:hover .nav-warga-label::before,
.nav-warga-link:focus-visible .nav-warga-label::before {
  opacity: 1 !important;
}

@media (max-width: 42rem) {
  .nav-warga-label::before {
    width: .92rem !important;
    height: .92rem !important;
    flex-basis: .92rem !important;
  }
}


/* v3.02: Seismic hazard map callout for geohazard and publications pages. */
.seismic-map-section {
  padding-top: clamp(2.4rem, 5vw, 4.2rem);
}

.seismic-map-card {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(18rem, .72fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
  border: 1px solid rgba(30, 73, 102, .14);
  border-radius: 1.35rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(246, 178, 48, .13), transparent 20rem),
    linear-gradient(135deg, #ffffff 0%, #f6fbfd 60%, #eef8f1 100%);
  box-shadow: 0 1.25rem 2.8rem rgba(15,42,64,.08);
}

.seismic-map-copy {
  padding: clamp(1.2rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.seismic-map-copy h2 {
  margin: .25rem 0 .75rem;
  max-width: 13ch;
  color: var(--brand-deep);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.seismic-map-copy p {
  max-width: 64ch;
  color: #354b5e;
  line-height: 1.68;
}

.seismic-zone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin: 1.15rem 0 1.25rem;
}

.seismic-zone-grid article {
  position: relative;
  min-height: 5.8rem;
  padding: .85rem .85rem .8rem;
  border: 1px solid rgba(30, 73, 102, .11);
  border-radius: .95rem;
  background: rgba(255,255,255,.78);
  box-shadow: 0 .5rem 1.2rem rgba(15,42,64,.045);
}

.seismic-zone-grid strong,
.seismic-zone-grid small {
  display: block;
}

.seismic-zone-grid strong {
  margin-bottom: .32rem;
  color: var(--ink);
  font-size: .96rem;
  line-height: 1.25;
}

.seismic-zone-grid small {
  color: #5b6f7b;
  font-weight: 600;
  line-height: 1.4;
}

.seismic-zone-dot {
  display: inline-block;
  width: .78rem;
  height: .78rem;
  margin: 0 .38rem .02rem 0;
  border-radius: .24rem;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 .25rem .55rem rgba(0,0,0,.08);
  vertical-align: middle;
}

.seismic-zone-dot--green { background: #66f01f; }
.seismic-zone-dot--yellow { background: #fff21f; }
.seismic-zone-dot--orange { background: #ffa313; }
.seismic-zone-dot--red { background: #f51d1d; }

.seismic-map-actions {
  margin-top: .25rem;
}

.seismic-map-preview {
  position: relative;
  min-height: 100%;
  margin: 0;
  background: #e9eff2;
  border-left: 1px solid rgba(30, 73, 102, .12);
}

.seismic-map-preview a,
.seismic-map-preview img {
  display: block;
  width: 100%;
  height: 100%;
}

.seismic-map-preview img {
  min-height: 24rem;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.02);
}

.seismic-map-preview figcaption {
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: .9rem;
  padding: .55rem .72rem;
  border-radius: .75rem;
  background: rgba(5,32,50,.78);
  color: #fff;
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.35;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.publication-cover-has-image img[src*="peta-zon-bencana-seismik"] {
  object-fit: cover;
  object-position: center;
}

@media (max-width: 980px) {
  .seismic-map-card {
    grid-template-columns: 1fr;
  }
  .seismic-map-preview {
    border-left: 0;
    border-top: 1px solid rgba(30, 73, 102, .12);
  }
}

@media (max-width: 620px) {
  .seismic-zone-grid {
    grid-template-columns: 1fr;
  }
  .seismic-map-copy h2 {
    max-width: none;
  }
  .seismic-map-preview img {
    min-height: 16rem;
  }
}


/* v3.03: Improved UI/UX for the seismic hazard map feature block. */
.seismic-map-section--enhanced {
  padding-top: clamp(2.8rem, 5vw, 4.8rem) !important;
}

.seismic-map-card--enhanced {
  position: relative;
  grid-template-columns: minmax(0, .92fr) minmax(19rem, .82fr) !important;
  gap: 0 !important;
  border: 1px solid rgba(31, 75, 102, .12) !important;
  border-radius: 1.55rem !important;
  background:
    radial-gradient(circle at 10% 6%, rgba(248, 178, 48, .18), transparent 18rem),
    radial-gradient(circle at 68% 22%, rgba(37, 187, 181, .11), transparent 24rem),
    linear-gradient(135deg, #ffffff 0%, #f7fbfd 48%, #eff8f4 100%) !important;
  box-shadow:
    0 1.6rem 3.8rem rgba(10, 35, 56, .10),
    inset 0 1px 0 rgba(255,255,255,.82) !important;
}

.seismic-map-card--enhanced::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: .34rem;
  background: linear-gradient(180deg, #79ec2e 0%, #fff226 34%, #ffa313 68%, #f51d1d 100%);
  opacity: .92;
}

.seismic-map-card--enhanced .seismic-map-copy {
  padding: clamp(1.4rem, 3.3vw, 2.45rem) clamp(1.35rem, 3.2vw, 2.55rem) !important;
}

.seismic-map-card--enhanced .seismic-map-copy h2 {
  max-width: 15ch !important;
  margin-top: .32rem !important;
  margin-bottom: .8rem !important;
  font-size: clamp(1.8rem, 3.3vw, 2.75rem) !important;
  line-height: 1.02 !important;
}

.seismic-map-lede {
  max-width: 62ch !important;
  margin-bottom: 1rem !important;
  color: #2f4a5e !important;
  font-size: clamp(.95rem, 1.12vw, 1.05rem) !important;
  line-height: 1.65 !important;
}

.seismic-map-metrics,
.seismic-map-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .9rem 0 1rem;
}

.seismic-map-metrics span,
.seismic-map-benefits span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: .45rem .68rem;
  border: 1px solid rgba(31, 75, 102, .10);
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  color: #25465d;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .01em;
  box-shadow: 0 .45rem 1rem rgba(10, 35, 56, .045);
}

.seismic-map-benefits {
  margin-top: .2rem;
  margin-bottom: 1.1rem;
}

.seismic-map-benefits span {
  border-color: rgba(226, 154, 25, .18);
  background: rgba(255, 248, 231, .74);
  color: #7a5210;
}

.seismic-zone-grid--compact {
  gap: .62rem !important;
  margin: .9rem 0 1rem !important;
}

.seismic-zone-grid--compact article {
  min-height: auto !important;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: .62rem;
  align-items: start;
  padding: .82rem .88rem !important;
  border-color: rgba(31, 75, 102, .10) !important;
  background: rgba(255,255,255,.86) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.seismic-zone-grid--compact article:hover {
  transform: translateY(-2px);
  border-color: rgba(226, 154, 25, .24) !important;
  box-shadow: 0 .75rem 1.4rem rgba(10, 35, 56, .08) !important;
}

.seismic-zone-grid--compact .seismic-zone-dot {
  grid-row: 1 / span 2;
  width: .74rem !important;
  height: .74rem !important;
  margin: .2rem 0 0 !important;
  border-radius: .2rem !important;
}

.seismic-zone-grid--compact strong {
  margin-bottom: .18rem !important;
  font-size: .9rem !important;
}

.seismic-zone-grid--compact small {
  color: #607688 !important;
  font-size: .78rem !important;
  font-weight: 640 !important;
}

.seismic-map-actions {
  gap: .72rem !important;
}

.seismic-map-actions .button {
  border-color: #14324A !important;
  background: #14324A !important;
  color: #fff !important;
  box-shadow: 0 .8rem 1.45rem rgba(20, 50, 74, .16) !important;
}

.seismic-map-actions .button:hover,
.seismic-map-actions .button:focus-visible {
  transform: translateY(-2px);
  background: #0f283d !important;
  color: #fff !important;
}

.seismic-map-actions .button.outline {
  border-color: rgba(20, 50, 74, .22) !important;
  background: rgba(255,255,255,.78) !important;
  color: #14324A !important;
  box-shadow: none !important;
}

.seismic-map-actions .button.outline:hover,
.seismic-map-actions .button.outline:focus-visible {
  border-color: rgba(226, 154, 25, .40) !important;
  background: #fff8e7 !important;
  color: #14324A !important;
}

.seismic-map-preview--polished {
  min-height: 100% !important;
  border-left: 1px solid rgba(31, 75, 102, .11) !important;
  background:
    linear-gradient(135deg, #f7fafb 0%, #eef4f6 100%) !important;
  overflow: hidden;
}

.seismic-map-preview--polished::before {
  content: "";
  position: absolute;
  inset: 1.05rem;
  border: 1px solid rgba(31, 75, 102, .10);
  border-radius: 1rem;
  background:
    linear-gradient(90deg, rgba(20,50,74,.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(20,50,74,.045) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}

.seismic-map-preview--polished a {
  position: relative;
  height: 100%;
  min-height: 30rem;
  display: grid !important;
  place-items: center;
  padding: clamp(.8rem, 2vw, 1.4rem);
  z-index: 1;
}

.seismic-map-preview--polished img {
  width: 100% !important;
  height: auto !important;
  max-height: 29rem;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: .95rem;
  background: #fff;
  box-shadow: 0 1rem 2.2rem rgba(10, 35, 56, .12);
  transition: transform .25s ease, box-shadow .25s ease;
}

.seismic-map-preview--polished a:hover img,
.seismic-map-preview--polished a:focus-visible img {
  transform: scale(1.018);
  box-shadow: 0 1.2rem 2.8rem rgba(10, 35, 56, .17);
}

.seismic-map-preview-badge {
  position: absolute;
  top: 1.45rem;
  right: 1.45rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .68rem;
  border-radius: 999px;
  background: rgba(20, 50, 74, .88);
  color: #fff;
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .01em;
  box-shadow: 0 .7rem 1.3rem rgba(10, 35, 56, .16);
}

.seismic-map-preview-badge::before {
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: 999px;
  background: #f0b433;
  box-shadow: 0 0 0 .25rem rgba(240,180,51,.16);
}

.seismic-map-preview--polished figcaption {
  left: 1.45rem !important;
  right: 1.45rem !important;
  bottom: 1.35rem !important;
  z-index: 2;
  padding: .7rem .82rem !important;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: .9rem !important;
  background: rgba(20,50,74,.82) !important;
  color: rgba(255,255,255,.96) !important;
  font-size: .82rem !important;
  font-weight: 650 !important;
}

@media (max-width: 980px) {
  .seismic-map-card--enhanced {
    grid-template-columns: 1fr !important;
  }

  .seismic-map-preview--polished {
    border-left: 0 !important;
    border-top: 1px solid rgba(31, 75, 102, .11) !important;
  }

  .seismic-map-preview--polished a {
    min-height: 22rem;
  }
}

@media (max-width: 620px) {
  .seismic-map-card--enhanced .seismic-map-copy {
    padding: 1.2rem !important;
  }

  .seismic-map-metrics span,
  .seismic-map-benefits span {
    font-size: .72rem;
    min-height: 1.8rem;
  }

  .seismic-map-preview--polished a {
    min-height: 17rem;
    padding: .8rem;
  }

  .seismic-map-preview-badge {
    top: 1rem;
    right: 1rem;
    font-size: .68rem;
  }

  .seismic-map-preview--polished figcaption {
    left: 1rem !important;
    right: 1rem !important;
    bottom: 1rem !important;
    font-size: .72rem !important;
  }
}


/* v3.05: Cleaner seismic map block; PDF action sits below the map preview. */
.seismic-map-benefits {
  display: none !important;
}

.seismic-map-preview--polished {
  display: flex !important;
  flex-direction: column !important;
}

.seismic-map-preview--polished > a {
  flex: 1 1 auto !important;
  min-height: 27rem !important;
}

.seismic-map-preview-actions {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 0 clamp(1rem, 2vw, 1.45rem) clamp(1rem, 2vw, 1.35rem);
}

.seismic-map-preview-actions .button {
  width: min(100%, 16rem);
  justify-content: center;
  border-color: #14324A !important;
  background: #14324A !important;
  color: #fff !important;
  box-shadow: 0 .8rem 1.45rem rgba(20, 50, 74, .16) !important;
}

.seismic-map-preview-actions .button:hover,
.seismic-map-preview-actions .button:focus-visible {
  transform: translateY(-2px);
  background: #0f283d !important;
  color: #fff !important;
}

@media (max-width: 980px) {
  .seismic-map-preview--polished > a {
    min-height: 20rem !important;
  }
}

@media (max-width: 620px) {
  .seismic-map-preview--polished > a {
    min-height: 16rem !important;
  }

  .seismic-map-preview-actions {
    padding-bottom: .85rem;
  }
}


/* v3.06: Fix seismic PDF button sizing and remove leftover search-action spacing. */
.seismic-map-card--enhanced .seismic-map-actions:empty,
.seismic-map-card--enhanced .seismic-map-actions {
  display: none !important;
  margin: 0 !important;
}

.seismic-map-preview--polished > a:not(.button) {
  flex: 1 1 auto !important;
  min-height: 22rem !important;
  height: auto !important;
  display: grid !important;
  place-items: center !important;
  padding: clamp(.85rem, 1.8vw, 1.25rem) !important;
}

.seismic-map-preview--polished > a:not(.button) img {
  width: 100% !important;
  height: auto !important;
  max-height: 24rem !important;
  object-fit: contain !important;
}

.seismic-map-preview-actions {
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 0 !important;
  padding: .15rem clamp(1rem, 2vw, 1.45rem) clamp(1.05rem, 2vw, 1.35rem) !important;
}

.seismic-map-preview-actions .button,
.seismic-map-preview--polished .seismic-map-preview-actions .button,
.seismic-map-preview--polished .seismic-map-preview-actions a.button {
  width: auto !important;
  min-width: 11rem !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 2.85rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: .78rem 1.15rem !important;
  border-radius: 999px !important;
  font-size: .9rem !important;
  line-height: 1.1 !important;
}

@media (min-width: 981px) {
  .seismic-map-card--enhanced {
    align-items: stretch !important;
  }

  .seismic-map-preview--polished {
    min-height: 0 !important;
  }
}

@media (max-width: 980px) {
  .seismic-map-preview--polished > a:not(.button) {
    min-height: 18rem !important;
  }
}

@media (max-width: 620px) {
  .seismic-map-preview--polished > a:not(.button) {
    min-height: 14rem !important;
  }

  .seismic-map-preview-actions .button,
  .seismic-map-preview--polished .seismic-map-preview-actions a.button {
    width: 100% !important;
  }
}

/* v3.07: Seismic map opens in a clean modal; preview uses hint text instead of a PDF button. */
.seismic-map-preview--polished {
  gap: .35rem !important;
}

.seismic-map-trigger {
  position: relative;
  flex: 1 1 auto !important;
  min-height: 22rem !important;
  width: 100%;
  height: auto !important;
  display: grid !important;
  place-items: center !important;
  padding: clamp(.85rem, 1.8vw, 1.25rem) !important;
  z-index: 1;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.seismic-map-trigger img {
  width: 100% !important;
  height: auto !important;
  max-height: 24rem !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: .95rem;
  background: #fff;
  box-shadow: 0 1rem 2.2rem rgba(10, 35, 56, .12);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.seismic-map-trigger:hover img,
.seismic-map-trigger:focus-visible img {
  transform: scale(1.018);
  filter: saturate(1.02) contrast(1.02);
  box-shadow: 0 1.2rem 2.8rem rgba(10, 35, 56, .17);
}

.seismic-map-trigger:focus-visible {
  outline: 3px solid rgba(240, 180, 51, .55);
  outline-offset: -4px;
  border-radius: 1.1rem;
}

.seismic-map-hint {
  position: relative;
  z-index: 2;
  margin: 0 auto clamp(1rem, 2vw, 1.28rem) !important;
  padding: .62rem .95rem;
  border: 1px solid rgba(20, 50, 74, .10);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: #31566f !important;
  font-size: .82rem !important;
  font-weight: 680;
  line-height: 1.25;
  box-shadow: 0 .6rem 1.25rem rgba(10, 35, 56, .07);
}

.seismic-map-preview-actions {
  display: none !important;
}

.seismic-map-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 2.4vw, 2rem);
}

.seismic-map-modal[hidden] {
  display: none !important;
}

.seismic-map-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 18, 31, .74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.seismic-map-modal__panel {
  position: relative;
  z-index: 1;
  width: min(96vw, 78rem);
  max-height: min(92vh, 56rem);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 1.35rem;
  background: #ffffff;
  box-shadow: 0 2.2rem 5rem rgba(0, 0, 0, .34);
}

.seismic-map-modal__close {
  position: absolute;
  top: .9rem;
  right: .9rem;
  z-index: 3;
  width: 2.65rem;
  height: 2.65rem;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #14324A;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 .8rem 1.6rem rgba(20, 50, 74, .22);
}

.seismic-map-modal__close:hover,
.seismic-map-modal__close:focus-visible {
  background: #0f283d;
  transform: translateY(-1px);
}

.seismic-map-modal__head {
  padding: clamp(1.05rem, 2.2vw, 1.55rem) clamp(1.1rem, 2.4vw, 1.8rem) .75rem;
  padding-right: 4.4rem;
  border-bottom: 1px solid rgba(20, 50, 74, .09);
}

.seismic-map-modal__head h2 {
  margin: .22rem 0 .32rem;
  color: #061d3f;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.1;
}

.seismic-map-modal__head p {
  margin: 0;
  max-width: 62rem;
  color: #516a7d;
  font-size: .94rem;
}

.seismic-map-modal__viewer {
  min-height: 0;
  overflow: auto;
  padding: clamp(.85rem, 2vw, 1.35rem);
  background:
    linear-gradient(90deg, rgba(20,50,74,.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(20,50,74,.035) 1px, transparent 1px),
    #f6fafc;
  background-size: 34px 34px;
}

.seismic-map-modal__viewer img {
  display: block;
  width: 100%;
  height: auto;
  min-width: min(58rem, 100%);
  margin: 0 auto;
  border-radius: .85rem;
  background: #fff;
  box-shadow: 0 1rem 2.2rem rgba(10, 35, 56, .12);
}

.seismic-map-modal__actions {
  display: flex;
  justify-content: center;
  gap: .75rem;
  padding: .9rem clamp(1rem, 2vw, 1.4rem) 1.05rem;
  border-top: 1px solid rgba(20, 50, 74, .09);
  background: #fff;
}

.seismic-map-modal__actions .button {
  min-width: 11rem;
  justify-content: center;
}

@media (max-width: 980px) {
  .seismic-map-trigger {
    min-height: 18rem !important;
  }
}

@media (max-width: 620px) {
  .seismic-map-trigger {
    min-height: 14rem !important;
    padding: .75rem !important;
  }

  .seismic-map-hint {
    width: calc(100% - 1.5rem);
    border-radius: .9rem;
    text-align: center;
    font-size: .76rem !important;
  }

  .seismic-map-modal {
    padding: .55rem;
  }

  .seismic-map-modal__panel {
    width: 100%;
    max-height: 94vh;
    border-radius: 1rem;
  }

  .seismic-map-modal__head {
    padding: 1rem 3.8rem .7rem 1rem;
  }

  .seismic-map-modal__viewer {
    padding: .75rem;
  }

  .seismic-map-modal__viewer img {
    min-width: 48rem;
  }

  .seismic-map-modal__actions .button {
    width: 100%;
  }
}

/* v3.08: Refine seismic map preview sizing and raise the full-view hint. */
.seismic-map-preview--polished {
  align-items: stretch !important;
  justify-content: center !important;
}

.seismic-map-trigger {
  flex: 0 0 auto !important;
  min-height: clamp(18rem, 27vw, 24rem) !important;
  width: calc(100% - clamp(1rem, 2.4vw, 2.2rem)) !important;
  margin: clamp(.75rem, 1.7vw, 1.25rem) auto 0 !important;
  padding: clamp(.35rem, .9vw, .62rem) !important;
  overflow: hidden !important;
  border-radius: 1rem !important;
  background: #fff !important;
  box-shadow: 0 1rem 2.2rem rgba(10, 35, 56, .10) !important;
}

.seismic-map-trigger img {
  width: 100% !important;
  height: clamp(15.8rem, 24.5vw, 21.3rem) !important;
  max-height: none !important;
  border-radius: .78rem !important;
  object-fit: cover !important;
  object-position: center center !important;
  box-shadow: none !important;
  transform: scale(1.08) !important;
  transform-origin: center center !important;
}

.seismic-map-trigger:hover img,
.seismic-map-trigger:focus-visible img {
  transform: scale(1.115) !important;
}

.seismic-map-hint {
  margin-top: -.15rem !important;
  margin-bottom: clamp(.65rem, 1.35vw, .9rem) !important;
  transform: translateY(-.28rem) !important;
}

@media (max-width: 980px) {
  .seismic-map-trigger {
    min-height: clamp(15rem, 42vw, 20rem) !important;
    width: calc(100% - 1.25rem) !important;
  }

  .seismic-map-trigger img {
    height: clamp(13rem, 38vw, 17.5rem) !important;
  }
}

@media (max-width: 620px) {
  .seismic-map-trigger {
    min-height: 13.5rem !important;
    width: calc(100% - 1rem) !important;
    margin-top: .7rem !important;
    padding: .38rem !important;
  }

  .seismic-map-trigger img {
    height: 12rem !important;
    transform: scale(1.06) !important;
  }

  .seismic-map-hint {
    margin-top: 0 !important;
    transform: translateY(-.12rem) !important;
  }
}

/* v3.09: Make seismic map preview fill the map card more fully. */
.seismic-map-preview--polished {
  padding: clamp(.65rem, 1.25vw, 1rem) !important;
}

.seismic-map-trigger {
  width: calc(100% - clamp(.35rem, .9vw, .75rem)) !important;
  min-height: clamp(20.5rem, 30.5vw, 27rem) !important;
  height: clamp(20.5rem, 30.5vw, 27rem) !important;
  margin: clamp(.35rem, .9vw, .72rem) auto 0 !important;
  padding: 0 !important;
  border-radius: 1.05rem !important;
  background: #fff !important;
}

.seismic-map-trigger img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 1.05rem !important;
  transform: scale(1.28) !important;
  transform-origin: center center !important;
}

.seismic-map-trigger:hover img,
.seismic-map-trigger:focus-visible img {
  transform: scale(1.32) !important;
}

.seismic-map-hint {
  margin-top: -.55rem !important;
  margin-bottom: clamp(.45rem, 1vw, .72rem) !important;
  transform: translateY(-.46rem) !important;
}

@media (max-width: 980px) {
  .seismic-map-trigger {
    width: calc(100% - .7rem) !important;
    min-height: clamp(16rem, 44vw, 22rem) !important;
    height: clamp(16rem, 44vw, 22rem) !important;
  }

  .seismic-map-trigger img {
    height: 100% !important;
    transform: scale(1.24) !important;
  }
}

@media (max-width: 620px) {
  .seismic-map-preview--polished {
    padding: .55rem !important;
  }

  .seismic-map-trigger {
    width: 100% !important;
    min-height: 14.2rem !important;
    height: 14.2rem !important;
    margin-top: .35rem !important;
  }

  .seismic-map-trigger img {
    transform: scale(1.18) !important;
  }

  .seismic-map-hint {
    margin-top: -.25rem !important;
    transform: translateY(-.25rem) !important;
  }
}


/* Borang Kandungan Laman Web dan Media Sosial JMG */
.content-form-page{background:#f7fbff;color:#0a2949}.content-form-hero{overflow:hidden}.content-form-hero-inner{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.42fr);gap:2rem;align-items:center}.content-form-hero-card{display:flex;gap:1rem;align-items:flex-start;padding:1.25rem;border:1px solid rgba(255,255,255,.28);border-radius:24px;background:rgba(255,255,255,.13);backdrop-filter:blur(14px);box-shadow:0 20px 42px rgba(0,31,75,.18);color:#fff}.content-form-hero-card strong{display:block;margin-bottom:.3rem;font-size:1.05rem}.content-form-hero-card p{margin:0;color:rgba(255,255,255,.82);font-size:.95rem;line-height:1.6}.content-form-hero-icon{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border-radius:17px;background:#fff;color:#08776e}.content-form-hero-icon svg{width:28px;height:28px}.content-form-overview{padding-bottom:1.4rem}.content-form-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.content-guide-card{border:1px solid #d9e7f0;border-radius:24px;padding:1.25rem;background:#fff;box-shadow:0 14px 34px rgba(18,56,91,.07)}.content-guide-card span{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:15px;background:#e7f4f7;color:#08776e;font-weight:900}.content-guide-card h2{margin:.9rem 0 .35rem;font-size:1.15rem}.content-guide-card p{margin:0;color:#58708a;line-height:1.65}.content-form-section{padding-top:1.6rem}.content-form-shell{display:grid;grid-template-columns:minmax(260px,.38fr) minmax(0,1fr);gap:1.1rem;align-items:start}.content-form-side{position:sticky;top:92px;border-radius:30px;padding:1.45rem;background:linear-gradient(145deg,#062d4f,#07816f);color:#fff;box-shadow:0 24px 55px rgba(0,31,75,.16)}.content-form-side h2{margin:.4rem 0 .8rem;font-size:clamp(1.45rem,2.2vw,2.1rem);line-height:1.12}.content-form-side p{color:rgba(255,255,255,.82);line-height:1.65}.reference-box{margin:1.2rem 0;padding:1rem;border-radius:22px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18)}.reference-box small{display:block;color:#aee7dd;font-weight:850;text-transform:uppercase;letter-spacing:.08em}.reference-box strong{display:block;margin:.25rem 0 .75rem;font-size:1.15rem;word-break:break-word}.ghost-button{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.38)!important;color:#fff!important}.upload-drive-button{display:flex;gap:.85rem;align-items:center;margin-top:1rem;padding:1rem;border-radius:22px;background:#fff;color:#0a2949;text-decoration:none;box-shadow:0 18px 35px rgba(0,0,0,.14);transition:transform .2s ease,box-shadow .2s ease}.upload-drive-button:hover,.upload-drive-button:focus-visible{transform:translateY(-2px);box-shadow:0 22px 45px rgba(0,0,0,.2)}.upload-drive-button span{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:16px;background:#e8f6f4;color:#08776e}.upload-drive-button svg{width:25px;height:25px}.upload-drive-button small{display:block;color:#667b90;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.upload-drive-button strong{display:block}.upload-drive-button b{margin-left:auto;font-size:1.3rem}.content-muted{font-size:.86rem}.content-submit-form{border:1px solid #d9e7f0;border-radius:30px;padding:clamp(1rem,2.5vw,1.8rem);background:#fff;box-shadow:0 18px 52px rgba(18,56,91,.09)}.content-submit-form fieldset{margin:0 0 1.15rem;padding:1.1rem;border:1px solid #dce8ef;border-radius:22px}.content-submit-form legend{padding:0 .45rem;color:#0c3156;font-weight:900}.content-submit-form label{display:grid;gap:.42rem;margin:.65rem 0;color:#183a5d;font-weight:800}.content-submit-form input,.content-submit-form select,.content-submit-form textarea{width:100%;border:1px solid #cbdbe6;border-radius:14px;background:#fbfdff;color:#102e4b;padding:.78rem .85rem;font:inherit;font-weight:600;box-shadow:inset 0 1px 0 rgba(255,255,255,.75)}.content-submit-form textarea{resize:vertical}.content-submit-form input:focus,.content-submit-form select:focus,.content-submit-form textarea:focus{outline:3px solid rgba(23,120,186,.18);border-color:#1778ba;background:#fff}.content-submit-form input[readonly]{background:#edf5f9;color:#28506f}.form-grid{display:grid;gap:1rem}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-help{margin:.2rem 0 .7rem;color:#58708a;line-height:1.6}.check-line{grid-template-columns:auto 1fr!important;align-items:start;gap:.7rem!important;font-weight:700!important;color:#33526f!important}.check-line input{width:1.1rem!important;height:1.1rem;margin-top:.2rem}.form-actions{display:flex;gap:.7rem;flex-wrap:wrap;align-items:center}.form-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.content-form-alert{margin:0 0 1rem;padding:1rem;border-radius:16px;border:1px solid #bdd7e9;background:#edf7fd;color:#0b3d66;font-weight:750;line-height:1.55}.content-form-alert.is-error{border-color:#f2b8b5;background:#fff1f0;color:#8d1f16}.content-form-alert.is-success{border-color:#a8dacd;background:#edfdf8;color:#075f53}.content-submit-form.is-submitting{opacity:.72;pointer-events:none}@media(max-width:980px){.content-form-hero-inner,.content-form-shell{grid-template-columns:1fr}.content-form-side{position:relative;top:auto}.content-form-guide-grid{grid-template-columns:1fr}}@media(max-width:640px){.form-grid.two{grid-template-columns:1fr}.content-submit-form fieldset{padding:.9rem}.content-form-hero-card{display:none}.content-form-guide-grid{gap:.75rem}.upload-drive-button{align-items:flex-start}.upload-drive-button b{display:none}}


/* v11: Internal reference pages for JKLW and SISPAA */
.internal-reference-page{background:#f5f9fc}.internal-ref-hero{background:linear-gradient(135deg,#06183e 0%,#0b4f8a 55%,#1685c6 100%);position:relative;overflow:hidden}.internal-ref-hero--jklw{background:linear-gradient(135deg,#06183e 0%,#083b75 58%,#0d8aa8 100%)}.internal-ref-hero--sispaa{background:linear-gradient(135deg,#06183e 0%,#0d4778 52%,#156d9a 100%)}.internal-ref-hero-inner{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:1.3rem;align-items:end}.internal-ref-hero-card{border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.12);border-radius:24px;padding:1.2rem;backdrop-filter:blur(14px);box-shadow:0 20px 50px rgba(0,0,0,.16)}.internal-ref-hero-card strong{display:block;font-size:1.05rem;margin-bottom:.45rem;color:#fff}.internal-ref-hero-card p{margin:0;color:rgba(255,255,255,.88)}.internal-ref-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:1.35rem;align-items:start}.internal-ref-main{display:grid;gap:1rem}.internal-ref-card,.internal-ref-side-card{border:1px solid #d8e5ef;background:#fff;border-radius:26px;padding:1.35rem;box-shadow:0 18px 42px rgba(14,55,87,.07)}.internal-ref-card h2,.internal-ref-side-card h2{margin:.15rem 0 .75rem;color:#07345f;line-height:1.18}.internal-ref-card h3{margin:.1rem 0 .4rem;color:#07345f;line-height:1.22}.internal-ref-card p,.internal-ref-card li,.internal-ref-side-card p{color:#52657a;line-height:1.68}.internal-ref-card p:last-child,.internal-ref-side-card p:last-child{margin-bottom:0}.internal-ref-side{position:sticky;top:1.4rem;display:grid;gap:1rem}.internal-ref-side-card strong{display:block;color:#07345f;margin-bottom:.8rem}.internal-ref-side-card a{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.72rem .85rem;border:1px solid #dfeaf1;border-radius:14px;text-decoration:none;color:#173d5e;background:#fff}.internal-ref-side-card a+a{margin-top:.55rem}.internal-ref-side-card a:hover{border-color:#1685c6;background:#f2f9fd}.internal-ref-tier-grid,.internal-ref-card-grid,.internal-ref-channel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.internal-ref-tier-grid div,.internal-ref-card-grid section,.internal-ref-channel-grid div{border:1px solid #dce8f0;background:#f8fbfe;border-radius:18px;padding:1rem}.internal-ref-tier-grid b,.internal-ref-channel-grid b{display:block;color:#07345f;margin-bottom:.3rem}.internal-ref-list,.internal-ref-checklist{margin:0;padding-left:1.15rem}.internal-ref-checklist li::marker{color:#0d67a8}.internal-ref-note{border-left:.35rem solid #1685c6;background:#eef8fb;padding:1rem 1.1rem;border-radius:14px;color:#244a61!important}.internal-ref-meeting{margin-top:1rem;border:1px solid #dce8f0;border-radius:18px;padding:1rem;background:linear-gradient(135deg,#fff,#f6fbfd)}.internal-ref-meeting>span{display:block;color:#607489;font-size:.92rem;font-weight:700;margin-bottom:.35rem}.internal-ref-chip{display:inline-flex;align-items:center;border:1px solid #cfe1ee;background:#f5fbff;border-radius:999px;padding:.35rem .7rem;color:#0b4f7d;font-weight:700;font-size:.88rem;margin:.2rem .3rem .2rem 0}.internal-ref-process{display:grid;gap:.75rem;counter-reset:jmg-ref-step}.internal-ref-process div{position:relative;border:1px solid #dce8f0;background:#fff;border-radius:18px;padding:1rem 1rem 1rem 3.45rem}.internal-ref-process div::before{counter-increment:jmg-ref-step;content:counter(jmg-ref-step);position:absolute;left:1rem;top:1rem;width:1.7rem;height:1.7rem;display:grid;place-items:center;border-radius:50%;background:#0d67a8;color:#fff;font-weight:800;font-size:.9rem}.internal-ref-process b{display:block;color:#07345f;margin-bottom:.25rem}.internal-ref-process p{margin:.2rem 0 0}.internal-ref-process small{display:inline-flex;margin-top:.55rem;color:#0d67a8;font-weight:700}.internal-ref-table-wrap{overflow:auto;border:1px solid #d8e5ef;border-radius:18px;background:#fff}.internal-ref-table{min-width:880px;border-collapse:collapse}.internal-ref-table th{background:#07345f;color:#fff;font-weight:800}.internal-ref-table td,.internal-ref-table th{padding:.72rem .8rem;border-bottom:1px solid #dbe8f0;vertical-align:top;font-size:.92rem}.internal-ref-table tbody tr:nth-child(even) td{background:#f8fbfe}.internal-ref-card details{border:1px solid #dce8f0;border-radius:16px;background:#fff;overflow:hidden}.internal-ref-card details+details{margin-top:.65rem}.internal-ref-card summary{cursor:pointer;padding:.9rem 1rem;color:#07345f;font-weight:800}.internal-ref-card details p{padding:0 1rem 1rem;margin:0}.staff-reference-section{background:linear-gradient(180deg,#fff,#f4f9fc)}.staff-reference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.staff-reference-card{position:relative;display:block;text-decoration:none;color:inherit;border:1px solid #d8e5ef;background:#fff;border-radius:26px;padding:1.3rem;box-shadow:0 18px 42px rgba(14,55,87,.07);overflow:hidden}.staff-reference-card::before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,#0d47a1,#1685c6,#15a48a)}.staff-reference-card span{display:inline-flex;border-radius:999px;background:#eaf6fc;color:#0b4f7d;padding:.25rem .65rem;font-size:.82rem;font-weight:800}.staff-reference-card h3{margin:.75rem 0 .45rem;color:#07345f;font-size:1.25rem}.staff-reference-card p{color:#52657a;line-height:1.6;margin:0}.staff-reference-card b{position:absolute;right:1.1rem;top:1rem;color:#1685c6;font-size:1.4rem}.staff-reference-card:hover{transform:translateY(-2px);border-color:#1685c6;box-shadow:0 24px 55px rgba(14,55,87,.12)}@media(max-width:980px){.internal-ref-hero-inner,.internal-ref-layout{grid-template-columns:1fr}.internal-ref-side{position:relative;top:auto}.staff-reference-grid,.internal-ref-tier-grid,.internal-ref-card-grid,.internal-ref-channel-grid{grid-template-columns:1fr}}@media(max-width:560px){.internal-ref-card,.internal-ref-side-card,.internal-ref-hero-card,.staff-reference-card{border-radius:20px;padding:1rem}.internal-ref-process div{padding-left:3rem}.internal-ref-table{min-width:760px}.staff-reference-grid{grid-template-columns:1fr}}


/* Rujukan JKLW/SISPAA refinement v12 */
.internal-ref-layout--single{grid-template-columns:minmax(0,1fr);max-width:1120px;margin-inline:auto;}
.internal-ref-layout--single .internal-ref-main{width:100%;}
.internal-ref-note{border-left:0!important;border:1px solid #dce8f0!important;background:#f7fbfd!important;padding:1rem 1.1rem!important;border-radius:16px!important;}
.internal-ref-process div{padding-left:3.45rem;}
.internal-ref-process div::before{box-shadow:0 8px 18px rgba(13,103,168,.18);}
.internal-ref-card .button:not(.outline){box-shadow:0 12px 28px rgba(13,103,168,.22);}
.internal-ref-table--jklw-members{min-width:1120px;}
.internal-ref-layout--single .internal-ref-main,.internal-ref-layout--single .internal-ref-card{min-width:0;}
.internal-ref-table--jklw-members th:nth-child(1),.internal-ref-table--jklw-members td:nth-child(1),.internal-ref-table--jklw-members th:nth-child(2),.internal-ref-table--jklw-members td:nth-child(2),.internal-ref-table--jklw-members th:nth-child(3),.internal-ref-table--jklw-members td:nth-child(3),.internal-ref-table--jklw-members th:nth-child(5),.internal-ref-table--jklw-members td:nth-child(5){white-space:nowrap;}
.internal-ref-table--jklw-members th:nth-child(4),.internal-ref-table--jklw-members td:nth-child(4){min-width:360px;}
@media(max-width:560px){.internal-ref-process div{padding-left:3rem;}}

/* JKLW content workflow figure v13 */
.internal-ref-flow-figure{margin:1rem 0 1.2rem;padding:1rem;border:1px solid #d8e5ef;border-radius:22px;background:#fff;box-shadow:0 16px 36px rgba(14,55,87,.06)}
.internal-ref-flow-link{display:block;overflow:auto;border-radius:16px;background:#fff;text-decoration:none}
.internal-ref-flow-figure img{display:block;width:100%;max-width:1200px;height:auto;margin:0 auto}
.internal-ref-flow-figure figcaption{margin:.75rem 0 0;text-align:center;color:#52657a;font-size:.92rem;line-height:1.5}
@media(max-width:760px){.internal-ref-flow-figure{padding:.7rem;border-radius:18px}.internal-ref-flow-link{border:1px solid #e2edf5}.internal-ref-flow-figure img{min-width:820px}}

/* v14: pembaikan diminta pengguna - ticker harga mineral, susunan perenggan Eksplorasi Geosains, dan berat fon pautan */

/* Ticker harga mineral: fon jangan bold, dan pastikan tiada bar skrol melintang kelihatan */
.mineral-ticker-item,
.mineral-ticker-category,
.mineral-ticker-name,
.mineral-ticker-price,
.mineral-ticker-change {
  font-weight: 400 !important;
}
.mineral-ticker-window,
.mineral-ticker-track {
  overflow: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.mineral-ticker-window::-webkit-scrollbar,
.mineral-ticker-track::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
@media (prefers-reduced-motion: reduce) {
  .mineral-ticker-track {
    overflow-x: hidden !important;
  }
}

/* "Eksplorasi Geosains Interaktif": perenggan penerangan diletak di bawah tajuk (bukan sebaris),
   dan dipastikan sentiasa kelihatan (elak digugurkan pada skrin kecil) */
.home-interactive-geoscience__head > div {
  display: block !important;
}
.home-interactive-geoscience__head h2 {
  white-space: normal !important;
}
.home-interactive-geoscience__head h2::after {
  display: none !important;
}
.home-interactive-geoscience__head p {
  display: block !important;
  margin-top: .38rem !important;
}

/* Senarai "Pautan Berkaitan" di footer serta pautan Dasar Privasi & Keselamatan / Penafian & Notis Hak Cipta: jangan bold */
.footer-links a,
.footer-legal-links a {
  font-weight: 400 !important;
}

/* v15: teruskan pembaikan bold - alamat ibu pejabat & butang "Buka pautan rasmi" */
.footer-office-name {
  font-weight: 400 !important;
}
.text-link {
  font-weight: 500 !important;
}
.home-news-card .text-link {
  font-weight: 500 !important;
}
.icon-link.icon-link--external {
  display: inline-flex !important;
  align-items: center;
  gap: .5rem;
  flex: 0 0 auto;
  color: var(--brand-deep) !important;
  font-size: .88rem;
  line-height: 1;
  text-decoration: none !important;
  font-weight: 400 !important;
  text-transform: none;
  transition: color .2s ease;
}
.icon-link__icon {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  padding-bottom: .08rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: .92rem;
  line-height: 1;
  transition: transform .2s ease, background-color .2s ease;
}
.icon-link.icon-link--external:hover,
.icon-link.icon-link--external:focus-visible {
  color: var(--brand) !important;
}
.icon-link.icon-link--external:hover .icon-link__icon,
.icon-link.icon-link--external:focus-visible .icon-link__icon {
  transform: translate(.12rem, -.12rem);
  background: var(--brand-deep);
}
.home-news-card .icon-link.icon-link--external::after {
  content: none !important;
}
.home-expertise-section .section-head > a,
.home-latest-section .section-head > a,
.home-interactive-geoscience__head > a {
  font-weight: 400;
  text-transform: none;
}
.home-interactive-geoscience__head > a {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  flex: 0 0 auto;
  line-height: 1.2;
  text-decoration: none;
}
.home-interactive-geoscience__head > a::after {
  content: "→";
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(11, 107, 87, .10);
  color: var(--jmg-gold, var(--brand));
  font-size: 1rem;
  font-weight: 900;
  transition: transform .2s ease, background-color .2s ease;
}
.home-interactive-geoscience__head > a:hover::after,
.home-interactive-geoscience__head > a:focus-visible::after {
  transform: translateX(.18rem);
  background: rgba(11, 107, 87, .17);
}
.home-news-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem 1rem;
  margin-top: auto;
  padding-top: .5rem;
}
.home-news-card__footer .tag {
  flex: 1 1 auto;
  font-weight: 400;
}
.home-news-card__footer .icon-link.icon-link--external {
  align-self: auto;
  margin-top: 0;
  padding-top: 0;
}
.news-feature-card .icon-link.icon-link--external,
.news-record-card .icon-link.icon-link--external {
  margin-top: .85rem;
  align-self: flex-start;
}
.news-feature-card .news-feature-footer .icon-link.icon-link--external {
  margin-top: 0;
  align-self: auto;
}
.news-record-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
  margin-top: auto;
  padding-top: .85rem;
  border-top: 1px solid #dce8ef;
}
.news-record-card .news-record-footer .meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem;
  margin: 0;
  padding: 0;
}
.news-record-card .news-record-footer .meta > * {
  font-size: .84rem;
  font-weight: 600;
}
.news-record-card .news-record-footer .meta > * + *::before {
  content: "•";
  margin-right: .3rem;
  color: var(--muted);
}
.news-record-card .news-record-footer .icon-link.icon-link--external {
  align-self: auto;
  margin-top: 0;
}
.news-notice-dialog {
  width: min(38rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 1.25rem;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 1.5rem 5rem rgba(2, 31, 78, .28);
}
.news-notice-dialog::backdrop {
  background: rgba(2, 31, 78, .58);
  backdrop-filter: blur(4px);
}
.news-notice-dialog__inner {
  max-height: calc(100vh - 2rem);
  padding: clamp(1.25rem, 4vw, 2rem);
  overflow: auto;
}
.news-notice-dialog header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.news-notice-dialog h2 {
  margin: .35rem 0 0;
  color: var(--brand-deep);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.25;
}
.news-notice-dialog p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}
.news-notice-dialog__close {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-deep);
  background: #f5f8fa;
  font: inherit;
  font-size: 1.35rem;
  cursor: pointer;
}
.news-notice-dialog__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.4rem;
}

/* Footer social spacing and plain bottom labels for interactive geoscience cards. */
.footer-brand-block .footer-social-links {
  width: 100%;
  margin-top: 2rem !important;
  padding-top: 0;
  border-top: 0;
}
@media (min-width: 768px) {
  .topbar .mineral-price-ticker {
    gap: .25rem !important;
  }
  .topbar .mineral-ticker-window {
    display: flex;
    align-items: center;
    height: 2.35rem;
    margin-left: 0 !important;
  }
  .topbar .mineral-ticker-track {
    align-self: center;
  }
}
.geo-explorer-card--featured,
.geo-explorer-card--sandbox,
.geo-explorer-card--landslide,
.geo-explorer-card--geodip {
  padding-bottom: 3.2rem;
}
.geo-explorer-card--featured .geo-explorer-card__content,
.geo-explorer-card--sandbox .geo-explorer-card__content,
.geo-explorer-card--landslide .geo-explorer-card__content,
.geo-explorer-card--geodip .geo-explorer-card__content {
  position: static;
}
.geo-explorer-card__badge,
.geo-explorer-card--featured .geo-explorer-card__badge {
  position: absolute;
  left: clamp(1.05rem, 1.8vw, 1.35rem);
  bottom: 1.15rem;
  z-index: 4;
  display: block;
  width: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: color-mix(in srgb, var(--geo-card-accent) 82%, #071b36);
  font-size: .7rem;
  font-weight: 650;
  letter-spacing: .07em;
  line-height: 1.3;
  text-transform: uppercase;
}
@media (max-width: 540px) {
  .home-news-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .news-record-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* v15: kad "Hebahan dan maklumat terkini" - sokongan foto latar telus (jika ada medan "image") */
.home-news-card__photo {
  position: absolute;
  inset: 0;
  z-index: 0 !important;
  border-radius: inherit;
  background-size: cover;
  background-position: center;
  opacity: .14;
  pointer-events: none;
}
.home-news-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(239,246,248,.9));
}


/* === JMG ACHIEVEMENT ARCHIVE 2026-08-09 === */
.achievement-archive-hero{padding-bottom:clamp(2.25rem,5vw,4.5rem);overflow:hidden}
.achievement-hero-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);gap:clamp(1.5rem,4vw,4rem);align-items:end}
.achievement-source-panel{align-self:stretch;display:flex;flex-direction:column;justify-content:flex-end;padding:clamp(1.15rem,2.5vw,1.8rem);border:1px solid rgba(255,255,255,.24);border-radius:22px;background:rgba(255,255,255,.11);backdrop-filter:blur(8px)}
.achievement-source-panel p{margin:.45rem 0 0;max-width:58ch;color:inherit}
.achievement-source-kicker{font-size:.76rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;opacity:.82}
.achievement-stats-section{padding-top:0;padding-bottom:1.4rem;margin-top:-1.6rem;position:relative;z-index:2}
.achievement-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.achievement-stat{min-height:112px;padding:1.15rem 1.25rem;border:1px solid var(--line,#d9e1e7);border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(15,41,63,.07);display:flex;flex-direction:column;justify-content:center}
.achievement-stat strong{font-size:clamp(1.55rem,2.8vw,2.25rem);line-height:1;color:var(--brand,#1778ba)}
.achievement-stat span{margin-top:.5rem;color:var(--muted,#52616d);font-size:.92rem}
.achievement-year-nav{position:sticky;top:0;z-index:15;background:rgba(255,255,255,.94);border-top:1px solid var(--line,#d9e1e7);border-bottom:1px solid var(--line,#d9e1e7);backdrop-filter:blur(12px)}
.achievement-year-nav-inner{display:flex;gap:8px;overflow-x:auto;padding:.72rem 0;scrollbar-width:thin}
.achievement-year-chip{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-width:62px;padding:.56rem .78rem;border:1px solid #cdd9e2;border-radius:999px;background:#fff;color:#1d3b52;font-weight:800;text-decoration:none;transition:.18s ease}
.achievement-year-chip:hover,.achievement-year-chip:focus-visible{border-color:var(--brand,#1778ba);background:#eef7fc;color:var(--brand,#1778ba);transform:translateY(-1px)}
.achievement-year-chip.is-gap{border-style:dashed;color:#82919b;background:#f5f7f8;cursor:default}
.achievement-record-section{padding-top:clamp(2.4rem,5vw,4.5rem)}
.achievement-year-record{scroll-margin-top:92px;border:1px solid #d8e3ea;border-radius:22px;background:#fff;box-shadow:0 12px 34px rgba(16,48,69,.055);overflow:hidden;margin:0 0 1rem}
.achievement-year-record>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:110px minmax(0,1fr) auto;align-items:center;gap:1.2rem;padding:1.2rem 1.35rem;background:linear-gradient(135deg,#fff,#f4f9fc)}
.achievement-year-record>summary::-webkit-details-marker{display:none}
.achievement-year-record>summary::after{content:'+';display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e9f4fa;color:var(--brand,#1778ba);font-size:1.35rem;font-weight:500;grid-column:4}
.achievement-year-record[open]>summary::after{content:'−'}
.achievement-year-number{font-size:clamp(1.8rem,4vw,3rem);font-weight:900;letter-spacing:-.045em;color:#0f5f93}
.achievement-year-summary{display:flex;flex-direction:column;gap:.25rem;min-width:0}
.achievement-year-summary strong{font-size:1.02rem;color:#14344b}
.achievement-year-summary span{color:#62727d;font-size:.92rem;line-height:1.45}
.achievement-year-count{white-space:nowrap;padding:.42rem .72rem;border-radius:999px;background:#eaf5ec;color:#216b39;font-size:.78rem;font-weight:800}
.achievement-year-body{display:grid;grid-template-columns:190px minmax(0,1fr);gap:1.6rem;padding:1.4rem;border-top:1px solid #e1e9ee}
.achievement-year-source{align-self:start;position:sticky;top:88px}
.achievement-year-source img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border:1px solid #dbe4e9;border-radius:16px;background:#f2f4f5;box-shadow:0 8px 22px rgba(13,44,64,.08)}
.achievement-year-source p{margin:.85rem 0 .2rem;font-size:.88rem;color:#29485d}
.achievement-year-source .text-link{font-size:.82rem}
.achievement-archive-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.achievement-archive-item{display:grid;grid-template-columns:36px minmax(0,1fr);gap:.8rem;padding:1rem;border:1px solid #e0e8ed;border-radius:15px;background:#fff}
.achievement-item-index{font-variant-numeric:tabular-nums;font-size:.75rem;font-weight:900;color:#7b8d99;padding-top:.15rem}
.achievement-archive-item h3{margin:0 0 .35rem;font-size:1rem;line-height:1.35;color:#153b53}
.achievement-archive-item p{margin:0;color:#536672;font-size:.9rem;line-height:1.6}
.achievement-method-note{margin-top:2rem;padding:clamp(1.3rem,3vw,2rem);display:grid;grid-template-columns:minmax(220px,.55fr) minmax(0,1fr);gap:1.5rem;border-radius:20px;background:#eef6f9;border:1px solid #d6e7ee}
.achievement-method-note h2{margin:.25rem 0 0;font-size:1.35rem}
.achievement-method-note p{margin:0;color:#4f626e;line-height:1.7}
@media(max-width:900px){.achievement-hero-grid{grid-template-columns:1fr}.achievement-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.achievement-year-record>summary{grid-template-columns:84px minmax(0,1fr);gap:.8rem}.achievement-year-count{grid-column:2;justify-self:start}.achievement-year-record>summary::after{grid-column:3;grid-row:1/3}.achievement-year-body{grid-template-columns:130px minmax(0,1fr)}.achievement-archive-list{grid-template-columns:1fr}.achievement-method-note{grid-template-columns:1fr}}
@media(max-width:640px){.achievement-stats-section{margin-top:-.65rem}.achievement-stat-grid{grid-template-columns:1fr 1fr}.achievement-stat{min-height:94px;padding:.95rem}.achievement-year-record>summary{grid-template-columns:1fr auto}.achievement-year-number{grid-column:1}.achievement-year-summary{grid-column:1}.achievement-year-count{grid-column:1}.achievement-year-record>summary::after{grid-column:2;grid-row:1/4}.achievement-year-body{grid-template-columns:1fr;padding:1rem}.achievement-year-source{position:static;display:grid;grid-template-columns:84px minmax(0,1fr);gap:.8rem;align-items:center;padding-bottom:.4rem}.achievement-year-source img{grid-row:1/3;width:84px}.achievement-year-source p{margin:0}.achievement-year-source .text-link{align-self:start}.achievement-method-note{padding:1.15rem}}


/* === JMG Awards & Recognition page === */
.award-recognition-page{background:#f7f9fb}.award-hero{background:linear-gradient(135deg,#f6fbff 0%,#fff 55%,#f4f8f1 100%);border-bottom:1px solid #dbe4ea}.award-hero-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.7fr);gap:38px;align-items:center}.award-hero h1{max-width:860px}.award-hero-feature{background:#fff;border:1px solid #d9e3e8;border-radius:20px;padding:28px;box-shadow:0 18px 45px rgba(19,54,75,.08)}.award-hero-feature>span{display:block;margin-top:18px;font-size:.76rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#677b87}.award-hero-feature>strong{display:block;margin-top:6px;font-size:1.2rem;line-height:1.35;color:#15384d}.award-hero-feature p{margin:10px 0 0;color:#566b77}.award-feature-icon,.award-highlight-icon,.award-note-icon{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:#eef6fb;color:#1778ba}.award-feature-icon svg,.award-highlight-icon svg,.award-note-icon svg,.award-icon svg,.recognition-icon svg{width:28px;height:28px}.award-summary-section{padding-top:28px;padding-bottom:28px;background:#fff;border-bottom:1px solid #e3eaee}.award-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.award-summary-grid>div{padding:18px 20px;border:1px solid #e0e7eb;border-radius:15px;background:#fbfcfd}.award-summary-grid strong{display:block;font-size:1.55rem;color:#163d54}.award-summary-grid span{display:block;margin-top:4px;color:#647782;font-size:.9rem}.award-highlight-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.award-highlight-card{position:relative;padding:30px;border:1px solid #dce5e9;border-radius:20px;background:#fff;box-shadow:0 14px 38px rgba(17,56,78,.06)}.award-highlight-label{display:inline-flex;padding:6px 10px;border-radius:999px;background:#eef5f8;color:#466675;font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.award-highlight-icon{margin:22px 0 18px}.award-highlight-card h3{margin:0 0 12px;color:#15394d;font-size:1.35rem}.award-highlight-card p{margin:0;color:#536b77}.award-year-nav{position:sticky;top:0;z-index:8;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-top:1px solid #e2e9ed;border-bottom:1px solid #e2e9ed}.award-year-nav-inner{display:flex;gap:9px;overflow:auto;padding:12px 0;scrollbar-width:thin}.award-year-nav a{flex:0 0 auto;text-decoration:none;border:1px solid #d7e1e6;border-radius:999px;padding:7px 13px;font-weight:800;color:#34596c;background:#fff}.award-year-nav a:hover,.award-year-nav a:focus-visible{border-color:#1778ba;color:#1778ba}.award-archive{background:#f7f9fb}.award-year{margin:0 0 14px;border:1px solid #dbe4e9;border-radius:18px;background:#fff;overflow:hidden}.award-year summary{list-style:none;display:grid;grid-template-columns:1fr 34px;gap:18px;align-items:center;cursor:pointer;padding:20px 24px}.award-year summary::-webkit-details-marker{display:none}.award-year-num{font-size:1.55rem;font-weight:900;color:#1778ba}.award-year-title strong{display:block;color:#173b50}.award-year-title span{display:block;margin-top:3px;color:#74858e;font-size:.88rem}.award-year-toggle{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#eef4f7;color:#315c70;font-size:1.25rem;transition:transform .2s ease}.award-year[open] .award-year-toggle{transform:rotate(45deg)}.award-year-body{border-top:1px solid #e3e9ed;padding:24px}.award-year-source{display:flex;gap:8px;align-items:center;margin:0 0 20px;color:#6d7e87;font-size:.84rem}.award-year-source strong{color:#315568}.award-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.award-card{padding:22px;border:1px solid #e0e7eb;border-radius:16px;background:#fbfcfd}.award-card-top{display:flex;align-items:center;gap:10px}.award-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#eef6fb;color:#1778ba}.award-icon svg{width:20px;height:20px}.award-type{font-size:.73rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#6c7f89}.award-result{margin-top:14px;font-size:1.03rem;font-weight:900;color:#1778ba}.award-card h3{margin:8px 0 7px;font-size:1.08rem;line-height:1.4;color:#173b50}.award-competition{font-weight:700;color:#4e6875}.award-card p:last-child{margin-bottom:0;color:#647782}.recognition-section{background:#fff}.recognition-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.recognition-card{display:grid;grid-template-columns:62px 40px 1fr;gap:14px;align-items:start;padding:20px;border:1px solid #dde6ea;border-radius:16px;background:#fbfcfd}.recognition-year{font-weight:900;color:#1778ba;font-size:1.1rem}.recognition-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#edf6f1;color:#20805b}.recognition-icon svg{width:21px;height:21px}.recognition-level{display:inline-block;font-size:.72rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase;color:#667b86}.recognition-card h3{margin:5px 0 6px;font-size:1.04rem;color:#173b50}.recognition-card p{margin:0;color:#647782}.award-source-note{padding-top:28px}.award-note{display:grid;grid-template-columns:64px 1fr;gap:20px;padding:26px 28px;border:1px solid #dce5e9;border-radius:18px;background:#f3f7f9}.award-note h2{margin-top:4px}.award-note p{margin-bottom:0;color:#536b77}
@media (max-width:900px){.award-hero-grid{grid-template-columns:1fr}.award-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.award-grid,.recognition-grid,.award-highlight-grid{grid-template-columns:1fr}.award-year-nav{position:static}}@media (max-width:600px){.award-summary-grid{grid-template-columns:1fr}.award-year summary{grid-template-columns:1fr 30px;padding:17px 16px;gap:10px}.award-year-body{padding:16px}.recognition-card{grid-template-columns:54px 34px 1fr;padding:16px}.award-note{grid-template-columns:1fr}.award-hero-feature{padding:22px}}

.award-card-strategic .award-icon{background:#edf6f1;color:#20805b}

/* Warga application cards: right-aligned service icon and balanced footer metadata. */
.staff-hub-page .staff-app-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto minmax(0, 1fr) auto;
  column-gap: .85rem;
}
.staff-hub-page .staff-app-card[hidden] {
  display: none;
}
.staff-hub-page .staff-app-card-top {
  display: contents;
}
.staff-hub-page .staff-app-icon {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: end;
}
.staff-hub-page .staff-app-card-body {
  display: contents;
}
.staff-hub-page .staff-app-card h3 {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  margin: 0;
}
.staff-hub-page .staff-app-card p {
  grid-column: 1 / -1;
  grid-row: 2;
  padding: .85rem 0;
  border-bottom: 1px solid #e4edf2;
}
.staff-hub-page .staff-access-badge,
.staff-hub-page .staff-app-badge {
  display: block;
  min-height: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: #486476;
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  grid-column: 1;
  grid-row: 3;
  align-self: center;
  justify-self: start;
}
.staff-hub-page .staff-app-card.is-access-managed .staff-access-badge {
  background: none !important;
}
.staff-hub-page .staff-app-link {
  grid-column: 2;
  grid-row: 3;
  align-self: center;
  justify-self: end;
  justify-content: flex-end;
  min-width: max-content;
  padding-top: 0;
  border-top: 0;
  white-space: nowrap;
}
.staff-hub-page .staff-reference-card > span {
  display: block;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  font-size: .78rem;
  letter-spacing: .06em;
}
.staff-hub-page .staff-reference-card h3 {
  margin-top: .45rem;
}

/* Homepage: roomier rotating hero title and stronger digital-services heading. */
.home-hero .home-hero-copy {
  min-width: 0;
}
.home-hero .home-hero-heading {
  height: auto !important;
  font-family: "Trebuchet MS", "Aptos Display", "Segoe UI", Arial, sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.13 !important;
  letter-spacing: .012em !important;
}
.home-quick-access-card--portal .home-quick-access-head h2 {
  font-size: clamp(2.05rem, 3vw, 2.75rem) !important;
  line-height: 1.08 !important;
}
.home-quick-access-card--portal .home-quick-link span {
  font-size: clamp(1.22rem, 1.45vw, 1.38rem) !important;
  line-height: 1.2 !important;
}
@media (min-width: 993px) {
  .home-hero-grid {
    grid-template-columns: minmax(0, .9fr) minmax(22rem, 1.1fr);
    gap: clamp(3rem, 5vw, 4.75rem);
  }
  .home-hero .home-hero-copy {
    padding-right: .25rem;
  }
  .home-hero .home-hero-heading {
    width: 100% !important;
    max-width: 14ch !important;
    min-height: calc(4.5 * 1.13em) !important;
    font-size: clamp(2.4rem, 3.9vw, 3.85rem) !important;
  }
}
@media (max-width: 767px) {
  .home-hero .home-hero-heading {
    max-width: 18ch !important;
    min-height: calc(5 * 1.15em) !important;
    font-size: clamp(1.82rem, 7.8vw, 2.26rem) !important;
    line-height: 1.15 !important;
    letter-spacing: .006em !important;
  }
  .home-quick-access-card--portal .home-quick-access-head h2 {
    font-size: clamp(1.78rem, 7.5vw, 2.12rem) !important;
  }
  .home-quick-access-card--portal .home-quick-link span {
    font-size: clamp(1.1rem, 4.8vw, 1.22rem) !important;
  }
}

/* v3.08 — Warga JMG e-mail + TAC access gate */
body.warga-auth-open { overflow: hidden; }
.warga-auth-modal[hidden] { display: none !important; }
.warga-auth-modal { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 1rem; }
.warga-auth-modal__backdrop { position: absolute; inset: 0; background: rgba(7, 24, 38, .62); backdrop-filter: blur(7px); }
.warga-auth-modal__panel { position: relative; width: min(100%, 32rem); max-height: calc(100vh - 2rem); overflow: auto; border-radius: 1.4rem; background: #fff; box-shadow: 0 24px 80px rgba(0, 0, 0, .28); padding: clamp(1.4rem, 4vw, 2.2rem); outline: none; }
.warga-auth-modal__close { position: absolute; inset-block-start: .8rem; inset-inline-end: .9rem; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 999px; background: #eef4f7; color: #183343; font-size: 1.55rem; line-height: 1; cursor: pointer; }
.warga-auth-modal__panel h2 { margin: .35rem 0 .6rem; font-size: clamp(1.45rem, 3vw, 2rem); }
.warga-auth-modal__panel > div > p { color: #536876; }
.warga-auth-field { display: grid; gap: .45rem; margin-top: 1.25rem; font-weight: 700; color: #203743; }
.warga-auth-field input { width: 100%; min-height: 3rem; border: 1px solid #b9c8d0; border-radius: .8rem; padding: .72rem .9rem; background: #fff; color: #132b38; font: inherit; }
.warga-auth-field input[data-warga-auth-email] { font-weight: 400; }
.warga-auth-field input:focus { outline: 3px solid rgba(23, 120, 186, .18); border-color: #1778ba; }
.warga-auth-tac-input { text-align: center; letter-spacing: .45em; font-size: 1.35rem !important; font-weight: 800; font-variant-numeric: tabular-nums; }
.warga-auth-submit { width: 100%; justify-content: center; margin-top: .65rem; }
.warga-auth-submit[disabled], .warga-auth-secondary-actions button[disabled] { opacity: .55; cursor: wait; }
.warga-auth-message { min-height: 1.55rem; margin: .6rem 0 0; font-size: .92rem; font-weight: 600; }
.warga-auth-message.is-error { color: #a52626; }
.warga-auth-message.is-success { color: #176b45; }
.warga-auth-secondary-actions { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1rem; }
.warga-auth-secondary-actions button { border: 0; background: transparent; color: #176b91; padding: .35rem 0; font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.warga-access-entry__section { min-height: 55vh; display: grid; align-items: center; background: linear-gradient(180deg, #f6fafc, #fff); }
.warga-access-entry__card { width: min(100%, 44rem); margin: 0 auto; padding: clamp(1.6rem, 4vw, 3rem); text-align: center; background: #fff; border: 1px solid #dce7ec; border-radius: 1.5rem; box-shadow: 0 18px 55px rgba(15, 47, 64, .1); }
.warga-access-entry__lock { display: block; font-size: 2rem; margin-bottom: .65rem; }
.warga-access-entry__card h1 { margin: .4rem 0 .75rem; }
.warga-access-entry__card .button { margin-top: .75rem; }
.warga-access-entry__note { margin: 1rem auto 0; max-width: 38rem; color: #657985; font-size: .92rem; }
@media (max-width: 560px) {
  .warga-auth-modal { padding: .65rem; align-items: end; }
  .warga-auth-modal__panel { width: 100%; max-height: 92vh; border-radius: 1.3rem 1.3rem .65rem .65rem; padding: 1.35rem 1.1rem 1.2rem; }
  .warga-auth-secondary-actions { flex-direction: column; align-items: flex-start; }
}

/* v3.09: Authenticated Warga/Staff navigation state — green unlocked icon + logout action. */
.nav-warga-link.is-authenticated .nav-warga-label::before {
  background-color: #55d878 !important;
  -webkit-mask: url("../icons/ui/unlock-flaticon-style.svg") center / contain no-repeat !important;
  mask: url("../icons/ui/unlock-flaticon-style.svg") center / contain no-repeat !important;
  opacity: 1 !important;
}

.nav-warga-link.is-authenticated {
  border-color: rgba(85, 216, 120, .68) !important;
}

.nav-warga-link.is-authenticated:hover .nav-warga-label::before,
.nav-warga-link.is-authenticated:focus-visible .nav-warga-label::before {
  background-color: #228b49 !important;
}

.nav-warga-link.is-logging-out {
  pointer-events: none;
  opacity: .72;
}

/* v3.10: Warga greeting and clearer authenticated logout action. */
.nav-warga-link.is-authenticated {
  min-height: 2.9rem !important;
  padding: .62rem 1rem !important;
  gap: .55rem !important;
  border: 1px solid rgba(85, 216, 120, .58) !important;
  border-radius: 999rem !important;
  background: rgba(85, 216, 120, .12) !important;
  font-size: .98rem !important;
  font-weight: 850 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1) !important;
}

.nav-warga-link.is-authenticated .nav-warga-label::before {
  width: 1.15rem !important;
  height: 1.15rem !important;
  flex-basis: 1.15rem !important;
  background-color: currentColor !important;
  -webkit-mask: url("../icons/ui/logout-flaticon-style.svg") center / contain no-repeat !important;
  mask: url("../icons/ui/logout-flaticon-style.svg") center / contain no-repeat !important;
}

.nav-warga-link.is-authenticated .nav-warga-arrow {
  display: none !important;
}

.nav-warga-link.is-authenticated:hover,
.nav-warga-link.is-authenticated:focus-visible {
  background: #fff !important;
  color: var(--brand-deep) !important;
  border-color: #fff !important;
  box-shadow: 0 .45rem 1.05rem rgba(3,34,57,.14) !important;
}

.staff-welcome {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  margin: .8rem 0 .55rem !important;
  padding: .55rem .82rem;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999rem;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.9) !important;
  font-size: clamp(.88rem, 1.6vw, 1rem);
  line-height: 1.25;
  backdrop-filter: blur(6px);
}

.staff-welcome strong {
  color: #fff;
  font-weight: 850;
}

.staff-welcome-icon {
  width: .82rem;
  height: .82rem;
  flex: 0 0 .82rem;
  border-radius: 50%;
  background: #ffd36a;
  box-shadow: 0 0 0 .22rem rgba(255,211,106,.14);
}

@media (max-width: 42rem) {
  .nav-warga-link.is-authenticated {
    min-height: 2.75rem !important;
    padding: .58rem .82rem !important;
    font-size: .91rem !important;
  }
  .staff-welcome {
    max-width: 100%;
    white-space: normal;
  }
}


/* v3.11: Keep the authenticated logout end-cap visible and place the greeting in the former eyebrow position. */
.nav-warga-link.is-authenticated {
  padding-right: .48rem !important;
}

.nav-warga-link.is-authenticated::before,
.nav-warga-link.is-authenticated:hover::before,
.nav-warga-link.is-authenticated:focus-visible::before {
  right: .4rem !important;
  width: 2rem !important;
  height: 2rem !important;
  background: #fff !important;
}

.nav-warga-link.is-authenticated .nav-warga-arrow {
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 2rem !important;
  width: 2rem !important;
  height: 2rem !important;
  color: var(--brand-deep) !important;
  font-size: 1.04rem !important;
  line-height: 1 !important;
}

.nav-warga-link.is-authenticated:hover,
.nav-warga-link.is-authenticated:focus-visible {
  background: rgba(85, 216, 120, .2) !important;
  color: #fff !important;
  border-color: rgba(85, 216, 120, .78) !important;
}

.nav-warga-link.is-authenticated:hover .nav-warga-label,
.nav-warga-link.is-authenticated:focus-visible .nav-warga-label {
  color: #fff !important;
  transform: none !important;
}

.nav-warga-link.is-authenticated:hover .nav-warga-arrow,
.nav-warga-link.is-authenticated:focus-visible .nav-warga-arrow {
  color: var(--brand-deep) !important;
  transform: translateX(.08rem) !important;
}

.staff-hub-hero .staff-welcome {
  margin: 0 0 .7rem !important;
}

@media (max-width: 42rem) {
  .nav-warga-link.is-authenticated {
    padding-right: .42rem !important;
  }
  .nav-warga-link.is-authenticated::before,
  .nav-warga-link.is-authenticated:hover::before,
  .nav-warga-link.is-authenticated:focus-visible::before,
  .nav-warga-link.is-authenticated .nav-warga-arrow {
    width: 1.86rem !important;
    height: 1.86rem !important;
  }
  .nav-warga-link.is-authenticated .nav-warga-arrow {
    flex-basis: 1.86rem !important;
  }
}


/* v3.12: Keep Warga/Staff gateway available after sign-in; separate plain logout action. */
.primary-nav > ul > li[data-warga-menu-item] .nav-warga-link.is-menu-entry {
  position: static !important;
  isolation: auto !important;
  overflow: visible !important;
  display: flex !important;
  justify-content: flex-start !important;
  min-width: 0 !important;
  min-height: 3.7rem !important;
  padding: .65rem .9rem !important;
  gap: 0 !important;
  border: 0 !important;
  border-bottom: .25rem solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: inherit !important;
  font-weight: 650 !important;
  transform: none !important;
  transition: background-color .2s ease, border-color .2s ease !important;
}

.primary-nav > ul > li[data-warga-menu-item] .nav-warga-link.is-menu-entry::before,
.primary-nav > ul > li[data-warga-menu-item] .nav-warga-link.is-menu-entry .nav-warga-label::before,
.primary-nav > ul > li[data-warga-menu-item] .nav-warga-link.is-menu-entry .nav-warga-arrow {
  display: none !important;
}

.primary-nav > ul > li[data-warga-menu-item] .nav-warga-link.is-menu-entry:hover,
.primary-nav > ul > li[data-warga-menu-item] .nav-warga-link.is-menu-entry:focus-visible,
.primary-nav > ul > li[data-warga-menu-item] .nav-warga-link.is-menu-entry[aria-current="page"] {
  background: rgba(255,255,255,.11) !important;
  border-bottom-color: var(--accent) !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: none !important;
}

.primary-nav > ul > li[data-warga-menu-item] .nav-warga-link.is-menu-entry .nav-warga-label,
.primary-nav > ul > li[data-warga-menu-item] .nav-warga-link.is-menu-entry:hover .nav-warga-label,
.primary-nav > ul > li[data-warga-menu-item] .nav-warga-link.is-menu-entry:focus-visible .nav-warga-label {
  color: inherit !important;
  transform: none !important;
}

.nav-logout-link {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.5rem;
  margin: 0;
  padding: .45rem .15rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font: inherit;
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.nav-logout-link::before {
  content: "";
  width: 1.08rem;
  height: 1.08rem;
  flex: 0 0 1.08rem;
  background-color: currentColor;
  -webkit-mask: url("../icons/ui/logout-flaticon-style.svg") center / contain no-repeat;
  mask: url("../icons/ui/logout-flaticon-style.svg") center / contain no-repeat;
  opacity: .96;
}

.nav-logout-link:hover,
.nav-logout-link:focus-visible {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .22em;
}

.nav-logout-link.is-logging-out {
  pointer-events: none;
  opacity: .65;
}

@media (max-width: 62rem) {
  .primary-nav > ul > li[data-warga-menu-item] .nav-warga-link.is-menu-entry {
    min-height: 3.25rem !important;
    width: 100% !important;
  }

  .nav-logout-link {
    min-height: 2.3rem;
    padding: .35rem .15rem;
    font-size: .88rem;
  }
}

/* v3.13: Never expose the logout action when the Warga session is inactive. */
.nav-logout-link[hidden],
[data-warga-logout][hidden] {
  display: none !important;
}
