/* Step 9.21: Homepage section and card refinement. Frontend-only; no template/query changes. */
body.home .home-main > .section {margin-block:clamp(24px,3vw,42px)}
body.home .home-main > .section .section-title{font-size:clamp(20px,1.65vw,26px);line-height:1.4;letter-spacing:0;margin-bottom:18px}
body.home .home-main > .section .section-heading{gap:16px;margin-bottom:18px;align-items:center}
body.home .home-main > .section .section-heading .section-title{margin-bottom:0}
body.home .home-main > .section .section-heading > a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:6px 12px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;text-decoration:none;font-weight:600;white-space:nowrap;transition:background .15s,border-color .15s}
body.home .home-main > .section .section-heading > a:hover{background:#fff5f5;border-color:var(--accent,#cf101b)}
body.home .home-main > .section .card-grid{gap:clamp(12px,1.5vw,22px);align-items:stretch}
body.home .home-main > .section .card-grid > .news-card{min-width:0;height:100%;display:flex;flex-direction:column;background:#fff;border:1px solid #e9e9ec;border-radius:9px;overflow:hidden;transition:box-shadow .2s,border-color .2s,transform .2s}
body.home .home-main > .section .card-grid > .news-card:hover{border-color:#ddd;box-shadow:0 9px 26px rgba(20,31,48,.08);transform:translateY(-2px)}
body.home .home-main > .section .card-grid > .news-card .thumb{aspect-ratio:16/10;width:100%;border-radius:0;background:#f1f3f5}
body.home .home-main > .section .card-grid > .news-card .thumb img{display:block;width:100%;height:100%;object-fit:cover}
body.home .home-main > .section .card-grid > .news-card .card-content{flex:1;min-width:0;padding:13px 14px 16px}
body.home .home-main > .section .card-grid > .news-card .meta{display:block;color:#68717d;font-size:12px;line-height:1.6;margin-bottom:6px}
body.home .home-main > .section .card-grid > .news-card h3{margin:0;font-size:clamp(15px,1.15vw,18px);line-height:1.55;overflow-wrap:anywhere}
body.home .home-main > .section .card-grid > .news-card h3 a{color:#17212c;text-decoration:none}
body.home .home-main > .section .card-grid > .news-card h3 a:hover{color:var(--accent,#cf101b)}
body.home .home-main > .section .card-grid > .news-card :focus-visible,
body.home .home-main > .section .section-heading > a:focus-visible{outline:2px solid var(--accent,#cf101b);outline-offset:2px}
@media(max-width:1100px){body.home .home-main > .section .card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){body.home .home-main > .section .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.home .home-main > .section .card-grid > .news-card .card-content{padding:11px 12px 13px}}
@media(max-width:480px){body.home .home-main > .section .card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body.home .home-main > .section .card-grid > .news-card h3{font-size:16px;line-height:1.5}body.home .home-main > .section .card-grid > .news-card .meta{font-size:11px}body.home .home-main > .section .section-heading{flex-wrap:wrap}body.home .home-main > .section .section-title{font-size:20px}}
@media(max-width:360px){body.home .home-main > .section .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){body.home .home-main > .section .card-grid > .news-card{transition:none}body.home .home-main > .section .card-grid > .news-card:hover{transform:none}}
