#primary section.typography {
    padding-top: 60px;
    padding-bottom: 60px;
}

.typography {
    color: var(--typography-text-color, inherit);
}

.typography .typography__color-text {
    color: var(--typography-text-color, #0d1118);
}

.typography svg line {
    stroke: var(--typography-text-color, #0d1118) !important;
}

.typography__paragraph p {
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0;
}

.typography__wrapper {
    margin-top: 24px;
    display: flex;
    gap: 32px;
    border-bottom: 0.5px dashed var(--typography-dash-color, #cfcfcf);
}

.typography__fonts {
    padding: 24px;
    box-sizing: border-box;
    border-right: 0.5px dashed var(--typography-dash-color, #cfcfcf);
    min-width: 0;
    overflow: hidden;
}

.typography__font-style {
    padding-top: 189px;
    padding-bottom: 157px;
    align-items: center;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-size: clamp(48px, 9vw, 140px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.typography__sub {
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0;
    display: flex;
    justify-content: flex-end;
    text-transform: uppercase;
    font-family: "DM Sans", sans-serif;
}

.typography__font-weight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.typography__font-weight p {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0;
}

.typography__fonts svg {
    width: 100%;
}

.typography__colors {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding-bottom: 24px;
}

.typography__color-item {
    display: flex;
    align-items: center;
    height: 100%;
}

.typography__color-bar {
    width: 37px;
    height: 100%;
    border-radius: 8px;
    background-color: var(--bar-bg, #000000);
    border: 1px solid var(--bar-border, color-mix(in srgb, var(--bar-bg, #000000) 55%, #000000));
    box-sizing: border-box;
}

.typography__color-text {
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0;
    padding-right: 24px;
    text-transform: uppercase;
}

.typography,
.typography p,
.typography h2 {
    color: var(--typography-text-color, inherit);
}

@media screen and (min-width: 1201px) {
    .typography__fonts,
    .typography__colors {
        width: 50%;
    }
}

@media screen and (min-width: 1201px) and (max-width: 1400px) {
    .typography__colors {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        gap: 24px;
    }

    .typography__color-bar {
        width: 100px;
        height: 100px;
    }

    .typography__color-item {
        justify-content: center;
        flex-direction: column;
    }

    .typography__color-text {
        padding-right: 0;
    }

    .typography__font-style {
        font-size: clamp(48px, 8vw, 112px);
    }
}

@media screen and (max-width: 1200px) {
    .typography__wrapper {
        flex-direction: column;
        align-items: center;
    }

    .typography__color-bar {
        width: 24px;
        height: 24px;
        border-radius: 4px;
    }

    .typography__color-item {
        flex-direction: column-reverse;
        gap: 16px;
    }

    .typography__colors {
        gap: 30px;
        justify-content: center;
    }

    .typography__color-text {
        padding-right: 0;
        font-weight: 400;
        font-size: 14px;
        line-height: 140%;
        letter-spacing: 0;
    }

    .typography__font-style {
        padding-top: 111px;
        padding-bottom: 74px;
    }

    .typography__font-size {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .typography__font-weight {
        max-width: 590px;
        width: 100%;
        font-size: 14px;
    }

    .typography__sub {
        font-size: 14px;
    }

    .typography__wrapper {
        border-bottom: unset;
    }

    .typography__fonts {
        border-right: unset;
        padding: 16px;
    }
}

@media screen and (max-width: 768px) {
    #primary section.typography {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .typography__font-style {
        font-size: clamp(40px, 12vw, 76px);
        padding-top: 72px;
        padding-bottom: 56px;
    }
}
