/* typo START */
body {
    font-size: 1.6rem;
}

.text {
    line-height: calc(25/16);
}

.header-margin {
    margin-bottom: 8rem;
}

[class*='title-'],
.title,
.text h1,
.text h2,
.text h3,
.text h4,
.text h5,
.text h6 {
    font-weight: 400;
    font-size: 7.2rem;
    line-height: 1;
}

.title-l,
.text h1 {
    font-size: 12.8rem;
    line-height: 0.96;
}

.title-s,
.text h3 {
    font-size: 4.6rem;
    line-height: 1.1;
}

.title-xs,
.text h4 {
    font-size: 3.2rem;
    line-height: 1.25;
}

.title-xxs,
.text h5,
.text-s {
    font-weight: 500;
    font-size: 2.4rem;
    line-height: 1.25;
}

.text-l {
    font-size: 1.8rem;
    line-height: calc(25/18);
}

.text-s {
    font-weight: 400;
}

.title-xxxs,
.text h6,
.text-xs {
    font-weight: 500;
    font-size: 1.8rem;
}

.text-xxs {
    font-weight: 600;
    font-size: 1.2rem;
}

.text * + * {
    margin-top: 1rem;
}

.text * + h1,
.text * + h2,
.text * + h3 {
    margin-top: 5rem;
}

.text * + h4,
.text * + h5,
.text * + h6 {
    margin-top: 1rem;
}

.text * + p {
    margin-top: 2rem;
}

.text p + p {
    margin-top: 1rem;
}

.text-l * + p {
    margin-top: 1rem;
}

.text h1 + p,
.text h2 + p,
.text h3 + p,
.text h1 + strong,
.text h2 + strong,
.text h3 + strong {
    display: block;
    margin-top: 4rem;
}

.text h4 + p,
.text h5 + p,
.text h6 + p,
.text h4 + strong,
.text h5 + strong,
.text h6 + strong {
    display: block;
    margin-top: 1.4rem;
}

.text * + ul {
    margin-top: 2.2rem;
}

.text li {
    display: block;
    padding-left: 1.4rem;
    margin-top: 1rem;
    position: relative;
}

.text li::before {
    content: '';
    flex: 0 0 auto;
    display: block;
    aspect-ratio: 1;
    width: 0.8rem;
    border-radius: 100%;
    background: currentColor;
    position: absolute;
    left: 0;
    top: 0.9rem;
}

.text p > a {
    display: inline;
    position: relative;
    color: var(--color-blue);
}

.text p > a::after {
    content: '';
    display: block;
    width: 0;
    height: 0.1rem;
    background: currentColor;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: 0.3s;
}

.text blockquote p {
    padding-left: 2rem;
    border-left: 0.1rem solid;
}

.text p + p:has(img) {
    margin-top: 5rem;
}

.text p + p > img {
    border-radius: 1rem;
}

.text code {
    display: inline-block;
    padding: 1.1rem 1.4rem;
    background: #fff;
    border-radius: 0.8rem;
    box-shadow: 0 0.8rem 1.5rem rgb(61 63 63 / 6%);
    font-family: var(--font-outfit);
    font-weight: 500;
    font-size: 1.6rem;
    transition: 0.3s;
}

.text code:has(+ code) {
    margin-right: 1rem;
}


.text .wp-caption-text {
    padding-block: 1rem;
    font-size: small;
    text-align: center;
    opacity: 0.5;
}

.subtitle {
    font-size: 2.4rem;
    line-height: calc(50/24);
}

@media (hover: hover) and (pointer: fine) {
    .text code:hover {
        background-color: #f7f7f7;
        box-shadow: 0 0.8rem 1.5rem rgb(61 63 63 / 25%);
        scale: 1.05;
    }

    .text p > a:hover::after {
        width: 100%;
    }
}

@media screen and (max-width: 1024.9px) {
    body {
        font-size: 1.5rem;
    }

    .header-margin {
        margin-bottom: 4rem;
    }

    .text-l {
        font-size: 1.7rem;
    }

    .title-l,
    .text h1 {
        font-size: 9.4rem;
    }

    .title,
    .text h2 {
        font-size: 5.6rem;
    }

    .title {
        text-align: center;
    }

    .title-s,
    .text h3 {
        font-size: 3.9rem;
    }

    .text h4,
    .title-xs {
        font-size: 2.9rem;
    }

    .title-xxs, 
    .text h5, 
    .text-s {
        font-size: 2rem;
    }

    .text p + p:has(img),
    .text * + h1, 
    .text * + h2, 
    .text * + h3 {
        margin-top: 6rem;
    }
}

@media screen and (max-width: 575.9px) {
    body {
        font-size: 1.4rem;
    }

    .header-margin {
        margin-bottom: 2rem;
    }

    .text {
        line-height: calc(20/14);
    }

    .text-l {
        font-size: 1.6rem;
    }

    .text h1,
    .title-l {
        font-size: 6rem;
    }

    .text h2,
    .title {
        font-size: 4rem;
        line-height: 1.1;
    }

    .title-s,
    .text h3 {
        font-size: 3.2rem;
    }

    .text h4,
    .title-xs {
        font-size: 2.6rem;
        line-height: calc(38/26);
    }

    .title-xxs, 
    .text h5, 
    .text-s {
        font-size: 1.6rem;
        line-height: 1.375;
    }

    .text p + p:has(img),
    .text * + h1, 
    .text * + h2, 
    .text * + h3 {
        margin-top: 4rem;
    }

    .text h1 + p, 
    .text h2 + p, 
    .text h3 + p {
        margin-top: 2rem;
    }

    .text-l p + p {
        margin-top: 0.3rem;
    }

    .text li::before {
        top: 0.7rem;
    }

    .text code {
        font-size: 1.2rem;
        padding: 1.4rem;
    }
}
/* typo END */