.hero-section__label {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0d1118;
}

.hero-section--dark-blue .section-name::before {
    background: var(--section-name-secondary-color);
}

.hero-section__title h1 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 500;
}

.hero-section em {
    color: #1629d6;
    font-style: normal;
}

.hero-section__subtitle {
    color: #0d1118;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 400;
}

.hero-section {
    padding-top: 156px;
    padding-bottom: 60px;
    min-height: 880px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-section__container {
    width: 100%;
}

.hero-section__text {
    display: grid;
    grid-template-columns: 783px 1fr;
    gap: 40px;
}

.hero-section__content {
    backdrop-filter: blur(5px);
    border-radius: 16px;
    padding: 24px;
    /* display: flex; */
    align-items: end;
    justify-content: space-between;
    gap: 77px;
}

.hero-section.hero-section--bright .hero-section__content {
    background-color: rgba(254, 254, 254, 0.85);
}

.hero-section.hero-section--dark-blue .hero-section__content {
    background-color: rgba(6, 6, 60, 0.75);
}

.hero-section.hero-section--dark-blue .hero-section__content,
.hero-section.hero-section--dark-blue .hero-section__subtitle,
.hero-section.hero-section--dark-blue .hero-section__label {
    color: #fefefe;
}

.hero-section.hero-section--bright .hero-section__content,
.hero-section.hero-section--bright .hero-section__subtitle,
.hero-section.hero-section--bright .hero-section__label {
    color: #0d1118;
}

.hero-section.hero-section--dark-blue .hero-section__label svg circle {
    fill: #fefefe;
}

@media screen and (min-width: 1251px) {
    .hero-section__title {
        margin-bottom: 24px;
    }

    .hero-section__content {
        flex-direction: column;
        padding: 24px;
        align-items: start;
        gap: 0;
    }

    .hero-section__subtitle {
        max-width: unset;
    }
}

@media screen and (max-width: 768px) {
    .hero-section__title h1 {
        font-size: 36px;
        line-height: 1.3;
    }

    .hero-section__label {
        margin-bottom: 16px;
    }

    .hero-section__text {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-section__text br {
        display: none;
    }

    .hero-section {
        padding-top: 144px;
        padding-bottom: 40px;
        min-height: 812px;
    }
}

@media screen and (max-width: 500px) {
    .hero-section {
        min-height: unset;
    }
}

@media screen and (max-width: 640px) {
    .hero-section__subtitle {
        font-size: 18px;
        line-height: 1.5;
    }
}
