/* --> */

h1, h2, h3 {
    text-align: left;
}


/* --> */

body > header {
    height: 112px;
    background-size: auto 72px;
}

body > header nav {
    right: 20px;
}

body > header button {
    width: 72px;
    height: 72px;
}

body > header ol {
    top: 112px;
}


/* --> */

@media all and (min-width: 1080px) {

    body > header button {
        transform: translateY(-112px);
    }
    
    body > header.min {
        height: 78px;
        background-size: auto 48px;
    }
    
    body > header button {
        display: none;
    }
    
    body > header ol,
    body > header ol.show {
        position: static;
        display: flex;
        flex-direction: row;
        width: auto;
        background-color: transparent;
        transform: translateX(0);
    }
    
    body > header ol li {
        margin-right: 32px;
    }
    
    body > header ol li:last-child {
        margin-right: 0;
    }
    
    body > header ol li a {
        position: relative;
        display: block;
        padding: 0;
        background: transparent !important;
        color: #000;
        font-weight: bold;
        text-transform: uppercase;
        line-height: 38px;
        transition: all 0.6s;
    }
    
    body > header ol li a::after { 
        content: "";
        position: absolute;
        left: 50%;
        top: -6px;
        display: block;
        width: 0;
        height: 6px;
        background-color: #000;
        border-radius: 2px;
        transform: translateX(-50%);
        transition: width 0.6s ease-in-out;
    }
    
    body > header ol li:hover a {
        color: var(--color-red-darker);
    }
    
    body > header ol li:hover a::after,
    body > header ol li.active a:after {
        width: calc(100% + 6px);
        background-color: var(--color-red-darker);
    }
    
    body > header ol li.active a:after {
        background-color: var(--color-red-main);
    }
}


/* --> */

body > footer .top,
body > footer .bottom {
    margin: auto;
}


body > footer .top {
    flex-direction: row;
}

body > footer .top dl {
    flex: 1 1 auto;
    max-width: 320px;
}

body > footer .top dl dt,
body > footer .top dl dd {
    padding: 0 20px;
}


/* --> */

main {
    min-height: calc(100vh - 368px);
    margin-top: 112px;
}

main header {
    margin: 0 20px;
}

main header div {
    aspect-ratio: 16 / 9;
}

main header h1 {
    position: absolute;
    right: 0;
    bottom: 0;
    margin-bottom: 0;
    padding: 0 20px 0 62px;
    background-color: var(--color-red-main-translucent);
    color: #fff;
    text-align: right;
    line-height: 42px;
    clip-path: polygon(42px 0, 100% 0, 100% 100%, 0 100%);
}


/* --> */

.split-content {
    display: flex;
    flex-direction: row;
    gap: 0 20px;
}

.split-content > section {
    flex: 1 1 0;
}
