.despre-noi h1 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.hero-about {
    margin-top: 6.5rem;
    overflow: hidden;
}

.hero-about p {
    font-family: var(--f-pop-med);
    font-size: 1rem;
    opacity: .75;
}

.hero-about p + p {
    margin-top: 1.563rem;
}

.about-course-images::before {
    content: '';
    position: absolute;
    background-image: url(../images/iconherodetail3.svg);
    display: block;
    width: 105px;
    height: 105px;
    left: -40px;
    top: -40px;
}

.about-course-images::after {
    content: '';
    position: absolute;
    background-image: url(../images/icondetailhero5.svg);
    display: block;
    width: 100px;
    height: 158px;
    z-index: -1;
    right: -30px;
    bottom: -30px;
}

.about--image-container {
    padding-bottom: 74%;
    position: relative;
}

.advantages-icon-container {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    background-color: #F5F6F9;
}

.advantages-title {
    font-size: 1.125rem;
    font-family: var(--f-circ-bold);
}

.advantage-container {
    padding: 0 2rem;
}

.advantage-container .grid-y > *:not(:last-child) {
    margin-bottom: 1.25rem;
}

.paragraphs-about p,
.offers-about p {
    font-family: var(--f-pop-med);
    font-size: 1rem;
    color: var(--c-gray);
    opacity: .75;
}

.paragraphs-about p + p,
.offers-about p + p {
    margin-top: 1.563rem;
}

.paragraphs-about {
    padding: 0;
}

.paragraphs-about .grid-container .grid-x {
    background-color: #F5F6F9;
    border-radius: 15px;
    padding: 3rem 0;
}

.offers-about svg {
    min-width: 20px;
    height: 20px;
    margin-top: .15rem;
}

.offers-about-svg-container {
    flex-wrap: nowrap;
}

.offers-about-svg-container span {
    font-size: 1rem;
    font-family: var(--f-pop-med);
    opacity: .75;
    margin-left: .5rem;
}

.offers-about h2 {
    margin-bottom: 2rem;
}

.offers-about-svg-container:not(:last-child) {
    margin-bottom: 1rem;
}

.offers-about .large-10 .cell:last-child {
    margin-top: 4rem;
}

.offers-about li {
    font-size: 1rem;
    font-family: var(--f-pop-med);
    opacity: .75;
    position: relative;
    margin-left: 28px;
}

.offers-about li:not(:last-child) {
    margin-bottom: 1rem;
}

.offers-about li::before {
    position: absolute;
    content: '';
    top: 0;
    left: -26px;
    width: 20px;
    height: 20px;
    background-image: url('../images/iconaboutlist.svg');
    background-repeat: no-repeat;
}

@media (max-width: 1023px) {

    .despre-noi h1 {
        font-size: 1.375rem;
    }

    .about-course-images::after {
        right: -22px;
        bottom: -30px;
        transform: scale(.7);

    }

    .about-course-images::before {
        left: -25px;
        top: -29px;
        transform: scale(.8);
    }

    .hero-about p,
    .offers-about p,
    .paragraphs-about p,
    .offers-about-svg-container span {
        font-size: 0.875rem;
    }

    .advantage-container .grid-y > *:not(:last-child) {
        margin-bottom: .75rem;
    }

    .advantage-container:not(:last-child) {
        margin-bottom: 2rem;
    }

    .hero-about .large-5 {
        margin-top: 2.188rem;
    }

    .offers-about h2 {
        margin-bottom: 1rem;
    }
    
    .offers-about-svg-container:not(:last-child) {
        margin-bottom: .5rem;
    }

    .offers-about .large-5:not(:last-child) {
        margin-bottom: 2rem;
    }

    .offers-about .large-10 .cell:last-child {
        margin-top: 2rem;
    }

    .offers-about li {
        font-size: .875rem;
    }

    .paragraphs-about .grid-container .grid-x {
        padding: 2rem 1rem;
    }

    .hero-about {
        margin-top: 5rem;
    }

}