/* ============================================================
   Berita, notice bar, dan penyesuaian header halaman server
   ============================================================ */

/* ---------- Notice bar ---------- */

.notice-bar {
  position: relative;
  z-index: 81;
  border-bottom: 1px solid rgba(158, 207, 241, .14);
  background: linear-gradient(90deg, #0a2b4b 0%, #0b3557 50%, #0a2b4b 100%);
  color: var(--muted);
  font-size: 11.5px;
}

.notice-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 38px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.notice-inner p {
  margin: 0;
  line-height: 1.4;
}

.notice-inner strong {
  color: var(--brand-light);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 10px;
}

.notice-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.notice-links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #cfe9fb;
  font-weight: 600;
  white-space: nowrap;
}

.notice-links a:hover { color: #fff; }

.notice-links svg {
  width: 12px;
  height: 12px;
  transition: transform .2s ease;
}

.notice-links a:hover svg { transform: translateX(2px); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: 4px;
}

.header-actions .header-lang { margin-left: 0; }
.header-actions .header-cta { margin-left: 0; }

/* ---------- News listing ---------- */

.news-hero { padding-bottom: 46px; }

.news-hero--article { padding-bottom: 40px; }

.news-hero .news-meta { margin-bottom: 18px; }

.news-hero h1 { max-width: 20ch; }

.news-hero--article h1 {
  max-width: 26ch;
  margin-bottom: 16px;
}

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

.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(47, 134, 190, .14), transparent 55%),
    linear-gradient(180deg, rgba(10, 43, 75, .5) 0%, rgba(5, 24, 44, .38) 100%);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(142, 216, 255, .34);
  box-shadow: 0 22px 48px rgba(0, 8, 18, .35);
}

.news-card--feature {
  grid-column: span 2;
  grid-row: span 2;
}

.news-card-media {
  display: block;
  overflow: hidden;
  background: #08243f;
}

.news-card-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.news-card--feature .news-card-media img { aspect-ratio: 16 / 9; }

.news-card:hover .news-card-media img { transform: scale(1.035); }

.news-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px 22px;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.news-cat {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid rgba(142, 216, 255, .28);
  border-radius: 999px;
  background: rgba(142, 216, 255, .08);
  color: var(--brand-light);
  font-size: 9px;
  letter-spacing: .12em;
}

.news-card h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.news-card--feature h2 { font-size: 24px; }

.news-card h2 a { color: var(--text); }

.news-card h2 a:hover { color: var(--brand-light); }

.news-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.news-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--brand-light);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
}

.news-more svg {
  width: 15px;
  height: 15px;
  transition: transform .2s ease;
}

.news-more:hover svg { transform: translateX(3px); }

.news-empty {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 70px 20px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
}

.news-empty svg {
  width: 40px;
  height: 40px;
  color: var(--muted-2);
}

.news-empty p { margin: 0; }

.home-news-note {
  margin: 0;
  padding: 30px 20px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}

.home-news-more {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

/* ---------- Whistleblower call to action ---------- */

.wbs-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(142, 216, 255, .2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 134, 190, .2), transparent 55%),
    linear-gradient(135deg, rgba(10, 43, 75, .68) 0%, rgba(6, 27, 51, .55) 100%);
}

.wbs-cta-copy { flex: 1 1 380px; max-width: 640px; }

.wbs-cta-copy .section-title { margin-bottom: 10px; }

.wbs-cta-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.wbs-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}


/* ---------- Article ---------- */

.article-wrap { padding: clamp(30px, 5vw, 54px) 0 clamp(50px, 7vw, 90px); }

.article-inner { max-width: 880px; }

.article-media {
  margin: 0 0 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #08243f;
}

.article-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
}

.article-media figcaption {
  padding: 10px 16px;
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.5;
}

.article-body {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.85;
}

.article-body p { margin: 0 0 20px; }

.article-body p:first-child {
  color: var(--text);
  font-size: 17px;
  line-height: 1.75;
}

.article-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.article-foot .news-more { margin-top: 0; }

.article-contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
}

.article-contact span {
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.article-contact a { color: var(--brand-light); font-size: 12px; }

/* ---------- Footer tweaks ---------- */

.footer-bottom-links {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-links a { color: inherit; }
.footer-bottom-links a:hover { color: var(--brand-light); }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-card--feature { grid-column: span 2; grid-row: auto; }
  .news-card--feature h2 { font-size: 21px; }
}

@media (max-width: 980px) {
  .header-actions { display: none; }
  .notice-inner { min-height: 0; padding: 8px 0; }
  .notice-inner p { font-size: 10.5px; }
  .notice-links { gap: 10px; }
  .notice-links a { font-size: 10.5px; }
  .notice-links svg { display: none; }
}

@media (max-width: 640px) {
  .notice-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }
  .notice-links { width: 100%; justify-content: space-between; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card--feature { grid-column: auto; }
  .news-card--feature h2 { font-size: 19px; }
  .news-hero h1 { max-width: none; }
  .article-body { font-size: 14.5px; }
  .article-body p:first-child { font-size: 16px; }
  .article-foot { flex-direction: column; align-items: flex-start; }
  .article-contact { text-align: left; }
  .footer-bottom-links { gap: 10px; }
}
