/* Home V1: shell from foundation (fx-shell); content on the master layer. Tokens only. */
.hv{display:flex;flex-direction:column;gap:var(--s4);max-width:896px}
.hv h1,.hv h2{margin:0}
.hv-vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.hv-lead{margin:var(--s1) 0 var(--s2);font:var(--t4)}
.hv-search{display:flex;gap:var(--s1);max-width:512px}
.hv-search .fx-input{flex:1;min-width:0}
.hv-entries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-gap)}
.hv-card{display:flex;flex-direction:column;gap:var(--s1);padding:var(--s3);border:var(--line) solid var(--navy);background:var(--paper)}
.hv-card p{margin:0}
.hv-wide{grid-column:1 / -1}
.hv-grades{display:flex;flex-wrap:wrap;gap:var(--s1)}
.hv .hv-card h2 a,.hv .hv-posts a{color:var(--navy)}
.hv-posts h2{padding-bottom:var(--s1);border-bottom:var(--line) solid var(--navy)}
.hv-list{list-style:none;margin:0;padding:0}
.hv-list li{display:flex;justify-content:space-between;align-items:baseline;gap:var(--space-gap);padding:var(--s1) 0;border-bottom:var(--line) solid var(--ink)}
.hv-list a{min-width:0;display:inline-flex;align-items:center;min-height:40px}
.hv-meta{flex:none;font:var(--t6);color:var(--ink)}
@media (max-width:860px){.hv-entries{grid-template-columns:minmax(0,1fr)}.hv-list li{flex-direction:column;align-items:flex-start;gap:0}}

.fx-head a{display:inline-flex;align-items:center;min-height:40px}
.mx-master a.fx-btn,.mx-master a.fx-btn:visited{color:var(--paper);text-decoration:none}
.mx-master a.fx-btn.sub,.mx-master a.fx-btn.sub:visited{color:var(--navy)}
/* footer: label and value share one centre line (the 44px link no longer pushes the value below the label) */

.hv-five{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:1100px){.hv-five{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:860px){.hv-five{grid-template-columns:minmax(0,1fr)}}
.hv-card{justify-content:flex-start}.hv-card > p:last-child{margin-top:auto}

.hv-three{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:860px){.hv-three{grid-template-columns:minmax(0,1fr)}}
.hv-card .fx-hero-eyebrow{margin-bottom:0}
