/*
* Tema Barka - Tampilan Modern
* ---------------------------------------------------------------
* Ubah warna merek sekolah di blok :root di bawah ini.
* File ini dimuat PALING AKHIR sehingga menimpa style.min.css.
*/
:root {
  --primary-color: #002447;   /* biru tua: topbar, footer, tombol utama */
  --secondary-color: #20639B; /* biru: tautan, aksen interaktif */
  --accent-color: #FED700;    /* kuning: penanda kecil & tombol sorot */
  --loader-color: #20639B;

  --bx-bg: #F4F7FB;
  --bx-surface: #FFFFFF;
  --bx-ink: #0F1B2D;
  --bx-muted: #566579;
  --bx-line: #E3E9F2;
  --bx-radius: 16px;
  --bx-radius-sm: 10px;
  --bx-shadow: 0 1px 2px rgba(16, 36, 71, .05), 0 10px 28px -12px rgba(16, 36, 71, .14);
  --bx-shadow-lg: 0 2px 4px rgba(16, 36, 71, .06), 0 22px 44px -16px rgba(16, 36, 71, .24);
  --bx-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}

/* ============ Dasar ============ */
html { scroll-behavior: smooth; }
body {
  font-family: var(--bx-font);
  background: var(--bx-bg);
  color: var(--bx-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.font-heading { font-family: var(--bx-font); letter-spacing: -0.015em; }
img { max-width: 100%; }
a { transition: color .2s ease; }
:focus-visible { outline: 2px solid var(--secondary-color); outline-offset: 2px; border-radius: 4px; }
.container { padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 1024px) { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }

/* ============ Tombol ============ */
.bx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.25rem; border-radius: 999px; font-weight: 700; font-size: .9375rem;
  line-height: 1; border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.bx-btn:hover { transform: translateY(-1px); }
.bx-btn-accent { background: var(--accent-color); color: #1b1600; }
.bx-btn-accent:hover { box-shadow: 0 8px 20px -6px rgba(254, 215, 0, .65); }
.bx-btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); }
.bx-btn-ghost:hover { background: rgba(255,255,255,.22); }
.bx-btn-primary { background: var(--secondary-color); color: #fff; }
.bx-btn-primary:hover { background: var(--primary-color); }
.bx-btn-soft { background: rgba(32, 99, 155, .09); color: var(--secondary-color); }
.bx-btn-soft:hover { background: rgba(32, 99, 155, .16); }
.bx-btn-block { width: 100%; }

/* ============ Preloader ============ */
.preloader { background: #fff; }

/* ============ Topbar ============ */
.bx-topbar { display: none; background: var(--primary-color); color: #c9d6e8; font-size: .8125rem; }
@media (min-width: 1024px) { .bx-topbar { display: block; } }
.bx-topbar-inner { display: flex; align-items: center; justify-content: space-between; padding-top: .5rem; padding-bottom: .5rem; }
.bx-topbar-contact { display: flex; gap: 1.5rem; }
.bx-topbar-contact i { color: var(--accent-color); margin-right: .4rem; }
.bx-topbar-social { display: flex; gap: .25rem; }
.bx-topbar-social a { width: 1.75rem; height: 1.75rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: #c9d6e8; }
.bx-topbar-social a:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ============ Header & Navigasi ============ */
.bx-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--bx-line);
  box-shadow: 0 1px 0 rgba(16,36,71,.02);
}
.bx-header-inner { display: flex; align-items: center; min-height: 4.25rem; }
.bx-brand { margin-right: 1rem; }
.bx-nav { flex: 0 0 auto; }
.menu-button { margin-left: auto; }
@media (min-width: 1024px) { .bx-nav { margin-left: auto; } }
.bx-brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--bx-ink); min-width: 0; }
.bx-brand img { width: 2.75rem; height: 2.75rem; object-fit: contain; flex-shrink: 0; }
.bx-brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.bx-brand-text small { font-size: .8125rem; font-weight: 600; color: var(--bx-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-brand-text strong { font-size: 1.1875rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--primary-color); }

.menu-button {
  position: relative; z-index: 60; display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 12px; border: 1px solid var(--bx-line);
  background: #fff; cursor: pointer; font-size: 1.125rem;
}
.menu-button .fa { color: var(--bx-ink) !important; }
.menu-button:focus:not(:focus-visible) { outline: none; }
.menu-button:focus-visible { outline: 2px solid var(--secondary-color); outline-offset: 2px; }
@media (min-width: 1024px) { .menu-button { display: none; } }

/* Mobile: laci menu */
.bx-nav .menu { background: #fff; padding: 0 0 2rem; list-style: none; }
.bx-menu-title { padding: 1.25rem 1.25rem .75rem; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bx-muted); }
.bx-nav .menu-link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: .85rem 1.25rem; font-weight: 600; color: var(--bx-ink); text-decoration: none;
  border-bottom: 1px solid var(--bx-line);
}
.bx-nav .menu-link:hover, .bx-nav .menu-link.is-active { color: var(--secondary-color); }
.bx-nav .menu-icon { font-size: .7rem; margin-left: .5rem; opacity: .7; }
.bx-nav .menu-dropdown { margin: 0 0 0 1.25rem; border-left: 3px solid var(--accent-color); background: #FAFBFD; }
.bx-nav .menu-dropdown a { display: block; padding: .65rem 1rem; font-weight: 500; font-size: .9375rem; color: var(--bx-ink); text-decoration: none; border-bottom: 1px solid var(--bx-line); }
.bx-nav .menu-dropdown a:hover { color: var(--secondary-color); background: #fff; }
.bx-nav .menu-dropdown.is-open { height: auto; }

/* Desktop: menu horizontal */
@media (min-width: 1024px) {
  .bx-menu-title { display: none; }
  .bx-nav .menu {
    width: auto; height: auto; margin: 0; padding: 0; background: transparent;
    flex-wrap: nowrap; align-items: center; gap: .125rem; justify-content: flex-end;
  }
  .bx-nav .menu-item { perspective: none; width: auto; height: auto; position: relative; }
  .bx-nav .menu-link {
    width: auto; padding: .55rem .85rem; border: 0; border-radius: 999px; font-size: .9375rem;
    color: var(--bx-ink) !important; white-space: nowrap;
  }
  .bx-nav .menu-link:hover, .bx-nav .menu-item:focus-within > .menu-link {
    background: rgba(32, 99, 155, .09); color: var(--secondary-color) !important;
  }
  .bx-nav .menu-link.is-active { background: var(--primary-color); color: #fff !important; }
  .bx-nav .menu-icon { transform: none !important; transition: transform .2s ease; }
  .bx-nav .menu-item:hover .menu-icon { transform: rotate(180deg) !important; }

  .bx-nav .menu-dropdown {
    position: absolute; top: 100%; left: 0; margin: .5rem 0 0; width: 15rem; padding: .5rem;
    border: 1px solid var(--bx-line); border-radius: 14px; background: #fff; box-shadow: var(--bx-shadow-lg);
    height: auto; opacity: 0; visibility: hidden; transform: translateY(8px);
    transform-origin: top; transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .bx-nav .menu-dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -.6rem; height: .6rem; }
  .bx-nav .menu-item:hover > .menu-dropdown,
  .bx-nav .menu-item:focus-within > .menu-dropdown,
  .bx-nav .menu-dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
  .bx-nav .menu-dropdown a { border: 0; border-radius: 10px; padding: .6rem .85rem; }
  .bx-nav .menu-dropdown a:hover { background: rgba(32, 99, 155, .09); }
}

/* ============ Hero ============ */
.bx-hero { padding-top: 1rem; }
@media (min-width: 1024px) { .bx-hero { padding-top: 1.5rem; } }
.bx-hero-frame {
  position: relative; overflow: hidden; border-radius: 20px; background: var(--primary-color);
  box-shadow: var(--bx-shadow-lg); isolation: isolate;
}
@media (min-width: 1024px) { .bx-hero-frame { border-radius: 28px; } }
.bx-hero .o-slider { background: var(--primary-color); max-width: none; }
.bx-slide { margin: 0; height: clamp(260px, 46vw, 500px); width: 100%; }
.bx-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.bx-hero-fallback {
  height: clamp(260px, 46vw, 500px);
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(254,215,0,.28), transparent 60%),
    radial-gradient(70% 90% at 0% 100%, rgba(32,99,155,.9), transparent 70%),
    var(--primary-color);
}
.bx-hero-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; pointer-events: none;
  padding: 4.5rem 1.25rem 1.25rem; color: #fff;
  background: linear-gradient(180deg, rgba(0,20,45,0) 0%, rgba(0,20,45,.62) 45%, rgba(0,20,45,.92) 100%);
}
@media (min-width: 768px) { .bx-hero-caption { padding: 7rem 2.5rem 2.25rem; } }
.bx-eyebrow { margin: 0 0 .35rem; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-color); }
.bx-hero-caption h1 { margin: 0; font-size: clamp(1.5rem, 4.2vw, 2.75rem); line-height: 1.1; font-weight: 800; letter-spacing: -.025em; max-width: 22ch; text-wrap: balance; }
.bx-hero-caption p.bx-tagline { margin: .6rem 0 0; font-size: clamp(.9375rem, 1.6vw, 1.125rem); color: rgba(255,255,255,.88); max-width: 52ch; }
.bx-hero-actions { display: none; gap: .75rem; margin-top: 1.25rem; pointer-events: auto; flex-wrap: wrap; }
@media (min-width: 640px) { .bx-hero-actions { display: flex; } }
.bx-hero .owl-dots { position: absolute; top: 1rem; right: 1rem; z-index: 4; display: flex; gap: 6px; padding: .4rem .6rem; border-radius: 999px; background: rgba(0,20,45,.35); }
.bx-hero .owl-dot { background: none; border: 0; padding: 0; cursor: pointer; }
.bx-hero .owl-dot span { display: block; width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.55); transition: width .25s ease, background-color .25s ease; }
.bx-hero .owl-dot.active span { width: 22px; background: #fff; }

/* ============ Kartu info ============ */
.bx-info { display: grid; gap: .875rem; grid-template-columns: 1fr; position: relative; z-index: 5; margin-top: 1rem; }
@media (min-width: 768px) { .bx-info { grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: -2rem; padding: 0 1rem; } }
.bx-info-card { display: flex; align-items: flex-start; gap: .9rem; padding: 1.1rem 1.25rem; background: var(--bx-surface); border: 1px solid var(--bx-line); border-radius: var(--bx-radius); box-shadow: var(--bx-shadow); }
.bx-info-icon { flex-shrink: 0; width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: rgba(32,99,155,.1); color: var(--secondary-color); font-size: 1.2rem; }
.bx-info-card h2 { margin: 0 0 .15rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bx-muted); }
.bx-info-card p, .bx-info-card a { margin: 0; font-size: .9375rem; font-weight: 600; color: var(--bx-ink); text-decoration: none; word-break: break-word; }
.bx-info-card a:hover { color: var(--secondary-color); }
.bx-info-card small { display: block; font-weight: 500; color: var(--bx-muted); font-size: .8125rem; }
.bx-info-social { display: flex; gap: .4rem; margin-top: .35rem; }
.bx-info-social a { width: 2rem; height: 2rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1.5px solid var(--bx-line); color: var(--secondary-color); }
.bx-info-social a:hover { background: var(--secondary-color); border-color: var(--secondary-color); color: #fff; }

/* ============ Berita berjalan ============ */
.bx-ticker { display: flex; align-items: stretch; overflow: hidden; border-radius: 999px; background: var(--bx-surface); border: 1px solid var(--bx-line); box-shadow: var(--bx-shadow); font-size: .875rem; }
.bx-ticker-label { flex-shrink: 0; display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; background: var(--primary-color); color: #fff; font-weight: 700; font-size: .8125rem; z-index: 2; }
.bx-ticker-label i { color: var(--accent-color); }
.bx-ticker-viewport { position: relative; overflow: hidden; flex: 1; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent); }
.bx-ticker-track { display: inline-flex; flex-shrink: 0; white-space: nowrap; animation: bx-marquee 40s linear infinite; }
.bx-ticker:hover .bx-ticker-track { animation-play-state: paused; }
.bx-ticker-group { display: inline-flex; min-width: 100vw; align-items: center; }
.bx-ticker-item { padding: 0 1.5rem; position: relative; color: var(--bx-ink); }
.bx-ticker-item::after { content: ''; position: absolute; right: 0; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 999px; background: var(--accent-color); }
@keyframes bx-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ Tata letak beranda ============ */
.bx-main { margin-top: 1.5rem; margin-bottom: 3rem; flex: 1; }
.bx-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; margin-top: 2rem; align-items: start; }
@media (min-width: 1024px) { .bx-layout { grid-template-columns: minmax(0, 1fr) 21rem; gap: 2.25rem; } }
.bx-stack > * + * { margin-top: 2.25rem; }
.bx-section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.bx-section-title { display: flex; align-items: center; gap: .65rem; margin: 0; font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; color: var(--bx-ink); }
.bx-section-title::before { content: ''; width: 6px; height: 1.35em; border-radius: 999px; background: linear-gradient(180deg, var(--accent-color), var(--secondary-color)); }
.bx-link-more { font-size: .875rem; font-weight: 700; color: var(--secondary-color); text-decoration: none; white-space: nowrap; }
.bx-link-more:hover { color: var(--primary-color); }
.bx-link-more i { font-size: .7rem; margin-left: .25rem; transition: transform .2s ease; }
.bx-link-more:hover i { transform: translateX(3px); }

/* ============ Kartu berita ============ */
.bx-posts { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bx-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bx-card { background: var(--bx-surface); border: 1px solid var(--bx-line); border-radius: var(--bx-radius); box-shadow: var(--bx-shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.bx-card:hover { transform: translateY(-3px); box-shadow: var(--bx-shadow-lg); }
.bx-post-media { display: block; position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: linear-gradient(135deg, #E9EFF8, #D6E2F2); }
.bx-post-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.bx-card:hover .bx-post-media img { transform: scale(1.04); }
.bx-post-media.is-logo { display: flex; align-items: center; justify-content: center; }
.bx-post-media.is-logo img { width: 5rem; height: 5rem; object-fit: contain; opacity: .85; }
.bx-post-body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.bx-chip { display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start; padding: .25rem .65rem; border-radius: 999px; background: rgba(32,99,155,.1); color: var(--secondary-color); font-size: .75rem; font-weight: 700; }
.bx-post-title { margin: 0; font-size: 1.0625rem; line-height: 1.35; font-weight: 800; letter-spacing: -.01em; }
.bx-post-title a { color: var(--bx-ink); text-decoration: none; }
.bx-post-title a:hover { color: var(--secondary-color); }
.bx-post-excerpt { margin: 0; font-size: .9375rem; color: var(--bx-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bx-more { margin-top: auto; padding-top: .25rem; font-size: .875rem; font-weight: 700; color: var(--secondary-color); text-decoration: none; }
.bx-more i { font-size: .7rem; margin-left: .3rem; transition: transform .2s ease; }
.bx-more:hover { color: var(--primary-color); }
.bx-more:hover i { transform: translateX(3px); }
@media (min-width: 768px) {
  .bx-post--featured { grid-column: 1 / -1; flex-direction: row; }
  .bx-post--featured .bx-post-media { aspect-ratio: auto; flex: 0 0 52%; min-height: 20rem; }
  .bx-post--featured .bx-post-body { padding: 1.75rem; justify-content: center; }
  .bx-post--featured .bx-post-title { font-size: 1.625rem; line-height: 1.25; letter-spacing: -.02em; }
  .bx-post--featured .bx-post-excerpt { font-size: 1rem; -webkit-line-clamp: 4; }
  .bx-post--featured .bx-more { margin-top: .5rem; }
}

/* ============ Galeri & video ============ */
.bx-grid-2 { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bx-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bx-album img { width: 100%; height: 12rem; object-fit: cover; display: block; background: #D6E2F2; }
.bx-album-body { padding: 1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.bx-album-body h3 { margin: 0; font-size: 1rem; font-weight: 800; }
.bx-video { aspect-ratio: 16 / 9; border-radius: var(--bx-radius); overflow: hidden; background: #000; box-shadow: var(--bx-shadow); }
.bx-video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ============ Sidebar & widget ============ */
.bx-side > * + * { margin-top: 1.25rem; }
.bx-widget { background: var(--bx-surface); border: 1px solid var(--bx-line); border-radius: var(--bx-radius); box-shadow: var(--bx-shadow); padding: 1.25rem; }
.bx-widget-title { margin: 0 0 .9rem; font-size: 1rem; font-weight: 800; letter-spacing: -.01em; display: flex; align-items: center; gap: .55rem; }
.bx-widget-title::before { content: ''; width: 5px; height: 1.1em; border-radius: 999px; background: var(--accent-color); }
.bx-field { position: relative; display: flex; align-items: center; }
.bx-field > i { position: absolute; left: .95rem; color: #8A98AC; pointer-events: none; }
.bx-input { width: 100%; height: 2.9rem; padding: 0 1rem; border: 1.5px solid var(--bx-line); border-radius: 12px; background: #fff; font-size: .9375rem; color: var(--bx-ink); transition: border-color .2s ease, box-shadow .2s ease; }
.bx-field > i + .bx-input { padding-left: 2.6rem; }
.bx-input:focus { outline: none; border-color: var(--secondary-color); box-shadow: 0 0 0 4px rgba(32,99,155,.14); }
.bx-search { background: var(--bx-surface); border-radius: 14px; box-shadow: var(--bx-shadow); }
.bx-subscribe { display: flex; gap: .5rem; }
.bx-subscribe .bx-btn { padding: 0 1rem; height: 2.9rem; flex-shrink: 0; }
.bx-list a { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem 0; border-top: 1px solid var(--bx-line); color: var(--bx-ink); font-size: .9375rem; font-weight: 500; text-decoration: none; }
.bx-list a:first-child { border-top: 0; padding-top: 0; }
.bx-list a:last-child { padding-bottom: 0; }
.bx-list a i { font-size: .65rem; color: #9AA8BB; transition: transform .2s ease, color .2s ease; }
.bx-list a:hover { color: var(--secondary-color); }
.bx-list a:hover i { transform: translateX(3px); color: var(--secondary-color); }
.bx-poll p { margin: 0 0 .75rem; font-weight: 600; }
.bx-option { display: flex; align-items: center; gap: .65rem; padding: .65rem .85rem; margin-bottom: .5rem; border: 1.5px solid var(--bx-line); border-radius: 12px; cursor: pointer; font-size: .9375rem; transition: border-color .2s ease, background-color .2s ease; }
.bx-option:hover { border-color: var(--secondary-color); background: rgba(32,99,155,.04); }
.bx-option input { accent-color: var(--secondary-color); width: 1.05rem; height: 1.05rem; }
.bx-poll-actions { display: flex; gap: .5rem; margin-top: .85rem; }
.bx-poll-actions .bx-btn { flex: 1; padding: .65rem .75rem; font-size: .875rem; }
.bx-banner img { width: 100%; border-radius: 12px; display: block; }
.bx-banner a + a { display: block; margin-top: .75rem; }
.bx-headmaster { text-align: center; }
.bx-headmaster img { width: 7rem; height: 7rem; border-radius: 999px; object-fit: cover; margin: 0 auto .75rem; border: 4px solid #fff; box-shadow: var(--bx-shadow); }
.bx-headmaster h3 { margin: 0; font-size: 1rem; font-weight: 800; text-transform: uppercase; }
.bx-headmaster small { color: var(--bx-muted); }
.bx-headmaster p { font-size: .9375rem; color: var(--bx-muted); }

/* ============ Footer ============ */
.bx-footer { margin-top: auto; background: var(--primary-color); color: #c3d1e5; border-top: 4px solid var(--accent-color); }
.bx-footer a { color: inherit; text-decoration: none; }
.bx-footer a:hover { color: #fff; text-decoration: underline; }
.bx-footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; padding-top: 3rem; padding-bottom: 2.25rem; }
@media (min-width: 768px) { .bx-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.bx-footer h2 { margin: 0 0 1rem; font-size: .8125rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.bx-footer-brand { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.bx-footer-brand img { width: 3rem; height: 3rem; object-fit: contain; background: #fff; border-radius: 12px; padding: .3rem; }
.bx-footer-brand strong { color: #fff; font-size: 1.125rem; font-weight: 800; line-height: 1.2; }
.bx-footer p { margin: 0; font-size: .9375rem; }
.bx-footer ul { list-style: none; margin: 0; padding: 0; }
.bx-footer li { display: flex; gap: .7rem; margin-bottom: .75rem; font-size: .9375rem; }
.bx-footer li i { color: var(--accent-color); width: 1rem; margin-top: .25rem; text-align: center; flex-shrink: 0; }
.bx-footer-social { display: flex; gap: .5rem; margin-top: 1.1rem; }
.bx-footer-social a { width: 2.25rem; height: 2.25rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(255,255,255,.08); }
.bx-footer-social a:hover { background: var(--accent-color); color: #1b1600; text-decoration: none; }
.bx-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: .8125rem; }
.bx-footer-bottom .container { display: flex; flex-direction: column; gap: .35rem; padding-top: 1.1rem; padding-bottom: 1.1rem; text-align: center; }
@media (min-width: 768px) { .bx-footer-bottom .container { flex-direction: row; justify-content: space-between; text-align: left; } }
.bx-footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }

/* ============ Halaman dalam (single-post, daftar, form, dll.) ============ */
/* Tailwind terkompilasi dipakai di sana, jadi disesuaikan lewat penimpaan gaya. */
main.container.space-y-5 { margin-top: 1.5rem; margin-bottom: 3rem; }
main .bg-white { background: var(--bx-surface); border: 1px solid var(--bx-line); border-radius: var(--bx-radius); box-shadow: var(--bx-shadow); overflow: hidden; }
main .shadow, main .shadow-md { box-shadow: var(--bx-shadow); }
.text-title { border-bottom: 0; padding-bottom: 1rem; color: var(--bx-ink); letter-spacing: -.02em; }
.text-title::after { width: 3rem; height: .3rem; border-radius: 999px; right: auto; }
main input[type=text], main input[type=email], main input[type=search], main input[type=password], main input[type=number], main input[type=date], main select, main textarea {
  border-radius: 12px; border-color: var(--bx-line); transition: border-color .2s ease, box-shadow .2s ease;
}
main input:focus, main select:focus, main textarea:focus { outline: none; border-color: var(--secondary-color); box-shadow: 0 0 0 4px rgba(32,99,155,.14); }
main button.bg-secondary, main a.bg-secondary, main button.bg-primary, main a.bg-primary, main input[type=submit] { border-radius: 12px; font-weight: 700; transition: transform .2s ease, filter .2s ease; }
main button.bg-secondary:hover, main a.bg-secondary:hover, main button.bg-primary:hover, main a.bg-primary:hover { transform: translateY(-1px); filter: brightness(1.08); }
main table { border-collapse: separate; border-spacing: 0; width: 100%; border: 1px solid var(--bx-line); border-radius: 12px; overflow: hidden; background: #fff; }
main table th { background: #F0F4FA; text-align: left; font-weight: 700; }
main table th, main table td { padding: .7rem .9rem; border-bottom: 1px solid var(--bx-line); }
main table tr:last-child td { border-bottom: 0; }
.content { line-height: 1.8; font-size: 1.0125rem; }
.content img { border-radius: 12px; height: auto; }
.content a { color: var(--secondary-color); text-decoration: underline; text-underline-offset: 2px; }
.content blockquote { border-left: 4px solid var(--accent-color); background: #FBF9EC; padding: .75rem 1.1rem; border-radius: 0 12px 12px 0; margin: 1rem 0; }
.mfp-bg { background: #061529; }

/* ============ Aksesibilitas gerak ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bx-ticker-track { animation: none; overflow-x: auto; }
  .bx-card, .bx-btn, .bx-post-media img { transition: none; }
  .bx-card:hover, .bx-btn:hover { transform: none; }
}
