/*
Theme Name: 搜狗输入法
Theme URI: https://sogoushurufa.org
Author: 输入法爱好者
Author URI: https://sogoushurufa.org
Description: 搜狗输入法官方主题
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sogou
Tags: responsive, custom-logo, custom-menu, featured-images, translation-ready

*/

@import url('static/css/style.css');

/* 导航菜单样式 */
.nav-links .main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.nav-links .main-menu li {
    margin: 0;
    padding: 0;
}

.nav-links .main-menu a {
    color: inherit;
    text-decoration: none;
    padding: 10px 0;
    display: block;
}

.nav-links .main-menu a:hover {
    color: #0091ff;
}

/* 移动端菜单样式 */
@media (max-width: 768px) {
    .nav-links .main-menu {
        flex-direction: column;
        gap: 10px;
        padding: 20px 0;
    }
}

/* 新闻资讯样式 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 10%;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    margin-bottom: 1rem;
}

.news-content p {
    color: #939599;
    margin: 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-content a {
    color: #000;
    text-decoration: none;
}

.news-content a:hover {
    text-decoration: underline;
}

.news-date {
    color: #939599;
}

.timg {
    height: 200px;
    display: block;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .news-grid {
        padding: 4rem 1rem;
    }
}


