.theme-system-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(7.5px, 0.6944vw, 10px);
}

/* Keep the number centered against the first label line when the label wraps. */
.theme-system-title--first-line {
    align-items: flex-start;
}

.theme-system-title--first-line > .theme-system-title__num {
    transform: translateY(-5px);
}

.theme-system-title__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding-top: 0.06em;
    border-radius: 100px;
    background: var(--theme-color-point, var(--color-point2, #a8599e));
    color: #fff;
    text-align: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    font-size: 21px;
    font-weight: 700;
    line-height: 31px;
    letter-spacing: -1.05px;
}

.theme-system-title__label {
    color: var(--theme-color-point, var(--color-point2, #a8599e));
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.72px;
}

.theme-title-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: var(--theme-content-max, var(--content-max, 1340px));
    padding: 0;
    text-align: center;
}

.theme-title-center__mark {
    width: 50px;
    height: 51px;
}

.theme-title-center__eyebrow {
    margin: clamp(22.5px, 2.0833vw, 30px) 0 0;
    color: var(--theme-color-point, var(--color-point2, #a8599e));
    font-size: clamp(18px, 1.6667vw, 24px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.72px;
}

.theme-title-center__heading {
    margin: 30px 0 40px;
    color: var(--theme-title-color, var(--color-warm-800, #292524));
    font-size: 56px;
    font-weight: 800;
    line-height: 72.8px;
    letter-spacing: -1.68px;
    word-break: keep-all;
}

.theme-title-center__sub,
.theme-title-center__sub p {
    margin: 0;
    font-size: 21px;
    font-style: normal;
    font-weight: 500;
    line-height: 31px; /* 147.619% */
    letter-spacing: -0.84px;
    opacity: 0.7;
    color: #44403c;
    word-break: keep-all;
}

@media (max-width: 767px) {
    .theme-title-center__sub,
    .theme-title-center__sub p {
        margin: 0;
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%; /* 22.5px */
        letter-spacing: -0.45px;
        color: #44403c;
    }

    .theme-system-title--first-line > .theme-system-title__num {
        transform: translateY(-3px);
    }

    .theme-system-title__label {
        font-size: 17px;
        font-weight: 700;
        line-height: 130%; /* 22.1px */
        letter-spacing: -0.51px;
    }

    .theme-system-title {
    }

    .theme-system-title__num {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
        font-size: 15px;
        line-height: 22.5px;
        letter-spacing: -0.75px;
    }

    .theme-title-center__heading {
        font-size: 28px;
        font-weight: 800;
        line-height: 130%; /* 36.4px */
        letter-spacing: -0.84px;
        margin: 12px 0 16px;
    }

    .theme-title-center__sub {
        font-size: 15px;
        font-style: normal;
        font-weight: 500;
        line-height: 150%; /* 22.5px */
        letter-spacing: -0.6px;
    }
}
