:root {
  --background-default: 247 250 255;
  --background-elevated: 255 255 255;
  --background-muted: 237 244 251;
  --surface-default: 255 255 255;
  --surface-raised: 255 255 255;
  --surface-sunken: 242 247 253;
  --text-primary: 23 23 23;
  --text-secondary: 82 82 82;
  --text-tertiary: 117 107 99;
  --border-subtle: 23 23 23;
  --border-strong: 23 23 23;
  --brand-primary: 17 75 154;
  --brand-primary-hover: 12 53 114;
  --brand-soft: 238 246 255;
  --focus-ring: 17 75 154;
  --shadow-card: 0 20px 70px rgb(23 23 23 / 0.045);
  --font-sans: 'Inter';
  --font-serif: 'Source Serif 4';
  --radius-card: 1.55rem;
  --radius-pill: 999px;
  --blue-900: var(--brand-primary-hover);
  --blue-800: var(--brand-primary);
  --blue-700: 35 93 172;
  --blue-50: var(--brand-soft);
  --cream: var(--background-default);
  --stone: var(--background-muted);
  --surface-soft: var(--surface-sunken);
  --ink: var(--text-primary);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans), ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: rgb(var(--cream));
  color: rgb(var(--ink));
}

body.page-ready {
  /* kept for JS compatibility */
}

body.page-leaving {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 220ms ease, transform 220ms ease;
}
  transform: translateY(6px);
}

.serif {
  font-family: var(--font-serif), Georgia, serif;
}

.site-container {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
}

.article-container {
  width: min(100% - 2rem, 920px);
  margin-inline: auto;
}

.top-strip {
  background: rgb(var(--blue-800));
}

.site-header-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.site-header-shell.is-scrolled {
  box-shadow: 0 12px 30px rgb(15 23 42 / 0.08);
}

.site-header-shell.is-hidden {
  transform: translateY(calc(-100% - 0.5rem));
}

.site-main-header {
  transition: background-color 220ms ease, border-color 220ms ease;
}

.social-mini {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.28);
  font-size: 11px;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 1rem;
  background: rgb(var(--blue-800));
  color: white;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: 0 10px 30px rgb(var(--blue-800) / 0.18);
}

.brand-mark-light {
  background: white;
  color: rgb(var(--blue-800));
  box-shadow: none;
}

.nav-link {
  border-radius: 999px;
  padding: 0.6rem 0.9rem;
  color: rgb(64 64 64);
  font-size: 14px;
  font-weight: 600;
  transition: 180ms ease;
}

.nav-link:hover {
  background: rgb(var(--blue-50));
  color: rgb(var(--blue-800));
}

.nav-link-active {
  background: rgb(var(--blue-800));
  color: white;
}

.nav-link-active:hover {
  background: rgb(var(--blue-900));
  color: white;
}

.btn {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-size: 14px;
  font-weight: 700;
  transition: 180ms ease;
}

.btn-primary {
  background: rgb(var(--blue-800));
  color: white;
  box-shadow: 0 10px 24px rgb(var(--blue-800) / 0.18);
}

.btn-primary:hover {
  background: rgb(var(--blue-900));
}

.btn-dark {
  background: rgb(var(--ink));
  color: white;
}

.btn-dark:hover {
  background: rgb(var(--blue-900));
}

.btn-secondary {
  border: 1px solid rgb(var(--border-subtle) / 0.12);
  background: white;
  color: rgb(var(--text-primary) / 0.9);
}

.btn-secondary:hover {
  border-color: rgb(var(--blue-800) / 0.25);
  background: rgb(var(--blue-50));
  color: rgb(var(--blue-800));
}

.btn-icon {
  display: inline-grid;
  min-width: 2.5rem;
  min-height: 2.5rem;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgb(var(--border-subtle) / 0.12);
  background: white;
  color: rgb(var(--text-primary) / 0.9);
  font-size: 1.4rem;
  line-height: 1;
}

.mobile-sheet {
  margin-left: auto;
  width: min(86vw, 360px);
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgb(var(--cream));
  padding: 1.25rem;
  box-shadow: -25px 0 60px rgb(0 0 0 / 0.16);
}

@media (prefers-reduced-motion: reduce) {
  .site-header-shell,
  .site-main-header {
    transition: none;
  }
}

.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  color: rgb(var(--text-secondary));
  font-size: 15px;
  font-weight: 650;
}

.mobile-link:hover,
.mobile-link-active {
  background: rgb(var(--blue-50));
  color: rgb(var(--blue-800));
}

.eyebrow {
  color: rgb(var(--blue-800));
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-title {
  font-family: var(--font-serif), Georgia, serif;
  font-size: clamp(2.45rem, 5vw, 5rem);
  line-height: 0.96;
  font-weight: 600;
  letter-spacing: -0.045em;
  color: rgb(var(--text-primary));
}

.section-title {
  font-family: var(--font-serif), Georgia, serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: rgb(var(--text-primary));
}

.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.78;
  color: rgb(var(--text-secondary));
}

.public-inner-hero {
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
  background-color: rgb(var(--blue-900));
  background-image: url('https://genbijambi.com/public/uploads/slider-1.png');
  background-position: center;
  background-size: cover;
  color: white;
}

.public-inner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 53, 114, 0.92) 0%, rgba(17, 75, 154, 0.76) 42%, rgba(17, 75, 154, 0.28) 72%, rgba(17, 75, 154, 0) 100%);
}

.public-inner-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.public-inner-hero>* {
  position: relative;
  z-index: 1;
}

.public-inner-hero .eyebrow {
  color: rgb(239 246 255 / 0.95);
}

.public-inner-hero .page-title {
  color: white;
}

.public-inner-hero .lead {
  color: rgb(239 246 255 / 0.86);
}

.prose-soft p {
  margin-top: 1.15rem;
  color: #404040;
  line-height: 1.85;
  font-size: 1.03rem;
}

.soft-card {
  border: 1px solid rgb(23 23 23 / 0.10);
  background: rgb(255 255 255 / 0.78);
  border-radius: 1.6rem;
  box-shadow: 0 24px 80px rgb(23 23 23 / 0.05);
}

.soft-row {
  border-top: 1px solid rgb(23 23 23 / 0.10);
  transition: 180ms ease;
}

.soft-row:hover {
  background: rgb(238 246 255 / 0.55);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 700ms ease, transform 1100ms ease;
}

.hero-image.is-active {
  opacity: 1;
  transform: scale(1);
}

.blue-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-800);
  padding: 0.45rem 0.7rem;
  font-size: 12px;
  font-weight: 750;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgb(23 23 23 / 0.11);
  background: white;
  padding: 0.5rem 0.85rem;
  font-size: 13px;
  font-weight: 650;
  color: #525252;
  transition: 180ms ease;
}

.chip:hover,
.chip.is-active {
  border-color: rgb(17 75 154 / 0.24);
  background: var(--blue-50);
  color: var(--blue-800);
}

.input-soft {
  min-height: 2.75rem;
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgb(23 23 23 / 0.12);
  background: white;
  padding: 0.72rem 1rem;
  font-size: 14px;
  outline: none;
  transition: 180ms ease;
}

.input-soft:focus {
  border-color: var(--blue-800);
  box-shadow: 0 0 0 4px rgb(17 75 154 / 0.14);
}

.custom-select {
  position: relative;
  z-index: 10;
}

.custom-select-root,
.news-filter,
.team-filter {
  position: relative;
  z-index: 10;
  overflow: visible;
}

.team-filter {
  z-index: 20;
}

.select-button {
  display: flex;
  min-height: 2.75rem;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border-radius: 1rem;
  border: 1px solid rgb(23 23 23 / 0.12);
  background: white;
  padding: 0.72rem 1rem;
  font-size: 14px;
  font-weight: 650;
  color: #404040;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.select-button:focus-visible,
.select-button[aria-expanded="true"] {
  border-color: var(--blue-800);
  box-shadow: 0 0 0 4px rgb(17 75 154 / 0.14);
}

.select-menu {
  position: absolute;
  z-index: 400;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  max-height: 16rem;
  overflow: auto;
  border-radius: 1rem;
  border: 1px solid rgb(23 23 23 / 0.12);
  background: white;
  padding: 0.35rem;
  box-shadow: 0 20px 55px rgb(23 23 23 / 0.12);
}

.select-menu button {
  width: 100%;
  border-radius: 0.75rem;
  padding: 0.65rem 0.75rem;
  text-align: left;
  font-size: 14px;
}

.select-menu button:hover,
.select-menu button.is-active {
  background: var(--blue-50);
  color: var(--blue-800);
}

.admin-custom-select {
  position: relative;
  z-index: 10;
  width: 100%;
}

.admin-custom-select:has(.admin-select-button[aria-expanded="true"]) {
  z-index: 20;
}

.admin-custom-select select {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

.admin-select-button {
  display: flex;
  min-height: 2.75rem;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px solid rgb(23 23 23 / 0.12);
  background: white;
  padding: 0.72rem 1rem;
  color: #404040;
  font-size: 14px;
  font-weight: 700;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.admin-select-button:focus-visible,
.admin-select-button[aria-expanded="true"] {
  border-color: var(--admin-blue);
  box-shadow: 0 0 0 4px rgb(47 111 169 / 0.14);
}

.admin-select-menu {
  position: absolute;
  z-index: 900;
  min-width: var(--select-button-width, 12rem);
  max-height: 16rem;
  overflow: auto;
  border-radius: 1rem;
  border: 1px solid rgb(23 23 23 / 0.12);
  background: white;
  padding: 0.35rem;
  box-shadow: 0 20px 55px rgb(23 23 23 / 0.12);
}

.config-field {
  position: relative;
}

.config-field:has(.admin-select-button[aria-expanded="true"]) {
  z-index: 20;
}

.config-card:has(.admin-select-button[aria-expanded="true"]) {
  position: relative;
  z-index: 15;
}

.cms-toolbar,
.cms-toolbar>div {
  overflow: visible;
}

.admin-card:has(.admin-select-button[aria-expanded="true"]) {
  position: relative;
  z-index: 5;
}

.admin-responsive-table {
  position: relative;
  z-index: 1;
}

.admin-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.admin-select-menu button {
  width: 100%;
  border-radius: 0.75rem;
  padding: 0.65rem 0.75rem;
  text-align: left;
  font-size: 14px;
}

.admin-select-menu button:hover,
.admin-select-menu button.is-active {
  background: var(--blue-50);
  color: var(--admin-blue-deep);
}

.admin-inline-select+.admin-select-button,
.admin-toolbar-select+.admin-select-button {
  min-height: 2.45rem;
  border-radius: 0.85rem;
  padding: 0.55rem 0.8rem;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 999px;
  background: var(--blue-800);
  color: white;
  font-size: 1.2rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 200ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.fade-up {
  opacity: 1;
  transform: none;
}

.has-observer .fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.has-observer .fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}
}

.article-link {
  display: grid;
  position: relative;
  z-index: 1;
  gap: 0.75rem;
  padding-block: 1.6rem;
  border-top: 1px solid rgb(23 23 23 / 0.10);
}

.article-link:hover h3 {
  color: var(--blue-800);
}

.public-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.pager-button {
  min-width: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgb(23 23 23 / 0.10);
  background: white;
  padding: 0.65rem 0.9rem;
  color: #404040;
  font-size: 13px;
  font-weight: 800;
  transition: 180ms ease;
}

.pager-button:hover:not(:disabled),
.pager-button.is-active {
  border-color: var(--blue-800);
  background: var(--blue-800);
  color: white;
}

.pager-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.team-public-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .team-public-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .team-public-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.team-public-list {
  display: grid;
  gap: 0.85rem;
}

.team-public-card,
.team-public-row {
  border: 1px solid rgb(23 23 23 / 0.10);
  background: rgb(255 255 255 / 0.88);
  box-shadow: 0 18px 60px rgb(17 75 154 / 0.06);
}

.team-public-card {
  display: grid;
  gap: 1rem;
  align-content: start;
  border-radius: 1.7rem;
  padding: 1rem;
}

.team-public-row {
  display: grid;
  gap: 1rem;
  align-items: center;
  border-radius: 1.3rem;
  padding: 1rem;
}

@media (min-width: 768px) {
  .team-public-row {
    grid-template-columns: 72px 1fr 220px 80px auto;
  }
}

.team-public-photo,
.team-public-row-photo {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--blue-50);
  color: var(--blue-800);
  font-weight: 900;
}

.team-public-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 1.35rem;
}

.team-public-row-photo {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.2rem;
}

.team-public-photo img,
.team-public-row-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-detail-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

@media (min-width: 768px) {
  .news-detail-hero {
    min-height: 520px;
  }
}

.news-detail-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgb(var(--blue-900)) 0%,
    rgb(var(--blue-900) / 0.85) 40%,
    rgb(var(--blue-900) / 0.4) 70%,
    transparent 100%
  );
}



.news-detail-hero-content {
  position: relative;
  z-index: 2;
  padding-block: 3rem 2.5rem;
}

.news-detail-hero-content .page-title {
  color: #fef3c7;
}

.news-detail-hero-content .lead {
  color: #fffbeb;
}

.news-detail-hero-content .news-detail-meta,
.news-detail-hero-content .news-detail-meta span {
  color: rgba(255, 255, 255, 0.82);
}

.news-detail-hero-content .news-detail-meta span:first-child {
  color: #ffffff;
}

.chip-light {
  background: rgb(255 255 255 / 0.15) !important;
  color: white !important;
  border-color: rgb(255 255 255 / 0.25) !important;
  backdrop-filter: blur(6px);
}

.chip-light:hover {
  background: rgb(255 255 255 / 0.25) !important;
}

.news-detail-content,
.news-detail-content * {
  color: #262626 !important;
  opacity: 1 !important;
  visibility: visible !important;
  -webkit-text-fill-color: #262626 !important;
}

.news-detail-content a {
  color: var(--blue-800) !important;
  -webkit-text-fill-color: var(--blue-800) !important;
}

.news-detail-content {
  max-width: 720px;
  margin-inline: auto;
}

.news-detail-inline-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 1.5rem;
  margin: 0 0 2rem;
  box-shadow: 0 24px 60px rgb(15 23 42 / 0.14);
}

.news-detail-contributors {
  max-width: 720px;
  margin-inline: auto;
}

.news-detail-content :where(p, li, div) {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif !important;
  font-size: 1.05rem !important;
  line-height: 1.9 !important;
  text-align: justify !important;
}

.news-detail-content :where(h1, h2, h3, h4, h5, h6) {
  font-family: 'Source Serif 4', Georgia, serif !important;
}

.avatar {
  display: inline-grid;
  width: 3.3rem;
  height: 3.3rem;
  place-items: center;
  border-radius: 1.2rem;
  background: var(--blue-50);
  color: var(--blue-800);
  font-weight: 800;
}

.modal-panel {
  transform: translateY(14px) scale(0.98);
  opacity: 0;
  transition: 180ms ease;
}

.modal-panel.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

.logo-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.05rem;
  min-height: 3.05rem;
  border-radius: 1.15rem;
  background: white;
  border: 1px solid rgb(23 23 23 / 0.08);
  box-shadow: 0 12px 34px rgb(17 75 154 / 0.12);
  padding: 0.42rem;
}

.logo-shell-light {
  background: white;
  border-color: rgb(255 255 255 / 0.18);
  box-shadow: none;
}

.btn-light {
  background: white;
  color: var(--blue-900);
  box-shadow: 0 16px 34px rgb(0 0 0 / 0.18);
}

.btn-light:hover {
  background: var(--blue-50);
}

.btn-ghost-light {
  border: 1px solid rgb(255 255 255 / 0.28);
  background: rgb(255 255 255 / 0.12);
  color: white;
  backdrop-filter: blur(12px);
}

.btn-ghost-light:hover {
  background: rgb(255 255 255 / 0.2);
}


.hero-section-compact {
  min-height: clamp(500px, 64vh, 620px);
}

.hero-inner-compact {
  min-height: clamp(500px, 64vh, 620px);
  padding-top: clamp(5rem, 10vh, 7rem);
  padding-bottom: clamp(2rem, 5vh, 3rem);
}

.hero-title-compact {
  font-size: clamp(2.35rem, 5vw, 5.35rem);
  line-height: 0.94;
  letter-spacing: -0.052em;
}

.home-page-shell {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 14% 12%, rgb(70 129 201 / 0.16), transparent 24%),
    radial-gradient(circle at 86% 18%, rgb(255 255 255 / 0.72), transparent 20%),
    radial-gradient(circle at 78% 72%, rgb(149 198 255 / 0.2), transparent 24%),
    linear-gradient(180deg, #f7f4ed 0%, #f6f2ea 42%, #f4efe6 100%);
}

.home-page-shell::before,
.home-page-shell::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  filter: blur(72px);
  pointer-events: none;
  opacity: 0.9;
}

.home-page-shell::before {
  top: 12rem;
  left: -10rem;
  width: 28rem;
  height: 28rem;
  background: rgb(93 154 228 / 0.2);
}

.home-page-shell::after {
  right: -8rem;
  top: 42rem;
  width: 26rem;
  height: 26rem;
  background: rgb(255 255 255 / 0.55);
}

.home-hero-section {
  background: transparent;
}

.home-section-surface {
  position: relative;
  z-index: 1;
  background: transparent;
}

.error-page-section {
  padding-top: clamp(8.5rem, 15vh, 11rem);
  padding-bottom: clamp(5rem, 10vh, 7rem);
}

@media (max-width: 767px) {
  .error-page-section {
    padding-top: 7.5rem;
    padding-bottom: 4.5rem;
  }
}

@media (max-width: 767px) {

  .hero-section-compact,
  .hero-inner-compact {
    min-height: auto;
  }

  .hero-inner-compact {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .home-page-shell::before {
    top: 8rem;
    left: -12rem;
    width: 22rem;
    height: 22rem;
  }

  .home-page-shell::after {
    top: 36rem;
    right: -12rem;
    width: 20rem;
    height: 20rem;
  }
}

.hero-bg-image {
  filter: saturate(0.92) contrast(0.96);
}

.hero-bg .hero-image.is-active {
  animation: slowZoom 6800ms linear both;
}

@keyframes slowZoom {
  from {
    transform: scale(1.02);
  }

  to {
    transform: scale(1.08);
  }
}

.admin-body {
  background: rgb(var(--stone));
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-right: 1px solid rgb(var(--border-subtle) / 0.10);
  background: rgb(var(--background-default) / 0.92);
  backdrop-filter: blur(18px);
}

.admin-sidebar>div {
  min-height: 100%;
  height: auto;
}

.admin-main {
  min-width: 0;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgb(var(--border-subtle) / 0.10);
  background: rgb(var(--background-default) / 0.88);
  backdrop-filter: blur(18px);
}

.admin-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  padding: 0.78rem 0.9rem;
  color: rgb(var(--text-secondary));
  font-size: 14px;
  font-weight: 700;
  transition: 180ms ease;
}

.admin-link:hover,
.admin-link-active {
  background: rgb(var(--blue-50));
  color: rgb(var(--blue-800));
}

.admin-card {
  border: 1px solid rgb(var(--border-subtle) / 0.10);
  border-radius: var(--radius-card);
  background: rgb(var(--surface-default) / 0.82);
  box-shadow: var(--shadow-card);
}

.settings-form {
  display: grid;
  gap: 1rem;
}

.settings-form-grid {
  display: grid;
  gap: 0.9rem;
}

.settings-form-grid.is-banner {
  gap: 1.1rem;
}

.settings-field {
  display: grid;
  gap: 0.42rem;
}

.settings-field-label {
  color: rgb(var(--text-secondary));
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.settings-input {
  width: 100%;
}

.settings-upload-card {
  display: grid;
  gap: 0.75rem;
  border: 1px solid rgb(var(--border-subtle) / 0.1);
  border-radius: 1rem;
  background: rgb(var(--surface-default));
  padding: 0.85rem;
}

.settings-upload-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.settings-upload-preview {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.7rem;
  object-fit: contain;
  background: rgb(var(--background-muted));
  padding: 0.25rem;
}

.settings-upload-title {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  color: rgb(var(--text-primary));
}

.settings-upload-note {
  margin: 0.1rem 0 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgb(var(--text-secondary));
}

.settings-file-input {
  width: 100%;
}

.settings-banner-preview-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 900px) {
  .settings-banner-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.settings-banner-preview {
  border: 1px solid rgb(var(--border-subtle) / 0.1);
  border-radius: 1rem;
  overflow: hidden;
  background: rgb(var(--surface-default));
}

.settings-banner-preview-media {
  aspect-ratio: 16 / 8;
  background: rgb(var(--background-muted));
}

.settings-banner-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.settings-banner-preview-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgb(var(--text-secondary));
  font-size: 0.76rem;
  font-weight: 600;
}

.settings-banner-preview-copy {
  padding: 0.6rem 0.7rem 0.75rem;
}

.settings-banner-preview-label {
  margin: 0;
  color: rgb(var(--text-primary));
  font-size: 0.78rem;
  font-weight: 700;
}

.settings-banner-preview-caption {
  margin: 0.2rem 0 0;
  color: rgb(var(--text-secondary));
  font-size: 0.68rem;
  line-height: 1.35;
}

.theme-card-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 1200px) {
  .theme-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.theme-card {
  border: 1px solid rgb(var(--border-subtle) / 0.12);
  border-radius: 0.95rem;
  background: rgb(var(--surface-default));
  padding: 0.65rem;
  text-align: left;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.theme-card:hover {
  border-color: rgb(var(--blue-800) / 0.35);
}

.theme-card.is-selected {
  border-color: rgb(var(--blue-800));
  background: rgb(var(--blue-50));
  box-shadow: 0 8px 20px rgb(var(--blue-800) / 0.12);
}

.theme-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.45rem;
  margin-bottom: 0.42rem;
}

.theme-card-name {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.2;
  font-weight: 700;
  color: rgb(var(--text-primary));
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.theme-card-mode {
  flex-shrink: 0;
  border-radius: 999px;
  background: rgb(var(--text-primary) / 0.06);
  padding: 0.16rem 0.4rem;
  font-size: 0.58rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(var(--text-secondary));
}

.theme-card-swatches {
  display: flex;
  gap: 0.32rem;
  margin-bottom: 0.42rem;
}

.theme-card-swatch {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  border: 1px solid rgb(var(--border-subtle) / 0.12);
}

.theme-card-note {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.28;
  color: rgb(var(--text-secondary));
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.admin-login-body {
  min-height: 100vh;
  background: rgb(var(--background-elevated));
}

.admin-login-page {
  min-height: 100vh;
  display: grid;
  background:
    radial-gradient(circle at 80% 8%, rgb(47 111 169 / 0.16), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #eef6ff 48%, #f4f0e6 100%);
}

.admin-login-hero {
  position: relative;
  display: none;
  overflow: hidden;
  min-height: 100vh;
  background: var(--admin-blue-deep);
}

.admin-login-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgb(12 53 114 / 0.92), rgb(47 111 169 / 0.82)),
    url('https://genbijambi.com/public/uploads/slider-4.png') center/cover;
}

.admin-login-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 0.10) 1px, transparent 1px),
    linear-gradient(0deg, rgb(255 255 255 / 0.10) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(120deg, black, transparent 78%);
}

.admin-login-hero-bg::after {
  content: '';
  position: absolute;
  right: -9rem;
  bottom: -12rem;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.18);
  background: rgb(255 255 255 / 0.08);
}

.admin-login-hero-content {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: clamp(2rem, 5vw, 4rem);
}

.admin-login-badge {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.22);
  background: rgb(255 255 255 / 0.13);
  padding: 0.55rem 0.85rem;
  color: white;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.admin-login-points {
  display: grid;
  gap: 0.85rem;
  max-width: 34rem;
}

.admin-login-points div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgb(255 255 255 / 0.18);
  padding-top: 0.9rem;
  color: white;
}

.admin-login-points strong {
  font-size: 14px;
}

.admin-login-points span {
  color: rgb(255 255 255 / 0.72);
  font-size: 13px;
  text-align: right;
}

.admin-login-panel {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 1rem;
}

.admin-login-card {
  width: min(100%, 32rem);
  border: 1px solid rgb(47 111 169 / 0.13);
  border-radius: 2rem;
  background: rgb(255 255 255 / 0.86);
  padding: clamp(1.25rem, 4vw, 2rem);
  box-shadow: 0 28px 90px rgb(47 111 169 / 0.14);
  backdrop-filter: blur(18px);
}

.admin-login-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.admin-login-brand strong,
.admin-login-brand small {
  display: block;
}

.admin-login-brand strong {
  color: #143a60;
  font-size: 15px;
}

.admin-login-brand small {
  margin-top: 0.15rem;
  color: #557899;
  font-size: 12px;
  font-weight: 800;
}

.admin-login-field {
  display: grid;
  gap: 0.55rem;
}

.admin-login-field span {
  color: #3d5d7a;
  font-size: 13px;
  font-weight: 850;
}

.admin-login-field input {
  min-height: 3.15rem;
  width: 100%;
  border-radius: 1.05rem;
  border: 1px solid rgb(47 111 169 / 0.16);
  background: white;
  padding: 0.85rem 1rem;
  color: #171717;
  font-size: 14px;
  outline: 0;
  transition: 180ms ease;
}

.admin-login-field input:focus {
  border-color: var(--admin-blue);
  box-shadow: 0 0 0 4px rgb(47 111 169 / 0.14);
}

.admin-login-check {
  width: 1rem;
  height: 1rem;
  accent-color: var(--admin-blue);
}

.admin-login-note {
  border-radius: 1.25rem;
  border: 1px solid rgb(47 111 169 / 0.12);
  background: var(--admin-blue-soft-2);
  padding: 1rem;
}

.admin-login-note strong {
  color: var(--admin-blue-deep);
  font-size: 13px;
}

.admin-login-note p {
  margin-top: 0.4rem;
  color: #5b7892;
  font-size: 12px;
  line-height: 1.7;
}

.admin-login-error {
  margin-top: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgb(220 38 38 / 0.18);
  background: rgb(254 242 242 / 0.92);
  padding: 0.9rem 1rem;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .admin-login-page {
    grid-template-columns: minmax(0, 1.05fr) minmax(440px, 0.75fr);
  }

  .admin-login-hero {
    display: grid;
  }
}

.admin-stat-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 1.05rem;
  background: var(--blue-50);
  color: var(--blue-800);
}

.admin-tab {
  display: inline-flex;
  min-height: 2.65rem;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  border: 1px solid rgb(23 23 23 / 0.10);
  background: white;
  padding: 0.65rem 0.95rem;
  color: #525252;
  font-size: 13px;
  font-weight: 750;
  transition: 180ms ease;
}

.admin-tab:hover,
.admin-tab.is-active {
  border-color: rgb(17 75 154 / 0.24);
  background: var(--blue-50);
  color: var(--blue-800);
}

.admin-field {
  display: grid;
  gap: 0.55rem;
}

.admin-label {
  font-size: 13px;
  font-weight: 750;
  color: #404040;
}

.admin-input,
.admin-textarea {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgb(23 23 23 / 0.12);
  background: white;
  padding: 0.78rem 1rem;
  color: #262626;
  font-size: 14px;
  outline: none;
  transition: 180ms ease;
}

.admin-textarea {
  min-height: 7rem;
  resize: vertical;
}

.admin-input:focus,
.admin-textarea:focus {
  border-color: var(--blue-800);
  box-shadow: 0 0 0 4px rgb(17 75 154 / 0.14);
}

.admin-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: 200ms ease;
}

.admin-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.slide-in {
  opacity: 0;
  transform: translateY(18px);
  animation: slideIn 560ms cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1023px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 80;
    width: min(88vw, 320px);
    height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(-105%);
    transition: 220ms ease;
  }

  .admin-sidebar.is-open {
    transform: translateX(0);
  }
}

/* Admin block editor refinement */
.admin-editor-shell {
  display: grid;
  gap: 1.75rem;
}

.admin-editor-head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}

.admin-editor-aside {
  flex: none;
  display: flex;
  align-items: center;
}

.editor-status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-800);
  border: 1px solid rgb(17 75 154 / 0.18);
  padding: 0.45rem 0.8rem;
  font-size: 12px;
  font-weight: 800;
}

.admin-editor-canvas {
  display: grid;
  gap: 1rem;
  max-width: 980px;
}

.block-editor-item {
  position: relative;
  border: 1px solid rgb(23 23 23 / 0.10);
  border-radius: 1.35rem;
  background: rgb(255 255 255 / 0.82);
  padding: 1rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.block-editor-item:hover,
.block-editor-item:focus-within {
  border-color: rgb(17 75 154 / 0.34);
  background: white;
  box-shadow: 0 18px 50px rgb(17 75 154 / 0.08);
}

.block-editor-label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--blue-800);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.block-editor-input {
  min-height: 2.9rem;
  width: 100%;
  border-radius: 1rem;
  padding: 0.2rem 0.1rem;
  color: #171717;
  font-size: 1.06rem;
  line-height: 1.78;
  outline: none;
}

.block-editor-item.is-long .block-editor-input {
  min-height: 9rem;
  font-size: 1.08rem;
}

.block-editor-item.is-code .block-editor-input {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #1f2937;
  white-space: pre-wrap;
}

.block-editor-input:empty::before {
  content: attr(data-placeholder);
  color: #a3a3a3;
}

.block-editor-toolbar {
  position: absolute;
  top: -0.9rem;
  right: 1rem;
  z-index: 5;
  display: flex;
  gap: 0.25rem;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: 160ms ease;
}

.block-editor-item:focus-within .block-editor-toolbar,
.block-editor-item:hover .block-editor-toolbar {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.block-editor-toolbar button {
  min-height: 1.9rem;
  border-radius: 999px;
  border: 1px solid rgb(17 75 154 / 0.16);
  background: white;
  padding: 0.25rem 0.58rem;
  color: var(--blue-800);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgb(23 23 23 / 0.08);
}

.block-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.block-choice {
  min-height: 2.4rem;
  border-radius: 999px;
  border: 1px solid rgb(23 23 23 / 0.12);
  background: white;
  padding: 0.45rem 0.95rem;
  color: #525252;
  font-size: 13px;
  font-weight: 800;
  transition: 180ms ease;
}

.block-choice:hover,
.block-choice.is-active {
  border-color: rgb(17 75 154 / 0.28);
  background: var(--blue-50);
  color: var(--blue-800);
}

.admin-upload-zone {
  display: grid;
  gap: 1rem;
  border-radius: 1.1rem;
  border: 1px dashed rgb(17 75 154 / 0.34);
  background: var(--blue-50);
  padding: 1.2rem;
}

.admin-file-input {
  width: 100%;
  border-radius: 1rem;
  background: white;
  border: 1px solid rgb(17 75 154 / 0.18);
  padding: 0.72rem;
  color: #404040;
  font-size: 14px;
}

.admin-media-preview {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgb(23 23 23 / 0.10);
  background: rgb(255 255 255 / 0.78);
  border-radius: 1.35rem;
  padding: 1rem;
}

.admin-media-preview img {
  width: 100%;
  height: 92px;
  object-fit: contain;
  border-radius: 1rem;
  background: white;
  box-shadow: 0 12px 30px rgb(23 23 23 / 0.06);
}

.admin-media-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-media-grid .admin-media-preview {
  grid-template-columns: 1fr;
}

.admin-media-grid .admin-media-preview img {
  height: 150px;
  object-fit: cover;
}

.color-editor-row {
  display: grid;
  grid-template-columns: 1fr 8rem;
  gap: 0.75rem;
  align-items: stretch;
}

.color-swatch-blue {
  display: block;
  border-radius: 1rem;
  background: var(--blue-800);
  border: 1px solid rgb(23 23 23 / 0.10);
}

.admin-page-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.25rem;
  align-items: start;
}

.admin-page-editor-canvas {
  display: grid;
  gap: 1.25rem;
}

.admin-page-editor-overview {
  position: sticky;
  top: 6rem;
  border: 1px solid rgb(23 23 23 / 0.10);
  border-radius: 1.55rem;
  background: rgba(255, 255, 255, 0.86);
  padding: 1.2rem;
  box-shadow: 0 20px 70px rgb(23 23 23 / 0.045);
}

.block-page-hero,
.block-editor-group {
  border: 1px solid rgb(23 23 23 / 0.10);
  border-radius: 1.55rem;
  background: rgba(255, 255, 255, 0.86);
  padding: 1.35rem;
  box-shadow: 0 20px 70px rgb(23 23 23 / 0.045);
}

.block-group-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgb(23 23 23 / 0.08);
  color: var(--blue-800);
}

.block-group-header h3 {
  color: #171717;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.outline-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 1rem;
  padding: 0.7rem 0.8rem;
  color: #525252;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  transition: 160ms ease;
}

.outline-link:hover {
  background: var(--blue-50);
  color: var(--blue-800);
}

.outline-link span:last-child {
  display: inline-grid;
  min-width: 1.5rem;
  height: 1.5rem;
  place-items: center;
  border-radius: 999px;
  background: rgb(17 75 154 / 0.10);
  color: var(--blue-800);
  font-size: 12px;
}

@media (max-width: 1023px) {
  .admin-page-editor-layout {
    grid-template-columns: 1fr;
  }

  .admin-page-editor-overview {
    position: static;
    order: -1;
  }

  .admin-editor-head {
    flex-direction: column;
  }
}

@media (max-width: 640px) {

  .admin-media-preview,
  .admin-media-grid {
    grid-template-columns: 1fr;
  }

  .color-editor-row {
    grid-template-columns: 1fr;
  }

  .color-swatch-blue {
    min-height: 3rem;
  }
}

/* v7 public hero and admin CMS refinements */
.video-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #0a0a0a;
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-stat-mini {
  border-top: 1px solid rgb(255 255 255 / 0.28);
  padding-top: 1rem;
}

.btn-danger {
  background: #dc2626;
  color: white;
  box-shadow: 0 10px 24px rgb(220 38 38 / 0.18);
}

.btn-danger:hover {
  background: #b91c1c;
}

.admin-sidebar {
  background: linear-gradient(180deg, rgb(var(--blue-800)), rgb(var(--blue-700)) 62%, rgb(var(--blue-900)));
  border-right: 0;
  color: white;
}

.admin-topbar {
  background: linear-gradient(90deg, rgb(var(--blue-900)), rgb(var(--blue-800)));
  border-bottom: 0;
  color: white;
}

.admin-topbar-inner {
  display: flex;
  height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: 1rem;
}

@media (min-width: 768px) {
  .admin-topbar-inner {
    padding-inline: 2rem;
  }
}

@media (min-width: 1024px) {
  .admin-topbar-inner {
    padding-inline: 2.5rem;
  }
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1.25rem;
  padding: 0.65rem;
  color: white;
  transition: 180ms ease;
}

.admin-brand:hover {
  background: rgb(255 255 255 / 0.10);
}

.admin-brand-logo,
.admin-top-logo {
  display: inline-grid;
  place-items: center;
  border-radius: 1rem;
  background: white;
  box-shadow: 0 16px 30px rgb(0 0 0 / 0.12);
}

.admin-brand-logo {
  width: 3.2rem;
  height: 3.2rem;
  padding: 0.45rem;
}

.admin-brand-logo img,
.admin-top-logo img {
  max-width: 100%;
  height: auto;
}

.admin-top-logo {
  width: 2.8rem;
  height: 2.8rem;
  padding: 0.4rem;
}

.admin-visit-link {
  display: inline-flex;
  min-height: 2.4rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.22);
  background: rgb(255 255 255 / 0.11);
  padding-inline: 1rem;
  color: white;
  font-size: 13px;
  font-weight: 800;
  transition: 180ms ease;
}

.admin-visit-link:hover {
  background: rgb(255 255 255 / 0.18);
}

.admin-menu-button {
  background: rgb(255 255 255 / 0.12);
  color: white;
  border-color: rgb(255 255 255 / 0.22);
}

.admin-link {
  color: rgb(255 255 255 / 0.78);
}

.admin-link:hover,
.admin-link-active {
  background: rgb(255 255 255 / 0.13);
  color: white;
}

.admin-nav-group.is-open>.admin-link {
  background: rgb(255 255 255 / 0.16);
  color: white;
}

.admin-subnav {
  display: grid;
  gap: 0.2rem;
  margin: 0.25rem 0 0.6rem 2.35rem;
}

.admin-sub-link {
  display: block;
  border-radius: 0.9rem;
  padding: 0.55rem 0.75rem;
  color: rgb(255 255 255 / 0.70);
  font-size: 13px;
  font-weight: 750;
  transition: 160ms ease;
}

.admin-sub-link:hover,
.admin-sub-link.is-active {
  background: rgb(0 0 0 / 0.18);
  color: white;
}

.cms-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.cms-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .cms-header {
    flex-direction: row;
    align-items: flex-end;
  }
}

.cms-toolbar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .cms-toolbar {
    flex-direction: row;
    align-items: center;
  }
}

.cms-search {
  display: flex;
  min-height: 2.85rem;
  align-items: center;
  gap: 0.65rem;
  border-radius: 1rem;
  border: 1px solid rgb(23 23 23 / 0.12);
  background: white;
  padding-inline: 0.9rem;
  color: var(--blue-800);
  width: min(100%, 360px);
}

.cms-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #262626;
  font-size: 14px;
}

.admin-responsive-table {
  overflow-x: auto;
  border-radius: 1.25rem;
  border: 1px solid rgb(23 23 23 / 0.08);
  background: white;
}

.cms-table {
  min-width: 860px;
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.cms-table th {
  position: sticky;
  top: 0;
  background: #f8fafc;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  padding: 1rem;
  border-bottom: 1px solid rgb(23 23 23 / 0.08);
}

.cms-table td {
  padding: 1rem;
  border-bottom: 1px solid rgb(23 23 23 / 0.07);
  vertical-align: top;
  color: #262626;
}

.cms-table tr:hover td {
  background: rgb(238 246 255 / 0.36);
}

.table-thumb {
  width: 96px;
  height: 70px;
  object-fit: cover;
  border-radius: 0.75rem;
}

.table-banner {
  width: 210px;
  height: 58px;
  object-fit: cover;
  border-radius: 0.75rem;
}

.cms-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  min-height: 2rem;
  padding: 0.35rem 0.65rem;
  color: white;
  font-size: 13px;
  font-weight: 800;
  transition: 160ms ease;
}

.cms-action.edit {
  background: var(--blue-800);
}

.cms-action.delete {
  background: #ef4444;
}

.cms-action:hover {
  transform: translateY(-1px);
  filter: brightness(0.95);
}

.cms-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-800);
  padding: 0.4rem 0.7rem;
  font-size: 12px;
  font-weight: 800;
}

.cms-pill.muted {
  background: #f5f5f5;
  color: #525252;
}

.cms-pill-blue {
  background: rgba(17, 75, 154, 0.12);
  color: var(--blue-800);
}

.program-list-icon {
  display: inline-grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #eef5ff, #e2edf9);
  color: var(--blue-800);
  box-shadow: inset 0 0 0 1px rgb(17 75 154 / 0.10);
  flex: 0 0 auto;
}

.feature-image-microstack {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.feature-image-microstack img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.75rem;
  object-fit: cover;
  border: 1px solid rgb(23 23 23 / 0.08);
}

.language-grid {
  display: grid;
  gap: 0.75rem;
}

.language-row {
  display: grid;
  gap: 0.75rem;
  border-radius: 1.15rem;
  border: 1px solid rgb(23 23 23 / 0.08);
  background: white;
  padding: 0.85rem;
}

.language-row code {
  color: var(--blue-800);
  font-size: 12px;
  font-weight: 900;
}

.language-edit {
  min-height: 2.4rem;
  outline: 0;
  border-radius: 0.85rem;
  padding: 0.45rem 0.55rem;
  color: #262626;
  line-height: 1.6;
}

.language-edit:focus {
  background: var(--blue-50);
  box-shadow: inset 0 0 0 1px rgb(17 75 154 / 0.24);
}

@media (min-width: 768px) {
  .language-row {
    grid-template-columns: 220px 1fr;
    align-items: center;
  }
}

.editor-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.25rem;
  align-items: start;
}

.editor-workspace.compact {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.block-writing-surface,
.editor-config-sidebar,
.config-card {
  border: 1px solid rgb(23 23 23 / 0.10);
  background: rgb(255 255 255 / 0.86);
  border-radius: 1.55rem;
  box-shadow: 0 20px 70px rgb(23 23 23 / 0.045);
}

.block-writing-surface {
  padding: clamp(1.25rem, 3vw, 2.2rem);
  min-height: 70vh;
}

.editor-config-sidebar {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 1rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.config-card {
  padding: 1rem;
}

.config-card h2 {
  margin-bottom: 0.9rem;
  color: #171717;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.config-field {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.config-field span {
  color: var(--blue-800);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.config-input {
  width: 100%;
  border-radius: 0.95rem;
  border: 1px solid rgb(23 23 23 / 0.12);
  background: white;
  padding: 0.75rem 0.85rem;
  color: #262626;
  font-size: 14px;
  outline: 0;
  transition: 180ms ease;
}

.config-input:focus {
  border-color: var(--blue-800);
  box-shadow: 0 0 0 4px rgb(17 75 154 / 0.14);
}

.config-preview {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid rgb(23 23 23 / 0.08);
}

.config-empty {
  display: grid;
  min-height: 8rem;
  place-items: center;
  border-radius: 1rem;
  border: 1px dashed rgb(17 75 154 / 0.28);
  background: var(--blue-50);
  color: var(--blue-800);
  font-size: 13px;
  font-weight: 800;
}

.editor-toolbar {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.editor-toolbar button {
  min-height: 2.15rem;
  border-radius: 999px;
  border: 1px solid rgb(17 75 154 / 0.16);
  background: white;
  padding: 0.35rem 0.75rem;
  color: var(--blue-800);
  font-size: 13px;
  font-weight: 850;
}

.sticky-toolbar {
  position: sticky;
  top: 5.7rem;
  z-index: 20;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.88);
  padding: 0.4rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgb(23 23 23 / 0.06);
  width: fit-content;
}

.news-title-block,
.news-excerpt-block,
.news-body-block,
.mini-block div,
.code-block-editor {
  outline: none;
}

.news-title-block:empty::before,
.news-excerpt-block:empty::before,
.news-body-block:empty::before,
.mini-block div:empty::before {
  content: attr(data-placeholder);
  color: #a3a3a3;
}

.news-title-block {
  font-family: 'Source Serif 4', Georgia, serif;
  min-height: 4.5rem;
  color: #171717;
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  line-height: 1.02;
  font-weight: 650;
  letter-spacing: -0.045em;
}

.news-excerpt-block {
  margin-top: 1.3rem;
  max-width: 860px;
  color: #525252;
  font-size: 1.16rem;
  line-height: 1.75;
}

.news-body-block {
  margin-top: 2rem;
  max-width: 820px;
  color: #262626;
  font-size: 1.08rem;
  line-height: 1.9;
}

.news-body-block.smaller {
  min-height: 12rem;
}

.news-body-block p {
  margin-top: 1.1rem;
}

.news-body-block h2 {
  margin-top: 2rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 650;
}

.news-body-block blockquote {
  margin-top: 1.4rem;
  border-left: 4px solid var(--blue-800);
  padding-left: 1rem;
  color: #404040;
  font-style: italic;
}

.team-form-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .team-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.mini-block {
  display: grid;
  gap: 0.35rem;
  border-top: 1px solid rgb(23 23 23 / 0.10);
  padding-top: 1rem;
}

.mini-block span {
  color: var(--blue-800);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-block div {
  min-height: 2.3rem;
  color: #262626;
  font-size: 1rem;
  line-height: 1.7;
}

.slider-card-grid,
.team-card-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .slider-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .team-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.slider-card,
.team-admin-card {
  display: grid;
  gap: 1rem;
  position: relative;
  border-radius: 1.3rem;
  border: 1px solid rgb(23 23 23 / 0.10);
  background: white;
  padding: 1rem;
  transition: 180ms ease;
}

.team-admin-card.is-home {
  border-color: rgb(17 75 154 / 0.34);
  box-shadow: 0 18px 50px rgb(17 75 154 / 0.10);
}

.team-select-check {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  border-radius: 999px;
  background: var(--blue-50);
  padding: 0.35rem 0.65rem;
  color: var(--blue-800);
  font-size: 12px;
  font-weight: 850;
}

.team-select-check.hidden {
  display: none !important;
}

.team-home-toggle {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  background: var(--blue-800);
  color: white;
  font-size: 1.25rem;
  font-weight: 900;
  box-shadow: 0 12px 30px rgb(17 75 154 / 0.20);
}

.team-home-toggle.hidden {
  display: none !important;
}

.team-admin-card.is-batch {
  padding-top: 2.85rem;
}

.team-batch-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  border-radius: 1rem;
  border: 1px solid rgb(23 23 23 / 0.10);
  background: rgb(255 255 255 / 0.84);
  padding: 0.75rem;
}

.team-batch-bar.hidden {
  display: none !important;
}

.team-action-row,
.team-filter-row,
.team-filter-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.team-filter-row {
  padding: 0.75rem;
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.74);
  border: 1px solid rgb(23 23 23 / 0.08);
}

.team-control-toolbar,
.cms-toolbar.team-control-toolbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}

@media (min-width: 768px) {
  .cms-toolbar.team-control-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}

.team-control-group {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.team-control-primary {
  justify-content: space-between;
  align-items: flex-end;
}

.team-control-secondary {
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.team-control-filters,
.team-control-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.team-control-filters {
  align-items: flex-end;
}

.team-control-actions {
  /* justify-content: flex-end; */
  display: flex;
}

@media (max-width: 767px) {

  .team-control-primary,
  .team-control-filters,
  .team-control-actions,
  .team-control-secondary {
    flex-direction: column;
    align-items: stretch;
  }

  .team-control-filters,
  .team-control-actions {
    width: 100%;
  }

  .team-filter-field,
  .team-control-actions .cms-search,
  .team-control-secondary .view-toggle,
  .team-control-secondary #team-batch-toggle {
    width: 100%;
  }

  .team-filter-field {
    flex: 1 1 100%;
  }

  .team-filter-field .config-input,
  .team-filter-field select,
  .team-control-actions .cms-search {
    width: 100%;
  }

  .team-control-secondary .view-toggle {
    justify-content: space-between;
  }

  .team-control-secondary .view-toggle-btn,
  .team-control-secondary #team-batch-toggle {
    flex: 1 1 auto;
    justify-content: center;
  }
}

.team-filter-field {
  display: flex;
}

.slider-card:hover,
.team-admin-card:hover {
  border-color: rgb(17 75 154 / 0.24);
  box-shadow: 0 18px 50px rgb(17 75 154 / 0.08);
}

.slider-card img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 1rem;
}

.slider-card h2,
.team-admin-card h2 {
  color: #171717;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.slider-card p,
.team-admin-card p {
  color: #525252;
  font-size: 14px;
  line-height: 1.6;
}

.slider-card span {
  color: var(--blue-800);
  font-size: 12px;
  font-weight: 850;
}

.team-card-list {
  display: grid;
  gap: 0.85rem;
}

.team-card-list .team-admin-card {
  grid-template-columns: 88px 1fr auto;
  align-items: center;
}

.team-admin-photo,
.member-preview-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 1.25rem;
  background: var(--blue-50);
  color: var(--blue-800);
  font-weight: 900;
}

.team-admin-photo {
  width: 100%;
  aspect-ratio: 1;
}

.team-admin-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-preview-avatar {
  width: 100%;
  min-height: 11rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 3rem;
}

.member-preview-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.team-tags span {
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-800);
  padding: 0.32rem 0.6rem;
  font-size: 11px;
  font-weight: 850;
}

.team-card-actions {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  flex-wrap: wrap;
}

.team-card-actions .cms-action:not(.edit):not(.delete) {
  background: white;
  color: var(--admin-blue-deep);
  border: 1px solid rgb(17 79 137 / 0.18);
}

.team-card-actions .cms-action:not(.edit):not(.delete):hover {
  background: rgb(220 238 255 / 0.58);
  color: var(--admin-blue-deep);
}

.view-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  border-radius: 999px;
  background: white;
  border: 1px solid rgb(23 23 23 / 0.10);
  padding: 0.3rem;
}

.view-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.2rem;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  color: #525252;
  font-size: 13px;
  font-weight: 850;
}

.view-toggle button.is-active {
  background: var(--blue-800);
  color: white;
}

.code-block-editor {
  min-height: 20rem;
  white-space: pre-wrap;
  border-radius: 1.2rem;
  border: 1px solid rgb(23 23 23 / 0.10);
  background: #0f172a;
  color: #e2e8f0;
  padding: 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.7;
}

.admin-confirm {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  background: rgb(15 23 42 / 0.55);
  padding: 1rem;
  backdrop-filter: blur(10px);
}

.admin-confirm.hidden {
  display: none;
}

.admin-confirm-panel {
  width: min(100%, 440px);
  border-radius: 1.6rem;
  background: rgb(var(--cream));
  padding: 1.5rem;
  box-shadow: 0 28px 90px rgb(0 0 0 / 0.25);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: 160ms ease;
}

.admin-confirm-panel.is-wide {
  width: min(100%, 720px);
}

.admin-confirm-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.admin-confirm-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 1rem;
  background: var(--blue-50);
  color: var(--blue-800);
}

@media (max-width: 1023px) {

  .editor-workspace,
  .editor-workspace.compact {
    grid-template-columns: 1fr;
  }

  .editor-config-sidebar {
    position: static;
  }

  .block-writing-surface {
    min-height: auto;
  }

  .sticky-toolbar {
    top: 5rem;
  }
}

@media (max-width: 767px) {
  .team-card-list .team-admin-card {
    grid-template-columns: 1fr;
  }

  .team-card-actions {
    justify-content: flex-start;
  }

  .news-title-block {
    font-size: clamp(2rem, 12vw, 3rem);
  }
}

/* v8 admin calmer blue and Medium-like Editor.js refinement */
:root {
  --admin-blue: #2f6fa9;
  --admin-blue-deep: #174f86;
  --admin-blue-soft: #eef6ff;
  --admin-blue-soft-2: #f7fbff;
  --admin-border-blue: #d7e8f8;
}

.admin-body {
  background: #f4f7fb;
}

.admin-sidebar {
  background: linear-gradient(180deg, #fbfdff 0%, #f2f8ff 56%, #edf5fc 100%) !important;
  border-right: 1px solid var(--admin-border-blue) !important;
  color: #193b5d !important;
  box-shadow: 12px 0 34px rgb(47 111 169 / 0.05);
}

.admin-topbar {
  background: rgba(248, 251, 255, 0.94) !important;
  border-bottom: 1px solid var(--admin-border-blue) !important;
  color: #193b5d !important;
  box-shadow: 0 10px 30px rgb(47 111 169 / 0.05);
}

.admin-brand {
  color: #193b5d !important;
}

.admin-brand:hover {
  background: rgb(47 111 169 / 0.08) !important;
}

.admin-brand .text-white,
.admin-topbar .text-white {
  color: #143a60 !important;
}

.admin-brand .text-blue-100,
.admin-topbar .text-blue-100 {
  color: #557899 !important;
}

.admin-brand-logo,
.admin-top-logo {
  background: white !important;
  box-shadow: 0 12px 28px rgb(47 111 169 / 0.12) !important;
  border: 1px solid rgb(47 111 169 / 0.10);
}

.admin-link {
  color: #3d5d7a !important;
}

.admin-link:hover,
.admin-link-active,
.admin-nav-group.is-open>.admin-link {
  background: var(--admin-blue-soft) !important;
  color: var(--admin-blue-deep) !important;
}

.admin-link svg,
.admin-sub-link svg {
  color: currentColor;
}

.admin-subnav {
  border-left: 1px solid rgb(47 111 169 / 0.16);
}

.admin-sub-link {
  color: #5b7892 !important;
}

.admin-sub-link:hover,
.admin-sub-link.is-active {
  background: white !important;
  color: var(--admin-blue-deep) !important;
  box-shadow: inset 0 0 0 1px rgb(47 111 169 / 0.10);
}

.admin-nav-group.is-open>.admin-link span.ml-auto {
  color: #7b9cb9 !important;
}

.admin-visit-link {
  border-color: rgb(47 111 169 / 0.16) !important;
  background: white !important;
  color: var(--admin-blue-deep) !important;
  box-shadow: 0 12px 24px rgb(47 111 169 / 0.08);
}

.admin-visit-link:hover {
  background: var(--admin-blue-soft) !important;
}

.admin-menu-button {
  background: white !important;
  color: var(--admin-blue-deep) !important;
  border-color: rgb(47 111 169 / 0.18) !important;
}

.btn-primary,
.cms-action.edit,
.view-toggle button.is-active {
  background: var(--admin-blue) !important;
}

.btn-primary:hover,
.cms-action.edit:hover {
  background: var(--admin-blue-deep) !important;
}

.cms-pill,
.team-tags span,
.blue-badge {
  background: var(--admin-blue-soft) !important;
  color: var(--admin-blue-deep) !important;
}

.config-input:focus,
.admin-input:focus,
.admin-textarea:focus {
  border-color: var(--admin-blue) !important;
  box-shadow: 0 0 0 4px rgb(47 111 169 / 0.14) !important;
}

.medium-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(1rem, 2.4vw, 1.5rem);
  align-items: start;
}

.prestasi-editor-form {
  max-width: 760px;
  margin-inline: auto;
}

.prestasi-config-panel {
  display: grid;
  gap: 1rem;
  position: static;
}

.medium-editor-canvas {
  min-height: calc(100vh - 10rem);
  border: 1px solid rgb(23 23 23 / 0.08);
  border-radius: 1.7rem;
  background: #fffdf8;
  padding: clamp(1.1rem, 3vw, 2.5rem);
  box-shadow: 0 24px 70px rgb(23 23 23 / 0.045);
}

.medium-editor-kicker {
  margin-bottom: 1rem;
  color: var(--admin-blue-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.medium-editor-host {
  max-width: 720px;
  margin-inline: auto;
}

.medium-editor-help {
  max-width: 820px;
  margin: 2rem auto 0;
  border-top: 1px solid rgb(23 23 23 / 0.08);
  padding-top: 1rem;
  color: #737373;
  font-size: 13px;
  line-height: 1.7;
}

.medium-config-sidebar {
  top: 6.2rem;
}

.medium-config-card {
  background: rgb(255 255 255 / 0.9);
}

.config-hint {
  color: #737373;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 0.85rem;
}

.editor-fallback {
  max-width: 820px;
  margin-inline: auto;
}

.editor-fallback h1,
.editor-fallback p,
.editor-fallback article {
  outline: 0;
}

.editor-fallback h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  color: #171717;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1.02;
  font-weight: 650;
  letter-spacing: -0.045em;
}

.editor-fallback p {
  margin-top: 1.25rem;
  color: #525252;
  font-size: 1.18rem;
  line-height: 1.75;
}

.editor-fallback article {
  margin-top: 2rem;
  color: #262626;
  font-size: 1.08rem;
  line-height: 1.9;
}

.medium-editor-host .ce-toolbar__plus,
.medium-editor-host .ce-toolbar__settings-btn {
  color: var(--admin-blue-deep);
  background: white;
  border: 1px solid rgb(47 111 169 / 0.12);
  box-shadow: 0 8px 20px rgb(47 111 169 / 0.08);
}

.medium-editor-host .ce-toolbar__plus:hover,
.medium-editor-host .ce-toolbar__settings-btn:hover,
.medium-editor-host .ce-inline-tool:hover {
  background: var(--admin-blue-soft);
  color: var(--admin-blue-deep);
}

.medium-editor-host .ce-block__content,
.medium-editor-host .ce-toolbar__content {
  max-width: 720px;
}

.medium-editor-host .ce-paragraph,
.medium-editor-host .cdx-quote__text,
.medium-editor-host .cdx-list {
  color: #262626;
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 1.05rem;
  line-height: 1.9;
  text-align: justify;
}

.editor-fallback article,
.editor-fallback p,
.editor-fallback li,
.editor-fallback div {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 1.05rem;
  line-height: 1.9;
  text-align: justify;
}

.medium-editor-host .ce-paragraph[data-placeholder]:empty::before {
  color: #a3a3a3;
}

.medium-editor-host .ce-header {
  font-family: 'Source Serif 4', Georgia, serif;
  color: #171717;
  letter-spacing: -0.045em;
}

.medium-editor-host h1.ce-header,
.medium-editor-host .ce-header[data-level="1"] {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1.02;
  font-weight: 650;
}

.medium-editor-host h2.ce-header,
.medium-editor-host .ce-header[data-level="2"] {
  margin-top: 1.1rem;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.12;
  font-weight: 650;
}

.medium-editor-host h3.ce-header,
.medium-editor-host .ce-header[data-level="3"] {
  margin-top: 1rem;
  font-size: 1.55rem;
  line-height: 1.24;
  font-weight: 700;
}

.medium-editor-host .image-tool__image,
.medium-editor-host .image-tool__image-picture {
  border-radius: 1.25rem;
  overflow: hidden;
}

.medium-editor-host .image-tool--loading .image-tool__image,
.medium-editor-host .image-tool.image-tool--loading {
  position: relative;
  min-height: 180px;
  border: 1px dashed rgb(47 111 169 / 0.35);
  border-radius: 1.25rem;
  background: rgb(47 111 169 / 0.08);
}

.medium-editor-host .image-tool--loading .image-tool__image::after,
.medium-editor-host .image-tool.image-tool--loading::after {
  content: 'Mengupload gambar...';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--admin-blue-deep);
  font-size: 0.9rem;
  font-weight: 800;
}

.medium-editor-host .image-tool__caption,
.medium-editor-host .cdx-input {
  border-color: rgb(23 23 23 / 0.10);
  box-shadow: none;
  border-radius: 0.85rem;
}

.medium-editor-host .ce-conversion-toolbar,
.medium-editor-host .ce-settings,
.medium-editor-host .ce-popover {
  border-radius: 1rem;
  border-color: rgb(23 23 23 / 0.10);
  box-shadow: 0 22px 60px rgb(23 23 23 / 0.14);
}

@media (max-width: 1180px) {
  .medium-editor-layout {
    grid-template-columns: 1fr;
  }

  .medium-config-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .medium-editor-canvas {
    padding: 1rem;
    border-radius: 1.25rem;
  }

  .medium-config-sidebar {
    grid-template-columns: 1fr;
  }

  .medium-editor-host .ce-paragraph,
  .medium-editor-host .cdx-quote__text,
  .medium-editor-host .cdx-list {
    font-size: 1rem;
  }
}

/* v9 refinements: public editorial sections and stronger clean admin blue */
.bpi-editorial-list,
.event-editorial-list {
  border: 1px solid rgb(23 23 23 / 0.10);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px rgb(23 23 23 / 0.045);
  overflow: hidden;
}

.bpi-row,
.event-row {
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
  border-top: 1px solid rgb(23 23 23 / 0.08);
  transition: background 180ms ease, transform 180ms ease;
}

.bpi-row:first-child,
.event-row:first-child {
  border-top: 0;
}

.bpi-row:hover,
.event-row:hover {
  background: rgb(238 246 255 / 0.55);
}

.bpi-row {
  grid-template-columns: 3rem minmax(0, 1fr);
}

.bpi-row h3,
.event-row h3 {
  color: #171717;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.bpi-row p,
.event-row p {
  margin-top: 0.35rem;
  color: #525252;
  font-size: 14px;
  line-height: 1.7;
}

.bpi-row>span:last-child {
  grid-column: 2;
  width: fit-content;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-800);
  padding: 0.35rem 0.65rem;
  font-size: 11px;
  font-weight: 850;
}

.bpi-number {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: 999px;
  background: var(--blue-800);
  color: white;
  font-size: 12px;
  font-weight: 900;
}

.event-row {
  grid-template-columns: 3.25rem minmax(0, 1fr);
  align-items: start;
}

.event-icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 1rem;
  background: var(--blue-50);
  color: var(--blue-800);
}

.event-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.4rem;
  color: var(--blue-800);
  font-size: 12px;
  font-weight: 800;
}

.contact-prefooter {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  border: 1px solid rgb(23 23 23 / 0.10);
  border-radius: 1.85rem;
  background: rgba(255, 255, 255, 0.78);
  padding: clamp(1.25rem, 4vw, 2.2rem);
  box-shadow: 0 24px 70px rgb(23 23 23 / 0.045);
}

.contact-prefooter-card {
  border-radius: 1.45rem;
  background: #0c3572;
  padding: 1.3rem;
  color: white;
  box-shadow: 0 18px 44px rgb(12 53 114 / 0.18);
}

.contact-prefooter-card p {
  color: rgb(255 255 255 / 0.84);
  line-height: 1.7;
}

.contact-prefooter-card a:not(.btn) {
  color: white;
  font-weight: 700;
}

.contact-label {
  margin-bottom: 0.55rem;
  color: white !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .contact-prefooter {
    grid-template-columns: minmax(0, 1fr) 370px;
  }
}

.contact-map-meta-card {
  border-radius: 1.55rem;
  border: 1px solid rgb(17 75 154 / 0.17);
  background: linear-gradient(180deg, rgb(241 247 255 / 0.9), rgb(255 255 255 / 0.96));
  padding: 1.45rem;
}

.contact-map-shell {
  overflow: hidden;
  border-radius: 1.6rem;
  border: 1px solid rgb(23 23 23 / 0.1);
  background: linear-gradient(180deg, #f7fbff, #eff5fb);
  min-height: 360px;
}

.contact-map-shell iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
}

.contact-map-empty {
  display: grid;
  min-height: 360px;
  place-items: center;
  text-align: center;
  padding: 1.25rem;
  color: #334155;
}

.contact-map-empty p {
  margin-top: 0.5rem;
  color: #64748b;
}

.admin-contact-grid {
  display: grid;
  gap: 1rem;
}

.admin-contact-preview {
  align-self: start;
}

.admin-contact-preview-card {
  border-radius: 1.2rem;
  border: 1px solid rgb(17 75 154 / 0.18);
  background: linear-gradient(180deg, #f5f9ff, #ffffff);
  padding: 1rem;
}

.admin-contact-preview-map {
  margin-top: 0.9rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgb(23 23 23 / 0.1);
  min-height: 260px;
  background: #f8fbff;
}

.admin-contact-preview-map iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
}

.admin-contact-preview-empty {
  min-height: 260px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  color: #3f4f63;
}

.admin-contact-preview-empty p {
  margin-top: 0.45rem;
  color: #64748b;
}

@media (min-width: 1024px) {
  .admin-contact-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .admin-contact-preview {
    position: sticky;
    top: 1rem;
  }
}

:root {
  --admin-blue: #246aa7;
  --admin-blue-deep: #114f89;
  --admin-blue-hover: #dceeff;
  --admin-blue-active: #1d5f9c;
  --admin-blue-soft: #eaf4ff;
  --admin-blue-soft-2: #f4f9ff;
  --admin-border-blue: #c9dff3;
}

.admin-sidebar {
  background: linear-gradient(180deg, #f6fbff 0%, #eaf4ff 52%, #dfeefc 100%) !important;
  box-shadow: 14px 0 34px rgb(36 106 167 / 0.08) !important;
}

.admin-topbar {
  background: rgba(242, 248, 255, 0.96) !important;
  box-shadow: 0 10px 30px rgb(36 106 167 / 0.07) !important;
}

.admin-link:hover {
  background: var(--admin-blue-hover) !important;
  color: var(--admin-blue-deep) !important;
  box-shadow: inset 0 0 0 1px rgb(36 106 167 / 0.12);
}

.admin-link-active,
.admin-nav-group.is-open>.admin-link {
  background: var(--admin-blue-active) !important;
  color: white !important;
  box-shadow: 0 12px 28px rgb(36 106 167 / 0.20);
}

.admin-nav-group.is-open>.admin-link span.ml-auto {
  color: rgb(255 255 255 / 0.78) !important;
}

.admin-sub-link:hover {
  background: var(--admin-blue-hover) !important;
  color: var(--admin-blue-deep) !important;
}

.admin-sub-link.is-active {
  background: white !important;
  color: var(--admin-blue-deep) !important;
  box-shadow: inset 3px 0 0 var(--admin-blue-active), 0 8px 22px rgb(36 106 167 / 0.08);
}

.btn-primary,
.cms-action.edit,
.view-toggle button.is-active {
  background: var(--admin-blue-active) !important;
}

.btn-primary:hover,
.cms-action.edit:hover {
  background: var(--admin-blue-deep) !important;
}

.cms-table tr:hover td {
  background: rgb(220 238 255 / 0.58) !important;
}

.config-input,
.admin-input,
.admin-textarea,
.cms-search,
select.config-input,
input.config-input,
textarea.config-input {
  border-color: rgb(17 79 137 / 0.18) !important;
  background-color: #fff !important;
}

.config-input:hover,
.admin-input:hover,
.admin-textarea:hover,
.cms-search:hover {
  border-color: rgb(17 79 137 / 0.34) !important;
}

select.config-input,
select.admin-input {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #114f89 50%), linear-gradient(135deg, #114f89 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.6rem !important;
}

.config-input[type="file"],
.admin-file-input,
input[type="file"].config-input {
  cursor: pointer;
  padding: 0.55rem !important;
  color: #3b5871;
}

.config-input[type="file"]::file-selector-button,
.admin-file-input::file-selector-button,
input[type="file"].config-input::file-selector-button {
  margin-right: 0.85rem;
  border: 0;
  border-radius: 999px;
  background: var(--admin-blue-active);
  color: white;
  padding: 0.55rem 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.config-input[type="file"]::file-selector-button:hover,
.admin-file-input::file-selector-button:hover,
input[type="file"].config-input::file-selector-button:hover {
  background: var(--admin-blue-deep);
  transform: translateY(-1px);
}

.story-main-block {
  max-width: 820px;
  margin-inline: auto;
  padding-block: 0.65rem 1.05rem;
  border-bottom: 1px solid rgb(23 23 23 / 0.08);
}

.story-main-block label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--admin-blue-deep);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-title-field,
.story-excerpt-field {
  outline: none;
  border-radius: 1rem;
  transition: background 160ms ease, box-shadow 160ms ease;
}

.story-title-field {
  min-height: 4.2rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(2.4rem, 5.8vw, 5rem);
  line-height: 1.02;
  font-weight: 650;
  letter-spacing: -0.045em;
  color: #171717;
}

.story-excerpt-field {
  min-height: 4.5rem;
  color: #525252;
  font-size: 1.17rem;
  line-height: 1.75;
}

.story-title-field:empty::before,
.story-excerpt-field:empty::before {
  content: attr(data-placeholder);
  color: #a3a3a3;
}

.story-title-field:focus,
.story-excerpt-field:focus {
  background: rgb(234 244 255 / 0.62);
  box-shadow: 0 0 0 8px rgb(234 244 255 / 0.72);
}

.medium-editor-divider {
  max-width: 820px;
  margin: 1.2rem auto 0.8rem;
}

.news-caption-cell {
  max-width: 520px;
  color: #525252;
  font-size: 13px;
  line-height: 1.65;
}

.team-commission-select {
  width: 100%;
  min-height: 2.75rem;
  border-radius: 1rem;
  border: 1px solid rgb(17 79 137 / 0.18);
  background-color: white;
  padding: 0.72rem 2.6rem 0.72rem 0.85rem;
  color: #262626;
  font-size: 14px;
  outline: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #114f89 50%), linear-gradient(135deg, #114f89 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.team-commission-select:focus {
  border-color: var(--admin-blue-active);
  box-shadow: 0 0 0 4px rgb(36 106 167 / 0.14);
}

.simple-card-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .simple-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .simple-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.simple-admin-card {
  border: 1px solid rgb(17 79 137 / 0.12);
  border-radius: 1.35rem;
  background: white;
  padding: 1rem;
  box-shadow: 0 16px 44px rgb(36 106 167 / 0.055);
  transition: 180ms ease;
}

.simple-admin-card:hover {
  border-color: rgb(17 79 137 / 0.28);
  box-shadow: 0 18px 50px rgb(36 106 167 / 0.10);
  transform: translateY(-1px);
}

.simple-admin-card h2 {
  color: #172033;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.simple-admin-card p {
  margin-top: 0.5rem;
  color: #526579;
  font-size: 14px;
  line-height: 1.7;
}

.simple-admin-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 1rem;
  background: #f5f7fb;
}

.simple-admin-card .meta {
  margin-top: 0.8rem;
  color: var(--admin-blue-deep);
  font-size: 12px;
  font-weight: 850;
}

/* v10 landing carousel refinements */
.home-section-intro {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.carousel-shell {
  position: relative;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding-inline: 0.2rem;
}

.carousel-control-row {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.carousel-nav {
  display: inline-grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgb(12 53 114 / 0.18);
  background: white;
  color: var(--blue-800);
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 800;
  box-shadow: 0 12px 32px rgb(12 53 114 / 0.08);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.carousel-nav:hover {
  transform: translateY(-1px);
  border-color: rgb(12 53 114 / 0.28);
  background: var(--blue-800);
  color: white;
}

.carousel-nav:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgb(21 91 184 / 0.16), 0 12px 32px rgb(12 53 114 / 0.08);
}

.horizontal-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-padding-inline: max(1rem, calc((100vw - 1180px) / 2));
  scroll-snap-type: x mandatory;
  padding: 1rem max(1rem, calc((100vw - 1180px) / 2)) 2rem;
  margin-inline: calc(-1 * max(1rem, calc((100vw - 1180px) / 2)));
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.horizontal-carousel::-webkit-scrollbar {
  display: none;
}

.editorial-slide-card {
  position: relative;
  flex: 0 0 min(84vw, 390px);
  scroll-snap-align: center;
  border: 1px solid rgb(23 23 23 / 0.10);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 24px 70px rgb(23 23 23 / 0.05);
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.editorial-slide-card:hover {
  transform: translateY(-3px);
  border-color: rgb(17 75 154 / 0.22);
  box-shadow: 0 28px 90px rgb(17 75 154 / 0.10);
}

.program-slide-card,
.event-slide-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.15rem, 2.4vw, 1.8rem);
}

.program-slide-card,
.agenda-slide-card {
  position: relative;
  isolation: isolate;
  align-items: center;
  text-align: center;
  color: #f7fbff;
  border-color: rgb(17 75 154 / 0.20);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.86), rgb(255 255 255 / 0.92));
}

.program-slide-card > *,
.agenda-slide-card > * {
  position: relative;
  z-index: 2;
}

.program-slide-card::before,
.agenda-slide-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background-image: var(--program-bg-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}

.program-slide-card::after,
.agenda-slide-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(12, 53, 114, .94) 0%, rgba(17, 75, 154, .82) 44%, rgba(17, 75, 154, .68) 74%, rgba(17, 75, 154, .58) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .18));
}

.event-slide-card {
  align-items: center;
  text-align: center;
}

.program-slide-card:hover,
.agenda-slide-card:hover {
  border-color: rgb(17 75 154 / 0.28);
  box-shadow: 0 28px 90px rgb(17 75 154 / 0.16);
}

.program-slide-card h3,
.event-slide-card h3,
.bpi-slide-card h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  color: #171717;
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  line-height: 1.04;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.program-slide-card p:not(.slide-kicker),
.event-slide-card p,
.bpi-slide-card p {
  max-width: 29rem;
  margin-top: 0.9rem;
  color: #525252;
  font-size: 0.96rem;
  line-height: 1.75;
}

.event-slide-card p,
.bpi-slide-card p {
  margin-inline: auto;
}

.program-slide-card p:not(.slide-kicker),
.agenda-slide-card p:not(.slide-kicker) {
  max-width: 18.25rem;
  color: rgba(247, 251, 255, 0.92);
  margin-inline: auto;
  font-size: 0.98rem;
  line-height: 1.6;
  font-weight: 500;
}

.slide-kicker {
  margin-bottom: 0.65rem;
  color: rgba(247, 251, 255, 0.88);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.program-slide-card h3,
.agenda-slide-card h3 {
  max-width: 17rem;
  margin-inline: auto;
  color: #ffffff;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.slide-index {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-800);
  font-size: 0.72rem;
  font-weight: 900;
}

.program-slide-card .slide-index,
.agenda-slide-card .slide-index {
  background: rgb(238 246 255 / 0.95);
  color: var(--blue-800);
  box-shadow: inset 0 0 0 1px rgb(17 75 154 / 0.10);
}

.program-slide-card .blue-badge,
.agenda-slide-card .blue-badge {
  margin-top: 0.85rem;
  background: rgba(247, 251, 255, 0.16);
  color: #f7fbff;
  padding: 0.42rem 0.82rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.16);
}

.agenda-slide-card .program-icon {
  background: rgba(247, 251, 255, 0.14);
  color: #f7fbff;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.16);
}

.agenda-slide-card .program-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.bpi-slide-card {
  flex-basis: min(82vw, 330px);
  background: white;
}

.bpi-slide-photo {
  aspect-ratio: 1 / 1.08;
  background: linear-gradient(180deg, #fff, #f3f7fd);
  overflow: hidden;
}

.bpi-slide-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.02);
  transition: transform 420ms ease;
}

.bpi-slide-card:hover .bpi-slide-photo img {
  transform: scale(1.06);
}

.bpi-slide-content {
  min-height: 210px;
  padding: 1.35rem 1.25rem 1.55rem;
  text-align: center;
}

.bpi-slide-content h3 {
  margin-top: 0.9rem;
  font-size: 1.65rem;
}

.bpi-slide-content p {
  margin-top: 0.45rem;
  font-size: 0.9rem;
}

.event-slide-card .event-icon {
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.2rem;
  border-radius: 1.15rem;
}

.event-slide-card .event-meta {
  justify-content: center;
  margin-bottom: 0.9rem;
}

@media (min-width: 768px) {
  .horizontal-carousel {
    gap: 1.25rem;
  }

  .program-slide-card,
  .event-slide-card {
    flex-basis: min(55vw, 430px);
  }

  .bpi-slide-card {
    flex-basis: min(45vw, 345px);
  }
}

@media (min-width: 1180px) {

  .program-slide-card,
  .event-slide-card {
    flex-basis: 430px;
  }

  .bpi-slide-card {
    flex-basis: 345px;
  }
}

/* v11 public news engagement, fixed modals, comment moderation, and icon carousel refinements */
.modal-lock {
  overflow: hidden;
}

.public-fixed-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow-y: auto;
  background: rgb(15 23 42 / 0.56);
  padding: clamp(1rem, 3vw, 2rem);
  backdrop-filter: blur(12px);
}

.public-fixed-modal.hidden {
  display: none;
}

.public-modal-panel {
  position: relative;
  width: min(100%, 760px);
  margin: auto;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  border-radius: 1.8rem;
  border: 1px solid rgb(23 23 23 / 0.10);
  background: #fbfaf7;
  padding: clamp(1rem, 3vw, 1.6rem);
  box-shadow: 0 30px 100px rgb(0 0 0 / 0.28);
}

.modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 2;
  background: rgb(255 255 255 / 0.92) !important;
}

.program-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.75rem;
  place-items: center;
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.24);
  color: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.3),
    0 8px 24px rgb(0 0 0 / 0.2);
  backdrop-filter: blur(3px);
}

.program-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.program-icon .program-icon-svg {
  filter: drop-shadow(0 2px 6px rgb(0 0 0 / 0.25));
}

.feature-editor-form {
  display: grid;
  gap: 1.5rem;
}

.feature-editor-main {
  display: grid;
  gap: 1.25rem;
}

.feature-story-card,
.feature-media-card {
  border-radius: 1.45rem;
  border: 1px solid rgb(23 23 23 / 0.08);
  background: white;
  padding: 1.25rem;
  box-shadow: 0 16px 40px rgb(17 24 39 / 0.04);
}

.feature-story-card {
  display: grid;
  gap: 0.75rem;
}

.feature-label {
  display: block;
  color: var(--blue-800);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-title-input,
.story-name-input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0a0a0a;
  font-family: 'Source Serif 4', Georgia, serif;
  letter-spacing: 0;
}

.story-title-input {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.02;
}

.story-name-input {
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  font-weight: 600;
  line-height: 1.08;
}

.feature-grid {
  display: grid;
  gap: 1rem;
}

.feature-media-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.feature-media-head h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: #171717;
}

.feature-media-head p {
  margin-top: 0.35rem;
  max-width: 34rem;
  color: #525252;
  font-size: 0.92rem;
  line-height: 1.7;
}

.feature-image-board {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-image-card {
  overflow: hidden;
  border-radius: 1.05rem;
  border: 1px solid rgb(23 23 23 / 0.08);
  background: #f8fbff;
}

.feature-image-card img {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  object-fit: cover;
}

.feature-image-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
}

.feature-image-card-meta span {
  color: #525252;
  font-size: 0.78rem;
  font-weight: 800;
}

.feature-image-move,
.feature-image-remove {
  border: 0;
  border-radius: 0.7rem;
  padding: 0.4rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.feature-image-move {
  background: #eef4fb;
  color: var(--blue-800);
}

.admin-confirm-message p+p {
  margin-top: 0.75rem;
}

.feature-image-remove {
  background: #fee2e2;
  color: #b91c1c;
}

.feature-image-empty {
  display: grid;
  min-height: 190px;
  place-items: center;
  border: 1px dashed rgb(17 75 154 / 0.28);
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
  color: #52616d;
  background: linear-gradient(180deg, #f7fbff, #eff5fb);
}

.feature-config-sidebar {
  gap: 1rem;
}

.feature-icon-picker {
  position: relative;
}

.feature-icon-button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid rgb(23 23 23 / 0.08);
  border-radius: 0.95rem;
  background: #f9fbff;
  padding: 0.9rem 1rem;
  text-align: left;
}

.feature-icon-button-preview {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #eef4fb, #e4eef9);
  color: var(--blue-800);
  flex: 0 0 auto;
}

.feature-icon-button strong {
  display: block;
  color: #171717;
  font-size: 0.92rem;
}

.feature-icon-button small {
  display: block;
  margin-top: 0.15rem;
  color: #6b7280;
}

.feature-icon-modal {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.feature-icon-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(15 23 42 / 0.52);
  backdrop-filter: blur(10px);
}

.feature-icon-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  width: min(980px, 100%);
  max-height: min(86vh, 760px);
  overflow: hidden;
  border-radius: 1.35rem;
  border: 1px solid rgb(23 23 23 / 0.08);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  padding: clamp(1rem, 2.2vw, 1.5rem);
  box-shadow: 0 30px 80px rgb(15 23 42 / 0.28);
}

.feature-icon-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.feature-icon-modal-head h2 {
  margin: 0.2rem 0;
  color: #0f172a;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.feature-icon-modal-head p:not(.eyebrow) {
  margin: 0;
  color: #64748b;
}

.feature-icon-modal-close {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgb(15 23 42 / 0.08);
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font-size: 1.6rem;
  line-height: 1;
}

.feature-icon-modal-tools {
  display: grid;
  gap: 0.8rem;
}

.feature-icon-search {
  display: grid;
  gap: 0.35rem;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.feature-icon-search input {
  width: 100%;
  border: 1px solid rgb(15 23 42 / 0.1);
  border-radius: 0.95rem;
  background: #fff;
  padding: 0.85rem 1rem;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 600;
  outline: none;
}

.feature-icon-search input:focus {
  border-color: rgb(17 75 154 / 0.45);
  box-shadow: 0 0 0 4px rgb(17 75 154 / 0.12);
}

.feature-icon-segments {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
}

.feature-icon-segment {
  flex: 0 0 auto;
  border: 1px solid rgb(15 23 42 / 0.08);
  border-radius: 999px;
  background: #fff;
  padding: 0.55rem 0.8rem;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 800;
}

.feature-icon-segment.is-active,
.feature-icon-segment:hover {
  border-color: rgb(17 75 154 / 0.28);
  background: #edf4fb;
  color: var(--blue-800);
}

.feature-icon-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 0.55rem;
  overflow-y: auto;
  padding: 0.15rem 0.15rem 0.3rem;
}

.feature-icon-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgb(15 23 42 / 0.06);
  border-radius: 0.8rem;
  background: #fff;
  padding: 0.7rem 0.8rem;
  text-align: left;
  color: #334155;
  font-size: 0.86rem;
  font-weight: 750;
}

.feature-icon-option-preview {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 0.65rem;
  background: #f1f6fb;
  color: var(--blue-800);
}

.feature-icon-option-svg {
  flex: 0 0 auto;
}

.feature-icon-option.is-active,
.feature-icon-option:hover {
  border-color: rgb(17 75 154 / 0.26);
  background: #edf4fb;
  color: var(--blue-800);
}

.feature-icon-empty {
  border: 1px dashed rgb(15 23 42 / 0.16);
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  color: #64748b;
}

.feature-icon-empty.hidden {
  display: none;
}

@media (max-width: 640px) {
  .feature-icon-modal {
    align-items: end;
    padding: 0.65rem;
  }

  .feature-icon-modal-panel {
    max-height: 92vh;
    border-radius: 1.15rem;
  }

  .feature-icon-modal-head {
    align-items: flex-start;
  }

  .feature-icon-modal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .feature-editor-form {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }

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

.member-photo-skeleton {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(90deg, #eef4fb 0%, #f8fbff 45%, #e5eef8 80%);
  background-size: 220% 100%;
  animation: skeleton-pulse 1.25s ease-in-out infinite;
}

.member-photo-skeleton::after {
  content: '';
  position: absolute;
  inset: 1.2rem;
  border-radius: 1.25rem;
  background: rgb(255 255 255 / 0.54);
}

.member-photo-skeleton.is-hidden,
.bpi-slide-photo img.is-hidden {
  display: none;
}

@keyframes skeleton-pulse {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: -220% 50%;
  }
}

.home-news-card,
.related-news-card {
  display: grid;
  gap: 1rem;
  border-top: 1px solid rgb(23 23 23 / 0.10);
  padding: 1.35rem 0;
  color: inherit;
  transition: transform 180ms ease, background 180ms ease;
}

.home-news-card:first-child,
.related-news-card:first-child {
  border-top: 0;
}

.home-news-card:hover,
.related-news-card:hover {
  transform: translateX(4px);
}

.home-news-media,
.related-news-card figure {
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgb(23 23 23 / 0.08);
  background: var(--blue-50);
}

.home-news-media img,
.related-news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.home-news-card:hover img,
.related-news-card:hover img {
  transform: scale(1.04);
}

.home-news-media {
  aspect-ratio: 16 / 10;
}

@media (min-width: 760px) {
  .home-news-card {
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: center;
  }

  .related-news-card {
    grid-template-columns: 170px minmax(0, 1fr);
    align-items: center;
  }

  .related-news-card figure {
    aspect-ratio: 4 / 3;
  }
}

.news-engagement-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 48rem;
}

.share-card,
.comment-card {
  border: 1px solid rgb(23 23 23 / 0.10);
  border-radius: 1.6rem;
  background: rgb(255 255 255 / 0.78);
  padding: clamp(1rem, 3vw, 1.45rem);
  box-shadow: 0 22px 60px rgb(23 23 23 / 0.045);
}

.share-button {
  display: inline-flex;
  min-height: 2.45rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgb(17 75 154 / 0.16);
  background: white;
  padding: 0.55rem 0.9rem;
  color: var(--blue-800);
  font-size: 13px;
  font-weight: 850;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.share-button:hover {
  transform: translateY(-1px);
  border-color: rgb(17 75 154 / 0.28);
  background: var(--blue-50);
  color: var(--blue-950);
}

.comment-form {
  display: grid;
  gap: 0.8rem;
}

.comment-item {
  border-radius: 1.2rem;
  border: 1px solid rgb(23 23 23 / 0.08);
  background: white;
  padding: 1rem;
}

.comment-item h3 {
  color: #171717;
  font-weight: 850;
}

.comment-item p {
  color: #737373;
  font-size: 13px;
}

.comment-status,
.comment-status-admin {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eaf4ff;
  color: #114f89;
  padding: 0.38rem 0.65rem;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.comment-status.pending,
.comment-status-admin.pending {
  background: #fff7ed;
  color: #9a3412;
}

.comment-status-admin.flagged {
  background: #fef2f2;
  color: #b91c1c;
}

.comment-status-admin.approved {
  background: #ecfdf5;
  color: #047857;
}

.comment-text {
  margin-top: 0.8rem;
  color: #404040 !important;
  font-size: 14px !important;
  line-height: 1.75;
}

.comment-node {
  display: grid;
  gap: 0.75rem;
}

.comment-children {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.comment-depth-1,
.comment-depth-2,
.comment-depth-3,
.comment-depth-4,
.comment-depth-5,
.comment-depth-6 {
  margin-left: 1rem;
  border-left: 3px solid rgb(17 75 154 / 0.12);
}

.comment-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.comment-vote-group {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.comment-vote-btn,
.comment-reply-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgb(17 75 154 / 0.14);
  background: #fff;
  padding: 0.45rem 0.8rem;
  color: var(--blue-800);
  font-size: 12px;
  font-weight: 800;
}

.comment-reply-form.hidden {
  display: none;
}

.comment-disabled-note {
  border-radius: 1rem;
  border: 1px solid rgb(23 23 23 / 0.08);
  background: white;
  padding: 0.9rem 1rem;
  color: #525252;
  font-size: 13px;
}

@media (max-width: 640px) {
  .comment-depth-1,
  .comment-depth-2,
  .comment-depth-3,
  .comment-depth-4,
  .comment-depth-5,
  .comment-depth-6 {
    margin-left: 0.5rem;
  }
}

.public-mini-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  border-radius: 1rem;
  background: #0c3572;
  color: white;
  padding: 0.8rem 1rem;
  box-shadow: 0 20px 60px rgb(12 53 114 / 0.20);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: 180ms ease;
  font-size: 13px;
  font-weight: 800;
}

.public-mini-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.comment-dashboard {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .comment-dashboard {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.comment-dashboard article {
  border-radius: 1.25rem;
  background: linear-gradient(180deg, #fff, #f7fbff);
  border: 1px solid rgb(17 79 137 / 0.12);
  padding: 1rem;
}

.comment-dashboard span {
  color: var(--admin-blue-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.comment-dashboard strong {
  display: block;
  margin-top: 0.6rem;
  color: #172033;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 2.4rem;
  line-height: 1;
}

.comment-dashboard p {
  margin-top: 0.55rem;
  color: #526579;
  font-size: 13px;
  line-height: 1.6;
}

.comment-moderation-list {
  display: grid;
  gap: 1rem;
}

.comment-moderation-card {
  display: grid;
  gap: 1rem;
  border-radius: 1.35rem;
  border: 1px solid rgb(17 79 137 / 0.12);
  background: white;
  padding: 1rem;
  box-shadow: 0 14px 44px rgb(36 106 167 / 0.05);
}

.comment-moderation-card h2 {
  margin-top: 0.55rem;
  color: #172033;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.comment-moderation-text {
  margin-top: 0.9rem;
  color: #334155;
  font-size: 14px;
  line-height: 1.75;
}

.comment-moderation-side {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: start;
}

.cms-action.hold {
  background: #f59e0b;
}

@media (min-width: 900px) {
  .comment-moderation-card {
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: start;
  }

  .comment-moderation-side {
    justify-content: flex-end;
  }
}

.prestasi-row {
  width: 100%;
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  text-align: left;
  transition: background 180ms ease, transform 180ms ease;
}

.prestasi-layout-switch {
  display: inline-flex;
  justify-content: flex-end;
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgb(23 23 23 / 0.1);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.78);
}

.prestasi-layout-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0.5rem 0.75rem;
  color: #525252;
  font-size: 0.85rem;
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.prestasi-layout-toggle svg {
  width: 0.95rem;
  height: 0.95rem;
}

.prestasi-layout-toggle.is-active,
.prestasi-layout-toggle:hover {
  background: var(--blue-50);
  color: var(--blue-950);
}

.prestasi-layout-toggle+.prestasi-layout-toggle {
  border-left: 1px solid rgb(23 23 23 / 0.08);
}

.prestasi-grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.prestasi-grid-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.prestasi-grid-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 70px rgb(23 23 23 / 0.1);
}

.prestasi-grid-image {
  aspect-ratio: 4 / 3;
  background: var(--blue-50);
  overflow: hidden;
  flex: 0 0 auto;
}

.prestasi-grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prestasi-grid-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

.prestasi-grid-copy>p:last-child {
  margin-top: auto;
}

.prestasi-row:hover {
  background: rgb(238 246 255 / 0.55);
  transform: translateX(3px);
}

.prestasi-number {
  color: var(--blue-800);
  font-size: 2.5rem;
  line-height: 1;
}

.prestasi-person {
  border-radius: 1.25rem;
  background: var(--blue-50);
  padding: 1rem;
  color: var(--blue-950);
  font-size: 14px;
  line-height: 1.55;
}

@media (min-width: 800px) {
  .prestasi-row {
    grid-template-columns: 80px minmax(0, 1fr) 180px;
    align-items: start;
    padding: 1.5rem;
  }

  .prestasi-person {
    grid-column: auto;
  }

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

.prestasi-detail-panel {
  width: min(100%, 940px);
  padding: 0;
}

@media (min-width: 900px) {
  .prestasi-detail-panel {
    display: grid;
    width: min(100%, 1040px);
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: stretch;
  }
}

.prestasi-detail-image {
  overflow: hidden;
  border-radius: 1.8rem 1.8rem 0 0;
  background: var(--blue-50);
}

@media (min-width: 900px) {
  .prestasi-detail-image {
    min-height: 100%;
    border-radius: 1.8rem 0 0 1.8rem;
  }
}

.prestasi-detail-image img {
  width: 100%;
  max-height: min(45vh, 360px);
  object-fit: cover;
}

@media (min-width: 900px) {
  .prestasi-detail-image img {
    height: 100%;
    max-height: none;
    min-height: 520px;
  }
}

.prestasi-detail-copy {
  padding: clamp(1.1rem, 3vw, 2rem);
}

@media (min-width: 900px) {
  .prestasi-detail-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.75rem, 3vw, 2.5rem);
  }
}

.prestasi-detail-meta {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

@media (min-width: 760px) {
  .prestasi-detail-meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.prestasi-detail-meta p {
  border-radius: 1rem;
  background: white;
  border: 1px solid rgb(23 23 23 / 0.08);
  padding: 0.9rem;
}

.prestasi-detail-meta span {
  display: block;
  color: var(--blue-800);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.prestasi-detail-meta strong {
  display: block;
  margin-top: 0.35rem;
  color: #171717;
  font-size: 13px;
  line-height: 1.5;
}

.team-detail-panel {
  width: min(100%, 450px);
  padding: clamp(0.85rem, 2vw, 1.1rem);
}

.team-detail-photo {
  display: grid;
  width: 100%;
  aspect-ratio: 3 / 4;
  margin: 0 auto 1rem;
  place-items: center;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--blue-50);
  color: var(--blue-800);
  font-size: 3rem;
  font-weight: 900;
}

.team-detail-content {
  min-width: 0;
}

@media (min-width: 900px) {
  .team-detail-panel {
    display: grid;
    width: min(100%, 920px);
    grid-template-columns: 450px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
  }

  .team-detail-photo {
    margin: 0;
  }
}

.team-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-detail-heading {
  border-radius: 1.35rem;
  border: 1px solid rgb(23 23 23 / 0.08);
  background: white;
  padding: 1rem;
  box-shadow: 0 16px 45px rgb(17 75 154 / 0.08);
}

.team-detail-info-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.team-detail-info-card,
.team-detail-bio {
  border-radius: 1.1rem;
  border: 1px solid rgb(23 23 23 / 0.08);
  background: rgb(255 255 255 / 0.84);
  padding: 0.85rem 0.95rem;
}

.team-detail-info-card span {
  display: block;
  color: var(--blue-800);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-detail-info-card strong {
  display: block;
  margin-top: 0.35rem;
  color: #171717;
  font-size: 14px;
  line-height: 1.55;
}

.team-detail-bio {
  margin-top: 0.85rem;
  color: #404040;
  font-size: 14px;
  line-height: 1.7;
}

/* Event page */
.event-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .event-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.event-card {
  display: grid;
  gap: 1rem;
  align-content: start;
  border-radius: 1.7rem;
  border: 1px solid rgb(23 23 23 / 0.10);
  background: rgb(255 255 255 / 0.88);
  padding: 1rem;
  box-shadow: 0 18px 60px rgb(17 75 154 / 0.06);
}

.event-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1.35rem;
  background: var(--blue-50);
}

.event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border-radius: 999px;
  background: rgb(23 23 23 / 0.72);
  padding: 0.35rem 0.75rem;
  color: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.event-card-badge.upcoming {
  background: var(--blue-800);
}

.event-card-body {
  min-height: 0;
}

.event-detail-panel {
  width: min(100%, 920px);
}

@media (min-width: 900px) {
  .event-detail-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
  }
}

.event-detail-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--blue-50);
  margin-bottom: 1rem;
}

@media (min-width: 900px) {
  .event-detail-image {
    margin-bottom: 0;
  }
}

.event-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-detail-content {
  min-width: 0;
}

.event-detail-heading {
  border-radius: 1.35rem;
  border: 1px solid rgb(23 23 23 / 0.08);
  background: white;
  padding: 1rem;
  box-shadow: 0 16px 45px rgb(17 75 154 / 0.08);
}

.event-detail-info-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.event-detail-info-card {
  border-radius: 1.1rem;
  border: 1px solid rgb(23 23 23 / 0.08);
  background: rgb(255 255 255 / 0.84);
  padding: 0.85rem 0.95rem;
}

.event-detail-info-card span {
  display: block;
  color: var(--blue-800);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.event-detail-info-card strong {
  display: block;
  margin-top: 0.35rem;
  color: #171717;
  font-size: 14px;
  line-height: 1.55;
}

.event-detail-body {
  margin-top: 0.85rem;
  border-radius: 1.1rem;
  border: 1px solid rgb(23 23 23 / 0.08);
  background: rgb(255 255 255 / 0.84);
  padding: 0.85rem 0.95rem;
  color: #404040;
  font-size: 14px;
  line-height: 1.7;
}

.bpi-slide-photo {
  position: relative;
}

.bpi-slide-photo img {
  position: relative;
  z-index: 1;
}

/* Admin multi-select dropdown */
.admin-multi-select {
  position: relative;
}

.admin-multi-select-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgb(17 79 137 / 0.18);
  background: white;
  padding: 0.5rem 0.85rem;
  color: #262626;
  font-size: 14px;
  cursor: pointer;
  transition: 150ms ease;
}

.admin-multi-select-button:hover {
  border-color: var(--admin-blue-active);
}

.admin-multi-select-button[aria-expanded="true"] {
  border-color: var(--admin-blue-active);
  box-shadow: 0 0 0 3px rgb(36 106 167 / 0.12);
}

.admin-multi-select-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  z-index: 900;
  min-width: 16rem;
  max-height: 20rem;
  overflow-y: auto;
  border-radius: 0.875rem;
  border: 1px solid rgb(17 79 137 / 0.12);
  background: white;
  padding: 0.5rem;
  box-shadow: 0 12px 40px rgb(17 79 137 / 0.15);
}

.admin-multi-select-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 14px;
  transition: 120ms ease;
}

.admin-multi-select-option:hover {
  background: var(--blue-50);
}

.admin-multi-select-option input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}

.admin-multi-select-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgb(17 79 137 / 0.08);
}

.admin-multi-select-clear,
.admin-multi-select-apply {
  flex: 1;
  padding: 0.45rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: 120ms ease;
}

.admin-multi-select-clear {
  background: rgb(239 239 239);
  color: #525252;
}

.admin-multi-select-clear:hover {
  background: rgb(229 229 229);
}

.admin-multi-select-apply {
  background: var(--blue-800);
  color: white;
}

.admin-multi-select-apply:hover {
  background: var(--admin-blue-active);
}

/* Admin news grid layout */
.admin-news-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.admin-news-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.3rem;
  border: 1px solid rgb(23 23 23 / 0.10);
  background: white;
  overflow: hidden;
  transition: 180ms ease;
}

.admin-news-card:hover {
  border-color: rgb(17 75 154 / 0.24);
  box-shadow: 0 18px 50px rgb(17 75 154 / 0.08);
}

.admin-news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--blue-50);
}

.admin-news-card-placeholder {
  width: 100%;
  height: 180px;
  display: grid;
  place-items: center;
  background: var(--blue-50);
  color: var(--blue-800);
  font-weight: 700;
  font-size: 14px;
}

.admin-news-card-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.admin-news-card h2 {
  color: #171717;
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.admin-news-card p {
  color: #525252;
  font-size: 13px;
  line-height: 1.6;
  flex: 1;
}

.admin-news-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.admin-news-card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* View toggle button styles */
.view-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.2rem;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  color: #525252;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  transition: 120ms ease;
}

.view-toggle-btn:hover {
  background: rgb(239 239 239);
}

.view-toggle-btn.is-active {
  background: var(--blue-800);
  color: white;
}

/* Admin filter group */
.admin-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cms-toolbar-admin {
  gap: 1.25rem;
}

.admin-toolbar-row,
.admin-toolbar-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.admin-toolbar-footer {
  justify-content: space-between;
}

.admin-toolbar-summary {
  margin-left: auto;
}

.admin-toolbar-inline-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.admin-toolbar-inline-label .admin-custom-select {
  width: auto;
  min-width: 7rem;
}

.admin-filter-group .admin-custom-select {
  width: 14rem;
}

.cms-toolbar-admin .cms-search {
  min-width: 16rem;
}

.admin-data-table-wrap {
  overflow-x: auto;
  border-radius: 1.35rem;
  border: 1px solid var(--admin-border-blue);
  background: white;
  box-shadow: 0 18px 45px rgb(47 111 169 / 0.06);
}

.admin-data-table {
  width: 100%;
  min-width: 1024px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.admin-data-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: linear-gradient(180deg, var(--admin-blue-soft-2) 0%, var(--admin-blue-soft) 100%);
  padding: 0.78rem 0.88rem;
  border-bottom: 1px solid rgb(47 111 169 / 0.14);
  color: var(--admin-blue-deep);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
}

.admin-data-table tbody td {
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid rgb(47 111 169 / 0.08);
  vertical-align: top;
  background: rgb(255 255 255 / 0.92);
}

.admin-data-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-data-table tbody tr:hover td {
  background: rgb(238 246 255 / 0.72);
}

.admin-col-index {
  width: 3.5rem;
}

.admin-col-title {
  width: 21rem;
}

.admin-col-excerpt {
  width: 21rem;
}

.admin-col-image {
  width: 7rem;
}

.admin-col-meta {
  width: 10rem;
}

.admin-col-status {
  width: 7.5rem;
}

.admin-col-actions {
  width: 10rem;
}

.admin-col-person {
  width: 9rem;
}

.admin-col-year {
  width: 5.5rem;
}

.admin-col-institution {
  width: 11rem;
}

.admin-cell-index,
.admin-cell-year {
  color: var(--admin-blue-deep);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.admin-cell-thumb,
.admin-cell-status,
.admin-cell-actions {
  vertical-align: middle;
}

.admin-table-title {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.admin-table-title strong {
  color: var(--admin-blue-deep);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  word-break: break-word;
}

.admin-table-title p,
.admin-table-copy {
  color: #557899;
  font-size: 10.5px;
  line-height: 1.35;
}

.admin-table-copy {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.admin-table-media {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
}

.admin-thumb-placeholder {
  display: grid;
  place-items: center;
  width: 76px;
  min-width: 76px;
  height: 56px;
  border: 1px dashed rgb(47 111 169 / 0.22);
  border-radius: 0.65rem;
  background: var(--admin-blue-soft);
  color: var(--admin-blue-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: flex-start;
}

.admin-table-actions .btn {
  min-width: 0;
  min-height: 2rem;
  border-radius: 0.6rem;
  padding: 0.38rem 0.6rem;
  font-size: 11.5px;
  gap: 0.32rem;
}

.admin-table-actions .btn svg {
  flex: none;
}

.admin-data-table .table-thumb {
  width: 76px;
  height: 56px;
  border-radius: 0.65rem;
  border: 1px solid rgb(47 111 169 / 0.10);
  object-fit: cover;
  background: rgb(245 247 250);
}

.admin-table-actions .btn.btn-secondary,
.admin-table-actions .btn.btn-danger,
.admin-table-actions .btn.btn-outline {
  box-shadow: none;
}

.admin-table-actions .btn.btn-secondary {
  border-color: rgb(47 111 169 / 0.16);
  color: var(--admin-blue-deep);
}

.admin-table-actions .btn.btn-secondary:hover {
  background: var(--admin-blue-soft);
  color: var(--admin-blue-deep);
}

.admin-table-actions .btn.btn-outline {
  border-color: rgb(47 111 169 / 0.18);
  background: white;
  color: var(--admin-blue-deep);
}

.admin-table-actions .btn.btn-outline:hover {
  background: var(--admin-blue-soft);
}

.admin-table-actions .btn.btn-danger {
  border: 1px solid rgb(220 38 38 / 0.16);
}

@media (max-width: 767px) {

  .cms-toolbar-admin,
  .admin-toolbar-row,
  .admin-toolbar-footer {
    align-items: stretch;
  }

  .admin-toolbar-summary {
    margin-left: 0;
  }

  .admin-toolbar-inline-label {
    width: 100%;
  }

  .admin-toolbar-inline-label select,
  .admin-filter-group {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .admin-toolbar-row {
    flex-wrap: nowrap;
  }

  .admin-toolbar-inline-label {
    flex-wrap: nowrap;
  }

  .cms-toolbar-admin .cms-search {
    margin-left: auto;
    flex: 0 1 22rem;
  }
}
