/*
=========================================================
MistroAstro Learning Platform
File: css/discover-scroll.css
Purpose: Section continuation prompts and compact section spacing
for the public Discover page.
Author: Mitch Dimler
Last Updated: 2026-11-18
=========================================================
*/
.discover-page section[id] { scroll-margin-top: 120px; }
.discover-section-continue {
    display: flex;
    justify-content: center;
    margin: 27px 16px 0;
}
.discover-scroll-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 24px;
    border: 1px solid rgba(102, 204, 255, .65);
    border-radius: 12px;
    background: rgba(2, 6, 23, .88);
    color: #fff;
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
}
.discover-scroll-link:hover {
    background: #0b2238;
    border-color: var(--astro-blue, #66ccff);
}
.discover-scroll-link:focus-visible {
    outline: 3px solid var(--astro-blue, #66ccff);
    outline-offset: 4px;
}
.discover-scroll-arrow {
    color: var(--astro-gold, #c8a96b);
    font-size: 1.3rem;
    animation: discover-scroll-arrow 1.8s ease-in-out infinite;
}
@keyframes discover-scroll-arrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}
@media (prefers-reduced-motion: reduce) {
    .discover-scroll-arrow { animation: none; }
}

/* Reduce section padding by 25%; preserve text and image dimensions. */
.discover-page .section {
    padding-top: clamp(3.375rem, 6vw, 6rem);
    padding-bottom: clamp(3.375rem, 6vw, 6rem);
}

.discover-page .discover-hero {
    padding-top: 6rem;
    padding-bottom: 4.5rem;
    min-height: min(638px, 69vh);
}

@media (max-width: 640px) {
    .discover-page .discover-hero {
        min-height: 56.25vh;
    }
}
