#content.regular {
    position: relative;
    padding: 63px 0 121px;
}

#content.regular:before {
    content: '';
    position: absolute;
    top: 102px;
    left: 0;
    width: 292px;
    height: 193px;
    background-image: url('../img/about-before.svg');
    background-size: contain;
    background-repeat: no-repeat;
}
#content.regular:after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 128px;
    height: 128px;
    background-image: url('../img/regular-after.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

#content.regular .page-title {
    margin-bottom: 28px;
    font-family: 'NextExitRounded', serif;
    font-size: 100px;
    font-weight: 700;
    line-height: 1;
}
#content.regular .page-title img {
    margin-top: 10px;
}
#content.regular .subtitle {
    margin-bottom: 40px;
    font-family: 'NextExitRounded', serif;
    font-size: 45px;
    font-weight: 400;
    line-height: normal;
}
#content.regular .entry-content {
    max-width: 738px;
    margin: 0 auto;
}
.page-template-page-regular #content .entry-content ol,
.page-template-page-regular #content .entry-content ul,
.page-template-page-regular #content .entry-content p {
    font-size: 21px;
    line-height: 27px;
}
.entry-content ol {
	list-style: decimal inside;
    list-style-type: decimal;
	counter-reset: item;
    margin-left: 0;
}
.entry-content ol > li {
	counter-increment: item;
}
.entry-content ol > li::marker {
	content: counters(item, ".") ". ";
}
.entry-content > ol > li + li {
    margin-top: 60px;
}
.entry-content ol ol {
	list-style-type: none;
	counter-reset: subitem;
}
.entry-content ol ol > li {
	counter-increment: subitem;
}
.entry-content ol ol > li::marker {
	content: counters(item, ".") "." counter(subitem) ". ";
}
.entry-content h3,
.entry-content > ol > li::marker  {
    font-size: 32px;
    font-weight: 600;
    color: #005F70;
}
.entry-content h3 {
    display: inline-block;
    margin-bottom: 12px;
    line-height: 1;
}
.entry-content strong {
    font-size: 32px;
    font-weight: 600;
    color: #005F70;
}

@media (max-width: 1399px) {
    #content.regular:before {
        transform: scale(0.85);
        transform-origin: left;
    }
    #content.regular:after {
        transform: scale(0.85);
        transform-origin: right;
    }
}

@media (max-width: 1249px) {
    #content.regular:before {
        transform: scale(0.75);
        transform-origin: left top;
    }
    #content.regular:after {
        transform: scale(0.75);
    }
}

@media (max-width: 1023px) {
    #content.regular {
        padding: 50px 0 120px;
    }
    #content.regular:before {
        top: 140px;
        transform: none;
        width: 140px;
    }
    #content.regular:after {
        transform: none;
        width: 80px;
        height: 80px;
        top: auto;
        bottom: 12px;
    }
    #content.regular .page-title {
        margin-bottom: 20px;
        font-size: 86px;
    }
    #content.regular .page-title img {
        width: 280px;
    }
    #content.regular .subtitle {
        margin-bottom: 32px;
        font-size: 42px;
    }
}

@media (max-width: 767px) {
    #content.regular {
        padding: 60px 0 160px;
    }
    #content.regular:before {
        top: 24px;
        width: 110px;
    }
    #content.regular:after {
        width: 74px;
        height: 74px;
        bottom: 40px;
    }
    #content.regular .page-title {
        margin-bottom: 12px;
        font-size: 60px;
    }
    #content.regular .page-title img {
        width: 210px;
    }
    #content.regular .subtitle {
        margin-bottom: 16px;
        font-size: 32px;
    }
    #content.regular .entry-content > ol > li + li {
        margin-top: 45px;
    }
    #content.regular .entry-content p,
    #content.regular .entry-content ol,
    #content.regular .entry-content ul {
        margin-bottom: 16px;
        font-size: 16px;
        line-height: 1.25;
    }
    #content.regular .entry-content h3,
    #content.regular .entry-content > ol > li::marker {
        font-size: 24px;
    }
    #content.regular .entry-content h3 {
        display: inline;
        margin-bottom: 0;
    }
    #content.regular .entry-content h3 + p,
    #content.regular .entry-content h3 + ol {
        margin-top: 22px;
    }
    #content.regular .entry-content strong {
        margin-top: 40px;
        font-size: 24px;
    }
}

@media (prefers-color-scheme: dark) {
    .page-title,
    .page-subtitle,
    .entry-content,
    label,
    body #content .entry-content ol,
    body #content .entry-content ul {
        color: #fff;
    }
    .entry-content h3,
    .entry-content > ol > li::marker {
        color: #ddd;
    }
}
