html, body {
    overflow-x: hidden;
}

body {
    text-transform: none;
    font-weight: 500;
}

.logo {
    display: flex;
    align-items: center;
    height: 60px; /* altezza del tuo header */
    overflow: visible; /* permette al logo di uscire */
    position: relative;
    top: 40px;
}

.header-1.sticky .logo img {
    max-height: 80px;
}

.header-1.sticky .logo {
    top: 0px;
}

.offcanvas__logo img {
    max-height: 200px;
}

.logo img {
    max-height: 150px;
}

.hero-1 .hero-content h6 {
  font-size: 3rem;
}

.player-image {
    position: relative;
    overflow: hidden;
}

.player-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%; /* puoi aumentare o diminuire */
    background: linear-gradient(
        to top,
        #073d7b 0%,
        rgba(7, 61, 123, 0.7) 40%,
        rgba(7, 61, 123, 0) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Porta le scritte sopra il layer */
.player-image .number,
.player-image .player-content,
.player-image .content-item {
    position: relative;
    z-index: 2;
}

.our-club-payer-item h4 {
  color: #fff;
}



.footer-widget-items .widget-head img {
  max-height: 250px;
}

.ticket-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.ticket-table thead th {
    background: var(--theme);
    color: #fff;
    padding: 12px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

.ticket-table td {
    padding: 12px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 15px;
}

.ticket-table tr:hover td {
    background: #fafafa;
}

.gt-breadcrumb-wrapper .gt-page-heading {
    padding: 200px 0 100px;
}

.about-section .about-wrapper .hero_title.tv_hero_title.hero_title_1 {
    font-size: 2.3rem;
}

.gt-breadcrumb-wrapper .gt-page-heading .breadTitle {
    font-size: 72px;
    position: relative;
    text-transform: uppercase;
    z-index: 9;
    font-weight: 900;
    letter-spacing: 0.36px;
}




.timeline-wrapper {
    position: relative;
    margin: 60px auto;
    padding: 0 20px;
}

/* LINEA CENTRALE */
.timeline-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #e5e5e5;
    transform: translateX(-50%);
}

/* ITEM BASE */
.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 30px;
}

/* ITEM SINISTRA */
.timeline-item {
    left: 0;
    text-align: left;
}

/* ITEM DESTRA */
.timeline-item--reverse {
    left: 50%;
    text-align: right;
}

/* PALLINO */
.timeline-item::before {
    content: "";
    position: absolute;
    top: 20px;
    width: 18px;
    height: 18px;
    background: var(--theme);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #2DC45733;
}

/* PALLINO SINISTRA */
.timeline-item::before {
    right: -9px; /* vicino alla linea centrale */
}

/* PALLINO DESTRA */
.timeline-item--reverse::before {
    left: -9px;
    right: auto;
}

/* CONTENUTO */
.timeline-content {
    background: #fff;
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.timeline-year {
    font-size: 22px;
    font-weight: 700;
    color: var(--theme);
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.timeline-desc {
    font-size: 16px;
    line-height: 1.6;
}

.club-blog-items .content {
    margin-top: -50px;
}

.gt-breadcrumb-wrapper .gt-page-heading .breadTitle {
    font-size: 4rem;
    line-height: 4rem;
}

.offcanvas__logo img {
    max-height: 150px;
}

.offcanvas__wrapper .offcanvas__content .offcanvas__close {
    left: -20px;
}

.our-club-payer-item .player-image .number {
    color: var(--header);
}

.our-club-payer-item:hover .player-image .number {
    color: var(--header);
}

.sponsor-wrapper .sponsor-image img {
    height: auto;
}

.footer-bottom a {
    color: #fff;
}

.footer-bottom a:hover {
    color: var(--header);
}

.footer-bottom .footer-menu li a {
    font-size: 12px;
}

.calendar-page .section-title h2 {
    font-size: 5rem;
}

.calendar-page .section-title h3 {
    font-size: 2.7rem;
}
.calendar-page .section-title h4 {
    font-size: 2rem;
}

.calendar-page .table {
    --bs-table-bg: #F5F6F6;
}

.calendar-page .fa-house {
    color: var(--theme);
}

.sponsor-page .theme-btn {
    width: auto;
    margin: 10px;
}

.ranking-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ranking-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45); 
    pointer-events: none; 
}

.ranking-section > * {
    position: relative;
    z-index: 2;
}

.sponsor-page p {
    margin-bottom: 10px;
}

.sponsor-page h4 {
    margin: 30px 0 10px;
}









/* RESPONSIVE */


@media (max-width: 470px) {
  .hero-1 .hero-content h6 {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
    .ticket-table thead {
        display: none;
    }

    .ticket-table tr {
        display: block;
        margin-bottom: 12px;
        border: 1px solid #eee;
        padding: 10px;
    }

    .ticket-table td {
        display: flex;
        justify-content: start;
        padding: 8px 0;
        border-bottom: none;
    }

    .ticket-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #333;
    }
}

@media (max-width: 768px) {

    /* Rimuovo la linea centrale */
    .timeline-wrapper::before {
        display: none;
    }

    /* Ogni item diventa full-width */
    .timeline-item,
    .timeline-item--reverse {
        width: 100%;
        left: 0;
        text-align: left;
        padding: 20px 0 20px 30px;
    }

    /* Pallino sempre a sinistra */
    .timeline-item::before,
    .timeline-item--reverse::before {
        left: 0;
        right: auto;
    }

    /* Contenuto full-width */
    .timeline-content {
        max-width: 100%;
        padding: 20px;
    }
}

@media (max-width: 991px){
    .gt-breadcrumb-wrapper .gt-page-heading .breadTitle {
        font-size: 2rem;
        line-height: 2rem;
    }

    .header-1.sticky .logo img {
        width: auto;
        height: auto;
    }

    .header-1.sticky .sidebar__toggle .header-bar {
        left: -50px;
    }

    .sponsor-wrapper .sponsor-image img {
        width: 80% !important;
    }
    .header-1 .logo img {
        width: 80px;
    }
}


@media (min-width: 992px){
    .match-section .match-box-items .match-schedule .flag-item {
        width: 33%;
    }

    .match-section .match-box-items .match-schedule .match-date {
        width: 33%;
        padding: 12px;
    }

    .match-box-items .match-schedule .flag-item span {
        font-size: .8rem;
        line-height: 1rem;
        min-height: 48px;
    }

    .match-box-location {
        min-height: 56px;
    }

    .playing-result-box2 .match-result-box .match-result {
        width: 33%;
    }

    .news-standard-section .gt-details-image {
        float: left;
        margin: 0 20px 20px 0;
    }

    .news-standard-section .gt-details-image img {
        max-width: 500px;
        height: auto;
    }

    .imgBig {
        max-width: 523px;
        height: auto;
    }

    .about-section .thumb1 img {
        max-width: 196px;
        height: auto;
    }

    .calendar-page .match-box-items {
        min-height: 417px;
    }

}
