/* Shared editorial hub directory; theme tokens come from the existing site. */
.hub-directory{margin:32px 0;padding:0;min-width:0}
.hub-directory-head{margin:0 0 16px}
.hub-directory .hub-directory-head h2{font-size:clamp(21px,2.5vw,27px);line-height:1.22;letter-spacing:-.025em;margin:0 0 5px;color:var(--ink)}
.hub-directory .hub-directory-head p{margin:0;font-size:14px;line-height:1.45;color:var(--muted)}
.hub-directory-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.hub-directory-card{display:flex;flex-direction:column;gap:7px;min-width:0;min-height:145px;padding:15px;border:1px solid var(--line);border-radius:16px;background:var(--surface,var(--white));color:var(--ink);text-decoration:none;transition:border-color .18s ease,background-color .18s ease,transform .18s ease}
.hub-directory-card:hover,.hub-directory-card[aria-current="page"]{border-color:var(--accent)}
.hub-directory-card:focus-visible{outline:2px solid var(--focus,var(--accent));outline-offset:3px}
.hub-directory-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}
.hub-directory-icon{display:grid;place-items:center;width:43px;height:43px;flex:0 0 43px;border-radius:12px;background:var(--bg);color:var(--accent)}
.hub-directory-icon svg{width:24px;height:24px;display:block}
.hub-directory-arrow{display:flex;color:var(--muted)}
.hub-directory-arrow svg{width:17px;height:17px}
.hub-directory-title{font-size:15px;font-weight:750;line-height:1.3;letter-spacing:-.015em;overflow-wrap:anywhere}
.hub-directory-description{font-size:12.5px;line-height:1.45;color:var(--muted);overflow-wrap:anywhere}
.ed-article .hub-directory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(hover:hover) and (pointer:fine){.hub-directory-card:hover{transform:translateY(-2px)}.hub-directory-card:hover .hub-directory-arrow{color:var(--accent)}}
@media(max-width:900px){.hub-directory-grid,.ed-article .hub-directory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:580px){.hub-directory{margin:24px 0}.hub-directory-grid,.ed-article .hub-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hub-directory-card{min-height:133px;padding:12px}.hub-directory-icon{width:38px;height:38px;flex-basis:38px}.hub-directory-title{font-size:14px}.hub-directory-description{font-size:12px}.hub-directory-grid .hub-directory-card:last-child{grid-column:1/-1;min-height:0}}
@media(max-width:340px){.hub-directory-grid,.ed-article .hub-directory-grid{grid-template-columns:1fr}.hub-directory-card{min-height:0}}
@media(prefers-reduced-motion:reduce){.hub-directory-card{transition:none}.hub-directory-card:hover{transform:none}}
