/* 每日大赛品牌资讯门户官网样式表 */
:root {
    --primary-color: #1a73e8;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --light-text: #666;
    --border-color: #ddd;
    --max-width: 1200px;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    background-color: #fff;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 5px 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px 0 0 4px;
}

.search-box button {
    padding: 5px 15px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

main {
    padding: 20px 0;
}

section {
    margin-bottom: 40px;
}

h2 {
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
    margin-bottom: 20px;
    font-size: 24px;
}

.articles-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.article-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.article-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 15px;
}

.article-content h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.article-content p {
    font-size: 14px;
    color: var(--light-text);
}

.video-card {
    position: relative;
    cursor: pointer;
}

.video-card .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 30px;
}

.video-card:hover .play-btn {
    display: flex;
}

.authors-list {
    display: flex;
    gap: 20px;
}

.author-item {
    text-align: center;
    flex: 1;
}

.author-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.faq-list {
    background-color: var(--secondary-color);
    padding: 20px;
    border-radius: 8px;
}

.faq-item {
    margin-bottom: 15px;
}

.faq-item h4 {
    margin: 0 0 5px;
    color: var(--primary-color);
}

.comments-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.comment-item {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 8px;
    font-style: italic;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

footer a {
    color: #fff;
    text-decoration: none;
}

.social-share {
    margin-top: 20px;
}

.social-share a {
    margin: 0 10px;
    font-size: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    nav ul {
        margin-top: 10px;
    }
    nav ul li {
        margin: 0 10px;
    }
    .search-box {
        margin-top: 10px;
        width: 100%;
    }
    .search-box input {
        flex: 1;
    }
}
