/* 前台显示方式：全屏 / 宽屏 / 窄屏 */
body.front.layout-full .container {
    width: 100%;
    max-width: none;
    padding-inline: clamp(24px, 4.2vw, 72px);
}

body.front.layout-wide .container {
    max-width: 1440px;
}

body.front.layout-narrow .container {
    max-width: 960px;
}

body.front.layout-full .hero-grid {
    gap: clamp(32px, 4vw, 72px);
}

body.front.layout-full .section-head {
    max-width: 760px;
}

@media (max-width: 720px) {
    body.front.layout-full .container {
        padding-inline: var(--front-mobile-padding, 16px);
    }
}

/* 让三种模式在顶部栏与页脚也保持一致 */
body.front.layout-full .front-topbar .container,
body.front.layout-full .front-footer .container,
body.front.layout-full .front-carousel .container {
    max-width: none;
    padding-inline: clamp(24px, 4.2vw, 72px);
}

@media (max-width: 720px) {
    body.front.layout-full .front-topbar .container,
    body.front.layout-full .front-footer .container,
    body.front.layout-full .front-carousel .container {
        padding-inline: var(--front-mobile-padding, 16px);
    }
}
