/* Homepage refinements; preserve hero and existing section layout. */
body.home .tagged-posts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
body.home .tagged-post { width:auto !important; min-width:0; margin:0; padding:20px; border:1px solid #dce3e7; border-radius:5px; background:#fff; display:flex; flex-direction:column; }
body.home .tagged-post h3 { font-size:20px; line-height:1.4; margin:0 0 14px; }
body.home .tagged-post p { font-size:14px; line-height:1.75; color:#596873; overflow-wrap:anywhere; }
body.home .tagged-post p img { float:none; display:block; width:100%; height:180px; object-fit:cover; margin:0 0 16px; }
body.home .tagged-post-bar { margin-top:auto; padding-top:14px; }
body.home .tagged-post-bar a { display:inline-flex; min-height:44px; align-items:center; }
body.home .academy-course { background:#fff; border:1px solid #dce3e7; border-radius:5px; box-shadow:none; height:100%; }
body.home .academy-course__title { font-size:18px; line-height:1.5; text-align:left; }
body.home .academy-course__footer { flex-wrap:wrap; gap:12px; }
body.home .rp-course-link { display:flex; justify-content:space-between; align-items:center; gap:12px; width:100%; min-height:44px; padding:10px 16px; background:#073c5c; color:white; border-radius:4px; font-size:14px; text-decoration:none; }
body.home .rp-course-link:hover { background:#0c4e74; color:white; }
body.home .rp-home-about { color:#596873; font-size:16px; line-height:1.8; }
body.home .rp-home-about h2 { font-size:32px; color:#073c5c; }
body.home .rp-home-about a { color:#073c5c; text-underline-offset:4px; }
body.home #cookie-notice { background:#073c5c !important; color:#fff; opacity:1; }
body.home #cookie-notice .cookie-notice-container { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:10px 16px; padding:12px 40px 12px 20px; font-size:12px; line-height:1.5; }
body.home #cn-notice-text { margin:0; max-width:900px; text-align:left; }
body.home #cn-notice-text a { color:#fff; text-decoration:underline; }
body.home #cookie-notice .cn-button { display:inline-flex; min-height:40px; align-items:center; margin:0; }
body.home :is(.rp-course-link,.rp-home-about a,.tagged-post a):focus-visible { outline:3px solid #f19001; outline-offset:3px; }
@media(max-width:900px) { body.home .tagged-posts { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) {
 body.home .tagged-posts { grid-template-columns:1fr; }
 body.home #cookie-notice .cookie-notice-container { padding:10px 32px 10px 12px; gap:8px; font-size:11px; }
 body.home #cookie-notice .cn-close-icon { right:6px; top:14px; }
 body.home .rp-home-about h2 { font-size:28px; }
}
