/* typo START */
body {
    font-size: 1.6rem;
}

.text {
    line-height: 1.3;
}

.header-margin {
    margin-bottom: 4rem;
}

[class*='title-'],
.title,
.text h1,
.text h2,
.text h3,
.text h4,
.text h5,
.text h6 {
    font-weight: 500;
    font-size: 4.6rem;
    line-height: 1.1;
}

.title-l,
.text h1 {
    font-size: 6.8rem;
}

.title-s,
.text h3 {
    font-weight: 600;
    font-size: 3.2rem;
    line-height: 1.3;
}

.title-xs,
.text h4,
.text-l {
    font-size: 1.8rem;
}

.title-xxs,
.text h5,
.text-s {
    font-size: 1.6rem;
}

.text-s {
    font-weight: 400;
}

.title-xxxs,
.text h6,
.text-xs {
    font-weight: 500;
    font-size: 1.4rem;
}

.text-xxs {
    font-weight: 600;
    font-size: 1.2rem;
}

/*.text * + * {*/
.text > * + * {
    margin-top: 1rem;
}

.text * + h1,
.text * + h2,
.text * + h3 {
    margin-top: 5rem;
}

.text * + h4,
.text * + h5,
.text * + h6 {
    margin-top: 4rem;
}

.text * + p {
    margin-top: 2.2rem;
}

.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: 2rem;
}

.text * + ul {
    margin-top: 2.2rem;
}

.text li {
    display: block;
    padding-inline-start: 1.5rem;
    margin-top: 1.6rem;
    font-weight: 600;
    text-align: left;
    position: relative;
}

.text li::before {
    content: "";
    display: block;
    aspect-ratio: 1;
    width: 0.8rem;
    background: var(--color-blue);
    border-radius: 100%;
    position: absolute;
    left: 0;
    top: 0.5rem;
}

body.rtl .text li {
    text-align: right;
}

body.rtl .text li::before {
    left: auto;
    right: 0;
}

.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: 1rem;
    border-left: 0.2rem solid;
    font-weight: 600;
}

.text p + p:has(img) {
    margin-top: 5rem;
}

.text p + p > img {
    border-radius: 1rem;
}

.text .wp-caption-text {
    padding-block: 1rem;
    font-size: small;
    text-align: center;
    opacity: 0.5;
}

@media (hover: hover) and (pointer: fine) {
    .text p > a:hover::after {
        width: 100%;
    }
}

@media screen and (max-width: 1024.9px) {
    body {
        font-size: 1.5rem;
    }

    .header-margin {
        margin-bottom: 3rem;
    }

    .title-l,
    .text h1 {
        font-size: 5.4rem;
    }

    .title,
    .text h2 {
        font-size: 3.6rem;
    }

    .title-s,
    .text h3 {
        font-size: 2.6rem;
    }

    .text h4,
    .title-xs,
    .text-l {
        font-size: 1.7rem;
    }

    .text h5, 
    .title-xxs {
        font-size: 1.5rem;
    }

    .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;
    }


    .text h1,
    .title-l {
        font-size: 4rem;
    }

    .text h2,
    .title {
        font-size: 2.8rem;
    }

    .title-s,
    .text h3 {
        font-size: 1.9rem;
    }

    .text h4,
    .title-xs,
    .text-l {
        font-size: 1.6rem;
    }

    .title-xxs,
    .text h5, 
    .text-s {
        font-size: 1.4rem;
    }

    .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;
    }
}
/* typo END */