@import "../../assets/css/variable.css";

.hero-media-full {
    position: relative;
    overflow: hidden;
    width: 100vw;
    min-height: 500px;
    margin: var(--margin-top) 0;
}
body.wp-admin .hero-media-full {
    width: 100%;
}

.hero-media-full__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-media-full__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-media-full__overlay {
    position: relative;
    z-index: 2;
    background:
        linear-gradient(
            90deg,
            rgba(8, 110, 145, 0) 0%,
            rgba(8, 110, 145, 0.8) 98.3%
        ),
        linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--margin-top) 0;
}

.hero-media-full__content {
    color: #fff;
    width: 100%;
}

.hero-media-full__title {
    margin-bottom: var(--margin-sm);
    color: inherit;
}

.hero-media-full__text {
    max-width: 800px;
}

.hero-media-full__points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 24px;
    margin-top: var(--margin);
}

.hero-media-full__points li {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
}

.hero-media-full__button-wrapper {
    margin-top: var(--margin);
}

@media (max-width: 768px) {
    .hero-media-full {
        min-height: 400px;
    }
    .hero-media-full__points {
        flex-direction: column;
        align-items: center;
        gap: var(--gap-xs);
    }
}
