/* Site card 02: local portal composition. Existing palette remains authoritative. */
.generated-section-image img.generated-section-image__asset,.component-card__media img.generated-section-image__asset{height:auto;max-height:var(--media-container-height,320px);aspect-ratio:auto 16/9;object-fit:contain}
@media(min-width:1100px){body[data-design-recipe] .library-review-sidebar.library-review-sidebar--flow{position:sticky}}
body.home .card02-topic-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;margin:20px 0;min-width:0}
body.home .card02-topic-card{display:flex;flex-direction:column;gap:12px;grid-column:span 3;min-width:0;padding:22px;border:1px solid var(--border);border-top:3px solid var(--accent);border-radius:var(--radius,16px);background:var(--surface);color:var(--text);text-decoration:none;overflow-wrap:anywhere}
body.home .card02-topic-card strong{font-size:1.15rem;line-height:1.35;color:var(--text)}
body.home .card02-topic-card span{font-size:.95rem;line-height:1.6}
body.home .card02-topic-card .card02-link-label{margin-top:auto;font-weight:700;text-decoration:underline;text-underline-offset:4px}
body.home .card02-topic-card:hover,body.home .card02-topic-card:focus-visible{border-color:var(--accent);outline:2px solid var(--accent);outline-offset:3px}
body.home .card02-topic-grid--categories .card02-topic-card:first-child{grid-column:span 6}
body.home .card02-topic-grid--quick .card02-topic-card:first-child{grid-column:span 4}
body.home .card02-topic-grid--quick .card02-topic-card:nth-child(2){grid-column:span 2}
body.home .component__inner:has(.card02-topic-grid){display:block}
body.home .component__inner:has(.card02-topic-grid)>.component-card__media{margin-top:20px;width:100%;max-width:460px;height:auto;min-height:0;max-height:260px}
body.home .component__inner:has(.card02-topic-grid)>.component-card__media img{width:100%;height:auto;max-height:260px;aspect-ratio:auto 16/9;object-fit:contain}
body.home .library-quick-menu{grid-template-columns:repeat(6,minmax(0,1fr))}
body.home .library-quick-menu>a{grid-column:span 2}
body.home .library-quick-menu>a:nth-child(-n+2){grid-column:span 3}
@media(max-width:1100px){body.home .card02-topic-card{padding:18px}}
@media(max-width:600px){body.home .card02-topic-grid{grid-template-columns:minmax(0,1fr)}body.home .card02-topic-grid .card02-topic-card{grid-column:1}body.home .library-quick-menu{grid-template-columns:minmax(0,1fr)}body.home .library-quick-menu>a,body.home .library-quick-menu>a:nth-child(-n+2){grid-column:1}}
