* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

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

.hjsq-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.hjsq-logo {
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hjsq-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.hjsq-nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s;
}

.hjsq-nav a:hover {
    opacity: 0.8;
}

.hjsq-mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.hjsq-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hjsq-hero h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hjsq-hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hjsq-btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ff6b6b;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 16px;
    transition: transform 0.3s;
}

.hjsq-btn-primary:hover {
    transform: translateY(-2px);
}

.hjsq-main {
    padding: 60px 0;
}

.hjsq-section {
    margin-bottom: 60px;
}

.hjsq-section-title {
    font-size: 32px;
    margin-bottom: 30px;
    color: #2c3e50;
    border-left: 4px solid #667eea;
    padding-left: 15px;
}

.hjsq-forum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.hjsq-forum-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.hjsq-forum-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.hjsq-forum-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #667eea;
}

.hjsq-forum-card p {
    color: #666;
    margin-bottom: 15px;
}

.hjsq-forum-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #999;
}

.hjsq-post-list {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.hjsq-post-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 20px;
}

.hjsq-post-item:last-child {
    border-bottom: none;
}

.hjsq-post-thumb {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.hjsq-post-content {
    flex: 1;
}

.hjsq-post-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.hjsq-post-title a {
    color: inherit;
    text-decoration: none;
}

.hjsq-post-title a:hover {
    color: #667eea;
}

.hjsq-post-excerpt {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.hjsq-post-meta {
    font-size: 13px;
    color: #999;
}

.hjsq-sidebar {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

.hjsq-sidebar h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.hjsq-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hjsq-tag {
    display: inline-block;
    padding: 6px 15px;
    background-color: #f0f0f0;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.hjsq-tag:hover {
    background-color: #667eea;
    color: white;
}

.hjsq-footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.hjsq-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.hjsq-footer-section h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.hjsq-footer-section ul {
    list-style: none;
}

.hjsq-footer-section a {
    color: #bbb;
    text-decoration: none;
    line-height: 2;
}

.hjsq-footer-section a:hover {
    color: white;
}

.hjsq-footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #bbb;
}

.hjsq-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #667eea;
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}

.hjsq-back-to-top:hover {
    background-color: #5568d3;
}

.hjsq-two-column {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.hjsq-image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.hjsq-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
}

.hjsq-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.hjsq-gallery-item:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .hjsq-nav {
        display: none;
    }

    .hjsq-mobile-menu-btn {
        display: block;
    }

    .hjsq-mobile-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1e3c72;
        padding: 20px;
    }

    .hjsq-mobile-nav.hjsq-active {
        display: block;
    }

    .hjsq-mobile-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .hjsq-hero h2 {
        font-size: 28px;
    }

    .hjsq-two-column {
        grid-template-columns: 1fr;
    }

    .hjsq-post-item {
        flex-direction: column;
    }

    .hjsq-post-thumb {
        width: 100%;
        height: 180px;
    }
}
