/* FCE role-aware landing page: shared public information, role-protected shortcuts. */
.home-next-events,.home-notices,.home-current-polls{scroll-margin-top:125px}
.home-main-hero .hero-actions a{max-width:100%}
.home-trainer-shortcuts{padding:16px;border-radius:20px;border:1px solid var(--line);background:var(--surface-soft)}
.home-shortcut-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.home-shortcut{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);text-decoration:none}
.home-shortcut:hover,.home-shortcut:focus-visible{border-color:var(--brand);box-shadow:0 5px 18px rgba(0,0,0,.05)}
.home-shortcut>span{font-size:24px;line-height:1.2}
.home-shortcut strong{font-size:13px;line-height:1.35;overflow-wrap:anywhere}
.home-shortcut small{font-size:11px;color:var(--muted);overflow-wrap:anywhere}
.home-notice-card{border-left:4px solid var(--brand)}
.home-announcement-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.home-announcement-item{position:relative;padding-left:24px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.home-announcement-item:before{content:"📣";position:absolute;left:0;top:0}
.home-notice-edit{display:inline-flex;margin-top:13px;color:var(--brand);font-weight:800;font-size:12px}
.home-announcements-admin .help{margin:4px 0 12px;max-width:720px}
.home-current-polls .poll-highlight{box-shadow:0 5px 14px rgba(0,0,0,.035)}
@media(max-width:900px){.home-shortcut-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){
  .home-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-trainer-shortcuts{padding:12px;border-radius:16px}
  .home-shortcut{padding:12px}
  .home-notices .section-head{align-items:flex-start}
  .home-main-hero .hero-actions{display:grid;grid-template-columns:1fr 1fr}
  .home-main-hero .hero-actions a:last-child{grid-column:1/-1}
}
@media(max-width:360px){.home-main-hero .hero-actions{grid-template-columns:1fr}.home-main-hero .hero-actions a:last-child{grid-column:auto}}
