/* Homepage news: independent heights, real artwork, a bounded editorial lead. */
.sf-home-news-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; align-items:start; }
.sf-home-news-grid[data-count="1"] { grid-template-columns:minmax(0,1fr); max-width:680px; }
.sf-home-news-grid[data-count="2"] { grid-template-columns:repeat(2,minmax(0,1fr)); }
.sf-home-news-grid--featured { grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); grid-template-rows:auto auto; }
.sf-home-news-card { --news-bg:#fff1df; --news-accent:#9c491d; display:flex; flex-direction:column; min-width:0; overflow:hidden; border:1px solid #edd6b9; border-radius:23px; background:var(--news-bg); color:#282233; text-decoration:none; transition:box-shadow .16s,border-color .16s; }
.sf-home-news-card:nth-child(2) { --news-bg:#eaf4e7; --news-accent:#366647; border-color:#d1e3cd; }
.sf-home-news-card:nth-child(3) { --news-bg:#f0eafa; --news-accent:#7046a3; border-color:#ded0ee; }
.sf-home-news-card:hover { box-shadow:0 12px 30px #503b5e16; border-color:#a77bc1; }
.sf-home-news-card:focus-visible { outline:3px solid #7042c1; outline-offset:4px; }
.sf-home-news-card--featured { grid-row:span 2; }
.sf-home-news-copy { padding:25px; }
.sf-home-news-meta { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; margin-bottom:14px; font-size:10px; line-height:1.5; }
.sf-home-news-meta span { padding:4px 7px; border:1px solid color-mix(in srgb,var(--news-accent) 18%,transparent); border-radius:7px; background:#ffffffa8; color:var(--news-accent); font-weight:700; }
.sf-home-news-meta time { color:#736b76; }
.sf-home-news-card h3 { margin:0 0 12px; font-size:22px; line-height:1.22; letter-spacing:-.7px; font-weight:750; overflow-wrap:break-word; }
.sf-home-news-card .sf-home-news-summary { margin:0 0 18px; color:#61576a; font-size:14px; line-height:1.6; }
.sf-home-news-foot { display:flex; align-items:center; justify-content:space-between; gap:16px; color:var(--news-accent); font-size:12px; font-weight:750; }
.sf-home-news-foot span:last-child { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:#ffffffb5; border:1px solid color-mix(in srgb,var(--news-accent) 20%,transparent); font-size:19px; font-weight:500; }
.sf-home-news-media { display:grid; place-items:center; padding:14px; background:#ffffff70; border-bottom:1px solid #0000000c; }
.sf-home-news-media > img { display:block; width:100%; height:190px; object-fit:contain; border-radius:9px; }
.sf-home-news-grid--featured .sf-home-news-media > img { height:145px; }
.sf-home-news-card--featured .sf-home-news-media { padding:0; background:linear-gradient(135deg,#fae2c8,#f6ebde); }
.sf-home-news-card--featured .sf-home-news-media > img { height:350px; padding:22px; }
.sf-home-news-card--featured .sf-home-news-copy { padding:25px 28px 26px; }
.sf-home-news-card--featured h3 { font-size:29px; line-height:1.18; letter-spacing:-1px; }
.sf-home-news-card--featured .sf-home-news-summary { font-size:15px; }
.sf-home-news-collage { width:100%; max-width:560px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:center; padding:28px 30px 25px; }
.sf-home-news-collage img { display:block; width:100%; height:auto; border:4px solid white; border-radius:11px; box-shadow:0 10px 20px #49335126; transform:rotate(-6deg); }
.sf-home-news-collage img:nth-child(2) { transform:translateY(7px) rotate(4deg); }
.sf-home-news-collage img:last-child { grid-column:1/-1; width:70%; justify-self:center; margin-top:-45px; transform:rotate(-3deg); }
@media(max-width:950px) {
 .sf-home-news-grid { grid-template-columns:1fr; }
 .sf-home-news-grid--featured { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .sf-home-news-card--featured { grid-column:1/-1; grid-row:auto; display:grid; grid-template-columns:1fr 1fr; }
 .sf-home-news-card--featured h3 { font-size:26px; }
 .sf-home-news-collage { padding:22px 18px 25px; }
 .sf-home-news-collage img:last-child { width:75%; margin-top:-12px; }
}
@media(max-width:620px) {
 .sf-home-news-grid,.sf-home-news-grid[data-count="2"] { grid-template-columns:1fr; gap:14px; }
 .sf-home-news-card--featured { grid-column:auto; display:flex; }
 .sf-home-news-card { border-radius:20px; }
 .sf-home-news-copy,.sf-home-news-card--featured .sf-home-news-copy { padding:23px 21px; }
 .sf-home-news-card--featured h3 { font-size:25px; letter-spacing:-.6px; }
 .sf-home-news-card--featured .sf-home-news-summary { font-size:14px; }
 .sf-home-news-media > img,.sf-home-news-grid--featured .sf-home-news-media > img { height:auto; max-height:220px; }
 .sf-home-news-collage { padding:23px 20px 27px; }
}
@media(prefers-reduced-motion:reduce) { .sf-home-news-card { transition:none; } }
