<div class="main-content">
    <slot />
</div>

<style>
    .main-content {
        width: 100%;
        max-width: var(--page-width);
        box-sizing: border-box;
        margin: 0 auto;
        padding: 0 24px;
    }

    @media screen and (max-width: 800px) {
        .main-content {
            padding: 0 8px;
        }
    }
</style>