header h3 {
    font-size: 40px;
    margin-top: 20px;
}

h3.content-title {
    color: #000;
}

header {
    background-attachment: inherit !important;
}

#mohanet {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8)), url(/images/kepzes.jpeg?t=1);
    background-size: cover;
    background-position: center;
}

.bg-gray {
    background: #efefef !important;
}

.card-text {
    margin-bottom: 20px;
    margin-top: 0;
    height: auto;
}

#kepzes .small_line {
    position: relative;
    margin: 20px auto 30px auto;
}

#kepzes .card-time {
    font-size: 12px;
}

#kepzes .card {
    width: 18rem;
}


.card-body {
    padding: 1rem;
}

.card-title {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 10 !important;
    -webkit-box-orient: vertical;
    height: auto !important;
    color: #b20000;
    font-weight: bold;
    text-align: center;
    font-size: 18px;
}

#kepzes ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}

.card-text p {
    margin-top: 15px;
}


#mohanet.kepzes_header h1 {
    font-size: 3.8vw !important;
    margin-bottom: 20px
}

@media (max-width: 992px) {
    .p-5 {
        padding: 1rem !important;
    }
}