.section-container {
    padding: 0;
}

#hero-section {
    padding: 170px 20px 80px;
    background: var(--banner-bg) no-repeat;
    background-size: 100% 100%;
    color: var(--color-white);
}
#hero-section .page-title {
    margin-bottom: 20px;
    color: var(--color-white);
}
#hero-section .description p {
    padding-right: 40px;
    color: var(--color-white);
}

#main-content {
    padding: 80px 0;
}
.legal-cards-wrapper {
    justify-content: space-between;
    flex-wrap: wrap;
}
.legal-cards-wrapper .legal-card {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    flex-basis: 24.2%;
    justify-content: center;
    align-content: flex-start;
    align-items: center;
    background: var(--color-white);
    border: 1px solid var(--color-border-default);
    border-radius: 5px;
    box-shadow: none;
    min-height: 306px;
    overflow: hidden;
    padding: 40px 22px;
    position: relative;
    width: 100%;
    text-align: center;
}
.legal-cards-wrapper .legal-card .card-title {
    font-size: var(--font-size-4xl);
}
.legal-cards-wrapper .legal-card .card-desc {
    margin-bottom: 23px;
}
.legal-cards-wrapper .legal-card .ti-btn {
    margin-top: auto;
}


@media screen and (max-width: 1224px) {
    .legal-cards-wrapper {
        justify-content: center;
        gap: 30px;
    }
    .legal-cards-wrapper .legal-card { 
        flex-basis: 31%;
    }
}

@media screen and (max-width: 1023px) {
    .section-title {
        margin-bottom: 30px;
        font-size: var(--font-size-4xl);
    }
    #hero-section {
        text-align: center;
    }
    #hero-section .col-left {
        width: 100%;
    }
    #hero-section .col-right {
        display: none;
    }
    .legal-cards-wrapper {
        justify-content: center;
        gap: 24px;
    }
    .legal-cards-wrapper .legal-card {
        flex-basis: 44%;
        margin: 0 12px 24px;
    }
}

@media screen and (max-width: 767px) {
    .section-container {
        padding: 0 20px;
    }
    #hero-section {
        padding-bottom: 50px;
        text-align: center;
    }
    #hero-section .section-container {
        padding: 0;
    }
    #hero-section .col-left {
        width: 100%;
    }
    #hero-section .page-title {
        font-size: var(--font-size-3xl);
    }
    #hero-section .description p {
        padding-right: 0;
    }
    #main-content {
        padding-top: 50px;
    }

    .legal-cards-wrapper .legal-card {
        flex-basis: 100%;
        margin-bottom: 0;
    }
    .legal-cards-wrapper .legal-card + .legal-card {
        margin-top: 10px;
    }
}
