.news-visitors{
    z-index: 1;
    position: absolute;
    top: 20px;
    left: 0;
    background-image: linear-gradient(90deg, var(--err_color), var(--hover_color), var(--link_color), var(--b_color));
    color: var(--t_color);
    width: auto;
    padding: 5px;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
  }
  
.news-date {
        z-index: 1;
        position: absolute;
        z-index: 10;
        top: 20px;
        right: 0;
        background-image: linear-gradient(90deg, var(--b_color), var(--link_color), var(--hover_color), var(--err_color));
        color: var(--t_color);
        width: auto;
        padding: 5px;
        text-align: center;
        font-weight: 500;
        text-transform: uppercase;
    }

.triangle-left {
    position: absolute;
    z-index: 1;
    top:0;
    left: 0;
  border-color: transparent transparent var(--err_color) transparent;
    border-style: solid;
    border-width: 0px 2px 20px 35px;
    height: 0px;
    width: 0px;
  }

    .triangle-right {
        z-index: 1;
        position: absolute;
        top: 0;
        right: 0;
        transform: scaleX(-1);
        border-color: transparent transparent var(--err_color) transparent;
        border-style: solid;
        border-width: 0px 2px 20px 35px;
        height: 0px;
        width: 0px;
    }
#n_name {
        color: var(--t_color);
        font-size: 1.2rem;
        margin: auto;
	margin-right: 3%;
    }

    .news_block_sz {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
            
    }
    .blog-card {
        display: block;
        position: relative;
        top: 0;
        width: 100%;
        height: 300px;
        margin: 3%;
        box-shadow: 0 2px 10px var(--tc4_color);
        transition: all 450ms ease-out 0s;
        overflow: hidden;
    }
    .blog-card .blog-img {
     
        position: absolute;
        min-width: 100%;
        min-height: 100%;
        height: 100%;
        top: -9999px;
        left: -9999px;
        right: -9999px;
        bottom: -9999px;
        margin: auto;
        overflow: hidden;
    }
    .blog-card:hover {
        box-shadow: 0 2px 35px rgba(0, 59, 129, 0.8);
    }
    .blog-card:hover .text-overlay {
        background: var(--tc_color);
        height: 50%;
        top: 50%;
        transition: all 450ms ease-in-out 0s;
    }
    .blog-img {
        -moz-transition: all 1s ease-out;
        -o-transition: all 1s ease-out;
        -webkit-transition: all 1s ease-out;
        object-fit: cover;
        object-position: center;
    }
    .blog-img:hover {
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -o-transform: scale(1.1);
    }
    .blog-card:hover p {
        height: auto;
        transition: all 350ms ease-in-out 0s;
    }
    .blog-card:hover p a {
        visibility: visible;
    }

    .text-overlay {
      
        position: relative;
        background: var(--b_color);
        width: 100%;
        height: auto;
        top: 60%;
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.3);
        padding: 10px 12px;
        overflow: hidden;
        transition: all 450ms ease-in-out 0s;
        cursor: pointer;
    }
    .text-overlay h3 {
     
        letter-spacing: 0.0225em;
        width: auto;
        margin: 0;
    }
    .text-overlay p {
        color: var(--t_color);
        width: 380px;
        height: 38px;
        margin: 8px 0;
        line-height: 1.25;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    .text-overlay a {
        color: var(--link_color);
        text-decoration: none;
        transition: all 350ms linear;
        visibility: hidden;
    }
    .text-overlay a:hover {
        color: var(--hover_color);
        border-bottom: 1px dotted var(--hover_color);
    } 