.news-page-wrapper {
    background: #fff;
    padding: 30px 0;
    color: #333
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px
}

.news-main-title {
    font-size: 30px;
    font-weight: 700;
    margin: 0;
    color: #000;
}

.news-main-title span {
    font-size: 15px;
    font-weight: 400;
    color: #737373;
    margin-left: 5px
}

.news-header-right {
    display: flex;
    align-items: center;
    gap: 15px
}

.news-sort-select {
    padding: 8px 30px 8px 15px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    color: #000;
    background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>') no-repeat right 10px center;
    appearance: none;
    outline: none;
    min-width: 130px
}

.news-search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    /* width: 250px; */
}

.news-search-box input {
    flex: 1;
    border: none;
    padding: 8px 15px;
    font-size: 14px;
    outline: none;
    color: #333
}

.news-search-box button {
    background: #3f462d;
    border: none;
    padding: 9px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center
}

.news-search-box button svg {
    width: 16px;
    height: 16px;
    color: #fff
}

.news-content-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start
}

.news-main-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px
}

.news-sidebar-col {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px
}

.news-card {
    display: flex;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #eee6df;
    padding: 12px;
    gap: 20px;
    align-items: stretch;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.news-card:hover {
    box-shadow: 0 8px 24px rgba(120, 78, 47, 0.08);
    border-color: #dfd0c0;
    transform: translateY(-2px);
}

.news-card-img {
    width: 325px;
    flex-shrink: 0;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.news-card-img a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1.5 / 1;
    display: block;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-img img {
    transform: scale(1.05);
}

.news-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgb(120 78 47);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    /* letter-spacing: 0.5px; */
    line-height: 1.2;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.news-card-content {
    padding: 6px 10px 4px 0;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: 22px;
    font-weight: 700;
    color: #1f140e;
    text-decoration: none;
    line-height: 1.35;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.news-title:hover {
    color: #3f462d;
}

.news-desc {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    border-top: 1px solid #f1ece6;
    padding-top: 14px;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.news-meta-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #78716c;
}

.news-date,
.news-views {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 500;
    color: #78716c;
}

.news-meta-left svg {
    width: 15px;
    height: 15px;
    color: #78716c;
    flex-shrink: 0;
}

.news-meta-sep {
    color: #d6d3d1;
    font-size: 13px;
    user-select: none;
}

.news-card-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f6ebe1;
    color: #433022;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
    flex-shrink: 0;
    margin-left: auto;
}

.news-card-arrow svg {
    width: 17px;
    height: 17px;
    transition: transform 0.25s ease;
}

.news-card:hover .news-card-arrow {
    background: #3f462d;
    color: #ffffff;
}

.news-card:hover .news-card-arrow svg {
    transform: translateX(2px);
}

.sidebar-block {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    padding: 20px
}

.sidebar-title {
    font-size: 20px;
    font-weight: 700;
    color: #3f462d;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 2px;
    background-color: #8c6039;
    border-radius: 2px;
}

.sidebar-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-cat-list li {
    border: none;
    margin: 0;
    padding: 0;
}

.sidebar-cat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 12px 6px 6px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
}

.sidebar-cat-item:hover {
    background: #faf4ed;
}

.sidebar-cat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f6ede4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #6d482d;
    transition: all 0.25s ease;
}

.sidebar-cat-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.sidebar-cat-icon svg {
    width: 18px;
    height: 18px;
}

.sidebar-cat-name {
    font-size: 15px;
    font-weight: 500;
    color: #2b1a10;
    flex: 1;
    min-width: 0;
    transition: color 0.25s ease;
}

.sidebar-cat-arrow {
    width: 16px;
    height: 16px;
    color: #a89f97;
    flex-shrink: 0;
    margin-left: auto;
    transition: transform 0.25s ease, color 0.25s ease;
}

.sidebar-cat-item:hover .sidebar-cat-name {
    color: #3f462d;
}

.sidebar-cat-item:hover .sidebar-cat-arrow {
    transform: translateX(3px);
    color: #3f462d;
}

/* Active State */
.sidebar-cat-list li.active .sidebar-cat-item,
.sidebar-cat-item.active {
    background: #f9ede1;
}

.sidebar-cat-list li.active .sidebar-cat-icon,
.sidebar-cat-item.active .sidebar-cat-icon {
    background: #75543f;
    color: #ffffff;
}

.sidebar-cat-list li.active .sidebar-cat-name,
.sidebar-cat-item.active .sidebar-cat-name {
    font-weight: 600;
    color: #1f140e;
}

.sidebar-cat-list li.active .sidebar-cat-arrow,
.sidebar-cat-item.active .sidebar-cat-arrow {
    color: #75543f;
}

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

.sidebar-post-item {
    display: flex;
    gap: 12px;
    align-items: flex-start
}

.sidebar-post-item img {
    width: 70px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0
}

.sidebar-post-info {
    flex: 1
}

.sidebar-post-info a {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 5px;
    transition: color 0.2s
}

.sidebar-post-info a:hover {
    color: #4a5248
}

.sidebar-post-date {
    font-size: 12px;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sidebar-post-date svg {
    flex-shrink: 0;
    color: #a89f97;
}

@media (max-width:991px) {
    .news-content-layout {
        flex-direction: column
    }

    .news-sidebar-col {
        width: 100%
    }
}

@media (max-width:767px) {
    .news-card {
        flex-direction: column;
        padding: 10px;
        gap: 14px;
        border-radius: 14px;
    }

    .news-card-img {
        width: 100%;
        border-radius: 10px;
    }

    .news-card-img img {
        aspect-ratio: 16 / 9;
        border-radius: 10px;
    }

    .news-card-content {
        padding: 4px;
    }

    .news-title {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .news-desc {
        font-size: 13.5px;
        margin-bottom: 12px;
    }

    .news-meta {
        padding-top: 12px;
    }

    .news-meta-left {
        font-size: 12px;
        gap: 8px;
    }

    .news-date,
    .news-views {
        font-size: 12px;
    }

    .news-card-arrow {
        width: 32px;
        height: 32px;
    }

    .news-card-arrow svg {
        width: 15px;
        height: 15px;
    }

    .news-header-right {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .news-search-box {
        width: 100%;
    }
}