a.news-box {
    border-radius: 10px;
    background: #fbfdfe;
    margin: 0 0 2rem;
    border: 1px solid var(--BorderColor);
    grid-template-columns: 20vw auto;
    grid-gap: 2.5vw;
    color: var(--TextMainColor);
    padding: 2.5vw 5vw 2.5vw 2.5vw;
    align-items: flex-start;
}

a.news-box:hover {
    box-shadow: 11px 11px 30px rgb(78 117 147 / 10%);
    transform: translate(-10px, -10px);
}

a.news-box .card-tab {
    background: var(--TabBgColor);
    color: white;
    display: inline-block;
    padding: 10px;
    text-align: center;
    width: fit-content;
    line-height: 1;
    height: fit-content;
    border-radius: 5px;
    grid-area: tab;
    margin: 0 0 3rem;
}

a.news-box .card-title {
    font-size: var(--CardTitleSize);
    font-weight: bold;
    grid-area: title;
    margin: 0 0 1.5rem;
    align-self: flex-end;
    line-height: 2;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    position: relative;
}

a.news-box .card-date:before,
a.news-box .card-title:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: var(--BorderColor);
    left: 0;
    z-index: 1;
    bottom: 0;
}

a.news-box .card-date {
    font-size: 15px;
    letter-spacing: 0px;
    grid-area: date;
    margin: 0 0 1.5rem;
    align-self: flex-end;
    line-height: 2;
    position: relative;
}

a.news-box .text p {
    grid-area: text;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    margin: 0;
    align-self: baseline;
}

a.news-box .text {
    grid-template-columns: auto 100px;
    grid-template-areas:
        'tab tab'
        'title date'
        'text text';
}


@media (max-width: 1900px) {
    a.news-box {
        grid-template-columns: 25vw auto;
    }
}

@media (max-width: 1600px) {
    a.news-box {
        grid-template-columns: 30vw auto;
    }
}

@media (max-width: 1450px) {

    /* 20250213 */
    a.news-box {
        padding: 2rem 3vw;
        grid-gap: 0 3rem;
        grid-template-columns: 24vw auto;
    }


    a.news-box .card-tab {
        margin: 0 0 2rem;
    }
}

@media (max-width: 1300px) {

    a.news-box {
        grid-template-columns: 27vw auto;
    }
}

@media (max-width: 1200px) {
    a.news-box .text {
        grid-template-columns: auto;
        grid-template-areas:
            'tab tab'
            'date date'
            'title title'
            'text text';
    }

    a.news-box .card-date {
        padding: 0;
        border: none;
        margin: 0;
    }

    a.news-box .card-tab {
        margin: 0 0 2rem;
    }

    a.news-box .text p {
        -webkit-line-clamp: 3;
    }

    /* 20250213 */


    a.news-box {
        grid-template-columns: 35vw auto;
        grid-gap: 0 2rem;
        padding: 2rem 3vw;
    }

    a.news-box .card-title {
        margin: 0 0 1rem;
    }
}

@media (max-width: 1199px) {
    a.news-box .card-date:before {
        display: none;
    }

    a.news-box .card-tab {
        margin: 0 0 1rem;
    }
}

@media (max-width: 1024px) {
    a.news-box .card-tab {
        margin: 0 0 1rem;
    }


}


@media (max-width: 991px) {
    a.news-box .text p {
        -webkit-line-clamp: 2;
    }

    a.news-box .card-title {
        letter-spacing: 1px;
        line-height: 1.6;
    }

    a.news-box .card-title:before {
        display: none;
    }
}


@media (max-width: 900px) {


    a.news-box .card-title {
        padding: 0;
        border: none;
        margin: 0 0 10px;
    }

    a.news-box {
        grid-template-columns: 1fr 1fr;
        grid-gap: 0 2rem;
    }

}


@media (max-width: 767px) {

    a.news-box {
        grid-template-columns: auto;
        grid-gap: 2rem;
        padding: 1.5rem;
    }
}

@media (max-width: 600px) {
    a.news-box {
        grid-gap: 1.5rem;
    }
}