/* P052: Latest news chronology — visual/readability changes only. */
/* Compact news section heading; no on-screen sorting caption. */
.school-site-body #news .news-heading>div:first-child {
  display:flex;align-items:center;column-gap:12px;row-gap:3px;flex-wrap:wrap;
}
.school-site-body #news .news-heading .section-kicker{flex-basis:100%;}
/* Preserve the established 3-column desktop layout and full-width feature. */
@media(min-width:1081px){
 .school-site-body .public-content-row #news .news-feed {
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-auto-flow:row!important;gap:12px!important;align-items:stretch!important;
 }
 .school-site-body .public-content-row #news .news-feed-card.is-featured {grid-column:1/-1!important;}
}
@media(min-width:821px) and (max-width:1080px){
 .school-site-body .public-content-row #news .news-feed{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-flow:row!important;gap:11px!important;
 }
 .school-site-body .public-content-row #news .news-feed-card.is-featured{grid-column:1/-1!important;}
}
/* The newest story always carries the feature flag; filter changes update it. */
.school-site-body #news .p052-featured-tag {display:none;}
.school-site-body #news .news-feed-card.is-featured .p052-featured-tag {
  display:inline-flex;align-items:center;gap:5px;padding:4px 8px;
  border-radius:7px;background:#e5f5ec;color:#096340;
  font-size:11px;font-weight:850;
}
.school-site-body #news .news-feed-meta time{display:inline-flex;align-items:center;gap:4px;}
/* Mini cards: date anchors the same top-left position on EVERY card. */
.school-site-body #news .news-feed-card:not(.is-featured) .news-feed-meta {
  display:flex!important;flex-direction:row!important;align-items:center!important;
  gap:5px!important;flex-wrap:nowrap!important;min-height:0;overflow:hidden;
}
.school-site-body #news .news-feed-card:not(.is-featured) .news-feed-meta time{
  order:0;flex:0 0 auto;color:#506f61;font-size:11px!important;
  font-weight:750;line-height:1.2;white-space:nowrap;
}
.school-site-body #news .news-feed-card:not(.is-featured) .news-feed-meta time i{font-size:10px;color:#1d8a65;}
.school-site-body #news .news-feed-card:not(.is-featured) .news-type{
  order:1;flex:0 1 auto;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;
  white-space:nowrap;font-size:9px!important;padding:2px 6px;
}
.school-site-body #news .news-feed-card:not(.is-featured) .sdc-fb-news-origin {display:none;}
@media(min-width:821px){
 .school-site-body .public-content-row #news .news-feed-card:not(.is-featured){
   height:128px!important;min-height:128px!important;
 }
 .school-site-body .public-content-row #news .news-feed-card:not(.is-featured) .news-feed-copy{
   padding:8px 9px!important;max-height:128px!important;
 }
 .school-site-body .public-content-row #news .news-feed-card:not(.is-featured) .news-feed-copy h3{
   font-size:13px!important;line-height:1.32!important;margin:4px 0 2px!important;
   -webkit-line-clamp:2!important;
 }
 .school-site-body .public-content-row #news .news-feed-card:not(.is-featured) .news-feed-copy>p {
   font-size:11px!important;line-height:1.2!important;-webkit-line-clamp:1!important;
 }
 .school-site-body .public-content-row #news .news-feed-card:not(.is-featured) .news-feed-foot {
   padding-top:0!important;margin-top:auto!important;
 }
}
/* The existing single-column mobile layout stays in place. */
@media(max-width:820px){
 .school-site-body .public-content-row #news .news-feed{
   grid-template-columns:minmax(0,1fr)!important;grid-auto-flow:row!important;
 }
 .school-site-body #news .news-feed-card:not(.is-featured) .news-feed-meta{
   flex-wrap:nowrap!important;gap:5px!important;
 }
}
@media(max-width:560px){
 .school-site-body #news .news-feed-card:not(.is-featured) .news-type{font-size:9px!important;}
}
