/* Home news tiles - scoped to this shortcode only. */
.fsn-home-news { margin: 20px 0 30px; width: 100%; clear: both; }
.fsn-home-news *, .fsn-home-news *::before, .fsn-home-news *::after { box-sizing: border-box; }
.fsn-home-news__header { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-bottom: 15px; }
.fsn-home-news .fsn-home-news__heading { font-weight: 700; font-size: 1.35rem; line-height: 1.4; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
.fsn-home-news__all { font-size: 0.9rem; font-weight: 700; text-decoration: none !important; }
.fsn-home-news__grid { display: grid; grid-template-columns: repeat(var(--fsn-home-cols,4), minmax(0,1fr)); gap: 12px; }
.fsn-home-news__item { min-width: 0; margin: 0 !important; padding: 0 !important; border: 0 !important; }
.fsn-home-news a.fsn-home-news__tile { position: relative; display: block; aspect-ratio: 1.25 / 1; overflow: hidden; isolation: isolate; border-radius: 10px; background: #384358; color: #fff !important; text-decoration: none !important; box-shadow: 0 2px 10px rgba(0,0,0,.10); }
.fsn-home-news__image { width: 100% !important; height: 100% !important; max-width: none !important; display: block !important; object-fit: cover; object-position: center; margin: 0 !important; transition: transform .24s ease; }
.fsn-home-news__tile:hover .fsn-home-news__image { transform: scale(1.035); }
.fsn-home-news__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(0,0,0,0) 24%, rgba(0,0,0,.30) 50%, rgba(0,0,0,.88) 100%); }
.fsn-home-news__info { position: absolute; z-index: 2; bottom: 0; left: 0; right: 0; padding: 28px 11px 11px; display: block; text-align: left; color: #fff !important; text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.fsn-home-news__info time { display:block; font-size: 11px; opacity:.94; line-height: 1.4; margin-bottom: 4px; }
.fsn-home-news__title { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: var(--fsn-home-title-lines,3); line-clamp: var(--fsn-home-title-lines,3); font-size: 13px; line-height: 1.45; font-weight: 700; color: #fff !important; overflow-wrap: anywhere; }
.fsn-home-news__tile:focus-visible { outline: 3px solid #f65d89; outline-offset: 3px; }
@media (max-width: 900px) { .fsn-home-news__grid { grid-template-columns: repeat(var(--fsn-home-mobile-cols,2),minmax(0,1fr)); gap: 10px; } .fsn-home-news__title { font-size: 14px; } }
@media (max-width: 380px) { .fsn-home-news__title { font-size: 12px; } .fsn-home-news__info { padding: 20px 8px 8px; } }
@media (prefers-reduced-motion: reduce) { .fsn-home-news__image { transition: none; } }

/* v0.8.3 extended layouts; base tiles remain visually backward-compatible. */
.fsn-home-news__placeholder { display:block; width:100%; height:100%; background:linear-gradient(145deg,#52627b,#273247); }
.fsn-home-news--card .fsn-home-news__tile { aspect-ratio:auto; min-height:100%; background:#fff; border:1px solid #e4e7eb; color:#263040 !important; }
.fsn-home-news--card .fsn-home-news__image, .fsn-home-news--card .fsn-home-news__placeholder { width:100% !important; height:auto !important; aspect-ratio:16/9; object-fit:cover; }
.fsn-home-news--card .fsn-home-news__shade { display:none; }
.fsn-home-news--card .fsn-home-news__info { display:block; position:relative; padding:10px 12px 14px; text-shadow:none; color:#283344 !important; }
.fsn-home-news--card .fsn-home-news__info time { color:#687586; }
.fsn-home-news--card .fsn-home-news__title { color:#283344 !important; font-size:14px; }
.fsn-home-news--compact .fsn-home-news__grid { display:flex; flex-direction:column; gap:0; }
.fsn-home-news--compact .fsn-home-news__item { border-bottom:1px solid #e4e7eb !important; }
.fsn-home-news--compact .fsn-home-news__tile { display:flex; align-items:center; gap:12px; aspect-ratio:auto; border-radius:0; background:transparent; box-shadow:none; color:inherit !important; padding:8px 0; min-height:75px; }
.fsn-home-news--compact .fsn-home-news__image, .fsn-home-news--compact .fsn-home-news__placeholder { flex:0 0 64px; width:64px !important; height:64px !important; max-width:64px !important; aspect-ratio:1/1; border-radius:6px; object-fit:cover; }
.fsn-home-news--compact .fsn-home-news__shade { display:none; }
.fsn-home-news--compact .fsn-home-news__info { position:static; padding:0; text-shadow:none; color:inherit !important; }
.fsn-home-news--compact .fsn-home-news__info time { color:#657286; }
.fsn-home-news--compact .fsn-home-news__title { color:inherit !important; font-size:14px; }
.fsn-home-news--compact .fsn-home-news__tile:hover .fsn-home-news__image { transform:none; }
@media (max-width: 900px) { .fsn-home-news--card .fsn-home-news__title { font-size:14px; } }
