:root {
  --ml-gold: #C9A227;
  --ml-gold-light: #E8D48B;
  --ml-gold-dark: #A17D1A;
  --ml-maroon: #7B2D2D;
  --ml-maroon-dark: #5A1A1A;
  --ml-green: #1B5E20;
  --ml-green-light: #2E7D32;
  --ml-brown: #5D4037;
  --ml-brown-dark: #3E2723;
  --ml-cream: #FFF8E7;
  --ml-cream-dark: #F5ECD7;
  --ml-surface: #FFFFFF;
  --ml-text: #3E2723;
  --ml-text-muted: #795548;
  --ml-border: #E0D5C1;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--ml-text);
  background: var(--ml-cream);
  margin: 0;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--ml-brown-dark);
}

a { color: var(--ml-maroon); text-decoration: none; }
a:hover { color: var(--ml-gold-dark); }

img { max-width: 100%; height: auto; }

/* ============================================
   BATIK SIMPUR PATTERN (SVG background)
   Bunga Simpur: bunga 5 kelopak khas Belitung
   ============================================ */
.ml-batik-bg {
  background-color: var(--ml-maroon-dark);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg opacity='0.08' fill='%23C9A227'%3E%3Ccircle cx='40' cy='40' r='4'/%3E%3Ccircle cx='40' cy='28' r='6'/%3E%3Ccircle cx='51.4' cy='36.2' r='6'/%3E%3Ccircle cx='47.4' cy='48.2' r='6'/%3E%3Ccircle cx='32.6' cy='48.2' r='6'/%3E%3Ccircle cx='28.6' cy='36.2' r='6'/%3E%3Ccircle cx='0' cy='0' r='4'/%3E%3Ccircle cx='80' cy='0' r='4'/%3E%3Ccircle cx='0' cy='80' r='4'/%3E%3Ccircle cx='80' cy='80' r='4'/%3E%3C/g%3E%3C/svg%3E");
}

.ml-batik-gold {
  background-color: var(--ml-gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg opacity='0.12' fill='%235A1A1A'%3E%3Cpath d='M30 10 L34 20 L30 16 L26 20 Z'/%3E%3Cpath d='M30 50 L34 40 L30 44 L26 40 Z'/%3E%3Cpath d='M10 30 L20 26 L16 30 L20 34 Z'/%3E%3Cpath d='M50 30 L40 26 L44 30 L40 34 Z'/%3E%3Ccircle cx='30' cy='30' r='3'/%3E%3Ccircle cx='0' cy='0' r='2'/%3E%3Ccircle cx='60' cy='0' r='2'/%3E%3Ccircle cx='0' cy='60' r='2'/%3E%3Ccircle cx='60' cy='60' r='2'/%3E%3C/g%3E%3C/svg%3E");
}

/* ============================================
   ORNAMEN BORDER MELAYU
   Pola geometrik terinspirasi ukiran Melayu
   ============================================ */
.ml-ornamen-top {
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--ml-gold) 0px, var(--ml-gold) 12px,
    var(--ml-maroon) 12px, var(--ml-maroon) 16px,
    var(--ml-gold) 16px, var(--ml-gold) 28px,
    var(--ml-green) 28px, var(--ml-green) 32px
  );
}

.ml-ornamen-border {
  border-image: repeating-linear-gradient(
    90deg,
    var(--ml-gold) 0px, var(--ml-gold) 8px,
    transparent 8px, transparent 12px
  ) 4;
  border-bottom: 4px solid;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.ml-topbar {
  background: var(--ml-maroon-dark);
  color: var(--ml-gold-light);
  font-size: 13px;
  padding: 6px 0;
}
.ml-topbar a { color: var(--ml-gold-light); }
.ml-topbar a:hover { color: #fff; }

.ml-navbar {
  background: var(--ml-surface);
  box-shadow: 0 2px 12px rgba(62,39,35,.08);
  position: sticky;
  top: 0;
  z-index: 1030;
}
.ml-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--ml-brown-dark);
  font-size: 1.15rem;
}
.ml-navbar .navbar-brand img {
  height: 44px;
  width: auto;
}
.ml-navbar .navbar-brand small {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: var(--ml-text-muted);
}
.ml-navbar .nav-link {
  color: var(--ml-text);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  transition: color .2s;
}
.ml-navbar .nav-link:hover,
.ml-navbar .nav-link:focus {
  color: var(--ml-gold-dark);
}
.ml-navbar .dropdown-menu {
  border: 1px solid var(--ml-border);
  border-top: 3px solid var(--ml-gold);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.ml-navbar .dropdown-item:hover {
  background: var(--ml-cream);
  color: var(--ml-maroon);
}
.ml-navbar .navbar-toggler {
  border-color: var(--ml-border);
}

/* ============================================
   HERO SECTION
   ============================================ */
.ml-hero {
  position: relative;
  overflow: hidden;
}
.ml-hero-carousel .carousel-item {
  height: 380px;
  background-color: var(--ml-maroon-dark);
}
.ml-hero-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ml-hero-carousel .carousel-caption {
  background: linear-gradient(transparent, rgba(91,26,26,.85));
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 24px 24px;
  text-align: left;
}
.ml-hero-carousel .carousel-caption h5 {
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.ml-hero-carousel .carousel-caption p {
  color: rgba(255,255,255,.85);
  font-size: 14px;
}
.ml-hero-carousel .carousel-indicators [data-bs-target] {
  background: var(--ml-gold);
  border-radius: 50%;
  width: 10px;
  height: 10px;
  border: 0;
  opacity: .5;
}
.ml-hero-carousel .carousel-indicators .active {
  opacity: 1;
}
.ml-hero-carousel .carousel-control-prev-icon,
.ml-hero-carousel .carousel-control-next-icon {
  background-color: rgba(201,162,39,.6);
  border-radius: 50%;
  padding: 20px;
  background-size: 50%;
}

.ml-hero-intro {
  background: linear-gradient(135deg, var(--ml-maroon-dark) 0%, var(--ml-maroon) 100%);
  padding: 48px 0;
  position: relative;
}
.ml-hero-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg opacity='0.06' fill='%23C9A227'%3E%3Ccircle cx='40' cy='40' r='4'/%3E%3Ccircle cx='40' cy='28' r='6'/%3E%3Ccircle cx='51.4' cy='36.2' r='6'/%3E%3Ccircle cx='47.4' cy='48.2' r='6'/%3E%3Ccircle cx='32.6' cy='48.2' r='6'/%3E%3Ccircle cx='28.6' cy='36.2' r='6'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.ml-hero-intro h1 {
  color: var(--ml-gold);
  font-size: 2rem;
  margin-bottom: 12px;
}
.ml-hero-intro p {
  color: var(--ml-gold-light);
  font-size: 15px;
  max-width: 600px;
}
.ml-hero-intro .ml-motto {
  color: var(--ml-gold);
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  margin-top: 8px;
}

/* ============================================
   ORNAMENTAL WAVE DIVIDER
   ============================================ */
.ml-wave {
  line-height: 0;
  overflow: hidden;
}
.ml-wave svg {
  display: block;
  width: 100%;
  height: 40px;
}
.ml-wave-maroon {
  background: var(--ml-cream);
}
.ml-wave-cream {
  background: linear-gradient(135deg, var(--ml-maroon-dark) 0%, var(--ml-maroon) 100%);
}

.ml-ornamen-divider {
  text-align: center;
  padding: 12px 0;
}
.ml-ornamen-divider svg {
  height: 20px;
  width: 120px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-ml {
  background: var(--ml-maroon);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: all .2s;
}
.btn-ml:hover {
  background: var(--ml-maroon-dark);
  color: #fff;
}
.btn-ml-gold {
  background: var(--ml-gold);
  color: var(--ml-brown-dark);
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: all .2s;
}
.btn-ml-gold:hover {
  background: var(--ml-gold-dark);
  color: #fff;
}
.btn-ml-outline {
  background: transparent;
  color: var(--ml-maroon);
  border: 2px solid var(--ml-maroon);
  padding: 8px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: all .2s;
}
.btn-ml-outline:hover {
  background: var(--ml-maroon);
  color: #fff;
}

/* ============================================
   SECTION HEADINGS
   ============================================ */
.ml-section {
  padding: 48px 0;
}
.ml-section-title {
  text-align: center;
  margin-bottom: 8px;
  color: var(--ml-brown-dark);
  font-size: 1.6rem;
  position: relative;
}
.ml-section-subtitle {
  text-align: center;
  color: var(--ml-text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}
.ml-section-ornamen {
  text-align: center;
  margin-bottom: 24px;
}
.ml-section-ornamen::after {
  content: '';
  display: inline-block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--ml-gold), var(--ml-maroon), var(--ml-gold));
  border-radius: 2px;
}

/* ============================================
   PAGE BANNER (inner pages)
   ============================================ */
.ml-page-banner {
  background: linear-gradient(135deg, var(--ml-maroon-dark) 0%, var(--ml-maroon) 100%);
  padding: 32px 0;
  position: relative;
}
.ml-page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg opacity='0.06' fill='%23C9A227'%3E%3Ccircle cx='40' cy='40' r='4'/%3E%3Ccircle cx='40' cy='28' r='6'/%3E%3Ccircle cx='51.4' cy='36.2' r='6'/%3E%3Ccircle cx='47.4' cy='48.2' r='6'/%3E%3Ccircle cx='32.6' cy='48.2' r='6'/%3E%3Ccircle cx='28.6' cy='36.2' r='6'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.ml-page-banner h2 {
  color: var(--ml-gold);
  font-size: 1.5rem;
  margin: 0;
  position: relative;
}

/* ============================================
   CARDS (berita, agenda, etc)
   ============================================ */
.ml-card {
  background: var(--ml-surface);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--ml-border);
  transition: transform .2s, box-shadow .2s;
  height: 100%;
}
.ml-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(93,64,55,.12);
}
.ml-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.ml-card-body {
  padding: 16px;
}
.ml-card-body h5 {
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.4;
}
.ml-card-body h5 a {
  color: var(--ml-brown-dark);
}
.ml-card-body h5 a:hover {
  color: var(--ml-maroon);
}
.ml-card-meta {
  font-size: 12px;
  color: var(--ml-text-muted);
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.ml-card-badge {
  display: inline-block;
  background: var(--ml-gold);
  color: var(--ml-brown-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ============================================
   PENGUMUMAN & AGENDA
   ============================================ */
.ml-announcement {
  padding: 14px 16px;
  border-left: 4px solid var(--ml-gold);
  background: var(--ml-surface);
  border-radius: 0 8px 8px 0;
  margin-bottom: 12px;
  transition: border-color .2s;
}
.ml-announcement:hover {
  border-left-color: var(--ml-maroon);
}
.ml-announcement h6 {
  margin: 0 0 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
}
.ml-announcement small {
  color: var(--ml-text-muted);
  font-size: 12px;
}

.ml-agenda-date {
  width: 56px;
  text-align: center;
  background: var(--ml-maroon);
  color: #fff;
  border-radius: 8px;
  padding: 8px 4px;
  flex-shrink: 0;
}
.ml-agenda-date .day {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  color: var(--ml-gold);
}
.ml-agenda-date .month {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   ORGANISASI / PEMERINTAHAN
   ============================================ */
.ml-pejabat-card {
  text-align: center;
  padding: 20px 12px;
  background: var(--ml-surface);
  border-radius: 10px;
  border: 1px solid var(--ml-border);
  transition: box-shadow .2s;
}
.ml-pejabat-card:hover {
  box-shadow: 0 6px 20px rgba(93,64,55,.1);
}
.ml-pejabat-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--ml-gold);
  margin-bottom: 12px;
}
.ml-pejabat-card h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}
.ml-pejabat-card .jabatan {
  background: var(--ml-maroon);
  color: var(--ml-gold-light);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.ml-pejabat-card .nip {
  font-size: 11px;
  color: var(--ml-text-muted);
  margin-top: 6px;
}

/* ============================================
   GALLERY
   ============================================ */
.ml-gallery-item {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--ml-brown-dark);
}
.ml-gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .3s;
}
.ml-gallery-item:hover img {
  transform: scale(1.05);
}
.ml-gallery-item .gallery-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(62,39,35,.85));
  color: #fff;
  padding: 24px 12px 10px;
}
.ml-gallery-item .gallery-cap h6 {
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}
.ml-gallery-item .galeri-video-wrap {
  position: absolute;
  inset: 0;
}
.ml-gallery-item .galeri-video-wrap iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.sid-lb{position:fixed;inset:0;z-index:9999;background:rgba(42,22,16,.94);display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .25s}
.sid-lb.active{opacity:1;pointer-events:auto}
.sid-lb img{max-width:90vw;max-height:80vh;border-radius:6px;box-shadow:0 4px 30px rgba(0,0,0,.5)}
.sid-lb-close{position:absolute;top:16px;right:20px;background:none;border:none;color:var(--ml-gold);font-size:28px;cursor:pointer;z-index:10;opacity:.8;line-height:1}
.sid-lb-close:hover{opacity:1}
.sid-lb-nav{position:absolute;top:50%;transform:translateY(-50%);background:rgba(201,162,39,.2);border:none;color:var(--ml-gold);font-size:24px;width:48px;height:48px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}
.sid-lb-nav:hover{background:rgba(201,162,39,.4)}
.sid-lb-prev{left:16px}
.sid-lb-next{right:16px}
.sid-lb-cap{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);color:var(--ml-gold-light);text-align:center;max-width:80vw;font-size:14px;text-shadow:0 1px 4px rgba(0,0,0,.6)}
.sid-lb-count{position:absolute;top:18px;left:20px;color:rgba(232,212,139,.7);font-size:14px}

/* ============================================
   INFO WILAYAH / TABLE
   ============================================ */
.ml-info-table {
  width: 100%;
  font-size: 14px;
}
.ml-info-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--ml-border);
}
.ml-info-table td:first-child {
  font-weight: 600;
  width: 40%;
  color: var(--ml-brown-dark);
}

/* ============================================
   FOOTER
   ============================================ */
.ml-footer {
  background: var(--ml-brown-dark);
  color: var(--ml-cream-dark);
  padding: 48px 0 0;
  position: relative;
}
.ml-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg opacity='0.04' fill='%23C9A227'%3E%3Ccircle cx='40' cy='40' r='4'/%3E%3Ccircle cx='40' cy='28' r='6'/%3E%3Ccircle cx='51.4' cy='36.2' r='6'/%3E%3Ccircle cx='47.4' cy='48.2' r='6'/%3E%3Ccircle cx='32.6' cy='48.2' r='6'/%3E%3Ccircle cx='28.6' cy='36.2' r='6'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.ml-footer h5 {
  color: var(--ml-gold);
  font-size: 1rem;
  margin-bottom: 16px;
  position: relative;
}
.ml-footer p, .ml-footer li {
  font-size: 13px;
  line-height: 1.7;
  position: relative;
}
.ml-footer a {
  color: var(--ml-cream-dark);
  transition: color .2s;
}
.ml-footer a:hover {
  color: var(--ml-gold);
}
.ml-footer-bottom {
  border-top: 1px solid rgba(201,162,39,.15);
  margin-top: 32px;
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,248,231,.5);
  position: relative;
}
.ml-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ml-footer-links li {
  padding: 3px 0;
}
.ml-footer-links li::before {
  content: '◆';
  color: var(--ml-gold);
  font-size: 8px;
  margin-right: 8px;
  vertical-align: middle;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.ml-breadcrumb {
  background: transparent;
  padding: 0;
  margin: 8px 0 0;
  font-size: 13px;
}
.ml-breadcrumb a { color: var(--ml-gold-light); }
.ml-breadcrumb .active { color: rgba(255,255,255,.6); }
.ml-breadcrumb .separator { color: rgba(255,255,255,.4); margin: 0 6px; }

/* ============================================
   TRANSLATE FAB
   ============================================ */
.translate-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1050;
  background: var(--ml-gold);
  color: var(--ml-brown-dark);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  cursor: pointer;
  transition: transform .2s;
  border: none;
}
.translate-fab:hover { transform: scale(1.1); }

.translate-panel {
  position: fixed;
  bottom: 80px;
  left: 24px;
  z-index: 1049;
  background: var(--ml-surface);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  padding: 16px;
  width: 200px;
  display: none;
  border: 1px solid var(--ml-border);
}
.translate-panel.show { display: block; }
.translate-panel a {
  display: block;
  padding: 5px 8px;
  font-size: 13px;
  border-radius: 4px;
  color: var(--ml-text);
}
.translate-panel a:hover {
  background: var(--ml-cream);
  color: var(--ml-maroon);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
  .ml-hero-carousel .carousel-item { height: 260px; }
  .ml-hero-intro h1 { font-size: 1.5rem; }
  .ml-section { padding: 32px 0; }
}
@media (max-width: 575px) {
  .ml-hero-carousel .carousel-item { height: 200px; }
  .ml-hero-intro { padding: 32px 0; }
  .ml-hero-intro h1 { font-size: 1.25rem; }
  .ml-page-banner { padding: 24px 0; }
  .ml-page-banner h2 { font-size: 1.2rem; }
  .ml-card-img { height: 160px; }
  .ml-gallery-item img { height: 160px; }
  .ml-pejabat-card img { width: 70px; height: 70px; }
}

/* ============================================
   ARTIKEL / DETAIL CONTENT
   ============================================ */
.article-content,
.isi-artikel {
  text-align: justify;
  text-justify: inter-word;
  overflow-wrap: break-word;
  line-height: 1.8;
  font-size: 15px;
  color: var(--ml-text);
}
.article-content h1,.article-content h2,.article-content h3,.article-content h4,.article-content h5,.article-content h6,
.article-content td,.article-content th,.article-content figcaption,
.isi-artikel h1,.isi-artikel h2,.isi-artikel h3,.isi-artikel h4,.isi-artikel h5,.isi-artikel h6,
.isi-artikel td,.isi-artikel th,.isi-artikel figcaption { text-align: left; }
.article-content img,
.isi-artikel img { max-width: 100%; height: auto; border-radius: 6px; margin: 8px 0; }
.article-content p,
.isi-artikel p { margin-bottom: 1rem; }
.article-content table,
.isi-artikel table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.article-content td,.article-content th,
.isi-artikel td,.isi-artikel th { padding: 8px 10px; border: 1px solid var(--ml-border); }
.article-content blockquote,
.isi-artikel blockquote { border-left: 4px solid var(--ml-gold); padding: 12px 16px; margin: 12px 0; background: var(--ml-cream-dark); border-radius: 0 6px 6px 0; font-style: italic; }

/* Article card wrapper */
.ml-article-card {
  background: var(--ml-surface);
  border-radius: 10px;
  padding: 24px;
  border: 1px solid var(--ml-border);
}

/* Sidebar — override ml-card height:100% so it doesn't stretch */
.ml-sidebar .ml-card { height: auto; }

.ml-sidebar .ml-sidebar-box {
  background: var(--ml-surface);
  border-radius: 10px;
  padding: 16px;
  border: 1px solid var(--ml-border);
  margin-bottom: 16px;
}
.ml-sidebar .ml-sidebar-box h5 {
  font-size: 1rem;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ml-gold);
  color: var(--ml-brown-dark);
}
.ml-sidebar .ml-sidebar-box a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--ml-border);
  color: var(--ml-text);
  line-height: 1.4;
}
.ml-sidebar .ml-sidebar-box a:last-child { border-bottom: none; }
.ml-sidebar .ml-sidebar-box a:hover { color: var(--ml-maroon); }
.ml-sidebar .ml-sidebar-box small { color: var(--ml-text-muted); font-size: 12px; }
.ml-sidebar .ml-sidebar-box .badge {
  background: var(--ml-cream-dark);
  color: var(--ml-text-muted);
  font-weight: 500;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
}
