.egyedi-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.egyedi-grid-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 35px;
    border: 2px solid #ffffff21;
    transition: all 0.3s ease;
}

.egyedi-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -2;
}

.egyedi-grid-item:hover .egyedi-thumbnail {
    opacity: 0.24;
}

.egyedi-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent linear-gradient(180deg, #2653c9 0%, #241B4600 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.egyedi-grid-item:hover .egyedi-overlay {
    opacity: 0.82; 
}

.egyedi-number {
    font: normal normal normal 17px/94px Outfit;
    letter-spacing: 8.64px;
    color: #FFFFFF;
}

.egyedi-divider {
    background: #2653c9;
    margin-bottom: 15px;
    border-radius: 250px;
    width: 28px;
    height: 7px;
}

.egyedi-title {
    width: 310px;
    letter-spacing: 0px;
    margin-top: 74px;
    margin-bottom: 10px;
    height: auto;
    color: #FFFFFF;
    font-family: "Montserrat", Sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 41px;
}

.egyedi-excerpt {
    display: block;
    margin-bottom: 15px;
    letter-spacing: 0px;
    text-align: left;
    color: #FFFFFF;
    font-family: "Montserrat", Sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 26px;
}



.egyedi-link {
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    display: inline-block;
    letter-spacing: 2.64px;
    color: #ffffff;
    font-weight: 600;
    font-family: "Montserrat", Sans-serif;
}

.egyedi-grid-item:hover .egyedi-link {
    background: #2653c9 0% 0% no-repeat padding-box;
    border: 1px solid #FFFFFF;
    border-radius: 2000px;
    font-family: "Montserrat", Sans-serif;
    letter-spacing: 0px;
    color: #FFFFFF;
    width: 162px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.egyedi-no-image {
    background-color: #f0f0f0;
}

@media (min-width: 1080px) and (max-width: 1380px) {

    .egyedi-post-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .egyedi-grid-item {
        width: 100%;
        padding: 25px;
    }

    .egyedi-number {
        font: normal normal normal 17px / 55px Outfit;
    }
    .egyedi-title {
        width: 270px;
        font: normal normal normal 24px / 33px Outfit;
        letter-spacing: 0px;
        color: #FFFFFF;
        margin-top: 35px;
        margin-bottom: 10px;
        height: auto;
    }

    .egyedi-link {
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
        z-index: 1;
        display: inline-block;
        font: normal normal normal 17px / 58px Outfit;
        letter-spacing: 3.64px;
        color: #7360F2;
    }

    .egyedi-excerpt {
        font-size: 15px;
        line-height: 25px;
        font-family: 'Outfit', sans-serif;
        font-weight: 200;
    }


}




@media (max-width: 900px) {
    .egyedi-post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .egyedi-post-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 767px) {
    .egyedi-grid-item {
        width: 100%;
        padding: 30px;
    }

    .egyedi-number {
        font: normal normal normal 17px / 40px Outfit;
    }

    .egyedi-title {
        width: 100%;
        font: normal normal normal 25px / 33px Outfit;
        letter-spacing: 0px;
        color: #FFFFFF;
        margin-top: 40px;
        margin-bottom: 10px;
        height: auto;
    }

    .egyedi-excerpt {
        display: block;
        margin-bottom: 15px;
        font: normal normal normal 17px / 27px Outfit;
        letter-spacing: 0px;
        color: #FFFFFF;
    }

    .item-link {
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
        z-index: 1;
        display: inline-block;
        font: normal normal normal 17px / 94px Outfit;
        letter-spacing: 8.64px;
        color: #ffffff;
    }
}