/* The Stories entrance shares the light app palette and rounded illustrated tiles. */
.stories-hub-intro{max-width:760px}.stories-hub-intro h1{margin:8px 0 12px}.stories-hub-intro>.standfirst{color:var(--app-muted);margin:0 0 24px;max-width:650px}
.story-hub-tools{display:flex;align-items:flex-end;flex-wrap:wrap;gap:16px 24px;margin:24px 0 28px}
.story-hub-search{flex:1 1 320px;max-width:660px;min-width:0}.story-hub-search label{display:block;font-size:.9rem;font-weight:650;margin-bottom:7px}
.story-hub-search>div{display:flex;gap:9px}.story-hub-search input{flex:1;width:100%;min-width:0;font-size:1rem}.story-hub-search button{flex:0 0 auto;min-height:46px;padding:10px 18px}
.story-hub-browse{min-height:46px;display:inline-flex;align-items:center;gap:9px;font-weight:650;text-underline-offset:4px;padding:10px 0}
.story-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.story-category-tile{min-width:0;display:flex;flex-direction:column;transition:transform .15s,box-shadow .15s}
.story-category-tile:hover{box-shadow:0 7px 20px #302b2412}.story-category-tile>picture{display:block;overflow:hidden;background:var(--app-soft)}
.story-category-tile>picture img{display:block;width:100%;height:auto;aspect-ratio:1.6;object-fit:cover}
.story-category-tile>.story-tile-copy{display:flex;flex:1;flex-direction:column;gap:10px;padding:20px;border-top:3px solid var(--app-accent)}
.story-category-tile .story-guidance{margin:0;color:var(--app-accent);font-size:.76rem;font-weight:650;line-height:1.4;min-height:2.8em}.story-category-tile .story-age{white-space:nowrap}
.story-category-tile h2{font-size:1.35rem;line-height:1.2;margin:0;min-height:2.4em}
.story-category-tile .story-category-description{font-size:.92rem;line-height:1.5;color:var(--app-muted);margin:0 0 4px}
.story-category-tile .story-tile-action{margin-top:auto;font-size:.86rem;font-weight:650;color:var(--app-accent);display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:4px}
.stories-hub-note{color:var(--app-muted);font-size:.85rem;line-height:1.5;max-width:760px;margin-top:24px}
.story-category-tile:focus-visible{outline:3px solid #357986;outline-offset:4px}
@media(max-width:700px){.story-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.story-category-tile>.story-tile-copy{padding:14px;gap:9px}.story-category-tile h2{font-size:1.14rem;min-height:2.4em}.story-category-tile .story-category-description{font-size:.875rem}.story-category-tile .story-guidance{font-size:.75rem;min-height:4.2em}.story-category-tile .story-tile-action{font-size:.8rem}.story-hub-tools{gap:8px;margin:22px 0 24px}.story-hub-search{flex-basis:100%;max-width:none}.story-hub-browse{padding:7px 0;min-height:44px}}
@media(max-width:360px){.story-category-grid{gap:10px}.story-category-tile>.story-tile-copy{padding:12px}.story-category-tile h2{font-size:1.04rem}.story-category-tile .story-category-description{font-size:.85rem}.story-hub-search button{padding-inline:14px}}
@media(prefers-reduced-motion:reduce){.story-category-tile{transition:none}.story-category-tile:hover{transform:none}}
