/* Tampilan khusus daftar dan detail berita ATEKMAR. */
.am-news { color: #17324d; background: #f6f9fc; overflow-wrap: anywhere; }
.am-news .am-wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.am-news a:focus-visible { outline: 3px solid #0967c2; outline-offset: 5px; border-radius: 4px; }
.am-news .am-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: #526b80; margin-bottom: 32px; }
.am-news .am-breadcrumb a:hover { text-decoration: underline; }
.am-news .am-category { display: inline-block; padding: 5px 12px; border-radius: 6px; background: #e7f2ff; color: #07539d; font-size: 12px; font-weight: 800; }
.am-news .am-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid #c6d9eb; border-radius: 8px; background: #fff; color: #063970; font-size: 14px; font-weight: 700; }
.am-news .am-button:hover { background: #e7f2ff; border-color: #0967c2; }
.am-detail { padding: 30px 0 64px; }
.am-detail .am-wrap { max-width: 1000px; }
.am-news .am-article-head { max-width: 880px; margin: 0 auto 28px; }
.am-news .am-article-head h1 { margin: 16px 0 20px; color: #063970; font-size: clamp(26px, 3.1vw, 42px); line-height: 1.25; letter-spacing: -.025em; font-weight: 800; }
.am-news .am-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; color: #526b80; font-size: 13px; }
.am-news .am-meta strong { color: #17324d; }
.am-news .am-cover { margin: 0 0 32px; padding: 0; background: #fff; border: 1px solid #d8e7f5; border-radius: 12px; overflow: hidden; }
.am-news .am-cover img { display: block; width: 100%; max-width: 100%; height: auto; min-height: 0; max-height: none; aspect-ratio: auto; object-fit: contain; margin: 0; }
.am-news .am-article-body { max-width: 800px; margin: 0 auto; color: #263445; font-family: Arial, "Segoe UI", sans-serif; font-size: 18px; font-weight: 400; line-height: 1.85; letter-spacing: normal; text-align: justify; text-justify: inter-word; overflow-wrap: break-word; }
.am-news .am-article-body p { margin: 0 0 1.25em; }
.am-news .am-article-body p, .am-news .am-article-body li { color: inherit; }
.am-news .am-article-body h2, .am-news .am-article-body h3 { color: #063970; line-height: 1.4; margin: 1.6em 0 .6em; }
.am-news .am-article-body a { color: #075caf; text-decoration: underline; text-underline-offset: 3px; }
.am-news .am-article-body img { max-width: 100% !important; height: auto !important; object-fit: contain; }
.am-news .am-article-body figure { max-width: 100%; margin: 24px 0; }
.am-news .am-article-body iframe, .am-news .am-article-body video { max-width: 100%; }
.am-news .am-article-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.am-news .am-article-body td, .am-news .am-article-body th { padding: 10px; border: 1px solid #d8e7f5; }
.am-news .am-article-body blockquote { margin: 24px 0; padding: 16px 22px; border-left: 4px solid #0967c2; background: #eaf3fc; }
.am-news .am-article-end { max-width: 780px; margin: 32px auto 0; padding-top: 24px; border-top: 1px solid #d8e7f5; }
.am-news .am-list-hero { padding: 28px 0 48px; background: linear-gradient(120deg, #e8f2fc, #fff); border-bottom: 1px solid #d8e7f5; }
.am-news .am-eyebrow { color: #0967c2; font-size: 12px; font-weight: 800; letter-spacing: .16em; margin: 0 0 10px; }
.am-news .am-list-hero h1 { margin: 0 0 12px; color: #063970; font-size: clamp(32px, 4vw, 48px); line-height: 1.2; }
.am-news .am-list-hero p:last-child { max-width: 620px; margin: 0; color: #526b80; }
.am-news .am-list-section { padding-block: 32px 56px; }
.am-news .am-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.am-news .am-toolbar h2 { margin: 0 0 4px; font-size: 24px; color: #063970; }
.am-news .am-toolbar p { margin: 0; font-size: 13px; color: #526b80; }
.am-news .am-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.am-news .am-card { min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid #d8e7f5; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgb(6 57 112 / 5%); }
.am-news .am-card:hover { border-color: #91bde5; }
.am-news .am-card-media { display: grid; place-items: center; aspect-ratio: 1366 / 768; background: #edf3f9; }
.am-news .am-card-media img { display: block; width: 100%; height: 100%; min-height: 0; aspect-ratio: 1366 / 768; object-fit: contain; }
.am-news .am-placeholder { text-align: center; color: #063970; font-weight: 800; font-size: 24px; letter-spacing: .08em; }
.am-news .am-placeholder small { display: block; font-size: 12px; letter-spacing: 0; font-weight: 500; }
.am-news .am-card-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.am-news .am-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12px; color: #526b80; }
.am-news .am-card h2 { margin: 16px 0 12px; font-size: 20px; line-height: 1.45; color: #063970; }
.am-news .am-card h2 a:hover { color: #0967c2; text-decoration: underline; }
.am-news .am-excerpt { margin: 0 0 22px; color: #526b80; font-size: 14px; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.am-news .am-card-bottom { margin-top: auto; padding-top: 16px; border-top: 1px solid #e5edf5; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 12px; color: #526b80; }
.am-news .am-card-bottom a { color: #07539d; font-weight: 800; }
.am-news .am-pagination { margin-top: 32px; }
.am-news .am-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; justify-content: center; }
.am-news .am-pagination a { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; justify-content: center; padding: 8px 12px; background: #fff; border: 1px solid #c6d9eb; border-radius: 6px; }
.am-news .am-pagination .active a, .am-news .am-pagination a[aria-current="page"] { color: #fff; background: #063970; }
.am-news .am-empty { padding: 40px 20px; background: #fff; text-align: center; border-radius: 12px; }
@media (max-width: 980px) { .am-news .am-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .am-news .am-wrap { width: calc(100% - 32px); }
  .am-news .am-news-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .am-news .am-card-body { padding: 18px; }
  .am-news .am-article-body { font-size: 17px; line-height: 1.8; text-align: left; }
  .am-news .am-breadcrumb { margin-bottom: 24px; font-size: 12px; }
  .am-news .am-cover { border-radius: 8px; margin-bottom: 24px; }
  .am-detail { padding-top: 22px; }
}
/* Foto berita tampil utuh, sesuai ukuran 1366 × 768 */
img.news-image {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1366 / 768;
  object-fit: contain;
  object-position: center;
  background: #fff;
}