/* Beranda: berita terkini. */
/* Daftar berita mengikuti susunan kolom editorial, dalam lebar situs yang sama. */
.news-column-page .news-list-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 32px 22px;
}
.news-column-page .news-list-grid .news-card {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.news-column-page .news-list-grid .news-card:hover { transform: none; }
.news-column-page .news-card-link { height: auto; }
.news-column-page .news-image { aspect-ratio: 16 / 9; border-radius: 0; }
.news-column-page .news-card-copy { padding: 14px 0 16px; }
.news-column-page .news-list-grid .news-card h2 { margin: 0 0 12px; font-size: 17px; line-height: 1.45; }
.news-column-page .news-list-grid .news-card-copy p { margin: 0 0 20px; font-size: 13px; line-height: 1.65; }
.news-column-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.news-column-meta time { margin: 0; }
.news-column-meta > span { border-left: 1px solid var(--line); padding-left: 10px; }
@media (max-width: 1100px) { .news-column-page .news-list-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .news-column-page .news-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .news-column-page .news-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.achievement-detail-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin: 28px 0; }
.achievement-detail-facts dt { font-size: 13px; color: var(--muted); }
.achievement-detail-facts dd { margin: 8px 0 0; font-weight: 700; color: var(--green-dark); }
.news-section[data-revealed="false"] .news-section-heading,
.news-section[data-revealed="false"] .news-carousel {
  opacity: 0;
  transform: translateY(20px);
}
.news-section-heading,
.news-carousel {
  transition:
    opacity 750ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 750ms cubic-bezier(0.22, 1, 0.36, 1);
}
.news-section {
  --news-accent: #a45e17;
}
.news-section-heading {
  text-align: center;
}
.news-section-heading h2 {
  color: var(--green-dark);
  font-size: clamp(30px, 3.1vw, 42px);
  font-weight: 800;
}
.news-heading-accent {
  display: block;
  width: 120px;
  height: 4px;
  margin: 18px auto 23px;
  border-radius: 2px;
  background: var(--orange, #ed922c);
}
.news-section-heading p {
  max-width: 710px;
  margin-inline: auto;
  font-size: 16px;
  line-height: 1.8;
}
.news-carousel-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}
.news-all-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-block: 10px;
  border-bottom: 1px solid #b4c6b9;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 650;
}
.news-carousel {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 6px 0 16px;
  margin-top: 18px;
  scrollbar-width: thin;
  scrollbar-color: #b4c6b9 transparent;
}
.news-carousel-item {
  display: flex;
  flex: 0 0 calc((100% - 66px) / 4);
  min-width: 0;
}
.news-card {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition:
    transform 250ms ease,
    box-shadow 250ms ease,
    border-color 250ms ease;
}
.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.1);
}
.news-card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
}
.news-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #ffffff;
  border-radius: 16px 16px 0 0;
}
.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ffffff;
  transition: transform 0.4s ease;
}
.news-card:hover .news-image img {
  transform: scale(1.04);
}
.news-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 18px 18px;
}
.news-categories {
  color: var(--news-accent);
  font-size: 12px;
  font-weight: 600;
}
.news-card h2,
.news-card h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  margin: 8px 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #111827;
}
.news-card p,
.news-card-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  margin: 0 0 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13.5px;
  line-height: 1.55;
  color: #6b7280;
}
.news-card time {
  margin-top: auto;
  color: var(--muted);
  font-size: 12px;
}
.news-more-card {
  display: flex;
  width: 100%;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.05);
  color: var(--ink);
  transition:
    transform 250ms ease,
    box-shadow 250ms ease,
    border-color 250ms ease;
}
.news-more-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.1);
}
.news-more-card span {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.news-more-card strong {
  font: 800 clamp(23px, 2vw, 29px)/1.25 var(--heading);
  color: #0f172a;
}
.news-more-card svg {
  align-self: flex-end;
  color: #0f172a;
  transition: transform 0.25s ease, color 0.25s ease;
}
.news-more-card:hover svg {
  transform: translateX(4px);
  color: var(--green);
}
@media (max-width: 1100px) {
  .news-carousel-item {
    flex-basis: calc((100% - 22px) / 2);
  }
  .news-detail-layout {
    grid-template-columns: 1fr;
  }
  .news-article-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .news-list-grid {
    grid-template-columns: 1fr;
  }
  .news-card.is-horizontal .news-image {
    min-height: 290px;
  }
}
@media (max-width: 700px) {
  .news-section-heading p {
    font-size: 14px;
  }
  .news-carousel-item {
    flex-basis: 82%;
  }
  .news-list-header {
    align-items: stretch;
    flex-direction: column;
  }
  .news-category-select select {
    width: 100%;
  }
  .news-card.is-horizontal .news-card-link {
    display: flex;
  }
  .news-card.is-horizontal .news-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 4/3;
    border-radius: 13px 13px 0 0;
  }
  .news-card.is-horizontal h2 {
    font-size: 20px;
  }
  .news-article-sidebar {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 1101px) {
  .news-carousel-item {
    flex-basis: calc((100% - 66px) / 4);
  }
}
@media (max-width: 420px) {
  .news-carousel-item {
    flex-basis: 88%;
  }
}
/* keep the original news palette/card treatment, with a shorter listing card */
.news-card.is-horizontal .news-image {
  min-height: 220px;
}
.news-card.is-horizontal .news-card-copy {
  padding: 17px;
}
.news-card.is-horizontal h2 {
  font-size: 17px;
  line-height: 1.4;
}
.news-card-copy p {
  margin: 10px 0 14px;
  font-size: 13px;
  line-height: 1.65;
}
.news-list-header .eyebrow {
  margin-bottom: 8px;
  color: #a45e17;
}
@media (max-width: 900px) {
  .news-card.is-horizontal .news-image {
    min-height: 220px;
  }
}
@media (max-width: 600px) {
  .news-card.is-horizontal .news-image {
    min-height: 0;
  }
  .news-card.is-horizontal .news-card-copy {
    padding: 15px;
  }
}
.news-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #657c6d;
  text-align: center;
}
.news-image-placeholder span {
  font-size: 11px;
}
.news-demo-label {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}
.news-list-page.section,
.news-detail-layout.section {
  padding-top: 32px;
  padding-bottom: 72px;
}
.news-breadcrumb {
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 12px;
}
.news-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.news-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.news-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.news-list-header h1 {
  color: var(--green-dark);
  font-size: clamp(34px, 3.4vw, 44px);
}
.news-category-select select {
  width: 250px;
  max-width: 100%;
  min-height: 48px;
  border-radius: 8px;
}
.news-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.news-card.is-horizontal .news-card-link {
  display: grid;
  grid-template-columns: 45% minmax(0, 1fr);
}
.news-card.is-horizontal .news-image {
  height: 100%;
  min-height: 310px;
  aspect-ratio: auto;
  border-radius: 13px 0 0 13px;
}
.news-card.is-horizontal .news-card-copy p {
  margin: 12px 0 18px;
  font-size: 14px;
}
.news-read-more {
  align-self: flex-start;
  margin-top: auto;
  border-bottom: 1px solid #b4c6b9;
  color: var(--green-dark);
}
.news-list-status {
  margin-top: 24px;
  text-align: center;
  font-size: 12px;
}
.news-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}
.news-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.news-pagination a[aria-current] {
  background: var(--green-dark);
  color: white;
}
.news-empty {
  padding: 48px 20px;
  text-align: center;
  background: var(--paper);
}
.news-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}
.news-article h1 {
  color: var(--green-dark);
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.3;
}
.news-article-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 24px 0 14px;
  color: var(--muted);
  font-size: 13px;
}
.news-image.is-cover {
  aspect-ratio: 3/2;
  border-radius: 12px;
}
.news-article-body {
  margin-top: 30px;
  font-size: 17px;
  line-height: 1.85;
}
.news-article-body p {
  margin-bottom: 22px;
}
.news-article-sidebar {
  display: grid;
  gap: 28px;
}
.news-sidebar-group {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.news-sidebar-group h2 {
  font-size: 23px;
}
.news-sidebar-group .news-heading-accent {
  margin: 13px 0 4px;
}
.news-sidebar-row {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  padding-block: 20px;
}
.news-sidebar-row + .news-sidebar-row {
  border-top: 1px solid var(--line);
}
.news-sidebar-row .news-image {
  aspect-ratio: 1;
  border-radius: 7px;
}
.news-sidebar-row .news-image-placeholder span {
  display: block;
  font-size: 7px;
  line-height: 1.25;
}
.news-sidebar-row h3 {
  font-size: 14px;
}
.news-sidebar-row time {
  font-size: 11px;
  color: var(--muted);
}
@media (max-width: 700px) {
  .news-list-grid,
  .news-detail-layout {
    grid-template-columns: 1fr;
  }
  .news-list-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .news-card.is-horizontal .news-image {
    min-height: 210px;
  }
  .news-article-sidebar {
    grid-template-columns: 1fr;
  }
}

/* Final override: kartu daftar Berita & Pengumuman dibuat lebih ringkas. */
.news-list-grid .news-card.is-horizontal .news-image {
  min-height: 210px;
}
.news-list-grid .news-card.is-horizontal .news-card-copy {
  padding: 16px;
}
.news-list-grid .news-card.is-horizontal h2 {
  margin: 7px 0 10px;
  font-size: 17px;
  line-height: 1.4;
}
.news-list-grid .news-card-copy p {
  margin: 8px 0 12px;
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .news-list-grid .news-card.is-horizontal .news-image {
    min-height: 200px;
  }
}
@media (max-width: 600px) {
  .news-list-grid .news-card.is-horizontal .news-image {
    min-height: 0;
  }
}

/* Treatment visual dari berita versi lama: aksen kategori, tipografi, dan placeholder. */
.news-list-page,
.news-detail-layout,
.news-section {
  --news-accent: #a45e17;
}
.news-list-grid .news-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}
.news-list-grid .news-card:hover {
  border-color: #b4c6b9;
  transform: translateY(-3px);
}
.news-list-grid .news-categories {
  display: block;
  color: var(--news-accent);
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.news-list-grid .news-demo-label {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}
.news-list-grid .news-card h2 {
  color: var(--green-dark);
  font-family: var(--heading);
  font-weight: 750;
  letter-spacing: -0.3px;
}
.news-list-grid .news-card time {
  color: var(--muted);
  font-size: 12px;
}
.news-list-grid .news-image-placeholder {
  background: #ffffff;
  color: #657c6d;
}
.news-list-grid .news-image-placeholder span {
  color: #657c6d;
  font-size: 11px;
  letter-spacing: 0.5px;
}
.news-list-grid .news-read-more {
  color: var(--green-dark);
  font-size: 13px;
  border-bottom-color: #b4c6b9;
}


.news-image-placeholder,
.news-list-grid .news-image-placeholder {
  background: #ffffff !important;
  color: #64748b !important;
  border-bottom: 1px solid #f1f5f9;
}

.news-image-placeholder span,
.news-list-grid .news-image-placeholder span {
  color: #64748b !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
}
