/* Section "Artikel Terbaru" beranda.
   Satu kartu utama di kiri, tiga judul ringkas di kanan. Pada mobile seluruhnya
   menjadi satu kolom. Palet mengikuti brand: navy #0F2E40, emas #C96628. */

.alm-art {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #0f2e40;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.alm-art * { box-sizing: border-box; }

/* ---------- kepala ---------- */

.alm-art__kepala {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 26px;
  margin-bottom: 30px;
  border-bottom: 1px solid #dce4ea;
}
.alm-art__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: #c96628;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.alm-art__eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: #c96628;
  border-radius: 2px;
}
.alm-art .alm-art__title {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #0f2e40;
}
.alm-art .alm-art__lead {
  margin: 0;
  max-width: 620px;
  color: #5b6b76;
  font-size: 15px;
  line-height: 1.7;
}
.alm-art__semua {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid #0f2e40;
  border-radius: 999px;
  color: #0f2e40;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.alm-art__semua:hover,
.alm-art__semua:focus-visible {
  background: #0f2e40;
  color: #fff;
}
.alm-art a:focus-visible { outline: 3px solid #c96628; outline-offset: 3px; }

/* ---------- grid ---------- */

.alm-art__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

/* ---------- kartu utama ---------- */

.alm-art__utama .alm-art__tautan {
  display: block;
  text-decoration: none;
  color: inherit;
}
.alm-art__utama .alm-art__gambar {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #f2f6f9;
  aspect-ratio: 16 / 10;
}
.alm-art__utama .alm-art__gambar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.alm-art__utama .alm-art__tautan:hover .alm-art__gambar img { transform: scale(1.04); }
.alm-art__utama .alm-art__isi { display: block; padding-top: 18px; }
.alm-art__utama .alm-art__judul {
  margin: 0 0 10px;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.32;
  font-weight: 800;
  color: #0f2e40;
}
.alm-art__utama .alm-art__tautan:hover .alm-art__judul { color: #c96628; }
.alm-art__ringkas {
  display: block;
  margin-bottom: 12px;
  color: #5b6b76;
  font-size: 14.5px;
  line-height: 1.7;
}

/* ---------- daftar ringkas ---------- */

.alm-art__daftar {
  display: grid;
  gap: 16px;
}
.alm-art__item .alm-art__tautan {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e4ebf0;
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.alm-art__item .alm-art__tautan:hover,
.alm-art__item .alm-art__tautan:focus-visible {
  border-color: #c96628;
  box-shadow: 0 14px 30px -24px rgba(15, 46, 64, 0.6);
  transform: translateY(-2px);
}
.alm-art__item .alm-art__gambar {
  display: block;
  overflow: hidden;
  border-radius: 11px;
  background: #f2f6f9;
  aspect-ratio: 4 / 3;
}
.alm-art__item .alm-art__gambar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.alm-art__item .alm-art__isi { display: block; min-width: 0; }
.alm-art__item .alm-art__judul {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.42;
  font-weight: 700;
  color: #0f2e40;
}
.alm-art__item .alm-art__tautan:hover .alm-art__judul { color: #c96628; }

/* ---------- elemen bersama ---------- */

.alm-art__kategori {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fdf1e6;
  color: #a45420;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.alm-art__meta {
  display: block;
  color: #7b8b96;
  font-size: 12.5px;
}
.alm-art__gambar--kosong {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8eef3, #f6f9fb);
}

/* Tombol kedua hanya untuk mobile, saat tombol di kepala disembunyikan. */
.alm-art__kaki { display: none; }

/* ---------- tablet ---------- */

@media (max-width: 1024px) {
  .alm-art__grid { grid-template-columns: 1fr; gap: 26px; }
  .alm-art__daftar { grid-template-columns: 1fr; }
}

/* ---------- mobile ---------- */

@media (max-width: 767px) {
  .alm-art { padding: 0 18px; }
  .alm-art__kepala {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 24px;
  }
  .alm-art__kepala .alm-art__semua { display: none; }
  .alm-art__kaki { display: block; margin-top: 24px; text-align: center; }
  .alm-art__semua--mobile { width: 100%; justify-content: center; }
  .alm-art__utama .alm-art__gambar { aspect-ratio: 16 / 11; }
  .alm-art__item .alm-art__tautan { grid-template-columns: 96px minmax(0, 1fr); gap: 13px; padding: 10px; }
  .alm-art__item .alm-art__judul { font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .alm-art__utama .alm-art__gambar img,
  .alm-art__item .alm-art__tautan { transition: none; }
  .alm-art__utama .alm-art__tautan:hover .alm-art__gambar img { transform: none; }
  .alm-art__item .alm-art__tautan:hover { transform: none; }
}
