/* ========== Base Layout ========== */
.about-sibi-section {
  padding: 28px 20px;
}

.about-sibi-section .container {
  max-width: 1200px;
  margin: 0 auto;
  /* Sidebar layout: 2 kolom (main 2fr, side 1fr) */
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
}

.title {
  font-size: 2.2em;
  color: #1976d2;
  margin: 0 0 10px;
  text-align: left;
}

.subtitle {
  font-size: 1.05em;
  line-height: 1.7;
  color: #e3e3e3;
  margin: 0 0 14px;
}

.description { text-align: left; }

/* Limit readable line length in main column */
.main-content { max-width: 760px; }
.learn-more--hero { margin: 8px 0 12px; }

/* ========== Media / Figure ========== */
.image-section {
  margin: 18px 0 6px;
}
.image-section.image-inline img {
  max-width: 520px; /* kecil agar tidak mendominasi */
}
.image-section img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.caption {
  font-size: 0.95em;
  color: #1976d2;
  margin-top: 6px;
}

/* ========== Section Titles & Text ========== */
.section-title {
  font-size: 1.35em;
  color: #eaeaea;
  margin: 26px 0 10px;
  text-align: left;
}
.description {
  font-size: 1.08em;
  color: #e3e3e3;
  line-height: 1.75;
  margin-bottom: 18px;
}

/* ========== Lists & Steps ========== */
.key-points { margin: 8px 0 14px 18px; }
.key-points li { margin: 7px 0; line-height: 1.6; }
.steps { margin: 8px 0 6px 18px; }
.steps li { margin: 7px 0; line-height: 1.6; }

/* ========== Grids & Cards ========== */
.grid { display: grid; gap: 14px; text-align: left; }
.grid-why, .grid-features, .grid-people { grid-template-columns: repeat(3, 1fr); }

.card, .feature, .person, .side-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.card:hover, .feature:hover, .person:hover, .side-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
  border-color: rgba(25,118,210,0.45);
}
.card h4, .feature h4, .person h4 { margin: 0 0 6px; font-size: 1.05em; color: #fff; }
.role { margin: 0 0 6px; font-size: 0.95em; color: #cfcfcf; }

/* ========== Sidebar ========== */
.info-sidebar { position: sticky; top: 84px; align-self: start; }
.info-sidebar .side-card + .side-card { margin-top: 14px; }
.side-card h3 { margin: 0 0 8px; font-size: 1.05em; color: #eaeaea; }
.fact-list, .use-list { margin: 0; padding-left: 18px; }
.fact-list li, .use-list li { margin: 6px 0; line-height: 1.5; }
.side-image img { width: 100%; border-radius: 10px; display: block; }

/* Glossary */
.glossary { margin: 0; }
.glossary dt { font-weight: 600; margin: 6px 0 2px; color: #fff; }
.glossary dd { margin: 0 0 8px; color: #d9d9d9; }

/* ========== Quotes ========== */
.quote {
  margin: 6px 0 0;
  padding: 10px 12px;
  border-left: 3px solid #1976d2;
  background: rgba(25,118,210,0.08);
  border-radius: 8px;
  color: #e6e6e6;
  font-style: italic;
}
.quote.placeholder { opacity: 0.8; }

/* ========== Table (Compare) ========== */
.table-responsive { width: 100%; overflow-x: auto; margin-top: 8px; }
.table-compact {
  width: 100%; border-collapse: collapse; min-width: 640px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; overflow: hidden;
}
.table-compact th, .table-compact td {
  padding: 10px 12px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #eaeaea; font-size: 0.96em;
}
.table-compact thead th { background: rgba(25,118,210,0.12); color: #fff; font-weight: 600; }
.table-compact tbody tr:hover { background: rgba(255,255,255,0.04); }

/* ========== Footer & Buttons ========== */
.footer-section { margin-top: 12px; font-size: 0.95em; color: #888; }
.source span { color: #bdbdbd; }
.learn-more { margin-top: 10px; }
.learn-more .btn, .learn-more button {
  background-color: #1976d2; color: #fff; border: none; padding: 10px 18px; font-size: 1em;
  cursor: pointer; border-radius: 8px; transition: background-color .18s, transform .16s, box-shadow .18s;
}
.learn-more .btn:hover, .learn-more button:hover {
  background-color: #1565c0; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(21,101,192,0.35);
}
.learn-more .btn:focus-visible, .learn-more button:focus-visible {
  outline: 3px solid rgba(25,118,210,0.6); outline-offset: 2px;
}

/* ========== Light Mode Overrides ========== */
body.light-mode .subtitle, body.light-mode .description { color: #2c2c2c; }
body.light-mode .section-title { color: #1d1d1d; }
body.light-mode .card, body.light-mode .feature, body.light-mode .person, body.light-mode .side-card {
  background: #fff; border-color: rgba(0,0,0,0.08); box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
body.light-mode .card:hover, body.light-mode .feature:hover, body.light-mode .person:hover, body.light-mode .side-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12); border-color: rgba(25,118,210,0.35);
}
body.light-mode .role { color: #555; }
body.light-mode .quote { background: rgba(25,118,210,0.08); color: #0f172a; border-left-color: #1976d2; }
body.light-mode .table-compact { background: #fff; border-color: rgba(0,0,0,0.08); }
body.light-mode .table-compact th, body.light-mode .table-compact td { color: #1d1d1d; border-bottom-color: rgba(0,0,0,0.08); }
body.light-mode .table-compact thead th { background: rgba(25,118,210,0.12); color: #0f172a; }

/* ========== Responsiveness ========== */
@media (max-width: 1100px) {
  .about-sibi-section .container {
    grid-template-columns: 1.7fr 1fr; /* sedikit lebih sempit main di layar menengah */
  }
}
@media (max-width: 900px) {
  .about-sibi-section .container { grid-template-columns: 1fr; }
  .info-sidebar { position: static; }
  .image-section.image-inline img { max-width: 100%; }
  .grid-why, .grid-features, .grid-people { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .title { font-size: 1.9em; }
  .subtitle { font-size: 1em; }
  .section-title { font-size: 1.2em; }
  .grid-why, .grid-features, .grid-people { grid-template-columns: 1fr; }
  .table-compact { min-width: 520px; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .feature, .person, .side-card, .learn-more .btn, .learn-more button { transition: none; }
}
/* Simplify: tanpa tombol & tanpa section tokoh -> rapikan jarak */
.learn-more, .people-org { display: none !important; }

.about-sibi-section .container {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
}

.main-content { max-width: 760px; }
.image-section.image-inline img { max-width: 520px; }

.section-title { margin-top: 26px; }
.grid { gap: 14px; }
.grid-why, .grid-features { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) {
  .about-sibi-section .container { grid-template-columns: 1fr; }
  .grid-why, .grid-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-why, .grid-features { grid-template-columns: 1fr; }
}
