From 7823578225b82900cb6827d7f8de2507fe568edc Mon Sep 17 00:00:00 2001 From: popovskik Date: Thu, 27 Aug 2026 17:24:48 +0200 Subject: [PATCH] style(home): permanent drop shadow on latest-news card images MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a soft box-shadow to .news-card-media so the card image separates from the teal (#2D738C) News section background — needed when an image has blue edges that otherwise merge into the section colour. Co-Authored-By: Claude Opus 4.8 (1M context) --- css/components/_cards.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/css/components/_cards.css b/css/components/_cards.css index 14f27ff9..29d09d25 100644 --- a/css/components/_cards.css +++ b/css/components/_cards.css @@ -56,6 +56,10 @@ margin-bottom: 24px; border-radius: 8px; overflow: hidden; + /* Permanent soft drop shadow so the image lifts off the teal News section + background — needed when a card image has blue edges that would otherwise + merge into the section colour. */ + box-shadow: 0 6px 20px rgba(9, 18, 26, 0.28); } .news-card-media img { height: 220px; margin-bottom: 0; display: block; } .news-card .news-ph {