@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "PingFang SC","Microsoft YaHei","Helvetica Neue",sans-serif;
    overflow: hidden;
    background: #fdf9f2;
}

.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;
}

.inlineBlock {
    display: inline-block;
    vertical-align: top;
}

.myHide {
    display: none !important;
}

.cursor {
    cursor: pointer;
}

.container {
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.header {
    width: 100%;
    height: 100vh;
    position: relative;
    font-size: 0;
    white-space: nowrap;
}

/* 左侧导航竖条 */
.navBar {
    position: fixed;
    left: 0;
    top: 0;
    width: 42px;
    height: 100vh;
    background: #d4a06a;
    padding-top: 32px;
    z-index: 1000;
    cursor: pointer;
    box-sizing: border-box;
}

.icon-menu {
    width: 22px;
    margin: 0 auto;
}

.icon-menuLine {
    height: 2px;
    width: 100%;
    background: #ffffff;
    margin: 10px 0;
}

/* Logo */
.logo {
    position: fixed;
    left: 42px;
    top: 0;
    height: 100px;
    z-index: 999;
    transition: transform 0.4s ease;
    padding: 15px 20px;
}

/* Banner Swiper */
.banner-swiper {
    width: 100%;
    height: 100vh;
    margin-left: 42px;
    box-sizing: border-box;
    overflow: hidden;
}

.banner-swiper .swiper-wrapper {
    height: 100%;
}

.banner-swiper .swiper-wrapper .swiper-slide {
    height: 100vh;
    width: 100vw;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.banner-swiper .swiper-wrapper .swiper-slide img {
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-swiper .swiper-wrapper .swiper-slide video {
    height: 100%;
    object-fit: contain;
    display: block;
    mix-blend-mode: screen;
    outline: none;
    border: none;
}

/* Banner文字和按钮 */
.text1 {
    position: absolute;
    left: 80px;
    top: 30%;
    font-size: 36px;
    color: #2e1f10;
    line-height: 1.4;
    letter-spacing: 2px;
    z-index: 10;
    font-weight: 200;
}

.wordFixed {
    position: absolute;
    left: 80px;
    top: 25%;
    font-size: 24px;
    color: #ffffff;
    z-index: 10;
    line-height: 1.5;
}

.understand-box {
    position: absolute;
    z-index: 10;
    background: #d4a06a;
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    line-height: 50px;
    letter-spacing: 1px;
    transition: background 0.3s;
    width: 150px;
    height: 50px;
}

.understand-box:hover {
    background: #b8814a;
}

.understand-box a {
    display: block;
    width: 100%;
    height: 100%;
    color: #ffffff;
    text-decoration: none;
}

.understand-box1 {
    left: 80px;
    top: 75%;
}

.understand-box2 {
    left: 80px;
    top: 80%;
}

.understand-box4 {
    left: 80px;
    top: 85%;
}

/* 最后一张幻灯片侧边栏 */
.more-sidebar {
    width: 300px;
    height: 100vh;
    background: #ffffff;
    flex-shrink: 0;
    position: relative;
    display: flex;
}

.sidebar-left-bar {
    width: 8px;
    height: 100%;
    background: #d4a06a;
    flex-shrink: 0;
}

.sidebar-content {
    flex: 1;
    padding: 80px 30px 30px 30px;
    box-sizing: border-box;
}

.sidebar-title {
    font-size: 14px;
    color: #d4a06a;
    line-height: 1.5;
}

.sidebar-title p:first-child {
    font-weight: bold;
}

.sidebar-links {
    margin-top: 30px;
}

.sidebar-link {
    display: block;
    font-size: 14px;
    color: #313131;
    text-decoration: none;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.sidebar-link:hover {
    color: #d4a06a;
}

.sidebar-divider {
    height: 8px;
    background: #d4a06a;
    margin: 40px 0;
}

.sidebar-icons {
    margin-top: 20px;
}

.sidebar-icon-item {
    margin-bottom: 20px;
    cursor: pointer;
}

.sidebar-icon-item img {
    width: 25px;
    height: 25px;
}

.sidebar-icon-item:hover img {
    opacity: 0.8;
}

/* 最后一张幻灯片 */
.last-slide {
    overflow: visible !important;
}

.last-slide .wordFixed {
    left: 80px;
    bottom: 60px;
    top: auto;
    color: #2e1f10;
}

.last-slide .understand-box4 {
    left: 80px;
    top: auto;
    bottom: 60px;
}

/* 遮罩层 */
.cover {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 1500;
    pointer-events: none;
    transition: background 0.3s ease;
}

.cover.coverAni {
    background: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
}

/* 左侧菜单栏 */
.menu-fixed {
    position: fixed;
    left: -340px;
    top: 0;
    width: 340px;
    height: 100vh;
    z-index: 2000;
    transition: left 0.4s ease;
    display: flex;
    background: #ffffff;
    overflow: hidden;
}

.menu-fixed.menuOpen {
    left: 0;
}

.menu-fixed .leftBar {
    width: 8px;
    height: 100%;
    background: #d4a06a;
    flex-shrink: 0;
}

.menu-fixed .content {
    flex: 1;
    height: 100%;
    background: #fdf8f0;
    padding: 50px 0 30px 55px;
    box-sizing: border-box;
    overflow: hidden;
}

.menu-fixed .content .menu .menuList .menuList-single {
    position: relative;
    padding-left: 0;
}

.menu-fixed .content .menu .menuList .menuList-single .title {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.menu-fixed .content .menu .menuList .menuList-single .title::before {
    display: none;
}

.menu-fixed .content .menu .menuList .menuList-single .title .BrandDiscovery,
.menu-fixed .content .menu .menuList .menuList-single .title .SkincareSolutions {
    font-size: 10px;
    font-weight: 400;
    color: #d4c0a8;
    letter-spacing: 4px;
    display: block;
    text-transform: uppercase;
    opacity: 0.7;
    margin: 0;
}

.menu-fixed .content .menu .menuList .menuList-single .title .fixedT {
    font-size: 13px;
    color: #b08968;
    font-weight: 400;
    letter-spacing: 2px;
}

.menu-fixed .content .menu .menuList .menuList-single .itemList {
    position: relative;
    margin-left: 0;
    margin-right: 20px;
}

.menu-fixed .content .menu .menuList .menuList-single .itemList .item {
    display: block;
    position: relative;
    font-size: 14px;
    color: #6b5744;
    text-decoration: none;
    margin-bottom: 8px;
    padding: 2px 0;
    transition: color 0.35s ease;
    cursor: pointer;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.6;
    width: fit-content;
}

.menu-fixed .content .menu .menuList .menuList-single .itemList .item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: #c9945a;
    transition: width 0.35s ease;
}

.menu-fixed .content .menu .menuList .menuList-single .itemList .item::before {
    display: none;
}

.menu-fixed .content .menu .menuList .menuList-single .itemList .item:hover {
    color: #c9945a;
    background: none;
    padding-left: 0;
}

.menu-fixed .content .menu .menuList .menuList-single .itemList .item:hover::after {
    width: 100%;
}

.menu-fixed .content .menu .menuList .menuList-single .itemList .item.textSelectedStyle {
    color: #c9945a;
    font-weight: 500;
    background: none;
    padding-left: 0;
}

.menu-fixed .content .menu .menuList .menuList-single .itemList .item.textSelectedStyle::after {
    width: 100%;
}

.menu-fixed .content .menu .menuList .menuList-single .itemList .item.textSelectedStyle::before {
    display: none;
}

/* 三级菜单 */
.itemListLevel3 {
    position: absolute;
    left: 250px;
    top: 0;
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.itemListLevel3 .itemBox {
    padding: 0;
}

.itemListLevel3 .itemBox .item {
    display: block;
    font-size: 14px;
    color: #666666;
    margin-bottom: 15px;
    cursor: pointer;
    transition: color 0.3s;
}

.itemListLevel3 .itemBox .item:hover,
.itemListLevel3 .itemBox .item.textSelectedStyle {
    color: #d4a06a;
}

/* 悬浮时显示三级菜单 */
.menuList-single:hover .itemListLevel3 {
    opacity: 1;
    visibility: visible;
}

.menu-fixed .content .menu-colorBar {
    margin: 20px 0;
    padding-left: 0;
    margin-right: 40px;
}

.menu-fixed .content .menu-colorBar .colorBar {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(212,160,106,0.3) 0%, rgba(212,160,106,0.08) 50%, transparent 100%);
}

/* 品牌页左侧常驻导航 */
.brand-page-wrapper {
    display: flex;
    min-height: 100vh;
}
.brand-side-nav {
    width: 200px;
    flex-shrink: 0;
    background: #fdf8f0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border-right: 1px solid rgba(212,160,106,0.1);
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    padding-top: 25vh;
}
.brand-side-nav__logo {
    text-align: center;
    text-decoration: none;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.brand-side-nav__logo-mark {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.brand-side-nav__logo-mark svg {
    width: 100%;
    height: 100%;
}
.brand-side-nav__logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.brand-side-nav__logo-en {
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    color: #d4a06a;
    letter-spacing: 2px;
    font-weight: 600;
}
.brand-side-nav__logo-cn {
    font-size: 16px;
    color: #b08968;
    letter-spacing: 3px;
    font-weight: 400;
}
.brand-side-nav__menu {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: center;
    width: 100%;
}
.brand-side-nav__item {
    position: relative;
    font-size: 14px;
    color: #6b5744;
    text-decoration: none;
    letter-spacing: 1px;
    font-weight: 400;
    padding: 2px 0;
    transition: color 0.35s ease;
    line-height: 1.5;
}
.brand-side-nav__item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: #d4a06a;
    transition: width 0.35s ease;
}
.brand-side-nav__item:hover {
    color: #d4a06a;
}
.brand-side-nav__item:hover::after {
    width: 100%;
}
.brand-side-nav__item.is-active {
    color: #d4a06a;
    font-weight: 500;
}
.brand-side-nav__item.is-active::after {
    width: 100%;
}
.brand-page-content {
    flex: 1;
    margin-left: 200px;
}

.menu-fixed .content .search {
    margin-top: 30px;
}

.menu-fixed .content .search .CnEn {
    font-size: 12px;
    color: #999999;
    margin-bottom: 20px;
}

.menu-fixed .content .search .search-input img {
    width: 16px;
    margin-right: 10px;
}

.menu-fixed .content .search .search-input input {
    border: none;
    border-bottom: 1px solid #e0e0e0;
    outline: none;
    font-size: 14px;
    padding: 5px 0;
    width: 200px;
}

/* 自定义下拉菜单 */
.select-wrap {
    position: relative;
    width: 100%;
    font-size: 14px;
    color: #2e1f10;
}

.select-trigger {
    width: 100%;
    padding: 10px 36px 10px 16px;
    border-radius: 20px;
    border: 1px solid rgba(122, 74, 22, .16);
    background: #fff;
    box-sizing: border-box;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
    user-select: none;
}

.select-wrap.open .select-trigger {
    border-color: #d4a06a;
    box-shadow: 0 0 0 2px rgba(212, 160, 106, .15);
}

.select-trigger::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #d4a06a;
    pointer-events: none;
    transition: transform 0.3s;
}

.select-wrap.open .select-trigger::after {
    transform: translateY(-50%) rotate(180deg);
}

.select-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid rgba(122, 74, 22, .16);
    border-radius: 16px;
    box-shadow: 0 8px 24px -8px rgba(122, 74, 22, .18);
    z-index: 999;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
}

.select-wrap.open .select-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.select-option {
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select-option:hover {
    background: #fdf3e7;
    color: #7a4416;
}

.select-option.selected {
    background: #d4a06a;
    color: #fff;
}

.select-option + .select-option {
    border-top: 1px solid rgba(122, 74, 22, .06);
}

/* 大号下拉菜单 */
.select-large .select-trigger {
    padding: 16px 44px 16px 20px;
    border-radius: 28px;
    font-size: 15px;
}

.select-large .select-trigger::after {
    right: 20px;
}

.select-large .select-dropdown {
    border-radius: 20px;
}

.select-large .select-option {
    padding: 12px 20px;
}

/* ==================== GrapesJS 构建页（gy-*） ==================== */
/* 每屏：1920×1080 画布，cover 缩放铺满视口（全屏、无留白）
   以左上角为缩放原点，画布左边缘始终贴导航边缘(x=42)向右铺满，杜绝左右空隙 */
.gy-slide-scale {
    position: absolute;
    left: 0;
    top: 0;
    width: 1920px;
    height: 1080px;
    transform: scale(var(--gy-scale, 1));
    transform-origin: 0 0;
    will-change: transform;
}
.gy-section {
    width: 1920px;
    height: 1080px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-sizing: border-box;
}
.gy-section.bg-lazy {
    background-image: none !important;
    background-color: #f5f0e8;
    opacity: 0;
    transition: opacity 0.6s ease-out;
}
.gy-section.bg-loaded {
    opacity: 1;
}
.gy-section img {
    display: block;
    max-width: 100%;
}
.gy-btn {
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
}
/* 构建内容重置继承的 nowrap（.header 的 white-space:nowrap 会继承进来），保证 max-width 内正常换行 */
.gy-section,
.gy-section * {
    white-space: normal;
}

/* 资讯列表页 + 文章详情页：区别于横向轮播页，允许纵向滚动，左侧分类常驻 */
body[data-page="news"],
body[data-page="article"],
body[data-page="contact"] {
    overflow-y: auto;
    overflow-x: hidden;
}
body[data-page="news"] .container,
body[data-page="news"] .header,
body[data-page="article"] .container,
body[data-page="article"] .header,
body[data-page="contact"] .container,
body[data-page="contact"] .header {
    height: auto;
    overflow: visible;
    white-space: normal;
}

/* 资讯布局：左侧分类栏常驻 + 右侧内容滚动 */
.news-layout {
    display: flex;
    min-height: 100vh;
    margin-left: 42px;
    padding-top: 140px; /* 顶部固定 Logo(130px) 占位，避免与分类栏重叠 */
    box-sizing: border-box;
    background: #fdf9f2;
    font-size: 15px;
    color: #2e1f10;
}
.news-sidebar {
    position: sticky;
    top: 140px;
    width: 408px; /* 对齐整站展开菜单(450px)右边缘，减去左导航 42px */
    height: calc(100vh - 140px);
    flex-shrink: 0;
    background: #fbf6ee;
    border-right: 1px solid rgba(122, 68, 22, 0.08);
    padding: 12px 24px 24px;
    box-sizing: border-box;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* 菜单项靠右 */
}
.news-sidebar-title,
.news-sidebar-nav,
.news-sidebar-foot {
    width: 240px;
}
.news-sidebar-title {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(122, 68, 22, 0.1);
}
.news-sidebar-en {
    font-family: 'Nunito', sans-serif;
    font-size: 11px;
    letter-spacing: 4px;
    color: #d4a06a;
    margin-bottom: 8px;
}
.news-sidebar-cn {
    font-size: 20px;
    color: #2e1f10;
    font-weight: 300;
    letter-spacing: 2px;
}
.news-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.news-sidebar-nav a {
    display: block;
    padding: 12px 16px;
    border-radius: 12px;
    color: #6f573a;
    font-size: 14px;
    letter-spacing: 2px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}
.news-sidebar-nav a:hover {
    background: rgba(212, 160, 106, 0.12);
    color: #2e1f10;
}
.news-sidebar-nav a.active {
    background: #d4a06a;
    color: #ffffff;
}
.news-sidebar-foot {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(122, 68, 22, 0.1);
}
.news-sidebar-foot a {
    font-size: 12px;
    color: #9a8059;
    text-decoration: none;
    letter-spacing: 1px;
}
.news-sidebar-foot a:hover {
    color: #d4a06a;
}

.news-main {
    flex: 1;
    min-width: 0;
    padding: 20px 56px 80px;
    box-sizing: border-box;
}
.news-banner {
    margin-bottom: 40px;
}
.news-banner-en {
    font-family: 'Nunito', sans-serif;
    font-size: 12px;
    letter-spacing: 4px;
    color: #d4a06a;
    margin-bottom: 12px;
}
.news-banner-title {
    font-size: 34px;
    font-weight: 200;
    letter-spacing: 4px;
    color: #2e1f10;
    margin-bottom: 14px;
}
.news-banner-desc {
    font-size: 14px;
    color: #6f573a;
    line-height: 2;
    max-width: 520px;
    font-weight: 300;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.news-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 14px 34px -22px rgba(122, 68, 22, 0.25);
    transition: transform 0.4s, box-shadow 0.4s;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -22px rgba(122, 68, 22, 0.35);
}
.news-card-cover img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.news-card-body {
    padding: 22px 24px 24px;
}
.news-card-cat {
    font-size: 11px;
    color: #d4a06a;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.news-card-title {
    font-size: 17px;
    color: #2e1f10;
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 10px;
}
.news-card-summary {
    font-size: 13px;
    color: #9a8059;
    line-height: 1.8;
}
.news-card-meta {
    font-size: 12px;
    color: #c2a889;
    margin-top: 14px;
}
.news-empty {
    color: #999;
    padding: 60px 0;
    text-align: center;
}

/* 文章详情 */
.news-article {
    max-width: 800px;
}
.news-article-back {
    display: inline-block;
    color: #d4a06a;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 28px;
}
.news-article-cat {
    font-size: 11px;
    color: #d4a06a;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.news-article-title {
    font-size: 36px;
    color: #2e1f10;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 16px;
}
.news-article-date,
.news-article-meta {
    font-size: 14px;
    color: #9a8059;
    margin-bottom: 30px;
}
.news-article-author {
    color: #c2a889;
}
.news-article-cover {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 32px;
}
.news-article-content {
    font-size: 16px;
    color: #2e1f10;
    line-height: 2;
    font-weight: 300;
}
.news-article-content p {
    margin-bottom: 18px;
}

/* 响应式 */
@media (max-width: 768px) {
    .navBar {
        width: 100%;
        height: 50px;
        padding-top: 15px;
    }
    .icon-menu {
        width: 22px;
        margin: 0 auto;
    }
    .logo {
        left: 60px;
        height: 35px;
    }
    .banner-swiper {
        margin-left: 0;
    }
    .text1 {
        font-size: 20px;
        left: 20px;
    }
    .understand-box {
        width: 120px;
        height: 40px;
        line-height: 40px;
        font-size: 12px;
        left: 20px;
    }
    .menu-fixed {
        width: 100%;
        left: -100%;
    }
    .menu-fixed .content {
        padding: 80px 30px 40px 30px;
    }

    /* 构建页移动端：堆叠滚动，缩放交给保存的 @media */
    body:has(.gy-builder-swiper) {
        overflow-y: auto;
        overflow-x: hidden;
    }
    /* 容器放开高度并允许溢出，否则分区在视口内被裁剪、页面无法滚动到后续分区 */
    body:has(.gy-builder-swiper) .container,
    body:has(.gy-builder-swiper) .header,
    body:has(.gy-builder-swiper) .banner-swiper.gy-builder-swiper,
    body:has(.gy-builder-swiper) .banner-swiper.gy-builder-swiper .swiper-wrapper {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }
    .banner-swiper.gy-builder-swiper .swiper-wrapper {
        display: block;
    }
    .banner-swiper.gy-builder-swiper .swiper-wrapper .swiper-slide {
        height: auto;
        width: 100%;
        overflow: visible;
    }
    .gy-slide-scale {
        position: static;
        width: auto;
        height: auto;
        transform: none !important;
    }
    /* 背景图铺满分区（构建 CSS 是 background-size:auto，窄屏下会只显示图片左半部分） */
    .banner-swiper.gy-builder-swiper .gy-section {
        width: auto;
        height: auto;
        min-height: calc(100vh - 50px);
        background-size: cover !important;
        background-position: center !important;
    }
    .gy-pagination {
        display: none;
    }

    /* 资讯布局移动端：分类栏横排滚动 */
    .news-layout {
        flex-direction: column;
        margin-left: 0;
        padding-top: 50px;
    }
    .news-sidebar {
        position: static;
        top: auto;
        width: 100%;
        height: auto;
        align-items: flex-start;
        border-right: none;
        border-bottom: 1px solid rgba(122, 68, 22, 0.08);
        padding: 20px;
        box-sizing: border-box;
    }
    .news-sidebar-title,
    .news-sidebar-nav,
    .news-sidebar-foot {
        width: auto;
    }
    .news-sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        gap: 10px;
    }
    .news-sidebar-nav a {
        white-space: nowrap;
        padding: 10px 18px;
    }
    .news-sidebar-foot {
        display: none;
    }
    .news-main {
        padding: 40px 20px 60px;
    }
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }
    .news-article-title {
        font-size: 26px;
    }

    /* 首页回退末屏（非构建模式）：品牌介绍 + 侧边栏改纵向堆叠 */
    .last-slide {
        flex-direction: column;
        height: auto;
    }
    .last-slide > div:first-child {
        height: auto;
        min-height: 60vh;
    }
    .last-slide .more-sidebar {
        width: 100%;
        height: auto;
    }
    .last-slide .understand-box4 {
        position: static;
        margin: 20px;
    }
}

