/* Whole-card feedback without changing card dimensions or creating sticky touch hover. */
html{--article-card-hover:#f1f4f8;--article-card-pressed:#e3e9f1;--article-card-focus:#8193ab}
html[data-theme=dark]{--article-card-hover:#1e2938;--article-card-pressed:#29384a;--article-card-focus:#8198b8}
.site_container .page .blog>.post:not(.single){border-radius:6px;transition:background-color .15s ease,box-shadow .15s ease;-webkit-tap-highlight-color:transparent}
.site_container .page .blog>.post:not(.single) a{-webkit-tap-highlight-color:transparent}
@media (hover:hover) and (pointer:fine){
 .site_container .page .blog>.post:not(.single):hover{background-color:var(--article-card-hover);box-shadow:0 0 0 7px var(--article-card-hover)}
}
.site_container .page .blog>.post:not(.single):focus-within{background-color:var(--article-card-hover);box-shadow:0 0 0 7px var(--article-card-hover)}
.site_container .page .blog>.post:not(.single):has(a:focus-visible){outline:2px solid var(--article-card-focus);outline-offset:7px}
.site_container .page .blog>.post:not(.single):active{background-color:var(--article-card-pressed);box-shadow:0 0 0 7px var(--article-card-pressed);transition:none}
.site_container .page .blog_grid .post:not(.last_row):active>a img{opacity:.82}
@media (prefers-reduced-motion:reduce){.site_container .page .blog>.post:not(.single){transition:none}}

/* Expand the existing image link, retaining native navigation and keyboard links. */
.site_container .page .blog>.post:not(.single){position:relative}
.site_container .page .blog>.post:not(.single)>a[href]:first-of-type{position:static}
.site_container .page .blog>.post:not(.single)>a[href]:first-of-type::after{content:"";position:absolute;inset:-7px;z-index:1;border-radius:6px;cursor:pointer}
.site_container .page .blog>.post:not(.single) .post_details a,.site_container .page .blog>.post:not(.single) a.comments_number{position:relative;z-index:2}
/* Compact titles only on the homepage; section and bulletin listings retain their type. */
.home-news-page .blog>.post:not(.single) h5{font-size:15px;line-height:1.5}
.home-news-page .blog>.post:not(.single) h2{font-size:18px;line-height:1.5}
.home-news-page .blog>.post:not(.single) :is(h2,h5)>a,.home-news-page .blog_grid .post:not(.last_row) :is(h2,h5)>a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;text-overflow:ellipsis}
#home-bulletins .home-bulletin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin-top:30px;overflow:visible}
#home-bulletins .home-bulletin-grid::after{content:none}
#home-bulletins .home-bulletin-grid>.post{width:auto;min-width:0;margin:0;clear:none}
#home-bulletins .home-bulletin-grid>.post>a{flex:0 0 100px}
#home-bulletins .home-bulletin-grid .post_content{flex:1;min-width:0;width:auto;margin-right:20px}
#home-bulletins .home-bulletins-more{max-width:330px;margin-top:24px;margin-inline-start:auto}
@media(max-width:1000px){
 #home-bulletins .home-bulletin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #home-bulletins .home-bulletin-grid>.post:nth-child(n+5){display:none}
}
@media(max-width:600px){
 #home-bulletins .home-bulletin-grid{grid-template-columns:minmax(0,1fr);gap:24px}
 #home-bulletins .home-bulletin-grid>.post:nth-child(n+3){display:none}
}
