﻿.news {
    display: flex;
    align-items: center;
    justify-content: center;
    margin:1.5rem 0;
}

.news-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 1220px;
    margin: auto;

    @media screen and (max-width: 1000px) {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }

    @media screen and (max-width: 660px) {
        grid-template-columns: 1fr;
        justify-items: center;
    }
}

.card {
    display:flex;
    flex-direction:column;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
}

.card-header img {
    width: 100%;
    height: 200px;
    object-fit: fill;
}

.card-body 
{
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 20px;
    min-height: 250px;
    text-align:left;
    height:100%;
}

.tag {
    background-color: #ccc;
    color: #fff;
    border-radius: 50px;
    font-size: 12px;
    margin: 0;
    padding: 2px 10px;
    text-transform: uppercase;
}

.tag-blue {
    background-color: #1f1b50;
}

.tag-red {
    background-color:#a7222c ;
}

.tag-grey {
    background-color: #737373;
}

.tag-lightblue {
    background-color: #2c75c7;
}

.card-body h4 {
    margin: 10px 0;
    min-height:50px;
}

.card-body p {
    font-size: 14px;
    margin: 0 0 40px 0;
    font-weight: 500;
    color: rgb(70, 68, 68);
    min-height:150px;
}

.card-body .oe {
    font-size: 14px;
    margin: 0 0 0 0;
    font-weight: 500;
    color: rgb(70, 68, 68);
    min-height: 0px;
}

.card-body .oeul,
.card-body .hw
{
    font-size:14px;
}

.card-body .oeul > li,
.card-body .hw  > li{
    padding-bottom: 0.5em;
}

.card-body .oeul > li:last-child {
    padding-bottom: 0;
}

.card-body .ulalt {
    font-size: 14px;
}

    .card-body .ulalt > li {
        display: list-item;
        list-style: circle outside;
    }

    .card-body .ulalt > li::marker{
        content:normal;
    }

.card-body .ulalt > li:last-child {
    padding-bottom: 0;
}

.card-text
{
    min-height:300px;
}

.user {
    display: flex;
    margin-top: auto;
    /* temp remove - contrast error color: #888785;*/
    color: #1f1b50;
    position: sticky;
    top: 100%;
    margin-left: 1em;
    margin-bottom: 1em;
}

.more-info 
{
    min-height:45px;
    padding:0 27% 1rem;
    position:sticky;
    top:85%;
}

.more-info .tag-blue {
    text-decoration: none;
    color: #fff;
    border: none;
    outline: 0;
    display: inline-block;
    padding: 8px;
    background-color: #1f1b50;
    text-align: center;
    cursor: pointer;
    font-size: 18px;
    border-radius: 10px;
}

    .more-info .tag-red {
        text-decoration: none;
        color: #fff;
        border: none;
        outline: 0;
        display: inline-block;
        padding: 8px;
        background-color: #a7222c;
        text-align: center;
        cursor: pointer;
        font-size: 18px;
        border-radius: 10px;
    }

    .more-info .tag-grey {
        text-decoration: none;
        color: #fff;
        border: none;
        outline: 0;
        display: inline-block;
        padding: 8px;
        background-color: #737373;
        text-align: center;
        cursor: pointer;
        font-size: 18px;
        border-radius: 10px;
    }

    .more-info .tag-lightblue {
        text-decoration: none;
        color: #fff;
        border: none;
        outline: 0;
        display: inline-block;
        padding: 8px;
        background-color: #2c75c7;
        text-align: center;
        cursor: pointer;
        font-size: 18px;
        border-radius: 10px;
    }

.card-body button:hover, .card-body a:hover {
    opacity: 0.7;
}