/* ==========================================================================
   BAGIAN 1 - GAYA DASAR (dulu style.css)
   ========================================================================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-ink, #2b1a3d);
  background: var(--color-canvas, #fbf8ff);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--color-accent, #ff1950); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-accent-hover, #d60f41); }

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display, 'Poppins', sans-serif);
  letter-spacing: -0.01em;
  color: var(--color-ink, #2b1a3d);
}

::selection { background: rgba(255,25,80,0.2); color: var(--color-ink, #2b1a3d); }

:focus-visible {
  outline: 2px solid var(--color-accent, #ff1950);
  outline-offset: 2px;
}

/* ── Molecule / Hexagon Grid Background ── */

.molecule-grid {
  position: relative;
}

.molecule-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='49' viewBox='0 0 28 49' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23c39af1' fill-opacity='0.13' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.molecule-grid > * { position: relative; z-index: 1; }

/* Eyebrow label (hexagon bullet) */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-light, #c39af1);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: '';
  width: 9px;
  height: 10px;
  background: var(--color-accent, #ff1950);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  flex-shrink: 0;
}

/* ── Container ── */

.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section ── */

.section {
  padding: 88px 0;
  position: relative;
  z-index: 0;
}

.section-dark {
  background: var(--color-ink, #2b1a3d);
  color: var(--color-on-dark, #fff);
}

.section-light {
  background: var(--color-canvas-soft, #f4ecfc);
}

.section-header {
  text-align: left;
  max-width: 720px;
  margin: 0 0 48px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: 38px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

.section-header h2 { color: var(--color-ink, #2b1a3d); }
.section-dark .section-header h2 { color: var(--color-on-dark, #fff); }

.section-header p {
  font-size: 17px;
  color: var(--color-ink-muted, #6b7280);
  line-height: 1.65;
}

.section-dark .section-header p { color: var(--color-on-dark-muted, rgba(255,255,255,0.7)); }

.section-ruler {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent, #ff1950), var(--color-accent-light, #c39af1));
  border-radius: 2px;
  margin-bottom: 22px;
}

.text-center { text-align: center; }

.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }

/* ── Navigation ── */

.nav-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--color-primary, #16324f); border-bottom: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18); }

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 68px;
  position: relative;
}

.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--color-on-dark, #ffffff); font-family: var(--font-display, sans-serif); font-weight: 700; font-size: 18px; flex-shrink: 0; }

.nav-logo:hover { color: var(--color-accent-light, #76a39e); }

.nav-logo img { height: 38px; width: auto; }

.nav-toggle { display: none; background: none; border: none; color: var(--color-on-dark, #ffffff); font-size: 22px; cursor: pointer; padding: 4px 8px; }

/* .nav-links dibuat setinggi nav bar (align-items: stretch + height: 100%).
   Ini BUKAN soal tampilan: .sub-menu diposisikan dengan top:100% terhadap
   <li> ini. Kalau li hanya setinggi teksnya (38px) dan berada di tengah bar
   69px, maka top:100% mendarat 16px DI DALAM nav bar dan dropdown menutupi
   menunya. Dengan li setinggi bar, top:100% = dasar nav bar. */
.nav-links {
  display: flex;
  align-items: stretch;
  gap: 2px;
  margin: 0 auto;
  height: 100%;
}
.nav-links > li { display: flex; align-items: center; }

.nav-links li a { display: block; padding: 7px 14px; font-size: 14px; font-weight: 500; color: var(--color-on-dark-muted, rgba(255, 255, 255, 0.75)); border-radius: 999px; border-bottom: 2px solid transparent; transition: color 0.2s, background 0.2s; }

.nav-links li a:hover { color: var(--color-on-dark, #ffffff); background: rgba(255, 255, 255, 0.12); }

.nav-links li a.active { color: var(--color-accent-light, #76a39e); background: rgba(255, 255, 255, 0.14); font-weight: 700; }

/* ── Hero Slider ── */

.hero {
  position: relative;
  z-index: 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 68px;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(195,154,241,0.35), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(255,25,80,0.10), transparent 60%),
    var(--color-canvas, #fbf8ff);
}

.hero-slider { width: 100%; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.active { opacity: 1; }

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251,248,255,0.96) 0%, rgba(251,248,255,0.78) 45%, rgba(251,248,255,0.28) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 80px 24px;
}

.hero-content h1 {
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: 54px;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--color-ink, #2b1a3d);
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-ink-muted, #6b7280);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-static {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
  width: 100%;
}

.hero-static .hero-content { padding: 0; }

.slider-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.slider-dots button {
  width: 30px;
  height: 6px;
  border-radius: 999px;
  border: none;
  background: rgba(43,26,61,0.18);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.slider-dots button.active {
  background: var(--color-accent, #ff1950);
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-accent, #ff1950);
  color: var(--color-on-dark, #fff);
}

.btn-primary:hover {
  background: var(--color-accent-hover, #d60f41);
  color: var(--color-on-dark, #fff);
  box-shadow: 0 8px 24px rgba(255,25,80,0.32);
  transform: translateY(-1px);
}

.btn-light {
  background: #ffffff;
  color: var(--color-ink, #2b1a3d);
}

.btn-light:hover {
  background: var(--color-accent-soft, #e2cbf9);
  color: var(--color-ink, #2b1a3d);
}

.btn-outline {
  background: transparent;
  color: var(--color-ink, #2b1a3d);
  border: 1px solid var(--color-hairline-cloud, #ede7f6);
}

.btn-outline:hover {
  border-color: var(--color-accent, #ff1950);
  color: var(--color-accent, #ff1950);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
}

.btn-red {
  background: var(--color-accent-lime, #ff1950);
  color: var(--color-on-dark, #fff);
}

.btn-red:hover {
  background: var(--color-accent-pink, #ff4d73);
  color: var(--color-on-dark, #fff);
}

/* ── Cards ── */

.card {
  background: var(--color-surface-dark, #ffffff);
  border: 1px solid var(--color-hairline-cloud, #ede7f6);
  border-radius: 14px;
  padding: 24px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.card-dark {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 24px;
  color: var(--color-on-dark, #fff);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ── Stats ── */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.stat-item {
  position: relative;
  text-align: left;
  padding: 28px 24px;
  background: var(--color-surface-dark, #ffffff);
  border: 1px solid var(--color-hairline-cloud, #ede7f6);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(43,26,61,0.04);
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 0;
  width: 4px;
  height: 34px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--color-accent, #ff1950), var(--color-accent-light, #c39af1));
}

.stat-value {
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-accent-light, #c39af1);
  margin-bottom: 10px;
}

.stat-item:nth-child(2) .stat-value,
.stat-item:nth-child(4) .stat-value {
  color: var(--color-accent, #ff1950);
}

.stat-label {
  font-size: 13px;
  color: var(--color-ink-muted, #6b7280);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── About ── */

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-image {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-hairline-cloud, #ede7f6);
  padding: 10px;
  background: var(--color-surface-dark, #ffffff);
  box-shadow: 0 12px 40px rgba(43,26,61,0.08);
}

.about-image img { width: 100%; height: auto; border-radius: 10px; }

.about-content h2 {
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  color: var(--color-ink, #2b1a3d);
}

.about-content p {
  color: var(--color-ink-muted, #6b7280);
  margin-bottom: 16px;
  line-height: 1.75;
}

/* ── News ── */

.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
  background: var(--color-surface-dark, #ffffff);
  border: 1px solid var(--color-hairline-cloud, #ede7f6);
  border-radius: 14px;
  padding: 20px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.news-item:hover {
  box-shadow: 0 12px 32px rgba(43,26,61,0.08);
  border-color: rgba(195,154,241,0.55);
}

.news-item-thumb {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.news-item-thumb img { width: 100%; height: 100%; object-fit: cover; }

.news-item-body .tag,
.news-card-body .tag,
.tag {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  background: var(--color-accent-soft, #e2cbf9);
  color: #7c4dbf;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.news-item-body h3 {
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 8px;
}

.news-item-body h3 a { color: var(--color-ink, #2b1a3d); }
.news-item-body h3 a:hover { color: var(--color-accent, #ff1950); }

.news-item-body .excerpt {
  font-size: 14px;
  color: var(--color-ink-muted, #6b7280);
  margin-bottom: 8px;
  line-height: 1.6;
}

.news-item-body .meta {
  font-size: 12px;
  color: var(--color-ink-muted, #6b7280);
}

.news-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--color-surface-dark, #ffffff);
  border: 1px solid var(--color-hairline-cloud, #ede7f6);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.news-card:hover {
  box-shadow: 0 12px 32px rgba(43,26,61,0.08);
  border-color: rgba(195,154,241,0.55);
}

.news-card-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.news-card-thumb img { width: 100%; height: 100%; object-fit: cover; }

.news-card-body { padding: 20px; }

.news-card-body h3 {
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 8px;
}

.news-card-body h3 a { color: var(--color-ink, #2b1a3d); }
.news-card-body h3 a:hover { color: var(--color-accent, #ff1950); }

.news-card-body .excerpt {
  font-size: 14px;
  color: var(--color-ink-muted, #6b7280);
  margin-bottom: 8px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-body .meta {
  font-size: 12px;
  color: var(--color-ink-muted, #6b7280);
}

/* ── Page Header ── */

.page-header {
  padding: 150px 0 72px;
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(195,154,241,0.4), transparent 60%),
    var(--color-canvas-soft, #f4ecfc);
  color: var(--color-ink, #2b1a3d);
  margin-top: 68px;
  position: relative;
  background-image:
    radial-gradient(900px 400px at 90% -20%, rgba(195,154,241,0.4), transparent 60%);
  border-bottom: 1px solid var(--color-hairline-cloud, #ede7f6);
}

.page-header h1 {
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  color: var(--color-ink, #2b1a3d);
}

.page-header p {
  font-size: 17px;
  color: var(--color-ink-muted, #6b7280);
  max-width: 560px;
}

/* ── Search ── */

.search-form {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}

.search-input {
  flex: 1;
  padding: 12px 18px;
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  /* Semua kotak pencarian di LP3M memakai navy -- termasuk yang di atas
     section terang (/penelitian, /pengabdian). Jadi warna dasar di sini
     sudah final, tidak perlu override per halaman. */
  background: var(--color-primary, #1b2f6b);
  color: var(--color-on-dark, #ffffff);
}

.search-input::placeholder { color: rgba(255, 255, 255, 0.62); }

/* Fokus memakai putih, bukan biru terang: tetap satu keluarga warna dan
   kontrasnya jelas di atas navy. */
.search-input:focus {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22);
}

/* ── Category Filters ── */

.cat-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* ── Agenda ── */

.agenda-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.agenda-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 24px;
  background: var(--color-surface-dark, #ffffff);
  border: 1px solid var(--color-hairline-cloud, #ede7f6);
  border-radius: 14px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.agenda-item:hover {
  box-shadow: 0 12px 32px rgba(43,26,61,0.08);
  border-color: rgba(195,154,241,0.55);
}

.agenda-date { text-align: center; border-right: 1px solid var(--color-hairline-cloud, #ede7f6); padding-right: 20px; }

.agenda-date .day {
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-accent, #ff1950);
  display: block;
}

.agenda-date .month {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-ink-muted, #6b7280);
  letter-spacing: 0.08em;
}

.agenda-info h4 {
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.agenda-info p {
  font-size: 14px;
  color: var(--color-ink-muted, #6b7280);
}

.agenda-location {
  font-size: 13px;
  color: var(--color-ink-muted, #6b7280);
  white-space: nowrap;
}

/* ── Gallery ── */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  border: 1px solid var(--color-hairline-cloud, #ede7f6);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.gallery-item:hover .overlay { background: rgba(43,26,61,0.45); }

.gallery-item .overlay span {
  color: var(--color-on-dark, #fff);
  font-size: 24px;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .overlay span { opacity: 1; }

.album-card {
  background: var(--color-surface-dark, #ffffff);
  border: 1px solid var(--color-hairline-cloud, #ede7f6);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.album-card:hover {
  box-shadow: 0 12px 32px rgba(43,26,61,0.08);
  border-color: rgba(195,154,241,0.55);
}

.album-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

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

.album-card-body { padding: 16px 20px; }

.album-card-body h3 {
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.album-card-body .count {
  font-size: 13px;
  color: var(--color-ink-muted, #6b7280);
}

/* ── Masonry ── */

.masonry {
  column-count: 3;
  column-gap: 16px;
}

.masonry > * {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.masonry img { width: 100%; height: auto; display: block; }

.masonry .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.masonry > *:hover .overlay { background: rgba(43,26,61,0.35); }

.masonry .overlay span {
  color: var(--color-on-dark, #fff);
  font-size: 22px;
  opacity: 0;
  transition: opacity 0.3s;
}

.masonry > *:hover .overlay span { opacity: 1; }

/* ── Downloads ── */

.download-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.download-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--color-surface-dark, #ffffff);
  border: 1px solid var(--color-hairline-cloud, #ede7f6);
  border-radius: 14px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.download-item:hover {
  box-shadow: 0 12px 32px rgba(43,26,61,0.08);
  border-color: rgba(195,154,241,0.55);
}

.download-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 44px;
  text-align: center;
}

.download-info { flex: 1; }

.download-info h4 {
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.download-info .meta {
  font-size: 13px;
  color: var(--color-ink-muted, #6b7280);
}

/* ── FAQ ── */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--color-hairline-cloud, #ede7f6);
  border-radius: 14px;
  overflow: hidden;
  background: var(--color-surface-dark, #ffffff);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-ink, #2b1a3d);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}

.faq-question:hover { background: var(--color-canvas-soft, #f4ecfc); }

.faq-question .icon {
  font-size: 18px;
  transition: transform 0.3s;
  flex-shrink: 0;
  color: var(--color-accent, #ff1950);
}

.faq-item.open .faq-question .icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-ink-muted, #6b7280);
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 24px 18px;
}

/* ── CTA Band ── */

.cta-band {
  padding: 96px 0;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(195,154,241,0.45), transparent 70%),
    var(--color-ink, #2b1a3d);
  color: var(--color-on-dark, #fff);
  text-align: center;
  position: relative;
}

.cta-band h2 {
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
  color: var(--color-on-dark, #fff);
}

.cta-band p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Footer ── */

.footer {
  background: var(--color-canvas-soft, #f4ecfc);
  color: var(--color-ink-muted, #6b7280);
  padding: 64px 0 0;
  border-top: 3px solid var(--color-accent-light, #c39af1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-hairline-cloud, #ede7f6);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-ink, #2b1a3d);
  margin-bottom: 12px;
}

.footer-brand .footer-logo img { height: 38px; width: auto; }

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--color-hairline-cloud, #ede7f6);
  color: var(--color-ink-muted, #6b7280);
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--color-accent, #ff1950);
  border-color: var(--color-accent, #ff1950);
  color: var(--color-on-dark, #fff);
}

.footer-social a svg { width: 18px; height: 18px; fill: currentColor; }

.footer h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-ink, #2b1a3d);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-display, 'Poppins', sans-serif);
}

.footer-links { display: flex; flex-direction: column; gap: 8px; }

.footer-links a {
  font-size: 14px;
  color: var(--color-ink-muted, #6b7280);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--color-accent, #ff1950); }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }

.footer-contact-item {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.footer-contact-item .icon { flex-shrink: 0; margin-top: 2px; color: var(--color-accent-light, #76a39e);}

.footer-bottom {
  padding: 24px 0;
  font-size: 13px;
  text-align: center;
  color: var(--color-ink-muted, #6b7280);
}

/* ── Contact ── */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-info-item {
  padding: 24px;
  background: var(--color-surface-dark, #ffffff);
  border-radius: 14px;
  border: 1px solid var(--color-hairline-cloud, #ede7f6);
}

.contact-info-item .icon { display: block; margin-bottom: 8px; color: var(--color-accent, #2c7269); }

.contact-info-item h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-ink, #2b1a3d);
}

.contact-info-item p {
  font-size: 14px;
  color: var(--color-ink-muted, #6b7280);
}

/* ── Lecturer ── */

.dosen-card {
  background: var(--color-surface-dark, #ffffff);
  border: 1px solid var(--color-hairline-cloud, #ede7f6);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.dosen-card:hover {
  box-shadow: 0 12px 32px rgba(43,26,61,0.08);
  border-color: rgba(195,154,241,0.55);
}

.dosen-card-photo {
  aspect-ratio: 1;
  overflow: hidden;
  border-bottom: 3px solid var(--color-accent-light, #c39af1);
}

.dosen-card-photo img { width: 100%; height: 100%; object-fit: cover; }

.dosen-card-body { padding: 16px 20px; position: relative; }

.dosen-card-body h3 {
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--color-ink, #2b1a3d);
}

.dosen-card-body .front-title {
  font-size: 13px;
  color: var(--color-ink-muted, #6b7280);
  display: block;
  margin-bottom: 2px;
}

.dosen-card-body .position {
  font-size: 12px;
  color: var(--color-accent-light, #c39af1);
  font-weight: 600;
}

.lecturer-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

.lecturer-detail-photo {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-hairline-cloud, #ede7f6);
  padding: 10px;
  background: var(--color-surface-dark, #ffffff);
}

.lecturer-detail-photo img { width: 100%; height: auto; border-radius: 10px; }

.lecturer-detail-info h2 {
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-ink, #2b1a3d);
}

.lecturer-detail-info .position {
  font-size: 15px;
  color: var(--color-accent, #ff1950);
  font-weight: 600;
  margin-bottom: 16px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.info-grid-item {
  padding: 12px 14px;
  background: var(--color-surface-dark, #ffffff);
  border: 1px solid var(--color-hairline-cloud, #ede7f6);
  border-radius: 12px;
}

.info-grid-item .label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-ink-muted, #6b7280);
  margin-bottom: 2px;
}

.info-grid-item .value {
  font-size: 15px;
  color: var(--color-ink, #2b1a3d);
}

.lecturer-detail-sections { margin-top: 48px; }

.lecturer-detail-sections h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent-light, #c39af1);
  color: var(--color-ink, #2b1a3d);
}

.lecturer-detail-sections p {
  color: var(--color-ink-muted, #6b7280);
  margin-bottom: 24px;
  line-height: 1.7;
}

/* ── Prodi (Study Program) ── */

.prodi-header {
  text-align: center;
  padding-bottom: 40px;
}

.prodi-header h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 8px;
}

.prodi-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ── News Detail ── */

.news-detail-header { padding-bottom: 32px; }

.news-detail-header .meta {
  font-size: 13px;
  color: var(--color-ink-muted, #6b7280);
  margin-bottom: 16px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.news-detail-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-ink, #2b1a3d);
}

.news-detail-body p { margin-bottom: 16px; }

.news-detail-thumb {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--color-hairline-cloud, #ede7f6);
}

/* ── Share ── */

.share-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-hairline-cloud, #ede7f6);
}

.share-section-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-ink, #2b1a3d);
}

.share-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid var(--color-hairline-cloud, #ede7f6);
  background: var(--color-surface-dark, #ffffff);
  color: var(--color-ink, #2b1a3d);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.share-btn:hover {
  border-color: var(--color-accent, #ff1950);
  color: var(--color-accent, #ff1950);
}

.share-btn svg { width: 16px; height: 16px; }

/* ── Pagination ── */

.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 40px;
}

.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  border: 1px solid var(--color-hairline-cloud, #ede7f6);
  color: var(--color-ink, #2b1a3d);
  text-decoration: none;
  transition: all 0.2s;
}

.pagination a:hover {
  border-color: var(--color-accent, #ff1950);
  color: var(--color-accent, #ff1950);
}

.pagination .active {
  background: var(--color-accent, #ff1950);
  border-color: var(--color-accent, #ff1950);
  color: var(--color-on-dark, #fff);
}

/* ── Lightbox ── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(20,10,30,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 14px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--color-on-dark, #fff);
  font-size: 36px;
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 1; }

/* ── WhatsApp Float ── */

.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--color-wa-bg, #25d366);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.wa-float:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
}

.wa-float svg { width: 28px; height: 28px; fill: var(--color-on-dark, #fff); }

/* ── Video Embed ── */

.video-embed-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 24px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--color-hairline-cloud, #ede7f6);
}

.video-embed-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-embed {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
  border: none;
  width: 100%;
}

/* ── Back Link ── */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-accent, #ff1950);
  margin-bottom: 24px;
}

.back-link:hover { color: var(--color-accent-hover, #d60f41); }

/* ── Empty State ── */

.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--color-ink-muted, #6b7280);
  border: 1px dashed var(--color-hairline-cloud, #ede7f6);
  border-radius: 14px;
}

.empty-state p { font-size: 16px; }

/* ── About Page ── */

/* ── Featured Programs ── */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--color-surface-dark, #ffffff);
  border: 1px solid var(--color-hairline-cloud, #ede7f6);
  border-radius: 14px;
  padding: 28px;
  text-align: left;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  position: relative;
}

.feature-card:hover {
  box-shadow: 0 12px 32px rgba(43,26,61,0.08);
  border-color: rgba(195,154,241,0.55);
  transform: translateY(-3px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 0 16px;
  background: var(--color-accent-soft, #e2cbf9);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7c4dbf;
}

.feature-icon svg { width: 26px; height: 26px; }

.feature-card h3 {
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-ink, #2b1a3d);
}

.feature-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-ink-muted, #6b7280);
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---- Submenu dropdown (Penelitian / Pengabdian) ----
   Desktop: muncul saat kursor di atas induknya.
   Mobile: aturan di Bagian 2 (responsif) membuatnya selalu terbuka dan mengindent. */
.nav-links li.has-sub { position: relative; }
.nav-links li.has-sub > a::after {
  content: '';
  display: inline-block;
  margin-left: 7px;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.65;
}
.nav-links li.has-sub:hover > a::after,
.nav-links li.has-sub:focus-within > a::after,
.nav-links li.has-sub.open > a::after { opacity: 1; }
/* Induk yang dropdownnya dibuka lewat klik */
.nav-links li.has-sub.open > a { color: var(--color-on-dark, #ffffff); background: rgba(255, 255, 255, 0.12); }
.sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 190px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--color-on-dark, #ffffff);
  border: 1px solid var(--color-hairline-cloud, #e3e8ef);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  display: none;
  z-index: 1001;
}
.nav-links li.has-sub:hover .sub-menu,
.nav-links li.has-sub:focus-within .sub-menu,
.nav-links li.has-sub.open .sub-menu { display: block; }
.sub-menu li a {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-ink, #16324f);
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}
.sub-menu li a:hover { background: var(--color-canvas-soft, #eef5f3); color: var(--color-accent, #2c7269); }
.sub-menu li a.active { color: var(--color-accent, #2c7269); background: var(--color-accent-soft, #d1e0de); font-weight: 700; }

/* ---- Ikon SVG (pengganti emoji di Kontak & footer) ----
   Emoji tidak bisa dipakai di sini: bentuknya berbeda per sistem operasi,
   tidak bisa diberi warna lewat currentColor, dan ukurannya tidak konsisten.
   SVG inline mengikuti currentColor dan ukurannya dikunci oleh viewBox. */
.ikon-svg { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* ============================================================
   Pita Pengumuman (marquee) di atas beranda.

   Dua mode, ditentukan di view:
     .is-scrolling -> >= 2 pengumuman. Isi digandakan server-side dan
                     track digeser 50% supaya loop-nya mulus tanpa JS.
     .is-static    -> tepat 1 pengumuman. Tampil SEKALI, diam.
                     (Kalau digandakan, user melihat pengumuman yang
                     sama dua kali dan mengira itu bug.)
   ============================================================ */
.announce-bar {
  background: var(--color-primary, #16324f);
  color: var(--color-on-dark, #fff);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 14px;
  overflow: hidden; /* pengaman: track max-content jangan sampai memancing scrollbar halaman */
}
.announce-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 46px;
}

.announce-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding-right: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.announce-label i { font-size: 17px; }

.announce-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  scrollbar-width: none;             /* scrollbar disembunyikan tapi isi masih bisa digeser */
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
}
.announce-viewport::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.announce-track {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
  width: max-content;
}

/* Mode statis: satu pengumuman, diam, tanpa duplikasi. */
.announce-viewport.is-static .announce-track {
  width: auto;              /* jangan max-content, cukup selebar isinya */
}

/* Mode berjalan: >= 2 pengumuman, isi digandakan -> geser 50%. */
.announce-viewport.is-scrolling .announce-track {
  animation: announce-slide 40s linear infinite;
}
@keyframes announce-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.announce-viewport.is-scrolling:hover .announce-track,
.announce-viewport.is-scrolling:focus-within .announce-track {
  animation-play-state: paused;
}

.announce-item a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--color-on-dark-muted, rgba(255, 255, 255, 0.82));
  white-space: nowrap;
}
.announce-item a:hover,
.announce-item a:focus-visible {
  color: var(--color-on-dark, #fff);
  text-decoration: underline;
}
.announce-item strong {
  color: var(--color-on-dark, #fff);
  font-weight: 600;
}
.announce-date {
  font-size: 12px;
  opacity: 0.65;
}
.announce-pin {
  background: var(--color-accent, #2c7269);
  color: #fff;
  border-radius: 3px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.announce-all {
  flex-shrink: 0;
  color: var(--color-on-dark, #fff);
  font-weight: 600;
  font-size: 13px;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
}
.announce-all:hover,
.announce-all:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-on-dark, #fff);
}

/* Hormati "kurangi gerakan": animasi mati, pita bisa digeser manual,
   tapi scrollbarnya tetap disembunyikan oleh .announce-viewport di atas. */
@media (prefers-reduced-motion: reduce) {
  .announce-viewport.is-scrolling .announce-track {
    animation: none;
  }
  .announce-viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
            mask-image: none;
  }
}

/* ============================================================
   LP3M: teks di dalam kartu berlatar navy
   ============================================================
   Di LP3M, `color_surface_dark` = #1b2f6b (navy), jadi HAMPIR SEMUA
   kartu di situs ini -- .card, .news-card, .news-item, .agenda-item,
   .album-card, .download-item -- berlatar navy.

   Tapi teksnya masih memakai token "on-light":
     --color-ink        #0a0b0d  (hampir hitam)
     --color-ink-muted  #5b616e  (abu gelap)

   Hasilnya teks hitam di atas navy = rasio kontras 1,2:1, praktis
   tidak terbaca. Yang benar: teks di atas permukaan gelap WAJIB
   memakai kelompok token on-dark (--color-on-dark / --color-on-dark-muted).

   LPM tidak butuh blok ini: --color-surface-dark-nya #e8b35e (emas),
   dan --color-ink #16324f (navy) di atas emas sudah 5,5:1 -- terbaca.
   Karena itu aturan ini hanya ada di LP3M, bukan di LPM. Jangan
   disalin ke sana, atau judul LPM jadi putih di atas emas (1,9:1).
   ============================================================ */

/* Judul: berita (kartu + daftar), agenda, pengumuman, album, unduhan */
.news-card h3,
.news-card h3 a,
.news-item h3,
.agenda-item h4,
.agenda-item h4 a,
.album-card h3,
.album-card h3 a,
.download-item h3,
.download-item h3 a,
.dosen-card h3,
.feature-card h3 {
  color: var(--color-on-dark, #fff) !important;
}
.news-card h3 a:hover,
.agenda-item h4 a:hover,
.news-item h3 a:hover {
  color: var(--color-accent-light, #75a7e4) !important;
}

/* Isi ringkasan dan metadata di dalam kartu yang sama */
.news-card .excerpt,
.news-item .excerpt,
.news-card .meta,
.news-item .meta,
.agenda-info p,
.agenda-location,
.album-card p,
.download-item p,
.contact-info-item p {
  color: var(--color-on-dark-muted, rgba(255, 255, 255, 0.78)) !important;
}

/* Angka tanggal agenda: "day" sudah accent (terbaca), "month" perlu lighten */
.agenda-date .month { color: var(--color-on-dark-muted, rgba(255, 255, 255, 0.78)) !important; }
.agenda-date { border-right-color: rgba(255, 255, 255, 0.18) !important; }

/* Tag kategori: latar accent-soft terang -> teksnya harus gelap */
.news-card .tag,
.news-item .tag {
  background: var(--color-accent-soft, #d0e1f6) !important;
  color: #16324f !important;
}

/* Kotak pencarian: sudah navy solid dari blok dasar di atas, jadi tidak ada
   override warna lagi di sini. Yang perlu ditambah cuma <select>过滤器 --
   opsi dropdown bawaan browser memakai latar putih, jadi harus dipaksa navy
   supaya tidak ada kotak putih di dalam kotak navy. */
.search-input option {
  background: var(--color-primary, #1b2f6b);
  color: var(--color-on-dark, #ffffff);
}

/* Angka statistik di beranda: kartu .stat-item juga navy */
.stat-item .stat-value { color: var(--color-on-dark, #fff) !important; }
.stat-item .stat-label { color: var(--color-on-dark-muted, rgba(255, 255, 255, 0.78)) !important; }

/* Tombol "lihat semua" dan garis pemisah di atas kartu navy */
.news-card, .news-item, .agenda-item, .album-card, .download-item,
.stat-item, .contact-info-item, .card {
  border-color: rgba(255, 255, 255, 0.14) !important;
}
/* Tanggal rentang di halaman agenda & pengumuman: ditulis inline
   sebagai var(--color-ink-muted) di view, jadi perlu ditimpa. */
.agenda-info > div {
  color: var(--color-on-dark-muted, rgba(255, 255, 255, 0.78)) !important;
}

/* ============================================================
   Tombol di area search: navy, bukan biru terang accent
   ============================================================
   .btn-primary di situs ini memakai --color-accent (#2a78d6, biru
   terang). Di area search semua biru harus satu warna, jadi tombol
   "Cari" dipaksa navy di sini -- hanya di dalam .search-form dan
   .doc-filter, supaya tombol CTA di halaman lain tetap accent.

   Tombol "Reset" (btn-outline) ikut di-navylah supaya form search
   tidak terlihat memakai dua token warna berbeda.
   ============================================================ */
.search-form .btn-primary,
.doc-filter .btn-primary {
  background: var(--color-primary, #1b2f6b);
  color: var(--color-on-dark, #ffffff);
}
.search-form .btn-primary:hover,
.doc-filter .btn-primary:hover {
  background: #16265b;
  color: var(--color-on-dark, #ffffff);
  box-shadow: 0 8px 24px rgba(27, 47, 107, 0.32);
}
/* .btn-outline di situs ini border-nya --color-hairline-cloud (#eee) --
   di atas section putih praktis tak terlihat, tombolnya terbaca seperti
   teks biasa. Di area search garisnya dibuat navy supaya tetap jelas
   bentuknya tanpa harus di-hover. */
.search-form .btn-outline,
.doc-filter .btn-outline {
  color: var(--color-primary, #1b2f6b);
  border-color: rgba(27, 47, 107, 0.35);
}
.search-form .btn-outline:hover,
.doc-filter .btn-outline:hover {
  border-color: var(--color-primary, #1b2f6b);
  color: var(--color-primary, #1b2f6b);
}

/* ============================================================
   Tabel dokumen Penelitian / Pengabdian + filter (frontend LP3M)
   ============================================================
   Sengaja pakai class sendiri (doc-*) bukan .table Bootstrap, supaya
   warnanya ikut token situs dan tidak perlu fighting dengan .table
   milik admin.
   ============================================================ */

/* ---------- Baris filter: pencarian + tahun ---------- */
.doc-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.doc-filter-search { flex: 1 1 320px; }
.doc-filter-year  { flex: 0 0 auto; }
.doc-filter .search-input {
  width: 100%;
}
.doc-filter-year .search-input {
  min-width: 150px;
  cursor: pointer;
}
/* Label hanya untuk pembaca layar -- kolom sudah punya teks "Semua tahun". */
.doc-filter .sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Chip Internal / External ----------
   Chip ini satu baris dengan kotak pencarian, jadi ikut navy. Aktif =
   navy pekat, tidak aktif = garis navy + teks navy. Antesedenya cuma
   kelas .btn (tanpa warna), jadi tanpa aturan ini warnanya ikut
   biru terang --color-accent. */
.doc-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.doc-filter-chips .btn-primary {
  background: var(--color-primary, #1b2f6b);
  color: var(--color-on-dark, #ffffff);
}
.doc-filter-chips .btn-primary:hover {
  background: #16265b;
  color: var(--color-on-dark, #ffffff);
  box-shadow: 0 8px 24px rgba(27, 47, 107, 0.28);
}
.doc-filter-chips .btn:not(.btn-primary) {
  background: transparent;
  color: var(--color-primary, #1b2f6b);
  border-color: rgba(27, 47, 107, 0.32);
}
.doc-filter-chips .btn:not(.btn-primary):hover {
  color: var(--color-primary, #1b2f6b);
  border-color: var(--color-primary, #1b2f6b);
  background: rgba(27, 47, 107, 0.06);
}

/* ---------- Ringkasan hasil ---------- */
.doc-filter-info {
  font-size: 14px;
  color: var(--color-ink-muted, #5b616e);
  margin-bottom: 14px;
}

/* ---------- Tabel ---------- */
.doc-table-wrap {
  background: #fff;
  border: 1px solid #dfe3ea;
  border-radius: 12px;
  overflow: hidden;
}
.doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 720px;   /* di layar kecil tabel boleh geser horizontal */
}
.doc-table thead th {
  background: var(--color-primary, #1b2f6b);
  color: var(--color-on-dark, #fff);
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 16px;
  white-space: nowrap;
}
.doc-table tbody td {
  padding: 14px 16px;
  border-top: 1px solid #eceff3;
  vertical-align: top;
  color: var(--color-ink, #0a0b0d);
}
.doc-table tbody tr:first-child td { border-top: 0; }
.doc-table tbody tr:hover { background: #f7f9fc; }

.doc-table .col-tahun    { width: 84px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.doc-table .col-sumber  { width: 108px; }
.doc-table .col-penulis { width: 190px; font-size: 14px; }
.doc-table .col-file    { width: 132px; }

.doc-title {
  display: block;
  color: var(--color-ink, #0a0b0d);
  font-weight: 600;
  line-height: 1.35;
}
.doc-desc-cell { margin-top: 6px; }
.doc-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-ink-muted, #5b616e);
}
.doc-nip {
  margin-top: 2px;
  font-size: 12px;
  color: var(--color-ink-muted, #5b616e);
}
.doc-meta {
  margin-top: 5px;
  font-size: 12px;
  color: var(--color-ink-muted, #5b616e);
}
.doc-empty { color: #9aa1ad; }

/* Badge internal/external */
.doc-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.doc-badge.is-internal { background: #e6edf9; color: #1b2f6b; }
.doc-badge.is-external { background: #d9f0ec; color: #14655c; }

/* Tombol unduh PDF */
.doc-download {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1px solid var(--color-primary, #1b2f6b);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary, #1b2f6b);
  background: #fff;
  white-space: nowrap;
}
.doc-download:hover,
.doc-download:focus-visible {
  background: var(--color-primary, #1b2f6b);
  color: var(--color-on-dark, #fff);
}

/* ---------- Paginasi ---------- */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
}
.pagination a {
  display: inline-flex;
  align-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  justify-content: center;
  border: 1px solid #d7dce5;
  border-radius: 8px;
  background: #fff;
  color: var(--color-ink, #0a0b0d);
  font-size: 14px;
  font-weight: 500;
}
.pagination a:hover {
  border-color: var(--color-primary, #1b2f6b);
  color: var(--color-primary, #1b2f6b);
}
.pagination a.active {
  background: var(--color-primary, #1b2f6b);
  border-color: var(--color-primary, #1b2f6b);
  color: var(--color-on-dark, #fff);
  font-weight: 600;
}

/* ---------- Layar kecil ---------- */
@media (max-width: 768px) {
  .doc-filter-search { flex: 1 1 100%; }
  .doc-filter-year  { flex: 1 1 auto; }
  .doc-filter-year .search-input { width: 100%; min-width: 0; }
  .doc-table .col-penulis,
  .doc-table .col-sumber { width: auto; }
  .pagination a { min-width: 34px; height: 34px; padding: 0 9px; }
}

/* ============================================================
   Modal "baca selengkapnya" + tombol pemicu
   ============================================================
   Dipakai Agenda, Penelitian, dan Pengabdian. Satu modal untuk
   seluruh halaman -- isinya diambil dari atribut data-* tombol yang
   diklik, jadi tidak perlu query ulang.

   Styling ini NETRAL (kartu putih di atas overlay gelap), jadi aman
   disalin ke kedua situs. Yang TIDAK netral adalah aturan kartu navy
   LP3M -- itu tidak boleh ikut ke LPM.
   ============================================================ */

.more-btn {
  display: inline-block;
  margin-top: 5px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary, #16324f);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.more-btn:hover,
.more-btn:focus-visible {
  color: var(--color-accent, #2c7269);
}

/* ---------- Modal ---------- */
.more-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 18, 40, 0.62);
  overflow-y: auto;
}
.more-modal[hidden] { display: none; }

.more-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  display: flex;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  animation: more-modal-in 0.16s ease-out;
}
@keyframes more-modal-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.more-modal-body {
  padding: 28px 30px 30px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.more-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 34px;
  height: 34px;
  font-size: 26px;
  line-height: 1;
  color: var(--color-ink-muted, #4d5e6e);
  background: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.more-modal-close:hover,
.more-modal-close:focus-visible {
  color: var(--color-primary, #16324f);
  background: rgba(0, 0, 0, 0.06);
}

.more-modal-meta {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-ink-muted, #4d5e6e);
}
.more-modal-title {
  margin: 0 0 14px;
  padding-right: 28px;
  font-size: 20px;
  line-height: 1.35;
  color: var(--color-primary, #16324f);
}
.more-modal-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-ink, #16324f);
  /* Teks sudah dibersihkan di helper teks_bersih() (strip_tags + decode +
     rapatkan spasi), jadi pre-wrap cukup untuk mempertahankan baris baru. */
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* Hormati pengaturan sistem "kurangi gerakan" */
@media (prefers-reduced-motion: reduce) {
  .more-modal-dialog { animation: none; }
}

/* ---------- Layar kecil ---------- */
@media (max-width: 576px) {
  .more-modal { padding: 12px; }
  .more-modal-body { padding: 24px 18px 22px; }
  .more-modal-title { font-size: 17px; }
  .more-modal-text { font-size: 14px; }
}

/* ---------- Deskripsi di dalam kartu agenda ---------- */
/* Dipotong 2 baris supaya kartu tidak terlalu tinggi. */
.agenda-info .desc-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* ---------- Statistik & grafik penelitian/pengabdian (LP3M) ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.stat-card {
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--color-hairline-cloud, #eeeeee);
  border-radius: 12px;
}
.stat-card .stat-label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-ink-muted, #4d5e6e);
}
.stat-card strong {
  font-size: 28px;
  line-height: 1.1;
  color: var(--color-primary, #1b2f6b);
}
.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.chart-card {
  padding: 16px 18px 12px;
  background: #fff;
  border: 1px solid var(--color-hairline-cloud, #eeeeee);
  border-radius: 12px;
}
.chart-card h2 {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--color-primary, #1b2f6b);
}
.chart-box { position: relative; height: 240px; }
.chart-box-tall { height: 380px; }
.doc-author { margin-bottom: 4px; font-size: 13px; line-height: 1.45; }
.doc-author-nama { color: var(--color-ink, #16324f); }
.doc-author-peran {
  display: inline-block;
  margin-left: 4px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--color-accent-soft, #d0e1f6);
  color: var(--color-primary, #1b2f6b);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}
.doc-nip { display: block; font-size: 11px; color: var(--color-ink-muted, #4d5e6e); }
.doc-unit, .doc-lokasi { font-size: 13px; }
.doc-muted { color: var(--color-ink-muted, #4d5e6e); }
.doc-filter .btn-outline { border-color: rgba(27, 47, 107, .35); color: var(--color-primary, #1b2f6b); }
.doc-filter .btn-outline:hover { background: var(--color-primary, #1b2f6b); color: #fff; }

@media (max-width: 1023px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chart-grid { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
  .stat-grid { grid-template-columns: 1fr; }
  .chart-box, .chart-box-tall { height: 300px; }
}

/* ---------- Luaran (frontend LP3M) ---------- */
.luaran-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.luaran-card {
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--color-hairline-cloud, #eeeeee);
  border-radius: 12px;
}
.luaran-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.luaran-tahun { font-size: 13px; color: var(--color-ink-muted, #4d5e6e); }
.luaran-judul { margin: 0 0 8px; font-size: 18px; line-height: 1.4; }
.luaran-judul a { color: var(--color-primary, #1b2f6b); text-decoration: none; }
.luaran-judul a:hover { text-decoration: underline; }
.luaran-penulis { margin: 0 0 4px; font-size: 14px; color: var(--color-ink, #16324f); }
.luaran-penerbit { margin: 0 0 8px; font-size: 13px; color: var(--color-ink-muted, #4d5e6e); font-style: italic; }
.luaran-ringkas { margin: 0 0 12px; font-size: 14px; line-height: 1.65; color: var(--color-ink-muted, #4d5e6e); }
.luaran-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.luaran-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--color-accent-soft, #d0e1f6);
  color: var(--color-primary, #1b2f6b);
  font-size: 11px;
  font-weight: 600;
}
.luaran-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary, #1b2f6b);
}
.luaran-back { margin: 0 0 6px; font-size: 13px; }
.luaran-back a { color: var(--color-on-dark-muted, rgba(255,255,255,.78)); }
.luaran-detail {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 28px;
  align-items: start;
}
.luaran-block { margin-bottom: 26px; }
.luaran-block h2 { margin: 0 0 10px; font-size: 18px; color: var(--color-primary, #1b2f6b); }
.luaran-deskripsi { font-size: 15px; line-height: 1.8; color: var(--color-ink, #16324f); overflow-wrap: anywhere; }
.luaran-penulis-list, .luaran-dokumen-list { margin: 0; padding: 0; list-style: none; }
.luaran-penulis-list li { padding: 8px 0; border-bottom: 1px solid var(--color-hairline-cloud, #eeeeee); font-size: 14px; }
.luaran-penulis-nama { font-weight: 600; color: var(--color-ink, #16324f); }
.luaran-penulis-nidn { display: block; font-size: 12px; color: var(--color-ink-muted, #4d5e6e); }
.luaran-dokumen-list li { padding: 9px 0; border-bottom: 1px solid var(--color-hairline-cloud, #eeeeee); font-size: 14px; line-height: 1.5; }
.luaran-dokumen-jenis { display: inline-block; margin-right: 6px; padding: 2px 7px; border-radius: 999px; background: #eef2f9; color: var(--color-primary, #1b2f6b); font-size: 11px; font-weight: 600; }
.luaran-info-card {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--color-hairline-cloud, #eeeeee);
  border-radius: 12px;
}
.luaran-info-card h2 { margin: 0 0 12px; font-size: 16px; color: var(--color-primary, #1b2f6b); }
.luaran-info-card dl { margin: 0 0 14px; }
.luaran-info-card dt { margin-top: 9px; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--color-ink-muted, #4d5e6e); }
.luaran-info-card dd { margin: 2px 0 0; font-size: 14px; color: var(--color-ink, #16324f); }

@media (max-width: 1023px) {
  .luaran-grid { grid-template-columns: 1fr; }
  .luaran-detail { grid-template-columns: 1fr; }
}

/* ==========================================================================
   BAGIAN 2 - RESPONSIF (dulu responsive.css)
   ========================================================================== */

/* 4K / Wide */
@media (min-width: 1440px) {
  .container { max-width: 1280px; }
  .hero-content { max-width: 760px; }
}

/* Large Desktop */
@media (min-width: 1152px) and (max-width: 1439px) {
  .container { max-width: 1152px; }
}

/* Laptop — nav collapses to hamburger, links become full-width column */
@media (max-width: 1023px) {
  .hero-content h1 { font-size: 42px; }
  .section-header h2 { font-size: 32px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .news-card-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry { column-count: 2; }

  .nav-inner {
    flex-wrap: wrap;
    height: auto;
    min-height: 68px;
    padding: 10px 16px;
    gap: 0;
  }
  .nav-logo {
    flex: 1;
    margin-right: 0;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .nav-toggle { display: block; order: 2; padding: 6px 10px; }
  
  .nav-links {
    order: 4;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 10px 0 12px;
    position: static;
    left: auto;
    transform: none;
    background: var(--color-primary, #ffffff);
    border-top: 1px solid var(--color-hairline-cloud, #ede7f6);
    /* Reset aturan desktop: di sini tinggi nav bar tidak relevan, dan
       .nav-links > li harus kembali jadi display:block supaya <a> tetap
       selebar baris, bukan menyusut jadi selebar teks. */
    height: auto;
  }
  .nav-links > li { display: block; }
  .nav-links.open { display: flex; }
  .nav-links li a { padding: 12px 14px; border-bottom: none; border-left: 2px solid transparent; border-radius: 0; font-size: 15px; }
  .nav-links li a.active { border-left-color: var(--color-accent-light, #76a39e); background: rgba(255, 255, 255, 0.14); }
}

/* Tablet */
@media (max-width: 768px) {
  .nav-bar { position: static; }

  .hero { min-height: 60vh; margin-top: 0; }
  .hero-content h1 { font-size: 34px; }
  .hero-content { padding: 60px 16px; }

  .section { padding: 56px 0; }
  .section-header { margin-bottom: 32px; }

  .about-layout { grid-template-columns: 1fr; gap: 24px; }
  .contact-layout { grid-template-columns: 1fr; gap: 24px; }
  .lecturer-detail { grid-template-columns: 1fr; gap: 24px; }
  .news-item { grid-template-columns: 1fr; }
  .news-item-thumb { aspect-ratio: 16/9; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .agenda-item { grid-template-columns: 60px 1fr; }
  .agenda-location { display: none; }
  .contact-info-grid { grid-template-columns: 1fr; }

  .page-header { padding: 64px 0 40px; margin-top: 0; }
  .page-header h1 { font-size: 32px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 64px 0; }
  .cta-band h2 { font-size: 28px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 576px) {
  .hero-content h1 { font-size: 26px; }
  .hero-content p { font-size: 16px; }
  .section-header h2 { font-size: 26px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-item { padding: 20px 16px; }
  .stat-value { font-size: 30px; }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .news-card-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .masonry { column-count: 1; }
  .info-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .dosen-card { padding: 0; }
  .section { padding: 48px 0; }
}
/* ---- Submenu di layar kecil (max-width: 1023px) ----
   WAJIB di dalam @media. .nav-links baru jadi menu bertumpuk di bawah
   1024px. Kalau blok ini ditulis di luar @media, .nav-links .sub-menu
   (spesifisitas 0,0,2,0) menimpa .sub-menu (0,0,1,0) di style.css dan
   position:absolute berubah jadi static -- bahkan di desktop. Akibatnya
   dropdown dirender inline di dalam nav bar dan menutupi menunya. */
@media (max-width: 1023px) {
  .nav-links li.has-sub { position: static; }
  .nav-links li.has-sub > a::after { opacity: 0.55; }
  .nav-links .sub-menu {
    position: static;
    display: none;
    min-width: 0;
    margin: 0 0 4px 14px;
    padding: 0 0 0 12px;
    border: 0;
    border-left: 2px solid rgba(255, 255, 255, 0.22);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .nav-links li.has-sub.open .sub-menu { display: block; }
  .nav-links .sub-menu li a { padding: 9px 12px; font-size: 14px; }
  .nav-links .sub-menu li a.active { background: rgba(255, 255, 255, 0.14); }
}
/* Pita pengumuman di layar kecil: label dan tombol "Semua" disembunyikan
   supaya isi yang bergerak dapat ruang penuh. */
@media (max-width: 768px) {
  .announce-label,
  .announce-all { display: none; }
  .announce-inner { gap: 0; min-height: 40px; }
  .announce-viewport { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 480px) {
  .announce-date { display: none; }
}

/* ==========================================================================
   BAGIAN 3 - DESAIN STUDIO (dulu studio.css)
   ========================================================================== */

/* ============================================================
   STUDIO — pilot desain monokrom LP3M UCB
   ------------------------------------------------------------
   Dimuat paling akhir di style.css (setelah gaya dasar + responsif),
   jadi menimpa tampilan tanpa menghapus gaya lama.

   Cakupan:
     - token & tipografi global (Inter / Inter Tight, font lokal)
     - header + submenu
     - footer
     - beranda (semua aturan beranda di-scope ke .studio-home)

   Palet: #eeeeee / #ffffff / #222222 / #333333 / #555555 / #000000.
   Chrome (latar, teks, tombol) monokrom, tetapi FOTO TETAP BERWARNA
   sesuai aslinya -- keputusan user 21 Okt 2026. Jangan menambahkan
   filter grayscale global lagi.
   ============================================================ */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter Tight';
  src: url('../fonts/InterTight-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --st-canvas: #eeeeee;
  --st-paper: #ffffff;
  --st-ink: #222222;
  --st-graphite: #333333;
  --st-ash: #555555;
  --st-black: #000000;
  --st-line: rgba(34, 34, 34, 0.14);
  --st-line-strong: rgba(34, 34, 34, 0.28);
  --st-shadow: 0 2px 15px rgba(0, 0, 0, 0.10);
  --st-radius-sm: 4px;
  --st-radius-md: 8px;

  /* Tipografi lama memakai token ini; dialihkan ke font lokal. */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Inter', ui-monospace, 'Courier New', monospace;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--st-ink);
  background: var(--st-canvas);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

::selection {
  background: rgba(34, 34, 34, 0.16);
  color: var(--st-ink);
}

:focus-visible {
  outline: 2px solid var(--st-ink);
  outline-offset: 3px;
}

/* Foto tampil apa adanya (berwarna). Dulu ada `img { filter: grayscale(1) }`
   di sini; dihapus 21 Okt 2026 atas permintaan user. */

/* Pembungkus beranda — lebih lebar dari .container lama supaya
   kolase galeri terasa edge-to-edge. */
.studio-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Tombol ───────────────────────────────────────────────── */

.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--st-radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.st-btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.st-btn-dark {
  background: var(--st-ink);
  color: var(--st-paper);
}

.st-btn-dark:hover,
.st-btn-dark:focus-visible {
  background: var(--st-black);
  color: var(--st-paper);
  box-shadow: var(--st-shadow);
}

.st-btn-light {
  background: var(--st-paper);
  color: var(--st-graphite);
  border-color: var(--st-ink);
}

.st-btn-light:hover,
.st-btn-light:focus-visible {
  background: var(--st-canvas);
  color: var(--st-black);
}

.st-btn-ghost {
  padding: 9px 16px;
  border-radius: var(--st-radius-sm);
  border-color: var(--st-line-strong);
  color: var(--st-ink);
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  background: transparent;
}

.st-btn-ghost:hover,
.st-btn-ghost:focus-visible {
  background: var(--st-ink);
  border-color: var(--st-ink);
  color: var(--st-paper);
}

/* ══════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════ */

.nav-bar {
  background: var(--st-canvas);
  border-bottom: 1px solid var(--st-line);
  box-shadow: none;
}

.nav-inner {
  max-width: 1240px;
  height: 68px;
  padding: 0 24px;
}

.nav-logo {
  gap: 12px;
  color: var(--st-ink);
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-logo:hover { color: var(--st-black); }

.nav-logo img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 72px;
  object-fit: contain;   /* jangan gepeng: rasio asli dipertahankan */
  flex: 0 0 auto;
  border-radius: var(--st-radius-sm);
}

.nav-toggle {
  color: var(--st-ink);
  font-size: 20px;
  padding: 6px 10px;
  border-radius: var(--st-radius-sm);
}

.nav-toggle:hover { background: rgba(34, 34, 34, 0.07); }

/* .nav-links tetap setinggi bar: .sub-menu diposisikan top:100%
   terhadap <li>, bukan terhadap teksnya. Lihat catatan di style.css. */
.nav-bar .nav-links {
  display: flex;
  align-items: stretch;
  gap: 2px;
  margin: 0 0 0 auto;
  height: 100%;
}

.nav-bar .nav-links > li { display: flex; align-items: center; }

.nav-bar .nav-links li a {
  padding: 8px 11px;
  border: 0;
  border-radius: var(--st-radius-sm);
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--st-graphite);
  background: transparent;
}

.nav-bar .nav-links li a:hover,
.nav-bar .nav-links li a:focus-visible {
  color: var(--st-black);
  background: rgba(34, 34, 34, 0.07);
}

.nav-bar .nav-links li a.active {
  color: var(--st-paper);
  background: var(--st-ink);
  font-weight: 500;
}

.nav-bar .nav-links li.has-sub.open > a {
  color: var(--st-paper);
  background: var(--st-ink);
}

.nav-bar .sub-menu {
  top: calc(100% + 4px);
  min-width: 200px;
  padding: 6px;
  background: var(--st-paper);
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius-md);
  box-shadow: var(--st-shadow);
}

.nav-bar .sub-menu li a {
  padding: 8px 12px;
  border-radius: var(--st-radius-sm);
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--st-graphite);
}

.nav-bar .sub-menu li a:hover {
  background: var(--st-canvas);
  color: var(--st-black);
}

.nav-bar .sub-menu li a.active {
  background: var(--st-ink);
  color: var(--st-paper);
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════
   HEADER HALAMAN DALAM
   Hanya bagian atas (judul + latar) yang dinetralkan supaya
   nyambung dengan header baru. Isi halaman dalam belum
   didesain ulang — menunggu persetujuan pilot.
   ══════════════════════════════════════════════════════════ */

.page-header {
  padding: 140px 0 56px;
  background: var(--st-canvas);
  background-image: none;
  border-bottom: 1px solid var(--st-line);
  color: var(--st-ink);
}

.page-header h1 {
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--st-ink);
}

.page-header p {
  max-width: 56ch;
  font-size: 17px;
  color: var(--st-ash);
}

/* ══════════════════════════════════════════════════════════
   BERANDA
   ══════════════════════════════════════════════════════════ */

.studio-home { background: var(--st-canvas); }

.studio-section { padding: 84px 0; }

.studio-home .studio-section > .studio-wrap { position: relative; }

/* Judul seksi + tautan "semua" */
.studio-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.studio-kicker {
  display: block;
  margin-bottom: 14px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--st-ash);
}

.studio-head h2 {
  max-width: 22ch;
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--st-ink);
}

.studio-head p {
  margin-top: 10px;
  max-width: 50ch;
  font-size: 16px;
  color: var(--st-ash);
}

.studio-head-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--st-ink);
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--st-ink);
  white-space: nowrap;
}

.studio-head-link:hover { color: var(--st-black); border-color: var(--st-black); }

.studio-head-link svg { width: 14px; height: 14px; }

/* ── Hero ─────────────────────────────────────────────────── */

.studio-hero {
  position: relative;
  margin-top: 68px; /* tinggi header fixed */
  padding: 56px 0 40px;
  overflow: hidden;
  background: var(--st-canvas);
}

.studio-hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  row-gap: 32px;
  align-items: end;
}

.studio-hero-main { grid-column: 1 / span 8; }
.studio-hero-side { grid-column: 9 / span 4; padding-bottom: 6px; }

.studio-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--st-ash);
}

.studio-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--st-ink);
  flex-shrink: 0;
}

.studio-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(40px, 6.9vw, 80px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--st-ink);
}

.studio-hero-side p {
  margin-bottom: 26px;
  max-width: 34ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--st-ash);
}

/* ── Slider hero 3D (coverflow) ──────────────────────────────
   Kartu aktif di tengah, kartu kiri/kanan miring dan hanya tepinya
   yang mengintip. Tidak ada margin negatif seperti kolase lama. */
.studio-slider {
  --slide-w: 64%;
  position: relative;
  margin-top: 56px;
}

.studio-slider-stage {
  position: relative;
  height: clamp(300px, 36vw, 520px);
  perspective: 1600px;
  perspective-origin: 50% 45%;
  overflow: hidden;
  touch-action: pan-y; /* geser horizontal ditangani JS, vertikal tetap scroll */
}

.studio-slider-track {
  position: relative;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  transform-style: preserve-3d;
}

.studio-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--slide-w);
  aspect-ratio: 16 / 9;
  margin: 0;
  opacity: 0;
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
  transition: transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.5s ease;
  will-change: transform, opacity;
}

/* Tanpa JavaScript: hanya kartu pertama yang terlihat, tidak bertumpuk. */
.studio-slide:first-child { opacity: 1; z-index: 3; }

.studio-slide.is-active {
  z-index: 3;
  opacity: 1;
  transform: translate(-50%, -50%);
}

.studio-slide.is-prev {
  z-index: 2;
  opacity: 0.62;
  transform: translate(-50%, -50%) translateX(-66%) translateZ(-90px) rotateY(30deg);
}

.studio-slide.is-next {
  z-index: 2;
  opacity: 0.62;
  transform: translate(-50%, -50%) translateX(66%) translateZ(-90px) rotateY(-30deg);
}

.studio-slide.is-far {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) translateZ(-260px);
}

.studio-slide figure {
  position: relative;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #dedede;
  border-radius: var(--st-radius-md);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16);
}

.studio-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tombol di dalam kartu. Hanya dirender kalau banner punya link.
   Latar putih supaya tetap terbaca di atas foto berwarna apa pun. */
.studio-slide .studio-tile-cta {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 32px);
  padding: 10px 14px;
  background: var(--st-paper);
  color: var(--st-ink);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--st-radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.studio-slide .studio-tile-cta svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.studio-slide .studio-tile-cta:hover,
.studio-slide .studio-tile-cta:focus-visible {
  background: var(--st-ink);
  border-color: var(--st-ink);
  color: var(--st-paper);
}

/* Kontrol hanya tampil setelah JS siap (slider.is-ready), supaya
   tombol tidak jadi tautan mati kalau JavaScript gagal dimuat. */
.studio-slider-controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}

.studio-slider.is-ready .studio-slider-controls { display: flex; }

.studio-slider-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  color: var(--st-ink);
  border: 1px solid var(--st-line-strong);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.studio-slider-arrow svg { width: 18px; height: 18px; }

.studio-slider-arrow:hover,
.studio-slider-arrow:focus-visible {
  background: var(--st-ink);
  border-color: var(--st-ink);
  color: var(--st-paper);
}

.studio-slider-dots {
  display: flex;
  align-items: center;
  gap: 2px;
}

.studio-slider-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.studio-slider-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border: 1px solid var(--st-ink);
  border-radius: 50%;
  transition: background 0.2s ease, transform 0.2s ease;
}

.studio-slider-dot.is-active::before {
  background: var(--st-ink);
  transform: scale(1.2);
}

/* Teks status untuk pembaca layar (perubahan slide diumumkan di sini). */
.studio-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Fallback tipografi: tidak ada banner/galeri sama sekali. */
.studio-hero-rule {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--st-line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--st-ash);
}

/* ── Pita pengumuman ─────────────────────────────────────── */

.studio-home .announce-bar {
  background: var(--st-ink);
  color: #f7f7f7;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  /* Jarak ke panel gelap "LP3M dalam Angka" supaya pita terbaca sebagai
     elemen sendiri, bukan kepala dari panel di bawahnya. */
  margin-bottom: 40px;
}

/* Mode statis (hanya 1 pengumuman): tidak ada yang bergeser, jadi tepi
   kiri/kanan tidak perlu dipudarkan -- kalau tidak, huruf pertama terlihat
   terpotong. */
.studio-home .announce-viewport.is-static {
  -webkit-mask-image: none;
          mask-image: none;
}

.studio-home .announce-inner {
  min-height: 68px;
  gap: 20px;
}

.studio-home .announce-label {
  gap: 10px;
  padding-right: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f7f7f7;
}

.studio-home .announce-label svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.studio-home .announce-track { gap: 56px; }

.studio-home .announce-item a {
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

.studio-home .announce-item strong {
  color: #f7f7f7;
  font-weight: 500;
}

.studio-home .announce-date {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0.62;
}

.studio-home .announce-pin {
  padding: 3px 8px;
  border-radius: 2px;
  background: #eeeeee;
  color: var(--st-ink);
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.studio-home .announce-all {
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--st-radius-sm);
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #f7f7f7;
}

.studio-home .announce-all:hover { background: rgba(255, 255, 255, 0.14); }

/* ── LP3M dalam Angka (panel gelap) ──────────────────────── */

.studio-stats {
  padding: 64px 0 60px;
  background: var(--st-ink);
  color: var(--st-paper);
}

.studio-stats-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.studio-stats .studio-kicker { color: rgba(255, 255, 255, 0.55); }

.studio-stats h2 {
  max-width: 18ch;
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--st-paper);
}

.studio-stats-note {
  flex-shrink: 0;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.studio-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.studio-stats .stat-item {
  padding: 32px 24px 0 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.studio-stats .stat-item::before { display: none; }

.studio-stats-grid .stat-item + .stat-item {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.studio-stats .stat-value {
  margin-bottom: 12px;
  font-size: clamp(42px, 5.4vw, 68px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--st-paper) !important;
  font-variant-numeric: tabular-nums;
}

.studio-stats .stat-label {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6) !important;
}

.studio-stats :focus-visible,
.studio-cta :focus-visible,
.studio-home .announce-bar :focus-visible { outline-color: var(--st-paper); }

/* ── Galeri ──────────────────────────────────────────────── */

.studio-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 150px;
  grid-auto-flow: dense;
  gap: 12px;
}

.studio-gal {
  position: relative;
  display: block;
  grid-column: span 2;
  grid-row: span 1;
  overflow: hidden;
  border-radius: var(--st-radius-sm);
  background: #dedede;
}

.studio-gal:first-child {
  grid-column: span 3;
  grid-row: span 2;
  border-radius: var(--st-radius-md);
}

.studio-gal:nth-child(2),
.studio-gal:nth-child(3) {
  grid-column: span 3;
  grid-row: span 1;
}

.studio-gal:only-child {
  grid-column: span 6;
  grid-row: span 2;
}

.studio-gal:first-child:nth-last-child(2),
.studio-gal:nth-child(2):last-child {
  grid-column: span 3;
  grid-row: span 2;
}

.studio-gal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.3s;
}

.studio-gal:hover img { transform: scale(1.03); }

.studio-gal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.6) 100%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.studio-gal:hover::after,
.studio-gal:focus-visible::after { opacity: 1; }

.studio-gal-cap {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--st-paper);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}

.studio-gal:hover .studio-gal-cap,
.studio-gal:focus-visible .studio-gal-cap {
  opacity: 1;
  transform: none;
}

/* ── Berita ──────────────────────────────────────────────── */

.studio-news {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 56px;
  align-items: start;
}

.studio-news.is-solo { grid-template-columns: 1fr; }
.studio-news.is-solo .studio-news-lead-img { aspect-ratio: 21 / 9; }
.studio-news.is-solo .studio-news-lead h3 { max-width: 26ch; }
.studio-news.is-solo .studio-news-lead p { max-width: 68ch; }

.studio-news-lead { display: block; color: inherit; }

/* Rotasi otomatis: lead memudar sebelum diganti (logika di main.js). */
.studio-news-lead { transition: opacity 0.5s ease; }
.studio-news-lead.is-fading { opacity: 0; }

/* Gambar hanya tampil saat item menjadi lead, bukan di daftar kanan. */
.studio-news-item .studio-news-lead-img { display: none; }

.studio-news-lead-img {
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: var(--st-radius-md);
  aspect-ratio: 16 / 10;
  background: #dedede;
}

.studio-news-lead-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.studio-news-lead:hover .studio-news-lead-img img { transform: scale(1.02); }

.studio-news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--st-ash);
}

.studio-news-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

.studio-news-lead h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--st-ink);
}

.studio-news-lead:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

.studio-news-lead p {
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--st-ash);
}

.studio-news-list { display: flex; flex-direction: column; }

.studio-news-item {
  display: block;
  padding: 20px 0;
  border-top: 1px solid var(--st-line);
  color: inherit;
}

.studio-news-item:first-child { padding-top: 0; border-top: 0; }
.studio-news-item:last-child { padding-bottom: 0; }

.studio-news-item h3 {
  margin-bottom: 6px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--st-ink);
}

.studio-news-item:hover h3 { text-decoration: underline; text-underline-offset: 3px; }

.studio-news-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--st-ash);
}

/* ── Agenda ──────────────────────────────────────────────── */

.studio-agenda {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--st-line);
}

.studio-agenda-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--st-line);
}

.studio-agenda-date {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.studio-agenda-date .day {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--st-ink);
  font-variant-numeric: tabular-nums;
}

.studio-agenda-date .month {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--st-ash);
}

.studio-agenda-info h3 {
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--st-ink);
}

.studio-agenda-info p {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.6;
  color: var(--st-ash);
}

.studio-agenda-loc {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 13px;
  color: var(--st-ash);
  white-space: nowrap;
}

/* ── CTA penutup (panel hitam) ───────────────────────────── */

.studio-cta {
  padding: 100px 0;
  background: var(--st-black);
  color: var(--st-paper);
}

.studio-cta h2 {
  max-width: 20ch;
  margin-bottom: 18px;
  font-size: clamp(32px, 5.2vw, 64px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--st-paper);
}

.studio-cta p {
  max-width: 46ch;
  margin-bottom: 32px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.66);
}

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */

.studio-footer {
  padding: 64px 0 0;
  background: var(--st-canvas);
  border-top: 1px solid var(--st-line);
  color: var(--st-graphite);
}

.studio-footer-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
}

.studio-footer-brand .studio-footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.studio-footer-brand img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: var(--st-radius-sm);
}

.studio-footer-name {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--st-ink);
}

.studio-footer-brand p {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.65;
  color: var(--st-ash);
}

.studio-footer h4 {
  margin-bottom: 16px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--st-ink);
}

.studio-footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.studio-footer-links a {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--st-graphite);
}

.studio-footer-links a:hover {
  color: var(--st-black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.studio-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.studio-footer-contact-item {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--st-ash);
}

.studio-footer-contact-item .icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--st-graphite);
}

.studio-social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.studio-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--st-line-strong);
  border-radius: var(--st-radius-sm);
  color: var(--st-ink);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.studio-social a:hover,
.studio-social a:focus-visible {
  background: var(--st-ink);
  border-color: var(--st-ink);
  color: var(--st-paper);
}

.studio-social a svg { width: 16px; height: 16px; fill: currentColor; }

.studio-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--st-line);
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--st-ash);
}

.studio-footer-bottom a { color: var(--st-ash); }
.studio-footer-bottom a:hover { color: var(--st-ink); }

/* Tombol WhatsApp mengambang: monokrom, bukan hijau. */
.wa-float {
  background: var(--st-ink) !important;
  color: var(--st-paper) !important;
  border-radius: var(--st-radius-md) !important;
}

.wa-float:hover { background: var(--st-black) !important; }

/* ══════════════════════════════════════════════════════════
   RESPONSIF
   ══════════════════════════════════════════════════════════ */

/* Menu bertumpuk (breakpoint 1023px) */
@media (max-width: 1023px) {
  .nav-inner {
    flex-wrap: wrap;
    height: auto;
    min-height: 68px;
    padding: 10px 16px;
    gap: 0;
  }

  .nav-logo {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .nav-toggle { display: block; order: 2; }

  .nav-bar .nav-links {
    order: 4;
    display: none;
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 10px 0 12px;
    background: var(--st-canvas);
    border-top: 1px solid var(--st-line);
  }

  .nav-bar .nav-links.open { display: flex; }
  .nav-bar .nav-links > li { display: block; }

  .nav-bar .nav-links li a {
    padding: 12px 14px;
    border-left: 2px solid transparent;
    border-radius: var(--st-radius-sm);
    font-size: 15px;
  }

  .nav-bar .nav-links li a.active {
    background: var(--st-ink);
    color: var(--st-paper);
    border-left-color: var(--st-ink);
  }

  .nav-bar .sub-menu {
    position: static;
    margin: 0 0 4px 14px;
    padding: 0 0 0 12px;
    background: transparent;
    border: 0;
    border-left: 1px solid var(--st-line-strong);
    border-radius: 0;
    box-shadow: none;
  }

  .nav-bar .sub-menu li a { padding: 9px 12px; color: var(--st-ash); }
  .nav-bar .sub-menu li a:hover { background: rgba(34, 34, 34, 0.07); color: var(--st-black); }
  .nav-bar .sub-menu li a.active { background: var(--st-ink); color: var(--st-paper); }

  .studio-hero-grid { grid-template-columns: 1fr; row-gap: 28px; }
  .studio-hero-main,
  .studio-hero-side { grid-column: 1 / -1; }
  .studio-hero h1 { max-width: none; font-size: clamp(38px, 7.6vw, 64px); }
  .studio-hero-side p { max-width: 46ch; }

  .studio-news { grid-template-columns: 1fr; gap: 36px; }
  .studio-stats-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .studio-footer-top { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .studio-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .studio-hero { margin-top: 0; padding-top: 40px; }
  /* Bagian responsif menyembunyikan label DAN tombol "Semua". Tombol "Semua"
     harus tetap ada: tanpa itu tidak ada jalan ke daftar lengkap selain
     pita pengumuman yang sedang bergerak. */
  .studio-home .announce-label { display: none; }
  .studio-home .announce-all { display: inline-flex; flex-shrink: 0; padding: 7px 14px; font-size: 12px; }
  .studio-home .announce-inner { gap: 10px; min-height: 56px; }
  .studio-home .announce-item a { font-size: 15px; }
  .studio-section { padding: 56px 0; }
  .studio-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
  .studio-head h2 { max-width: none; }
  .studio-stats { padding: 48px 0 44px; }
  .studio-stats-grid { grid-template-columns: 1fr 1fr; }
  .studio-stats-grid .stat-item { padding: 24px 16px 0 0; }
  .studio-stats-grid .stat-item + .stat-item { padding-left: 16px; }
  .studio-stats-grid .stat-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .studio-slider { margin-top: 40px; }
  .studio-cta { padding: 64px 0; }
  .studio-agenda-row { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; }
  .studio-agenda-loc { display: none; }
  .studio-footer { padding-top: 48px; }
  .studio-footer-top { grid-template-columns: 1fr 1fr; }
  .studio-footer-brand { grid-column: 1 / -1; }
  .studio-footer-top > div:last-child { grid-column: 1 / -1; }
  .studio-footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 640px) {
  .studio-wrap { padding: 0 16px; }

  .studio-hero h1 { font-size: 34px; letter-spacing: -0.03em; }
  .studio-hero-side p { font-size: 16px; }

  /* Mobile: satu kartu penuh, tanpa kartu samping. */
  .studio-slider { margin-top: 32px; }
  .studio-slider-stage {
    height: auto;
    aspect-ratio: 4 / 3;
    perspective: none;
  }

  .studio-slide,
  .studio-slide.is-active,
  .studio-slide.is-prev,
  .studio-slide.is-next,
  .studio-slide.is-far {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    transform: translate(-50%, -50%);
  }

  .studio-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .studio-slide.is-active {
    opacity: 1;
    pointer-events: auto;
  }

  /* Kartu samping tidak dipakai di mobile: sembunyikan total supaya
     tidak ada bayangan/teks yang tembus di belakang kartu aktif. */
  .studio-slide.is-prev,
  .studio-slide.is-next,
  .studio-slide.is-far {
    opacity: 0;
    pointer-events: none;
  }

  .studio-slide .studio-tile-cta {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 9px 12px;
    font-size: 10px;
  }

  .studio-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 132px;
    gap: 8px;
  }

  .studio-gal,
  .studio-gal:first-child,
  .studio-gal:nth-child(2),
  .studio-gal:nth-child(3),
  .studio-gal:first-child:nth-last-child(2),
  .studio-gal:nth-child(2):last-child {
    grid-column: span 1;
    grid-row: span 1;
  }

  .studio-gal:only-child { grid-column: span 2; grid-row: span 2; }

  .studio-news-lead h3 { font-size: 24px; }
  .studio-news-meta { font-size: 10px; }

  .studio-stats-grid { grid-template-columns: 1fr 1fr; }
  .studio-stats .stat-value { font-size: 40px; }

  .studio-agenda-date .day { font-size: 26px; }
  .studio-agenda-date { flex-direction: column; align-items: flex-start; gap: 2px; }
  .studio-agenda-info h3 { font-size: 17px; }

  .studio-cta h2 { font-size: 30px; }

  .studio-footer-top { grid-template-columns: 1fr; gap: 28px; }
  .studio-footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .studio-slide,
  .studio-gal img,
  .studio-news-lead-img img,
  .st-btn { transition: none; }
}

/* ══════════════════════════════════════════════════════════
   HALAMAN DALAM (semua halaman selain beranda)
   ------------------------------------------------------------
   Semua aturan di bawah di-scope ke body.studio:not(.studio-home)
   supaya beranda tidak ikut berubah. Kelas lama tetap dipakai
   (agar tidak menyentuh logika PHP), tetapi warnanya, jaraknya,
   dan tipografinya ditimpa ke palet studio.
   ══════════════════════════════════════════════════════════ */

body.studio:not(.studio-home) {
  background: var(--st-canvas);
}

body.studio:not(.studio-home) .section {
  padding: 64px 0 88px;
  background: var(--st-canvas);
  color: var(--st-ink);
}

body.studio:not(.studio-home) .section.section-light {
  background: var(--st-canvas);
}

body.studio:not(.studio-home) .section.section-dark {
  background: var(--st-ink);
  color: var(--st-paper);
}

body.studio:not(.studio-home) .st-narrow {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

body.studio:not(.studio-home) .st-medium {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Kepala halaman ──────────────────────────────────────── */

body.studio:not(.studio-home) .page-header {
  padding: 132px 0 48px;
}

body.studio:not(.studio-home) .page-header h1 {
  max-width: 28ch;
  font-weight: 600;
  letter-spacing: -0.04em;
}

body.studio:not(.studio-home) .page-header p {
  max-width: 62ch;
  margin-top: 10px;
  color: var(--st-ash);
}

body.studio:not(.studio-home) .page-header .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--st-ash);
}

body.studio:not(.studio-home) .page-header .meta a {
  color: var(--st-ink);
  text-decoration: none;
}

body.studio:not(.studio-home) .page-header .meta a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Tombol ──────────────────────────────────────────────── */

body.studio:not(.studio-home) .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--st-line-strong);
  border-radius: var(--st-radius-sm);
  background: transparent;
  color: var(--st-ink);
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: none;
  transform: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

body.studio:not(.studio-home) .btn:hover {
  transform: none;
  box-shadow: none;
}

body.studio:not(.studio-home) .btn-primary,
body.studio:not(.studio-home) .btn-outline-primary:hover {
  background: var(--st-ink);
  border-color: var(--st-ink);
  color: var(--st-paper);
}

body.studio:not(.studio-home) .btn-primary:hover {
  background: var(--st-black);
  border-color: var(--st-black);
  color: var(--st-paper);
}

body.studio:not(.studio-home) .btn-outline,
body.studio:not(.studio-home) .btn-outline-primary,
body.studio:not(.studio-home) .btn-light {
  background: transparent;
  border-color: var(--st-line-strong);
  color: var(--st-ink);
}

body.studio:not(.studio-home) .btn-outline:hover,
body.studio:not(.studio-home) .btn-outline-primary:hover,
body.studio:not(.studio-home) .btn-light:hover {
  background: var(--st-ink);
  border-color: var(--st-ink);
  color: var(--st-paper);
}

body.studio:not(.studio-home) .btn-sm {
  min-height: 36px;
  padding: 8px 14px;
  font-size: 13px;
}

body.studio:not(.studio-home) .btn svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

body.studio:not(.studio-home) .btn-block,
body.studio:not(.studio-home) .w-100 {
  display: flex;
  width: 100%;
}

/* ── Pencarian & filter ──────────────────────────────────── */

body.studio:not(.studio-home) .search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

body.studio:not(.studio-home) .search-input {
  flex: 1 1 240px;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--st-paper);
  color: var(--st-ink);
  border: 1px solid var(--st-line-strong);
  border-radius: var(--st-radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

body.studio:not(.studio-home) .search-input::placeholder {
  color: #888888;
}

body.studio:not(.studio-home) .search-input:focus {
  border-color: var(--st-ink);
  box-shadow: 0 0 0 3px rgba(34, 34, 34, 0.12);
}

body.studio:not(.studio-home) .search-input option {
  background: var(--st-paper);
  color: var(--st-ink);
}

body.studio:not(.studio-home) .cat-filters,
body.studio:not(.studio-home) .doc-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

/* ── Berita (daftar & pencarian) ─────────────────────────── */

body.studio:not(.studio-home) .news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--st-line);
}

body.studio:not(.studio-home) .news-item {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--st-line);
  border-color: var(--st-line) !important;
  border-radius: 0;
  box-shadow: none;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

body.studio:not(.studio-home) .news-item:hover {
  box-shadow: none;
  border-color: var(--st-line);
  opacity: 0.82;
}

body.studio:not(.studio-home) .news-item-thumb {
  overflow: hidden;
  border-radius: var(--st-radius-sm);
  aspect-ratio: 16 / 10;
  background: #dedede;
}

body.studio:not(.studio-home) .news-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

body.studio:not(.studio-home) .news-item:hover .news-item-thumb img {
  transform: scale(1.02);
}

body.studio:not(.studio-home) .news-item-body:only-child {
  grid-column: 1 / -1;
}

body.studio:not(.studio-home) .news-item-body .tag,
body.studio:not(.studio-home) .tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 8px;
  border: 0;
  border-radius: 2px;
  background: var(--st-ink) !important;
  color: var(--st-paper) !important;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.studio:not(.studio-home) .news-item-body h3,
body.studio:not(.studio-home) .news-item-body h3 a {
  margin-bottom: 8px;
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--st-ink) !important;
}

body.studio:not(.studio-home) .news-item-body h3 a:hover {
  color: var(--st-ink) !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.studio:not(.studio-home) .news-item-body .excerpt,
body.studio:not(.studio-home) .news-item .excerpt,
body.studio:not(.studio-home) .news-item .meta {
  color: var(--st-ash) !important;
}

body.studio:not(.studio-home) .news-item .meta {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.studio:not(.studio-home) .news-item .excerpt {
  max-width: 66ch;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.65;
}

/* ── Detail berita / pengumuman ──────────────────────────── */

body.studio:not(.studio-home) .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--st-line-strong);
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--st-ash);
  text-decoration: none;
}

body.studio:not(.studio-home) .back-link:hover {
  color: var(--st-ink);
  border-color: var(--st-ink);
}

body.studio:not(.studio-home) .news-detail-thumb {
  margin-bottom: 32px;
  overflow: hidden;
  border: 0;
  border-radius: var(--st-radius-md);
  background: #dedede;
}

body.studio:not(.studio-home) .news-detail-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

body.studio:not(.studio-home) .news-detail-body,
body.studio:not(.studio-home) .st-prose {
  font-size: 17px;
  line-height: 1.85;
  color: var(--st-graphite);
  overflow-wrap: anywhere;
}

body.studio:not(.studio-home) .news-detail-body p,
body.studio:not(.studio-home) .st-prose p {
  margin-bottom: 1.2em;
}

body.studio:not(.studio-home) .news-detail-body h2,
body.studio:not(.studio-home) .news-detail-body h3,
body.studio:not(.studio-home) .st-prose h2,
body.studio:not(.studio-home) .st-prose h3 {
  margin: 1.6em 0 0.6em;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--st-ink);
}

body.studio:not(.studio-home) .news-detail-body a,
body.studio:not(.studio-home) .st-prose a {
  color: var(--st-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.studio:not(.studio-home) .news-detail-body img,
body.studio:not(.studio-home) .st-prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--st-radius-sm);
}

body.studio:not(.studio-home) .news-detail-body blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--st-ink);
  color: var(--st-ash);
  font-style: italic;
}

body.studio:not(.studio-home) .st-source {
  font-size: 14px;
  color: var(--st-ash);
}

body.studio:not(.studio-home) .st-source strong {
  color: var(--st-ink);
  font-weight: 600;
}

body.studio:not(.studio-home) .st-source a {
  color: var(--st-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.studio:not(.studio-home) .st-source a:hover {
  color: var(--st-black);
}

body.studio:not(.studio-home) .share-section {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--st-line);
}

body.studio:not(.studio-home) .share-section-label {
  margin-bottom: 12px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--st-ash);
}

body.studio:not(.studio-home) .share-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.studio:not(.studio-home) .share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--st-line-strong);
  border-radius: var(--st-radius-sm);
  background: transparent;
  color: var(--st-ink);
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

body.studio:not(.studio-home) .share-btn:hover,
body.studio:not(.studio-home) .share-btn:focus-visible {
  background: var(--st-ink);
  border-color: var(--st-ink);
  color: var(--st-paper);
}

body.studio:not(.studio-home) .share-btn svg {
  width: 15px;
  height: 15px;
}

/* Berita/pengumuman terkait di panel gelap. */

body.studio:not(.studio-home) .section-dark .section-header h2 {
  color: var(--st-paper);
}

body.studio:not(.studio-home) .section-dark .section-header p {
  color: rgba(255, 255, 255, 0.66);
}

body.studio:not(.studio-home) .st-dark-card {
  display: block;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: inherit;
  text-decoration: none;
}

body.studio:not(.studio-home) .st-dark-card:hover h4 {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.studio:not(.studio-home) .st-dark-thumb {
  overflow: hidden;
  margin-bottom: 14px;
  border-radius: var(--st-radius-sm);
  aspect-ratio: 16 / 10;
  background: rgba(255, 255, 255, 0.08);
}

body.studio:not(.studio-home) .st-dark-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.studio:not(.studio-home) .st-dark-card h4 {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--st-paper);
}

body.studio:not(.studio-home) .st-dark-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.66);
}

/* ── Agenda & pengumuman ─────────────────────────────────── */

body.studio:not(.studio-home) .agenda-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--st-line);
}

body.studio:not(.studio-home) .agenda-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--st-line);
  border-color: var(--st-line) !important;
  border-radius: 0;
  box-shadow: none;
}

body.studio:not(.studio-home) .agenda-item:hover {
  box-shadow: none;
}

body.studio:not(.studio-home) .agenda-date {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-right: 0;
  border-right: 0;
  text-align: left;
}

body.studio:not(.studio-home) .agenda-date .day {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--st-ink);
  font-variant-numeric: tabular-nums;
}

body.studio:not(.studio-home) .agenda-date .month {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--st-ash) !important;
}

body.studio:not(.studio-home) .agenda-info h4,
body.studio:not(.studio-home) .agenda-info h4 a {
  margin-bottom: 4px;
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: var(--st-ink) !important;
  text-decoration: none;
}

body.studio:not(.studio-home) .agenda-info h4 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.studio:not(.studio-home) .agenda-info p,
body.studio:not(.studio-home) .agenda-location {
  font-size: 14px;
  line-height: 1.6;
  color: var(--st-ash) !important;
}

body.studio:not(.studio-home) .agenda-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 12px;
  white-space: nowrap;
}

body.studio:not(.studio-home) .agenda-location svg {
  width: 14px;
  height: 14px;
}

body.studio:not(.studio-home) .desc-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.studio:not(.studio-home) .st-row-meta {
  margin-top: 6px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--st-ash) !important;
}

body.studio:not(.studio-home) .st-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid var(--st-line-strong);
  border-radius: 2px;
  background: transparent;
  color: var(--st-ink);
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  vertical-align: middle;
}

body.studio:not(.studio-home) .st-badge-dark {
  background: var(--st-ink);
  border-color: var(--st-ink);
  color: var(--st-paper);
}

body.studio:not(.studio-home) .st-badge svg {
  width: 12px;
  height: 12px;
}

/* ── Galeri ──────────────────────────────────────────────── */

body.studio:not(.studio-home) .card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}

body.studio:not(.studio-home) .album-card {
  display: block;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: inherit;
  text-decoration: none;
  box-shadow: none;
}

body.studio:not(.studio-home) .album-card:hover {
  box-shadow: none;
}

body.studio:not(.studio-home) .album-card-image {
  overflow: hidden;
  border-radius: var(--st-radius-md);
  aspect-ratio: 4 / 3;
  background: #dedede;
}

body.studio:not(.studio-home) .album-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

body.studio:not(.studio-home) .album-card:hover .album-card-image img {
  transform: scale(1.02);
}

body.studio:not(.studio-home) .album-cover-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #dedede;
  color: var(--st-ash);
}

body.studio:not(.studio-home) .album-card-body {
  padding: 16px 0 0;
}

body.studio:not(.studio-home) .album-card-body h3,
body.studio:not(.studio-home) .album-card h3,
body.studio:not(.studio-home) .album-card h3 a {
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--st-ink) !important;
}

body.studio:not(.studio-home) .album-card-body .count {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--st-ash);
}

body.studio:not(.studio-home) .album-desc {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--st-ash) !important;
}

/* Masonry album */

body.studio:not(.studio-home) .masonry {
  column-count: 3;
  column-gap: 12px;
}

body.studio:not(.studio-home) .masonry-item {
  break-inside: avoid;
  margin: 0 0 12px;
}

body.studio:not(.studio-home) .masonry-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--st-radius-sm);
  background: #dedede;
  cursor: zoom-in;
}

body.studio:not(.studio-home) .masonry-media img {
  display: block;
  width: 100%;
  height: auto;
}

body.studio:not(.studio-home) .masonry-media .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  transition: background 0.25s;
}

body.studio:not(.studio-home) .masonry-media:hover .overlay {
  background: rgba(0, 0, 0, 0.38);
}

body.studio:not(.studio-home) .masonry-media .overlay span {
  color: var(--st-paper);
  opacity: 0;
  transition: opacity 0.25s;
}

body.studio:not(.studio-home) .masonry-media:hover .overlay span {
  opacity: 1;
}

body.studio:not(.studio-home) .masonry-cap {
  padding: 8px 2px 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--st-ash);
}

/* ── Unduhan ─────────────────────────────────────────────── */

body.studio:not(.studio-home) .download-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--st-line);
}

body.studio:not(.studio-home) .download-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--st-line);
  border-color: var(--st-line) !important;
  border-radius: 0;
  box-shadow: none;
}

body.studio:not(.studio-home) .download-item:hover {
  box-shadow: none;
}

body.studio:not(.studio-home) .download-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--st-line-strong);
  border-radius: var(--st-radius-sm);
  color: var(--st-ink);
}

body.studio:not(.studio-home) .download-icon svg {
  width: 22px;
  height: 22px;
}

body.studio:not(.studio-home) .download-info h4 {
  margin-bottom: 4px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--st-ink) !important;
}

body.studio:not(.studio-home) .download-info .meta,
body.studio:not(.studio-home) .download-desc {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--st-ash) !important;
}

body.studio:not(.studio-home) .download-desc {
  margin-top: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.5;
}

/* ── Kontak ──────────────────────────────────────────────── */

body.studio:not(.studio-home) .contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--st-line);
  border-left: 1px solid var(--st-line);
}

body.studio:not(.studio-home) .contact-info-item {
  padding: 30px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--st-line);
  border-bottom: 1px solid var(--st-line);
  border-color: var(--st-line) !important;
  border-radius: 0;
}

/* Kalau kartu ganjil (3 kartu, tanpa WhatsApp), kartu terakhir melebar
   supaya tidak ada sel kosong di sebelahnya. */
body.studio:not(.studio-home) .contact-info-grid > .contact-info-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

body.studio:not(.studio-home) .contact-info-item .icon {
  display: block;
  margin-bottom: 16px;
  color: var(--st-ink);
}

body.studio:not(.studio-home) .contact-info-item .icon svg {
  width: 24px;
  height: 24px;
}

body.studio:not(.studio-home) .contact-info-item h4 {
  margin-bottom: 6px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--st-ink);
}

body.studio:not(.studio-home) .contact-info-item p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--st-ash) !important;
}

body.studio:not(.studio-home) .contact-info-item a {
  color: var(--st-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.studio:not(.studio-home) .st-map {
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius-md);
  background: #dedede;
}

body.studio:not(.studio-home) .st-map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
  filter: grayscale(1);
}

/* ── Tentang ─────────────────────────────────────────────── */

body.studio:not(.studio-home) .about-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}

body.studio:not(.studio-home) .about-image {
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--st-radius-md);
  background: #dedede;
  box-shadow: none;
}

body.studio:not(.studio-home) .about-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

body.studio:not(.studio-home) .about-content h2 {
  margin-bottom: 18px;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--st-ink);
}

body.studio:not(.studio-home) .about-prose {
  font-size: 16px;
  line-height: 1.85;
  color: var(--st-graphite);
}

body.studio:not(.studio-home) .video-embed-wrap {
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--st-radius-md);
  background: #000;
}

body.studio:not(.studio-home) .st-university {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

body.studio:not(.studio-home) .st-university h2 {
  margin-bottom: 16px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--st-ink);
}

body.studio:not(.studio-home) .st-university p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--st-ash);
}

body.studio:not(.studio-home) .st-university .btn {
  margin-top: 24px;
}

/* ── Penelitian / Pengabdian ─────────────────────────────── */

body.studio:not(.studio-home) .stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 48px;
  overflow: hidden;
  border-radius: var(--st-radius-md);
  background: var(--st-ink);
  color: var(--st-paper);
}

body.studio:not(.studio-home) .stat-card {
  padding: 26px 28px;
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
}

body.studio:not(.studio-home) .stat-card:first-child {
  border-left: 0;
}

body.studio:not(.studio-home) .stat-card .stat-label {
  display: block;
  margin-bottom: 10px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58) !important;
}

body.studio:not(.studio-home) .stat-card strong {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--st-paper);
  font-variant-numeric: tabular-nums;
}

body.studio:not(.studio-home) .chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

body.studio:not(.studio-home) .chart-card {
  padding: 22px 22px 16px;
  background: var(--st-paper);
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius-md);
}

body.studio:not(.studio-home) .chart-card h2 {
  margin: 0 0 14px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--st-ash);
}

body.studio:not(.studio-home) .chart-box {
  position: relative;
  height: 240px;
}

body.studio:not(.studio-home) .chart-box-tall {
  height: 340px;
}

body.studio:not(.studio-home) .chart-scroll {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #b8b8b8 transparent;
  -webkit-overflow-scrolling: touch;
}

body.studio:not(.studio-home) .chart-scroll:focus-visible {
  outline: 2px solid var(--st-ink);
  outline-offset: 3px;
}

body.studio:not(.studio-home) .chart-scroll::-webkit-scrollbar {
  width: 6px;
}

body.studio:not(.studio-home) .chart-scroll::-webkit-scrollbar-thumb {
  background: #b8b8b8;
  border-radius: 999px;
}

body.studio:not(.studio-home) .chart-canvas {
  position: relative;
  width: 100%;
  min-height: 100%;
}

body.studio:not(.studio-home) .chart-hint {
  display: none;
  margin: 8px 0 0;
  color: #6a6a6a;
  font-size: 11px;
  line-height: 1.4;
}

body.studio:not(.studio-home) .chart-scroll.is-scrollable + .chart-hint {
  display: block;
}

body.studio:not(.studio-home) .doc-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

body.studio:not(.studio-home) .doc-filter .search-input {
  background: var(--st-paper);
  color: var(--st-ink);
  border: 1px solid var(--st-line-strong);
}

body.studio:not(.studio-home) .doc-filter .search-input::placeholder {
  color: #888888;
}

body.studio:not(.studio-home) .doc-filter-search {
  flex: 1 1 280px;
}

body.studio:not(.studio-home) .doc-filter-year {
  flex: 0 0 auto;
}

body.studio:not(.studio-home) .doc-filter .btn,
body.studio:not(.studio-home) .doc-filter-chips .btn {
  min-height: 40px;
}

body.studio:not(.studio-home) .doc-filter-info {
  margin-bottom: 20px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--st-ash);
}

body.studio:not(.studio-home) .doc-filter-info strong {
  color: var(--st-ink);
  font-weight: 600;
}

body.studio:not(.studio-home) .doc-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius-md);
  background: var(--st-paper);
  -webkit-overflow-scrolling: touch;
}

body.studio:not(.studio-home) .doc-scroll-hint {
  display: none;
  margin: 0 0 8px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--st-ash);
}

body.studio:not(.studio-home) .doc-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 14px;
}

body.studio:not(.studio-home) .doc-table thead th {
  padding: 12px 14px;
  background: var(--st-ink);
  color: var(--st-paper);
  border: 0;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}

body.studio:not(.studio-home) .doc-table tbody td {
  padding: 14px;
  border-top: 1px solid var(--st-line);
  vertical-align: top;
  color: var(--st-graphite);
}

body.studio:not(.studio-home) .doc-table tbody tr:hover {
  background: rgba(34, 34, 34, 0.035);
}

body.studio:not(.studio-home) .doc-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--st-ink);
}

body.studio:not(.studio-home) .doc-desc {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--st-ash);
}

body.studio:not(.studio-home) .doc-badge {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--st-line-strong);
  border-radius: 2px;
  background: transparent;
  color: var(--st-ink) !important;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.studio:not(.studio-home) .doc-badge.is-internal,
body.studio:not(.studio-home) .doc-badge.is-external {
  background: transparent;
  color: var(--st-ink) !important;
}

body.studio:not(.studio-home) .doc-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid var(--st-line-strong);
  border-radius: 2px;
  color: var(--st-ink);
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

body.studio:not(.studio-home) .doc-download:hover,
body.studio:not(.studio-home) .doc-download:focus-visible {
  background: var(--st-ink);
  border-color: var(--st-ink);
  color: var(--st-paper);
}

body.studio:not(.studio-home) .doc-download svg {
  width: 13px;
  height: 13px;
}

body.studio:not(.studio-home) .doc-meta {
  margin-top: 6px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--st-ash);
}

body.studio:not(.studio-home) .doc-empty,
body.studio:not(.studio-home) .doc-muted,
body.studio:not(.studio-home) .text-muted {
  color: var(--st-ash) !important;
}

body.studio:not(.studio-home) .doc-author {
  margin-bottom: 5px;
  font-size: 13px;
  line-height: 1.45;
}

body.studio:not(.studio-home) .doc-author-nama {
  color: var(--st-ink);
}

body.studio:not(.studio-home) .doc-author-peran {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 6px;
  border: 1px solid var(--st-line-strong);
  border-radius: 2px;
  background: transparent;
  color: var(--st-ash);
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}

body.studio:not(.studio-home) .doc-nip {
  display: block;
  margin-top: 2px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--st-ash);
}

body.studio:not(.studio-home) .doc-unit,
body.studio:not(.studio-home) .doc-lokasi {
  font-size: 13px;
  color: var(--st-ash);
}

/* Tombol "Lihat selengkapnya" (modal generik). */

body.studio:not(.studio-home) .more-btn {
  margin-top: 4px;
  padding: 0 0 1px;
  border: 0;
  border-bottom: 1px solid var(--st-line-strong);
  background: transparent;
  color: var(--st-ink);
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

body.studio:not(.studio-home) .more-btn:hover,
body.studio:not(.studio-home) .more-btn:focus-visible {
  border-color: var(--st-ink);
}

body.studio:not(.studio-home) .more-modal {
  background: rgba(0, 0, 0, 0.72);
}

body.studio:not(.studio-home) .more-modal-dialog {
  background: var(--st-paper);
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius-md);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

body.studio:not(.studio-home) .more-modal-title {
  color: var(--st-ink);
}

body.studio:not(.studio-home) .more-modal-meta {
  color: var(--st-ash);
}

body.studio:not(.studio-home) .more-modal-text {
  color: var(--st-graphite);
}

body.studio:not(.studio-home) .more-modal-close {
  color: var(--st-ink);
}

/* ── Luaran ──────────────────────────────────────────────── */

body.studio:not(.studio-home) .luaran-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

body.studio:not(.studio-home) .luaran-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--st-paper);
  border: 1px solid var(--st-line);
  border-top: 2px solid var(--st-ink);
  border-radius: 0 0 var(--st-radius-sm) var(--st-radius-sm);
  box-shadow: none;
}

body.studio:not(.studio-home) .luaran-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

body.studio:not(.studio-home) .luaran-tahun {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--st-ash);
}

body.studio:not(.studio-home) .luaran-judul {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

body.studio:not(.studio-home) .luaran-judul a {
  color: var(--st-ink);
  text-decoration: none;
}

body.studio:not(.studio-home) .luaran-judul a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.studio:not(.studio-home) .luaran-penulis {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--st-graphite);
}

body.studio:not(.studio-home) .luaran-penerbit {
  margin: 0 0 8px;
  font-size: 13px;
  font-style: italic;
  color: var(--st-ash);
}

body.studio:not(.studio-home) .luaran-ringkas {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--st-ash);
}

body.studio:not(.studio-home) .luaran-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
}

body.studio:not(.studio-home) .luaran-badge,
body.studio:not(.studio-home) .luaran-dokumen-jenis {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--st-line-strong);
  border-radius: 2px;
  background: transparent;
  color: var(--st-ash);
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.studio:not(.studio-home) .luaran-link {
  margin-top: 14px;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--st-ink);
  align-self: flex-start;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--st-ink);
  text-decoration: none;
}

body.studio:not(.studio-home) .luaran-link:hover {
  color: var(--st-black);
  border-color: var(--st-black);
}

body.studio:not(.studio-home) .luaran-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}

body.studio:not(.studio-home) .luaran-block {
  margin-bottom: 32px;
}

body.studio:not(.studio-home) .luaran-block h2 {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--st-line);
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--st-ash);
}

body.studio:not(.studio-home) .luaran-deskripsi {
  font-size: 16px;
  line-height: 1.8;
  color: var(--st-graphite);
  overflow-wrap: anywhere;
}

body.studio:not(.studio-home) .luaran-penulis-list,
body.studio:not(.studio-home) .luaran-dokumen-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.studio:not(.studio-home) .luaran-penulis-list li,
body.studio:not(.studio-home) .luaran-dokumen-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--st-line);
  font-size: 14px;
  line-height: 1.55;
}

body.studio:not(.studio-home) .luaran-penulis-nama {
  font-weight: 600;
  color: var(--st-ink);
}

body.studio:not(.studio-home) .luaran-penulis-nidn {
  display: block;
  margin-top: 2px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--st-ash);
}

body.studio:not(.studio-home) .luaran-info-card {
  padding: 24px;
  background: var(--st-paper);
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius-md);
}

body.studio:not(.studio-home) .luaran-info-card h2 {
  margin: 0 0 14px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--st-ash);
}

body.studio:not(.studio-home) .luaran-info-card dl {
  margin: 0 0 18px;
}

body.studio:not(.studio-home) .luaran-info-card dt {
  margin-top: 12px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--st-ash);
}

body.studio:not(.studio-home) .luaran-info-card dd {
  margin: 3px 0 0;
  font-size: 14px;
  color: var(--st-ink);
}

body.studio:not(.studio-home) .luaran-info-card a {
  color: var(--st-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.studio:not(.studio-home) .luaran-info-card .btn {
  width: 100%;
  /* Tanpa hover effect, teks tetap putih */
  background: var(--st-primary, #1b2f6b);
  color: var(--st-on-dark, #fff);
  transition: none;
  box-shadow: none;
  transform: none;
}
body.studio:not(.studio-home) .luaran-info-card .btn:hover,
body.studio:not(.studio-home) .luaran-info-card .btn:focus,
body.studio:not(.studio-home) .luaran-info-card .btn:active {
  background: var(--st-primary, #1b2f6b);
  color: var(--st-on-dark, #fff);
  box-shadow: none;
  transform: none;
}

body.studio:not(.studio-home) .luaran-back {
  margin: 0 0 8px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.studio:not(.studio-home) .luaran-back a {
  color: var(--st-ash);
  text-decoration: none;
}

body.studio:not(.studio-home) .luaran-back a:hover {
  color: var(--st-ink);
  text-decoration: underline;
}

/* ── Paginasi & keadaan kosong ───────────────────────────── */

body.studio:not(.studio-home) .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  margin-top: 44px;
}

body.studio:not(.studio-home) .pagination a,
body.studio:not(.studio-home) .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--st-line-strong);
  border-radius: var(--st-radius-sm);
  background: transparent;
  color: var(--st-ink);
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

body.studio:not(.studio-home) .pagination a:hover {
  background: var(--st-ink);
  border-color: var(--st-ink);
  color: var(--st-paper);
}

body.studio:not(.studio-home) .pagination .active {
  background: var(--st-ink);
  border-color: var(--st-ink);
  color: var(--st-paper);
}

body.studio:not(.studio-home) .empty-state {
  padding: 56px 24px;
  border: 1px dashed var(--st-line-strong);
  border-radius: var(--st-radius-md);
  background: transparent;
  text-align: center;
}

body.studio:not(.studio-home) .empty-state p {
  font-size: 15px;
  color: var(--st-ash);
}

/* ── 404 ─────────────────────────────────────────────────── */

body.studio:not(.studio-home) .st-error-code {
  margin-bottom: 8px;
  font-size: clamp(72px, 14vw, 140px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--st-ink);
}

body.studio:not(.studio-home) .page-header p.st-error-desc {
  max-width: 46ch;
  margin: 10px 0 0;
  color: var(--st-ash);
}

/* ── Lightbox ────────────────────────────────────────────── */

body.studio:not(.studio-home) .lightbox {
  background: rgba(0, 0, 0, 0.92);
}

body.studio:not(.studio-home) .lightbox img {
  border-radius: var(--st-radius-sm);
}

body.studio:not(.studio-home) .lightbox-close {
  color: var(--st-paper);
}

/* ── Utilitas kecil (pengganti kelas Bootstrap yang tidak dimuat) ── */

body.studio:not(.studio-home) .text-center { text-align: center; }
body.studio:not(.studio-home) .mt-3 { margin-top: 16px; }
body.studio:not(.studio-home) .mt-4 { margin-top: 24px; }
body.studio:not(.studio-home) .me-1 { margin-right: 4px; }

/* ── Responsif halaman dalam ─────────────────────────────── */

@media (max-width: 1023px) {
  body.studio:not(.studio-home) .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.studio:not(.studio-home) .luaran-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.studio:not(.studio-home) .luaran-detail {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  body.studio:not(.studio-home) .about-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  body.studio:not(.studio-home) .section {
    padding: 48px 0 64px;
  }

  body.studio:not(.studio-home) .page-header {
    padding: 48px 0 36px;
  }

  body.studio:not(.studio-home) .news-item {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 0;
  }

  body.studio:not(.studio-home) .news-item-thumb {
    aspect-ratio: 16 / 9;
  }

  body.studio:not(.studio-home) .agenda-item {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }

  body.studio:not(.studio-home) .agenda-location {
    display: none;
  }

  body.studio:not(.studio-home) .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.studio:not(.studio-home) .stat-card:nth-child(3) {
    border-left: 0;
  }

  body.studio:not(.studio-home) .stat-card:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  body.studio:not(.studio-home) .chart-grid {
    grid-template-columns: 1fr;
  }

  body.studio:not(.studio-home) .contact-info-grid {
    grid-template-columns: 1fr;
  }

  body.studio:not(.studio-home) .download-item {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
  }

  body.studio:not(.studio-home) .download-item > .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  body.studio:not(.studio-home) .masonry {
    column-count: 2;
  }

  body.studio:not(.studio-home) .luaran-grid,
  body.studio:not(.studio-home) .card-grid {
    grid-template-columns: 1fr;
  }

  body.studio:not(.studio-home) .st-map iframe {
    height: 300px;
  }

  body.studio:not(.studio-home) .doc-scroll-hint {
    display: block;
  }
}

@media (max-width: 640px) {
  body.studio:not(.studio-home) .page-header h1 {
    max-width: none;
  }

  body.studio:not(.studio-home) .doc-filter-search {
    flex: 1 1 100%;
  }

  body.studio:not(.studio-home) .doc-filter-year {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
  }

  body.studio:not(.studio-home) .doc-filter-year .search-input {
    width: 100%;
  }

  body.studio:not(.studio-home) .page-header .meta {
    gap: 6px 14px;
    font-size: 10px;
  }

  body.studio:not(.studio-home) .news-item-body h3 {
    font-size: 21px;
  }

  body.studio:not(.studio-home) .agenda-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0;
  }

  body.studio:not(.studio-home) .agenda-date {
    gap: 6px;
  }

  body.studio:not(.studio-home) .agenda-date .day {
    font-size: 26px;
  }

  body.studio:not(.studio-home) .stat-card {
    padding: 20px 18px;
  }

  body.studio:not(.studio-home) .chart-card {
    padding: 18px 14px 12px;
  }

  body.studio:not(.studio-home) .chart-box {
    height: 220px;
  }

  body.studio:not(.studio-home) .chart-box-tall {
    height: 300px;
  }

  body.studio:not(.studio-home) .masonry {
    column-count: 1;
  }

  body.studio:not(.studio-home) .luaran-card {
    padding: 20px;
  }

  body.studio:not(.studio-home) .luaran-info-card {
    padding: 20px;
  }

  body.studio:not(.studio-home) .contact-info-item {
    padding: 22px;
  }
}

/* Ikon inline di kolom File tabel Penelitian/Pengabdian.
   Sejajarkan dengan teks "Privat" -- svg duduk di baseline secara default. */
.col-file .ikon-svg {
  vertical-align: -2px;
}

.doc-private {
  color: var(--color-ink-muted, #5b616e);
}
