/* Kotak "Update penting" di hero beranda. Mobile first: gaya dasar untuk HP, lalu diperlebar di layar besar. */
.g21u-wrap {
  width: 100%;
  max-width: 560px;
  margin: 0 auto 22px;
  text-align: left;
  animation: g21u-in .45s ease-out both;
}

a.g21u {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 84px;
  padding: 10px 10px 10px 10px;
  border-radius: 18px;
  border: 1px solid rgba(212, 0, 0, .18);
  background: linear-gradient(135deg, #ffffff 0%, #fff4f4 100%);
  box-shadow: 0 8px 22px rgba(212, 0, 0, .10), 0 1px 2px rgba(15, 23, 42, .06);
  color: #111827;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

a.g21u:hover,
a.g21u:focus-visible {
  color: #111827;
  transform: translateY(-2px);
  border-color: rgba(212, 0, 0, .38);
  box-shadow: 0 12px 28px rgba(212, 0, 0, .16), 0 1px 2px rgba(15, 23, 42, .08);
}

a.g21u:active { transform: scale(.99); }

a.g21u:focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 3px;
}

.g21u-thumb {
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  background: #0b0f1a;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08);
}

.g21u-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 50%;
}

.g21u-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.g21u-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 3px 9px 3px 8px;
  border-radius: 999px;
  background: #d40000;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.g21u-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}

.g21u-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #fff;
  animation: g21u-pulse 1.8s ease-out infinite;
}

.g21u-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
}

.g21u-meta {
  font-size: 12px;
  line-height: 1.3;
  color: #6b7280;
}

.g21u-go {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #d40000;
  color: #fff;
  transition: transform .18s ease;
}

a.g21u:hover .g21u-go,
a.g21u:focus-visible .g21u-go { transform: translateX(3px); }

.g21u-go svg { width: 14px; height: 14px; }

/* Tautan ke semua berita: area sentuh minimal 44px */
a.g21u-all {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 700;
  color: #d40000;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a.g21u-all:hover,
a.g21u-all:focus-visible { color: #9f0000; text-decoration: underline; }

@keyframes g21u-pulse {
  0%   { transform: scale(1);   opacity: .75; }
  100% { transform: scale(2.8); opacity: 0; }
}

@keyframes g21u-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* HP sangat kecil (320 sampai 359px): thumbnail lebih kecil, panah disembunyikan agar judul tetap lega */
@media (max-width: 359px) {
  .g21u-go { display: none; }
  .g21u-title { font-size: 14px; }
}

/* Judul hero bawaan 38px terpecah di tengah kata pada layar 320px, kecilkan sedikit */
@media (max-width: 359px) {
  .gb-headline-10f115b8 { font-size: 28px; line-height: 1.2; }
}

/* Hero di HP: judul dan paragraf lebih ringkas supaya layar pertama tidak terasa sesak */
@media (max-width: 767px) {
  .gb-container-47440fe2 { padding-top: 28px; padding-bottom: 40px; }
  .gb-headline-10f115b8 { font-size: 32px; line-height: 1.18; margin-bottom: 14px; }
  .gb-headline-36ad3c2e { font-size: 16.5px; line-height: 1.6; margin-bottom: 26px; color: #374151; }
  .g21u-wrap { margin-bottom: 14px; }
  .gb-button-00d3f9fa { white-space: nowrap; box-sizing: border-box; padding: 15px 20px; font-size: 19px; text-align: center; border-radius: 12px; box-shadow: 0 8px 20px rgba(214, 2, 2, .25); }
}

/* Tablet dan laptop */
@media (min-width: 768px) {
  .g21u-wrap { max-width: 640px; margin-bottom: 28px; }
  a.g21u { gap: 16px; min-height: 96px; padding: 12px 16px 12px 12px; border-radius: 20px; }
  .g21u-thumb { width: 128px; height: 72px; border-radius: 14px; }
  .g21u-thumb img { object-position: 50% 50%; }
  .g21u-title { -webkit-line-clamp: 2; font-size: 18px; }
  .g21u-meta { font-size: 13px; }
  .g21u-badge { font-size: 11px; }
  .g21u-go { width: 38px; height: 38px; }
  .g21u-go svg { width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .g21u-wrap { animation: none; }
  .g21u-dot::after { animation: none; }
  a.g21u, .g21u-go { transition: none; }
  a.g21u:hover, a.g21u:focus-visible { transform: none; }
}

/* Layar sangat kecil: harus setelah aturan HP di atas agar tidak tertimpa */
@media (max-width: 359px) {
  .gb-headline-10f115b8 { font-size: 28px; }
  .gb-headline-36ad3c2e { font-size: 15.5px; }
}
