/* detail_area: 传承人与老字号分区，以及自定义布局 */

.detail-area-wrapper {
    padding-top: 3rem;
    padding-bottom: 4rem;
    background-image: url('../img/bg-yellow.png');
    background-repeat: repeat-y;
    background-position: top center;
}

/* 下部老字号区域：纯色背景 */
.detail-brand-wrapper {
    padding-top: 3rem;
    padding-bottom: 4rem;
    background-color: #FFF9F0;
}

.detail-section {
    margin-bottom: 4rem;
}

/* 传承人 Swiper 容器 */
.inheritor-swiper {
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 1rem;
}

.inheritor-grid {
    display: flex;
    align-items: stretch;
}

/* 调整传承人图片尺寸，水平居中 */
.inheritor-grid .area-image-wrapper {
    padding-top: 0;
    width: 185px;
    height: 258px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px auto 0 auto;
}

.inheritor-grid .area-image-wrapper img {
    position: static;
    width: 185px;
    height: 258px;
    object-fit: cover;
}

/* 标题居中且单行省略 */
.inheritor-grid .area-content {
    text-align: center;
}

.inheritor-title {
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Swiper item 占满高度，使卡片统一 */
.inheritor-grid .swiper-slide {
    height: auto;
}

/* 老字号标题单行省略 */
.brand-grid .brand-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .detail-area-wrapper,
    .detail-brand-wrapper {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .detail-section {
        margin-bottom: 3rem;
    }
}


