.main-content .hero_image {
    background-image: url(/images/hero_kep_knowledges.jpg);
}

.main-content .hero_image {
    width: 70%;
}

.main-content .hero_image_background {
    background: linear-gradient(to right,
            rgba(8, 61, 85, 1) 0%,
            rgba(8, 61, 85, 1) 15%,
            rgba(8, 61, 85, 0) 16%,
            rgba(8, 61, 85, 0) 84%,
            rgba(8, 61, 85, 1) 85%,
            rgba(8, 61, 85, 1) 100%);
}

.grid-2 {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, 224px);
    justify-content: center;
    grid-auto-rows: 296px;
    column-gap: 50px;
    row-gap: 65px;
}

.grid-2 .title {
    font-size: 18px;
}

.grid-2 .spacer {
    height: 30px;
    border-right: 2px solid #dddddd;
    border-bottom: 2px solid #dddddd;
    position: relative;
    right: 25px;
    width: calc(100% + 50px);
}

.main-content h1.lightblue {
    margin-top: 50px;
}

.main-content .text.text-center {
    color: rgb(141, 141, 141);
    font-size: 15px;
    margin-bottom: 75px;
}

.main-content .line {
    height: 2px;
    background-color: #dddddd;
}

.main-content .item-container .title {
    color: #808080;
    font-weight: 600;
    margin-top: 40px;
}

.grid-2>a:last-child .spacer {
    border-right: none;
}

/*vonalak miatt*/
@media (min-width: 1200px) {
    .grid-2>a:nth-child(4n) .spacer {
        border-right: none;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .grid-2>a:nth-child(3n) .spacer {
        border-right: none;
    }
}

@media (max-width: 991px) and (min-width: 576px) {
    .grid-2>a:nth-child(2n) .spacer {
        border-right: none;
    }
}

@media (max-width:575px) {
    .grid-2>a:nth-child(2n) .spacer {
        border-right: none;
    }

    .grid-2 .spacer {
        width: 107%;
        right: 3%;
    }
}

/*vonalak miatt*/

@media (max-width:767px) {
    .grid-2 {
        grid-template-columns: repeat(auto-fit, 156px);
        grid-auto-rows: 218px;
    }

    .grid-2 .title {
        font-size: 14px;
    }
}

@media (max-width:575px) {
    .grid-2 {
        grid-template-columns: repeat(auto-fit, 48%);
        grid-auto-rows: auto;
        column-gap: 3%;
        row-gap: 6%;
    }
}