﻿
.container-news-type3 {
    position: relative;
}

    .container-news-type3 .card {
        position: relative;
        height: 530px;
        background: white;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0px 0px 14px #00000026;
        margin-top: 15px;
        margin: 15px 0px;
    }

        .container-news-type3 .card:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--darkColor1);
            clip-path: circle(190px at 75% 5%);
            transition: 0.5s ease-in-out;
        }

        .container-news-type3 .card:hover:before {
            clip-path: circle(300px at 80% -20%);
        }

        .container-news-type3 .card:after {
            content: 'NEWS';
            position: absolute;
            bottom: -15px;
            left: 10%;
            font-size: 6em;
            font-weight: 800;
            font-style: italic;
            color: #0089ff0d
        }

        .container-news-type3 .card .imgBx {
            position: absolute;
            top: 40%;
            transform: translateY(-50%);
            z-index: 99;
            width: 100%;
            height: 185px;
            transition: 0.5s;
            text-align: center;
        }

        .container-news-type3 .card:hover .imgBx {
            top: 120px;
            transform: translateY(500);
        }

        .container-news-type3 .card .imgBx img {
            z-index: 99;
            width: 90%;
            height: 185px;
            transition: 0.5s;
            border: solid 1px white;
            padding: 4px;
            box-shadow: 0px 0px 8px #00000047;
            border-radius: 15px;
        }

        .container-news-type3 .card .contentBx {
            position: absolute;
            bottom: 0;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            width: 100%;
            height: 200px;
            text-align: center;
            transition: 1s;
            z-index: 10;
        }

        .container-news-type3 .card:hover .contentBx {
            height: 300px;
        }

        .container-news-type3 .card .contentBx h2 {
            position: relative;
            font-weight: 600;
            letter-spacing: 1px;
            color: black;
            margin: 0;
            font-size: 20px;
        }

        .container-news-type3 .card .contentBx .summary, .container-news-type3 .card .contentBx .color {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 8px 20px;
            transition: 0.5s;
            opacity: 0;
            visibility: hidden;
            padding-top: 0;
            padding-bottom: 0;
        }

        .container-news-type3 .card:hover .contentBx .summary {
            opacity: 1;
            visibility: visible;
            transition-delay: 0.5s;
        }



        .container-news-type3 .card .contentBx a {
            position:absolute;
            bottom:0px;
            left:25%;
            display: inline-block;
            padding: 10px 20px;
            background: var(--darkColor1);
            margin-top: 10px;
            text-decoration: none;
            font-weight: 600;
            color: white;
            opacity: 0;
            transform: translateY(50px);
            transition: 0.5s;
            margin-top: 0;
            border-radius: 150px 150px 0px 0px;
            width: 50%;
            text-align: center !important;
        }

        .container-news-type3 .card:hover .contentBx a {
            opacity: 1;
            transform: translateY(0px);
            transition-delay: 0.2s;
        }

    .container-news-type3 .publish-date {
        position: absolute;
        right: 33px;
        top: 33px;
        color: white;
        font-size: 18px;
        font-weight: 600;
    }

    

