﻿.three-card-four-module {
    position: relative;
}

    .three-card-four-module .three-card {
        display: flex;
        padding: 20px 24px;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        align-self: stretch;
        border-radius: 25px;
        border: 1px solid #7F8483;
        background: white;
    }

.three-card-four-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-top: 40px;
}

.threefour-img {
    width: 100%;
}

.three-btn-flex {
    display: flex; 
}

.threefour-card-h3 {
    color: black;
    font-family: DINMedium;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
}

.threefour-card-p {
    color: black;
    font-family: DINRegular;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}

.threefour-content {
    display: flex; 
}

.threefour-right {
    display: flex; 
    flex-direction: column;
}

.two-card-four-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    max-width: 700px;
    margin-left: auto; 
    margin-right: auto;
}

.two-card-min-height {
    min-height: 320px;
    border: none !important;
}

    .two-card-min-height:hover {
        box-shadow: 0 16px 24px 0 rgba(0, 0, 0, 0.14), 0 6px 30px 0 rgba(0, 0, 0, 0.12), 0 8px 10px 0 rgba(27, 1, 19, 0.11);
    }

.two-card-full {
    height: 100%;
    justify-content: space-between;
}

@media only screen and (max-width: 980px) {
    .three-card-four-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .two-card-four-grid {
        display: grid;
        grid-template-columns: 1fr;
    }
}