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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

.page-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #121212;
}

.title-underline {
    width: 46px;
    height: 3px;
    background: #B90804;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 40px;
    color: #A77E30;
    margin-bottom: 30px;
}

.search-box {
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 100px;
    height: 62px;
    border: 1px solid #ACACAC;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* .search-box::before {
    content: '����';
    font-size: 18px;
    color: #999;
    flex-shrink: 0;
} */

.search-input {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    font-size: 16px;
    background: transparent;
    border: none;
    text-align: center;
}

.search-input::placeholder {
    color: #121212;
    text-align: center;

}

.content-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.category-btn {
    width: 250px;
    padding: 12px 16px;
    text-align: left;
    border: none;
    background: #F5F5F5;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    height: 58px;
    color: #121212;
}



.category-btn.active {
    background: #B90804;
    color: #fff;
    border-left-color: #B90804;
    font-weight: 200;
}

.category-news {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.category-news:last-child {
    border-bottom: none;
}

.category-news a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.category-news a:hover {
    color: #c41e3a;
}

.news-list {
    display: grid;
    gap: 30px;
}

.news-item {
    text-decoration: none;
    display: grid;
    grid-template-columns: 249px 1fr;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
    transition: transform 0.3s;
}

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

.news-item:hover {
    transform: translateY(-2px);
}

.news-image {
    width: 249px;
    height: 156px;
    object-fit: cover;
    border-radius: 4px;
    background: #f0f0f0;
}

.news-content {
    max-width: 650px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-title {

    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
    transition: color 0.3s;

    font-family: PingFangSC, PingFang SC;
    font-weight: 500;
    font-size: 22px;
    color: #000000;
    line-height: 30px;
    letter-spacing: 1px;
    text-align: left;
    font-style: normal;
}

.news-item:hover .news-title {
    color: #c41e3a;
}

.news-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
}

.news-description {

    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 16px;
    color: #7A7A7A;
    line-height: 23px;
    text-align: left;
    font-style: normal;
}

.news-read-more {
    padding-top: 2px;
    display: inline-block;
    font-size: 12px;
    text-decoration: none;
    color: #BA9F6F;
    text-align: center;
    width: 51px;
    height: 24px;
    background: #050505;
}



.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    align-items: center;
}

.pagination-btn {
    width: 42px;
    height: 42px;
    /* border: 1px solid #D0D0D0; */
    background: #F5F5F5;
    border: none;
    color: #515151;
    font-size: 14px;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.pagination-btn img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.pagination-btn:hover:not(.disabled) {
    border-color: #c41e3a;
    color: #c41e3a;
}

.pagination-btn.active {
    background: #c41e3a;
    color: #fff;
    border-color: #c41e3a;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-prev {
    background: #B90804;
    border-color: #B90804;
}

.pagination-next {

}

@media (max-width: 1200px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .category-btn {
        flex: 1;
        min-width: 100px;
    }

    .news-item {
        grid-template-columns: 1fr;
    }

    .news-image {
        height: 250px;
    }

    .page-title {
        font-size: 28px;
    }
}