/* ==========================================================================
   首页 独立样式表 (index.css) - 一比一还原设计稿
   ========================================================================== */

/* 全局覆盖与基础设置 */
body {
    background-color: #fff;
}

.home-page {
    --home-content-gap: 16px;
    --home-section-gap: 24px;
    --home-section-gap-large: 32px;
}

@media (max-width: 700px) {
    .home-page {
        --home-section-gap-large: var(--home-section-gap);
    }
}

.page-main {
    margin-top: 8px;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    color: var(--primary-red);
}

/* 头部 */
.header-top {
    background-color: #fff;
    padding: 25px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-icon-img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.logo-icon-img--combined {
    width: 650px;
}

.logo-icon-img--fallback {
    height: 50px;
}

@media (max-width: 992px) {
    .logo-icon-img--combined {
        width: 560px;
    }
}

.search-bar {
    display: flex;
    border: 1px solid #ccc;
    height: 40px;
}

.search-input {
    width: 250px;
    padding: 0 15px;
    border: none;
    outline: none;
}

.search-btn {
    background: #f2f2f2;
    border: none;
    border-left: 1px solid #ccc;
    padding: 0 20px;
    cursor: pointer;
    font-size: 14px;
}

/* 导航栏 */
.nav-bar {
    color: #fff;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

.nav-item-col {
    padding: 15px 0;
}

.nav-link-item {
    display: block;
    color: #fff;
    font-size: 18px !important;
    font-weight: normal;
    padding: 0 !important;
    margin-bottom: 8px;
}

.nav-link-item.sub-link {
    opacity: 1 !important;
    border-top: none !important;
    margin-bottom: 0;
}

.nav-link-item:hover {
    color: #fff;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    background-color: transparent !important;
    transform: none !important;
}

/* 红色横幅与双图横幅 */
.study-banner {
    height: 61px;
    margin-bottom: 12px;
    overflow: hidden;
}

.banner-scroll {
    min-width: 0;
    height: 100%;
    overflow: hidden;
}

.banner-scroll-track {
    will-change: transform;
}

.banner-scroll-track a {
    display: block;
    width: 100%;
    overflow: hidden;
}

.banner-scroll-track img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill;
}

.dual-banner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: var(--home-section-gap);
    overflow: hidden;
}

.dual-banner--top {
    height: 58px;
    gap: 10px;
    margin-bottom: 16px;
}

.dual-banner--middle {
    height: 89px;
}

.dual-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

/* 品牌海报区 */
.brand-section {
    margin-bottom: var(--home-section-gap);
}

.split-title-bar {
    border-bottom: 2px solid #e5e5e5;
    margin-bottom: var(--home-content-gap);
    display: flex;
    gap: 8px;
}

.poster-tab {
    appearance: none;
    border: 0;
    border-bottom: 4px solid transparent;
    background: transparent;
    color: #333;
    cursor: pointer;
    font-size: 22px;
    font-weight: bold;
    padding: 0 16px 11px;
}

.poster-tab:first-child {
    padding-left: 0;
}

.poster-tab.is-active {
    border-bottom-color: #d31e24;
    color: #d31e24;
}

.poster-tab:focus-visible {
    outline: 3px solid rgba(211, 30, 36, 0.35);
    outline-offset: 2px;
}

.poster-panel[hidden] {
    display: none;
}

.poster-carousel {
    overflow: hidden;
}

.brand-posters-track {
    display: flex;
    transition: transform 0.6s ease;
    will-change: transform;
}

.poster-page {
    flex: 0 0 100%;
}

.brand-posters-5 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--home-content-gap);
}

.poster-card {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poster-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.poster-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.poster-caption {
    background-color: #fdf5e6;
    text-align: center;
    padding: 12px 10px;
    color: #555;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {
    .brand-posters-track {
        transition: none;
    }
}

/* 核心头条区 */
.headline-section-wrapper {
    margin-bottom: var(--home-section-gap);
}

.headline-title-main {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.headline-related {
    height: 23px;
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 0;
    margin: 0 0 var(--home-content-gap);
    overflow: hidden;
    list-style: none;
    font-size: 14px;
    line-height: 23px;
    color: #666;
    text-align: center;
}

.headline-related li {
    min-width: 0;
    max-width: 340px;
}

.headline-related a {
    display: block;
    overflow: hidden;
    color: inherit;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.headline-content-split {
    height: 404px;
    display: flex;
    gap: var(--home-section-gap-large);
    align-items: stretch;
}

.headline-left {
    flex: 0 0 400px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.headline-news-block {
    display: flex;
    flex-direction: column;
}

.red-news-title {
    color: #d31e24;
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 15px;
    margin-top: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.red-news-title a {
    display: block;
    overflow: hidden;
    color: inherit;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.headline-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.headline-news-list li {
    font-size: 15px;
    margin-bottom: 10px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.headline-news-list a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.headline-right {
    flex: 1;
    position: relative;
}

.headline-right img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.focus-slides,
.focus-slide {
    width: 100%;
    height: 100%;
}

.focus-slides {
    position: relative;
    overflow: hidden;
    background: #f3f4f6;
}

.focus-slide {
    display: none;
}

.focus-slide.is-active {
    display: block;
}

.focus-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    min-height: 142px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 30px 24px 8px;
    box-sizing: border-box;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.16) 28%, rgba(0, 0, 0, 0.78) 100%);
    pointer-events: none;
}

.focus-title {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: #fff;
    font-size: clamp(18px, 2.3vw, 30px);
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-overflow: ellipsis;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
    white-space: nowrap;
    pointer-events: auto;
    transition: opacity 0.2s ease;
}

.focus-title:hover {
    color: #fff;
    opacity: 0.92;
}

.focus-title:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.focus-dots {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    pointer-events: auto;
}

.focus-dot {
    position: relative;
    width: 28px;
    height: 44px;
    min-height: 44px;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    transition: width 0.2s ease;
}

.focus-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, background-color 0.2s ease;
}

.focus-dot:hover {
    background: transparent;
}

.focus-dot:hover::before {
    background: #f4f4f4;
}

.focus-dot.is-active {
    width: 40px;
    background: transparent;
}

.focus-dot.is-active::before {
    width: 40px;
    background: #d31e24;
}

.focus-dot:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

/* 响应式适配：在平板和手机等小屏幕上改为上下垂直排列，防止内容挤压 */
@media (max-width: 768px) {
    .headline-content-split {
        height: auto;
        flex-direction: column;
        gap: 20px;
    }

    .headline-related {
        height: auto;
        flex-direction: column;
        gap: 4px;
        align-items: stretch;
    }

    .headline-related li {
        max-width: none;
    }

    .headline-left {
        flex: none;
        width: 100%;
    }

    .headline-right {
        flex: none;
        width: 100%;
        height: 280px;
    }

    .focus-overlay {
        min-height: 112px;
        padding-inline: 16px;
    }
}

.red-news {
    color: #d31e24 !important;
    font-weight: bold;
}

/* 三栏分类通用样式 */
.three-col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--home-section-gap);
    margin-bottom: var(--home-section-gap);
}

.col-block {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #ea5514 0%, #d31e24 100%);
    padding: 10px 15px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    position: relative;
    padding-left: 0;
}

.section-title::before {
    display: none;
}

.more-link {
    font-size: 12px;
    color: #666;
}

.more-link:hover {
    color: #d31e24;
}

.section-header .more-link {
    font-size: 14px;
    color: #ffffff;
    opacity: 0.95;
    transition: opacity 0.2s ease;
}

.section-header .more-link:hover {
    color: #ffffff;
    opacity: 1;
    text-decoration: underline;
}

/* 前两组三栏：白底红字短横线标题，第三组继续使用公共渐变标题 */
.three-col-grid--plain-headings .section-header {
    align-items: flex-end;
    background: transparent;
    border-bottom: 2px solid #e5e5e5;
    padding: 0 0 8px;
}

.three-col-grid--plain-headings .section-title {
    color: #d31e24;
    font-size: 22px;
    line-height: 1.2;
}

.three-col-grid--plain-headings .section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 4px;
    background: #d31e24;
}

.three-col-grid--plain-headings .section-header .more-link {
    color: #333333;
    opacity: 1;
    padding-bottom: 1px;
}

.three-col-grid--plain-headings .section-header .more-link:hover {
    color: #d31e24;
}

.featured-news {
    margin-bottom: 15px;
}

.featured-news img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 10px;
}

.featured-news h3 {
    font-size: 16px;
    color: #000;
    margin: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 栏目轮播：16:9 图片、底部标题遮罩与居中圆点 */
.featured-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f3f4f6;
}

.featured-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: none;
}

.featured-slide.is-active {
    display: block;
    animation: focusFadeIn 0.6s ease;
}

.featured-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 0;
}

.featured-slide::after {
    content: '';
    position: absolute;
    inset: 38% 0 0;
    z-index: 1;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.18) 32%, rgba(0, 0, 0, 0.82) 100%);
    pointer-events: none;
}

.featured-caption {
    position: absolute;
    right: 18px;
    bottom: 38px;
    left: 18px;
    z-index: 2;
    overflow: hidden;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-overflow: ellipsis;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
    white-space: nowrap;
    pointer-events: none;
}

.featured-slide:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -4px;
}

.featured-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    min-height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-dot {
    position: relative;
    width: 28px;
    height: 44px;
    min-height: 44px;
    flex: 0 0 auto;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    transition: width 0.2s ease;
}

.featured-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, background-color 0.2s ease;
}

.featured-dot:hover {
    background: transparent;
}

.featured-dot.is-active {
    width: 34px;
    background: transparent;
}

.featured-dot.is-active::before {
    width: 24px;
    background: #d31e24;
}

.featured-dot:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -7px;
}

.news-list {
    list-style: none;
    padding: 0;
}

.news-list li {
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dotted-list li {
    padding-left: 12px;
    position: relative;
}

.dotted-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #d31e24;
}

/* 校园会客厅 */
.salon-section {
    margin-bottom: var(--home-section-gap);
}

.salon-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid #d31e24;
}

.salon-title-badge {
    background: linear-gradient(135deg, #f36c21, #d31e24);
    color: #fff;
    padding: 8px 30px 8px 20px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 8px 24px 0 0;
    display: flex;
    align-items: center;
}

.salon-content {
    display: flex;
    gap: var(--home-section-gap);
    margin-top: 15px;
}

.salon-images {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.salon-img-main {
    position: relative;
    height: 255px;
    overflow: hidden;
}

.salon-slide {
    display: none;
    position: relative;
    height: 100%;
}

.salon-slide.is-active {
    display: block;
    animation: salonFadeIn 0.6s ease;
}

.salon-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.salon-slide::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    pointer-events: none;
}

@keyframes salonFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.salon-caption {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 0 12px;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

.salon-slide .salon-caption {
    bottom: 32px;
    font-size: 15px;
}

.salon-img-sub-link .salon-caption {
    bottom: 8px;
    font-size: 13px;
}

.salon-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.salon-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.salon-dot:hover {
    background: #fff;
}

.salon-dot.is-active {
    width: 22px;
    background: #d31e24;
}

.salon-img-sub-container {
    height: 123px;
    display: flex;
    gap: 10px;
    overflow: hidden;
}

.salon-img-sub-link {
    display: block;
    position: relative;
    flex: 1;
    min-width: 0;
    height: 100%;
    overflow: hidden;
}

.salon-img-sub-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    pointer-events: none;
}

.salon-img-sub {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.salon-news {
    flex: 1.2;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    column-gap: var(--home-section-gap);
    row-gap: var(--home-content-gap);
}

.salon-news-title {
    color: #d31e24;
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 12px;
    margin-top: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.salon-news-title a {
    display: block;
    color: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.salon-news-block {
    min-width: 0;
}

.salon-news .thick-list {
    margin: 0;
    padding: 0;
}

.salon-news .thick-list li {
    padding: 6px 0;
    border-bottom: 1px dashed #e5e5e5;
    font-size: 14px;
    color: #555;
}

.salon-news .thick-list li a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 网格占位符 */
.grid-box {
    border: 1px solid #ccc;
    background-color: #fafafa;
}

.grid-2x6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 60px);
    gap: 10px;
    margin-bottom: 30px;
}

.grid-2x4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 60px);
    gap: 10px;
    margin-bottom: var(--home-section-gap);
}

.grid-2x2 {
    height: 136px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 10px;
    flex: none;
}

.grid-2x2 .grid-box {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.grid-2x2 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 河南探校：图片轮播 + 文字广告位 */
.visit-carousel {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
    margin-bottom: 9px;
}

.visit-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.visit-slide.is-active {
    display: block;
    animation: focusFadeIn 0.6s ease;
}

.visit-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visit-caption-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.55);
}

.visit-caption {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    font-weight: bold;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.visit-caption:hover {
    color: #ffffff;
    text-decoration: underline;
}

.visit-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: none;
}

.visit-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.visit-dot:hover {
    background: rgba(255, 255, 255, 0.85);
}

.visit-dot.is-active {
    background: #ffffff;
    transform: scale(1.2);
}

.visit-text-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.visit-text-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 10px;
    background: #f4f4f4;
    font-size: 14px;
    color: #333333;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.visit-text-box:hover {
    background: #eaeaea;
    color: #d31e24;
}

.grid-3x6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, 80px);
    gap: 10px;
}

/* 品牌联播 */
.red-solid-title {
    background-color: #d31e24;
    color: #fff;
    display: inline-block;
    padding: 8px 20px;
    font-size: 18px;
    margin-bottom: 15px;
}


/* 独家策划区域 */
.exclusive-section-wrapper {
    position: relative;
    isolation: isolate;
    padding: 0 0 var(--home-content-gap);
    margin: var(--home-section-gap-large) 0 var(--home-section-gap);
    overflow: hidden;
}

.exclusive-stage {
    position: absolute;
    inset: 0 auto var(--home-content-gap) 50%;
    width: min(1448px, calc(100% - 48px));
    transform: translateX(-50%);
    background: url("../images/exclusive-background.png?v=1") center / 100% 100% no-repeat;
    z-index: -1;
}

.exclusive-content {
    width: min(1160px, calc(100% - clamp(96px, 12vw, 180px)));
    max-width: none;
    /* 额外避开背景图左下方约 6% 高度的白色斜切区。 */
    padding: var(--home-content-gap) 0 clamp(48px, 4vw, 56px);
    position: relative;
    z-index: 1;
    color: #fff;
}

.exclusive-heading {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: clamp(42px, 12vw, 185px);
    padding: 5px 0 0;
    text-align: left;
}

.exclusive-title {
    flex: 0 0 auto;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0;
}

.exclusive-subtitle {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: 0;
}

.exclusive-carousel {
    position: relative;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #e9252d;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.2s ease;
    z-index: 2;
}

.carousel-arrow.left {
    left: max(-102px, calc((100% - 100vw) / 2 + 20px));
}

.carousel-arrow.right {
    right: max(-102px, calc((100% - 100vw) / 2 + 20px));
}

.carousel-arrow:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.carousel-arrow:disabled {
    cursor: default;
    opacity: 0.35;
}

.carousel-arrow:disabled:hover {
    background-color: transparent;
}

.carousel-arrow:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.carousel-chevron {
    width: 22px;
    height: 22px;
    border-top: 5px solid currentColor;
    border-right: 5px solid currentColor;
}

.carousel-arrow.left .carousel-chevron {
    transform: rotate(-135deg);
}

.carousel-arrow.right .carousel-chevron {
    transform: rotate(45deg);
}

.exclusive-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--home-content-gap);
}

.exclusive-column {
    min-width: 0;
    display: grid;
    gap: var(--home-content-gap);
}

.exclusive-card {
    min-width: 0;
    overflow: hidden;
}

.exclusive-poster-card img,
.exclusive-placeholder-body {
    width: 100%;
    aspect-ratio: 3 / 4;
}

.exclusive-poster-card img {
    object-fit: cover;
}

.exclusive-placeholder-body {
    display: block;
    background-color: #fff;
}

.exclusive-card-footer {
    display: block;
    width: 100%;
    height: clamp(34px, 2.7vw, 42px);
    line-height: clamp(34px, 2.7vw, 42px);
    background-color: #fff6dc;
    text-align: center;
    padding: 0 10px;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 900px) {
    .salon-content {
        flex-direction: column;
        gap: 20px;
    }

    .salon-images {
        width: 100%;
        flex: none;
    }

    .salon-img-main {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .salon-img-sub-container {
        height: auto;
        aspect-ratio: 32 / 9;
    }

    .exclusive-content {
        width: calc(100% - 80px);
    }

    .exclusive-heading {
        min-height: 72px;
        gap: 28px;
    }

    .exclusive-title {
        font-size: 18px;
    }

    .exclusive-subtitle {
        font-size: 16px;
    }

    .exclusive-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 16px;
    }

    .exclusive-column {
        gap: 16px;
    }

    .carousel-arrow.left {
        left: -38px;
    }

    .carousel-arrow.right {
        right: -38px;
    }
}

@media (max-width: 576px) {
    .exclusive-section-wrapper {
        margin-top: var(--home-section-gap);
    }

    .exclusive-stage {
        width: calc(100% - 20px);
    }

    .exclusive-content {
        width: calc(100% - 64px);
    }

    .exclusive-heading {
        min-height: 72px;
        display: block;
        padding-top: var(--home-content-gap);
    }

    .exclusive-title {
        margin-bottom: 8px;
    }

    .exclusive-subtitle {
        max-width: 260px;
        font-size: 14px;
    }

    .exclusive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .exclusive-column {
        gap: 14px;
    }

    .carousel-arrow.left {
        left: -32px;
    }

    .carousel-arrow.right {
        right: -32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .exclusive-grid {
        scroll-behavior: auto;
    }

    .carousel-arrow {
        transition: none;
    }
}

/* 合作院校 */
.partner-section {
    margin-bottom: var(--home-section-gap-large);
}

/* 页脚 */
.main-footer {
    background: linear-gradient(135deg, #ea5514, #d31e24);
    color: #fff;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
}

.main-footer p {
    margin-bottom: 5px;
}

.main-footer .copyright {
    margin-top: 15px;
    font-size: 15px;
}

/* 公共头部在首页也沿用 common.css 的移动端规格，避免页面间跳变 */
@media (max-width: 700px) {
    .salon-news {
        grid-template-columns: 1fr;
        row-gap: var(--home-content-gap);
    }

    .header-top {
        padding: 14px 0;
    }

    .header-top .container {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .logo-container {
        justify-content: center;
        gap: 12px;
    }

    .logo-icon-img--fallback {
        height: 42px;
    }

    .search-bar {
        width: 100%;
    }

    .search-input {
        width: auto;
        flex: 1;
    }

    .nav-bar .container {
        width: 100%;
    }

    .nav-grid {
        grid-template-columns: repeat(7, 100px);
        min-width: 700px;
    }

    .nav-item-col {
        padding-block: 9px 10px;
    }

    .nav-link-item {
        font-size: 1rem;
    }

    .nav-link-item.sub-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .exclusive-section-wrapper {
        margin-top: var(--home-section-gap);
    }

    .exclusive-stage {
        width: calc(100% - 20px);
    }

    .exclusive-content {
        width: calc(100% - 64px);
    }

    .exclusive-heading {
        min-height: 72px;
        display: block;
        padding-top: var(--home-content-gap);
    }

    .exclusive-title {
        margin-bottom: 8px;
    }

    .exclusive-subtitle {
        max-width: 260px;
        font-size: 14px;
    }

    .exclusive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .exclusive-column {
        gap: 14px;
    }

    .carousel-arrow.left {
        left: -32px;
    }

    .carousel-arrow.right {
        right: -32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .exclusive-grid {
        scroll-behavior: auto;
    }

    .carousel-arrow {
        transition: none;
    }
}

/* 合作院校 */
.partner-section {
    margin-bottom: var(--home-section-gap-large);
}

/* 页脚 */
.main-footer {
    background: linear-gradient(135deg, #ea5514, #d31e24);
    color: #fff;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
}

.main-footer p {
    margin-bottom: 5px;
}

.main-footer .copyright {
    margin-top: 15px;
    font-size: 15px;
}

/* 公共头部在首页也沿用 common.css 的移动端规格，避免页面间跳变 */
@media (max-width: 700px) {
    .salon-news {
        grid-template-columns: 1fr;
        row-gap: var(--home-content-gap);
    }

    .header-top {
        padding: 14px 0;
    }

    .header-top .container {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .logo-container {
        justify-content: center;
        gap: 12px;
    }

    .logo-icon-img--fallback {
        height: 42px;
    }

    .search-bar {
        width: 100%;
    }

    .search-input {
        width: auto;
        flex: 1;
    }

    .nav-bar .container {
        width: 100%;
    }

    .nav-grid {
        grid-template-columns: repeat(7, 100px);
        min-width: 700px;
    }

    .nav-item-col {
        padding-block: 9px 10px;
    }

    .nav-link-item {
        font-size: 1rem;
    }

    .nav-link-item.sub-link {
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   右侧悬浮按钮模块 (1:1 还原 http://edu.cnhubei.com/ 的 siterightbox 模块)
   ========================================================================== */
.siterightbox {
    width: 59px;
    height: 180px;
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
}

.siterightbox a {
    display: block;
    height: 59px;
    width: 59px;
    margin-top: 1px;
    position: relative;
}

.siterightbox a.wx {
    background: url(../images/siterightbox/weixin.jpg) no-repeat;
    background-size: cover;
}

.siterightbox a.wx img,
.siterightbox a.wb img {
    display: none;
    max-width: none !important;
    width: 117px !important;
    height: 117px !important;
}

.siterightbox a.wb {
    background: url(../images/siterightbox/rightlogo.jpg) no-repeat;
    background-size: cover;
}

.siterightbox a.back {
    background: url(../images/siterightbox/back.jpg) no-repeat;
    background-size: cover;
}

.siterightbox .wx:hover {
    background: url(../images/siterightbox/weixin.jpg) no-repeat;
    background-size: cover;
}

.siterightbox .wx:hover img {
    display: block;
    position: absolute;
    left: -119px;
    top: 0;
    max-width: none !important;
    width: 117px !important;
    height: 117px !important;
}

.siterightbox .wb:hover {
    background: url(../images/siterightbox/rightlogo.jpg) no-repeat;
    background-size: cover;
}

.siterightbox .wb:hover img {
    display: block;
    position: absolute;
    left: -119px;
    top: 0;
    max-width: none !important;
    width: 117px !important;
    height: 117px !important;
}