:root {
  --gold: #e1cd61;
  --gold-dark: #a3821a;
  --hitam: #181818;
  --card-yellow: #ffe082;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--hitam);
  color: #fff;
  font-family: 'Inter', Arial, sans-serif;
  min-height: 100vh;
  box-sizing: border-box;
}

.header-top {
  background: #131313;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  height: 60px;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 10;
}

.logo {
  height: 60px;
  width: auto;
  display: block;
  padding: 5px 0;
}

.search-box {
  display: flex;
  align-items: center;
  background: #232323;
  border-radius: 7px;
  border: 1.2px solid #444;
  height: 38px;
  min-width: 0;
  box-sizing: border-box;
}

.search-input {
  border: none;
  outline: none;
  padding: 7px 7px 7px 13px;
  background: transparent;
  color: var(--card-yellow);
  font-size: 1em;
  width: 98px;
  min-width: 0;
  max-width: 120px;
  font-family: inherit;
}

.search-btn {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.33em;
  padding: 0 11px 0 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.18s;
}

.search-btn:hover {
  color: var(--gold-dark);
}

.judul-main {
  color: var(--gold);
  font-size: 1.13em;
  font-weight: 700;
  text-align: center;
  margin: 20px 0 3px 0;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 6px #000a;
  line-height: 1.2;
  margin-bottom: 10px;
}

.marquee-wrap {
  background: #212121;
  border-top: 1.7px solid var(--gold);
  border-bottom: 1.7px solid var(--gold);
  margin-bottom: 17px;
}

.marquee {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.7em;
  padding: 5px 0;
  font-family: inherit;
}

.wrap-content {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 7px;
  min-height: 70vh;
}

.bukti-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  flex: 1 0 0;
  min-width: 0;
  margin-bottom: 38px;
}

.bukti-card {
  background: var(--gold);
  border-radius: 9px;
  box-shadow: 0 2px 8px #0005;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid #111;
  cursor: pointer;
  transition: box-shadow 0.13s, transform 0.13s;
  min-width: 0;
}

.bukti-card:hover {
  box-shadow: 0 6px 24px var(--gold-dark);
  transform: translateY(-2px) scale(1.025);
}

.bukti-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #eee;
  aspect-ratio: 1 / 1;
  max-height: 750px;
  display: block;
}

.bukti-content {
  padding: 10px 13px 15px 13px;
  color: #1a1300;
  min-width: 0;
}

.bukti-title {
  font-weight: 700;
  font-size: 1.01em;
  color: #1a1300;
  margin-bottom: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bukti-meta {
  color: #333;
  font-size: 0.97em;
  margin-bottom: 3px;
  min-height: 1em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bukti-date {
  color: #231f13;
  font-size: 0.92em;
  margin-bottom: 7px;
  font-weight: 600;
}

.btn-readmore {
  background: #2874ff;
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 0.96em;
  padding: 6px 0 7px 0;
  border-radius: 6px;
  width: 100%;
  margin-top: 7px;
  cursor: pointer;
  transition: background 0.15s;
  letter-spacing: 0.03em;
}

.btn-readmore:hover {
  background: #1244b8;
}

.sidebar-jp {
  min-width: 250px;
  max-width: 310px;
  background: #191919;
  border-radius: 12px;
  color: var(--gold);
  padding: 13px 10px 19px 10px;
  height: fit-content;
  box-shadow: 0 2px 12px #0007;
  margin-top: 3px;
}

.sidebar-jp .judul {
  font-size: 1.09em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 11px;
}

.sidebar-jp .jp-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.sidebar-jp .jp-item {
  background: #232323;
  border-radius: 8px;
  padding: 7px 8px;
  border-left: 4px solid var(--gold);
  display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  min-width: 0;
  transition: background 0.12s;
}

.sidebar-jp .jp-item:hover {
  background: #363636;
}

.sidebar-jp .jp-img {
  width: 43px;
  height: 43px;
  object-fit: cover;
  border-radius: 6px;
  background: #c5b26b;
  flex-shrink: 0;
}

.sidebar-jp .jp-info {
  flex: 1;
  min-width: 0;
}

.sidebar-jp .jp-title {
  font-size: 0.95em;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-jp .jp-meta {
  font-size: 0.95em;
  color: #ffeeb7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-main {
  max-width: 740px;
  margin: 0 auto 20px auto;
  background: var(--gold);
  border-radius: 13px;
  box-shadow: 0 2px 15px #0004;
  padding: 18px 10px 29px 10px;
  color: #191919;
}

.detail-img-wrap {
  text-align: center;
  margin-bottom: 18px;
}

.detail-img {
  width: 97%;
  max-width: 750px;
  aspect-ratio: 1 / 1;
  height: auto;
  max-height: 750px;
  object-fit: cover;
  border-radius: 11px;
  background: #eaeaea;
  border: 2px solid #fff;
  box-shadow: 0 4px 18px #0002;
  margin: 0 auto;
}

.detail-template {
  font-size: 1.05em;
  color: #222;
  line-height: 1.68;
  padding: 5px 3px 0 3px;
  margin-top: 5px;
}

.btn-back {
  background: var(--gold);
  color: #222;
  border: none;
  font-weight: 600;
  padding: 6px 17px;
  border-radius: 6px;
  margin: 22px 0 13px 0;
  cursor: pointer;
  font-size: 0.98em;
  display: inline-block;
  box-shadow: 0 2px 7px #0002;
  text-decoration: none;
  transition: background 0.16s, color 0.16s;
}

.btn-back:hover {
  background: #ffe39f;
  color: #000;
}

.judul-detail {
  color: var(--gold);
  font-size: 1.15em;
  font-weight: 700;
  margin-bottom: 2px;
  margin-top: 7px;
  text-align: left;
  line-height: 1.24;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 7px #000a;
  padding-right: 14px;
}

.tanggal-detail {
  color: #ffe082;
  font-size: 0.95em;
  margin-bottom: 15px;
  font-weight: 500;
  text-align: left;
}

footer {
  background: #191919;
  color: var(--gold);
  text-align: center;
  font-size: 0.7em;
  padding: 12px 0;
  margin-top: 25px;
  letter-spacing: 0.05em;
  border-top: 1.5px solid #e1cd61;
}

/* Responsive */
@media (max-width: 1100px) {
  .bukti-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sidebar-jp {
    max-width: 260px;
  }
}

@media (max-width: 800px) {
  .wrap-content {
    gap: 15px;
  }
  .bukti-grid {
    grid-template-columns: 1fr;
  }
  .sidebar-jp {
    margin: 18px auto 0 auto;
  }
}

@media (max-width: 520px) {
  .header-top {
    padding: 0 2vw;
  }
  .bukti-grid {
    gap: 10px;
  }
  .wrap-content {
    flex-direction: column;
  }
  .sidebar-jp {
    min-width: unset;
    max-width: 99vw;
    padding: 8px 2vw;
  }
  .bukti-img {
    height: 40vw;
  }
}

@media (max-width: 360px) {
  .header-top {
    height: 46px;
  }
  .logo {
    height: 29px;
  }
  .search-box {
    height: 26px;
  }
  .search-input {
    font-size: 0.93em;
    padding: 5px 3px;
    max-width: 60px;
  }
  .search-btn {
    font-size: 1em;
    padding: 0 5px 0 4px;
  }
  .judul-main {
    font-size: 1em;
  }
  .bukti-img {
    height: 33vw;
  }
  .bukti-card {
    font-size: 0.98em;
  }
}

@media (max-width: 1100px) {
  .wrap-content {
    gap: 13px;
  }
  .sidebar-jp {
    max-width: 250px;
  }
}

@media (max-width: 900px) {
  .wrap-content {
    flex-direction: column;
  }
  .sidebar-jp {
    margin: 22px auto;
  }
}

@media (max-width: 700px) {
  .detail-main {
    padding: 11px 1vw 17px 1vw;
  }
  .header-top {
    height: 45px;
  }
  .logo {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .header-top {
    padding: 0 2vw;
  }
  .detail-main {
    padding: 8px 0 13px 0;
  }
  .detail-img {
    max-width: 99vw;
  }
  .sidebar-jp {
    min-width: unset;
  }
}
