html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font: 16px/1.2 'Montserrat', uppercase, sans-serif;
    font-weight: 400;
    color: #2B2B2B;
    background: white;
    overflow-x: auto;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Century Gothic', uppercase, sans-serif;
    font-weight: 700;
}

h1, h2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 160%;
    text-transform: uppercase;
}

h3, h4, h5, h6 {
    line-height: 150%;
}

h1::after, h2::after {
    margin-top: 8px;
    display: block;
    content: '';
    width: 84px;
    border-bottom: 4px solid #CE4141;
}

h1 {
    font-size: 18px;
}

h2 {
    font-size: 16px;
}

h3 {
    font-size: 14px;
}

h4 {
    font-size: 12px;
}

h5 {
    font-size: 10px;
}

h6 {
    font-size: 8px;
}

*, ::before, ::after {
    box-sizing: inherit;
}

@media (max-width: 1184px) {
    body {
        font-size: 11px;
    }

    h1, h2 {
        line-height: 130%;
    }

    h3, h4, h5, h6 {
        line-height: 120%;
    }

    h1 {
        font-size: 13px;
    }

    h2 {
        font-size: 12px;
    }

    h3 {
        font-size: 11px;
    }

    h4 {
        font-size: 10px;
    }

    h5 {
        font-size: 9px;
    }

    h6 {
        font-size: 7px;
    }
}

.page {
    display: flex;
    position: relative;
    flex-direction: column;
    min-height: 100vh;
}

.page-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.page-body:has(.page-body-content) {
    padding-inline: 40px;
}

.page-body-content {
    display: flex;
    position: relative;
    width: calc(100% + 1280px - 100vw);
    margin-inline: auto;
    gap: 50px;
    padding-bottom: 60px;
}

.page-body-content .aside-collapsing {
    display: none;
}

.page-body-content aside {
    width: 240px;
}

.page-body-content main {
    flex: 1;
}

.page-body-content-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.page-body > .page-body-content-section {
    padding-inline: 40px;
    background-color: white;
}

.page-body > .page-body-content-section:nth-child(2n) {
    background-color: #565656;
    color: white;
}

.page-body:has(.page-body-content-section--simple-banner) > .page-body-content-section {
    background-color: #565656;
    color: white;
}

.page-body:has(.page-body-content-section--simple-banner) > .page-body-content-section:nth-child(2n) {
    background-color: white;
    color: #2B2B2B;
}

.section-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1;
}

.page-body > .page-body-content-section .section-content {
    width: calc(100% + 1280px - 100vw);
    margin-inline: auto;
    margin-block: 50px;
}

.section-content-body > img {
    max-width: 50%;
    height: auto;
}

.section-content-body > img + .article {
    max-width: 50%;
}

@media (max-width: 1184px) {
    .page-body > .page-body-content {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .page-body-content .aside-collapsing {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: calc(100% + 80px);
        box-shadow: 0 4px 4px 0 #00000026;
        font-weight: 500;
        font-size: 13px;
        color: #2B2B2B;
        line-height: 100%;
        text-transform: uppercase;
        margin-inline: -40px;
        padding-inline: 40px;
        padding-bottom: 15px;
    }

    .page-body-content .aside-collapsing.collapsed:after {
        content: url(/images/navigation/expanding-cfdf12a821f2e96b355193876360aac1.svg);
        padding-inline: 4px;
    }

    .page-body-content .aside-collapsing.expanded:after {
        content: url(/images/navigation/collapsing-010ca3859f6d344beb674e9b639d267f.svg);
        padding-inline: 4px;
    }

    .page-body-content aside {
        width: 100%;
    }

    .page-body > .page-body-content-section {
        padding-inline: 20px;
    }

    .page-body > .page-body-content-section .section-content {
        width: 100%;
        margin-block: 25px;
    }

    .section-content-body > img {
        display: none;
    }

    .section-content-body > img + .article {
        width: 100%;
        max-width: 100%;
    }
}


.section-content-header {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    font-family: 'Century Gothic', uppercase, sans-serif;
    font-weight: 700;
    width: 100%;
    padding: 0 0 15px;
    gap: 100px;
    z-index: 1;
}

.section-content-body {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    z-index: 1;
    gap: 30px;
}

a.section-content-header-link {
    padding-top: 2px;
}

.section-content-header-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 18px;
    line-height: 160%;
    text-transform: uppercase;
    margin: 0;
    z-index: 1;
    flex: 1;
}

.page-body-content-section:nth-child(2n) .section-content-header-title {
    align-items: flex-end;
}

.section-content-header-title::after {
    margin-top: 8px;
    display: block;
    content: '';
    width: 84px;
    border-bottom: 4px solid #CE4141;
}

.section-content-header-image {
    max-width: 40%;
    height: 68px;
}

.section-content-annotation {
    font-family: 'Century Gothic', uppercase, sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 150%;
    width: 100%;
}


@media (max-width: 1184px) {
    .section-content-header {
        flex-direction: column;
        gap: 25px;
    }

    .section-content-header-title {
        font-size: 14px;
        line-height: 100%;
    }

    .page-body-content-section:nth-child(2n) .section-content-header-title {
        align-items: flex-start;
    }

    .section-content {
        gap: 15px;
    }

    .section-content-annotation {
        font-size: 11px;
    }
}

a.link {
    color: #CE4141;
    text-decoration: none;
    transition: .4s;
}

a.link:hover {
    opacity: .8;
}


.buttons-panel {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.buttons-panel--left {
    justify-content: start;
}

.buttons-panel--right {
    justify-content: end;
}

.transition-button {
    display: flex;
    font-family: 'Century Gothic', uppercase, sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    vertical-align: bottom;
    text-decoration: none;
    text-transform: uppercase;
    color: #CE4141;
    background: linear-gradient(90deg, #D9D9D973 50%, transparent 0%, transparent) 73.5%;
    background-size: 200% 100%;
    border: unset;
    padding: 10px;
    gap: 10px;
    transition: .4s;
}

.transition-button:after {
    content: url(/images/transition-10088ccf856596938e560875944ead6f.svg);
}

.transition-button:hover {
    background-position: 0;
    animation: filling-gradient .4s alternate;
}

@media (max-width: 1184px) {
    .transition-button {
        font-size: 11px;
    }
}

.scroll-button {
    position: fixed;
    display: none;
    opacity: 0.53;
    bottom: 130px;
    right: 20px;
    line-height: 24px;
    padding: 20px;
    background-image: url(/images/scroll-74b00f83d2580e5bf397f696fe869b6c.svg);
    background-position: center center;
    background-repeat: no-repeat;
    text-decoration: none;
    max-width: fit-content;
    transition: .4s;
    cursor: pointer;
    z-index: 1000;
}

.scroll-button:hover {
    opacity: 0.73;
    box-shadow: 0 0 15px -10px rgba(239, 239, 239, 0.8);
    z-index: 1000;
}

/* Error pages */

.error-page-message {
    text-align: center;
    margin-bottom: 0;
    color: #CE4141;
}

.error-page-message:after {
    display: none;
}

.error-page-link {
    font-size: 20px;
    text-align: center;
}


@media (max-width: 1184px) {
    .error-page-link {
        font-size: 16px;
    }
}

/* Captcha */

.grecaptcha-badge {
    visibility: hidden;
}

.recaptcha-message {
    font-family: 'Montserrat', uppercase, sans-serif;
    font-weight: 400;
    line-height: 150%;
    text-align: right;
    color: #BFBFBF;
    width: 100%;
}

.recaptcha-message a {
    color: #CE4141;
    text-decoration: none;
    word-break: auto-phrase;
    transition: .4s;
}

.recaptcha-message a:hover {
    opacity: .8;
}

@keyframes filling-gradient {
    0% {
        background-position: 73.5%;
    }
    100% {
        background-position: 0;
    }
}