/* Solutions directory (Solutions.html), generated by scripts/build-solutions-index.py */
/* Oct 18: animated title banner (no on-page search) = the shared sp-anim-banner component (scripts/sp_banner.py, also Top Ten) with
   the 4K Earth loop. Solutions-only overrides: title centred over the stars (the Earth's arc fills the lower part), photo anchored to the bottom. */
/* Owner standard (Oct 18): same banner size as Lesson_Builder.html (max(34vh, 260px), nav overlaid, same paddings), title centred vertically. */
html body.sol-page .sp-anim-banner.sol-banner { align-items: center; min-height: max(34vh, 260px); box-sizing: border-box; padding: calc(var(--nav-height, 88px) + 1.5rem) 1.25rem 2rem; }
html body.sol-page .sol-banner .spb-media img, html body.sol-page .sol-banner .spb-video { object-position: 50% 100%; }
html body.sol-page .sol-banner::after { background: linear-gradient(180deg, rgba(2,6,12,.6) 0%, rgba(2,6,12,.12) 38%, rgba(2,6,12,0) 70%, rgba(2,6,12,.25) 100%); }
html body.sol-page .sol-banner .spb-text { padding: 0; max-width: 1100px; }
html body.sol-page .sol-banner h1 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.12; color: #fff; font-family: "Montserrat", "Segoe UI", sans-serif; font-weight: 800; text-shadow: 0 2px 4px rgba(0,0,0,.5), 0 3px 22px rgba(0,0,0,.65); text-wrap: balance; }
html body.sol-page .sol-banner .sol-n { color: #7fd3ff; }
html body.sol-page .sol-banner .spb-text p { margin-top: .45rem; font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 600; color: #e9f4ff; letter-spacing: .02em; text-shadow: 0 2px 12px rgba(0,0,0,.7); }
html body.sol-page .sol-banner .spb-credit { opacity: .85; text-shadow: 0 1px 3px rgba(0,0,0,.8); }
@media (max-width: 760px) { html body.sol-page .sp-anim-banner.sol-banner { min-height: max(34vh, 260px); padding-bottom: 2.2rem; } html body.sol-page .sol-banner .spb-credit { left: 3.4rem; right: 3.4rem; text-align: center; font-size: .58rem; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sol-intro { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem 0; text-align: center; }
.sol-jump ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; padding: 0; margin: 0; }
.sol-jump a { display: inline-block; padding: 0.45rem 0.9rem; border-radius: 999px; border: 1px solid #4da3ff; color: #cfe8ff; text-decoration: none; font: inherit; font-size: 0.95rem; background: transparent; cursor: pointer; }
.sol-jump a:hover { background: #009cde; color: #fff; }
body.sol-page .sol-hub { scroll-margin-top: 90px; padding-bottom: 1rem; }
body.sol-page .sol-hub h2 a { color: inherit; text-decoration: none; }
body.sol-page .sol-hub .grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
body.sol-page .sol-card { display: flex; flex-direction: column; }
body.sol-page .sol-card .image-container img { height: 180px; }
body.sol-page .sol-card h3 { font-size: 1.25rem; }
body.sol-page .sol-card h3 a { color: inherit; text-decoration: none; }
body.sol-page .sol-desc { padding: 0 1rem; margin: 0.3rem 0 0.8rem; font-size: 0.95rem; line-height: 1.45; flex: 1; }
body.sol-page .sol-more { padding: 0 1rem 1rem; margin: 0; }
body.sol-page .sol-more a { font-weight: 700; }
body.sol-page .photo-credit { padding: 0 1rem; }
@media (max-width: 900px) { body.sol-page .sol-hub .grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; } }
.sol-page [hidden] { display: none !important; }
html:has(body.sol-page) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(body.sol-page) { scroll-behavior: auto; } }
#top { scroll-margin-top: 0; }
body.sol-page .sol-hub > h2 { text-align: start; display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
body.sol-page .sol-hub-summary { margin: 1.2rem 0 0.5rem; padding: 1rem 1.2rem; border-radius: 12px; border: 1px solid rgba(77,163,255,0.4); background: rgba(21,32,51,0.55); }
body.sol-page .sol-hub-summary h3 { margin: 0 0 0.5rem; font-size: 1.15rem; color: #4da3ff; }
body.sol-page .sol-hub-summary p { margin: 0.4rem 0; line-height: 1.5; }
body.sol-page .sol-hub-links a { font-weight: 700; }
body.sol-page .sol-also { padding: 0 1rem; margin: -0.3rem 0 0.6rem; font-size: 0.85rem; opacity: 0.85; }
/* Oct 18: the hub chips wrap onto a second centred row instead of a single row cut off at the right edge (iPad landscape hid Space Disposal / Space Weather) */
html body.sol-page .sol-jump ul { flex-wrap: wrap; overflow: visible; justify-content: center; padding-bottom: 0; }
html body.sol-page .sol-intro { padding-top: 1.4rem; }
/* Oct 18 owner cleanup: BLUF hook, hub chips with counts, tight cards (no stretched empty space) */
html body.sol-page .sol-bluf { max-width: 46rem; margin: 0 auto 1.1rem; font-size: clamp(1.02rem, 1.5vw, 1.15rem); line-height: 1.5; color: #dbe9f6; }
html body.sol-page .sol-jump .sol-c { display: inline-block; min-width: 1.6em; margin-inline-start: .3rem; padding: 0 .35rem; border-radius: 999px; background: rgba(77,163,255,.18); font-size: .8em; font-weight: 700; color: #9fd0ff; }
html body.sol-page .sol-jump a:hover .sol-c { background: rgba(255,255,255,.25); color: #fff; }
html body.sol-page .sol-hub .grid { align-items: start; }
html body.sol-page .sol-hub .grid > .sol-card { height: auto; } /* Oct 18 9:00 PM HST: styles.css .card-band .card{height:100%} re-stretched every card to its row; flush with the text */
html body.sol-page .sol-card .sol-desc { flex: none; }
html body.sol-page .sol-card .sol-more { margin-top: 0; } /* Top Ten cards (same markup); Solutions cards have no 'Read the 5 W's' link since Oct 19 */
/* Oct 19 owner cleanup: no '(Top)' or 'Read the 5 W's' links (title + photo open the page); one photo credit style on every card:
   one small line right under the photo, start-aligned (right in RTL), never a caption; a card without a photo stays tight. */
html body.sol-page .sol-card .photo-credit.sol-credit { max-width: none; margin: .3rem 0 0; padding: 0 1rem; font-size: .7rem; line-height: 1.35; opacity: .75; text-align: start; overflow-wrap: anywhere; }
html body.sol-page .sol-card .sol-credit a { color: inherit; text-decoration: underline; }
html body.sol-page .sol-card .sol-credit bdi { unicode-bidi: isolate; }
html body.sol-page:not(.top-ten-page) .sol-card > h3 { margin-top: .55rem; }
html body.sol-page:not(.top-ten-page) .sol-card:not(:has(> .image-container)) > h3 { margin-top: 1rem; }
html body.sol-page:not(.top-ten-page) .sol-hub .sol-card > :last-child { margin-bottom: 0; padding-bottom: 1rem; }
/* SOL-FLOW:START */
html body.sol-page .sp-anim-banner.sol-flow{background:#040616}html body.sol-page .sol-flow .sf-cv{position:absolute;inset:0;width:100%;height:100%;z-index:0;display:block}html body.sol-page .sol-banner.sol-flow::after{background:radial-gradient(60% 55% at 50% 50%,rgba(2,6,12,.62),rgba(2,6,12,.25) 70%,rgba(2,6,12,0)),linear-gradient(180deg,rgba(2,6,12,.55) 0%,rgba(2,6,12,0) 30%,rgba(2,6,12,0) 80%,rgba(2,6,12,.35) 100%)}html body.sol-page .sol-flow .spb-text{width:100%;margin-inline:auto;text-align:center}html body.sol-page .sol-flow .spb-pause{display:block}html body.sol-page .sol-top{margin:1.2rem 0 0;text-align:end}html body.sol-page .sol-top a{display:inline-flex;align-items:center;gap:.35rem;min-height:44px;padding:.3rem .85rem;border-radius:999px;border:1px solid rgba(127,211,255,.45);color:#7fd3ff;font-size:.9rem;font-weight:600;text-decoration:none}html body.sol-page .sol-top a:hover{background:rgba(127,211,255,.12)}html body.sol-page .sol-top a:focus-visible{outline:3px solid #4da3ff;outline-offset:2px}html body.sol-page #sol-h:focus{outline:none}@media (prefers-reduced-motion:reduce){html body.sol-page .sol-flow .spb-pause{display:none!important}}
/* SOL-FLOW:END */
