.news-photo-gallery { --news-photo-columns: 2; --news-photo-height: 220px; margin-block: 12px; }
.news-photo-layout-3 { --news-photo-columns: 3; --news-photo-height: 160px; }
.news-photo-layout-4 { --news-photo-columns: 4; --news-photo-height: 120px; }
.news-photo-track { display: grid; grid-template-columns: repeat(var(--news-photo-columns), minmax(0, 1fr)); gap: 12px; }
.news-photo-item { min-width: 0; align-self: start; }
.news-photo-item img { display: block; width: 100%; height: var(--news-photo-height); object-fit: cover; border-radius: 6px; }
.news-photo-layout-slider .news-photo-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; }
.news-photo-layout-slider .news-photo-item { flex: 0 0 100%; scroll-snap-align: start; }
.news-photo-layout-slider .news-photo-item img { height: auto; aspect-ratio: 16 / 9; max-height: 560px; object-fit: contain; background: #f5f6f8; }
.news-photo-controls { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.news-photo-controls button { border: 1px solid #c7d1de; border-radius: 6px; padding: 5px 12px; background: #fff; color: #203654; cursor: pointer; }
:is(.breadcrumb-content, .news-preview-page) h1.news-article-title {
    font: 600 var(--article-title-size, clamp(1.375rem, 2.4vw, 1.5rem))/1.2 Mitr, sans-serif;
    color: #1f1f1f;
}
.news-body-type {
    font: 400 18px/1.825 Sarabun, sans-serif;
    color: #3b3a3a;
}
.news-body-type p {
    font: inherit;
    color: inherit;
}
@media (max-width: 769px) {
    .news-body-type { font-size: 16px; }
}
.news-rich-body table, #newsTableSample { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin-block: 8px; }
.news-rich-body :is(th, td), #newsTableSample :is(th, td) { border: 1px solid #c7d1de; padding: 6px 10px; min-width: 64px; }
.news-rich-body th, #newsTableSample th { background-color: #eaf2fc; }
@media (max-width: 575.98px) {
    .news-photo-gallery { --news-photo-columns: 1; --news-photo-height: 180px; }
    .news-photo-layout-3, .news-photo-layout-4 { --news-photo-columns: 2; --news-photo-height: 110px; }
}
.news-preview-page { max-width: 869px; margin: 24px auto; padding: 24px; color: #20242b; font: 16px/1.6 Tahoma, sans-serif; overflow-wrap: anywhere; }
.news-preview-cover { display: block; max-width: 100%; height: auto; }
.news-print-controls { margin-bottom: 1rem; }
.news-print-controls button { cursor: pointer; padding: .45rem .85rem; background: #145ba8; color: #fff; border: 0; border-radius: 5px; font: inherit; }
@media print {
    .news-preview-page { margin: 0; padding: 0; max-width: none; }
    .news-print-controls, .news-photo-controls { display: none !important; }
    .news-preview-cover, .news-photo-item { break-inside: avoid; }
    .news-photo-layout-slider .news-photo-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; overflow: visible; }
}
.news-photo-item > a { display: block; }
.news-preview-page .shine__animate-link { position: relative; overflow: hidden; }
.news-preview-page .shine__animate-link::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, #fff8 50%, transparent 65%); transform: translateX(-105%); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
    .news-preview-page .shine__animate-link:hover::before { transform: translateX(105%); transition: transform .55s ease; }
}
