/* E-shop terms page: uses the shared Omicron header and footer. */
.terms-page {
    background: var(--bg);
}

.terms-hero {
    min-height: 0;
    isolation: isolate;
    background: #171a1f;
}

.terms-hero::after {
    content: '';
    display: block;
    position: absolute;
    inset: 0 0 0 auto;
    z-index: 0;
    width: 24%;
    background: var(--yellow);
    clip-path: polygon(42% 0, 100% 0, 100% 100%, 0 100%);
}

.terms-hero__content {
    max-width: 760px;
    padding: 108px 0 64px;
    position: relative;
    z-index: 1;
}

.terms-hero :is(h1, .inner-hero-subtitle, .breadcrumb) {
    color: #f7f8fa;
}

.terms-hero .breadcrumb a {
    color: rgba(247, 248, 250, 0.72);
}

.terms-hero .breadcrumb a:hover {
    color: var(--yellow);
}

.terms-content {
    background: var(--bg-alt);
    padding: 64px 0 88px;
}

.terms-content__article {
    max-width: 880px;
    color: var(--text-2);
    font-size: 16px;
    line-height: 1.85;
}

.terms-content__article > * + * {
    margin-top: 1.35rem;
}

.terms-content__article h2,
.terms-content__article h3 {
    color: var(--text-1);
    line-height: 1.25;
}

.terms-content__article h2 {
    margin-top: 3rem;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.terms-content__article h3 {
    margin-top: 2.25rem;
    font-size: 1.2rem;
}

.terms-content__article p {
    max-width: 72ch;
}

.terms-content__article a {
    color: var(--yellow);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 700px) {
    .terms-hero::after {
        top: auto;
        width: 100%;
        height: 14px;
        clip-path: none;
    }

    .terms-hero__content {
        padding: 88px 0 46px;
    }

    .terms-content {
        padding: 40px 0 56px;
    }

    .terms-content__article {
        font-size: 15px;
        line-height: 1.75;
    }
}
