.jsd-headersection {
    position: relative;
    overflow: hidden;
    background-color: var(--jsd-headersection-bg-color, #ffffff);
    color: var(--jsd-headersection-text-color, var(--jsd-color-text, #111111));
}

.jsd-headersection__background,
.jsd-headersection__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.jsd-headersection__background {
    z-index: 1;
    background-image: var(--jsd-headersection-bg-image, none);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: var(--jsd-headersection-bg-image-opacity, 1);
}

.jsd-headersection--multiply .jsd-headersection__background {
    mix-blend-mode: multiply;
}

.jsd-headersection__overlay {
    z-index: 2;
    opacity: var(--jsd-headersection-overlay-opacity, 0.6);
}

.jsd-headersection--overlay-dark-top .jsd-headersection__overlay {
    background: linear-gradient(
        to bottom,
        rgba(var(--jsd-headersection-overlay-dark-rgb, 0, 0, 0), 0.75),
        rgba(var(--jsd-headersection-overlay-dark-rgb, 0, 0, 0), 0)
    );
}

.jsd-headersection--overlay-dark-bottom .jsd-headersection__overlay {
    background: linear-gradient(
        to top,
        rgba(var(--jsd-headersection-overlay-dark-rgb, 0, 0, 0), 0.75),
        rgba(var(--jsd-headersection-overlay-dark-rgb, 0, 0, 0), 0)
    );
}

.jsd-headersection--overlay-dark-full .jsd-headersection__overlay {
    background: rgba(var(--jsd-headersection-overlay-dark-rgb, 0, 0, 0), 0.75);
}

.jsd-headersection--overlay-light-top .jsd-headersection__overlay {
    background: linear-gradient(
        to bottom,
        rgba(var(--jsd-headersection-overlay-light-rgb, 255, 255, 255), 0.75),
        rgba(var(--jsd-headersection-overlay-light-rgb, 255, 255, 255), 0)
    );
}

.jsd-headersection--overlay-light-bottom .jsd-headersection__overlay {
    background: linear-gradient(
        to top,
        rgba(var(--jsd-headersection-overlay-light-rgb, 255, 255, 255), 0.75),
        rgba(var(--jsd-headersection-overlay-light-rgb, 255, 255, 255), 0)
    );
}

.jsd-headersection--text-default {
    --jsd-headersection-text-color: var(--jsd-color-text, #111111);
    --jsd-headersection-link-color: currentColor;
}

.jsd-headersection--text-dark {
    --jsd-headersection-text-color: var(--jsd-color-dark, #111111);
    --jsd-headersection-link-color: var(--jsd-color-dark, #111111);
}

.jsd-headersection--text-light {
    --jsd-headersection-text-color: var(--jsd-color-light, #ffffff);
    --jsd-headersection-link-color: var(--jsd-color-light, #ffffff);
}

.jsd-headersection__inner {
    position: relative;
    z-index: 5;
    padding-top: var(--jsd-headersection-padding-top, clamp(4rem, 8vw, 8rem));
    padding-bottom: var(--jsd-headersection-padding-bottom, clamp(4rem, 8vw, 8rem));
}

.jsd-headersection__title {
    max-width: var(--jsd-headersection-title-max-width, 14ch);
    margin: 0;
    color: inherit;
}

.jsd-headersection__text {
    max-width: var(--jsd-headersection-text-max-width, 42rem);
    margin-top: var(--jsd-headersection-text-margin-top, 1rem);
    color: inherit;
}

.jsd-headersection__text > *:last-child {
    margin-bottom: 0;
}

.jsd-headersection__text a,
.jsd-headersection__content a {
    color: var(--jsd-headersection-link-color, currentColor);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.jsd-headersection__text a:hover,
.jsd-headersection__content a:hover {
    text-decoration-thickness: 0.12em;
}

.jsd-headersection__text a:focus-visible,
.jsd-headersection__content a:focus-visible {
    outline: 0.1875rem solid currentColor;
    outline-offset: 0.1875rem;
}

.jsd-headersection__content {
    margin-top: var(--jsd-headersection-content-margin-top, 2rem);
    color: inherit;
}

.jsd-headersection__transition {
    position: absolute;
    left: 0;
    width: 100%;
    line-height: 0;
    pointer-events: none;
    z-index: 4;
    margin-left: -5px;
    margin-right: -5px;
    overflow: hidden;
}

.jsd-headersection__transition img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.jsd-headersection__transition--top {
    top: 0;
    opacity: var(--jsd-headersection-transition-top-opacity, 1);
}

.jsd-headersection__transition--top img {
    height: var(--jsd-headersection-transition-top-height, 120px);
}

.jsd-headersection__transition--bottom {
    bottom: 0;
    opacity: var(--jsd-headersection-transition-bottom-opacity, 1);
}

.jsd-headersection__transition--bottom img {
    height: var(--jsd-headersection-transition-bottom-height, 120px);
}

@media (max-width: 991.98px) {
    .jsd-headersection__title {
        max-width: var(--jsd-headersection-title-max-width-tablet, 16ch);
    }
}

@media (max-width: 767.98px) {
    .jsd-headersection__inner {
        padding-top: var(--jsd-headersection-padding-top-mobile, 4rem);
        padding-bottom: var(--jsd-headersection-padding-bottom-mobile, 4rem);
    }

    .jsd-headersection__content {
        margin-top: var(--jsd-headersection-content-margin-top-mobile, 1.5rem);
    }
}

@media (max-width: 575.98px) {
    .jsd-headersection__title {
        max-width: none;
    }

    .jsd-headersection__text {
        max-width: none;
    }

    .jsd-headersection__transition--top img {
        height: var(--jsd-headersection-transition-top-height-mobile, 72px);
    }

    .jsd-headersection__transition--bottom img {
        height: var(--jsd-headersection-transition-bottom-height-mobile, 72px);
    }
}