/* NPCC AMO — Blazor layout overrides (tokens live in main.min.css via _css-vars.scss) */

/* Global layout */
html, body {
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
}

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Hero section layout (not focus/colour — handled in SCSS) */
.hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

/* Navbar */
.navbar-brand img {
    max-height: 40px;
    width: auto;
}

/* Footer */
footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Loading spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Blazor error UI */
#blazor-error-ui {
    background: var(--amo-bg-secondary, #ECEDEF);
    color: var(--amo-body-dark, #0c2340);
    bottom: 0;
    box-shadow: var(--amo-shadow-sky, 1px 4px 20px rgba(64, 188, 216, 0.6));
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 24px;
}

/* CTA sections */
.cta-section {
    border-radius: 0;
}

/* Content section */
.content-section img {
    max-width: 100%;
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
    }

    .hero-section h1 {
        font-size: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-section {
        transition: none;
    }
}
