/* =============================================================================
   LAYOUT.CSS
   Shared page spacing and hero rhythm.
   ============================================================================= */

.page-wrapper {
    padding-top: var(--nav-height);
    min-height: calc(100vh - var(--nav-height));
}

.blueprint-wrapper {
    position: relative;
}

.page-section {
    width: min(1280px, calc(100% - 96px));
    margin-left: auto;
    margin-right: auto;
}

.page-section:not(.page-hero) {
    margin-bottom: 56px;
}

.page-hero {
    padding-top: 72px;
    padding-bottom: 42px;
}

.page-shell {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    box-shadow: var(--shadow-md);
}

@media (max-width: 1024px) {
    .page-section {
        width: min(1280px, calc(100% - 48px));
    }

    .page-hero {
        padding-top: 56px;
    }
}

@media (max-width: 768px) {
    .page-section {
        width: calc(100% - 32px);
    }

    .page-section:not(.page-hero) {
        margin-bottom: 40px;
    }

    .page-hero {
        padding-top: 40px;
        padding-bottom: 28px;
    }
}
