/* Content */



/* Main Content Styles */
.main-content {
    padding: 2rem 2rem 0rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
    margin-top: 7rem;
}

.section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
     /* font-weight: 700; */
    color: var(--secondary-color);
    text-transform: uppercase;
    /* letter-spacing: 2px; */
    margin-bottom: 2rem;
    /* margin-left: -2rem; */
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.image-container {
    position: relative;
    overflow: hidden;
    height: 450px;
}

.section-image {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.image-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* background: rgba(0, 0, 0, 0.5); */
    padding: 0.5rem 1rem;
}

.location-text {
    color: white;
    font-size: 3.5rem;
     /* font-weight: 700; */
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-text {
    color: var(--secondary-color);
    line-height: 1.6;
    font-size: 0.9rem;
    margin-top: 2rem;
    text-align: center;
}

/* Crew Section */
.crew-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 改为1:1比例，确保左右宽度基本一致 */
    gap: 2rem;
    align-items: start; /* 确保顶部对齐 */
}

.crew-main-image {
    /* overflow: hidden; */
    height: 100%; /* 确保高度充满容器 */
    width: 100%;
    display: flex;
    align-items: stretch;
}

.crew-main-image .section-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持图片比例并填充容器 */
    min-height: 300px; /* 确保最小高度与section盒子一致 */
}

.crew-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 23rem; /* 与左边大图高度保持一致 */
    justify-content: space-between; /* 在两排之间均匀分布空间 */
    margin-right: 2rem; /* 右边保留2rem右边距 */
    margin-right: -5rem;/*由-7rem改成-5rem，20260126 */
}

.crew-row {
    display: flex;
    justify-content: flex-end; /* 从右向左排列 */
    gap: 0rem;
}
.crew-row1 {
    display: flex;
    justify-content: flex-start; /* 从右向左排列 */
    gap: 0rem;
}

.crew-item {
    overflow: hidden;
    text-align: right; /* 文字靠右展示 */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 100px;
}

.empty-item {
    min-width: 100px;
    height: 120px;
    /* 留白位置，不显示内容 */
}

.crew-image {
    width: 80px;
    height: 120px;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}


.crew-text {
    margin-top: 0.5rem;
    text-align: right;
}

.crew-title {
    /* font-weight: bold; */
    font-size: 0.7rem;
   color: rgb(0 0 0 / 60%);
    display: block;
}

.crew-description {
    font-size: 0.6rem;
    color: rgb(0 0 0 / 60%);
    margin-top: 0.2rem;
    /* line-height: 1.3; */
}

/* 第一排：6个图片 */
.first-row .crew-item:not(.empty-item) {
    flex: 0 0 calc(100% / 7); /* 7个位置，包括留白 */
}

/* 第二排：7个图片 */
.second-row .crew-item {
    flex: 0 0 calc(100% / 7);
}



/* Responsive styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .content-title {
        font-size: 2rem;
    }
    
    .drawer {
        width: 250px;
    }
    
    .grid-container {
        grid-template-columns: 1fr;
    }
    
    .crew-container {
        grid-template-columns: 1fr;
    }
    
    .crew-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-right {
        text-align: center;
    }
    
    .social-link {
        margin: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem;
    }
    
    .content-title {
        font-size: 1.5rem;
    }
    
    .drawer {
        width: 200px;
    }
    
    .crew-grid {
        grid-template-columns: 1fr;
    }
}
.footer{
    margin-top: 3rem;
}