/* SimLab — halaman induk (gaya MedInovaTech) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #f7f9fb; --card: #ffffff; --ink: #191c1e; --muted: #45464f; --line: #e0e3e5;
  --navy: #0b1f4b; --deep: #000926; --teal: #006a65; --mint: #77f3eb; --cyan: #0e7490;
  --shadow: 0 4px 24px rgba(11, 31, 75, 0.08);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif; color: var(--ink); background: var(--bg);
  min-height: 100vh; display: flex; flex-direction: column; line-height: 1.6;
}
h1, h2, h3, .brand span { font-family: 'Manrope', 'Inter', system-ui, sans-serif; }
a { color: inherit; }
.ico { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Header */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(247, 249, 251, 0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(197, 198, 208, 0.5); }
.bar-in { max-width: 1120px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #1e3a8a; }
.brand .ico { color: var(--cyan); width: 1.5em; height: 1.5em; }
.brand span { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.sub { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; color: var(--teal); text-decoration: none; padding: 6px 12px; border-radius: 999px; background: rgba(119, 243, 235, 0.35); }
.sub:hover { background: rgba(119, 243, 235, 0.6); }

/* Konten */
main { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 28px 24px 64px; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.crumb a { text-decoration: none; color: var(--teal); }
.crumb a:hover { text-decoration: underline; }
.crumb [aria-current] { color: var(--ink); }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
h1 { font-size: clamp(32px, 5.5vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--deep); }
.lead { margin-top: 14px; max-width: 640px; font-size: 18px; color: var(--muted); }
h2.sec { margin: 44px 0 16px; font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* Kartu */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover, .card:focus-visible { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(11, 31, 75, 0.16); outline: none; }
.card:focus-visible { box-shadow: 0 0 0 3px var(--mint), 0 14px 40px rgba(11, 31, 75, 0.16); }
.thumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #060913; object-fit: cover; }
.thumb.field { display: grid; place-items: center; background: linear-gradient(135deg, #0b1f4b 0%, #0e7490 100%); color: var(--mint); }
.thumb.field .ico { width: 56px; height: 56px; }
.body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 12px; font-weight: 700; color: var(--teal); background: rgba(119, 243, 235, 0.35); padding: 3px 10px; border-radius: 999px; }
.card h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; color: var(--deep); }
.card p { font-size: 15px; color: var(--muted); }
.go { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 15px; color: var(--teal); }
.meta { font-size: 13px; color: var(--muted); }

.note { margin-top: 40px; max-width: 720px; padding: 14px 18px; border-left: 3px solid var(--mint); background: #fff; border-radius: 0 12px 12px 0; font-size: 14px; color: var(--muted); }

/* Footer */
footer { border-top: 1px solid #e2e8f0; background: #f1f5f9; font-size: 14px; color: #64748b; }
.foot-in { max-width: 1120px; margin: 0 auto; padding: 28px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 28px; align-items: center; }
.foot-in b { font-family: 'Manrope', sans-serif; font-weight: 800; color: #1e3a8a; font-size: 17px; }
.foot-in nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-in nav a { text-decoration: none; }
.foot-in nav a:hover { color: #0891b2; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 560px) { .bar-in, main, .foot-in { padding-left: 16px; padding-right: 16px; } .lead { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } .card:hover { transform: none; } }
