.home-latest-news{padding-top:32px;padding-bottom:0}
body[data-portal="lobez24"] .home-latest-news{position:relative;isolation:isolate;width:100%;padding-block:2.5rem;background-color:#0878df}
body[data-portal="lobez24"] .home-latest-news::before{content:"";position:absolute;inset:0;z-index:0;background:url('asset.php?file=backgrounds%2Flobez24-world-map.webp') center/cover no-repeat;opacity:.75;pointer-events:none}
.home-latest-inner{position:relative;z-index:1}
body[data-portal="lobez24"] .home-latest-news .local-news-section-header{color:#fff;text-shadow:0 1px 3px #00366d80}
.home-latest-news .local-news-card{border-radius:2px}
.home-latest-news .local-news-card-caption h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.home-latest-news .news-card-municipality{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:575.98px){.home-latest-news .local-news-section-header{align-items:flex-start;gap:.5rem;flex-wrap:wrap}}

.home-latest-news .local-news-card-caption{flex-direction:column;align-items:flex-start;justify-content:flex-end}
.home-latest-news .local-news-card-caption h3{width:100%}
.home-latest-news .news-card-municipality{display:inline-block;width:auto;padding:.15em .5em;border-radius:2px;line-height:1.4;background:#dc2626;color:#fff}
.home-latest-news .news-card-red-rule{display:block;flex-shrink:0}
body[data-portal="lobez24"] .home-latest-news .news-card-municipality{background:#008cff}
body[data-portal="lobez24"] .home-latest-news .news-card-red-rule{border-top-color:#008cff}

body[data-portal="lobez24"] .home-latest-news .local-news-card--signal .news-card-municipality{background:#dc2626;color:#fff}
body[data-portal="lobez24"] .home-latest-news .local-news-card--signal .news-card-red-rule{border-top-color:#dc2626}


/* Background follows the real content height; cover preserves image proportions. */
@media(max-width:767.98px){body[data-portal="lobez24"] .home-latest-news::before{background-image:url('asset.php?file=backgrounds%2Flobez24-world-map-mobile.webp')}}
@media (min-width: 992px) { #home-latest-carousel > .local-news-carousel-item { flex-basis: calc((100% - 2rem) / 3); } }

body[data-portal] .home-latest-news .local-news-card .news-card-municipality {
    background: transparent;
    padding: 0;
}
