/* News Search */
.search-wrap {
    /*display: flex;*/
    /*justify-content: flex-end;*/
    margin-bottom: 40px;
}
.search-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.search-box input {
    width: 260px;
    height: 42px;
    padding: 0 16px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: .88rem;
    font-family: inherit;
    outline: none;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .25s
}
.search-box input:focus {
    border-color: var(--main)
}
.search-box button {
    height: 42px;
    padding: 0 20px;
    background: var(--main);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Barlow';
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    box-sizing: border-box;
    transition: background .25s
}
.search-box button:hover {
    background: var(--main-dark)
}
.news-grid {
    display: grid;
    grid-template-columns:1fr;
    gap: 20px
}
.news-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
    transition: transform .3s, box-shadow .3s;
    cursor: pointer
}
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08)
}
.news-card .news-thumb {
    width: 120px;
    height: 90px;
    border-radius: 10px;
    flex-shrink: 0
}
.news-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-card .news-body {
    flex: 1;
    min-width: 0
}
.news-card .news-body .title {
    font-weight: 600;
    font-size: .92rem;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden
}
.news-card .news-body .desc {
    font-size: .82rem;
    color: var(--text-mid);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px
}
.news-card .news-body .date {
    font-family: 'Barlow';
    font-size: .75rem;
    color: var(--text-light)
}

@media (max-width: 960px) {
    .news-grid {
        grid-template-columns:1fr
    }
}

@media (max-width: 600px) {
    .news-card {
        flex-direction: column
    }
    .news-card .news-thumb {
        width: 100%;
        height: 160px
    }
}

