.lineart-system-page {
    width: 100%;
    margin: 0;
    background: #fff;
    color: #222;
}

.lineart-system-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 245px;
    margin: 0;
    background-color: #fff;
    background-image: var(--system-hero-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.lineart-system-hero.no-image {
    background: #eceeea;
}

.lineart-system-hero-overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: rgba(255, 255, 255, .75);
}

.lineart-system-hero-content {
    position: relative;
    z-index: 2;
    width: calc(100% - 140px);
    max-width: 1140px;
    margin: 0 auto;
    padding-top: 80px;
    text-align: center;
}

.lineart-system-hero h1 {
    margin: 0;
    color: #222;
    font-family: "Jost", sans-serif;
    font-size: 3em;
    font-weight: 600;
    line-height: 1;
    letter-spacing: normal !important;
    text-transform: uppercase;
}

.lineart-system-hero p {
    margin: 43px 0 0;
    color: #222;
    font-family: "Jost", sans-serif;
    font-size: 1.6em;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 1.4px;
}

.lineart-system-content {
    position: relative;
    padding: 55px 0 48px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.lineart-system-content.has-overlay-image {
    min-height: 480px;
    display: flex;
    align-items: center;
    background-image: var(--system-content-image);
    padding: 70px 0;
}

.lineart-system-content-overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: rgba(255, 255, 255, .78);
}

.lineart-system-content-inner,
.lineart-system-secondary {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    width: calc(100% - 140px);
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 10px;
}

.lineart-system-content-image {
    width: 100%;
    margin: 0 0 48px;
}

.lineart-system-content-image img {
    display: block;
    width: 100%;
    height: auto;
}

.lineart-system-richtext,
.lineart-system-richtext p,
.lineart-system-richtext li {
    color: #222;
    font-family: "Jost", sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7857;
}

.lineart-system-richtext p {
    margin: 0;
    text-align: justify;
}

.lineart-system-richtext p + p {
    margin-top: 20.8333px;
}

.lineart-system-richtext ul,
.lineart-system-richtext ol {
    margin: 20px 0;
    padding-left: 24px;
}

.lineart-system-richtext h2,
.lineart-system-richtext h3,
.lineart-system-richtext h4 {
    color: #222;
    font-family: "Jost", sans-serif;
    text-transform: none;
}

.lineart-system-secondary {
    padding-top: 30px;
    padding-bottom: 70px;
}

.lineart-system-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-top: 48px;
}

.lineart-system-gallery img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 1024px) {
    .lineart-system-hero {
        min-height: 230px;
    }

    .lineart-system-hero-content {
        width: calc(100% - 64px);
        padding-top: 72px;
    }

    .lineart-system-content-inner,
    .lineart-system-secondary {
        width: calc(100% - 64px);
    }
}

@media (max-width: 767px) {
    .lineart-system-hero {
        min-height: 270px;
    }

    .lineart-system-hero-content {
        width: calc(100% - 40px);
        padding-top: 72px;
    }

    .lineart-system-hero h1 {
        font-size: 2.5em;
        line-height: 1.15;
    }

    .lineart-system-hero p {
        margin-top: 30px;
        font-size: 1.45em;
        line-height: 1.4;
    }

    .lineart-system-content {
        padding: 42px 0;
    }

    .lineart-system-content-inner,
    .lineart-system-secondary {
        width: calc(100% - 32px);
        padding-inline: 0;
    }

    .lineart-system-richtext,
    .lineart-system-richtext p,
    .lineart-system-richtext li {
        font-size: 15.5px;
        line-height: 1.75;
    }

    .lineart-system-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
