/* 
    Theme name: HC 1972 Rakovník
    Author: Petr Svoboda
    Version: 0.1
    Description: WordPress theme created from field hockey team HC 1972 Rakovník's website.
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: 'HC';
    src: url('fonts/HCLight.ttf') format('truetype');
    font-weight: 300; /* Light */
    font-style: normal;
}

@font-face {
    font-family: 'HC';
    src: url('fonts/HCRegular.ttf') format('truetype');
    font-weight: 400; /* Regular */
    font-style: normal;
}

:root {
    --yellow: #F0D341;
    --lightYellow: #FEEA99;
    --blue: #1899D4;
    --lightBlue: #5fb3db;
    --black: #161616;
    --white: #FFFFFF;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;

    font-family: 'Montserrat', sans-serif;
    color: var(--white);

    font-size: 1.6rem;
}

html {
    background-color: rgb(23, 23, 23);

    font-size: 62.5%;

    scroll-behavior: smooth;
}

.tds {
    text-shadow: 4px 4px 4px rgba(15, 15, 15);
}

.btn {
    width: max-content;

    color: var(--black);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;

    border: none;
    border-radius: 20px;
    background-color: var(--yellow);
    padding: 10px 26px;

    cursor: pointer;

    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--lightYellow);
}

.scrim {
    background: url(./images/textures/Black.png);
}

body {
    min-height: 100svh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}


::-webkit-scrollbar {
    width: 10px;
    height: 3px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--lightYellow);
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--yellow);
}

/* ! ------------------------------------- */
/* ! ------------ PAGE HEADER ------------ */
/* ! ------------------------------------- */

header {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    /* background-color: var(--black); */
    z-index: 200 !important;
    position: relative;
    overflow: visible !important;

    background: url(./images/textures/Black.png);

    #post-thumbnail {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-position: center;
        object-fit: cover;
        z-index: -1;
        /* max-height: 1150px; */
    }

    /* ! -------------------------------------- */
    /* ! ----------- PAGE NAVIGATION ---------- */
    /* ! -------------------------------------- */

    nav {
        width: 100%;
        /* background-color: var(--black); */
        display: flex;
        align-items: stretch;
        justify-content: center;
        height: 75px;
        padding: 5px 20px;
        /* background: url(./images/textures/Black.png); */
        overflow: visible;

        &::after {
            content: "";
            width: 30vw;
            min-width: 150px;
            max-width: 450px;
            height: 75px;
            position: absolute;
            right: 0;
            top: 0;
            transform: rotate(180deg);
            clip-path: polygon(0 0, 100% 0, calc(100% - 35px) 100%, 0 100%);
            background-color: var(--yellow);
        }

        .container {
            max-width: 1500px;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 30px;
            position: relative;
            z-index: 100;
        }

        img#nav-logo {
            height: 55px;
            width: auto;
            z-index: 800 !important;
        }

        .menu-parts {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: stretch;
            justify-content: center;
            z-index: 300;
        }

        .main-nav-menu {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            list-style-type: none;

            li {
                position: relative;

                &.current-menu-item::before,
                &.current-page-ancestor::before {
                    content: '';
                    position: absolute;
                    bottom: -5px;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    width: 50%;
                    height: 1px;
                    background-color: var(--yellow);
                }

                &:not(:last-child)::after {
                    content: '';
                    position: absolute;
                    bottom: 0;
                    width: 1px;
                    height: 100%;
                    background-color: var(--yellow);
                }
            }

            a {
                color: var(--white);
                font-family: HC;
                font-size: 2.2rem;
                text-transform: uppercase;
                font-weight: 500;
                text-decoration: none;
                letter-spacing: 1px;
                padding: 0 30px;
                transition: color 0.3s ease;

                &:hover {
                    color: var(--yellow);
                }
            }
        }

        .hamburger-menu {
            span {
                display: none !important;
                font-size: 40px;
                font-weight: 700;
                color: var(--black);
                cursor: pointer;
                transition: .3s;

                &.active {
                    display: block !important;
                }

                &:hover {
                    color: var(--blue);
                }
            }
        }
    }

    /* ! -------------------------------------- */
    /* ! ---------- FULL SCREEN MENU ---------- */
    /* ! -------------------------------------- */

    #fullscreen-menu {
        height: calc(100svh - 75px);
        width: 100svw;
        display: none;
        grid-template-rows: 1fr auto;
        background-color: var(--black);
        background: url(./images/textures/Black.png);
        padding-bottom: 50px;
        z-index: 300;
        position: absolute;
        top: 75px;
        left: 100svw;
        transition: .3s ease-in-out;
    
        &::after {
            content: "";
            position: absolute;
            left: 0;
            top: 25%;
            width: 100px;
            height: 100px;
            background-color: var(--yellow);
            filter: blur(150px);
            z-index: -1;
        }
    
        &::before {
            content: "";
            position: absolute;
            bottom: 0;
            right: 0;
            width: 200px;
            height: 200px;
            background-color: var(--yellow);
            filter: blur(150px);
            z-index: -1;
        }
    
        &.active {
            display: grid !important;
            left: 0px !important;
        }
    
        #fullscreen-menu-container {
            width: 100%;
            height: calc(100svh - 75px - 75px);
            display: flex;
            align-items: center !important;
            justify-content: space-between;
            flex-direction: column;
            flex-wrap: wrap;
            gap: 30px;
            padding: 40px;
        }
    
        ul {
            height: 100%;
            width: 100%;
            list-style-type: none !important;
            display: flex;
            align-items: flex-start;
            justify-content: flex-start;
            flex-direction: column;
            gap: 20px;
            flex-wrap: wrap;
            overflow-x: auto;
        }
    
        li {
            position: relative;
        }
    
        li.current-menu-item > a,
        li.current_page_ancestor > a {
            color: var(--yellow) !important;
        }
    
        #complete-menu {
            ul {
                padding: 20px 0 0 15px;
    
                a {
                    color: #CDCDCD;
                    font-size: 2rem;
                }
            }
        }
    
        a {
            color: var(--white);
            font-family: HC;
            font-size: 2.5rem;
            text-transform: uppercase;
            font-weight: 500;
            text-decoration: none;
            letter-spacing: 1px;
            padding: 0 30px;
            transition: color 0.3s ease;
    
            &:hover {
                color: var(--yellow) !important;
            }
        }
    
        .fullcreen-menu-socials {
            width: 100%;
            height: 75px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 40px;
    
            img {
                height: 50px;
                cursor: pointer;
            }
        }
    }

    /* ! -------------------------------------- */
    /* ! -------------- HOME PAGE ------------- */
    /* ! -------------------------------------- */

    #home-page-heading {
        width: 100%;
        height: 75vh;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    
        &::after, &::before {
            content: "";
            position: absolute;
            width: 200px;
            max-width: 30vw;
            aspect-ratio: 1 / 1;
            background-color: var(--yellow);
            filter: blur(150px);
            /* z-index: -1; */
        }
    
        &::after {
            bottom: 0;
            left: 0;
        }
    
        &::before {
            top: 0;
            right: 0;
        }
    
        #post-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-position: center;
            object-fit: cover;
            z-index: -1;
        }
    
        .container {
            height: 100%;
            max-width: 1600px;
            width: 100%;
            display: flex;
            align-items: flex-end;
            justify-content: flex-start;
            padding: 50px;
            position: relative;
        }
    
        #post {
            display: flex;
            align-items: flex-start;
            justify-content: flex-start;
            flex-direction: column;
            gap: 20px;
    
            #post-type {
                font-size: 3rem;
                font-weight: 500;
                color: var(--yellow);
                font-family: HC;
                text-transform: uppercase;
            }
    
            h1 {
                font-size: 4.5rem;
                font-weight: 700;
                color: var(--white);
                font-family: HC;
            }
    
            p {
                font-size: 2.5rem;
                color: var(--white);
                font-family: HC;
            }
    
            a {
                color: var(--black);
                font-family: HC;
                font-size: 2rem;
                text-transform: uppercase;
                font-weight: 500;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 10px;
                text-decoration: none;
                background-color: var(--lightYellow);
                padding: 10px 30px;
                border-radius: 20px;
                transition: 0.3s ease;
    
                &:hover {
                    gap: 20px;
                    background-color: var(--yellow);
                }
    
                span {
                    color: var(--black);
                }
            }
        }
    
        #posts-navigation {
            position: absolute;
            right: 5%;
            top: 50%;
            transform: translate(50%, -50%);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 10px;
            /* background-color: rgba(0, 0, 0, 0.2); */
            padding: 15px 10px;
            border-radius: 15px;
    
            span {
                background-color: rgba(78, 78, 78, 0.6);
                width: 10px;
                height: 10px;
                border-radius: 5px;
    
                &.active {
                    background-color: #ffffff;
                }
            }
        }
    
        @media screen and (max-width: 1020px) {
            height: 80svh;
    
            #posts-navigation {
                top: 95%;
                right: 50%;
                flex-direction: row;

                padding: 10px;
                border-radius: 15px;

                span {
                    width: 7px;
                    height: 7px;
                }
            }
    
            .container {
                padding-bottom: 70px;
            }
    
            #post {
                #post-type {
                    font-size: 2.5rem;
                }
    
                h1 {
                    font-size: 3.5rem;
                }
    
                p {
                    font-size: 2rem;
                }
    
                a {
                    font-size: 1.8rem;
                }
            }
        }
    
        #posts-data {
            display: none !important;
        }
    }
    
    /* ! -------------------------------------- */
    /* ! ------------ PAGE HEADING ------------ */
    /* ! -------------------------------------- */

    #page-heading {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        position: relative;
        
        #page-title-bcg {
            display: none;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-position: center;
            object-fit: cover;
            z-index: -1;
        }
    
        .container {
            width: 100%;
            height: auto;
            max-width: 1200px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-direction: column;
            gap: 15px;
        }
    
        h1 {
            font-size: 4.9rem;
            font-family: 'HC';
            font-weight: 800;
            color: var(--white);
            text-align: center;
            text-transform: uppercase;
            letter-spacing: 5px;
        }
    
        #title-line {
            display: block;
            width: 90%;
            max-width: 400px;
            height: 2px;
            background-color: var(--yellow);
            border-radius: 2px;
        }
    
        #breadcrumb {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            flex-wrap: wrap;
    
            .divider {
                color: var(--yellow);
                font-weight: 700;
                text-shadow: 4px 4px 4px rgba(15, 15, 15);
            }
    
            a,
            #current-page {
                color: var(--white);
                font-size: 1.8rem;
                text-decoration: none;
                text-align: center;
                text-shadow: 4px 4px 4px rgba(15, 15, 15);
                position: relative;
                transition: .3s;
            }
        }

        article {
            margin-top: 30px;
    
            ul {
                display: flex;
                align-items: center;
                justify-content: space-around;
                gap: 40px;
                flex-wrap: wrap;
    
                li {
                    list-style: none;
    
                    a {
                        display: block;
                        min-width: 100px;
                        color: var(--white);
                        font-size: 1.8rem;
                        text-decoration: none;
                        text-align: center;
                        text-shadow: 4px 4px 4px rgba(15, 15, 15);
                        position: relative;
                        transition: .3s;
    
                        &::after {
                            position: absolute;
                            content: "";
                            height: 1px;
                            width: 100px;
                            background-color: var(--white);
                            left: 50%;
                            bottom: -3px;
                            transform: translate(-50%, 50%);
                            margin-top: 10px;
                            transition: .3s;
                        }
    
                        &:hover {
                            color: var(--yellow) !important;
    
                            &::after {
                                background-color: var(--yellow) !important;
                            }
                        }

                        &.sub-link[data-link-active="true"] {
                            color: var(--yellow);
                    
                            &::after {
                                background-color: var(--yellow);
                            }
                        }
                    }
                }
            }
        }
    }


    @media screen and (max-width: 1020px) {
        .menu-parts {
            display: none !important;
        }
    
        nav .container {
            justify-content: space-between !important;
        }
    }
    
    @media screen and (max-width: 800px) {
        #fullscreen-menu #complete-menu ul {
            display: none !important;
        }
    }
    
}










/* ! -------------------------------------- */
/* ! ------------ PAGE CONTENT ------------ */
/* ! -------------------------------------- */

main {
    padding: 20px 15px;
    display: flex;
    align-items: flex-start;
    justify-content: center;

    >* {
        z-index: 100;
    }

    .container {
        width: 100%;
        max-width: 1200px;
        display: flex;
        align-items: stretch;
        justify-content: space-between;
        flex-direction: column;
        gap: 30px;
    }

    h2 {
        font-size: 3rem;
        font-family: HC;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        padding: 0 0 5px 15px;
        margin: 10px 0 15px 0;
        position: relative;
    }

    h3 {
        font-size: 2.5rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        padding: 0 0 5px 10px;
        margin: 10px 0 10px 0;
        position: relative;
    }

    section.page-content {
        display: flex;
        align-items: stretch;
        justify-content: flex-start;
        flex-direction: column;
        gap: 8px;
        max-width: 100%;

        ul {
            list-style-position: inside;
            margin-left: 20px;
        }

        img {
            width: 100%;
            max-width: 90%;
        }
    }

    /* ! -------------------------------------- */
    /* ! --------- FRONT PAGE MATCHES --------- */
    /* ! -------------------------------------- */

    &#front-page #matches-section {
        display: flex !important;
        align-items: stretch;
        justify-content: flex-start;
        flex-direction: column;
        gap: 10px;
    
        .container {
            display: flex !important;
            align-items: stretch;
            justify-content: flex-start;
            flex-direction: column;
            width: calc(90vw - 50px);
            max-width: 1000px;
            margin: 0 auto;
            overflow: hidden;
            background: linear-gradient(to top, rgba(37, 37, 37, 1), rgba(25,25,25, 1));
        }
    
        #teams {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            border-bottom: 3px solid rgb(49, 49, 49);
            overflow-x: auto;
            overflow-y: hidden;
            padding: 0 20px;
    
            .con {
                width: max-content;
                display: flex;
                align-items: center;
                justify-content: flex-start;
                gap: 50px;
                margin: 0 auto;
                white-space: nowrap;
            }
    
            p {
                font-size: 2.5rem;
                color: var(--white);
                width: max-content;
                min-width: max-content;
                font-family: HC;
                text-transform: uppercase;
                padding: 20px 0;
                flex-shrink: 0;
                position: relative;
                cursor: pointer;
    
                &.active:after {
                    content: "";
                    position: absolute;
                    top: 90%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    width: 80%;
                    height: 3px;
                    border-radius: 2px;
                    background-color: var(--yellow);
                    bottom: 0;
                    transition: .3s ease-in-out;
                }
            }
        }
    
        #matches {
            .con {
                display: flex;
                padding: 20px 0;
                transition: .5s ease-in-out;
            }
    
            .match {
                width: 100% !important;
                min-width: 100%;
                display: grid;
                grid-template-columns: 1fr auto 1fr;
                grid-template-rows: auto 1fr;
                place-items: center;
                gap: 20px;
                padding: 20px;
    
                .info {
                    grid-column: 1 / 4;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 10px;
    
                    p {
                        font-size: 2.2rem;
                        color: var(--white);
                        font-family: HC;
                        font-weight: 300;
                    }
    
                    span {
                        height: 30px;
                        width: 2px;
                        background-color: var(--lightYellow);
                        border-radius: 1px;
                    }
                }
    
                img {
                    height: 90px;
                }
    
                .countdown {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 10px;
    
                    p {
                        display: grid;
                        grid-template-rows: 1fr 20px;
                        place-items: center;
                        gap: 3px;
    
                        span:nth-child(1) {
                            font-size: 3.5rem;
                            font-family: HC;
                            font-weight: 700;
                        }
    
                        span:nth-child(2) {
                            font-size: 1.2rem;
                            font-family: HC;
                            font-weight: 400;
                            color: rgb(112, 112, 112);
                        }
    
                        &.colon span:nth-child(1) {
                            font-size: 2.5rem;
                            font-weight: 400;
                            color: rgb(112, 112, 112);
                        }
                    }
                }
            }
    
            @media screen and (max-width: 700px) {
                .match {
                    grid-template-columns: 1fr;
                    grid-template-rows: auto;
    
                    .info {
                        grid-column: 1 / 2;
                    }
                }
            }
        }
    }

    /* ! -------------------------------------- */
    /* ! ----------- PHOTOGALLERIES ----------- */
    /* ! -------------------------------------- */

    #photogalleries-page-sec {
        article {
            width: calc(100vw - 40px);
            max-width: 1200px;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            place-items: center;
            gap: 15px;
            padding: 10px;
    
            @media screen and (max-width: 975px) {
                grid-template-columns: repeat(2, 1fr);
            }
    
            @media screen and (max-width: 775px) {
                grid-template-columns: repeat(1, 1fr);
            }
        }
    
        .gallery {
            width: 100%;
            max-width: 350px;
            aspect-ratio: 16 / 9;
            scroll-snap-align: center;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            text-decoration: none;
            cursor: pointer;
            padding: 10px 5px;
            background: rgba(0, 0, 0, .5);
            overflow: hidden;
            position: relative;
            transition: .3s;
    
            &:hover {
                background: rgba(0, 0, 0, .1);
            }
    
            &:hover img {
                transform: scale(1.1);
            }
    
            &:hover p {
                display: none;
            }
    
            img {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                object-fit: cover;
                z-index: -1;
                transition: .3s;
            }
    
            p {
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 2.5rem;
                font-family: HC;
                font-weight: 300;
    
                .icon {
                    font-weight: 100;
                    font-size: 3rem;
                    color: var(--yellow);
                }
            }
        }
    }

    /* ! -------------------------------------- */
    /* ! ------------ MATCHES PAGE ------------ */
    /* ! -------------------------------------- */

    &.matches-page {
        display: flex !important;
        align-items: stretch;
        justify-content: flex-start;
        flex-direction: row !important;
        width: calc(98vw - 50px);
        max-width: 1000px;
        margin: 0 auto;
        padding: 15px 0;
        overflow: hidden;
    
        > .container {
            min-width: 100%;
            width: calc(90vw - 50px);
            max-width: 1000px;
            display: flex;
            align-items: flex-start;
            justify-content: flex-start;
            flex-direction: row !important;
            gap: 15px;
            transition: 0.3s ease-in-out;
    
            > .container {
                min-width: 100%;

                #matches-page-sec {
                    width: 100%;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    flex-direction: column;
                    gap: 30px;
                
                    .match-info {
                        width: 90%;
                        display: grid;
                        grid-template-columns: 1fr 1fr 5fr;
                        gap: 15px;
                        box-shadow: 0px 0px 10px 1px rgba(240, 211, 65, .65);
                        border-radius: 20px;
                        padding: 20px;
                
                        .match-date {
                            display: flex;
                            align-items: flex-start;
                            justify-content: center;
                            flex-direction: column;
                            gap: 5px;
                        }
                
                        .match-category {
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            white-space: nowrap;
                        }
                
                        .match-teams {
                            width: 100%;
                            display: grid;
                            grid-template-columns: 1fr auto 80px auto 1fr;
                            place-items: center;
                            gap: 10px;
                
                            .team {
                                display: flex;
                                align-items: center;
                                justify-content: flex-start;
                                gap: 5px;
                            }
                
                            .home-team-name {
                                justify-self: end;
                                text-align: right;
                            }
                
                            .visitors-team-name {
                                justify-self: start;
                            }
                
                            img {
                                height: auto;
                                max-height: 50px;
                                width: 50px;
                                object-fit: contain;
                            }
                        }
                    }
                
                    @media screen and (max-width: 875px) {
                        .match-info {
                            grid-template-columns: 1fr 1fr;
                
                            .match-date {
                                align-items: center;
                                flex-direction: row;
                            }
                
                            .match-teams {
                                grid-column: 1 / 3;
                            }
                        }
                
                        .match-info .match-teams {
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            gap: 10px;
                
                            p.team-name {
                                display: none;
                            }
                        }
                    }
                }
            }
        }
    }

    /* ! -------------------------------------- */
    /* ! ------------- TEAMS PAGE ------------- */
    /* ! -------------------------------------- */

    &.team-page {
        .container[data-active="false"] {
            display: none;
        }

        .actual-info {
            width: 100%;
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 20px;
        
            aside {
                .teams {
                    display: flex;
                    align-items: stretch;
                    justify-content: center;
                    flex-direction: column;
                }
        
                .team {
                    width: 100%;
                    display: grid;
                    grid-template-columns: 20px 60px 1fr auto;
                    gap: 8px;
                    align-items: center;
                    padding: 10px;
                    border-bottom: 2px solid var(--yellow);
                    transition: .5s;
        
                    &.rakovnik {
                        background-color: var(--lightYellow);
        
                        > * {
                            color: var(--black);
                        }
                    }
        
                    &:hover {
                        background-color: var(--yellow);
        
                        > * {
                            color: var(--black);
                        }
                    }
        
                    img {
                        height: 25px;
                        object-fit: contain;
                        justify-self: center;
                    }
        
                    .team-name {
                        font-weight: 500;
                    }
                }
        
                &.content {
                    display: flex;
                    align-items: stretch;
                    justify-content: flex-start;
                    flex-direction: column;
                    gap: 8px;
                    padding: 10px;
                }
            }
        }

        #news {
            .show-more-news {
                display: block;
                color: var(--white);
                font-size: 1.8rem;
            
                /* text-transform: uppercase; */
                font-variant: small-caps;
                text-align: right;
                text-decoration: none;
            
                margin-top: 30px;
            
                cursor: pointer;
                transition: .3s;

                &:hover {
                    text-decoration: underline;
                    text-decoration-color: var(--yellow);
                }
            }
    
            .post:nth-child(4) {
                display: none;
            }
        }
        
        .matches-list {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-direction: column;
            gap: 30px;
        
            .match-info {
                width: 90%;
                display: flex;
                align-items: stretch;
                justify-content: flex-start;
                gap: 15px;
                box-shadow: 0px 0px 5px rgba(255, 255, 255, .65);
                border-radius: 20px;
                padding: 20px;
        
                &.future {
                    box-shadow: 0px 0px 5px var(--lightYellow);
                }
        
                .match-date {
                    width: 220px;
                    display: flex;
                    align-items: flex-start;
                    justify-content: center;
                    flex-direction: column;
                    gap: 5px;
                }
        
                .match-teams {
                    width: 100%;
                    display: grid;
                    grid-template-columns: 1fr auto 80px auto 1fr;
                    place-items: center;
                    gap: 10px;
        
                    .team {
                        display: flex;
                        align-items: center;
                        justify-content: flex-start;
                        gap: 5px;
                    }
        
                    .home-team-name {
                        justify-self: end;
                        text-align: right;
                    }
        
                    .visitors-team-name {
                        justify-self: start;
                    }
        
                    img {
                        height: auto;
                        max-height: 50px;
                        width: 50px;
                        object-fit: contain;
                    }
                }
            }
        }

            
        @media screen and (max-width: 1150px) {
            .actual-info {
                grid-template-columns: 1fr;
        
                .teams {
                    max-width: 500px;
                    margin: 0 auto;
                }
            }
        }
        
        @media screen and (max-width: 725px) {
            .matches-list .match-info {
                flex-direction: column;
                align-items: stretch;
        
                .match-date {
                    width: 100%;
                    align-items: center;
                }
            }
        }
        
        @media screen and (max-width: 570px) {
            .matches-list .match-info .match-teams {
                grid-template-columns: auto 50px auto;
        
                .home-team-name, .visitors-team-name {
                    display: none;
                }
            }
        }
    }

    /* ? -------------------------------------- */
    /* ? --------------- PLAYERS -------------- */
    /* ? -------------------------------------- */

    .players-list {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
        gap: 20px;
    
        @media screen and (max-width: 1250px) {
            grid-template-columns: repeat(3, 1fr);
        }
    
        @media screen and (max-width: 950px) {
            grid-template-columns: repeat(2, 1fr);
        }
    
        @media screen and (max-width: 650px) {
            grid-template-columns: repeat(1, 1fr);
        }

        .player-info {
            width: 100%;
            display: flex;
            align-items: stretch;
            justify-content: center;
            flex-direction: column;
            box-shadow: 0px 0px 5px rgba(255, 255, 255, .65);
            border-radius: 20px;
        
            .player-picture {
                width: 100%;
                height: 350px;
                padding: 20px 20px 0 20px;
                background: url(./images/textures/Yellow.png);
                border-radius: 20px 20px 0 0;
                position: relative;
        
                img {
                    position: absolute;
                    bottom: 0;
                    max-width: calc(100% - 40px) !important;
                    max-height: 330px !important;
                    object-fit: contain;
                }
        
                .player-number {
                    position: absolute;
                    bottom: 10px;
                    right: 20px;
                    font-size: 12.5rem;
                    font-weight: 800;
                    font-family: HC;
                    color: var(--blue);
                }
            }
        
            .text {
                display: flex;
                align-items: stretch;
                justify-content: flex-start;
                flex-direction: column;
                gap: 10px;
                padding: 10px;
        
                a {
                    color: var(--white);
                    font-size: 1.6rem;
                    text-decoration-color: var(--yellow);
                }
        
                .position {
                    font-size: 1.8rem;
                    font-weight: 500;
                }
            }
        
            .player-name {
                display: flex;
                align-items: stretch;
                justify-content: flex-start;
                flex-direction: column;
                gap: 3px;
        
                span {
                    font-size: 2.3rem;
                    font-weight: 500;
                    text-transform: uppercase;
                }
        
                .name {
                    font-size: 3rem;
                    font-weight: 600;
                    color: var(--yellow);
                    font-family: HC;
                }
            }
        
            .player-age {
                font-size: 2.2rem;
                font-weight: 500;
                font-family: HC;
            }
        }
    }
    
    /* ! -------------------------------------- */
    /* ! ------------- PAGINATION ------------- */
    /* ! -------------------------------------- */

    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
    
        a {
            padding: 10px;
            margin: 5px;
            border: 1px solid var(--lightYellow);
            text-decoration: none;
            color: var(--lightYellow);
            transition: .3s;
    
            &:hover {
                background-color: var(--yellow);
                color: var(--black);
            }
        }
    
        .current {
            background-color: var(--yellow);
            color: var(--black);
            padding: 10px;
            margin: 5px;
            border: 1px solid var(--black);
        }
    }

    /* ! -------------------------------------- */
    /* ! ---------- PHOTOGALLERY PAGE --------- */
    /* ! -------------------------------------- */

    #photogalleries {
        article {
            width: calc(100vw - 40px);
            max-width: 1200px;
            display: grid;
            grid-auto-flow: column;
            grid-auto-columns: 32%;
            gap: 15px;
            padding: 10px;
            overflow-x: auto;
            overscroll-behavior-inline: contain;
            scroll-snap-type: inline mandatory;
            scroll-padding-inline: 10px;
            grid-template-columns: none;
    
            @media screen and (max-width: 1240px) {
                grid-auto-columns: 45%;
            }
    
            @media screen and (max-width: 840px) {
                grid-auto-columns: 75%;
            }
    
            @media screen and (max-width: 530px) {
                grid-auto-columns: 90%;
            }
    
            &.show-more {
                display: flex;
                align-items: center;
                justify-content: flex-end;
            }
        }
    
        .gallery {
            width: 100%;
            max-width: 350px;
            aspect-ratio: 16 / 9;
            scroll-snap-align: center;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            text-decoration: none;
            cursor: pointer;
            padding: 10px 5px;
            background: rgba(0, 0, 0, .5);
            overflow: hidden;
            position: relative;
            transition: .3s;
    
            img {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                object-fit: cover;
                z-index: -1;
                transition: .3s;
            }
    
            p {
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 2.5rem;
                font-family: HC;
                font-weight: 300;
    
                .icon {
                    font-weight: 100;
                    font-size: 3rem;
                    color: var(--yellow);
                }
            }
    
            &:hover {
                background: rgba(0, 0, 0, .1);
    
                img {
                    transform: scale(1.1);
                }
    
                p {
                    display: none;
                }
            }
        }
    }

    /* ! ------------------------------------- */
    /* ! ------------ SINGLE PAGE ------------ */
    /* ! ------------------------------------- */

    &#single {
        #post-informations {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 25px;
    
            div {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 5px;
    
                a {
                    color: var(--white);
                    text-decoration-color: var(--blue);
                    transition: .3s;
    
                    &:hover {
                        text-decoration-color: var(--yellow);
                    }
                }
            }
        }
    
        #post-content {
            display: flex;
            align-items: stretch;
            justify-content: flex-start;
            flex-direction: column;
            gap: 15px;
        }
    }

    /* * -------------------------------------- */
    /* * ---------------- POSTS --------------- */
    /* * -------------------------------------- */

    #team-news {
        .posts {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            justify-items: center;
            gap: 20px;

            .post:nth-child(4) {
                display: none !important;
            }

            @media screen and (max-width: 975px) {
                grid-template-columns: repeat(2, 1fr);

                .post:nth-child(4) {
                    display: flex !important;
                }
            }
            
            @media screen and (max-width: 775px) {
                grid-template-columns: repeat(1, 1fr);
            
                .post {
                    width: 100%;
                    max-width: 100%;
                }
            
                .post:nth-child(4) {
                    display: none;
                }
            }
        }
    }

    #posts-scroll-sec {
        width: calc(100vw - 40px);
        max-width: 1200px;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 27%;
        gap: 15px;
        padding: 10px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline mandatory;
        scroll-padding-inline: 10px;
    
        grid-template-columns: none;

        .post {
            scroll-snap-align: center;
            
            p {
                -webkit-line-clamp: 2;
                line-clamp: 2;
                -webkit-box-orient: vertical;
            }
        }

        @media screen and (max-width: 975px) {        
            grid-auto-columns: 45%;
        }

        @media screen and (max-width: 790px) {
            grid-auto-columns: 53%;
        }
        
        @media screen and (max-width: 560px) {
            grid-auto-columns: 90%;
        }
    }

    #posts-page-sec {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
        gap: 20px;

        @media screen and (max-width: 975px) {
            grid-template-columns: repeat(2, 1fr);
        }
        
        @media screen and (max-width: 775px) {
            grid-template-columns: repeat(1, 1fr);
        }
    }

    .post {
        width: 100%;
        max-width: 350px;
    
        display: flex;
        align-items: stretch;
        justify-content: flex-start;
        flex-direction: column;
        gap: 15px;
    
        padding: 5px;
    
        text-decoration: none;

        overflow: hidden;

        > div {
            width: 100%;
            height: auto;
            aspect-ratio: 16/9;
        
            position: relative;
        
            display: flex;
            align-items: stretch;
            justify-content: space-between;
            flex-direction: column;
        
            padding: 8px;
        
            background: rgba(0, 0, 0, .34);
        
            transition: .3s;

            img {
                position: absolute;
            
                top: 0;
                left: 0;
            
                width: 100%;
                height: 100%;
                max-width: 100%;
            
                object-fit: cover;
            
                z-index: -1;
            }

            .title {
                font-size: 2rem;
                font-weight: 600;
                color: var(--white);
                text-transform: uppercase;
            }

            .date {
                font-size: 1.6rem;
                color: var(--white);
                text-align: right;
            }
            
            .category {
                font-size: 1.4rem;
                color: var(--white);
                text-align: right;
            }
            
            &:hover .title,
            &:hover .date,
            &:hover .category {
                display: none;
            
                transition: .3s;
            }
        }

        p {
            color: var(--white);
        }

        &:hover>div {
            background: transparent;
        }
    }

    .show-more-news {
        display: block !important;
        text-align: right;
        padding: 20px 10px 0 0;
        transition: 0.3s;

        &:hover {
            text-decoration-color: var(--yellow);
        }
    } 

    #category-selector-sec {
        select {
            padding: 5px 10px;
            border: 1px solid var(--yellow);
            border-radius: 5px;
            background: var(--lightYellow);
            color: var(--black);
            transition: .3s;
            cursor: pointer;

            &:hover {
                background: var(--yellow);
            }
        }
    }
}

/* ! -------------------------------------- */
/* ! ------- DIRECT ELEMENT STYLING ------- */
/* ! -------------------------------------- */

.wp-block-image:has(figure.aligncenter),
.wp-block-image figure.aligncenter {
    margin: 0;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


@media screen and (max-width: 1000px) {
    .home-page-video > div{
        grid-template-columns: 1fr;
    }
}

.wp-block-button__link {
    background-color: var(--lightYellow) !important;
    color: var(--black) !important;
    padding: 10px 22px !important;
    border: none !important;
    transition: .3s !important;
    cursor: pointer !important;
}

.wp-block-button__link:hover {
    background-color: var(--yellow) !important;
}





/* ! -------------------------------------- */
/* ! ------------ SPONSORS LIST ------------ */
/* ! -------------------------------------- */

.sponsors-sec {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 20px;

    .sponsors {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 40px;
        position: relative;

        a {
            flex: 0 0 auto;
            display: block;
            margin-right: 20px;

            img {
                width: 175px;
                aspect-ratio: 3 / 2;
                object-fit: contain;
                mix-blend-mode: color-burn;
            }
        }
    }
}


/* ! -------------------------------------- */
/* ! ---------------- 404 ----------------- */
/* ! -------------------------------------- */

#s404 {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;

    h6 {
        font-size: 3rem;
    }

    span {
        width: 80%;
        max-width: 250px;
        height: 1px;
        background-color: var(--yellow);
        margin-top: -15px;
    }

    p {
        font-size: 2.2rem;
        text-align: center;
    }
}


/* ! -------------------------------------- */
/* ! ------------ PAGE FOOTER ------------ */
/* ! -------------------------------------- */


footer {
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 10px 10px 20px 10px;
    background-color: var(--black);
    position: relative;

    .container {
        width: 100%;
        max-width: 1000px;
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: 1fr auto;
        background: url(./images/textures/Black.png) repeat top left;
        padding: 20px;
        z-index: 100;

        .text {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: flex-start;
            justify-content: flex-start;
            flex-direction: column;
            gap: 30px;
    
            h2 {
                font-size: 3.5rem;
                font-weight: 500;
                font-family: HC;
                color: var(--white);
            }
    
            p {
                font-size: 1.6rem;
                color: var(--white);
            }
    
            #footer-menu {
                display: flex;
                align-items: center;
                justify-content: flex-start;
                list-style-type: none;
                flex-wrap: wrap;
        
                li {
                    position: relative;
        
                    &:not(:last-child)::after {
                        content: '';
                        position: absolute;
                        bottom: 0;
                        width: 1px;
                        height: 100%;
                        background-color: var(--yellow);
                    }

                    a {
                        color: var(--white);
                        text-transform: uppercase;
                        font-weight: 500;
                        font-family: HC;
                        font-size: 1.8rem;
                        letter-spacing: 1px;
                        text-decoration: none;
                        padding: 0 30px;
                        transition: color 0.3s ease;
            
                        &:hover {
                            color: var(--yellow);
                        }
                    }
        
                    &:first-child a {
                        padding: 0 20px 0 0;
                    }
                }

            }
    
            a {
                color: var(--white);
                text-decoration-color: var(--blue);
                transition: .3s;
    
                &:hover {
                    text-decoration-color: var(--yellow);
                }
            }
        }

        aside {
            grid-row: 1 / 3;
            grid-column: 2 / 3;
            display: flex;
            align-items: center;
            justify-content: space-evenly;
            flex-direction: column;
            gap: 10px;
            padding: 20px 0;
        }

        .copyright {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 20px;
    
            a, p {
                color: var(--white);
                font-size: 12px;
                font-weight: 200;
            }
        }
    }

    &::after {
        position: absolute;
        content: "";
        bottom: 0;
        left: 0;
        width: 100%;
        height: 80%;
        background: url(./images/textures/Yellow.png);
        z-index: 50;
    }

    @media screen and (max-width: 750px) {
        .container {
            display: flex;
            flex-direction: column;
            gap: 15px;

            aside {
                grid-column: 1 / 2;
                grid-row: 2 / 3;
                flex-direction: row;
                gap: 10px;
                padding: 0;
            }
        }

        #footer-menu {
            width: 100%;
            flex-direction: column;

            li:first-child a {
                padding: 15px 0;
            }

            li:not(:last-child)::after {
                width: 100px !important;
                height: 1px !important;
                left: 50%;
                transform: translate(-50%, -50%);
            }

            a {
                display: block;
                padding: 15px 0 !important;
            }
        }

        .copyright {
            flex-direction: column;
            gap: 5px;
            text-align: left;
            align-items: flex-start;
        }
    }
}









