/* Gaya khusus Publikasi.
 * Primitif bersama (.page, .title, .badge, .meta, .back, .empty, .stack)
 * ada di page.module.css — jangan disalin ulang ke sini.
 */

.item {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 3.5rem 1fr;
  align-items: start;
  padding: 1.25rem 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--r-kartu);
}

/* Ikon dokumen — blok merah tua dengan label jenis berkas */
.icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 4.4rem;
  border-radius: var(--r-kartu);
  background: var(--primary-isi);
  color: #fff;
  font-weight: 700;
  font-size: var(--t-mikro);
  letter-spacing: 0.08em;
}

.itemBody {
  min-width: 0;
}

.itemTitle {
  margin: 0 0 0.4rem;
  font-size: var(--t-sedang);
  line-height: 1.4;
}

.itemTitle a {
  color: var(--text);
  text-decoration: none;
  display: inline;
  min-height: auto;
}

.itemTitle a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.abstract {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: var(--t-dasar);
  line-height: 1.6;
}

.authors {
  margin: 0;
  font-size: var(--t-kecil);
  color: var(--text);
}

/* ---------- Detail ---------- */

.detailLayout {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.5rem;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 60rem) {
  .detailLayout {
    grid-template-columns: 1fr 18rem;
    gap: 3rem;
  }
}

.abstractBlock {
  max-width: 46rem;
  font-size: var(--t-isi);
  line-height: 1.75;
}

.abstractBlock h2 {
  font-size: var(--t-sedang);
  margin: 0 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--border);
}

/* Kartu unduh */
.downloadCard {
  padding: 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--r-kartu);
}

.downloadBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--primary-isi);
  color: #fff;
  border-radius: var(--r-kartu);
  text-decoration: none;
  font-weight: 700;
  font-size: var(--t-dasar);
}

.downloadBtn:hover {
  background: var(--primary-isi-hover);
  color: #fff;
}

.factList {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  font-size: var(--t-dasar);
}

.factRow {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}

.factRow:last-child {
  border-bottom: 0;
}

.factLabel {
  color: var(--text-muted);
}

.factValue {
  font-weight: 600;
  text-align: right;
}

@media (max-width: 34rem) {
  .item {
    grid-template-columns: 1fr;
  }
  .icon {
    width: 2.8rem;
    height: 3.5rem;
  }
}
