/* Minification failed. Returning unminified contents.
(15,7): run-time error CSS1035: Expected colon, found ','
 */
/*
    Colors
    Primary/CWS Neon #C2FE06   
    Primary/CWS Deep Blue #002733 
    #008C82
*/

.history-page {
    padding: 0 0 60px 0;
    background: #001F29;
    background-size: 100% 100%;
    background-position: 0px 0px,0px 0px;
    background-image: conic-gradient(from 0deg at 12% 103%, #001F29 7%, #008C82 43%, #001F29 58%);

    h1, h2, h3, h4 {
        color: #FFFFFF;
        font-weight: 700;
        -ms-word-break: break-word;
        word-break: break-word;
    }

    h1 {
        font-size: 54px;
    }

    h2 {
        font-size: 48px;
    }

    h3 {
        font-size: 42px;
    }

    h4 {
        font-size: 34px;
    }

    p {
        color: #FFFFFF;
        line-height: 24px;
        font-size: 18px;
    }

    a {
        color: #FFFFFF;
    }

        a:focus {
            border: none;
            outline: none;
        }

        a:hover {
            color: #C2FE06;
        }

    .content {
        margin: 0;
        padding: 10px 0;
    }

    .hero-image {
        max-width: 1230px;
        background-repeat: no-repeat;
        background-size: cover;
        margin: 0 auto 20px auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        background-position: center;

        h1, span {
            margin: 0;
        }
    }

    .heading-backplate {
        -ms-word-break: break-word;
        word-break: break-word;
        -ms-line-break: auto;
        -webkit-line-break: auto;
        line-break: auto;
        -ms-word-wrap: break-word;
        word-wrap: break-word;
    }

    .hero-image-transparent {
        justify-content: flex-start;
        height: 440px;

        .heading-backplate {
            padding: 10px 30px;
            margin-top: 20px;
            margin-left: 20px;
            margin-right: 20px;
            justify-content: center;
            align-items: center;
            background: rgba(17, 17, 17, 0.5);
            border-radius: 10px;
            -moz-border-radius: 10px;
            -webkit-border-radius: 10px;
        }

        h1, span {
            font-size: 48px;
            line-height: 58px;
            text-align: center;
            color: #FFFFFF;
        }
    }

    .hero-image-neon {
        justify-content: flex-end;
        height: 325px;

        .heading-backplate {
            background: #C2FE06;
            border-radius: 10px;
            -moz-border-radius: 10px;
            -webkit-border-radius: 10px;
            justify-content: center;
            align-items: center;
            padding: 10px 30px;
            margin-left: 30px;
            margin-right: 30px;
            margin-bottom: 18px;
        }

        h1, span {
            font-weight: 700;
            font-size: 34px;
            line-height: 41px;
            color: #002733;
        }
    }

    .history-container {
        margin: 0 10px;
    }

    .history-content {
        padding-top: 10px;
        max-width: 1230px;
        margin: 0 auto;
    }

    .history-contentintro {
        margin: 0 auto 20px auto;
        padding: 0 0 20px 0;
        max-width: 1021px;

        h2 {
            font-size: 48px;
            font-weight: 700;
        }
    }

    .history-maincontent {
        padding-top: 10px;
        padding-bottom: 50px;
        max-width: 700px;
        margin: 0 auto;

        .preamble {
            font-weight: 700;
            font-size: 22px;
            line-height: 30px;
            margin-top: 1em;
            margin-bottom: 2em;
        }
    }

    .history-mainbody {
        margin-top: 2em;

        img {
            width: 100%;
            height: auto;
        }
    }

    .history-milestones {
        display: grid;
        grid-row-gap: 120px;
        position: relative;
        padding: 70px 0;
        margin: 40px 0;
    }

    .history-milestones-line {
        grid-row-gap: 100px;

        &::before {
            content: '';
            position: absolute;
            width: 100%;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 5px;
            background-color: #FFFFFF;
            transform: translateX(-50%);
        }

        & > :first-child::before {
            content: '';
            position: absolute;
            left: 50%;
            top: -70px;
            width: 0;
            height: 0;
            border-left: 14px solid transparent;
            border-right: 14px solid transparent;
            border-top: 28px solid #FFFFFF;
            transform: translateX(-50%);
        }

        & > :last-child::after {
            content: '';
            position: absolute;
            left: 50%;
            width: 0;
            height: 0;
            bottom: -70px;
            border-left: 14px solid transparent;
            border-right: 14px solid transparent;
            border-bottom: 28px solid #FFFFFF;
            transform: translateX(-50%);
        }
    }

    .history-milestone {
        display: grid;
        grid-template-columns: 54.88% 45.12%;
        z-index: 1;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        border-radius: 10px;
        position: relative;

        a {
            -webkit-text-decoration: none;
            text-decoration: none;

            &:after {
                content: "";
                position: absolute;
                inset: 0;
                display: block;
                background: transparent;
                pointer-events: auto;
                z-index: 1;
            }
        }

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: 50% 50%;
            -moz-border-radius: 10px;
            -webkit-border-radius: 10px;
            border-radius: 10px;
        }

        .history-milestone-text {
            margin: auto 50px;

            h2 {
                margin-top: 0;
            }
        }

        &:nth-child(odd) > img {
            order: 1;
        }

        &:nth-child(odd) .history-milestone-text {
            text-align: right;
        }

        &:nth-child(odd) {
            grid-template-columns: 45.12% 54.88%;
        }

        &:has(a:focus) {
            outline: solid 2px #C2FE06;
            outline-offset: 4px;
        }
    }



    .history-posters {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: auto;
        gap: 20px 53px;
        max-width: 1021px;
        margin: 40px auto;
        position: relative;

        a {
            -webkit-text-decoration: none;
            text-decoration: none;

            &:after {
                content: "";
                position: absolute;
                inset: 0;
                display: block;
                background: transparent;
                pointer-events: auto;
                z-index: 1;
            }
        }

        .history-poster {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            position: relative;
            -moz-border-radius: 2px;
            -webkit-border-radius: 2px;
            border-radius: 2px;

            img {
                aspect-ratio: 215/304;
                width: 100%;
                height: auto;
                object-fit: cover;
                -moz-border-radius: 2px;
                -webkit-border-radius: 2px;
                border-radius: 2px;
                outline: 3px solid rgba(255, 255, 255, 0.45);
            }

            .history-poster-text {
                margin: 10px 10px 20px 10px;
                word-break: break-word;
            }

            p {
                margin: 0px;
                font-weight: 300;
                font-size: 18px;
                line-height: 22px;
                color: #CBCCCD;
            }

            a {
                -webkit-text-decoration: inherit;
                text-decoration: inherit;
            }

            &:has(a:focus) {
                outline: solid 2px #C2FE06;
                outline-offset: 6px;
            }

            &:has(a:hover) {
                img {
                    outline-color: #FFFFFF;
                    box-shadow: 0px 0px 100px -9px rgba(255, 255, 255, 0.45);
                }


                p {
                    color: #FFFFFF;
                }
            }
        }
    }

    .history-posters-mix {
        .history-poster {
            &:first-child {
                grid-column: span 2;
                grid-row: span 2;

                img {
                    /*aspect-ratio: 484/702;*/
                    aspect-ratio: 484/704;
                }
            }
        }
    }

    @media only screen and (max-width: 1024px) {
        .history-posters--intro {
            max-width: 690px;
        }

        .history-posters {
            max-width: 690px;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px 48px;

            img {
                aspect-ratio: 198/297;
            }
        }

        .history-posters-mix {
            .history-poster {
                &:first-child {
                    img {
                        /*aspect-ratio: 460/667;*/
                        aspect-ratio: 455/670;
                    }
                }
            }
        }
    }


    @media only screen and (max-width: 864px) {
        .history-milestones {
            grid-row-gap: 50px;
            padding-top: 50px;
            margin-top: 50px;
        }

        .history-milestones-line {
            &::before {
                content: '';
                position: absolute;
                width: 100%;
                left: 50%;
                top: 0;
                bottom: 0;
                width: 5px;
                background-color: #FFFFFF;
                transform: translateX(-50%);
            }

            & > :first-child::before {
                content: '';
                position: absolute;
                left: 50%;
                top: -50px;
            }
        }

        .history-milestone {
            grid-template-columns: unset;
            background-color: #002733;

            img {
                border-radius: 10px 10px 0 0;
                height: 262px;
            }

            &:has(a:focus) {
                outline: solid 2px #C2FE06;
                outline-offset: -2px;
            }

            &:nth-child(odd) > img {
                order: unset;
            }

            &:nth-child(odd) .history-milestone-text {
                text-align: left;
            }

            &:nth-child(odd) {
                grid-template-columns: unset;
            }

            .history-milestone-text {
                margin: 20px 20px;
            }
        }
    }

    @media only screen and (max-width: 690px) {
        .hero-image-transparent {
            height: 260px;

            h1, span {
                font-size: 28px;
            }
        }

        .hero-image-neon {
            height: 240px;

            h1, span {
                font-size: 24px;
            }
        }

        .history-posters {
            grid-template-columns: repeat(2, 1fr);
            gap: 34px 20px;

            img {
                aspect-ratio: 179/261;
            }
        }

        .history-posters-mix {
            .history-poster {
                &:first-child {
                    img {
                        aspect-ratio: 373/624;
                    }
                }
            }
        }


        h1 {
            font-size: 36px;
        }

        h2 {
            font-size: 34px;
        }

        h3 {
            font-size: 28px;
        }

        h4 {
            font-size: 24px;
        }

        p {
            font-size: 16px;
            line-height: 22px;
        }
    }

    @media only screen and (max-width: 480px) {
        .hero-image-neon .heading-backplate, .hero-image-transparent .heading-backplate {
            margin-left: 10px;
            margin-right: 10px;
        }
    }

    @media only screen and (max-width: 300px) {
        .history-posters {
            display: block;
        }
    }
    /*Clear float for container*/
    .history-mainbody::after {
        content: "";
        display: table;
        clear: both;
    }
}

