html {
  scroll-behavior: smooth;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding: 0 2rem;
}

.header {
    @media (min-width: 768px) {
        width: 100%;

        .container {
            position: relative;
            min-height: 130px;
        }

        .header__logo {
            position: absolute !important;
            left: 2rem;
            top: 50%;
            transform: translateY(-50%);
        }

        .header__navigation {
            .wp-block-navigation__container {
                gap: 2rem;

                .wp-block-navigation-link {
                    .wp-block-navigation-item__content:hover {
                        color: #3374B8;
                    }
                }
            }
        }
    }
}

.hero {
    @media (min-width: 1024px) {
        position: relative;

        &::before,
        &::after {
            content: "";

            position: absolute;

            display: block;
            width: 175px;
            height: 448px;

            background-repeat: no-repeat;
            background-position: center;
            background-size: cover;
        }

        &::before {
            bottom: 0;
            left: 0;

            background-image: url("/wp-content/themes/syncfeeds/assets/images/hero/hero-background-before.svg");
        }

        &::after {
            top: 0;
            right: 0;

            background-image: url("/wp-content/themes/syncfeeds/assets/images/hero/hero-background-after.svg");
        }
    }
}

.highlights {
    .wp-block-heading {
        display: flex;
        align-items: center;
        gap: .5rem;

        strong {
            text-align: left;
        }
    }

    .wp-block-heading::before {
        content: "";

        display: inline-block;
        width: 28px;
        height: 25px;

        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        background-image: url("/wp-content/themes/syncfeeds/assets/images/highlights/highlights__icon--check.svg");
    }
}

.advantages {
    .item {
        background-repeat: no-repeat;
        background-position: center 20px;
    }

    .item--merchant {
        background-size: 94px;
        background-image: url("/wp-content/themes/syncfeeds/assets/images/advantages/advantages-icon--merchant.svg");
    }

    .item--scale {
        background-image: url("/wp-content/themes/syncfeeds/assets/images/advantages/advantages-icon--scale.svg");
    }

    .item--sync {
        background-image: url("/wp-content/themes/syncfeeds/assets/images/advantages/advantages-icon--sync.svg");
    }

    @media (min-width: 1024px) {
        .list {
            position: relative;
        }

        .item--merchant,
        .item--sync {
            position: relative;
            top: -9rem;
        }
    }
}

.how-it-works {
    .list {
        counter-reset: how-it-works-counter;

        position: relative;
    }

    .item {
        counter-increment: how-it-works-counter;

        position: relative;
    }

    .item::before {
        content: counter(how-it-works-counter);

        font-size: 1rem;
        font-weight: 600;
        color: #ffffff;

        position: absolute;
        top: -3.5rem;
        left: 50%;
        transform: translateX(-50%);

        display: flex;
        justify-content: center;
        align-items: center;
        width: 2.5rem;
        height: 2.5rem;

        background-color: #3174B9;
        border-radius: 50%;
    }

    @media (min-width: 1024px) {
        .list::before {
            content: "";

            position: absolute;
            top: -2.3rem;
            right: 15%;
            left: 15%;
            z-index: 0;

            height: 2px;
            border-top: 2px dashed #ccc;
        }
    }
}

.footer {
    .wp-block-buttons {
        .wp-element-button:hover {
            color: #EE6327 !important;
            background-color: #ffffff !important;
        }
    }
}
