body {
    background-color: #FFF9F0;
}

/* Banner区域 */
.area-banner-section {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

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

.area-banner-section .header-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.5);
}

/* 面包屑导航 */
.breadcrumb-wrapper {
    background-color: #7A2919;
    height: 40px;
    display: flex;
    align-items: center;
}

.breadcrumb-content {
    display: flex;
    align-items: center;
    height: 100%;
    color: #fff;
    font-size: 0.9rem;
}

.breadcrumb-content a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb-content a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #fff;
}

.breadcrumb-current {
    color: #fff;
}

/* 传人风采区块 */
.inheritor-showcase-section {
    padding: 3rem 0;
    background-color: #FFF9F0;
    background-image: url('../img/bg-yellow.png');
}

.showcase-title {
    font-size: 2rem;
    font-weight: 700;
    color: #7f1d1d;
    text-align: center;
    margin-bottom: 2.5rem;
}

.inheritor-swiper {
    padding: 0 0 3rem 0;
}

.inheritor-card {
    background-color: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.inheritor-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.inheritor-image-wrapper {
    position: relative;
    width: 185px;
    height: 258px;
    overflow: hidden;
    margin: 0 auto;
}

.inheritor-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.inheritor-card:hover .inheritor-image-wrapper img {
    transform: scale(1.1);
}

.inheritor-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.inheritor-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #862E23;
    margin-bottom: 0.75rem;
    text-align: center;
}

.inheritor-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    flex: 1;
}

.inheritor-swiper .swiper-pagination-bullet {
    background: #862E23;
    opacity: 0.5;
}

.inheritor-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #862E23;
}

.inheritor-swiper .swiper-button-next,
.inheritor-swiper .swiper-button-prev {
    color: #862E23;
}

/* 主内容区域 */
.area-wrapper {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #7f1d1d;
    text-align: center;
    margin-bottom: 3rem;
}

/* 区域列表区域 */
.area-list-section {
    margin-bottom: 2rem;
}

/* 搜索表单样式 */
.search-form-wrapper {
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-form {
    width: 100%;
}

.search-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-end;
}

.search-form-group {
    flex: 1;
    min-width: 150px;
}

.search-button-group {
    flex: 0 0 auto;
    min-width: auto;
}

.search-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.search-select,
.search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    background-color: #fff;
    color: #333;
    transition: all 0.3s ease;
}

.search-select:focus,
.search-input:focus {
    outline: none;
    border-color: #862E23;
    box-shadow: 0 0 0 3px rgba(134, 46, 35, 0.1);
}

.search-input::placeholder {
    color: #999;
}

.search-button {
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background-color: #862E23;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-button:hover {
    background-color: #7A2919;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(134, 46, 35, 0.3);
}

.search-button:active {
    transform: translateY(0);
}

/* 区域图片网格 */
.area-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
}

/* 保护单位列表专用样式（公司列表） */
.company-area-grid .area-image-wrapper {
    width: 178px;
    height: 178px; /* 正方形 */
    border: 10px solid #fff;
    box-sizing: border-box;
}

.company-area-grid .area-image-wrapper img {
    object-fit: contain; /* 保证不变形，完整显示 */
}

.company-area-grid .area-title,
.company-area-grid .card-desc {
    text-align: center;
}

/* 品牌传人列表专用样式 */
.explore-area-grid .area-image-wrapper {
    /* border: 10px solid #fff; */
    box-sizing: border-box;
}

.area-item {
    background-color: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.area-image-wrapper {
    position: relative;
    width: 185px;
    height: 258px;
    overflow: hidden;
    margin: 15px auto 0 auto;
}

.area-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.area-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
}

.area-info {
    color: #fff;
}

.area-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.area-count {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.area-content {
    padding: 0.5rem 1.5rem;
}

.area-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #862E23;
    margin-bottom: 0.75rem;
    text-align: center;
}

.card-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3.2em; /* 固定两行高度 */
}

.area-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

/* 分页样式 */
.area-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding: 1.5rem 0;
}

.area-pagination .pagination-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: #333;
    text-decoration: none;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.area-pagination .pagination-item:hover {
    background-color: #f0f0f0;
}

.area-pagination .pagination-number {
    min-width: 39px;
    height: 26px;
    padding: 0;
}

.area-pagination .pagination-number.active {
    width: 39px;
    height: 26px;
    background: #A17B42;
    color: #fff;
}

.area-pagination .pagination-number.active:hover {
    background: #8a6a38;
}

.area-pagination .pagination-prev,
.area-pagination .pagination-next {
    padding: 0.5rem 1rem;
}
.area-pagination ul.pagination{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    border: none;
}
.area-pagination li{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: #333;
    text-decoration: none;
}
/* 响应式设计 - 移动端 */
@media (max-width: 768px) {
    .area-banner-section {
        height: 320px;
    }

    .area-wrapper {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .inheritor-showcase-section {
        padding: 2rem 0;
    }

    .showcase-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .search-form-wrapper {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .search-form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .search-form-group {
        width: 100%;
        min-width: 100%;
    }

    .search-button-group {
        width: 100%;
    }

    .search-button {
        width: 100%;
    }

    /* 区域列表移动端 */
    .area-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .area-content {
        padding: 1rem;
    }

    .area-title {
        font-size: 1.1rem;
    }

    .area-desc {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }

    .area-pagination {
        flex-wrap: wrap;
        gap: 0.25rem;
        margin-top: 2rem;
    }

    .area-pagination .pagination-item {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

/* 小屏幕优化 */
@media (max-width: 480px) {
    .area-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .showcase-title {
        font-size: 1.25rem;
    }

    .search-form-wrapper {
        padding: 1rem;
    }

    .area-content {
        padding: 0.75rem;
    }

    .area-title {
        font-size: 1rem;
    }

    .area-desc {
        font-size: 0.8rem;
    }
}

