:root{
    --bg:#ffffff;
    --fg:#0b1020;
    --muted:#5a6478;
    --border:#dadde2;
    --card:#ffffff;
    --primary:#112269;
    --primary2: #3455c1;
    --primary3: #155dfc;
    --secondary:#f08a24;
    --main-width: 1200px;
    --menu-width: 1400px;
    --heading-color:#0c1a52;
}
*{margin:0;padding:0;box-sizing:border-box;} 
  html{scroll-behavior:smooth}
  body{margin:0;
    font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--fg);background:var(--bg);line-height:1.5}
  h1,h2,h3,h4,h5,h6{text-transform:uppercase}
  img{max-width:100%;display:block}
  a{color:inherit;text-decoration:none}

h2, .nav a, .match, .button-link, .copy, button {
    font-family:"Oswald",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
header {
    position:sticky;
    top:0;
    z-index:40;
    background:rgba(255,255,255,.85);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--border);
    box-shadow: 0 0 20px #00000030;
}
.gtranslate_wrapper {
    /* display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center; */
    padding-left: 10px;
}
.gtranslate_wrapper .glink {
    margin-left: 4px;
}
.container-wrap {
    border-bottom:1px solid var(--border);
}
.container-wrap:nth-child(odd) {
    background-color: #f8fafc;
}
section {
    scroll-margin-top: 40px;
}
section#matches {
    scroll-margin-top: 70px;
    padding-top: 40px;
}
section.container {
    max-width: var(--main-width);
    margin: 0 auto;
    padding: 80px 24px
}
section.sponsors {
    display: flex;
    flex-direction: row;
    gap: 100px;
    justify-content: center;
    align-items: center;
    padding: 20px 20px 0;
}
.sponsors img {
    width: 250px;
    height: 250px;
    object-fit: contain;
}
.sponsors .smaller-sponsor-logo {
    width: 230px;
    height: 230px;
}

/* Opacity overlay */
.opacity-overlay {
    position: fixed;
    z-index: 9999;
    background-color: #000000aa;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    transition-duration: 250ms;
    opacity: 0;
}

/* Modal box */
.modal-box {
    position: relative;
    box-sizing: border-box;
    transition-duration: 250ms;
    padding: 0;
    margin: 3px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 3px 3px 15px #333;
    width: 1280px;
    min-height: 250px;
    max-height: 90%;
    overflow: hidden;
    transform: scale(0.9);
    color: #000;
}
.modal-box-exit-btn {
    position: absolute;
    padding: 0;
    width: 32px;
    height: 32px;
    top: 5px;
    right: 5px;
    cursor: pointer;
    border-radius: 100%;
    transition-duration: 250ms;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal-box-exit-btn svg {
    width: 12px;
    height: 12px;
}
.modal-box-exit-btn:hover {
    background-color: #ddd;
}
.modal-info-header-title, .team-stats-games-title {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 0 8px 0;
    text-align: center;
    /* font-style: italic; */
}


.button-link {
    padding: 5px 10px;
    border-radius: 8px;
    background-color: var(--primary);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 18px;
}
.link-colored {
    color: var(--primary)
}
.nav {
    max-width:var(--menu-width);
    margin:0 auto;
    padding:5px 20px;
    display:flex;
    position: relative;
    align-items:center;
    justify-content:space-between;
    height: 100px;
    transition: height 200ms ease;
}
.nav .logo {
    height: 100%;
}
.logo img, .footer-logo img {
    width: 100%;
    max-width: 150px;
    height: auto;
    object-fit: contain;
}
.nav .logo img {
    height: 100%;
}
.footer-logo img {
    max-width: 250px;
}
.nav ul{
    list-style:none;
    display:flex;
    gap:25px;
    margin:0;
    padding:0;
    font-size:16px;
    font-weight:500;
}
.nav ul li {

}
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    opacity: 1;
    width: 20px;
    height: 2px;
    background: var(--primary);
    transition: all 200ms ease-in-out;
}
.nav ul li a {
    color:#434d66;
    font-weight: 700;
    text-transform: uppercase;
    transition-duration: 200ms;
    letter-spacing: 1px;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.nav ul li a:not(.glink):hover {
    color: #000;
    border-bottom-color: var(--primary2);
}

.hero-slider {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    background-image: url('images/slider-desktop.png');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top center;
}


h2 {
    font-size:clamp(32px,5vw,48px);
    font-weight:900;
    letter-spacing:-.02em;
    color:var(--primary);
    margin:0 0 32px;
    font-style: italic;
    position: relative;
}
h2::before {
    content: '';
    width: 50px;
    height: 4px;
    background-color: var(--primary3);
    display: block;
    top: 100%;
    position: absolute;
}

.matches-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 30px;
}
.matches-head-location {
    font-size: 22px;
}
.matches-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.box-wrap, .box-wrap-no-hover {
    padding: 4px;
    background-color: #fff;
    border-radius: 18px;
    border: 1px solid #f1f3f5;
    box-shadow: 0 3px 7px rgb(0, 0, 0, 0.15);
    transition: all 300ms;
}
.match {
    display: flex;
    gap: 10px;
    background: var(--card);
    border: 1px solid #f1f3f5;
    border-radius: 14px;
    padding: 0;
    transition: border-color .2s;
    min-height: 150px;
    overflow: hidden;
}
.box-wrap:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px rgb(0, 0, 0, 0.175);
}
.box-wrap-no-hover:hover {
    transform: unset;
    box-shadow: 0 3px 7px rgb(0, 0, 0, 0.075);
}
.match .vs {
    color: #bdc2c9;
    font-size: 18px;
    font-weight:600;
    font-style: italic;
    padding-top: 2px;
    width: 50px;
    text-align: center;
}

.match .match-left {
    width: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 10px;
    background-color: #f8f8f8;
    border-right: 1px solid #f1f3f5;
    text-transform: uppercase;
}
.match .match-middle-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100px;
    padding: 10px 0;
}
.match .match-middle {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    font-size: 20px;
    font-weight: 700;
    padding: 10px 0;
    width: 100%;
}
.match .match-middle-tbd {
    color:#90a1b9;
    font-size: 24px;
    font-style: italic;
    font-weight: 700;
}
.match .match-middle-team {
    display: flex;
    gap: 10px;
    flex-direction: row;
    align-items: center;
    line-height: 1.1;
    flex: 1;
    color: #40536e;
}
.match-middle-score {
    display: flex;
    gap: 2px;
    font-size: 46px;
    color: #40536e;
    padding: 0 5px;
    line-height: 46px;
    flex-wrap: nowrap;
    font-family:"Oswald",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
.match-middle-score-greater {
    color: var(--primary2);
}
.team-info-modal-box-page .match-middle-score {
    padding: 0 15px;
    font-size: 36px;
    font-weight: 700;
}

.match-quarters {
    display: flex;
    gap: 3px;
    background-color: #fff;
    overflow: hidden;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
}
.match-quarters span {
    background: #eee;
    padding: 2px 5px;
    white-space: nowrap;
    font-size: 14px;
}
.match-quarters span:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.match-quarters span:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}


.match .match-referees {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 0 0;
}
.match .match-referees img {
    width: 24px;
    height: 24px;
}
.match .match-middle-team:first-child {
    flex-direction: row-reverse;
    justify-content: flex-start;
    text-align: center;
}
.match .match-middle-team img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}
.match .match-right {
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 10px 15px 10px 0;
    gap: 5px;
}
.match .match-right-btn {
    border: 1px solid #e9e9e9;
    width: 170px;
    padding: 5px 10px;
    text-transform: uppercase;
    border-radius: 10px;
    background-color: #f8f8f8;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition-duration: 200ms;
    cursor: pointer;
    font-size: 16px;
}
.match .match-right-btn:hover {
    box-shadow: 0 3px 6px #00000020;
}
.match .match-right-btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.match .match-name {
    text-transform: uppercase;
    color: var(--primary2);
    font-weight: 700;
}
.match .match-datetime, .match .match-location  {
    display: flex;
    align-items: center;
    gap: 5px;
}

.about-container p {
    font-size:18px;
    color:#2a3245;
    margin:0 0 16px;
}

.about-teams-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 30px;
}
.about-teams-list > div {
    display: flex;
    padding: 10px;
    align-items: center;
    gap: 20px;
    background: var(--card);
    border: 1px solid #eee;
    border-radius: 14px;
}
.about-teams-list div img {
    width: 100px;
    min-width: 100px;
    height: 80px;
    object-fit: contain;
}
.about-teams-list p {
    margin-bottom: 0;
}

.champions-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.champions-grid > div {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
}
.champion-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0px;
    padding: 15px 10px 10px;
    background: #fafbfd;
    border: 1px solid #f1f3f5;
    border-radius: 14px;
    height: 100%;
    background-image: url('/images/trophy-bg.png');
    background-size: 100%;
    background-position: center 30%;
    background-repeat: no-repeat;
    position: relative;

}
.champion-card img {
    max-width: 200px;
    max-height: 200px;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.champion-place {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    padding-top: 10px;
    position: relative;
}
.champion-place::after, .champion-place::before {
    content: '';
    display: block;
    width: 15px;
    height: 2px;
    position: absolute;
    top: calc(50% + 4px);
    background:red;
}
.champion-place::after {
    background: linear-gradient(to right, #f08a2490, #fafbfd);
    position: absolute;
    left: -18px;
}
.champion-place::before {
    background: linear-gradient(to left, #f08a2490, #fafbfd);
    left: calc(100% + 2px);
}
.champion-year {
    font-family: "Oswald", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    /* color: var(--primary2); */
    font-weight: 700;
    font-size: 28px;
    line-height: 1.1;
    padding: 0 0 10px;
    background: linear-gradient(
        to bottom,
        var(--primary2) 40%,
        var(--primary) 60%,
        var(--primary2) 80%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.champion-team {
    font-family: "Oswald", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 22px;
    font-weight: 500;
    text-transform: uppercase;
    color: #17202c;
    line-height: 1.1;
}
.champion-from {
    font-size: 14px;
    padding-top: 5px;
}

.gallery{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 8px;
}
.gallery .tile{
    aspect-ratio:4/3;
    overflow:hidden;
    border-radius:10px;
    background:#eee;
    cursor:pointer
}
.gallery img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.gallery .tile:hover img{transform:scale(1.05)}

.lightbox{
    position:fixed;
    inset:0;
    display:none;
    visibility: hidden;
    opacity: 0;
    align-items:center;
    justify-content:center;
    background:rgba(8,12,24,.9);
    z-index:1000;
    padding:20px;
    transition: 250ms;
}
.lightbox.open{
    opacity:1;
    visibility: visible;
}
.lightbox-image{max-width:min(var(--main-width),92vw);max-height:88vh;object-fit:contain;border-radius:8px}
.lightbox-btn{position:absolute;border:0;background:rgba(255,255,255,.18);color:#fff;width:46px;height:46px;border-radius:50%;font-size:28px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;backdrop-filter:blur(4px)}
.lightbox-btn:hover{background:rgba(255,255,255,.3)}
.lightbox-close{top:20px;right:20px;font-size:28px;}
.lightbox-prev{left:20px;top:50%;transform:translateY(-50%)}
.lightbox-next{right:20px;top:50%;transform:translateY(-50%)}

    @media (max-width:720px){
        .lightbox-btn{width:42px;height:42px;font-size:24px}
        .lightbox-prev{left:10px}
        .lightbox-next{right:10px}
        .lightbox-close{top:10px;right:10px}
    }

footer{
    background:var(--primary);
    background-image:
        linear-gradient(to right,#1d3a8af6, #1d3a8af1),
        url("images/3698.jpg");
    background-size: cover;
    background-position: center;
    background-position: center;
    color:#fff;
}
.foot{
    max-width:var(--main-width);
    margin:0 auto;
    padding:40px 24px;
    display:flex;
    flex-direction:column;
    gap:16px;
    align-items:center;
    justify-content:space-between;
}
  @media(min-width:720px){.foot{flex-direction:row}}
  .ig{display:inline-flex;gap:8px;align-items:center}
  .ig:hover{color:var(--secondary)}
.copy{
    opacity: .9;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

/* TIMELINE */
.timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    align-items: stretch;
    gap: 0;
    position: relative;
    margin-bottom: 18px;
}

/* Vertical line behind icons */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 36px;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, #2563c4 0%, #2563c4 100%);
    border-radius: 2px;
    z-index: 0;
}
.timeline-item:last-child::before {
    display: none;
}
/* Icon circle */
.icon-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 120px;
    z-index: 1;
    padding-top: 16px;
    padding-right: 50px;
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid var(--primary2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 12px rgba(37, 99, 196, 0.13);
}

.icon-circle img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

/* Connector dot */
.connector {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 52px;
    transform: translateX(-1px);
    position: absolute;
    top: 51px;
    left: 70px;
    z-index: 3;
}

.connector-line {
    flex: 1;
    height: 2px;
    background: var(--primary2);
}

.connector-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary2);
    flex-shrink: 0;
    z-index: 999;
    position: absolute;
    left: calc(100% - 5px);
}
.connector .connector-dot:first-child {
    left: -4px;
}

/* Card */
.timeline .box-wrap-no-hover {
    width: 100%;
    z-index: 2;
}
.card {
    flex: 1;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(37, 99, 196, 0.09);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    min-height: 80px;
}

.card-body {
    flex: 1;
    padding: 18px 20px;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.card-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
    flex-direction: column;
    border-right: 1px solid #edf0f7;
    width: 125px;
    min-width: 125px;
}

.day-name {
    font-family:"Oswald",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary2);
    line-height: 1;
}

.day-date {
    font-family:"Oswald",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.01em;
    color: #1a1a2e;
    line-height: 1;
}

/* Simple card (one-liner events) */
.card-simple-desc {
    font-size: 16px;
    color: #444;
    font-weight: 400;
    padding-left: 20px;
    display: flex;
    align-items: center;
}

/* Detailed card rows */
.card-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 20px;
}

.card-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.card-row + .card-row {
    padding-top: 12px;
    border-top: 1px solid #edf0f7;
}

.row-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.row-icon svg {
    width: 18px;
    height: 18px;
    stroke: #2563c4;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.row-icon svg.fill-icon {
    fill: #2563c4;
    stroke: none;
}

.row-content {
    flex: 1;
}

.row-time {
    font-weight: 700;
    font-size: 16px;
    color: #1a1a2e;
    line-height: 1.3;
}

.row-desc {
    font-size: 16px;
    color: #5a6a84;
    font-weight: 400;
    margin-top: 1px;
    line-height: 1.45;
}

@media screen and (max-width: 768px) {
    .card-body {
        flex-direction: column;
        padding: 15px 18px;
    }
    .card-header {
        border-right: none;
        border-bottom: 1px solid #edf0f7;
        width: 100%;
        min-width: auto;
        padding-bottom: 15px;
        gap: 5px;
    }
    .card-simple-desc, .card-rows {
        padding-left: 0;
    }
    .icon-col {
        width: 70px;
        padding-right: 20px;
    }
    .icon-circle {
        width: 50px;
        height: 50px;
    }
    .icon-circle img {
        width: 32px;
        height: 32px;
    }
    .timeline-item::before {
        left: 24px;
    }
    .connector {
        top: 42px;
        left: 50px;
        width: 22px;
    }
    .connector-dot {
        width: 6px;
        height: 6px;
        left: calc(100% - 4px);
    }
    .connector .connector-dot:first-child {
        left: -3px;
    }
    .day-name, .day-date {
        font-size: 20px;
    }
    .row-desc {
        line-height: 1.2;
    }

}

/* ---- */

.go-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    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 3px 7px rgb(0, 0, 0, 0.4);
    transition-duration: 250ms;
    z-index: 99999;
}
.go-to-top-show {
    transform: translateY(0);
}
.go-to-top svg {
    width: 26px;
    height: 26px;
}

.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;}
.bold-text {font-weight: bold;}
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }
.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;}
.white-space-nowrap { white-space: nowrap; }
.cursor-pointer { cursor: pointer;}

@media screen and (max-width: 1100px) {
    .match {
        flex-direction: column;
        height: auto;
        gap: 0;
    }
    .match .match-left, .match .match-right {
        width: 100%;
        flex-direction: row;
        padding: 10px 5px 5px;
    }
    .match .match-right-btn {
        font-size: 14px;
        width: fit-content;
    }
    .match .match-name {
        width: 100%;
        border-bottom-right-radius: 0;
    }
    .match .match-left {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        border-right: none;
        border-bottom: 1px solid #f1f3f5;
    }
    .match .match-middle-wrap {
        padding-bottom: 0;
    }
    .match .match-middle {
        padding: 10px 5px;
        font-size: 16px;
        min-height: 110px;
        gap: 15px;
    }
    .match .vs {
        width: 30px;
    }
    .match .match-middle-team {
        flex-direction: column;
    }
    .match .match-middle-team:first-child {
        flex-direction: column;
    }
    .nav ul {
        gap: 15px;
    }
    .nav ul li a {
        font-size: 14px;
    }
    .gtranslate_wrapper  {
        padding-left: 0;
    }
}
@media screen and (max-width: 860px) {
    .nav {
        height: 80px;
    }
    .nav-toggle {
        display: inline-flex;
    }
    .nav ul {
        position: absolute;
        top: 100%;
        right: 10px;
        left: 10px;
        visibility: hidden;
        flex-direction: column;
        gap: 6px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 12px;
        opacity: 0;
        padding: 10px;
        box-shadow: 0 5px 28px rgba(0,0,0,.4);
        transition: 250ms ease-in-out;
        transform: translateY(2px);
    }
    .nav ul.open {
        visibility: visible;
        transform: translateY(10px);
        opacity: 1;
    }
    .nav ul li a:not(.glink) {
        display: block;
        padding: 10px;
        border-radius: 8px;
    }
    .nav .nav-toggle[aria-expanded='true'] span:first-child {
        transform: translateY(8px) rotate(45deg);
    }
    .nav .nav-toggle[aria-expanded='true'] span:nth-child(2) {
        opacity: 0;
    }
    .nav .nav-toggle[aria-expanded='true'] span:last-child {
        transform: translateY(-6px) rotate(-45deg);
    }
    .nav ul li a:not(.glink):hover {
        background: #f3f6ff;
        border-bottom-color: transparent;
    }
    .gtranslate_wrapper  {
        padding-left: 6px;
    }
}
@media screen and (max-width: 800px) {
    .hero-slider {
        aspect-ratio: 0.81;
        background-image: url('images/slider-tablet.png');
    }
}

@media screen and (max-width: 768px) {
    .go-to-top {
        bottom: 12px;
        right: 12px;
    }
    .button-link {
        font-size: 16px;
    }
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-links {
        gap: 8px !important;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-links a {
        text-align: center;
    }
    
    section.container {
        padding: 60px 15px;
    }
    section.sponsors {
        padding: 20px 15px;
        gap: 15px;
    }
    section#matches {
        scroll-margin-top: 90px;
        padding-top: 30px;
    }
    .sponsors img {
        width: 200px;
        height: auto;
        aspect-ratio: 1;
    }
    .sponsors .smaller-sponsor-logo {
        width: 180px;
        height: auto;
    }
    .about-container p {
        font-size: 16px;
    }
    .match .match-middle-team {
        line-height: 1;
    }
    .match .match-middle-score {
        font-size: 32px;
    }
    
    .match-quarters {
        padding-bottom: 5px;
    }
    .match-quarters span {
        font-size: 13px;
    }
}

@media screen and (max-width:560px) {
    .hero-slider {
        aspect-ratio: 2 / 3;
        background-image: url('images/slider-phone.png');
    }
}