:root {
  --mdr-primary: #1b7a4a;
  --mdr-primary-hover: #15663d;
  --mdr-secondary: #2d9a63;
  --mdr-accent: #f08a1a;
  --mdr-bg: #f4f7f3;
  --mdr-surface: #ffffff;
  --mdr-text: #1a2e22;
  --mdr-muted: #5a6e62;
  --mdr-border: #dce8df;
  --mdr-success: #15803d;
  --mdr-warning: #c2410c;
  --mdr-danger: #b91c1c;
  --mdr-on-primary: #ffffff;
  --mdr-navy: #143322;
  --mdr-overlay: #1b7a4a;
  --mdr-chip: #ddf5e8;
  --mdr-chip-alt: #ffedd5;
  --mdr-radius: 12px;
  --mdr-radius-sm: 10px;
  --mdr-shadow: 0 8px 24px rgba(20, 51, 34, 0.08);
  --mdr-container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

html.in-frame .mock-bar {
  display: none;
}

body {
  margin: 0;
  font-family: Outfit, system-ui, sans-serif;
  color: var(--mdr-text);
  background: var(--mdr-bg);
  line-height: 1.625;
  font-size: 16px;
  font-weight: 400;
}

body.single,
body.article-page {
  background: #fff;
}

body.single-post {
  background:
    radial-gradient(circle at top right, rgba(240, 138, 26, 0.14), transparent 28%),
    radial-gradient(circle at top left, rgba(27, 122, 74, 0.1), transparent 32%),
    linear-gradient(180deg, #f8fcf8 0%, #eef6f0 28%, #ffffff 68%);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(var(--mdr-container), calc(100% - 48px));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  background: var(--mdr-surface);
  box-shadow: 0 1px 0 var(--mdr-border);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-shell {
  display: flex;
  align-items: center;
  min-width: 0;
}

.nav-drawer-head,
.nav-drawer-foot {
  display: none;
}

.m-tabbar {
  display: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.skip-link {
  display: none !important;
}

.brand img,
img.site-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  object-position: center;
  flex: 0 0 44px;
  aspect-ratio: 1 / 1;
  display: block;
}

.brand strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--mdr-primary);
  letter-spacing: -0.02em;
}

.brand span {
  display: block;
  font-size: 11px;
  color: var(--mdr-muted);
  font-weight: 400;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
}

.nav > li {
  position: relative;
}

.nav > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 8px;
}

.nav > li > a:hover,
.nav > li > a.is-active,
.nav > li.current-menu-item > a,
.nav > li.current-menu-ancestor > a {
  color: var(--mdr-primary);
}

.nav > li > a.is-active,
.nav > li.current-menu-item > a,
.nav > li.current-menu-ancestor > a {
  box-shadow: inset 0 -2px 0 var(--mdr-primary);
  border-radius: 0;
  padding-bottom: 10px;
}

.nav .caret {
  font-size: 10px;
  opacity: 0.6;
}

.nav .sub,
.nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--mdr-border);
  border-radius: var(--mdr-radius-sm);
  box-shadow: var(--mdr-shadow);
  padding: 8px 0;
  z-index: 20;
}

.nav > li:hover > .sub,
.nav > li:focus-within > .sub,
.nav > li:hover > .sub-menu,
.nav > li:focus-within > .sub-menu {
  display: grid;
}

@media (max-width: 960px) {
  .nav > li:hover > .sub,
  .nav > li:focus-within > .sub,
  .nav > li:hover > .sub-menu,
  .nav > li:focus-within > .sub-menu {
    display: none;
  }

  .nav > li.is-expanded > .sub,
  .nav > li.is-expanded > .sub-menu {
    display: grid;
  }
}

.nav .sub a,
.nav .sub-menu a {
  padding: 8px 14px;
  font-size: 13px;
}

.nav .sub a:hover,
.nav .sub-menu a:hover {
  background: var(--mdr-bg);
  color: var(--mdr-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 18px;
  font: 600 14px/20px Outfit, sans-serif;
  cursor: pointer;
  transition: background 150ms, color 150ms, border-color 150ms;
}

.btn-accent {
  background: var(--mdr-accent);
  color: #fff;
}

.btn-accent:hover {
  background: #e07a14;
}

.btn-primary {
  background: var(--mdr-primary);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--mdr-primary);
}

.btn-outline {
  background: #fff;
  color: var(--mdr-primary);
  border-color: var(--mdr-primary);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--mdr-border);
  background: #fff;
  border-radius: 10px;
  width: 40px;
  height: 40px;
}

.nav-backdrop {
  display: none;
}

/* Hero */

.hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--mdr-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--mdr-overlay) 0%, var(--mdr-overlay) 42%, color-mix(in srgb, var(--mdr-overlay) 35%, transparent) 58%, transparent 72%);
  clip-path: polygon(0 0, 58% 0, 46% 100%, 0 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: 48px 0 88px;
}

.hero-copy h1 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.hero-copy .hero-motto {
  margin: 0 0 12px;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero-copy .hero-motto em {
  font-style: normal;
  color: var(--mdr-accent);
}

.hero-copy .hero-lead {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-search {
  position: relative;
  z-index: 3;
  margin-top: -36px;
  margin-bottom: 28px;
}

.search-bar {
  display: flex;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(27, 42, 74, 0.12);
  overflow: hidden;
  max-width: 760px;
  margin-inline: auto;
}

.search-bar input {
  flex: 1;
  border: 0;
  padding: 16px 22px;
  font: 400 15px Outfit, sans-serif;
  outline: none;
  min-width: 0;
}

.search-bar button {
  width: 56px;
  border: 0;
  background: var(--mdr-accent);
  color: #fff;
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
  display: grid;
  place-items: center;
}

/* Shortcuts */

.shortcuts {
  padding: 8px 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-announce {
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.5), transparent 28%),
    #d7e6db;
  padding: 40px 0 44px;
}

.section-announce .section-head {
  margin-bottom: 20px;
}

.section-announce .section-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-head-ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--mdr-primary);
  color: #fff;
  flex-shrink: 0;
}

.section-head-ico svg {
  display: block;
  width: 18px;
  height: 18px;
}

.announce-notices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.announce-notice {
  display: flex;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow:
    0 1px 0 rgba(20, 51, 34, 0.06),
    0 10px 22px rgba(20, 51, 34, 0.12);
}

.announce-notice a {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  color: inherit;
}

.announce-notice .thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  margin: 0;
}

.announce-notice .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.announce-notice .pill {
  align-self: flex-start;
  width: fit-content;
  background: #e7f4ec;
  color: #1b7a4a;
  margin: 0;
}

.announce-notice-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 12px 2px 2px;
}

.announce-notice h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  min-height: calc(1.35em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.announce-notice .meta {
  margin: auto 0 0;
  font-size: 12px;
}

.shortcuts-card {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--mdr-shadow);
  padding: 22px 12px;
  margin-bottom: 32px;
}

.shortcuts-toggle {
  display: none;
}

.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 8px;
}

.shortcut {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--mdr-text);
}

.shortcut-label {
  display: block;
  max-width: 100%;
}

.shortcut i {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--mdr-primary);
  background: var(--mdr-chip);
}

.shortcut i svg {
  width: 22px;
  height: 22px;
  display: block;
}

.shortcut:nth-child(even) i {
  background: var(--mdr-chip-alt);
  color: var(--mdr-warning);
}

/* Announce */

.section-pengumuman {
  display: none;
  padding: 0 0 32px;
}

.section-pengumuman.is-visible {
  display: block;
}

.announce-board {
  position: relative;
}

.announce-board-head {
  display: block;
  width: 100%;
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.announce-board-head:focus-visible {
  outline: 2px solid var(--mdr-primary);
  outline-offset: 4px;
  border-radius: 12px;
}

.announce-ribbon {
  display: grid;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(20, 51, 34, 0.12);
}

.announce-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 14px;
  background: #fff;
  color: #111827;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  border-bottom: 1px solid #eceff3;
}

.announce-kicker time {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  color: #111827;
  transition: opacity 220ms ease;
}

.announce-ico {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 0;
  background: none;
  color: #111827;
  display: grid;
  place-items: center;
}

.announce-ico svg {
  width: 20px;
  height: 20px;
  display: block;
  stroke-width: 2.4;
}

.announce-head-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px 16px;
  background: #fff;
  color: #1f2937;
}

.announce-head-copy strong {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #111827;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: opacity 220ms ease;
}

.announce-head-copy.is-swap strong,
.announce-kicker.is-swap time,
.announce-head-copy.is-swap time {
  opacity: 0;
}

.announce-caret {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #4b5563;
  background: #d5d8de;
  transition: transform 180ms ease;
}

.announce-board-head:hover .announce-kicker {
  background: #fff;
}

.announce-board.is-open .announce-ribbon {
  border-radius: 12px 12px 0 0;
  box-shadow: none;
}

.announce-board.is-open {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(20, 51, 34, 0.12);
}

.announce-caret svg {
  width: 16px;
  height: 16px;
  display: block;
}

.announce-board.is-open .announce-caret {
  display: none;
}

.announce-panel[hidden] {
  display: none !important;
}

.announce-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--mdr-border);
}

.announce-item:last-of-type {
  border-bottom: 0;
}

.announce-item-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.announce-item-copy em {
  font-style: normal;
  font-size: 12px;
  color: var(--mdr-muted);
}

.announce-more {
  display: block;
  padding: 10px 16px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mdr-primary);
  background: #eef8f2;
}

.announce-item time {
  width: 46px;
  min-width: 46px;
  height: 46px;
  display: grid;
  place-content: center;
  text-align: center;
  background: #e7f6ee;
  color: var(--mdr-navy);
  border-radius: 10px;
  line-height: 1.05;
}

.announce-item time .d {
  font-size: 16px;
  font-weight: 800;
}

.announce-item time .m {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mdr-primary);
}

.announce-item strong {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.announce-item:hover {
  background: #eef8f2;
}

.announce-empty {
  margin: 0;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--mdr-muted);
}

.announce-label {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: #f08a1a;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.announce p {
  margin: 0;
  flex: 1;
  font-size: 14px;
  color: var(--mdr-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-all {
  color: var(--mdr-primary);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* Sections */

.section {
  padding: 56px 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-head.on-dark h2,
.section-head.on-dark .link-all {
  color: #fff;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

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

.card {
  background: #fff;
  border-radius: var(--mdr-radius);
  overflow: hidden;
  box-shadow: var(--mdr-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 51, 34, 0.12);
}

.thumb {
  aspect-ratio: 16 / 10;
  background: #d4e8f4;
  overflow: hidden;
  position: relative;
}

.thumb .pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--mdr-primary);
  color: #fff;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.card:hover .thumb img {
  transform: scale(1.06);
}

.card-body {
  padding: 16px 18px 18px;
}

.card-body h3 {
  margin: 8px 0 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 700;
  background: var(--mdr-chip);
  color: var(--mdr-primary);
}

.meta {
  font-size: 13px;
  color: var(--mdr-muted);
  font-weight: 500;
}

.card-go {
  display: flex;
  justify-content: flex-end;
  color: var(--mdr-primary);
  font-weight: 700;
}

/* Agenda — lembar kalender meja + foto */

.section-agenda {
  position: relative;
  padding: 48px 0;
  background-color: #d8dce3;
  background-image:
    linear-gradient(rgba(27, 122, 74, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 122, 74, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.section-agenda > .container {
  position: relative;
  z-index: 1;
}

.section-agenda .slider-btn {
  border: 1px solid #c5ccd6;
  background: #fff;
  color: var(--mdr-navy);
}

.section-agenda .slider-btn:hover {
  background: #eef1f4;
}

.slider-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.agenda-slider {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 16px;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.agenda-slider.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  touch-action: none;
}

.agenda-slider::-webkit-scrollbar {
  display: none;
  height: 0;
}

.agenda-slider .agenda-card {
  flex: 0 0 248px;
  width: 248px;
  min-width: 248px;
  align-self: stretch;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.agenda-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 278px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(27, 42, 74, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.agenda-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(27, 42, 74, 0.14);
}

.agenda-card > a {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
}

.agenda-bind {
  height: 8px;
  margin: 7px 18px 0;
  background-image: radial-gradient(circle at 50% 50%, #c5ccd4 0 1.6px, transparent 1.9px);
  background-size: 9px 8px;
  background-repeat: repeat-x;
  pointer-events: none;
}

.agenda-card .thumb {
  position: relative;
  flex: 0 0 132px;
  height: 132px;
  aspect-ratio: auto;
  margin: 8px 12px 0;
  border-radius: 8px;
  overflow: hidden;
  transform: none;
  background: #e8edf2;
}

.agenda-card .thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.agenda-when {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 30px;
  margin: 0 0 8px;
  flex: 0 0 auto;
}

.agenda-when .d {
  position: relative;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--mdr-accent);
  box-shadow: 0 2px 6px rgba(240, 138, 26, 0.35);
  line-height: 1;
}

.agenda-when .d::after {
  content: none;
}

.agenda-when .m {
  display: none;
}

.agenda-body {
  position: relative;
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  min-width: 0;
  flex: 1 1 auto;
}

.agenda-year {
  display: none;
}

.agenda-body .pill {
  display: none;
}

.agenda-date {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #8b95a3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agenda-zoom {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 51, 34, 0.72);
  cursor: zoom-out;
}

.agenda-zoom[hidden] {
  display: none;
}

.agenda-zoom .agenda-card {
  width: min(420px, 92vw);
  min-height: 0;
  flex: none;
  cursor: default;
  animation: agenda-zoom-in 0.28s ease;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
}

.agenda-zoom .agenda-card:hover {
  transform: none;
}

.agenda-zoom .agenda-card > a {
  cursor: default;
}

.agenda-zoom .agenda-card .thumb {
  flex: 0 0 220px;
  height: 220px;
}

@keyframes agenda-zoom-in {
  from {
    transform: scale(0.86);
    opacity: 0.4;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.agenda-body h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  height: calc(1.35em * 2);
  color: #3d4754;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.agenda-body .meta {
  margin: auto 0 0;
  font-size: 13px;
  line-height: 1.4;
  min-height: 1.4em;
  font-weight: 400;
  color: #9aa3af;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
}

/* Guru — kartu biru muda, foto berbingkai putih */

.section-guru {
  position: relative;
  padding: 48px 0 56px;
  background-color: var(--mdr-primary);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-opacity='0.07' stroke-width='1.2' d='M40 8 L52 22 L68 28 L56 42 L58 58 L40 50 L22 58 L24 42 L12 28 L28 22 Z'/%3E%3C/svg%3E"),
    linear-gradient(145deg, var(--mdr-secondary) 0%, var(--mdr-primary) 48%, var(--mdr-primary-hover) 100%);
  background-size: 96px 96px, auto;
}

.section-guru > .container {
  position: relative;
  z-index: 1;
}

.teacher-card {
  display: block;
  background: var(--mdr-chip);
  border-radius: 16px;
  padding: 14px 14px 16px;
  text-align: center;
  box-shadow: var(--mdr-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.teacher-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 51, 34, 0.12);
}

.teacher-card .frame {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.teacher-card .frame img,
.teacher-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
}

.teacher-card strong {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--mdr-text);
  line-height: 1.3;
}

.teacher-card span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--mdr-muted);
  font-weight: 500;
}

body.single-guru,
body.single-alumni {
  background: var(--mdr-bg);
}

.profile-person {
  position: relative;
  padding: 8px 0 40px;
  background-color: var(--mdr-primary);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-opacity='0.07' stroke-width='1.2' d='M40 8 L52 22 L68 28 L56 42 L58 58 L40 50 L22 58 L24 42 L12 28 L28 22 Z'/%3E%3C/svg%3E"),
    linear-gradient(145deg, var(--mdr-secondary) 0%, var(--mdr-primary) 48%, var(--mdr-primary-hover) 100%);
  background-size: 96px 96px, auto;
}

.profile-person > .container {
  position: relative;
  z-index: 1;
}

.profile-sheet {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(20, 51, 34, 0.18);
  padding: 20px;
}

.profile-photo {
  background: var(--mdr-chip);
  border-radius: 16px;
  padding: 12px;
}

.profile-photo .frame {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.profile-photo img.cutout {
  background: #0b2744;
}

.profile-identity {
  padding: 10px 12px 8px 0;
}

.profile-identity .pill {
  margin-bottom: 12px;
}

.profile-identity h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--mdr-navy);
}

.profile-role {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--mdr-primary);
}

.profile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

.profile-chips li {
  background: var(--mdr-chip);
  color: var(--mdr-navy);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
}

.profile-bio {
  margin-top: 18px;
  max-width: 42em;
}

.profile-bio p {
  margin: 0 0 12px;
  color: var(--mdr-text);
}

.profile-bio p:last-child {
  margin-bottom: 0;
}

.profile-back {
  display: inline-flex;
  margin-top: 22px;
  color: var(--mdr-primary);
  font-weight: 700;
  font-size: 14px;
}

.profile-back:hover {
  color: var(--mdr-primary-hover);
}

.profile-related {
  padding: 40px 0 64px;
}

.visimisi {
  padding: 8px 0 64px;
}

.motto-banner {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--mdr-shadow);
  padding: 22px 28px 26px;
  margin-bottom: 20px;
  text-align: center;
}

.motto-kicker {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mdr-muted);
}

.motto-words {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 10px 8px;
  margin: 10px 0 0;
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.motto-words span {
  color: var(--mdr-navy);
}

.motto-words .is-accent {
  color: var(--mdr-accent);
}

.motto-dot {
  width: 6px;
  height: 6px;
  margin: 0 10px 7px;
  border-radius: 50%;
  background: var(--mdr-border);
  flex: 0 0 6px;
}

.visi-card {
  margin: 0 0 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--mdr-shadow);
  padding: 28px 32px 30px;
  border-left: 4px solid var(--mdr-primary);
}

.visi-card figcaption {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mdr-primary);
}

.visi-card blockquote {
  margin: 10px 0 0;
}

.visi-card p {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--mdr-navy);
}

.misi-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--mdr-shadow);
  padding: 28px 32px 10px;
}

.misi-card h2 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mdr-primary);
}

.misi-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: misi;
}

.misi-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 8px 16px;
  align-items: start;
  counter-increment: misi;
  padding: 18px 0;
  border-top: 1px solid var(--mdr-border);
  color: var(--mdr-text);
  font-size: 17px;
  line-height: 1.7;
}

.misi-list li:first-child {
  border-top: 0;
}

.misi-list li::before {
  content: counter(misi, decimal-leading-zero);
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--mdr-accent);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: block;
  padding-top: 3px;
  place-items: unset;
}

.section-prestasi {
  padding-top: 8px;
}

.archive-prestasi {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.prestasi-card {
  height: 100%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(20, 51, 34, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.prestasi-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.prestasi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(20, 51, 34, 0.1);
}

.prestasi-card:hover .thumb img {
  transform: scale(1.05);
}

.prestasi-card .thumb {
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 0;
}

.prestasi-card .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(7, 26, 51, 0.5) 100%);
}

.prestasi-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
  padding: 14px 16px 16px;
}

.thumb .trophy-pill {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
}

.trophy-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 10px 5px 8px;
  font-size: 12px;
  font-weight: 700;
  background: #fff6e5;
  color: #b45309;
}

.page-hero .trophy-pill,
.single-meta .trophy-pill {
  position: static;
}

.trophy-pill.is-gold {
  background: #fbbf24;
  color: #78350f;
}

.trophy-pill.is-silver {
  background: #e2e8f0;
  color: #334155;
}

.trophy-pill.is-bronze {
  background: #f4d4c4;
  color: #9a3412;
}

.trophy-pill svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.prestasi-body h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prestasi-body .meta {
  margin: 0;
}

/* Fasilitas */

.fasilitas-item {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  color: #fff;
  box-shadow: var(--mdr-shadow);
}

.fasilitas-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--mdr-accent);
  z-index: 2;
}

.fasilitas-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(7, 26, 51, 0.82));
  z-index: 1;
}

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

.fasilitas-item span,
.fasilitas-item p {
  position: absolute;
  left: 16px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  text-align: left;
  color: #fff;
}

.fasilitas-item .thumb {
  height: 100%;
}

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

/* Footer */

.site-footer {
  background: var(--mdr-navy);
  color: #e8eef5;
  padding: 56px 0 0;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 0;
}

.footer-identity {
  display: grid;
  gap: 14px;
  align-content: start;
}

.play-badge {
  display: block;
  width: fit-content;
  margin-top: 4px;
}

.play-badge img {
  width: 128px;
  height: auto;
  background: none;
  border-radius: 0;
  padding: 0;
}

.footer-contact {
  margin: 0 0 22px;
}

.footer-contact a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.footer-brand img,
.footer-brand img.site-logo {
  display: none;
}

.footer-brand strong {
  display: block;
  font-size: 18px;
}

.footer-brand span {
  display: block;
  font-size: 13px;
  color: #9fb0c4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1.2fr 1.1fr;
  gap: 32px 40px;
  padding-bottom: 40px;
}

.site-footer h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mdr-secondary);
}

.site-footer a,
.site-footer p {
  color: #c5d2e2;
  font-size: 14px;
}

.site-footer ul {
  display: grid;
  gap: 8px;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mdr-chip);
  border: 1px solid var(--mdr-secondary);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--mdr-navy);
  font-weight: 700;
}

.site-footer .phone-pill {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 0;
  display: grid;
  place-items: center;
  color: #fff;
}

.socials a svg {
  width: 16px;
  height: 16px;
  display: block;
}

.socials a.is-facebook { background: #1877f2; }
.socials a.is-youtube { background: #ff0000; }
.socials a.is-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.socials a:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  text-align: center;
  font-size: 13px;
  color: #8fa0b5;
}

.mock-bar {
  background: #0f2744;
  color: #d7e3ef;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 0;
}

.mock-bar .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.mock-bar a {
  color: #fff;
}

/* Inner pages */

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(255, 143, 30, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 70% at 0% 100%, rgba(21, 120, 200, 0.1), transparent 50%),
    linear-gradient(180deg, var(--mdr-chip), var(--mdr-bg));
  padding: 40px 0 28px;
}

.page-hero.is-profile {
  padding: 44px 0 36px;
}

.crumb {
  display: flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 0;
  max-width: 100%;
  background: none;
  border: 0;
  box-shadow: none;
  font-size: 12px;
  line-height: 1.45;
  color: #9aa3af;
}

.crumb-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
  width: 100%;
}

.crumb-item {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex: 0 0 auto;
}

.crumb-item:last-child {
  flex: 1 1 auto;
}

.crumb-item + .crumb-item::before {
  content: "";
  width: 4px;
  height: 4px;
  margin: 0 8px;
  flex: 0 0 auto;
  border-right: 1px solid #c5ccd6;
  border-top: 1px solid #c5ccd6;
  transform: rotate(45deg);
}

.crumb a {
  color: #8b95a3;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.crumb-mid {
  color: #9aa3af;
  font-weight: 400;
  white-space: nowrap;
}

.crumb a:hover {
  color: var(--mdr-primary);
  text-decoration: none;
}

.crumb-now {
  color: #9aa3af;
  font-weight: 400;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--mdr-navy);
}

.page-hero h1 em {
  font-style: italic;
  font-weight: 800;
  color: var(--mdr-accent);
}

.page-lead {
  margin: 12px 0 0;
  max-width: 34em;
  font-size: 17px;
  color: var(--mdr-muted);
}

.page-hero:has(.archive-tools) {
  padding: 28px 0 20px;
}

.page-hero:has(.archive-tools) h1 {
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 700;
}

.page-hero:has(.archive-tools) .page-lead {
  margin-top: 8px;
  font-size: 15px;
}

.archive-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 16px;
}

.archive-search {
  display: flex;
  align-items: stretch;
  min-width: min(100%, 260px);
  background: #fff;
  border-radius: 999px;
  border: 1px solid #e8efe9;
  box-shadow: none;
  overflow: hidden;
}

.archive-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 8px 14px 8px 16px;
  font: 400 14px/1.4 Outfit, sans-serif;
  color: var(--mdr-text);
  background: transparent;
}

.archive-search input:focus {
  outline: none;
}

.archive-search button {
  border: 0;
  margin: 3px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--mdr-primary);
  color: #fff;
  font: 600 13px Outfit, sans-serif;
  cursor: pointer;
}

.archive-search button:hover {
  background: var(--mdr-primary-hover);
}

.archive-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.archive-chips a {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: transparent;
  color: var(--mdr-muted);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #e8efe9;
}

.archive-chips a.is-on,
.archive-chips a:hover {
  background: #fff;
  color: var(--mdr-primary);
  border-color: #cfe0d4;
}

.section-archive {
  padding-top: 8px;
}

.archive-feature {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8efe9;
  box-shadow: none;
  margin-bottom: 28px;
}

.archive-feature > a {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: stretch;
}

.archive-feature .thumb {
  aspect-ratio: auto;
  height: 240px;
  min-height: 240px;
  max-height: 240px;
}

.archive-feature .thumb img {
  transform: none;
}

.archive-feature:hover .thumb img {
  transform: none;
}

.archive-feature-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.archive-feature-body .kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mdr-primary);
}

.archive-feature-body .meta {
  margin: 4px 0 0;
}

.archive-feature-body h2 {
  margin: 8px 0;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--mdr-navy);
}

.archive-feature-body .lead {
  margin: 0;
  color: var(--mdr-muted);
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive-feature-body .card-go {
  display: none;
}

.card-body .excerpt {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--mdr-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.navigation.pagination {
  margin-top: 40px;
}

.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.navigation.pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  background: #fff;
  color: var(--mdr-navy);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--mdr-shadow);
}

.navigation.pagination .page-numbers.current,
.navigation.pagination a.page-numbers:hover {
  background: var(--mdr-primary);
  color: #fff;
}

.layout-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 40px;
  padding: 28px 0 56px;
  align-items: start;
}

.layout-2.is-contact,
.layout-2:has(.js-wa-form) {
  align-items: start;
}

.layout-2.is-contact > .panel,
.layout-2:has(.js-wa-form) > .panel,
.layout-2.is-contact > .sidebar-card,
.layout-2:has(.js-wa-form) > .sidebar-card {
  height: auto;
}

.layout-2.is-contact > .panel:not(form),
.layout-2:has(.js-wa-form) > .panel:not(form) {
  display: flex;
  flex-direction: column;
}

.layout-2.is-contact .js-wa-form,
.layout-2:has(.js-wa-form) .js-wa-form {
  flex: none;
  height: auto;
}

.layout-2.is-contact .js-wa-form textarea,
.layout-2:has(.js-wa-form) .js-wa-form textarea {
  min-height: 140px;
  height: auto;
}

.layout-2.is-contact > .sidebar-card,
.layout-2:has(.js-wa-form) > .sidebar-card {
  display: flex;
  flex-direction: column;
}

.layout-2.is-contact .map-embed,
.layout-2:has(.js-wa-form) .map-embed {
  margin-top: 8px;
}

.contact-visual {
  height: 220px;
  margin: 0 0 18px;
  border-radius: 12px;
  overflow: hidden;
  background: #dce8df;
}

.panel > .contact-visual:first-child {
  margin: -8px 0 20px;
}

.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  display: block;
}

.layout-2 .single-wrap {
  max-width: none;
  margin: 0;
  padding: 8px 0 0;
}

.sidebar-feed {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 88px;
}

.sidebar-feed-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8efe9;
  box-shadow: none;
  padding: 12px 14px 8px;
}

.sidebar-feed-card.is-min {
  padding-bottom: 10px;
}

.sidebar-feed-card.is-min .sidebar-feed-body {
  display: none;
}

.sidebar-feed-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 8px;
  border-bottom: 1px solid #edf3ee;
}

.sidebar-feed-card.is-min .sidebar-feed-head {
  padding-bottom: 0;
  border-bottom: 0;
}

.sidebar-feed-head h3 {
  margin: 0;
  flex: 1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mdr-primary);
}

.sidebar-feed-tools {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.sidebar-feed-head .link-all {
  font-size: 12px;
  font-weight: 500;
  color: var(--mdr-muted);
  padding: 4px 4px;
}

.sidebar-feed-head .link-all:hover {
  color: var(--mdr-primary);
}

.feed-min {
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  color: var(--mdr-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.feed-min:hover {
  background: #eef8f2;
  color: var(--mdr-primary);
}

.feed-min svg {
  width: 14px;
  height: 14px;
  display: block;
  transition: transform 0.18s ease;
}

.sidebar-feed-card.is-min .feed-min svg {
  transform: rotate(-90deg);
}

.sidebar-feed-body {
  padding-top: 2px;
}

.feed-note {
  display: grid;
  gap: 2px;
  padding: 9px 0;
  border-bottom: 1px solid #edf3ee;
  color: inherit;
}

.feed-note:last-child {
  border-bottom: 0;
}

.feed-note time {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--mdr-muted);
}

.feed-note strong {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--mdr-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feed-note:hover strong {
  color: var(--mdr-primary);
}

.cal-mini-label {
  margin: 8px 2px 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mdr-muted);
}

.cal-mini {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  margin: 0 0 4px;
  padding: 6px 4px 8px;
  background: #f6f9f6;
  border-radius: 10px;
}

.cal-dow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--mdr-muted);
  padding: 0 0 4px;
}

.cal-day {
  position: relative;
  display: grid;
  place-items: center;
  height: 28px;
  font-size: 12px;
  font-weight: 500;
  color: var(--mdr-text);
  border-radius: 50%;
  text-decoration: none;
}

.cal-day.is-pad {
  pointer-events: none;
}

.cal-day.is-today {
  box-shadow: inset 0 0 0 1.5px var(--mdr-primary);
  color: var(--mdr-primary);
  font-weight: 700;
}

.cal-day.has-event::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--mdr-accent);
}

.cal-day.has-event:hover {
  background: #eef8f2;
}

.feed-contact {
  display: grid;
  gap: 10px;
  padding: 10px 0 8px;
}

.feed-contact p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--mdr-muted);
}

.feed-contact a:not(.phone-pill) {
  color: var(--mdr-navy);
  font-weight: 600;
  word-break: break-word;
}

.sidebar-feed .phone-pill {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}

.sidebar-feed .map-embed {
  min-height: 0;
  margin: 8px 0 10px;
  border-radius: 10px;
}

.map-embed-static .map-static-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: var(--mdr-chip);
  border: 1px solid var(--mdr-border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--mdr-text);
  transition: background 0.2s;
}

.map-embed-static .map-static-link:hover {
  background: #c6eedd;
}

.map-embed-static .map-static-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-embed-static .map-static-label {
  font-size: 12px;
  color: var(--mdr-muted);
  text-align: center;
  line-height: 1.4;
}

.map-embed-static .map-static-open {
  font-size: 12px;
  font-weight: 700;
  color: var(--mdr-primary);
}

.sidebar-feed .map-embed .map-open {
  padding: 7px 10px;
  font-size: 12px;
}

.announce-archive-main {
  min-width: 0;
}

.layout-2 .announce-feature.has-thumb > a {
  grid-template-columns: 1fr;
}

.layout-2 .announce-feature .thumb {
  min-height: 160px;
  height: 160px;
}

.archive-agenda,
.section-agenda .grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, 248px);
  justify-content: center;
  justify-items: stretch;
  align-items: stretch;
  gap: 20px;
}

.section-announce-archive {
  padding-top: 8px;
}

.announce-feature {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--mdr-shadow);
  overflow: hidden;
  margin-bottom: 20px;
}

.announce-feature > a {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 168px;
  color: inherit;
}

.announce-feature.has-thumb > a {
  grid-template-columns: 1.25fr minmax(200px, 0.85fr);
}

.announce-feature-main {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
}

.announce-feature-date {
  display: grid;
  place-content: center;
  flex: 0 0 72px;
  width: 72px;
  min-height: 76px;
  text-align: center;
  background: var(--mdr-chip);
  color: var(--mdr-navy);
  border-radius: 14px;
  line-height: 1.05;
}

.announce-feature-date .d {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.announce-feature-date .m {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mdr-primary);
}

.announce-feature-date .y {
  font-size: 11px;
  font-weight: 600;
  color: var(--mdr-muted);
}

.announce-feature-copy {
  min-width: 0;
}

.announce-feature-copy .pill {
  background: #e7f4ec;
  color: var(--mdr-primary);
}

.announce-feature-copy h2 {
  margin: 8px 0 0;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--mdr-navy);
}

.announce-feature-copy p {
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--mdr-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.announce-feature .thumb {
  min-height: 168px;
  height: 100%;
  margin: 0;
  border-radius: 0;
}

.announce-feature .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.announce-feature:hover h2 {
  color: var(--mdr-primary);
}

.archive-pengumuman {
  display: grid;
  gap: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--mdr-shadow);
  overflow: hidden;
}

.announce-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 10px;
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--mdr-border);
  color: inherit;
  transition: background 0.15s ease;
}

.announce-row:last-child {
  border-bottom: 0;
}

.announce-row time {
  width: 52px;
  min-width: 52px;
  height: 52px;
  display: grid;
  place-content: center;
  text-align: center;
  background: #eef8f2;
  color: var(--mdr-navy);
  border-radius: 12px;
  line-height: 1.05;
}

.announce-row time .d {
  font-size: 18px;
  font-weight: 800;
}

.announce-row time .m {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mdr-primary);
}

.announce-row-copy {
  min-width: 0;
}

.announce-row-copy strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--mdr-navy);
}

.announce-row-copy em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: var(--mdr-muted);
}

.announce-row::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #c5d4ca;
  border-top: 2px solid #c5d4ca;
  transform: rotate(45deg);
}

.announce-row:hover {
  background: #f6fbf7;
}

.announce-row:hover strong {
  color: var(--mdr-primary);
}

.announce-row:hover::after {
  border-color: var(--mdr-primary);
}

.announce-empty-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--mdr-shadow);
  padding: 36px 24px;
  text-align: center;
}

.announce-empty-card p {
  margin: 0;
  color: var(--mdr-muted);
}

.panel {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--mdr-shadow);
  padding: 28px 32px;
}

.panel h2 {
  margin: 28px 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--mdr-navy);
}

.panel h2:first-of-type {
  margin-top: 22px;
}

.panel ul {
  margin: 0 0 8px;
  padding-left: 1.15em;
}

.panel li {
  margin: 0 0 6px;
}

.panel p {
  color: var(--mdr-text);
}

.panel a {
  color: var(--mdr-primary);
  font-weight: 600;
}

.sidebar-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--mdr-shadow);
  padding: 22px;
}

.sidebar-card img {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  margin: 12px 0 16px;
}

.sidebar-card .portrait {
  background: #0b2744;
  border-radius: 12px;
  margin: 12px 0 16px;
  overflow: hidden;
}

.sidebar-card .portrait img {
  aspect-ratio: auto;
  width: 100%;
  max-height: 380px;
  height: 380px;
  object-fit: cover;
  object-position: top center;
  margin: 0;
  border-radius: 0;
}

.sambutan-banner {
  width: 100%;
  border-radius: 12px;
  margin: 0 0 22px;
  aspect-ratio: auto;
  object-fit: cover;
}

.teacher-card .frame img.cutout {
  object-fit: cover;
  object-position: top center;
  background: #0b2744;
}

.sidebar-card h3 {
  margin: 0;
  font-size: 18px;
}

.sidebar-card.sidebar-identity p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--mdr-muted);
}

.sidebar-card.sidebar-identity .phone-pill {
  margin-top: 4px;
}

.sidebar-card.sidebar-identity .map-embed {
  margin-top: 16px;
}

.profile-facts {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  border-top: 1px solid var(--mdr-border);
}

.profile-facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--mdr-border);
  font-size: 13px;
}

.profile-facts span {
  color: var(--mdr-muted);
}

.profile-facts strong {
  color: var(--mdr-navy);
}

.profile-heading {
  margin: 18px 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mdr-primary);
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.profile-table th {
  background: var(--mdr-primary);
  color: #fff;
  text-align: left;
  padding: 8px 10px;
  font-weight: 600;
}

.profile-table td {
  border-bottom: 1px solid var(--mdr-border);
  padding: 8px 10px;
  vertical-align: top;
}

.profile-table td:first-child {
  color: var(--mdr-muted);
  width: 42%;
  white-space: normal;
}

.profile-table a {
  color: var(--mdr-primary);
  word-break: break-word;
}

.profile-table td:last-child {
  word-break: break-word;
}

/* Single */

.single-wrap {
  padding: 40px 0 64px;
  max-width: 800px;
  margin-inline: auto;
}

.single-wrap .crumb {
  margin-bottom: 14px;
}

.single-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  color: var(--mdr-muted);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 10px;
}

.meta:has(.views) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--mdr-muted);
  font-weight: 500;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
}

.views svg {
  width: 14px;
  height: 14px;
  opacity: 0.72;
  flex-shrink: 0;
}

.views b {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--mdr-navy);
}

.views em {
  font-style: normal;
  font-weight: 500;
  color: var(--mdr-muted);
}

.single-afterbody {
  margin-top: 18px;
}

.views.is-single {
  margin-left: 0;
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
  background: rgba(27, 122, 74, 0.08);
  gap: 6px;
}

.views.is-single svg {
  width: 15px;
  height: 15px;
  color: var(--mdr-primary);
  opacity: 1;
}

.views.is-card {
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid rgba(20, 51, 34, 0.12);
}

.single-meta .pill {
  font-size: 11px;
}

.single-wrap h1 {
  margin: 0 0 20px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--mdr-navy);
}

.featured {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
}

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

.share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--mdr-border);
  font-weight: 500;
  font-size: 13px;
  color: var(--mdr-muted);
}

.share a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0;
}

.share a svg {
  width: 18px;
  height: 18px;
  display: block;
}

.bg-fb { background: #1877f2; }
.bg-wa { background: #25d366; }
.bg-tg { background: #229ed9; }
.bg-x { background: #111; }

.comments {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--mdr-border);
}

.comments > h2 {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mdr-muted);
}

.comments #reply-title {
  display: none;
}

.comment-empty,
.comment-notes,
.comment-closed,
.logged-in-as,
.comment-awaiting {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--mdr-muted);
}

.comment-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.comment-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: start;
}

.comment-avatar,
.comment-avatar img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--mdr-chip);
  color: var(--mdr-primary);
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.comment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
}

.comment-author {
  font-size: 13px;
  font-weight: 700;
  color: var(--mdr-navy);
}

.comment-head time {
  font-size: 12px;
  font-weight: 500;
  color: var(--mdr-muted);
}

.comment-text {
  margin-top: 2px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--mdr-text);
}

.comment-text p {
  margin: 0;
}

.comment-form p {
  margin: 0;
}

.comment-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--mdr-border);
  border-radius: 12px;
  padding: 10px 12px;
  font: 400 14px Outfit, sans-serif;
  color: var(--mdr-text);
  background: #f7faf7;
}

.comment-form textarea {
  min-height: 88px;
  resize: vertical;
  margin-bottom: 8px;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--mdr-primary);
  background: #fff;
}

.comment-form-cookies-consent {
  display: none;
}

.comment-form .form-submit {
  margin: 0;
}

.comment-form .form-submit .btn,
.comment-form input[type="submit"] {
  border: 0;
  min-width: 112px;
  min-height: 40px;
  padding: 10px 22px;
  font-size: 14px;
  line-height: 20px;
}

.comment-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: center;
}

.comment-form > *,
.comment-form .comment-form-comment,
.comment-form .comment-notes,
.comment-form .logged-in-as {
  grid-column: 1 / -1;
}

.comment-form-author,
.comment-form-email {
  grid-column: auto;
}

.comment-form .form-submit {
  grid-column: 1 / -1;
  justify-self: start;
}

@media (max-width: 640px) {
  .comment-form {
    grid-template-columns: 1fr;
  }

  .comment-form-author,
  .comment-form-email,
  .comment-form .form-submit {
    grid-column: 1 / -1;
  }

  .comment-form .form-submit {
    justify-self: start;
  }
}

.related {
  padding: 8px 0 64px;
}

/* PPDB / contact / 404 */

.status-banner {
  display: inline-flex;
  background: #dcfce7;
  color: var(--mdr-success);
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 16px;
}

.form {
  display: grid;
  gap: 12px;
}

.mdr-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--mdr-border);
  border-radius: 10px;
  padding: 12px 14px;
  font: 400 15px Outfit, sans-serif;
  color: var(--mdr-text);
  background: #fff;
}

.form input::placeholder,
.form textarea::placeholder {
  color: var(--mdr-muted);
  opacity: 1;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form .btn {
  justify-self: start;
  width: auto;
  min-width: 0;
}

.map-ph,
.map-embed {
  background: var(--mdr-chip);
  border-radius: 12px;
  min-height: 220px;
  overflow: hidden;
}

.map-ph {
  display: grid;
  place-items: center;
  color: var(--mdr-primary);
  font-weight: 600;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

.map-embed .map-open {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: var(--mdr-primary);
  background: #fff;
}

.empty-404 {
  text-align: center;
  padding: 80px 0;
}

.empty-404 h1 {
  font-size: 64px;
  margin: 0;
  color: var(--mdr-primary);
}

/* Ruang Karya */

.rk-page {
  background: #f6efe4;
}

.rk-hero {
  position: relative;
  overflow: hidden;
  padding: 36px 0 28px;
  background:
    radial-gradient(ellipse 50% 80% at 92% 8%, rgba(255, 143, 30, 0.16), transparent 55%),
    radial-gradient(ellipse 42% 70% at 0% 100%, rgba(21, 120, 200, 0.1), transparent 50%),
    linear-gradient(180deg, #fff8ee 0%, #f6efe4 100%);
}

.rk-hero::before {
  content: "";
  position: absolute;
  inset: 18px auto 40px 0;
  width: min(46%, 520px);
  background: repeating-linear-gradient(
    transparent 0 27px,
    rgba(214, 190, 154, 0.22) 27px 28px
  );
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 70%, transparent);
  pointer-events: none;
}

.rk-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px 40px;
  align-items: center;
  min-height: 280px;
}

.rk-hero .crumb {
  margin: 0 0 14px;
}

.rk-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--mdr-navy);
}

.rk-hero h1 em {
  display: block;
  font-style: italic;
  font-weight: 800;
  color: var(--mdr-accent);
}

.rk-lead {
  margin: 0;
  max-width: 28em;
  font-size: 17px;
  line-height: 1.5;
  color: #6b5e4e;
}

.rk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
}

.rk-chips a {
  border: 1px solid #eadfcd;
  background: #fff;
  color: var(--mdr-navy);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(27, 42, 74, 0.04);
}

.rk-chips a.is-on,
.rk-chips a:hover {
  background: var(--mdr-primary);
  border-color: var(--mdr-primary);
  color: #fff;
}

.rk-hero-stage {
  position: relative;
  height: 260px;
}

.rk-polaroid {
  position: absolute;
  margin: 0;
  width: 46%;
  background: #fff;
  padding: 8px 8px 22px;
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(27, 42, 74, 0.14);
}

.rk-polaroid img,
.rk-polaroid .thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 2px;
}

.rk-polaroid .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rk-p1 {
  left: 4%;
  top: 28px;
  transform: rotate(-9deg);
  z-index: 1;
}

.rk-p2 {
  right: 6%;
  top: 0;
  width: 52%;
  transform: rotate(5deg);
  z-index: 3;
}

.rk-p3 {
  left: 28%;
  bottom: 8px;
  width: 40%;
  transform: rotate(8deg);
  z-index: 2;
}

.rk-featured {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  min-height: 340px;
  background: #fffdf8;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--mdr-shadow);
  margin-bottom: 28px;
}

.rk-featured .thumb {
  aspect-ratio: auto;
  min-height: 340px;
  height: 100%;
}

.rk-featured-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rk-featured-body .kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--mdr-accent);
}

.rk-featured-body h2 {
  margin: 10px 0 12px;
  font-size: 28px;
  line-height: 1.25;
  color: var(--mdr-navy);
}

.rk-featured-body .meta {
  margin: 0 0 20px;
}

.rk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 64px;
}

.rk-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--mdr-shadow);
}

.rk-card a {
  display: block;
  color: inherit;
}

.rk-card .thumb {
  aspect-ratio: 4 / 3;
}

.rk-card .rk-card-body {
  padding: 14px 16px 18px;
  background: #fff;
}

.rk-card .pill {
  background: #fff6e5;
  color: #9a3412;
}

.rk-card h3 {
  margin: 8px 0 6px;
  font-size: 17px;
  line-height: 1.35;
}

.section-rk {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.55), transparent 28%),
    #efe4d2;
  padding: 28px 0 32px;
}

.rk-papers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 18px;
}

.rk-paper {
  position: relative;
  background: #fffdf7;
  border-radius: 2px 12px 8px 8px;
  padding: 10px 10px 12px;
  box-shadow:
    4px 5px 0 #e4d6c0,
    8px 9px 0 #d7c7ae;
  transform: rotate(-1.1deg);
}

.rk-paper:nth-child(2) {
  transform: rotate(1.15deg);
}

.rk-paper:nth-child(3) {
  transform: rotate(-0.7deg);
}

.rk-paper:nth-child(4) {
  transform: rotate(1.35deg);
}

.rk-paper::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(
    transparent 0 20px,
    rgba(214, 190, 154, 0.35) 20px 21px
  );
  pointer-events: none;
}

.rk-paper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 16px 16px 0;
  border-color: transparent #eadfcd transparent transparent;
  filter: drop-shadow(-1px 1px 0 #d8cbb8);
}

.rk-paper a {
  display: flex;
  flex-direction: column;
  color: inherit;
  position: relative;
  z-index: 1;
}

.rk-paper .thumb {
  aspect-ratio: 16 / 9;
  max-height: 78px;
  border-radius: 3px;
  margin-bottom: 0;
}

.rk-paper .pill {
  background: #fff6e5;
  color: #9a3412;
  margin-top: 8px;
}

.rk-paper-body {
  padding: 2px 4px 0;
}

.rk-paper h3 {
  margin: 6px 0 4px;
  font-size: 14px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rk-paper .meta {
  margin: 0;
  font-size: 12px;
}

.rk-paper:hover {
  transform: rotate(0deg) translateY(-3px);
  z-index: 2;
}

/* Responsive */

@media (max-width: 1100px) {
  .shortcuts-grid {
    grid-template-columns: repeat(5, 1fr);
    row-gap: 16px;
  }
}

@media (max-width: 960px) {
  .site-header {
    z-index: 80;
  }

  body.admin-bar .nav-shell {
    top: 32px;
  }

  @media (max-width: 782px) {
    body.admin-bar .nav-shell {
      top: 46px;
    }
  }

  .header-actions {
    display: none;
  }

  .shortcuts-card {
    padding: 0;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--mdr-border);
    background:
      linear-gradient(180deg, #f6fbf8 0%, #fff 48%);
  }

  .shortcuts-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 10px 12px 10px 10px;
    font: inherit;
    color: inherit;
    cursor: pointer;
    text-align: left;
  }

  .shortcuts-toggle:active {
    background: rgba(27, 122, 74, 0.04);
  }

  .shortcuts-toggle-ico {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--mdr-chip);
    box-shadow: inset 0 0 0 1px rgba(27, 122, 74, 0.08);
    display: grid;
    grid-template-columns: repeat(3, 5px);
    gap: 3px;
    place-content: center;
  }

  .shortcuts-toggle-ico i {
    width: 5px;
    height: 5px;
    border-radius: 1.5px;
    background: var(--mdr-primary);
    display: block;
  }

  .shortcuts-toggle-ico i:nth-child(even) {
    background: var(--mdr-accent);
  }

  .shortcuts-toggle-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    flex: 1;
    min-width: 0;
  }

  .shortcuts-toggle-copy strong {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--mdr-navy);
  }

  .shortcuts-toggle-copy small {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--mdr-navy);
  }

  .shortcuts-caret {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--mdr-border);
    position: relative;
    transform: none;
  }

  .shortcuts-caret::after {
    content: "";
    position: absolute;
    left: 11px;
    top: 10px;
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--mdr-primary);
    border-bottom: 2px solid var(--mdr-primary);
    transform: rotate(45deg);
    transition: transform 160ms ease, top 160ms ease;
  }

  .shortcuts-card:not(.is-min) .shortcuts-caret {
    background: var(--mdr-chip);
    box-shadow: none;
    transform: none;
    margin: 0;
  }

  .shortcuts-card:not(.is-min) .shortcuts-caret::after {
    transform: rotate(-135deg);
    top: 12px;
  }

  .shortcuts-card:not(.is-min) .shortcuts-toggle {
    border-bottom: 1px solid var(--mdr-border);
  }

  .shortcuts-card.is-min .shortcuts-grid {
    display: none;
  }

  .shortcuts-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px 4px;
    padding: 12px 8px 14px;
  }

  .m-tabbar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding: 6px 4px env(safe-area-inset-bottom, 0px);
    background: #fff;
    border-top: 1px solid var(--mdr-border);
    box-shadow: 0 -8px 24px rgba(20, 51, 34, 0.08);
  }

  .m-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--mdr-muted);
    font: 600 11px/1.2 Outfit, sans-serif;
    cursor: pointer;
  }

  .m-tab i {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
  }

  .m-tab svg {
    width: 22px;
    height: 22px;
  }

  .m-tab span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .m-tab.is-on,
  .m-tab[aria-expanded="true"] {
    color: var(--mdr-primary);
  }

  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  .site-footer {
    display: none;
  }

  .nav-drawer-head,
  .nav-drawer-foot {
    display: flex;
    align-items: center;
  }

  .nav-shell {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 88vw);
    z-index: 80;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 0 calc(88px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    box-shadow: -12px 0 40px rgba(20, 51, 34, 0.16);
    overflow: auto;
  }

  .nav-shell.is-open {
    display: flex;
  }

  .nav-drawer-head {
    position: sticky;
    top: 0;
    z-index: 1;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 16px 14px;
    background: #fff;
    border-bottom: 1px solid var(--mdr-border);
  }

  .nav-drawer-head strong {
    font-size: 17px;
    color: var(--mdr-navy);
  }

  .nav-close {
    width: 40px;
    height: 40px;
    border: 1px solid var(--mdr-border);
    border-radius: 10px;
    background: #fff;
    font-size: 22px;
    line-height: 1;
    color: var(--mdr-text);
  }

  .nav-drawer-foot {
    padding: 12px 16px 20px;
  }

  .nav-drawer-foot .btn {
    width: 100%;
  }

  .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 12px 16px;
  }

  .nav > li > a {
    padding: 12px 10px;
    font-size: 16px;
  }

  .nav > li.has-sub > a {
    justify-content: space-between;
  }

  .nav > li.has-sub > a .caret {
    transform: rotate(0deg);
    transition: transform 150ms;
  }

  .nav > li.has-sub.is-expanded > a .caret {
    transform: rotate(180deg);
  }

  .nav > li > a.is-active {
    box-shadow: none;
    background: var(--mdr-chip);
    border-radius: 10px;
  }

  .nav .sub,
  .nav .sub-menu {
    position: static;
    display: none;
    min-width: 0;
    border: 0;
    box-shadow: none;
    padding: 0 0 8px 8px;
  }

  .nav > li.is-expanded > .sub,
  .nav > li.is-expanded > .sub-menu {
    display: grid;
  }

  .nav .sub a,
  .nav .sub-menu a {
    padding: 10px 12px;
    font-size: 15px;
    border-radius: 8px;
  }

  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(20, 51, 34, 0.45);
  }

  .nav-backdrop.is-open {
    display: block;
  }

  .grid-3,
  .grid-2,
  .footer-grid,
  .layout-2 {
    grid-template-columns: 1fr;
  }

  .profile-sheet {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .profile-identity {
    padding: 4px 4px 8px;
    text-align: center;
  }

  .profile-chips,
  .profile-bio {
    justify-content: center;
  }

  .profile-bio {
    margin-inline: auto;
  }

  .profile-identity .pill {
    margin-inline: auto;
  }

  .section-agenda .grid-2,
  .archive-agenda {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
  }

  .sidebar-feed {
    position: static;
  }

  .archive-feature > a {
    grid-template-columns: 1fr;
  }

  .archive-feature .thumb {
    height: 180px;
    min-height: 180px;
    max-height: 180px;
    aspect-ratio: auto;
  }

  .contact-visual {
    height: 168px;
    margin: 0 0 16px;
  }

  .agenda-slider {
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
    padding: 4px 48px 20px 24px;
    gap: 12px;
    scroll-padding-inline: 24px;
  }

  .agenda-slider .agenda-card {
    flex: 0 0 min(78%, 300px);
    width: min(78%, 300px);
    min-width: min(78%, 300px);
    max-width: 300px;
  }

  .agenda-card:hover {
    transform: none;
  }

  .rk-hero-inner,
  .rk-featured,
  .rk-grid,
  .rk-papers,
  .announce-notices {
    grid-template-columns: 1fr 1fr;
  }

  .rk-hero-inner {
    grid-template-columns: 1fr;
  }

  .rk-hero-stage {
    height: 210px;
    max-width: 420px;
  }

  .rk-featured .thumb {
    min-height: 220px;
  }

  .rk-papers .rk-paper > a {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .rk-papers .rk-paper .thumb {
    flex: 0 0 132px;
    width: 132px;
    height: 74px;
    max-height: 74px;
    aspect-ratio: 16 / 9;
    margin: 0;
    overflow: hidden;
  }

  .rk-papers .rk-paper .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .rk-papers .rk-paper-body {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
  }

  .rk-papers .rk-paper .pill {
    margin-top: 0;
  }

  .rk-papers .rk-paper h3 {
    margin: 4px 0;
  }

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

  .hero {
    min-height: 360px;
  }

  .hero-inner {
    min-height: 360px;
    align-items: flex-end;
    padding: 28px 0 56px;
  }

  .hero-overlay {
    clip-path: none;
    background: linear-gradient(180deg, rgba(27, 122, 74, 0.28) 0%, rgba(27, 122, 74, 0.88) 62%, rgba(20, 51, 34, 0.94) 100%);
  }

  .hero-bg {
    object-position: center 20%;
  }

  .section,
  .section-agenda,
  .section-guru,
  .section-rk,
  .section-announce {
    padding: 40px 0;
  }

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

  .announce-feature.has-thumb > a {
    display: flex;
    flex-direction: column;
  }

  .announce-feature .thumb {
    min-height: 160px;
    max-height: 180px;
    order: -1;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--mdr-container), calc(100% - 32px));
  }

  .agenda-slider {
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
    padding: 4px 40px 20px 16px;
    scroll-padding-inline: 16px;
  }

  .mock-bar {
    font-size: 11px;
  }

  .site-header,
  .header-inner {
    height: 60px;
  }

  .brand {
    gap: 8px;
  }

  .brand img,
  img.site-logo {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .brand strong {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand span {
    display: none;
  }

  .hero {
    min-height: 280px;
  }

  .hero-inner {
    min-height: 280px;
    padding: 20px 0 48px;
  }

  .hero-copy h1 {
    font-size: 13px;
    letter-spacing: 0.1em;
  }

  .hero-copy .hero-motto {
    font-size: 28px;
  }

  .hero-copy .hero-lead {
    display: none;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    text-align: center;
  }

  .search-bar input {
    padding: 14px 16px;
    font-size: 16px;
  }

  .shortcuts-card {
    padding: 0;
    margin-bottom: 12px;
  }

  .shortcuts-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 8px 0;
    padding: 0 4px 10px;
  }

  .shortcut {
    min-height: 0;
    padding: 4px 2px 2px;
    font-size: 11px;
    line-height: 1.2;
    gap: 4px;
  }

  .shortcut i {
    width: 42px;
    height: 42px;
  }

  .shortcut i svg {
    width: 18px;
    height: 18px;
  }

  .shortcut-label[data-short] {
    font-size: 0;
  }

  .shortcut-label[data-short]::after {
    content: attr(data-short);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
  }

  .section-head {
    flex-wrap: wrap;
    gap: 8px;
  }

  .section-head h2 {
    font-size: 22px;
  }

  .announce-head-copy {
    padding: 12px 14px;
  }

  .announce-head-copy strong {
    font-size: 14px;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .visi-card,
  .misi-card {
    padding: 22px 20px 8px;
  }

  .visi-card {
    padding-bottom: 24px;
  }

  .motto-words {
    font-size: 24px;
  }

  .motto-dot {
    display: none;
  }

  .misi-list li {
    grid-template-columns: 40px minmax(0, 1fr);
    font-size: 16px;
  }

  .archive-prestasi {
    grid-template-columns: 1fr;
  }

  .announce-feature-main {
    padding: 18px 16px 20px;
    gap: 14px;
  }

  .announce-feature-date {
    flex-basis: 60px;
    width: 60px;
    min-height: 68px;
  }

  .announce-feature-date .d {
    font-size: 24px;
  }

  .announce-row {
    padding: 14px 14px;
    gap: 12px;
  }

  .section-agenda .grid-2,
  .archive-agenda {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .rk-papers,
  .rk-grid,
  .announce-notices {
    grid-template-columns: 1fr;
  }

  .rk-paper {
    transform: none;
    padding: 8px;
  }

  .rk-paper:nth-child(n) {
    transform: none;
  }

  .rk-papers .rk-paper > a {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .rk-papers .rk-paper .thumb {
    flex: 0 0 132px;
    width: 132px;
    height: 74px;
    max-height: 74px;
    aspect-ratio: 16 / 9;
    margin: 0;
    overflow: hidden;
  }

  .rk-papers .rk-paper .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .rk-papers .rk-paper-body {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
  }

  .rk-paper .pill {
    margin-top: 0;
  }

  .rk-paper h3 {
    margin: 4px 0;
    font-size: 14px;
  }

  .rk-hero-stage {
    display: none;
  }

  .rk-hero {
    padding-bottom: 8px;
  }

  .rk-chips {
    margin-bottom: 8px;
  }

  .footer-identity,
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .slider-btn {
    display: none;
  }
}
