/* 页面标题区域 */
.page-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 4rem 2rem;
    margin-top: 80px; /* 为固定导航栏留出空间 */
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.page-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0;
    opacity: 0.9;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-hero {
        min-height: 30vh;
        padding: 3rem 1rem;
        margin-top: 70px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
} 

/* 顶部图片区域 */
.hero-image {
    width: 90%;
    max-width: 1400px;
    height: 400px;
    overflow: hidden;
    margin: 80px auto 0;
    border-radius: 15px;
}

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

/* 友情链接区域 */
.friends-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 40px;
}

.friends-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.friend-item {
    display: flex;
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.friend-logo {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    flex-shrink: 0;
}

.friend-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.friend-info {
    flex: 1;
}

.friend-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
}

.friend-desc {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .friends-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .friends-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .hero-image {
        height: 200px;
        margin-top: 70px;
    }

    .friends-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .friend-item {
        padding: 15px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .friend-logo {
        width: 60px;
        height: 60px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .friend-name {
        font-size: 1rem;
        margin: 0;
    }

    .friend-desc {
        display: none;
    }

    .friend-info {
        width: 100%;
    }
} 

/* 友链申请区域样式 */
.apply-section {
    padding: 40px 0;
}

.apply-info {
    max-width: 800px;
    margin: 0 auto;
}

.apply-desc {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.my-info, .contact-info {
    margin: 20px 0;
}

.my-info h3, .contact-info p {
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.my-info ul, .contact-info ul {
    list-style: none;
    padding: 0;
}

.my-info li, .contact-info li {
    margin: 10px 0;
    color: #555;
}

.my-info a, .contact-info a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.my-info a:hover, .contact-info a:hover {
    color: #666;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .apply-desc {
        font-size: 1rem;
    }
} 