/* 主容器 */
.food-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

/* 上部分样式 */
.top-section {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* 左侧特色图片 */
.featured-image {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.featured-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.featured-image h3 {
    padding: 15px;
    text-align: center;
    color: #333;
    margin: 0;
}

/* 中间美食简介 */
.food-intro {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.intro-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.intro-content img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.intro-text {
    text-decoration: none;
    color: inherit;
}

.intro-text h3 {
    color: #333;
    margin-bottom: 10px;
}

.intro-text p {
    color: #666;
    line-height: 1.6;
}

/* 右侧排行榜 */
.food-ranking {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.food-ranking h3 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1e90ff;
}

.food-ranking ul {
    list-style: none;
    padding: 0;
}

.food-ranking li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.rank {
    width: 24px;
    height: 24px;
    background-color: #1e90ff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 14px;
}

/* 下部分样式 */
.bottom-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.food-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.food-item:hover {
    transform: translateY(-5px);
}

.food-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.food-desc {
    padding: 15px;
    text-decoration: none;
    color: inherit;
    display: block;
}

.food-desc h4 {
    color: #333;
    margin-bottom: 10px;
}

.food-desc p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .top-section {
        grid-template-columns: 1fr 1fr;
    }
    
    .food-ranking {
        grid-column: span 2;
    }
    
    .bottom-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-section {
        grid-template-columns: 1fr;
    }
    
    .food-ranking {
        grid-column: auto;
    }
    
    .bottom-section {
        grid-template-columns: 1fr;
    }
} 