﻿.layout-main {
    height: calc(100vh - 1px); /* leave 1px for the divider below */
    overflow-x: auto;
    overflow-y: auto;
}
.sticky-appbar {
    position: sticky !important;
    top: 0;
    z-index: 1000; /* sit above everything in the hero */
}

.hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient( ellipse at center, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.4) 100% );
    z-index: 1;
    pointer-events: none;
}

.hero-banner {
    position: relative;
    height: 600px; /* matches your 1600×600 crop */
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4)), url('/images/hero-alt7.png') center center / cover no-repeat;
    overflow: hidden;
    padding-top: 2rem;
    display: flex; /* enables flex centering */
    align-items: center; /* vertical centering */
    justify-content: center; /* horizontal centering */
    text-align: center;
    color: white;
}

/* a semi-transparent dark overlay for text legibility */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

/* center the content vertically & horizontally */
.hero-content {
    position: relative; /* above overlay */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content-centered {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertically centered */
    align-items: center; /* horizontally centered */
    text-align: center;
    z-index: 1;
}

.feature-image-wrapper {
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    border-color: #808080;
    border-width: 4px;
}

.feature-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.05); /* soft overlay */
    pointer-events: none;
    border-radius: 8px;

}

.filtered-image {
    filter: grayscale(10%) sepia(10%) contrast(105%) brightness(100%);
}


.feature-image-wrapper img {
    transition: transform 0.3s ease;
}

.feature-image-wrapper:hover img {
    transform: scale(1.05);
}

.drawer-artwork-bg {
    background-image: url('/images/gameshot-drawer.png');
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 200px auto; /* or 'contain' */
}

section {
    scroll-margin-top: 64px; /* height of the AppBar */
}

html {
    scroll-behavior: smooth;
}

/* Newsletter form */
.nl {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: flex-start;
    justify-content: center;
}

.nl-input {
    min-width: 260px;
    padding: .7rem .9rem;
    font-size: 1rem;
    line-height: 1.2;
    color: #1d1d1d;
    background: #fff; /* make visible on dark/hero images */
    border: 1px solid rgba(0,0,0,.25);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
}

    .nl-input::placeholder {
        color: rgba(0,0,0,.45);
    }

    .nl-input:focus {
        outline: 2px solid var(--mud-palette-primary, #2f5f3b); /* uses Mud vars if present */
        outline-offset: 2px;
        border-color: var(--mud-palette-primary, #2f5f3b);
        box-shadow: 0 0 0 2px rgba(0,0,0,.02);
    }

/* Button */
.nl-btn {
    padding: .7rem 1.1rem;
    font-weight: 600;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    background: var(--mud-palette-primary, #2f5f3b);
    color: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.12);
}

    .nl-btn:hover {
        filter: brightness(0.95);
    }

    .nl-btn:active {
        transform: translateY(1px);
    }

/* Optional: screen-reader-only label */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Stack*

