:root {
    --main-color: #5e0700;
    --orange-color: #f19100;
    --orange-color-secondary: #db8200;
}
html { scroll-behavior: smooth; }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}
body {
    background-color: var(--main-color);
    position: relative;
}
body::before {
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: white;
    background: url('/images/bg.jpg') no-repeat center center;
    background-size: cover;
    will-change: transform;
    z-index: -1;
}
.pd-5 { padding: 5px; }
.pd-10 { padding: 10px; }
.pd-15 { padding: 15px; }
.pd-20 { padding: 20px; }
.pdtb-5 { padding: 5px 0; }
.pdtb-10 { padding: 10px 0; }
.pdtb-20 { padding: 20px 0; }
.pdrl-10 { padding: 0 10px; }
.pdl-5 { padding-left: 5px; }
.pdl-10 { padding-left: 10px; }
.pdl-15 { padding-left: 15px; }
.pdl-20 { padding-left: 20px; }
.pdl-30 { padding-left: 30px; }
.pdt-5 { padding-top: 5px; }
.pdt-10 { padding-top: 10px; }
.pdt-15 { padding-top: 15px; }
.pdt-20 { padding-top: 20px; }
.pdt-25 { padding-top: 25px; }
.pdt-30 { padding-top: 30px; }
.pdb-5 { padding-bottom: 5px; }
.pdb-10 { padding-bottom: 10px; }
.pdb-15 { padding-bottom: 15px; }
.pdb-20 { padding-bottom: 20px; }
.pdb-25 { padding-bottom: 25px; }
.pdb-30 { padding-bottom: 30px; }
.pdr-10 { padding-right: 10px; }
.pdr-15 { padding-right: 15px; }
.pdr-20 { padding-right: 20px; }
.pdr-30 { padding-right: 30px; }
.m-5 {margin:5px;}
.m-10 {margin:10px;}
.m-15 {margin:15px;}
.m-20 {margin:20px;}
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.flex {    display: flex;}
.flex-row {   flex-direction: row;}
.flex-column {flex-direction: column;}
.justify-content-center {justify-content: center;}
.justify-flex-end {justify-content: flex-end;}
.justify-space-between {justify-content: space-between;}
.align-items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-center {
    justify-content: center;
    align-items: center;
}
.flex-1 {flex: 1;}
.flex-2 {flex: 2;}
.flex-3 {flex: 3;}
.flex-gap-5 { gap: 5px !important;}
.flex-gap-10 { gap: 10px !important;}
.flex-gap-15 { gap: 15px !important;}
.flex-gap-20 { gap: 20px !important;}
.flex-gap-25 { gap: 25px !important;}
.flex-gap-30 { gap: 30px !important;}
.top-left-fixed, .top-right-fixed {
    position: absolute;
    top: 0;
}
.top-left-fixed {
    border-left: 20px solid #fff;
    border-right: 20px solid transparent;
    border-bottom: 20px solid transparent;
    left: 0;
}
.top-left-fixed1 {height: 135px;}
.top-left-fixed2 {height: 95px;left: 40px;}
.top-left-fixed3 {height: 60px;left: 80px;}
.top-left-fixed4 {height: 0;left: 120px;}

.top-right-fixed {
    border-left: 20px solid transparent;
    border-right: 20px solid var(--orange-color);
    border-bottom: 20px solid transparent;
    right: 0;
}
.top-right-fixed1 {height: 135px;}
.top-right-fixed2 {height: 95px;right: 40px;}
.top-right-fixed3 {height: 60px;right: 80px;}
.top-right-fixed4 {height: 0;right: 120px;}
#gt_float_wrapper {
    bottom: 5px !important;
    left: 15px !important;
}
.gt_float_switcher img {
    width: 25px !important;
}
.gt_float_switcher .gt_options a, .gt_float_switcher .gt-selected .gt-current-lang {
    padding: 5px 8px !important;
    font-size: 16px !important;
}
.menu {
    position: fixed;
    top: 0;
    background: linear-gradient(to right, #380000, #200000);
    left: 50%;
    transform: translateX(-50%);
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    z-index: 9900;
    overflow: hidden;
    box-shadow: 0 3px 8px #0000007c;
    transition-duration: 250ms;
    width: 100%;
    max-width: 1000px;
}
.menu-visible {
    opacity: 1;
    top: 0;
    height: 350px !important;
}
.menu-hidden {
    opacity: 0;
    top: -45px;
}
/* Hamburger menu toggle button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    position: fixed;
    right: 20px;
    z-index: 10;
    top: 15px;
}
.menu-mojaekipa-link {
    display: none !important;
    position: fixed;
    right: 48px;
    top: -2px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    width: fit-content !important;
    text-decoration: none;
    text-transform: lowercase;
    height: 60px !important;
    z-index: 10;
    opacity: 0.95;
}
.menu-mojaekipa-link:hover {
    text-decoration: underline;
}
/* Menu logo - hidden on desktop, shown on mobile */
.menu-logo {
    display: none !important;
    position: fixed;
    top: 0;
    left: 10px;
    height: 60px !important;
    width: 60px !important;
    padding: 5px !important;
}
.menu-logo img {
    height: 100%;
    width: auto;
}
.menu-items {
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.menu a {
    text-decoration: none;
    color: #fff;
    height: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    white-space: nowrap;
}
.menu a:hover {
    text-decoration: underline;
}
.menu a:first-child {
    padding-left: 60px;
}
.menu a:last-child {
    padding-right: 60px;
}

.main {
    margin: 0 auto;
    padding: 80px 5px 40px;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100vh - 135px);
}
.main-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
}
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    color: #fff;
    height: 230px;
    gap: 25px;
    width: fit-content;
}
.logo {
    width: 260px;
}
.logo img {
    width: 100%;
    object-fit: contain;
}
.white-spacer {
    width: 4px;
    height: 100%;
    border-radius: 10px;
    background-color: #fff;
}
.title {
    text-align: left;
    width: 250px;
}
.title h1 {
    font-size: 36px;
    padding-bottom: 5px;
    letter-spacing: 2px;
    word-spacing: 9999px;
}
.title h2 {
    font-size: 18px;
}
.title h2 a {
    color: #fff;
    text-decoration: none;
}
.title-socials {
    padding-top: 6px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}
.title-socials a {
    width: 30px;
}
.title-socials a:first-child {
    width: 36px;
}
.title-socials img {
    width: 100%;
}
.description {
    background-color: #fff;
    border-radius: 8px;
    color: var(--main-color);
    font-weight: 600;
    text-align: center;
    margin: 30px 0 15px;
    padding: 10px 25px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    gap: 25px;
    max-width: 500px;
    width: 100%;
}
.description img {
    width: 28px;
}
.description a {
    color: var(--main-color);
    text-decoration: none;
}
.description .description-text {
    flex: 2;
}
.video-player {
    width: 100vw;
    max-width: 1920px;
    height: auto;
    padding: 25px 25px;
}
.announcer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 0 20px;
}
.announcer img {
    max-width: 300px;
    width: 100%;
}
.announcer p {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 6px;
}
.watch-finals {
    padding: 15px 0;
}
.watch-finals a {
    background-color: #fff;
    color: #000;
    padding: 16px 42px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    position: relative;
    text-align: center;
}
.watch-finals a span {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
/* .watch-finals a span:last-child {
    font-size: 16px;
    transform: translateY(-3px);
} */
.watch-finals svg {
    width: 28px;
    height: 28px;
    color: rgb(126, 0, 0);
}
.watch-finals a::before{
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    background: linear-gradient(to right, #f19100, #b87004, #dfac08, #500a05, #d67b04, #dbb81d, #c77d0d, #f19100);
    background-size: 400%;
    width: calc(105%);
    height: calc(121%);
    transform: translate(-50%, -50%);
    border-radius: 12px;
    z-index: -1;
    animation: glower 30s linear infinite;
    transition-duration: 250ms;
    /* filter: blur(15px); */
}
.watch-finals a:hover::before {
    filter: blur(15px);
}
@keyframes glower {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

.matches {
    width: 100%;
    padding: 20px 0 10px;
    position: relative;
    min-height: 400px;
}
.matches-select select {
    background-color: #fff;
    font-weight: 700;
    font-size: 20px;
    border: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 10px 30px 10px 20px;
}
.matches-select select option {
    padding-left: 30px;
    
}
.matches-items {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 10px;
    border-top-left-radius: 0;
    overflow: hidden;
    gap: 2px;
    transition-duration: 250ms;
}
.matches-item {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}
.matches-item-teams-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex: 1;
    gap: 5px;
}
.matches-item-teams {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    gap: 10px;
}
.matches-item-team {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    width: 190px;
    text-align: center;
    cursor: pointer;
    color: #000;
    text-decoration: none;
}
.matches-item-team:first-child {
    text-align: right;
    justify-content: flex-end;
}
.matches-item-team:last-child {
    justify-content: flex-start;
    text-align: left;
}
.matches-item-team-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}
.matches-item-team-city {
    background-color: #222;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    line-height: 12px;
    color: #fff;
    padding: 3px 4px;
    text-transform: uppercase;
}
.matches-item-score {
    width: 80px;
    text-align: center;
    padding: 0 10px;
}
.matches-item-score-nums {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 3px;
    white-space: nowrap;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.matches-item-score-nums span {
    flex: 1;
    text-align: center;
    letter-spacing: -1px;
}
.matches-item-score-penalties {
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-weight: 700;
    align-items: center;
    padding-top: 8px;
    gap: 2px;
    white-space: nowrap;
}

.matches-item-team img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}
.matches-item-description {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    font-weight: 600;
    width: 170px;
}
.matches-item-location {
    font-size: 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3px;
    transform: translateX(-1px);
}
.matches-item-location a {
    color: #000;
    text-decoration: none;
}
.matches-item-location a:hover {
    text-decoration: underline;
}
.matches-item-location svg {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
}
.matches-item-location div {
    display: flex;
    flex-direction: column;
}
.matches-item-location span {
    white-space: nowrap;
    line-height: 13px;
}
.matches-item-location-dash {
    display: none;
}
.matches-item-team-name {
    display: flex;
    justify-content: center;
    align-items: center;
}
.matches-item-title {
    background-color: var(--orange-color);
    width: fit-content;
    padding: 3px 6px;
    border-radius: 5px;
    color: #fff;
    white-space: nowrap;
    text-transform: uppercase;
}
.matches-item-time {
    display: flex;
    align-items: center;
    gap: 5px;
}
.matches-item-time img {
    width: 24px;
    height: 24px;
}
.matches-item-right-space {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-direction: column;
    gap: 10px;
    width: 170px;
}
.matches-item-right-space-btn {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid #eee;
    border-radius: 8px;
    display: inline-block;
    padding: 5px 0;
    box-shadow: 0 0 5px #00000040;
    cursor: pointer;
    background: linear-gradient(to right, #fff, #f7f7f7);
    transition-duration: 250ms;
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #000;
    width: 100px;
}
.matches-item-right-space-btn:hover {
    box-shadow: 0 0 10px #00000060;
}

.group-tables {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}
.content-title {
    text-transform: uppercase;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    padding-bottom: 15px;
    padding-left: 10px;
}
.content-title a {
    color: #fff;
    text-decoration: none;
}
.group-table  {
    width: 100%;
}
.group-table table {
    border-spacing: 0;
    min-width: 600px;
    width: 100%;
}
.table-wrap {
    overflow-x: auto;
    border-radius: 10px;
}
.group-table table thead {
    background-color: #fff;
    color: var(--main-color);
}
.group-table table td, .group-table table th {
    font-size: 18px;
    text-align: center;
    padding: 10px;
}
.group-table table td {
    height: 65px;
}
.group-table table th {
    height: 50px;
}
.group-table table tbody tr td:nth-child(2), .group-table table thead tr th:nth-child(2) {
    text-align: left;
}
.group-table table tbody td {
    color: #fff;
    font-weight: 600;
}
.group-table table tbody tr td:nth-child(2) {
    max-width: 240px;
    width: 240px;
}
.group-table table tbody tr td:nth-child(2) span:first-child {
    cursor: pointer;
}
.group-table table tbody tr:nth-child(odd) {
    background-color: var(--orange-color);
}
.group-table table tbody tr:nth-child(even) {
    background-color: var(--orange-color-secondary);
}
.group-table-team-name {
    display: flex;
    gap: 5px;
    align-items: center;
    line-height: 18px;
    text-decoration: none;
    color: #fff;
}
.group-table-team-name .matches-item-team-city {
    padding: 3px 4px;
    text-transform: uppercase;
}
.group-table table thead tr th:last-child {
    width: 100px;
}
.group-table table tbody tr td:last-child {
    width: 100px;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding-right: 15px;
}
.group-table table tbody tr td:last-child b {
    border-radius: 5px;
    font-size: 16px;
    line-height: 28px;
    width: 28px;
    height: 28px;
    display: inline-block;
}
.group-table .group-table-w {
    background-color: #09b309;
}
.group-table .group-table-l {
    background-color: #ff0000;
}
.group-table .group-table-d {
    background-color: gray;
}

.footer {
    padding: 30px 0 0;
}
.sponsors-logos {
    padding: 30px 10px 50px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    column-gap: 50px;
    row-gap: 40px;
    flex-wrap: wrap;
}
.sponsors-logos a, .sponsors-logos img {
    max-width: 280px;
    width: 100%;
    object-fit: contain;
}
.partners-logos {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    padding: 0 10px 80px 10px;
}
.partners-logos a {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 140px;
    height: 140px;
}

.partners-logos img {
    width: 140px;
    height: 140px;
    object-fit: contain;
}
.footer-links {
    display: flex;
    background-color: #fff;
    width: 100%;
    padding: 20px 10px;
    flex-direction: row;
    gap: 30px;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.footer-links a {
    color: #000;
}
.footer-author {
    background-color: #fff;
    text-align: center;
    padding: 10px 5px 15px;
}
.footer-author a {
    color: #000;
}
.countdown-container {
    color: #fff;
    padding: 20px 10px;
    text-align: center;
}
.countdown {
    background-color: #fff;
    color: #000;
    border-radius: 5px;
    padding: 5px 15px;
    margin-top: 10px;
    font-size: 24px;
    font-weight: 600;
}

.map-block {
    position: relative;
}
.map-block iframe {
    width: 100%;
    height: 350px;
    border-radius: 10px;
}
.map-block img {
    width: 100%;
    object-fit: cover;
    height: 250px;
    border-radius: 10px;
}
.map-block-title {
    position: absolute;
    top: 6px;
    left: 6px;
    background-color: #fff;
    color: #000;
    box-shadow: 0 0 20px #00000080;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
}

.modal-overlay {
    opacity: 0;
    background-color: #000000bb;
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    transition-duration: 250ms;
}
.image-modal {
    margin: 10px;
    border-radius: 10px;
    overflow: hidden;
}
.image-modal-img {
    background-color: transparent;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}
.image-modal-img img {
    object-fit: contain;
    width: 100%;
    max-height: 80vh;
}
.image-modal-description {
    padding: 20px 10px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.image-modal-description-goals-link {
    text-decoration: none;
    color: #fff;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 18px;
    background-color: var(--orange-color);
    text-align: center;
    transition-duration: 250ms;
}
.image-modal-description-goals-link:hover {
    box-shadow: 0 0 8px var(--orange-color);
}
.image-modal-description-team-name {
    font-weight: 700;
    font-size: 26px;
    text-align: center;
}
.modal-close {
    background-image: url('/images/material-symbols--close.svg');
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #000000ab;
    background-size: 40px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.games-item-live-indicator {
    height: 20px;
    color: red;
    text-align: center;
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    padding: 3px;
    text-transform: uppercase;
}
.pulsating-circle {
    width: 8px;
    height: 8px;
    position: relative;
    margin-bottom: 1px;
    border-radius: 50%;
    background-color: rgb(235, 3, 3);
    &:before {
      content: '';
      position: relative;
      display: block;
      width: 300%;
      height: 300%;
      box-sizing: border-box;
      margin-left: -100%;
      margin-top: -100%;
      border-radius: 45px;
      background-color: red;
      animation: pulse-ring 1.25s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    }
}

@keyframes pulse-ring {
0% {
    transform: scale(.33);
}
80%, 100% {
    opacity: 0;
}
}

@keyframes pulse-dot {
0% {
    transform: scale(.8);
}
50% {
    transform: scale(1);
}
100% {
    transform: scale(.8);
}
}

/* PLAYER IMAGE */
.player-img {
    overflow: hidden;
    width: 45px;
    min-width: 45px;
    height: 45px;
    min-height: 45px;
    border-radius: 50%;
}
.player-img img {
    object-position: center;
    transform: scale(1.1) translateY(3px);
    object-fit: cover;
    width: 45px;
    height: 45px;
}

.player-img-container {
    position: relative;
    padding: 4px 0;
}
.player-img-container:hover:not(.player-img-large) .player-img-large {
    display: flex !important;
}
.player-img-large {
    position: absolute;
    transform: translateY(-60%);
    left: 105%;
    width: 200px;
    height: auto;
    max-height: 300px;
    display: none;
    border-radius: 10px;
    z-index: 10;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    overflow: hidden;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background-color: #fff;
}
.player-img-large img {
    width: 100%;
}
.player-img-large span {
    color: #000;
    padding: 5px 0;
}
/* --- */

/* Tournament schedule */
.tournament-schedule-title {
    color: #fff;
    text-align: center;
    padding-bottom: 50px;
}
.tournament-schedule-title h2 {
    font-size: 36px;
    text-transform: uppercase;
}
.tournament-schedule-title span {
    font-size: 14px;
}
.tournament-schedule {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
}
.tournament-schedule > div {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    height: 90px;
}
.tournament-schedule-datetext {
    display: flex;
    flex-direction: column;
    transform: translateY(-10px);
}
.tournament-schedule > div > div:nth-child(1) {
    align-items: flex-end;
    text-align: right;
}
.tournament-schedule > div > div:nth-child(1), .tournament-schedule > div > div:nth-child(3) {
    flex: 1;
}
.tournament-schedule > div > div:nth-child(2) {
    width: 30px;
    height: 30px;
}
.tournament-schedule-date {
    color: var(--orange-color);
    font-size: 26px;
    font-weight: 900;
}
.tournament-schedule-text {
    color: #fff;
    font-size: 20px;
}
.tournament-schedule-middle-square {
    background-color: var(--orange-color);
    width: 20px;
    height: 20px;
    border: 5px solid var(--orange-color);
    position: relative;
}
.tournament-schedule-middle-square::after {
    content: '';
    display: block;
    background: #000;
    width: 8px;
    height: 90px;
    position: absolute;
    top: 100%;
    left: 6px;
    z-index: -1;
}
.tournament-schedule-middle-square-black {
    background-color: #000;
}
.tournament-schedule > div:last-child .tournament-schedule-middle-square::after {
    display: none;
}
@media screen and (max-width: 768px) {
    .tournament-schedule-title h2 {
        font-size: 28px;
    }
    .tournament-schedule-date {
        font-size: 20px;
    }
    .tournament-schedule-text {
        color: #fff;
        font-size: 16px;
    }
    .tournament-schedule {
        padding-bottom: 15px;
    }
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 8px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 25px;
}
.gallery-item {
    overflow: hidden;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition-duration: 250ms;
}
.gallery-item img:hover {
    transform: scale(1.1);
}
.gallery-view-all {
    text-decoration: none;
    color: #000;
    background-color: #fff;
    border-radius: 8px;
    padding: 8px 16px;
    transition-duration: 250ms;
}
.gallery-view-all:hover {
    background-color: var(--orange-color);
    color: #fff;
}
.go-to-top {
    position: fixed;
    right: 10px;
    bottom: 10px;
    transform: translateY(100px);
    border-radius: 50%;
    background-color: #fff;
    color: #000;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 10px #00000080;
    transition-duration: 250ms;
    z-index: 99999;
}
.go-to-top-show {
    transform: translateY(0);
}
.go-to-top svg {
    width: 26px;
    height: 26px;
}

/* TEAMS */
.teams-page, .team-page, .about-page, #teams-page-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.teams-page h3, .teams-page h4 {
    color: #fff;
}
.teams-page h3 {
    font-size: 36px;
    padding-top: 10px;
}
.teams-page h4 {
    padding-bottom: 10px;
    font-size: 32px;
}
.teams-page .teams-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 30px 15px 60px;
    justify-content: center;
}
.teams-list-row {
    display: flex;
    gap: 40px;
    justify-content: space-around;
}
.teams-list-row > div {
    flex: 1;
}
.teams-page .teams-list-item {
    max-width: 200px;
    text-decoration: none;
}
.teams-page .teams-list-item-img, .team-page .team-logo .team-logo-img {
    background-color: #fff;
    border-radius: 10px;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}
.teams-page .teams-list-item-img {
    overflow: hidden;
    cursor: pointer;
}
.teams-page .teams-list-item-img:hover img {
    transform: scale(1.05);
}
.teams-page .teams-list-item img {
    transition-duration: 250ms;
    width: 100%;
}
.teams-page .teams-list-item p, .team-page .team-logo p {
    color: #fff;
    font-weight: 600;
    font-size: 36px;
    text-align: center;
    margin-top: 10px;
}
.teams-page .teams-list-item p {
    font-size: 20px;
    line-height: 20px;
}
.teams-list-item-name {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
    flex-direction: column;
}
.teams-list-item-name .matches-item-team-city {
    font-size: 16px;
    background-color: #000;
    padding: 4px 8px;
    line-height: 1;
}
.white-box-red-text {
    color: var(--main-color);
    background-color:#fff;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
}

/* INDIVIDUAL TEAM PAGE */
.team-page .logo {
    width: 150px;
}
.team-page .team-logo {
    padding: 25px 10px 10px;
    max-width: 300px;

}
.team-page .team-logo img {
    width: 100%;
}

/* ABOUT PAGE */
.about-page {
    color: #fff;
}
.about-page h3 {
    font-size: 36px;
    padding-top: 10px;
}
.about-page p {
    font-size: 18px;
    text-align: justify;
    line-height: 24px;
    max-width: 750px;
    padding: 0 10px;
    padding-bottom: 20px;
}
.about-page p:first-of-type {
    padding-top: 30px;
}
.about-page p:last-of-type {
    padding-bottom: 30px;
}

.gallery-view-all-btns {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 10px;
}
.gallery-view-all-btns a {
    text-align: center;
}
/*------------------------------------*\
    MATERIAL PHOTO GALLERY
\*------------------------------------*/
    .m-p-g {
        border-radius: 15px;
        overflow: hidden;
        max-width: 100% !important;
    }
    .m-p-g__thumbs {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        width: 100%;
    }
    .m-p-g__thumbs > div {
        width: 100%;
        aspect-ratio: 4/3;
        overflow: hidden;
    }
    .m-p-g__thumbs-img {
        margin: 0;
        vertical-align: bottom;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        cursor: pointer;
        z-index: 1;
        position: relative;
        opacity: 0;
        filter: brightness(100%);
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
        will-change: opacity, transform;
        transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    }
    .m-p-g__thumbs-img:hover {
        transform: scale(1.1);
    }
    .m-p-g__fullscreen {
        z-index: 9998 !important;
    }
    .m-p-g__controls {
        z-index: 9999 !important;
    }

    /* For tablets */
    @media screen and (max-width: 768px) {
        .m-p-g__thumbs {
            grid-template-columns: repeat(2, 1fr);
        }
        .gallery-view-all-btns {
            flex-direction: column;
        }
        .gallery-view-all-btns a {
            flex: 1;
        }
    }

    /* For mobile phones */
    @media screen and (max-width: 480px) {
        .m-p-g__thumbs {
            grid-template-columns: 1fr;
        }
    }

/* ------ */
@media screen and (max-height: 600px) {
    .image-modal-description {
        padding: 8px;
    }
    .image-modal-description-goals-link {
        font-size: 16px;
        padding: 10px 15px;
    }
}
@media screen and (max-width: 960px) {
    .teams-page .teams-list-item {
        max-width: 150px;
    }
}

@media screen and (max-width: 880px) {
    .teams-page .teams-list {
        gap: 30px;
        padding: 30px 15px;
    }
    .content-title {
        font-size: 22px;
    }
    /* .footer {
        padding-top: 0;
    } */
    .partners-logos {
        gap: 20px;
        padding: 0 10px 50px 10px;
        flex-direction: column;
    }
    .matches-items {
        gap: 4px;
    }
    .matches-item {
        flex-direction: column;
        padding: 8px 4px;
    }
    .matches-item-team {
        gap: 3px;
    }
    .matches-item-team img {
        width: 70px;
        height: 70px;
    }
    .matches-item-description {
        padding-left: 0;
        padding-bottom: 8px;
        align-items: center;
        font-size: 14px;
        flex-direction: column;
        gap: 3px;
        width: 100%;
    }
    .matches-item-description-title-time {
        flex-direction: row;
    }
    .matches-item-time {
        justify-content: center;
        width: auto;
        transform: translateX(-2px);
    }
    .matches-item-time img {
        width: 20px;
        height: 20px;
    }
    .matches-item-score {
        max-width: auto;
        width: auto;
        padding: 0;
    }
    .matches-item-score-nums {
        gap: 5px;
    }
    .matches-item-teams {
        width: 100%;
        gap: 5px;
    }
    .matches-item-team {
        flex-direction: column;
        flex: 2;
        text-align: center !important;
    }
    .matches-item-team:first-child {
        flex-direction: column-reverse;
        width: auto;
    }
    .matches-item-team-name {
        font-size: 16px;
        line-height: 15px;
    }
    .matches-item-right-space {
        flex-direction: row;
        width: auto;
        padding-right: 0;
        padding-top: 10px;
    }
    .matches-item-location div {
        flex-direction: row;
        gap: 5px;
    }
    .matches-item-description-title-time {
        gap: 10px;
    }
    .matches-item-location-dash {
        display: inline;
        padding-left: 5px;
    }
    .video-player {
        height: auto;
        padding: 15px 10px;
    }
}

@media screen and (max-width: 768px) {
    .footer-author {
        padding-bottom: 60px;
    }
    .footer-links {
        flex-direction: column;
    }
    .teams-list {
        flex-direction: column;
        gap: 15px;
    }
    .teams-list-row {
        flex-direction: column;
        gap: 15px;
    }
    .teams-page .teams-list-item {
        max-width: 300px;
    }
    .team-page .team-logo p {
        font-size: 22px;
    }
    .menu {
        width: 100%;
        border-radius: 0;
        transform: translateX(0);
        left: 0;
        position: fixed;
        height: 60px;
        z-index: 1000;
    }
    .menu-logo {
        display: block !important;
    }
    .menu-toggle {
        display: block;
    }
    .menu-mojaekipa-link {
        display: flex !important;
    }
    .menu-items {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--dark-green-color);
        padding: 0;
        height: auto;
        box-shadow: 0 3px 8px #0000007c;
        z-index: 999;
    }
    .menu.active {
        height: 417px;
    }
    .menu.active .menu-items {
        display: flex;
    }
    .menu-items a {
        width: 100%;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        justify-content: flex-start;
    }
    .menu-items a:last-child {
        border-bottom: none;
    }
    .menu a {
        flex: none;
        width: 100%;
        padding: 15px 20px;
    }
    .menu a:first-child {
        padding-left: 20px;
    }
    .menu a:last-child {
        padding-right: 20px;
    }
    .gallery {
        grid-gap: 3px;
    }
    .top-left-fixed {
        border-left: 10px solid #fff;
        border-right: 10px solid transparent;
        border-bottom: 10px solid transparent;
        left: 0;
        top: 60px;
    }
    .top-left-fixed1 {height: 55px;}
    .top-left-fixed2 {height: 40px;left: 15px;}
    .top-left-fixed3 {height: 25px;left: 30px;}
    .top-left-fixed4 {height: 0;left: 45px;}

    .top-right-fixed {
        border-left: 10px solid transparent;
        border-right: 10px solid var(--orange-color);
        border-bottom: 10px solid transparent;
        right: 0;
        top: 60px;
    }
    .top-right-fixed1 {height: 55px;}
    .top-right-fixed2 {height: 40px;right: 15px;}
    .top-right-fixed3 {height: 25px;right: 30px;}
    .top-right-fixed4 {height: 0;right: 45px;}

    .header {
        flex-direction: column;
        height: auto;
        gap: 15px;
    }
    .white-spacer {
        display: none;
    }
    .logo {
        width: 100%;
        max-width: 220px;
    }
    .title {
        text-align: center;
        padding-bottom: 20px;
    }
    .title h1 {
        word-spacing: normal;
    }
    .title-socials {
        justify-content: center;
        gap: 10px;
    }
    .title-socials a {
        width: 35px;
    }
    .title-socials a:first-child {
        width: 41px;
    }
    .description {
        margin-top: 5px;
    }
    .announcer img {
        padding-bottom: 5px;
    }
    .announcer p {
        font-size: 16px;
    }
    .matches-item-team-wrap {
        padding-top: 5px;
        flex-direction: column;
    }
    .watch-finals a {
        padding: 15px;
        font-size: 16px;
    }
    /* .watch-finals a span:last-child {
        font-size: 14px;
        transform: translateY(-5px);
    } */
    .watch-finals svg {
        width: 22px;
        height: 22px;
    }
    .group-table table {
        min-width: 0;
    }
    .group-table table td, .group-table table th {
        font-size: 16px;
        text-align: center;
        padding: 10px 8px;
    }
    .group-table table td {
        height: 50px;
    }
    .group-table table th {
        height: 40px;
        min-width: 35px;
    }
    .group-table table tbody tr td:nth-child(2) {
        max-width: auto;
        width: auto;
    }
    .group-table table thead tr th:last-child {
        width: 80px;
    }
    .group-table table tbody tr td:last-child {
        padding-right: 5px;
        width: 80px;
    }
    .group-table table tbody tr td:last-child b {
        font-size: 14px;
        width: 24px;
        height: 24px;
        line-height: 24px;
    }
    .image-modal-description {
        padding: 8px;
    }
    .image-modal-description-goals-link {
        font-size: 16px;
        padding: 10px 15px;
    }
    .image-modal-description-team-name {
        font-size: 18px;
    }
    .team-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-page p {
        font-size: 16px;
        line-height: 18px;
    }
    .matches-select select {
        padding: 5px;
        font-size: 18px;
    }
}
@media screen and (max-width: 640px) {
    .teams-page .teams-list {
        grid-template-columns: repeat(2, minmax(0, 250px));
        gap: 20px;
        padding: 30px 20px;
    }
    .teams-page .teams-list-item-img {
        padding: 5px;
    }
    .teams-page .teams-list-item p {
        font-size: 16px;
        line-height: 16px;
    }
}
@media screen and (max-width: 420px) {
    .description {
        width: 95%;
        position: relative;
    }
    .description img {
        width: 22px;
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
    }
    .description div:last-child img {
        right: 16px;
        left: auto;
    }
    .team-gallery {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 5px;
    }
}