/* ผู้พัฒนา ระบบ : นายวิษณุ เสาะสาย · เจ้าพนักงานธุรการ */
#home-news>.home-news-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:1fr;gap:1.5rem;margin:0}
#home-news>.home-news-grid>[class*="col-"]{display:flex;min-width:0;width:auto;padding:0;margin:0}
#home-news>.home-news-grid>.home-news-empty{grid-column:1/-1}
#home-news .empty-state{width:100%}
#home-news .health-news-card{display:flex;flex-direction:column;min-width:0;width:100%;height:100%;overflow:hidden}
#home-news .health-news-cover{display:block;position:relative;width:100%;height:auto!important;min-height:0;max-height:none;aspect-ratio:16/10!important;flex:0 0 auto;overflow:hidden;background:#edf3ef}
/* Fill the frame with the upper portion; never reveal the lower half. */
#home-news .health-news-cover .hn-half-window{position:absolute;display:block;inset:0;width:100%;height:100%;overflow:hidden;line-height:0}
#home-news .health-news-cover .hn-half-window img{position:absolute!important;display:block;left:50%;top:0;width:var(--hn-image-width,100%)!important;max-width:none!important;height:auto!important;max-height:none!important;object-fit:initial;object-position:top;margin:0!important;transform:translateX(-50%)!important;clip-path:none;transition:none}
#home-news .health-news-cover>img{display:block;width:100%;height:200%;max-height:none;object-fit:cover;object-position:center top;transform:none}
#home-news .health-news-cover .category-label{z-index:2}
#home-news .health-news-cover .cover-placeholder{position:absolute;inset:0;width:100%;height:100%}
#home-news .health-news-body{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;overflow-wrap:anywhere}
#home-news .health-news-body h3,#home-news .health-news-body p{overflow-wrap:anywhere}
#home-news .news-card-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:auto}
#home-news .home-news-actions{flex-shrink:0}
@media(min-width:768px){#home-news>.home-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:992px){#home-news>.home-news-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
