/* Angoli card/blocchi: alto-sx e basso-dx squadrati, alto-dx e basso-sx arrotondati */
:root {
    --gt-card-radius: 0 12px 0 12px;
}

/* Titoletti sezioni – stile unificato (DOUBLETWO, Calendario, SPONSORSHIP, ecc.) */
.gt-section-label,
.gt-section-title h6,
.gt-calendar-label,
.gt-sponsor-label,
.gt-pilota-timeline-label {
    font-size: 0.75rem !important;
    letter-spacing: 0.35em !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    color: #e12429 !important;
    margin-bottom: 0.5rem;
    display: inline-block;
    font-family: inherit;
    line-height: 1.2;
}
.gt-section-title h6::before,
.gt-section-title h6::after {
    display: none !important;
}
.gt-section-title h6 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* Bottoni – stesso stile angoli */
.gt-theme-btn {
    border-radius: var(--gt-card-radius);
    overflow: hidden;
}
#ispirazioneCarousel .arra-button button {
    border-radius: var(--gt-card-radius) !important;
}
/* Override Bootstrap rounded su card/immagini del sito */
.gt-galleria-lightbox.rounded-3,
.gt-galleria-item .gt-galleria-link.rounded-3,
.gt-video-card-thumb.rounded-3,
.gt-timeline-photo img.rounded-3,
.gt-timeline-photo-small img.rounded-2,
.gt-result-thumb.rounded-2 {
    border-radius: var(--gt-card-radius) !important;
}

/* Hero video + testo sovrapposto */
.gt-hero-video-section {
    position: relative;
    overflow: hidden;
    min-height: 80vh;
}

.gt-hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.gt-hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gt-hero-video-bg .gt-hero-video-desktop {
    display: block;
}

.gt-hero-video-bg .gt-hero-video-mobile {
    display: none;
}

.gt-hero-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.gt-hero-video-content-wrapper {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    padding-bottom: 7rem;
}

.gt-hero-video-section .gt-hero-content {
    text-align: center;
    margin: 0 auto;
    max-width: 900px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 50px;
}

.gt-hero-video-section .gt-hero-content h6 {
    margin-bottom: 0.75rem;
}

.gt-hero-video-section .gt-hero-quote-mark {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 7vw, 5.25rem);
    line-height: 1;
    color: #e12429;
    margin: 0 0 -0.75rem;
    opacity: 0.9;
    pointer-events: none;
}

.gt-hero-video-section .gt-hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.gt-hero-video-section .gt-hero-content p {
    margin-bottom: 0;
}

.gt-hero-video-section .gt-hero-content h1,
.gt-hero-video-section .gt-hero-content h6,
.gt-hero-video-section .gt-hero-content p {
    color: #fff;
}

.gt-hero-video-section .gt-theme-btn .gt-text-2 {
    color: #fff;
}

.gt-hero-scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 12;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 999px;
    transition: opacity 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.gt-hero-scroll-indicator:hover {
    color: #fff;
    background: rgba(0, 0, 0, 0.25);
}

.gt-hero-scroll-indicator i {
    font-size: 0.95rem;
    opacity: 0.9;
    animation: gt-hero-scroll-bounce 1.6s ease-in-out infinite;
}

@keyframes gt-hero-scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

.gt-hero-video-section .carousel,
.gt-hero-video-section .carousel-inner,
.gt-hero-video-section .carousel-item {
    width: 100%;
}

.gt-hero-video-section .carousel-item {
    min-height: 320px;
}

.gt-hero-video-section .gt-hero-caption {
    width: 100%;
}

.gt-hero-video-section .gt-hero-caption-inner {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Preloader Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Hero Image Desktop Styles */
@media (min-width: 992px) {
    .hero-custom-style {
        width: 130%;
        position: relative;
        margin-left: -25%;
        max-width: none;
        /* Ensure max-width doesn't constrain it */
    }

    .hero-custom-style-right {
        width: 145%;
        margin-left: -35%;
        position: relative;
        max-width: none;
    }
}

/* Preloader Layout */
#preloader {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hero Navigation Buttons (Bootstrap adaptation) - frecce in basso a sinistra e destra */
.hero-button {
    position: absolute;
    bottom: 24px;
    left: 0;
    width: 100%;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none;
}

.hero-button .array-prev,
.hero-button .array-next {
    pointer-events: auto;
    cursor: pointer;
    position: static;
    /* Let flexbox handle positioning */
    opacity: 1;
    /* Override Bootstrap default opacity */
    width: 56px;
    /* Ensure size matches original design */
}

/* Mobile: nascondi frecce hero */
@media (max-width: 991.98px) {
    .hero-button {
        display: none;
    }
}

/* Hero video – varianti responsive */
@media (max-width: 767.98px) {
    .gt-hero-video-section {
        min-height: 100vh;
    }

    .gt-hero-video-bg .gt-hero-video-desktop {
        display: none !important;
    }

    .gt-hero-video-bg .gt-hero-video-mobile {
        display: block !important;
        object-position: right center;
    }

    .gt-hero-video-content-wrapper {
        padding-top: 4rem;
        padding-bottom: 6rem;
    }
}

@media (max-width: 991.98px) {
    .gt-hero-video-section .gt-hero-content h1 {
        font-size: 2.6rem;
        line-height: 1.15;
    }
}

/* Tech Specs Section */
.tech-spec-item {
    position: relative;
    z-index: 2;
}

.tech-spec-item h4 {
    font-weight: 700;
    margin-bottom: 5px;
    color: #ff4a17;
    /* Ensure visibility on dark bg likely */
}

.spec-line {
    position: absolute;
    height: 2px;
    background-color: #ff4a17;
    /* Theme Orange */
    top: 25%;
    width: 60px;
    transition: all 0.4s ease;
}

.line-right {
    right: -70px;
}

.line-right::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #ff4a17;
    border-radius: 50%;
    right: -5px;
    top: -4px;
}

.line-left {
    left: -70px;
}

.line-left::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #ff4a17;
    border-radius: 50%;
    left: -5px;
    top: -4px;
}

.tech-spec-item:hover .spec-line {
    width: 90px;
}

.tech-spec-item:hover .line-right {
    right: -100px;
}

.tech-spec-item:hover .line-left {
    left: -100px;
}

/* Motivational Quotes Style */
/* Motivational Quotes Style - High Specificity */
section.gt-testimonial-section-2 .gt-testimonial-content p.quote-text,
.quote-text {
    font-family: 'Caveat', cursive !important;
    font-size: 60px !important;
    line-height: 1.1 !important;
    font-weight: 500 !important;
    color: #fff !important;
    margin-bottom: 20px;
    text-align: center !important;
    width: 100% !important;
    max-width: none !important;
    font-style: normal !important;
    visibility: visible !important;
    /* Force visibility */
    opacity: 1 !important;
    /* Force opacity */
}

.gt-testimonial-content {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Adjust wrapper spacing since images are gone */
.carousel-item .gt-testimonial-box-items-2 {
    padding-top: 30px;
    padding-bottom: 50px;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.gt-testimonial-box-items-2 .quote-icon {
    margin-top: 20px;
    display: block !important;
    position: static !important;
    right: auto !important;
    bottom: auto !important;
}

/* Fix Bootstrap Carousel centering and controls */
#ispirazioneCarousel {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-inner {
    overflow: visible;
}

#ispirazioneCarousel .arra-button {
    position: relative;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 10;
}

#ispirazioneCarousel .arra-button button {
    background: #e12429;
    color: #fff;
    border-radius: var(--gt-card-radius);
    width: 50px;
    height: 50px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all 0.3s ease;
}

#ispirazioneCarousel .arra-button button:hover {
    background: #000;
}

/* Tech Specs Enhancements */
.tech-spec-item h4 {
    color: #000;
    font-size: 1.2rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 700;
}

.tech-spec-item p {
    color: #000 !important;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.spec-line {
    height: 2px;
    background: linear-gradient(to right, transparent, #e12429);
    width: 100%;
    margin-top: 10px;
}

.spec-line.line-left {
    background: linear-gradient(to left, transparent, #e12429);
}

/* Sponsor Carousel Cards */
.gt-brand-slide-element .brand-image {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: var(--gt-card-radius);
    overflow: hidden;
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    /* Fixed height for card uniformity */
    margin: 0 10px;
    /* Spacing between cards */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.gt-brand-slide-element .brand-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.gt-brand-slide-element .brand-image img {
    max-width: 100%;
    max-height: 100%;
    border-radius: var(--gt-card-radius);
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.gt-brand-slide-element .brand-image:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Pilot Image Refinement - Desktop only */
@media (min-width: 992px) {
    .img-tuta {
        margin-top: -200px !important;
        position: relative;
        z-index: 2;
    }
}

.gt-hero-2 .gt-hero-content {
    padding-top: 0px;
    position: relative;
}

.gt-hero-name {
    color: #e12429 !important;
}

/* ========== Blocco Seba (Il Pilota) – layout e grafica ========== */
.gt-about-section-2.section-bg-2 {
    background: linear-gradient(180deg, var(--gt-header, #1a1a1a) 0%, #0a0a0a 70%, #000000 100%);
}

.gt-about-wrapper-2 .gt-about-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

@media (min-width: 992px) {
    .gt-about-section-2 .gt-about-wrapper-2 .gt-about-content {
        text-align: left;
        align-items: flex-start;
    }
}

.gt-about-wrapper-2 .gt-about-content .gt-section-title.mb-0 {
    margin-bottom: 0.5rem;
}

.gt-about-wrapper-2 .gt-about-content .gt-about-text {
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* Team 2026 nel blocco Seba */
.gt-seba-team {
    margin: 1.25rem 0 1rem 0;
    padding: 1rem 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.gt-seba-team-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #e12429;
    margin-bottom: 0.25rem;
}

.gt-seba-team-logo {
    display: block;
    width: 200px;
    max-width: 100%;
    height: auto;
    margin: 0.5rem 0 0.75rem 0;
}

.gt-seba-team-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.35rem;
}

.gt-seba-team a[href*="fullmoto"] {
    color: #fff !important;
    text-decoration: underline;
}

.gt-seba-team-location {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.gt-seba-team-location i {
    margin-right: 0.35rem;
    color: #e12429;
    font-size: 0.8rem;
}

/* Lista dettagli pilota */
.gt-seba-details {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
}

.gt-seba-details li {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.gt-seba-details li i {
    margin-right: 0.5rem;
    color: #e12429;
}

.gt-seba-details li span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9em;
}

/* Bottone e Instagram su due righe */
.gt-about-wrapper-2 .gt-about-content .gt-theme-btn {
    margin-top: 0;
    align-self: flex-start;
}

.gt-seba-instagram {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

.gt-seba-instagram:hover {
    color: #e12429;
}

.gt-seba-instagram i {
    font-size: 1.2rem;
}

.gt-seba-instagram-handle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
}

.gt-seba-instagram:hover .gt-seba-instagram-handle {
    color: #e12429;
}

/* Sezione calendario 2026 - look racing, spazio per mappa pista */
.gt-calendar-2026 {
    background: linear-gradient(180deg, #0c0c0c 0%, #1a1a1a 50%, #0d0d0d 100%);
    color: #fff;
}

.gt-stagione-premessa {
    font-size: 1.15rem;
    line-height: 1.75;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.92);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.gt-stagione-premessa strong {
    color: #e12429;
    font-weight: 600;
}

#calendario-gare {
    scroll-margin-top: 100px;
}

.gt-calendar-head {
    position: relative;
}

.gt-calendar-label {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #e12429;
    margin-bottom: 0.5rem;
}

.gt-calendar-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    margin-bottom: 0.5rem;
}

.gt-calendar-cta {
    display: inline-flex;
}

.gt-calendar-2026 .gt-calendar-cta .gt-text-btn {
    background: #e12429;
    color: #fff;
}

.gt-calendar-2026 .gt-calendar-cta .gt-text-btn::after {
    background: #fff;
}

.gt-calendar-2026 .gt-calendar-cta:hover .gt-text-btn {
    color: #e12429;
}

.gt-calendar-title-line {
    width: 80px;
    height: 3px;
    background: #e12429;
    margin: 0 auto;
}

/* Card round - stile racing */
.gt-round-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--gt-card-radius);
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.gt-round-card:hover {
    border-color: rgba(225, 36, 41, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.gt-round-card-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #e12429;
    z-index: 1;
}

.gt-round-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e12429;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    z-index: 2;
}

.gt-round-card-inner {
    padding: 12px 12px 16px 16px;
}

/* Area mappa pista: foto dietro + sagoma circuito davanti */
.gt-round-map {
    position: relative;
    min-height: 160px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Sfondo: foto della pista con overlay scuro */
.gt-round-map-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #0d0d0d;
}

.gt-round-map-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.85) 100%);
}

/* Sagoma della pista in primo piano */
.gt-round-map-silhouette {
    position: relative;
    z-index: 2;
    width: 75%;
    max-width: 120px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(225, 36, 41, 0.6)) drop-shadow(0 0 20px rgba(0, 0, 0, 0.8));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gt-round-card:hover .gt-round-map-silhouette {
    transform: scale(1.05);
    filter: drop-shadow(0 0 12px rgba(225, 36, 41, 0.8)) drop-shadow(0 0 24px rgba(0, 0, 0, 0.6));
}

/* Se la sagoma è chiara (bianco/trasparente), colora in rosso */
.gt-round-map-silhouette {
    opacity: 0.95;
}

/* Placeholder per "Da definire" */
.gt-round-map--tba {
    background: rgba(0, 0, 0, 0.5);
    border-style: dashed;
}

.gt-round-map-placeholder {
    position: relative;
    z-index: 1;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.gt-round-map:has(.gt-round-map-silhouette) .gt-round-map-placeholder {
    display: none;
}

/* Blocco countdown: sfondo che riempie tutta la section */
.gt-event-section-2:has(.event-ride-time-wrapper) {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 50%, #ffffff 100%);
}

.event-ride-time-wrapper {
    background: transparent;
    position: relative;
}

/* Banda diagonale rossa chiara a sinistra */
.event-ride-time-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 28%;
    max-width: 200px;
    background: linear-gradient(160deg, rgba(225, 36, 41, 0.12) 0%, rgba(225, 36, 41, 0.04) 50%, transparent 100%);
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    z-index: 0;
    pointer-events: none;
}

/* Linea rossa sottile in basso a sinistra */
.event-ride-time-wrapper::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 120px;
    height: 3px;
    background: #e12429;
    z-index: 0;
    pointer-events: none;
}

.event-ride-time-wrapper .gt-event-circuit-pista,
.event-ride-time-wrapper .gt-title,
.event-ride-time-wrapper .gt-coming-soon-timer,
.event-ride-time-wrapper .gt-theme-btn {
    position: relative;
    z-index: 1;
}

/* Testo scuro su sfondo bianco */
.event-ride-time-wrapper .gt-title {
    color: #1a1a1a;
}

.event-ride-time-wrapper .gt-coming-soon-timer .gt-timer-content h3 {
    color: #1a1a1a;
}

.event-ride-time-wrapper .gt-coming-soon-timer .gt-timer-content p {
    color: #444;
}

.event-ride-time-wrapper .gt-coming-soon-timer .timer-dot {
    color: #1a1a1a;
}

/* Pista Estoril nel blocco countdown – più in evidenza */
.gt-event-circuit-pista {
    text-align: center;
    margin-bottom: 1rem;
}

.event-ride-time-wrapper .gt-event-circuit-silhouette {
    max-width: 240px;
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 1;
    /* Ombre per far risaltare il circuito su sfondo bianco */
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2)) drop-shadow(0 8px 24px rgba(225, 36, 41, 0.28));
}

@media (min-width: 768px) {
    .event-ride-time-wrapper .gt-event-circuit-silhouette {
        max-width: 300px;
    }
}

@media (min-width: 992px) {
    .event-ride-time-wrapper .gt-event-circuit-silhouette {
        max-width: 340px;
    }
}

/* Countdown blocco – layout mobile ordinato e centrato */
@media (max-width: 991.98px) {
    .event-ride-time-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2.5rem 1.25rem;
        gap: 1.5rem;
    }
    .event-ride-time-wrapper .gt-event-circuit-pista {
        margin-bottom: 0.5rem;
        background: #e12429;
        padding: 1rem;
        border-radius: var(--gt-card-radius);
        display: inline-block;
    }
    .event-ride-time-wrapper .gt-title {
        max-width: none;
        font-size: clamp(1rem, 4vw, 1.25rem);
        line-height: 1.35;
        margin: 0;
    }
    .event-ride-time-wrapper .gt-coming-soon-timer {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem 0.75rem;
        justify-items: center;
        max-width: 320px;
        margin: 0 auto;
    }
    .event-ride-time-wrapper .gt-coming-soon-timer .gt-timer-content {
        min-width: 0;
        width: 100%;
        text-align: center;
        padding: 0.6rem 0.25rem;
        background: rgba(0, 0, 0, 0.04);
        border-radius: var(--gt-card-radius);
    }
    .event-ride-time-wrapper .gt-coming-soon-timer .gt-timer-content h3 {
        font-size: clamp(1.4rem, 6vw, 1.75rem);
        margin: 0 0 0.15rem;
        line-height: 1.2;
    }
    .event-ride-time-wrapper .gt-coming-soon-timer .gt-timer-content p {
        font-size: 0.65rem;
        margin: 0;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }
    .event-ride-time-wrapper .gt-theme-btn {
        margin-top: 0.25rem;
    }
    /* Banda e linea decorative più discrete su mobile */
    .event-ride-time-wrapper::before {
        width: 18%;
        max-width: 80px;
        opacity: 0.7;
    }
    .event-ride-time-wrapper::after {
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
    }
}

@media (max-width: 575.98px) {
    .event-ride-time-wrapper {
        padding: 2rem 1rem;
        gap: 1.25rem;
    }
    .event-ride-time-wrapper .gt-coming-soon-timer {
        max-width: 280px;
        gap: 0.4rem 0.5rem;
    }
    .event-ride-time-wrapper .gt-coming-soon-timer .gt-timer-content {
        padding: 0.5rem 0.2rem;
    }
    .event-ride-time-wrapper .gt-coming-soon-timer .gt-timer-content h3 {
        font-size: 1.35rem;
    }
    .event-ride-time-wrapper .gt-coming-soon-timer .gt-timer-content p {
        font-size: 0.6rem;
    }
    .event-ride-time-wrapper .gt-event-circuit-silhouette {
        max-width: 160px;
    }
}

.gt-round-info {
    padding-left: 4px;
}

/* Nome circuito ufficiale */
.gt-round-circuit-name {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.2rem;
}

/* Nome breve pista – rosso a contrasto */
.gt-round-track {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #e12429;
    margin-bottom: 0.35rem;
}

/* Località con icona rossa */
.gt-round-location {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.4rem;
}

.gt-round-icon {
    color: #e12429;
    margin-right: 0.35rem;
    font-size: 0.7rem;
}

/* Data in rosso */
.gt-round-meta {
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
}

.gt-round-date {
    color: #e12429;
    font-weight: 700;
}

.gt-round-details {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

.gt-round-details li {
    margin-bottom: 0.25rem;
}

.gt-round-details strong {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    margin-right: 0.35rem;
}

/* Footer – sfondo scuro solido (nessuna immagine) */
.gt-footer-section {
    background-color: #0d0d0d;
}
/* 3 zone footer con background scuri diversi */
.gt-footer-main {
    background: #0d0d0d;
}
.gt-footer-equipment {
    background: #151515;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.gt-footer-bottom {
    background: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Carosello sponsor sopra il footer - sfondo scuro */
.gt-sponsor-footer-section {
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    color: #fff;
}

.gt-sponsor-footer-section .gt-sponsor-footer-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--gt-card-radius);
    overflow: hidden;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.gt-sponsor-footer-section .gt-sponsor-footer-card:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(225, 36, 41, 0.5);
    transform: translateY(-4px);
}

.gt-sponsor-footer-section .gt-sponsor-footer-card img {
    width: 100%;
    max-width: 100%;
    border-radius: var(--gt-card-radius);
    height: auto;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.05);
}

/* ========== Tech Specs Section ========== */
.gt-tech-specs-section {
    position: relative;
    overflow: visible;
}

/* Pallino sulla moto (stesso stile delle altre linee spec) */
.gt-tech-specs-section::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 22%;
    transform: translate(-50%, 50%);
    width: 10px;
    height: 10px;
    background-color: #e12429;
    border-radius: 50%;
    z-index: 3;
    pointer-events: none;
}

/* Linea che scende verso gli sponsor (stesso stile delle spec-line: 2px, gradiente) */
.gt-tech-specs-section::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 78%;
    transform: translateX(-50%);
    width: 2px;
    height: 220px;
    background: linear-gradient(to bottom, #e12429 0%, #e12429 20%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

/* ========== Tech Specs Section - Mobile ========== */
.gt-tech-specs-section .gt-tech-specs-bike-wrap {
    z-index: 1;
}

/* Desktop: immagine con effetto overflow e ombra */
@media (min-width: 992px) {
    .gt-tech-specs-section .gt-tech-specs-bike-img {
        max-width: 140%;
        margin-left: -20%;
        filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
    }
}

/* Mobile: immagine centrata, niente overflow, layout ordinato */
@media (max-width: 991.98px) {
    .gt-tech-specs-section .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .gt-tech-specs-section .gt-tech-specs-row > div:first-child {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .gt-tech-specs-section .gt-tech-specs-row {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .gt-tech-specs-section .gt-tech-specs-bike-wrap {
        margin-bottom: 1.5rem;
        padding: 0;
        overflow: hidden;
    }

    .gt-tech-specs-section .gt-tech-specs-bike-img {
        max-width: 140% !important;
        width: 140%;
        margin-left: -20%;
        filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.25));
        object-fit: contain;
    }

    /* Griglia 2 colonne per le spec: sinistra (Motore, Potenza) | destra (Peso, Velocità) */
        .gt-tech-specs-section .tech-spec-item {
        background: rgba(255, 255, 255, 0.95);
        border-radius: var(--gt-card-radius);
        padding: 1rem 0.75rem;
        margin-bottom: 0.75rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.06);
        text-align: center;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .gt-tech-specs-section .tech-spec-item:active {
        transform: scale(0.98);
    }

    .gt-tech-specs-section .tech-spec-item h4 {
        font-size: 0.75rem;
        letter-spacing: 0.05em;
        margin-bottom: 0.25rem;
    }

    .gt-tech-specs-section .tech-spec-item p {
        font-size: 0.95rem !important;
        font-weight: 600;
    }

    .gt-tech-specs-section .col-6 .tech-spec-item:last-child {
        margin-bottom: 0;
    }

    /* Le due colonne spec affiancate su mobile */
    .gt-tech-specs-section .col-6.col-lg-3 {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-left: 0.375rem;
        padding-right: 0.375rem;
    }

    .gt-tech-specs-section .gt-section-title h2 {
        font-size: 1.35rem;
    }

    .gt-tech-specs-section .gt-section-title h6 {
        font-size: 0.8rem;
    }

    /* Nascondi pallino e linea su mobile */
    .gt-tech-specs-section::before,
    .gt-tech-specs-section::after {
        display: none;
    }
}

/* Mobile: nascondi loghi sponsor nella sezione dopo ESBK */
@media (max-width: 991.98px) {
    .gt-tech-specs-section + .gt-brand-section {
        display: none;
    }
}

/* ========== Blocco Sponsorship – invito a diventare sponsor ========== */
.gt-sponsor-recruitment {
    background: linear-gradient(180deg, #0d0d0d 0%, #141414 50%, #0a0a0a 100%);
    position: relative;
}

.gt-sponsor-recruitment .gt-sub-title {
    color: rgba(255, 255, 255, 0.08);
}

.gt-sponsor-recruitment .gt-pricing-wrapper {
    margin-top: 0.5rem;
}

.gt-sponsor-intro {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(225, 36, 41, 0.25);
    border-left: 4px solid #e12429;
    padding: 2.25rem 2rem;
    border-radius: var(--gt-card-radius);
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gt-sponsor-label {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #e12429;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gt-sponsor-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.gt-sponsor-title-red {
    color: #e12429 !important;
}

.gt-sponsor-intro-image {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    margin-bottom: 1.25rem;
}

.gt-sponsor-text {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.gt-sponsor-values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.gt-sponsor-value-pill {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    background: rgba(225, 36, 41, 0.2);
    border: 1px solid rgba(225, 36, 41, 0.4);
    border-radius: 999px;
}

.gt-sponsor-cta-line {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.gt-sponsor-cta-line i {
    color: #e12429;
    margin-right: 0.4rem;
    font-size: 0.85rem;
}

.gt-sponsor-intro .gt-sponsor-cta-btn {
    margin-top: 1.25rem;
}

/* Card partnership – più accattivante */
.gt-sponsor-card {
    background: linear-gradient(160deg, #1a1a1a 0%, #111 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid #e12429;
    padding: 2.25rem 2rem 2.5rem;
    border-radius: var(--gt-card-radius);
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.gt-sponsor-card:hover {
    box-shadow: 0 12px 40px rgba(225, 36, 41, 0.15);
    border-color: rgba(225, 36, 41, 0.3);
}

.gt-sponsor-card .gt-price-tag {
    background: #e12429;
    color: #fff;
}

.gt-sponsor-card .gt-pricing-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 1.75rem;
    margin-bottom: 1.5rem;
}

.gt-sponsor-card .gt-pricing-header h3 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.gt-sponsor-card .gt-pricing-header p {
    color: rgba(255, 255, 255, 0.7);
}

.gt-sponsor-card-image {
    display: block;
    max-width: 100%;
    width: auto;
    border-radius: var(--gt-card-radius);
    height: auto;
    margin-top: 0;
    margin-bottom: 0;
}

.gt-sponsor-card .gt-pricing-list-items {
    margin-bottom: 0;
}

.gt-sponsor-card .gt-pricing-list-items li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.6rem;
}

.gt-sponsor-card .gt-pricing-list-items li:last-child {
    margin-bottom: 0;
}

.gt-sponsor-card .gt-pricing-list-items li i {
    color: #e12429;
}

.gt-sponsor-cta-btn .gt-text-btn {
    background: #e12429;
    color: #fff;
}

.gt-sponsor-cta-btn .gt-text-btn::after {
    background: #fff;
}

.gt-sponsor-cta-btn:hover .gt-text-btn {
    color: #e12429;
}

@media (max-width: 991.98px) {
    .gt-sponsor-intro,
    .gt-sponsor-card {
        min-height: auto;
    }
}

/* Sezione Instagram – spazio bianco sopra e sotto uguale */
.gt-instagram-section-2 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.gt-instagram-section-2 .gt-instagram-image {
    border-radius: var(--gt-card-radius);
    aspect-ratio: 1 / 1;
}

.gt-instagram-section-2 .gt-instagram-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Tolto padding extra sotto lo swiper così sopra/sotto restano uguali */
.gt-instagram-section-2 .swiper-wrapper.pb-5 {
    padding-bottom: 0 !important;
}

@media (max-width: 767.98px) {
    .gt-instagram-section-2 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* ========== Zona breadcrumb + hero (pagine secondarie Pilota / Sponsor) ========== */
.gt-page-breadcrumb-hero {
    position: relative;
    min-height: 360px;
    padding-top: 11rem;
    padding-bottom: 4rem;
    background-color: #1a1a1a;
    /* background-image settata inline da PHP (random toppage01-04) */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.gt-page-breadcrumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 0;
}

.gt-page-breadcrumb-hero .container {
    z-index: 1;
}

.gt-breadcrumb {
    margin-bottom: 1.5rem;
}

.gt-breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.gt-breadcrumb-list li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.gt-breadcrumb-list li a:hover {
    color: #e12429;
}

.gt-breadcrumb-list li[aria-current="page"] {
    color: #e12429;
    font-weight: 600;
}

.gt-breadcrumb-sep {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(225, 36, 41, 0.8);
    text-indent: -9999px;
    overflow: hidden;
}

.gt-breadcrumb-sep::after {
    content: none;
}

.gt-page-breadcrumb-content {
    max-width: 640px;
    margin: 0 auto;
}

.gt-page-breadcrumb-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.03em;
    line-height: 1.15;
}

.gt-page-breadcrumb-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    margin-bottom: 0;
}

.gt-page-breadcrumb-line {
    width: 60px;
    height: 3px;
    background: #e12429;
    margin: 1.25rem auto 0;
}

@media (max-width: 1199.98px) {
    .gt-page-breadcrumb-hero {
        padding-top: 8rem;
        min-height: 300px;
    }
}

@media (max-width: 575.98px) {
    .gt-page-breadcrumb-hero {
        min-height: 280px;
        padding-top: 7rem;
        padding-bottom: 3rem;
    }

    .gt-breadcrumb-list {
        font-size: 0.8rem;
    }
}

/* ========== Pagina Pilota ========== */
/* (Hero sostituito da breadcrumb hero sopra) */
.gt-pilota-hero {
    background: linear-gradient(180deg, #0a0a0a 0%, #111 50%, #0d0d0d 100%);
    padding-top: 8.5rem;
    padding-bottom: 3.5rem;
    position: relative;
}

.gt-pilota-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #e12429;
}

@media (max-width: 1199.98px) {
    .gt-pilota-hero {
        padding-top: 6rem;
    }
}

.gt-pilota-label {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #e12429;
    margin-bottom: 0.85rem;
    font-weight: 600;
}

.gt-pilota-name {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.03em;
    line-height: 1.1;
}

.gt-pilota-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    letter-spacing: 0.05em;
}

.gt-pilota-number {
    color: #e12429;
    font-weight: 700;
}

.gt-pilota-hero-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(225, 36, 41, 0.6), transparent);
    margin: 1.5rem auto 0;
}

/* Intro bio – card elegante */
.gt-pilota-intro {
    background: linear-gradient(180deg, #0d0d0d 0%, #141414 30%, #0f0f0f 100%);
}

.gt-pilota-bio-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 4px solid #e12429;
    padding: 2.5rem 2.25rem;
    border-radius: var(--gt-card-radius);
}

.gt-pilota-bio {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.8;
}

.gt-pilota-bio .lead {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.12rem;
    line-height: 1.85;
}

.gt-pilota-bio p {
    margin-bottom: 1.25rem;
}

.gt-pilota-bio p:last-child {
    margin-bottom: 0;
}

.gt-pilota-bio strong {
    color: #e12429;
}

@media (max-width: 575.98px) {
    .gt-pilota-bio-card {
        padding: 1.75rem 1.5rem;
    }
}

/* Pagina Diventa sponsor */
.gt-supporta-page {
    background: linear-gradient(180deg, var(--gt-header, #1a1a1a) 0%, #0a0a0a 70%, #000000 100%);
}

/* Supporta page – layout e sezioni */
.gt-cta-primary .gt-text-btn {
    background: #e12429;
    color: #fff;
}
.gt-cta-primary .gt-text-btn::after {
    background: #fff;
}
.gt-cta-primary:hover .gt-text-btn {
    color: #e12429;
}
.gt-cta-secondary {
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: transparent;
}
.gt-cta-secondary .gt-text-btn {
    color: #fff;
}
.gt-cta-secondary:hover {
    border-color: #e12429;
}
.gt-cta-secondary:hover .gt-text-btn {
    color: #e12429;
}
.gt-cta-outline {
    border: 2px solid #e12429;
    background: rgba(225, 36, 41, 0.12);
}
.gt-cta-outline .gt-text-btn {
    color: #fff !important;
    font-weight: 700;
}
.gt-cta-outline:hover {
    background: #e12429;
}
.gt-cta-outline:hover .gt-text-btn {
    color: #fff !important;
}
.gt-supporta-heading-lg {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}
.gt-supporta-lead {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.gt-supporta-cerchiamo-wrap {
    background: rgba(225, 36, 41, 0.08);
    border-left: 4px solid #e12429;
    border-radius: var(--gt-card-radius);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}
.gt-supporta-sub-head {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e12429;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.gt-supporta-main-sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-top: 0.5rem;
}
.gt-supporta-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.gt-supporta-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(10, 10, 10, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}
.gt-supporta-cta-bar .gt-theme-btn {
    display: flex;
    align-items: center;
}
@media (max-width: 991.98px) {
    .gt-footer-with-cta-bar {
        padding-bottom: 100px;
    }
}

.gt-supporta-intro-section {
    background: linear-gradient(180deg, #0d0d0d 0%, #141414 50%, #0a0a0a 100%);
}
.gt-supporta-intro-block {
    padding: 2rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(225, 36, 41, 0.25);
    border-radius: var(--gt-card-radius);
}
.gt-supporta-chi .gt-supporta-photo-wrap .gt-pilota-intro-photo-frame,
.gt-supporta-sostenitori .gt-supporta-photo-wrap .gt-pilota-intro-photo-frame,
.gt-supporta-cta-final .gt-supporta-photo-wrap .gt-pilota-intro-photo-frame {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.gt-supporta-main-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0;
}
.gt-supporta-visibilita {
    background: linear-gradient(180deg, #0a0a0a 0%, #0d0d0d 100%);
}
.gt-supporta-card {
    background: linear-gradient(160deg, #1a1a1a 0%, #111 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--gt-card-radius);
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.gt-supporta-card:hover {
    transform: translateY(-4px);
    border-color: rgba(225, 36, 41, 0.3);
    box-shadow: 0 12px 40px rgba(225, 36, 41, 0.12);
}
.gt-supporta-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(225, 36, 41, 0.2) 0%, rgba(225, 36, 41, 0.08) 100%);
    border: 1px solid rgba(225, 36, 41, 0.35);
    border-radius: var(--gt-card-radius);
    color: #e12429;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.gt-supporta-card-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    /* Filtro per colorare le icone PNG in rosso brand #e12429 */
    filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(5000%) hue-rotate(350deg) brightness(95%) contrast(101%);
}
.gt-supporta-card:hover .gt-supporta-card-icon {
    transform: scale(1.08);
    background: linear-gradient(145deg, rgba(225, 36, 41, 0.25) 0%, rgba(225, 36, 41, 0.12) 100%);
    border-color: rgba(225, 36, 41, 0.5);
}
.gt-supporta-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}
.gt-supporta-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.5;
}
.gt-supporta-cta-final {
    background: linear-gradient(180deg, #0a0a0a 0%, #111 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.gt-supporta-cta-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}
.gt-supporta-cta-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
@media (max-width: 767.98px) {
    .gt-supporta-intro-block {
        padding: 1.5rem 1.25rem;
    }
    .gt-supporta-card {
        padding: 1.25rem;
    }
}
.gt-supporta-intro .lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
}
.gt-supporta-intro strong {
    color: #e12429;
}
.gt-supporta-text {
    font-size: 1.05rem;
    line-height: 1.75;
}
.gt-supporta-heading {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e12429;
}
.gt-supporta-sostenitori-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.25rem;
}
.gt-supporta-sub {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e12429;
    margin-bottom: 0.75rem;
}
.gt-supporta-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}
.gt-supporta-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}
.gt-supporta-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #e12429;
}

.gt-supporta-table {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
}
.gt-supporta-table th,
.gt-supporta-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 1rem;
}
.gt-supporta-table .gt-supporta-table-logo {
    width: 90px;
    padding: 0.6rem 0.75rem !important;
    vertical-align: middle;
}
.gt-supporta-table .gt-supporta-table-logo img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
}
.gt-supporta-table th {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #e12429;
    background: rgba(255, 255, 255, 0.05);
}
.gt-supporta-table td {
    color: rgba(255, 255, 255, 0.95);
}
.gt-supporta-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.06);
}
.gt-supporta-table a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.gt-supporta-table a:hover {
    color: #e12429;
}

/* Intro foto + badge grafico */
.gt-pilota-intro-photo {
    position: relative;
}

.gt-pilota-intro-photo-frame {
    position: relative;
    border-radius: var(--gt-card-radius);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.gt-pilota-intro-photo-frame img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
}

.gt-pilota-intro .gt-pilota-intro-photo-frame {
    height: 380px;
}

.gt-pilota-intro .gt-pilota-intro-photo-frame img {
    height: 100%;
    max-height: none;
    object-position: center top;
}

@media (max-width: 991.98px) {
    .gt-pilota-intro .gt-pilota-intro-photo-frame {
        height: auto;
    }

    .gt-pilota-intro .gt-pilota-intro-photo-frame img {
        height: auto;
        max-height: 420px;
    }
}

.gt-pilota-intro-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e12429;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(225, 36, 41, 0.45);
}

/* Sezione Risultati in evidenza */
.gt-pilota-results {
    background: linear-gradient(180deg, #0a0a0a 0%, #111 40%, #0d0d0d 100%);
    color: #fff;
}

.gt-pilota-results-header {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.gt-pilota-results-label {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #e12429;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gt-pilota-results-head {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.gt-pilota-results-head-line {
    width: 50px;
    height: 2px;
    background: #e12429;
    margin: 0.75rem auto 0;
}

.gt-pilota-results-sub {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}

.gt-result-card {
    height: 100%;
}

.gt-result-card-inner {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid #e12429;
    padding: 1.75rem 1.5rem;
    border-radius: var(--gt-card-radius);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.gt-result-card-inner:hover {
    border-left-color: #ff3d42;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.gt-result-card-featured .gt-result-card-inner {
    border-left-width: 5px;
    background: linear-gradient(145deg, rgba(225, 36, 41, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.gt-result-card-number {
    display: inline-block;
    font-size: 2.25rem;
    font-weight: 800;
    color: #e12429;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.gt-result-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #e12429;
    margin-bottom: 0.5rem;
}

.gt-result-card-badge i {
    font-size: 0.9rem;
}

.gt-result-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.gt-result-card-desc {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

.gt-result-card-year {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}

.gt-pilota-results-photo-strip .gt-result-thumb {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: opacity 0.25s ease;
}

.gt-pilota-results-photo-strip .gt-result-thumb:hover {
    opacity: 0.9;
}

@media (max-width: 575.98px) {
    .gt-result-card-inner {
        padding: 1.5rem 1.25rem;
    }

    .gt-pilota-intro-badge {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
        bottom: 0.75rem;
        right: 0.75rem;
    }
}

/* Timeline: paragrafo in evidenza e foto */
.gt-timeline-highlight {
    background: linear-gradient(90deg, rgba(225, 36, 41, 0.12) 0%, transparent 100%);
    border-left: 4px solid #e12429;
    padding: 0.85rem 1rem;
    border-radius: var(--gt-card-radius);
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.gt-timeline-highlight strong {
    color: #e12429;
}

.gt-timeline-photo {
    border-radius: var(--gt-card-radius);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    max-width: 320px;
}

.gt-timeline-photo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top center;
}

/* Riga due foto più piccole nella timeline (ridotte quando in coppia) */
.gt-timeline-photo-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.gt-timeline-photo-row .gt-timeline-photo-small {
    flex: 0 1 auto;
    width: calc(50% - 0.375rem);
    max-width: 180px;
    min-width: 120px;
    border-radius: var(--gt-card-radius);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.gt-timeline-photo-row .gt-timeline-photo-small img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top center;
}

/* Timeline */
.gt-pilota-timeline {
    background: linear-gradient(180deg, #080808 0%, #0c0c0c 50%, #080808 100%);
    color: #fff;
}

.gt-pilota-timeline-header {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.gt-pilota-timeline-label {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #e12429;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gt-pilota-timeline-head {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.gt-pilota-timeline-head-line {
    width: 50px;
    height: 2px;
    background: #e12429;
    margin: 0.75rem auto 0;
}

.gt-pilota-timeline-sub {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}

.gt-timeline {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
}

/* Linea verticale della timeline (solo desktop) */
@media (min-width: 768px) {
    .gt-timeline::before {
        content: '';
        position: absolute;
        left: 2.5rem;
        top: 0;
        bottom: 0;
        width: 2px;
        background: linear-gradient(180deg, transparent, rgba(225, 36, 41, 0.3) 10%, rgba(225, 36, 41, 0.5) 50%, rgba(225, 36, 41, 0.3) 90%, transparent);
        z-index: 0;
    }

    .gt-timeline-item {
        position: relative;
        z-index: 1;
    }
}

.gt-timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    align-items: flex-start;
    transition: opacity 0.25s ease;
}

.gt-timeline-item:hover {
    opacity: 1;
}

.gt-timeline-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.gt-timeline-year {
    flex-shrink: 0;
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e12429;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(225, 36, 41, 0.2);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.gt-timeline-item:hover .gt-timeline-year {
    box-shadow: 0 0 0 6px rgba(225, 36, 41, 0.35);
}

.gt-timeline-content {
    flex: 1;
}

.gt-timeline-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.65rem;
    letter-spacing: 0.02em;
}

.gt-timeline-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1.15rem;
    margin-bottom: 0.35rem;
    padding-left: 0.5rem;
    border-left: 3px solid rgba(225, 36, 41, 0.5);
}

.gt-timeline-content h4:first-child {
    margin-top: 0.75rem;
}

.gt-timeline-content p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.97rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.gt-timeline-content p:last-child {
    margin-bottom: 0;
}

.gt-timeline-content strong {
    color: #e12429;
}

.gt-timeline-races {
    margin-top: 0.75rem;
}

.gt-timeline-races p {
    margin-bottom: 0.8rem;
}

.gt-timeline-list {
    list-style: none;
    padding: 0;
    margin: 0.6rem 0 0.85rem 0;
}

.gt-timeline-list li {
    color: rgba(255, 255, 255, 0.88);
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.gt-timeline-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: #e12429;
    border-radius: 50%;
}

@media (max-width: 767.98px) {
    .gt-timeline-item {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2.25rem;
        padding-bottom: 2rem;
    }

    .gt-timeline-year {
        width: 4rem;
        height: 4rem;
        font-size: 1.05rem;
    }
}

/* CTA finale */
.gt-pilota-cta {
    background: linear-gradient(180deg, #0a0a0a 0%, #0f0f0f 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gt-pilota-cta-inner {
    max-width: 480px;
    margin: 0 auto;
}

.gt-pilota-cta-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    letter-spacing: 0.03em;
}

.gt-pilota-cta-buttons {
    gap: 0.75rem !important;
}

.gt-pilota-cta .gt-theme-btn .gt-text-btn {
    background: #e12429;
    color: #fff;
}

.gt-pilota-cta .gt-theme-btn:hover .gt-text-btn {
    color: #e12429;
}

.gt-pilota-cta-insta .gt-text-btn {
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
}

.gt-pilota-cta-insta:hover .gt-text-btn {
    border-color: #e12429 !important;
    color: #e12429 !important;
}

/* ========== Pagina Sponsor ========== */
.gt-sponsor-page-hero {
    background: linear-gradient(180deg, #0a0a0a 0%, #111 50%, #0d0d0d 100%);
    padding-top: 8.5rem;
    padding-bottom: 3.5rem;
    position: relative;
}

.gt-sponsor-page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #e12429;
}

@media (max-width: 1199.98px) {
    .gt-sponsor-page-hero {
        padding-top: 6rem;
    }
}

.gt-sponsor-page-label {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #e12429;
    margin-bottom: 0.85rem;
    font-weight: 600;
}

.gt-sponsor-page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.03em;
}

.gt-sponsor-page-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
}

.gt-sponsor-page-hero-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(225, 36, 41, 0.6), transparent);
    margin: 1.5rem auto 0;
}

/* Griglia sponsor */
.gt-sponsor-page-grid {
    background: linear-gradient(180deg, #0d0d0d 0%, #0a0a0a 100%);
}

.gt-sponsor-page-card {
    height: 100%;
}

.gt-sponsor-page-card-inner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--gt-card-radius);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.gt-sponsor-page-card-inner:hover {
    transform: translateY(-8px);
    border-color: rgba(225, 36, 41, 0.35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(225, 36, 41, 0.15);
}

/* Barra accent rossa in basso – si espande al hover */
.gt-sponsor-page-card-accent {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #e12429, transparent);
    border-radius: 2px;
    transition: transform 0.35s ease;
}

.gt-sponsor-page-card-inner:hover .gt-sponsor-page-card-accent {
    transform: translateX(-50%) scaleX(1);
}

/* Zona logo – sfondo leggermente più chiaro, altezza fissa */
.gt-sponsor-page-card-logo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2.5rem;
    min-height: 180px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.35s ease;
}

.gt-sponsor-page-card-inner:hover .gt-sponsor-page-card-logo {
    background: rgba(225, 36, 41, 0.04);
}

.gt-sponsor-page-card-logo img {
    width: 100%;
    max-width: 100%;
    border-radius: var(--gt-card-radius);
    height: auto;
    max-height: 120px;
    object-fit: contain;
    display: block;
    transition: transform 0.35s ease;
}

.gt-sponsor-page-card-inner:hover .gt-sponsor-page-card-logo img {
    transform: scale(1.05);
}

/* Zona info – nome + link */
.gt-sponsor-page-card-info {
    padding: 1.25rem 1.5rem;
    flex-shrink: 0;
}

.gt-sponsor-page-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.gt-sponsor-page-card-lg .gt-sponsor-page-card-name {
    font-size: 1.2rem;
}

/* CTA pagina sponsor */
.gt-sponsor-page-cta {
    background: linear-gradient(180deg, #0a0a0a 0%, #0f0f0f 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gt-sponsor-page-cta-inner {
    max-width: 420px;
    margin: 0 auto;
}

.gt-sponsor-page-cta-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
}

.gt-sponsor-page-cta .gt-theme-btn .gt-text-btn {
    background: #e12429;
    color: #fff;
}

.gt-sponsor-page-cta .gt-theme-btn:hover .gt-text-btn {
    color: #e12429;
}

/* Pagina sponsor: livelli (grande col-6, medio col-4) e angoli squadrati */
.gt-sponsor-page {
    background: linear-gradient(180deg, #0d0d0d 0%, #0a0a0a 100%);
}

.gt-sponsor-page .gt-sponsor-page-card-inner {
    border-radius: var(--gt-card-radius);
}

.gt-sponsor-page-head {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
}

/* Immagini: lg più alte nella zona logo */
.gt-sponsor-page-card-logo .gt-sponsor-page-card-img-lg {
    max-height: 600px;
}

.gt-sponsor-page-card-logo .gt-sponsor-page-card-img-md {
    max-height: 600px;
}

.gt-sponsor-page-card-md .gt-sponsor-page-card-logo {
    min-height: 140px;
}

/* Link che avvolge tutta la card (immagine + info) – cliccabile ovunque */
.gt-sponsor-page-card-link-wrap {
    display: block;
    text-decoration: none;
    color: inherit;
}

.gt-sponsor-page-card-link-wrap:hover {
    color: inherit;
}

/* Icona link (solo icona, senza testo URL) */
.gt-sponsor-page-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.35rem;
    border-radius: 50%;
    transition: color 0.25s ease, background 0.25s ease;
}

.gt-sponsor-page-card-link-wrap:hover .gt-sponsor-page-card-link {
    color: #e12429;
    background: rgba(225, 36, 41, 0.15);
}

.gt-sponsor-page-card-no-site {
    display: inline-block;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
}

/* Galleria pagina dedicata */
.gt-galleria-item .gt-galleria-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--gt-card-radius);
}

.gt-galleria-img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gt-galleria-item .gt-galleria-link:hover .gt-galleria-img {
    transform: scale(1.05);
}

.gt-galleria-item .gt-galleria-link {
    cursor: zoom-in;
}

/* ========== Pagina Contatti ========== */
.gt-contatti-page {
    position: relative;
}

.gt-contatti-intro {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Alert contatti (successo / errore) */
.gt-contact-alert {
    padding: 1rem 1.25rem;
    border-radius: var(--gt-card-radius);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.gt-contact-another-msg {
    display: inline-block;
    margin-top: 0.5rem;
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
    opacity: 0.95;
}
.gt-contact-another-msg:hover {
    opacity: 1;
}

.gt-contact-alert-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #86efac;
}

.gt-contact-alert-error {
    background: rgba(225, 36, 41, 0.12);
    border: 1px solid rgba(225, 36, 41, 0.35);
    color: #fca5a5;
}

/* Form contatti – card */
.gt-contact-form-wrap {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--gt-card-radius);
    padding: 2rem 2.25rem;
    position: relative;
    overflow: hidden;
}

.gt-contact-form-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #e12429, rgba(225, 36, 41, 0.5));
    border-radius: 4px 0 0 4px;
}

.gt-contact-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.gt-contact-form .form-control,
.gt-contact-form .form-select {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: var(--gt-card-radius);
    padding: 0.65rem 1rem;
}

.gt-contact-form .form-control:focus,
.gt-contact-form .form-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #e12429;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(225, 36, 41, 0.15);
}

.gt-contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.gt-contact-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(255,255,255,0.6)' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.gt-contact-form .form-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

/* Checkbox privacy */
.gt-contact-privacy {
    margin-top: 0.5rem;
}

.gt-contact-checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.gt-contact-checkbox {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    accent-color: #e12429;
    cursor: pointer;
}

.gt-contact-checkbox-label {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.45;
}

.gt-contact-privacy-link {
    color: #e12429;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.gt-contact-privacy-link:hover {
    border-bottom-color: #e12429;
}

.gt-contact-submit {
    margin-top: 0.5rem;
}

/* Colonna destra: foto Seba + contatti diretti */
.gt-contact-side-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--gt-card-radius);
    overflow: hidden;
    position: sticky;
    top: 6rem;
}

.gt-contact-seba-photo {
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.gt-contact-seba-photo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.gt-contact-seba-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #e12429, transparent);
    opacity: 0.9;
}

.gt-contact-side-content {
    padding: 1.75rem 1.5rem;
}

.gt-contact-side-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.35rem;
    letter-spacing: 0.03em;
}

.gt-contact-side-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.gt-contact-direct {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gt-contact-direct-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, color 0.2s ease;
}

.gt-contact-direct-item:last-child {
    border-bottom: 0;
}

.gt-contact-direct-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.gt-contact-direct-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(225, 36, 41, 0.15);
    color: #e12429;
    border-radius: var(--gt-card-radius);
    font-size: 1.1rem;
}

.gt-contact-direct-item:hover .gt-contact-direct-icon {
    background: #e12429;
    color: #fff;
}

.gt-contact-direct-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.15rem;
}

.gt-contact-direct-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    word-break: break-word;
}

@media (max-width: 991.98px) {
    .gt-contact-side-card {
        position: static;
    }
}

/* Pagina Contatti – tema chiaro */
.gt-contatti-page--light {
    background: #f0f1f3;
}

.gt-contatti-page--light .gt-contatti-intro {
    color: #3d3d3d;
}

.gt-contatti-page--light .gt-contact-alert-success {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.4);
    color: #166534;
}

.gt-contatti-page--light .gt-contact-alert-error {
    background: rgba(225, 36, 41, 0.08);
    border-color: rgba(225, 36, 41, 0.35);
    color: #b91c1c;
}

.gt-contatti-page--light .gt-contact-form-wrap {
    background: #fff;
    border-color: #dee2e6;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.gt-contatti-page--light .gt-contact-form-title {
    color: #1a1a1a;
}

.gt-contatti-page--light .gt-contact-form .form-control,
.gt-contatti-page--light .gt-contact-form .form-select {
    background: #fff;
    border-color: #dee2e6;
    color: #212529;
}

.gt-contatti-page--light .gt-contact-form .form-control:focus,
.gt-contatti-page--light .gt-contact-form .form-select:focus {
    background: #fff;
    border-color: #e12429;
    color: #212529;
    box-shadow: 0 0 0 3px rgba(225, 36, 41, 0.12);
}

.gt-contatti-page--light .gt-contact-form .form-control::placeholder {
    color: #6c757d;
}

.gt-contatti-page--light .gt-contact-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
}

.gt-contatti-page--light .gt-contact-form .form-label {
    color: #333;
}

.gt-contatti-page--light .gt-contact-checkbox-label {
    color: #495057;
}

.gt-contatti-page--light .gt-contact-side-card {
    background: #fff;
    border-color: #dee2e6;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.gt-contatti-page--light .gt-contact-side-title {
    color: #1a1a1a;
}

.gt-contatti-page--light .gt-contact-side-text {
    color: #5a5a5a;
}

.gt-contatti-page--light .gt-contact-direct-item {
    border-bottom-color: #eee;
    color: #212529;
}

.gt-contatti-page--light .gt-contact-direct-item:hover {
    background: #f8f9fa;
    color: #1a1a1a;
}

.gt-contatti-page--light .gt-contact-direct-label {
    color: #6c757d;
}

.gt-contatti-page--light .gt-contact-direct-value {
    color: #212529;
}

/* Stagione: sottotitolo calendario */
.gt-calendar-sub {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* Event title – desktop */
.gt-event-estoril {
    font-size: 52px;
    color: #e12429;
}

/* ========== Mobile Fixes – visibilità e usabilità ========== */
@media (max-width: 991.98px) {
    /* About section (SEBASTIANO DOSSENA) */
    .gt-about-section .gt-section-title h2 {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
        margin-bottom: 1rem;
    }
    .gt-about-section .gt-about-text {
        font-size: 0.95rem;
    }
    .gt-about-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    /* Hero: più padding, titoli scalati */
    .gt-hero-2 {
        padding-top: 1.5rem;
        padding-bottom: 2rem;
        overflow: hidden;
    }
    .gt-hero-2 .gt-hero-content {
        text-align: center;
    }
    .gt-hero-2 .gt-hero-content .gt-hero-button {
        display: flex;
        justify-content: center;
    }
    .gt-hero-2 .gt-hero-content h1 {
        font-size: clamp(1.5rem, 5vw, 2.1rem);
        line-height: 1.2;
    }
    .gt-hero-2 .gt-hero-content h6 {
        font-size: 0.85rem;
    }
    .gt-hero-2 .gt-hero-content p {
        font-size: 0.95rem;
    }
    .gt-hero-2 .gt-hero-image img {
        max-width: 130%;
        width: 130%;
        margin-left: -15%;
        height: auto;
        margin-top: 55px;
    }
    /* Event: titolo ESTORIL scalato */
    .gt-event-estoril {
        font-size: clamp(1.8rem, 8vw, 36px);
    }
    /* Countdown mobile: gestito sopra in blocco dedicato */
    /* About Seba: padding e testo */
    .gt-about-section-2 {
        padding: 2rem 0;
    }
    .gt-about-section-2 .gt-about-wrapper-2 {
        text-align: center;
    }
    .gt-about-section-2 .gt-about-wrapper-2 .row {
        justify-content: center;
    }
    .gt-about-section-2 .gt-about-wrapper-2 .gt-about-content {
        text-align: center !important;
        align-items: center !important;
    }
    .gt-about-section-2 .gt-seba-team {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .gt-about-section-2 .gt-about-content .gt-theme-btn {
        align-self: center;
    }
    .gt-about-wrapper-2 .gt-about-content .gt-section-title h2 {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
    }
    .gt-about-wrapper-2 .gt-about-content .gt-about-text {
        font-size: 0.95rem;
    }
    .gt-seba-team-logo {
        max-width: 160px;
    }
    /* Sponsor recruitment */
    .gt-sponsor-recruitment {
        padding: 2rem 0;
    }
    .gt-sponsor-recruitment .gt-sub-title {
        font-size: clamp(3rem, 15vw, 5rem);
    }
    .gt-sponsor-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }
    .gt-sponsor-text {
        font-size: 0.95rem;
    }
    /* Form contatti: tap target minimo 44px */
    .gt-contact-form .form-control,
    .gt-contact-form .form-select {
        min-height: 48px;
        font-size: 16px;
    }
    .gt-contact-form-wrap {
        padding: 1.5rem 1.25rem;
    }
    .gt-contact-submit {
        min-height: 48px;
        padding: 0.75rem 1.5rem;
    }
    /* Footer: logo e frase centrati su mobile – colonna About */
    .gt-footer-about-col .gt-widget-head,
    .gt-footer-about-col .gt-footer-content {
        text-align: center;
    }
    .gt-footer-about-col .gt-widget-head {
        display: flex;
        justify-content: center;
    }
    .gt-footer-about-col .gt-footer-logo {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    .gt-footer-about-col .gt-footer-logo img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    .gt-footer-about-col .gt-footer-content .gt-social-icon {
        justify-content: center;
    }
    .gt-footer-widget-wrapper {
        padding-top: 2.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    .gt-footer-widget-title h4 {
        font-size: 1.1rem;
    }
    .gt-footer-list li a {
        font-size: 0.95rem;
    }
    /* Back to top: leggermente più piccolo su mobile */
    .gt-back-to-top {
        width: 44px;
        height: 44px;
        right: 16px;
        bottom: 16px;
    }
    /* Nascondi cursore mouse su touch */
    .cursor-outer,
    .cursor-inner {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    /* Section padding ridotto su mobile */
    .section-padding {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    /* Container padding */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    /* Hero ancora più compatto */
    .gt-hero-2 .gt-hero-content {
        text-align: center;
    }
    .gt-hero-2 .gt-hero-content .gt-hero-button {
        display: flex;
        justify-content: center;
    }
    .gt-hero-2 .gt-hero-content h1 {
        font-size: 1.55rem;
    }
    .gt-hero-2 .gt-hero-content h1 span {
        display: block;
    }
    /* Countdown xs: gestito nel blocco dedicato sopra */
    /* About pills su due righe se necessario */
    .gt-sponsor-value-pill {
        font-size: 0.8rem;
        padding: 0.35rem 0.65rem;
    }
    /* Card round calendario */
    .gt-round-card-inner {
        padding: 1rem;
    }
    .gt-round-track {
        font-size: 1.15rem;
    }
    /* Sponsor page cards */
    .gt-sponsor-page-card-name {
        font-size: 1rem;
    }
    .gt-sponsor-page-card-logo .gt-sponsor-page-card-img-lg,
    .gt-sponsor-page-card-logo .gt-sponsor-page-card-img-md {
        max-height: 120px;
    }
    /* Footer bottom */
    .gt-footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center !important;
    }
    .gt-footer-bottom .col-md-6 {
        text-align: center !important;
    }
    /* Galleria: immagini proporzionate */
    .gt-galleria-img {
        min-height: 180px;
        object-fit: cover;
    }
    /* Contatti: email/telefono che si spezzano */
    .gt-contact-direct-value {
        word-break: break-all;
    }
}

/* ===== Quote Section (citazione dopo hero) ===== */
.gt-quote-section {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

.gt-quote-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #0f0f0f 100%);
    z-index: 0;
}

.gt-quote-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(230, 57, 70, 0.08) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.gt-quote-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.gt-quote-mark {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(4rem, 10vw, 6.5rem);
    line-height: 1;
    color: var(--gt-theme, #E63946);
    opacity: 0.35;
    margin-bottom: -0.5rem;
}

.gt-quote-text {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 400;
    line-height: 1.5;
    color: #f5f5f5;
    margin: 0 0 1.25rem;
    font-style: italic;
    letter-spacing: 0.02em;
}

.gt-quote-author {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    font-style: normal;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.gt-quote-accent {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gt-theme, #E63946), transparent);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

@media (max-width: 575.98px) {
    .gt-quote-section {
        padding: 3rem 1rem;
    }
    .gt-quote-text {
        font-size: 1.2rem;
    }
}

/* ========== Video gare ========== */
.gt-video-card-link {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    font-family: inherit;
}
.gt-video-card-link:hover {
    color: inherit;
}
.gt-video-card-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--gt-card-radius);
    overflow: hidden;
}
.gt-video-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gt-video-card-link:hover .gt-video-card-img {
    transform: scale(1.05);
}
.gt-video-card-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    transition: background 0.3s ease;
}
.gt-video-card-link:hover .gt-video-card-play {
    background: rgba(0, 0, 0, 0.5);
}
.gt-video-card-play i {
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.gt-video-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: #fff;
    line-height: 1.35;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gt-video-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}
.gt-video-card-meta i {
    opacity: 0.8;
}
.gt-video-modal-content {
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--gt-card-radius);
}
.gt-video-modal-header {
    padding: 1rem 1.25rem 0;
}
.gt-video-modal-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}
.gt-video-modal .btn-close-white {
    filter: brightness(0) invert(1);
}
.gt-video-modal-body .ratio iframe {
    border: 0;
}

/* Pagina video su sfondo chiaro */
.gt-video-gare--light {
    background: #f0f1f3;
}
.gt-video-gare--light .gt-video-card-title {
    color: #1a1a1a;
}
.gt-video-gare--light .gt-video-card-meta {
    color: #495057;
}

/* Pagina Game */
.gt-game-section {
    background: #0d0d0d;
}

/* Footer: Rider equipment – contenitori marchi */
.gt-footer-rider-equipment .gt-footer-rider-equipment-label {
    text-transform: uppercase;
    font-weight: 600;
}
.gt-footer-partner-tecnici {
    gap: 1rem 1.5rem !important;
}
@media (min-width: 576px) {
    .gt-footer-partner-tecnici {
        flex-wrap: nowrap;
    }
}
.gt-footer-pt-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    min-height: 60px;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--gt-card-radius);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.gt-footer-pt-logo:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}
.gt-footer-pt-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
}
.gt-footer-pt-img {
    max-height: 48px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.25s ease;
}
.gt-footer-pt-logo:hover .gt-footer-pt-img {
    opacity: 1;
}