/*
Theme Name: KOMA — Audit Review
Description: Review-only visual refinement of the KOMA redesign. Do not activate on production before approval.
Template: koma-native-theme
Version: 0.9.0
Text Domain: koma-review
*/

:root {
  --ink: #1a1a1a;
  --paper: #f7f4ec;
  --white: #ffffff;
  --surface: #ffffff;
  --gray: rgba(26, 26, 26, 0.62);
  --line: rgba(26, 26, 26, 0.12);
  --merah: #e6350b;
  --hijau: #2f9e14;
  --biru: #4000ff;
  --ungu: #8a00a6;
  --koma-section-y: 50px;
  --koma-gutter: 60px;
  --koma-content-width: 1180px;
}

@media (max-width: 1024px) {
  :root {
    --koma-gutter: 40px;
  }
}

@media (max-width: 640px) {
  :root {
    --koma-gutter: 20px;
  }
}

/* -------------------------------------------------------------------------
 * About and Program page
 * ------------------------------------------------------------------------- */
.koma-page-head {
  padding-block: 50px;
  border-bottom: 1px solid var(--line);
}

.koma-page-head h1 {
  max-width: 26ch;
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.15;
}

.koma-about-history {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 56px;
}

.koma-about-history p {
  margin: 0 0 16px;
  color: var(--gray);
  font-size: 15.5px;
  line-height: 1.7;
}

.koma-placeholder-photo {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  background:
    linear-gradient(200deg, rgba(26, 26, 26, 0.08), rgba(26, 26, 26, 0.55) 78%),
    repeating-linear-gradient(115deg, #cfcabc 0 2px, #d8d3c5 2px 4px);
  filter: grayscale(1);
}

.koma-timeline {
  position: relative;
  margin-top: 50px;
}

.koma-timeline-track {
  position: absolute;
  top: 9px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--line);
}

.koma-timeline ol {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
}

.koma-timeline li {
  position: relative;
  flex: 1;
  text-align: center;
}

.koma-timeline-dot {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto 16px;
  border: 2px solid #237a0f;
  border-radius: 50%;
  background: var(--paper);
}

.koma-timeline-dot.is-red { border-color: var(--merah); }
.koma-timeline-dot.is-blue { border-color: var(--biru); }
.koma-timeline-dot.is-green { border-color: #237a0f; }

.koma-timeline-when,
.koma-timeline-what {
  display: block;
}

.koma-timeline-when {
  margin-bottom: 6px;
  color: var(--gray);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.koma-timeline-what {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 16.5px;
  font-weight: 600;
}

.koma-program-band {
  background: #efeadd;
}

.koma-section-head {
  margin-bottom: 44px;
}

.koma-section-head h2 {
  margin: 6px 0 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
}

.koma-program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  border: 1px solid var(--line);
  background: var(--line);
}

.koma-program-card {
  padding: 30px 26px;
  background: var(--paper);
}

.koma-program-card h3 {
  margin: 0 0 10px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 16.5px;
  font-weight: 600;
}

.koma-program-card p {
  margin: 0;
  color: var(--gray);
  font-size: 13.6px;
  line-height: 1.55;
}

.koma-program-bar {
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 16px;
}

.koma-program-bar.is-red { background: var(--merah); }
.koma-program-bar.is-blue { background: var(--biru); }
.koma-program-bar.is-purple { background: var(--ungu); }
.koma-program-bar.is-violet { background: #6b1fa6; }
.koma-program-bar.is-green { background: #237a0f; }
.koma-program-bar.is-orange { background: #b85c00; }

.koma-cta-band {
  padding-block: 50px;
  background: var(--ink);
  color: var(--paper);
}

.koma-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.koma-cta-inner h2 {
  margin: 0 0 8px;
  color: var(--paper);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 26px;
  font-weight: 600;
}

.koma-cta-inner p {
  margin: 0;
  color: rgba(247, 244, 236, 0.68);
  font-size: 14.5px;
}

.koma-cta-inner .btn {
  color: var(--white) !important;
  text-decoration: none;
}

@media (max-width: 860px) {
  .koma-about-history {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

@media (max-width: 700px) {
  .koma-timeline ol {
    flex-direction: column;
    gap: 28px;
  }

  .koma-timeline-track {
    display: none;
  }

  .koma-timeline li {
    display: grid;
    grid-template-columns: 18px 1fr;
    column-gap: 16px;
    text-align: left;
  }

  .koma-timeline-dot {
    grid-row: span 2;
    margin: 2px 0 0;
  }
}

@media (max-width: 520px) {
  .koma-program-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------
 * Editorial / Kegiatan page
 * ------------------------------------------------------------------------- */
.koma-kegiatan-page .koma-page-head h1 {
  max-width: none;
}

.koma-editorial-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}

.koma-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.koma-pill {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.koma-pill:hover,
.koma-pill:focus-visible {
  border-color: var(--ink);
}

.koma-pill.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.koma-search {
  display: flex;
  align-items: center;
  width: min(100%, 240px);
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
}

.koma-search svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  opacity: .58;
  stroke: currentColor;
  stroke-width: 2;
}

.koma-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 13.5px/1.2 Inter, sans-serif;
}

.koma-featured-article {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 44px;
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}

.koma-article-media {
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: #d8d3c5;
}

.koma-featured-article .koma-article-media {
  aspect-ratio: 16 / 10;
}

.koma-article-card .koma-article-media {
  aspect-ratio: 16 / 11;
  margin-bottom: 16px;
}

.koma-article-media img,
.koma-placeholder-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.koma-placeholder-thumb {
  background:
    linear-gradient(200deg, rgba(26, 26, 26, .08), rgba(26, 26, 26, .55) 75%),
    repeating-linear-gradient(70deg, #d4cfc0 0 3px, #e2ddce 3px 6px);
}

.koma-article-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 2px;
  color: var(--white);
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.koma-article-tag.is-red { background: var(--merah); }
.koma-article-tag.is-blue { background: var(--biru); }
.koma-article-tag.is-purple { background: var(--ungu); }
.koma-article-tag.is-green { background: #237a0f; }

.koma-featured-content h2,
.koma-article-card h3 {
  margin: 0 0 12px;
  font-weight: 600;
}

.koma-featured-content h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.28;
}

.koma-featured-content h2 a,
.koma-article-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.koma-featured-content h2 a:hover,
.koma-featured-content h2 a:focus-visible,
.koma-article-card h3 a:hover,
.koma-article-card h3 a:focus-visible {
  color: #237a0f;
}

.koma-featured-content p {
  margin: 0 0 16px;
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.65;
}

.koma-article-meta {
  color: var(--gray);
  font-family: Inter, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
}

.koma-read-more {
  color: #237a0f;
  font-weight: 700;
}

.koma-grid-head {
  margin-bottom: 24px;
  color: var(--gray);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.koma-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 28px;
}

.koma-article-card h3 {
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 1.35;
}

.koma-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
}

.koma-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
  font: 700 13px/1 Inter, sans-serif;
  text-decoration: none;
}

.koma-pagination .current {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.koma-empty-state {
  padding: 0;
  border-block: 1px solid var(--line);
}

.koma-empty-state h2 {
  margin: 0 0 8px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 26px;
}

.koma-empty-state p {
  margin: 0;
  color: var(--gray);
}

@media (max-width: 860px) {
  .koma-featured-article {
    grid-template-columns: 1fr;
    gap: 26px;
  }

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

@media (max-width: 640px) {
  .koma-editorial-filter {
    align-items: stretch;
  }

  .koma-search {
    width: 100%;
  }

  .koma-article-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------
 * Member and board directory
 * ------------------------------------------------------------------------- */
.koma-anggota-page .koma-page-head h1 {
  max-width: none;
}

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

.koma-member-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.koma-member-card:hover,
.koma-member-card[open] {
  border-color: var(--ink);
}

.koma-member-card summary {
  position: relative;
  display: flex;
  min-height: 164px;
  padding: 22px 16px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  list-style: none;
  text-align: center;
}

.koma-member-card summary::-webkit-details-marker {
  display: none;
}

.koma-member-badge {
  display: flex;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--biru);
  color: var(--white);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 17px;
  font-weight: 700;
}

.koma-member-badge.is-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.koma-member-card strong {
  color: var(--ink);
  font: 700 13.5px/1.35 Inter, sans-serif;
}

.koma-member-subtitle {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: var(--gray);
  font: 11.5px/1.3 Inter, sans-serif;
}

.koma-member-chevron {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  opacity: .4;
  transition: transform .15s ease;
}

.koma-member-card[open] .koma-member-chevron {
  transform: rotate(180deg);
  opacity: .85;
}

.koma-member-detail {
  display: grid;
  gap: 14px;
  padding: 0 16px 20px;
  color: var(--ink);
}

.koma-member-detail div span {
  display: block;
  margin-bottom: 4px;
  color: #237a0f;
  font: 800 10.5px/1 Inter, sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.koma-member-detail div strong,
.koma-member-detail p {
  color: var(--gray);
  font: 500 13px/1.5 Inter, sans-serif;
}

.koma-member-detail p {
  margin: 0;
}

.koma-member-detail a {
  color: #237a0f;
  font: 700 13px/1.3 Inter, sans-serif;
  text-decoration: none;
}

.koma-member-detail a:hover,
.koma-member-detail a:focus-visible {
  text-decoration: underline;
}

.koma-board-section {
  background: #efeadd;
}

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

.koma-board-card {
  padding: 30px 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  text-align: center;
}

.koma-board-avatar {
  width: 76px;
  height: 76px;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: linear-gradient(145deg, #efeadd, #ddd6c4);
}

.koma-board-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.koma-board-card h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font: 600 16px/1.3 Inter, sans-serif;
}

.koma-board-media {
  margin: 0;
  color: #237a0f;
  font: 600 13px/1.35 Inter, sans-serif;
}

.koma-board-role {
  margin: 8px 0 0;
  color: var(--gray);
  font: 700 11px/1.35 Inter, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .koma-member-grid,
  .koma-board-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .koma-member-grid,
  .koma-board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* -------------------------------------------------------------------------
 * Contact page
 * ------------------------------------------------------------------------- */
.koma-contact-page .koma-page-head h1 {
  max-width: none;
}

.koma-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 60px;
}

.koma-contact-lede {
  max-width: 44ch;
  margin: 0 0 36px;
  color: var(--gray);
  font: 400 15.5px/1.7 Inter, sans-serif;
}

.koma-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.koma-contact-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #efeadd;
  color: #237a0f;
}

.koma-contact-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.koma-contact-label {
  display: block;
  margin: 2px 0 6px;
  color: #237a0f;
  font: 800 11px/1 Inter, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.koma-contact-item a,
.koma-contact-item p {
  margin: 0;
  color: var(--ink);
  font: 600 15px/1.5 Inter, sans-serif;
}

.koma-contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.koma-contact-socials a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font: 700 15px/1 Inter, sans-serif;
  text-decoration: none;
}

.koma-contact-socials a:hover,
.koma-contact-socials a:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.koma-contact-item a {
  text-decoration: none;
}

.koma-contact-item a:hover,
.koma-contact-item a:focus-visible {
  color: #237a0f;
  text-decoration: underline;
}

.koma-contact-item p {
  max-width: 36ch;
  color: var(--gray);
  font-weight: 500;
}

.koma-contact-photo {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  background:
    linear-gradient(200deg, rgba(26, 26, 26, .15), rgba(26, 26, 26, .7) 78%),
    repeating-linear-gradient(115deg, #cfcabc 0 2px, #d8d3c5 2px 4px);
  filter: grayscale(1);
}

@media (max-width: 860px) {
  .koma-contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* -------------------------------------------------------------------------
 * Shared footer
 * ------------------------------------------------------------------------- */
.koma-review-footer {
  background: var(--ink);
  color: var(--paper);
}

.koma-footer-cta {
  border-bottom: 1px solid rgba(247, 244, 236, .12);
}

.koma-footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: var(--koma-section-y);
}

.koma-footer-cta h2 {
  margin: 0 0 8px;
  color: var(--paper);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 26px;
  font-weight: 600;
}

.koma-footer-cta p {
  margin: 0;
  color: rgba(247, 244, 236, .68);
  font: 400 14.5px/1.6 Inter, sans-serif;
}

.koma-footer-button {
  display: inline-flex;
  min-height: 42px;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid var(--hijau);
  border-radius: 3px;
  background: var(--hijau);
  color: var(--white);
  font: 700 14px/1 Inter, sans-serif;
  text-decoration: none;
}

.koma-footer-button:hover,
.koma-footer-button:focus-visible {
  border-color: #237a0f;
  background: #237a0f;
  color: var(--white);
}

.koma-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-block: var(--koma-section-y);
}

.koma-footer-logo {
  margin-bottom: 14px;
  color: var(--paper);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
}

.koma-footer-intro p {
  max-width: 32ch;
  margin: 0;
  color: rgba(247, 244, 236, .55);
  font: 400 13.5px/1.6 Inter, sans-serif;
}

.koma-footer-column h2 {
  margin: 0 0 16px;
  color: rgba(247, 244, 236, .5);
  font: 700 11.5px/1 Inter, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.koma-footer-column ul {
  display: flex;
  margin: 0;
  padding: 0;
  flex-direction: column;
  gap: 11px;
  list-style: none;
}

.koma-footer-column a {
  color: var(--paper);
  font: 400 14px/1.35 Inter, sans-serif;
  text-decoration: none;
}

.koma-footer-column a:hover,
.koma-footer-column a:focus-visible {
  color: var(--hijau);
}

.koma-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-block: 20px;
  border-top: 1px solid rgba(247, 244, 236, .12);
  color: rgba(247, 244, 236, .45);
  font: 400 12.5px/1.4 Inter, sans-serif;
}

@media (max-width: 800px) {
  .koma-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .koma-footer-cta-inner,
  .koma-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .koma-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------
 * Homepage review: native templates only, aligned to the design guide.
 * ------------------------------------------------------------------------- */
.site-main {
  background: var(--paper);
}

.site-main .hero-section {
  display: grid !important;
  grid-template-columns: 1.05fr 0.95fr;
  width: min(calc(100% - var(--koma-gutter) - var(--koma-gutter)), var(--koma-content-width));
  min-height: auto !important;
  margin-inline: auto;
  padding-block: var(--koma-section-y) !important;
  background: transparent !important;
  gap: 56px;
  align-items: center;
}

.site-main .hero-section > div:first-child {
  min-width: 0 !important;
  padding: 0 !important;
}

.site-main .hero-section h1 {
  max-width: 13ch !important;
  margin: 0 0 22px !important;
  font-family: "Source Serif 4", Georgia, serif !important;
  font-size: clamp(34px, 4.6vw, 54px) !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  line-height: 1.08 !important;
}

.site-main .hero-section p {
  max-width: 46ch !important;
  margin: 0 0 32px !important;
  color: var(--gray) !important;
  font-size: 17.5px !important;
  line-height: 1.65 !important;
}

.site-main .hero-section .photo {
  min-width: 0 !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  background:
    linear-gradient(200deg, rgba(26, 26, 26, 0.05), rgba(26, 26, 26, 0.55) 78%),
    repeating-linear-gradient(115deg, #cfcabc 0 2px, #d8d3c5 2px 4px) !important;
  filter: grayscale(1) contrast(1.05);
}

.site-main .hero-section .photo .cap {
  right: 18px;
  bottom: 18px;
  color: var(--white) !important;
  font-size: 12.5px !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
}

.site-main .hero-section .photo .cap::before {
  content: "●";
  margin-right: 8px;
  color: var(--merah);
  font-size: 8px;
}

.site-main .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid var(--hijau);
  border-radius: 3px;
  background: var(--hijau);
  color: var(--white) !important;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
}

.site-main .btn.outline {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink) !important;
}

.site-main .btn:hover,
.site-main .btn:focus-visible {
  background: #237a0f;
  border-color: #237a0f;
  opacity: 1;
  transform: none;
}

.site-main .btn.outline:hover,
.site-main .btn.outline:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper) !important;
}

.site-main .stat-strip {
  display: block !important;
  margin: 0;
  padding: var(--koma-section-y) var(--koma-gutter) !important;
  background: var(--ink) !important;
}

.site-main .stat-strip > div {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  width: min(100%, var(--koma-content-width));
  margin-inline: auto;
  gap: 0 !important;
  text-align: center !important;
}

.site-main .stat-strip > div > div {
  padding: 0 24px;
  border-right: 1px solid rgba(247, 244, 236, 0.14);
}

.site-main .stat-strip > div > div:last-child {
  border-right: 0;
}

.site-main .stat-strip .serif {
  color: var(--paper) !important;
  font-family: "Source Serif 4", Georgia, serif !important;
  font-size: 38px !important;
  font-weight: 600 !important;
}

.site-main .stat-strip .serif + div {
  margin-top: 6px !important;
  color: rgba(247, 244, 236, 0.6) !important;
  font-size: 11.5px !important;
  letter-spacing: 0.1em !important;
}

.site-main .program-section {
  width: min(calc(100% - var(--koma-gutter) - var(--koma-gutter)), var(--koma-content-width));
  margin-inline: auto;
  padding: var(--koma-section-y) 0 22px !important;
}

.site-main .program-section > div {
  margin: 0 !important;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.site-main .program-section h2,
.site-main .editorial-preview h2 {
  margin: 6px 0 0 !important;
  font-family: "Source Serif 4", Georgia, serif !important;
  font-size: clamp(26px, 3vw, 36px) !important;
  font-weight: 600 !important;
}

.site-main .program-section a,
.site-main .editorial-preview a {
  color: #237a0f !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
}

.site-main .program-section + div {
  width: min(calc(100% - var(--koma-gutter) - var(--koma-gutter)), var(--koma-content-width));
  margin-inline: auto;
  padding: 0 0 var(--koma-section-y) !important;
}

.site-main .program-section + div > div {
  gap: 2px !important;
  border: 1px solid var(--line);
  background: var(--line) !important;
}

.site-main .program-section + div > div > div {
  padding: 32px 26px 30px !important;
  background: var(--paper) !important;
}

.site-main .program-section + div h3 {
  margin: 0 0 10px !important;
  font-family: "Source Serif 4", Georgia, serif !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.site-main .program-section + div p {
  margin: 0 !important;
  color: var(--gray) !important;
  font-size: 13.8px !important;
  line-height: 1.55 !important;
}

.site-main .editorial-preview {
  width: min(calc(100% - var(--koma-gutter) - var(--koma-gutter)), var(--koma-content-width));
  margin-inline: auto;
  padding: var(--koma-section-y) 0 !important;
}

.site-main .editorial-preview > div:first-child {
  margin-bottom: 44px !important;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 900px) {
  .site-main .hero-section {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .site-main .hero-section h1 {
    max-width: 18ch !important;
  }

  .site-main .hero-section .photo {
    aspect-ratio: 16 / 10;
  }

  .site-main .stat-strip > div {
    grid-template-columns: repeat(2, 1fr) !important;
    row-gap: 28px !important;
  }

  .site-main .stat-strip > div > div:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .site-main .hero-section h1 {
    font-size: 38px !important;
  }

  .site-main .hero-section p {
    font-size: 16px !important;
  }

  .site-main .stat-strip > div > div {
    padding-inline: 12px;
  }

  .site-main .program-section > div,
  .site-main .editorial-preview > div:first-child {
    align-items: flex-start !important;
  }
}

body {
  background: var(--paper);
  color: var(--ink);
}

body,
body .site-content {
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6,
.serif {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
}

/* Shared boxed-section rhythm. Inner containers must not add their own gutters. */
.koma-section,
.site-main > section {
  padding-block: var(--koma-section-y);
}

.koma-shell {
  width: min(100% - (var(--koma-gutter) * 2), var(--koma-content-width));
  margin-inline: auto;
}

/* Header: 20px vertical rhythm, independent from section spacing. */
.koma-review-header {
  position: sticky !important;
  top: 0;
  z-index: 99;
  padding: 20px var(--koma-gutter) !important;
  background: rgba(247, 244, 236, 0.92) !important;
  border-bottom: 1px solid var(--line) !important;
  backdrop-filter: blur(8px);
}

.koma-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.koma-review-header .site-branding,
.koma-review-header .site-branding a {
  display: block !important;
  line-height: 0;
}

.koma-review-header .custom-logo,
.koma-review-header .custom-logo-link img {
  width: auto !important;
  max-width: 190px !important;
  max-height: 58px !important;
}

.koma-review-nav {
  justify-self: center;
}

.koma-review-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.koma-review-nav a {
  padding-block: 4px;
  color: var(--ink);
  font-family: Inter, sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
}

.koma-review-nav a:hover,
.koma-review-nav a:focus-visible {
  color: var(--hijau);
}

.koma-review-header .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 22px;
  border: 1px solid var(--hijau);
  border-radius: 3px;
  background: var(--hijau);
  color: var(--white) !important;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: normal;
  text-decoration: none !important;
  text-transform: none;
}

.koma-review-header .btn:hover,
.koma-review-header .btn:focus-visible {
  background: #237a0f;
  border-color: #237a0f;
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .koma-header-inner {
    grid-template-columns: 1fr auto;
  }

  .koma-review-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .koma-review-header .custom-logo,
  .koma-review-header .custom-logo-link img {
    max-width: 150px !important;
    max-height: 48px !important;
  }

  .koma-review-header .btn {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 12px;
  }
}

/* -------------------------------------------------------------------------
 * Audit refinement — aligned to the approved KOMA visual guide.
 * The 50px section rhythm and responsive gutters below remain intentional
 * project requirements, even where the static guide uses larger spacing.
 * ------------------------------------------------------------------------- */
:root {
  --paper: #ffffff;
  --paper-dim: #efeadd;
  --white: #ffffff;
  --green: #2f9e14;
  --green-deep: #237a0f;
  --muted: rgba(26, 26, 26, .62);
}

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

html { scroll-behavior: smooth; }

body,
button,
input,
select,
textarea {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body,
.site-main,
.site-content { background: var(--paper) !important; }

h1,
h2,
h3,
h4,
h5,
h6,
.serif {
  font-family: "Source Serif 4", serif;
  font-weight: 600;
}

h1,
h2,
h3,
h4,
h5,
h6 { line-height: 1.2; }

a { color: inherit; }

.koma-shell {
  width: min(calc(100% - (var(--koma-gutter) * 2)), var(--koma-content-width));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--green-deep);
  font: 700 12.5px/1 Inter, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--green-deep);
  content: "";
}

.koma-page-head {
  padding-block: var(--koma-section-y);
  background: var(--paper);
}

.koma-page-head h1 {
  max-width: none;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.16;
}

.koma-section { background: var(--paper); }
.koma-program-band { background: var(--paper-dim); }
.koma-board-section { background: var(--paper); }

.koma-section-head { margin-bottom: 32px; }
.koma-section-head h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; }

.koma-placeholder-photo,
.koma-contact-photo,
.koma-article-media,
.koma-placeholder-thumb {
  filter: grayscale(1) !important;
}

.koma-program-card { background: var(--paper); }
.koma-program-card h3,
.koma-featured-content h2,
.koma-article-card h3 { line-height: 1.3; }

.koma-editorial-filter {
  margin-bottom: 44px;
  padding-bottom: 36px;
}

.koma-featured-article {
  margin-bottom: 50px;
  padding-bottom: 50px;
}

.koma-featured-content h2 {
  font-size: 26px;
  line-height: 1.28;
}

.koma-article-card h3 {
  font-family: Inter, sans-serif;
  font-size: 16px;
}

.koma-member-card,
.koma-board-card,
.koma-pill,
.koma-search,
.koma-pagination .page-numbers { background: var(--white); }

.koma-board-card { padding: 26px 22px; }
.koma-board-section .koma-section-head h2 { font-size: 30px; }
.koma-board-card h3 { font-family: Inter, sans-serif; }

.koma-contact-grid { gap: 44px; }
.koma-contact-photo { background-color: var(--paper-dim); }

/* Existing form content is preserved; only the theme layer defines its visual
 * baseline so it no longer reverts to parent/Elementor fonts and colors. */
.page-id-1694 .site-main,
.page-template-default .site-main:has(form) { background: var(--paper) !important; }

.page-id-1694 .site-main h1,
.page-id-1694 .site-main h2,
.page-id-1694 .site-main h3,
.page-template-default .site-main form h1,
.page-template-default .site-main form h2,
.page-template-default .site-main form h3 {
  font-family: "Source Serif 4", serif !important;
  font-weight: 600 !important;
  text-transform: none !important;
}

.page-id-1694 .site-main input:not([type="radio"]):not([type="checkbox"]),
.page-id-1694 .site-main textarea,
.page-template-default .site-main form input:not([type="radio"]):not([type="checkbox"]),
.page-template-default .site-main form textarea {
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--ink) !important;
  font: 400 14.5px/1.45 Inter, sans-serif !important;
}

/* -------------------------------------------------------------------------
 * Homepage — this is a native WordPress version of the guide structure.
 * ------------------------------------------------------------------------- */
.koma-home .hero { padding: 50px 0 0; }

.koma-home .hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 56px;
}

.koma-home .hero h1 {
  max-width: 13ch;
  margin: 0 0 22px;
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.08;
}

.koma-home .hero h1 em { color: var(--merah); font-style: italic; }

.koma-home .lede {
  max-width: 46ch;
  margin: 0 0 32px;
  color: var(--muted);
  font: 400 17.5px/1.65 Inter, sans-serif;
}

.koma-home .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.koma-home .hero-media { position: relative; }

.koma-home .hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  background:
    linear-gradient(200deg, rgba(26, 26, 26, .05), rgba(26, 26, 26, .55) 78%),
    repeating-linear-gradient(115deg, #cfcabc 0 2px, #d8d3c5 2px 4px);
  filter: grayscale(1) contrast(1.05);
}

.koma-home .hero-photo .cap {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font: 600 12.5px/1.35 Inter, sans-serif;
  letter-spacing: .02em;
}

.koma-home .hero-photo .cap::before { color: var(--merah); content: "●"; font-size: 8px; }

.koma-home .hero-tag {
  position: absolute;
  top: -16px;
  left: -16px;
  z-index: 1;
  padding: 10px 16px;
  border-radius: 3px;
  background: var(--ink);
  color: var(--paper);
  font: 700 12px/1 Inter, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.koma-home .stats { margin-top: 50px; background: var(--ink); color: var(--paper); }
.koma-home .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.koma-home .stat { padding: 34px 24px; border-right: 1px solid rgba(247, 244, 236, .14); text-align: center; }
.koma-home .stat:last-child { border-right: 0; }
.koma-home .stat .num { font: 600 38px/1 "Source Serif 4", serif; }
.koma-home .stat .lbl { margin-top: 6px; color: rgba(247, 244, 236, .6); font: 600 11.5px/1.2 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; }

.koma-home .home-section { padding-block: var(--koma-section-y); }
.koma-home .home-section.is-editorial { padding-top: 0; }

.koma-home .sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.koma-home .sec-head h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; }

.koma-home .see-all { color: var(--green-deep); font: 700 13.5px/1.2 Inter, sans-serif; white-space: nowrap; }
.koma-home .see-all:hover { text-decoration: underline; }

.koma-home .prog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; border: 1px solid var(--line); background: var(--line); }
.koma-home .prog { padding: 32px 26px 30px; background: var(--paper); }
.koma-home .prog .bar { width: 34px; height: 3px; margin-bottom: 16px; }
.koma-home .p1 .bar { background: var(--merah); }
.koma-home .p2 .bar { background: var(--biru); }
.koma-home .p3 .bar { background: var(--ungu); }
.koma-home .p4 .bar { background: var(--green); }
.koma-home .prog .idx { margin-bottom: 22px; color: var(--muted); font: 600 15px/1 "Source Serif 4", serif; }
.koma-home .prog h3 { margin: 0 0 10px; font-size: 17px; line-height: 1.3; }
.koma-home .prog p { margin: 0; color: var(--muted); font: 400 13.8px/1.55 Inter, sans-serif; }

.koma-home .art-wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; }
.koma-home .art-feat { display: block; }
.koma-home .thumb { overflow: hidden; border-radius: 4px; background: linear-gradient(200deg, rgba(26, 26, 26, .1), rgba(26, 26, 26, .6) 75%), repeating-linear-gradient(70deg, #d4cfc0 0 3px, #e2ddce 3px 6px); filter: grayscale(1); }
.koma-home .art-feat .thumb { aspect-ratio: 16 / 10; margin-bottom: 20px; }
.koma-home .tag { display: inline-block; margin-bottom: 12px; padding: 5px 10px; border-radius: 2px; color: var(--white); font: 800 11px/1 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.koma-home .tag.advokasi { background: var(--merah); }
.koma-home .tag.liputan { background: var(--biru); }
.koma-home .tag.pelatihan { background: var(--ungu); }
.koma-home .tag.siaran { background: var(--green-deep); }
.koma-home .art-feat h3 { margin: 0 0 10px; font-size: 25px; line-height: 1.28; }
.koma-home .art-feat p { margin: 0 0 14px; color: var(--muted); font: 400 14.5px/1.6 Inter, sans-serif; }
.koma-home .meta { color: var(--muted); font: 600 12.5px/1.35 Inter, sans-serif; }
.koma-home .meta .rd { color: var(--green-deep); font-weight: 700; }
.koma-home .art-list { display: flex; flex-direction: column; }
.koma-home .art-row { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.koma-home .art-row:first-child { padding-top: 0; }
.koma-home .art-row .thumb { width: 104px; height: 78px; flex: none; border-radius: 3px; background: linear-gradient(200deg, rgba(26, 26, 26, .08), rgba(26, 26, 26, .5) 75%), repeating-linear-gradient(50deg, #d4cfc0 0 3px, #e2ddce 3px 6px); }
.koma-home .art-row .tag { margin-bottom: 0; padding: 3px 8px; font-size: 9.5px; }
.koma-home .art-row h4 { margin: 8px 0 6px; font: 600 15px/1.35 Inter, sans-serif; }

/* -------------------------------------------------------------------------
 * Ruang Redaksi detail pages.
 * ------------------------------------------------------------------------- */
.koma-article-detail { padding-block: var(--koma-section-y); }
.koma-article-detail-head { max-width: 820px; margin-bottom: 32px; }
.koma-article-detail-head h1 { margin: 0 0 18px; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -.01em; }
.koma-article-detail .koma-detail-meta { color: var(--muted); font: 600 13px/1.4 Inter, sans-serif; }
.koma-detail-hero { aspect-ratio: 16 / 8; margin-bottom: 32px; overflow: hidden; border-radius: 4px; background: linear-gradient(200deg, rgba(26, 26, 26, .1), rgba(26, 26, 26, .6) 75%), repeating-linear-gradient(70deg, #d4cfc0 0 3px, #e2ddce 3px 6px); filter: grayscale(1); }
.koma-detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.koma-detail-body { max-width: 720px; color: var(--ink); font: 400 18px/1.75 Inter, sans-serif; }
.koma-detail-body p { margin: 0 0 1.3em; }
.koma-detail-body h2,
.koma-detail-body h3 { margin: 1.8em 0 .55em; line-height: 1.2; }
.koma-back-link { display: inline-flex; margin-bottom: 30px; color: var(--green-deep); font: 700 13.5px/1.2 Inter, sans-serif; }
.koma-back-link:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .koma-home .hero-grid,
  .koma-home .art-wrap { grid-template-columns: 1fr; gap: 36px; }
  .koma-home .hero-photo { aspect-ratio: 16 / 10; }
  .koma-home .hero-tag { left: 0; }
  .koma-home .prog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .koma-home .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .koma-home .stat { border-bottom: 1px solid rgba(247, 244, 236, .14); }
  .koma-home .stat:nth-child(2) { border-right: 0; }
}

@media (max-width: 640px) {
  .koma-home .hero h1 { font-size: 38px; }
  .koma-home .lede { font-size: 16px; }
  .koma-home .sec-head { align-items: flex-start; flex-direction: column; }
  .koma-detail-body { font-size: 16px; }
}

@media (max-width: 520px) {
  .koma-home .prog-grid { grid-template-columns: 1fr; }
}
