:root {
    --black: #050706;
    --black-soft: #09100d;
    --panel: #0d1512;
    --panel-2: #101a16;
    --line: rgba(255, 255, 255, 0.09);

    --green: #35e58a;
    --green-2: #66d48e;
    --green-dark: #14844a;

    --red: #ef4f43;
    --cream: #f3f1eb;
    --white: #ffffff;

    --text: #111412;
    --muted: #9ca5a0;
    --light-muted: #68706c;

    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;

    --shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}


/* =========================================================
   BASE
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 128px;
}

body {
    margin: 0;
    overflow-x: hidden;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: var(--cream);
    color: var(--text);
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

img {
    max-width: 100%;
}

.container {
    width: min(1420px, 92%);
    margin: 0 auto;
}

#ranking,
#match-center,
#news,
#circuits,
#shop,
#community {
    scroll-margin-top: 128px;
}


/* =========================================================
   HEADER HOME
   ========================================================= */

.topbar,
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(4, 8, 7, 0.97);
    backdrop-filter: blur(18px);

    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner,
.header-inner {
    min-height: 112px;

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;

    gap: 42px;
}

.logo,
.brand {
    display: flex;
    align-items: center;

    gap: 16px;
    min-width: max-content;

    text-decoration: none;
}

.logo-image {
    width: 74px;
    height: 74px;

    flex: 0 0 auto;

    border-radius: 50%;
    object-fit: cover;

    display: block;

    border: 2px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.brand img {
    width: 58px;
    height: 58px;

    flex: 0 0 auto;

    display: block;
    object-fit: cover;

    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.logo-text {
    position: relative;

    display: flex;
    flex-direction: column;
}

.logo-text strong,
.brand strong {
    display: block;

    color: white;

    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.8px;
}

.brand strong {
    font-size: 19px;
}

.logo-text strong span,
.brand strong span {
    color: var(--green);
}

.logo-text small,
.brand small {
    display: block;

    margin-top: 6px;

    color: #a6ada9;
    font-size: 13px;
}

.brand small {
    font-size: 11px;
}

.brand-flag {
    width: 132px;
    height: 4px;

    margin-top: 9px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 4px;
}

.brand-flag i {
    display: block;
    border-radius: 20px;
}

.brand-flag .green {
    background: #168b4c;
}

.brand-flag .white {
    background: #f1f1ec;
}

.brand-flag .red {
    background: #dc4438;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 24px;
}

.main-nav a {
    position: relative;

    padding: 42px 0;

    text-decoration: none;

    color: #d4d8d6;

    font-size: 14px;
    font-weight: 800;
}

.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 20px;

    height: 3px;

    border-radius: 20px;
    background: var(--green);

    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;

    transition:
        transform 0.18s ease,
        opacity 0.18s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: white;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;

    gap: 14px;
}

.community-button,
.community-btn {
    min-height: 50px;

    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: var(--green);
    color: #06100c;

    text-decoration: none;

    font-size: 13px;
    font-weight: 900;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.community-button:hover,
.community-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(53, 229, 138, 0.18);
}


/* =========================================================
   INFO STRIP
   ========================================================= */

.info-strip {
    position: relative;
    z-index: 20;

    background:
        linear-gradient(
            90deg,
            #06110d,
            #071915 48%,
            #06100d
        );

    color: white;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-strip-inner {
    min-height: 74px;

    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.info-item {
    position: relative;
    min-width: 0;

    padding: 16px 24px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.info-item:first-child {
    padding-left: 0;
}

.info-item:last-child {
    border-right: 0;
}

.info-value {
    display: flex;
    align-items: center;

    gap: 8px;

    color: white;

    font-size: 15px;
    font-weight: 900;
    letter-spacing: -0.2px;
}

.info-value.accent {
    color: var(--green);
}

.info-label {
    margin-top: 3px;

    color: #8e9b95;

    font-size: 12px;
}

.live-value {
    color: #ff6a5f;
}

.live-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #ff3b30;
    box-shadow: 0 0 0 5px rgba(255, 59, 48, 0.12);
}


/* =========================================================
   HERO HOME
   ========================================================= */

.hero {
    position: relative;

    padding: 34px 0 22px;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(18, 128, 72, 0.18),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #050706,
            #07100d
        );
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.82fr) minmax(320px, 0.72fr);

    gap: 18px;
}

.hero-main {
    position: relative;

    min-height: 570px;

    overflow: hidden;

    border-radius: var(--radius-xl);

    isolation: isolate;

    background:
        radial-gradient(
            circle at 74% 42%,
            rgba(53, 229, 138, 0.16),
            transparent 27%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(239, 79, 67, 0.13),
            transparent 28%
        ),
        linear-gradient(
            120deg,
            #0a130f 0%,
            #07100d 60%,
            #0b0706 100%
        );

    color: white;

    box-shadow: var(--shadow);
}

.hero-main::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -3;

    opacity: 0.24;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px
        );

    background-size: 46px 46px;

    mask-image:
        linear-gradient(
            90deg,
            black,
            transparent 82%
        );
}

.hero-main::after {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -180px;
    bottom: -280px;

    z-index: -2;

    border-radius: 50%;

    background: rgba(239, 79, 67, 0.11);

    filter: blur(70px);
}

.hero-content {
    position: relative;
    z-index: 4;

    width: min(68%, 690px);
    min-height: 570px;

    padding: 54px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-category {
    margin-bottom: 24px;

    color: var(--green);

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2.3px;
}

.hero-badge {
    display: flex;
    align-items: center;

    gap: 11px;

    margin-bottom: 20px;

    color: #b0b8b4;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.hero-badge > span {
    width: 9px;
    height: 9px;

    flex: 0 0 auto;

    border-radius: 50%;

    background: var(--green);

    box-shadow: 0 0 0 5px rgba(53, 229, 138, 0.10);
}

.hero h1 {
    margin: 0;

    max-width: 690px;

    font-size: clamp(58px, 5.6vw, 88px);
    line-height: 0.92;
    letter-spacing: -4.6px;
}

.hero h1 > span {
    display: block;

    color: var(--green);
}

.hero-description {
    max-width: 560px;

    margin: 28px 0 0;

    color: #c0c7c3;

    font-size: 18px;
    line-height: 1.55;
}

.hero-actions {
    margin-top: 32px;

    display: flex;
    align-items: center;

    gap: 14px;
}

.cta-primary,
.cta-secondary {
    min-height: 54px;

    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    border-radius: 13px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 900;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.cta-primary {
    background: var(--green);
    color: #07110d;

    border: 1px solid var(--green);
}

.cta-secondary {
    background: rgba(7, 13, 11, 0.62);
    color: white;

    border: 1px solid rgba(255, 255, 255, 0.34);
}

.cta-primary:hover,
.cta-secondary:hover {
    transform: translateY(-2px);
}


/* Vera pallina da tennis, non tricolore */

.hero-ball {
    position: absolute;

    z-index: 1;

    width: 330px;
    height: 330px;

    right: 4%;
    top: 118px;

    border-radius: 50%;

    transform: rotate(-13deg);

    background:
        radial-gradient(
            circle at 31% 24%,
            rgba(255, 255, 255, 0.55),
            transparent 11%
        ),
        radial-gradient(
            circle at 36% 31%,
            #bdf05f 0%,
            #8fd63e 45%,
            #5aa724 72%,
            #326915 100%
        );

    box-shadow:
        inset -34px -36px 64px rgba(0, 0, 0, 0.34),
        inset 20px 18px 34px rgba(255, 255, 255, 0.15),
        0 34px 78px rgba(0, 0, 0, 0.42),
        0 0 75px rgba(132, 225, 64, 0.12);
}

.hero-ball::before,
.hero-ball::after {
    content: "";

    position: absolute;

    top: -4%;

    width: 56%;
    height: 108%;

    border-radius: 50%;
}

.hero-ball::before {
    left: -25%;

    border-right: 5px solid rgba(246, 246, 227, 0.78);
}

.hero-ball::after {
    right: -25%;

    border-left: 5px solid rgba(246, 246, 227, 0.78);
}


/* =========================================================
   HERO SIDE CARDS
   ========================================================= */

.hero-side {
    display: grid;
    grid-template-rows: 1fr 1fr;

    gap: 18px;
}

.side-news {
    position: relative;

    min-height: 276px;

    overflow: hidden;

    border-radius: var(--radius-xl);

    padding: 32px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.side-news-light {
    background: #f5f2eb;
    color: #101311;
}

.side-news-light::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -70px;
    top: -45px;

    border-radius: 50%;

    border: 28px solid rgba(22, 139, 76, 0.06);
}

.side-news-dark {
    background:
        linear-gradient(
            145deg,
            #111714,
            #0a0d0c
        );

    color: white;

    border: 1px solid rgba(255, 255, 255, 0.10);
}

.side-news h2 {
    max-width: 390px;

    margin: 16px 0 12px;

    font-size: clamp(25px, 2.2vw, 34px);
    line-height: 1.02;
    letter-spacing: -1.3px;
}

.side-news p {
    max-width: 380px;

    margin: 0;

    color: #727a76;

    font-size: 14px;
    line-height: 1.5;
}

.side-news-dark p {
    color: #9ca5a0;
}

.tag {
    display: inline-flex;
    align-items: center;

    width: fit-content;

    color: var(--green-dark);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.tag.red {
    color: var(--red);
}

.red-text {
    color: var(--red);
}

.side-tricolore {
    align-self: flex-end;

    width: 120px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 5px;
}

.side-tricolore span {
    height: 5px;

    border-radius: 20px;
}

.side-tricolore span:nth-child(1) {
    background: #168b4c;
}

.side-tricolore span:nth-child(2) {
    background: white;

    border: 1px solid #d6d6d1;
}

.side-tricolore span:nth-child(3) {
    background: #dc4438;
}

.side-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.live-pill {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: white;

    font-size: 11px;
    font-weight: 900;
}

.live-pill i {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #ff3126;
    box-shadow: 0 0 0 6px rgba(255, 49, 38, 0.11);
}

.circle-arrow {
    position: absolute;

    right: 28px;
    bottom: 26px;

    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 50%;

    text-decoration: none;

    color: white;

    font-size: 22px;
}


/* =========================================================
   QUICK NAV
   ========================================================= */

.quick-grid {
    margin-top: 18px;

    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));

    gap: 12px;
}

.quick-card {
    min-width: 0;
    min-height: 86px;

    padding: 17px;

    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;

    gap: 13px;

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;

    background: #0b1511;
    color: white;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.quick-card:hover {
    transform: translateY(-3px);

    border-color: rgba(53, 229, 138, 0.35);

    background: #0d1a15;
}

.quick-icon {
    min-width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    color: var(--green);

    font-size: 18px;
    font-weight: 900;
}

.quick-icon.bars {
    letter-spacing: -3px;
}

.quick-card > span:nth-child(2) {
    min-width: 0;

    display: flex;
    flex-direction: column;
}

.quick-card strong {
    overflow: hidden;

    text-overflow: ellipsis;
    white-space: nowrap;

    font-size: 13px;
}

.quick-card small {
    margin-top: 4px;

    overflow: hidden;

    text-overflow: ellipsis;
    white-space: nowrap;

    color: #8e9993;

    font-size: 11px;
}

.quick-card b {
    color: #92a098;

    font-size: 22px;
    font-weight: 400;
}


/* =========================================================
   SHARED SECTION HEADINGS
   ========================================================= */

.section-heading {
    margin-bottom: 34px;

    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 30px;
}

.section-heading h2 {
    margin: 7px 0 0;

    font-size: clamp(38px, 4.5vw, 58px);
    line-height: 0.98;
    letter-spacing: -2.7px;
}

.section-heading p {
    max-width: 650px;

    margin: 13px 0 0;

    color: #727a76;

    line-height: 1.5;
}

.section-label {
    color: var(--green-dark);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.8px;
}

.section-note {
    flex: 0 0 auto;

    padding: 9px 13px;

    border-radius: 999px;

    background: rgba(10, 21, 17, 0.06);
    color: #536058;

    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   RANKING
   ========================================================= */

.ranking-section {
    padding: 72px 0 82px;

    background: #07100d;
}

.ranking-box {
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 26px;

    background:
        radial-gradient(
            circle at 92% 0%,
            rgba(53, 229, 138, 0.16),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            #101915,
            #090d0b
        );

    color: white;

    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.20);
}

.ranking-header {
    padding: 32px 34px;

    display: flex;
    justify-content: space-between;
    align-items: end;

    gap: 30px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ranking-label {
    color: var(--green);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.8px;
}

.ranking-header h2 {
    margin: 7px 0 0;

    font-size: 42px;
    letter-spacing: -2px;
}

.ranking-header p {
    margin: 8px 0 0;

    color: #87918c;

    font-size: 13px;
}

.ranking-update {
    display: flex;
    align-items: center;

    gap: 9px;

    color: #87918c;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
}

.ranking-live-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--green);
    box-shadow: 0 0 0 5px rgba(53, 229, 138, 0.10);
}

.ranking-list {
    padding: 0 34px;
}

.ranking-row {
    min-height: 72px;

    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 120px 110px;
    align-items: center;

    gap: 18px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ranking-number {
    color: var(--green);

    font-size: 18px;
    font-weight: 900;
}

.ranking-player {
    display: flex;
    flex-direction: column;
}

.ranking-player strong {
    font-size: 17px;
}

.ranking-player span {
    margin-top: 4px;

    color: #77827c;

    font-size: 11px;
}

.ranking-atp-position {
    color: #77827c;

    font-size: 11px;
}

.ranking-atp-position strong {
    margin-left: 5px;

    color: white;

    font-size: 16px;
}

.ranking-points {
    text-align: right;

    color: white;

    font-size: 15px;
    font-weight: 900;
}

.ranking-points span {
    color: #77827c;

    font-size: 10px;
    font-weight: 700;
}

.ranking-more summary {
    padding: 20px 34px;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 10px;

    color: var(--green);

    cursor: pointer;
    list-style: none;

    font-size: 12px;
    font-weight: 900;
}

.ranking-more summary::-webkit-details-marker {
    display: none;
}

.ranking-more[open] summary span {
    transform: rotate(180deg);
}

.ranking-list-extra {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.ranking-error {
    padding: 35px;

    display: flex;
    flex-direction: column;

    gap: 8px;

    color: #98a19c;
}

.ranking-error strong {
    color: #dfe6e2;
}

.ranking-error span {
    font-size: 13px;
}


/* =========================================================
   MATCH CENTER
   ========================================================= */

.match-section {
    padding: 88px 0;

    background: #f3f1eb;
}

.match-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 16px;
}

.match-card {
    min-width: 0;

    padding: 22px;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #111714,
            #090d0b
        );

    color: white;

    border: 1px solid rgba(255, 255, 255, 0.05);

    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
}

.match-card-empty {
    max-width: 460px;
}

.match-top {
    margin-bottom: 18px;

    display: flex;
    justify-content: space-between;

    gap: 12px;

    color: #818d87;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.8px;
}

.status-live,
.status-next,
.status-finished {
    display: inline-flex;
    align-items: center;

    gap: 7px;
}

.status-live {
    color: #ff665d;
}

.status-next,
.status-finished {
    padding: 4px 8px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.07);
    color: #c8cfcb;

    font-size: 10px;
    font-weight: 900;
}

.match-player {
    min-height: 62px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.match-player > div {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 8px;
}

.match-player strong {
    overflow: hidden;

    text-overflow: ellipsis;
    white-space: nowrap;

    font-size: 15px;
}

.flag-mini {
    font-size: 14px;
}

.match-time {
    color: #e7ebe9;

    font-size: 13px;
    font-weight: 800;
}

.match-live-score {
    margin-top: 16px;
    padding: 14px 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;

    border-radius: 12px;

    background: rgba(53, 229, 138, 0.10);
    border: 1px solid rgba(53, 229, 138, 0.14);
}

.match-live-score strong {
    color: #effff6;

    font-size: 14px;
    line-height: 1.45;
}

.match-live-score span {
    color: var(--green);

    font-size: 12px;
    font-weight: 900;
}

.match-footer {
    margin-top: 12px;

    color: #69756f;

    font-size: 10px;
}


/* =========================================================
   NEWS
   ========================================================= */

.news-section {
    padding: 96px 0;

    background: white;
}

.news-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.82fr 0.82fr;

    gap: 18px;
}

.news-card {
    overflow: hidden;

    border: 1px solid #e8e9e5;
    border-radius: 22px;

    background: #f8f8f5;
}

.news-visual {
    position: relative;

    min-height: 265px;

    overflow: hidden;

    display: flex;
    align-items: flex-end;

    padding: 22px;

    color: white;
}

.news-large .news-visual {
    min-height: 380px;
}

.visual-court {
    background:
        radial-gradient(
            circle at 75% 30%,
            rgba(53, 229, 138, 0.28),
            transparent 24%
        ),
        linear-gradient(
            135deg,
            #07140f,
            #0b6c3e
        );
}

.visual-red {
    background:
        radial-gradient(
            circle at 30% 30%,
            rgba(255, 255, 255, 0.13),
            transparent 20%
        ),
        linear-gradient(
            145deg,
            #571512,
            #dd4b40
        );
}

.visual-dark {
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(53, 229, 138, 0.18),
            transparent 24%
        ),
        linear-gradient(
            145deg,
            #090b0a,
            #222a26
        );
}

.visual-label {
    position: relative;
    z-index: 2;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.6px;
}

.court-line {
    position: absolute;

    border: 2px solid rgba(255, 255, 255, 0.18);

    transform: rotate(-12deg);
}

.court-line-one {
    width: 75%;
    height: 62%;

    right: -10%;
    top: 12%;
}

.court-line-two {
    width: 46%;
    height: 100%;

    right: 22%;
    top: -20%;
}

.news-body {
    padding: 24px;
}

.news-body h3 {
    margin: 11px 0;

    font-size: 25px;
    line-height: 1.06;
    letter-spacing: -1px;
}

.news-large .news-body h3 {
    max-width: 680px;

    font-size: 35px;
}

.news-body p {
    margin-bottom: 0;

    color: #68706c;

    line-height: 1.55;
}


/* =========================================================
   CIRCUITS
   ========================================================= */

.tournaments-section {
    padding: 100px 0;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(53, 229, 138, 0.10),
            transparent 25%
        ),
        #07100d;

    color: white;
}

.dark-heading p {
    color: #8b9791;
}

.tournament-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.tournament-card {
    min-height: 260px;

    padding: 28px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;

    background:
        linear-gradient(
            150deg,
            #111b17,
            #090d0b
        );
}

.tournament-card.featured {
    background:
        radial-gradient(
            circle at 75% 15%,
            rgba(53, 229, 138, 0.25),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #0b2a1b,
            #07100d
        );
}

.tournament-card > span {
    color: var(--green);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.6px;
}

.tournament-card strong {
    margin-top: 12px;

    font-size: 29px;
    letter-spacing: -1px;
}

.tournament-card p {
    margin: 10px 0 22px;

    color: #909b95;
}

.tournament-card a {
    width: fit-content;

    text-decoration: none;

    font-weight: 900;
}

.tournament-card a:hover {
    color: var(--green);
}


/* =========================================================
   SHOP
   ========================================================= */

.shop-section {
    padding: 70px 0;

    background: #f3f1eb;
}

.shop-card {
    padding: 52px;

    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;

    gap: 70px;

    border-radius: 26px;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(53, 229, 138, 0.18),
            transparent 22%
        ),
        white;

    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.06);
}

.shop-card h2 {
    max-width: 760px;

    margin: 10px 0 0;

    font-size: clamp(38px, 4.6vw, 58px);
    line-height: 1;
    letter-spacing: -2.2px;
}

.shop-card p {
    color: #68706c;

    line-height: 1.6;
}

.shop-note {
    margin-bottom: 18px;
}

.dark-cta {
    margin-top: 12px;

    background: #0a100d;
    color: white;

    border-color: #0a100d;
}

.shop-disabled {
    cursor: default;

    opacity: 0.72;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    padding: 48px 0;

    background: #040605;
    color: white;

    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;

    gap: 14px;
}

.footer-logo {
    width: 48px;
    height: 48px;

    border-radius: 50%;
    object-fit: cover;
}

.footer-brand strong {
    font-size: 14px;
}

.footer-brand p {
    margin: 4px 0 0;

    color: #6f7a74;

    font-size: 12px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;

    gap: 24px;
}

.footer-links a,
.footer-links span {
    color: #a0aaa5;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   INTERNAL ATP/WTA PAGES
   ========================================================= */

.atp-page {
    background:
        linear-gradient(
            180deg,
            #06100c 0,
            #07130f 620px,
            #f3f0e8 620px
        );
}

.atp-hero {
    padding: 34px 0 46px;
}

.atp-hero-card {
    min-height: 480px;

    position: relative;

    overflow: hidden;

    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(380px, .95fr);

    align-items: center;

    border-radius: 30px;

    border: 1px solid rgba(255,255,255,.08);

    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(30,218,119,.18),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 90%,
            rgba(205,59,40,.12),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #07130f,
            #091a14
        );

    box-shadow: 0 30px 80px rgba(0,0,0,.25);
}

.atp-hero-card::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -150px;
    top: -180px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.05);
}

.atp-hero-copy {
    position: relative;
    z-index: 2;

    padding: 64px 68px;

    color: #fff;
}

.atp-kicker {
    display: inline-block;

    margin-bottom: 18px;

    color: #27dd82;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2.4px;
}

.atp-hero-copy h1 {
    max-width: 650px;

    margin: 0;

    color: #fff;

    font-size: clamp(54px, 6vw, 88px);
    line-height: .92;
    letter-spacing: -4px;
}

.atp-hero-copy h1 span {
    display: block;

    color: #2ce486;
}

.atp-hero-copy p {
    max-width: 570px;

    margin: 25px 0 0;

    color: rgba(255,255,255,.68);

    font-size: 19px;
    line-height: 1.6;
}

.atp-hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}

.atp-primary-btn,
.atp-secondary-btn {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 21px;

    border-radius: 12px;

    text-decoration: none;

    font-weight: 800;

    transition:
        transform .2s ease,
        opacity .2s ease;
}

.atp-primary-btn:hover,
.atp-secondary-btn:hover {
    transform: translateY(-2px);
}

.atp-primary-btn {
    background: #28df82;
    color: #06110d;
}

.atp-secondary-btn {
    color: #fff;

    border: 1px solid rgba(255,255,255,.16);

    background: rgba(255,255,255,.03);
}

.atp-hero-visual {
    min-height: 480px;

    position: relative;
}

.atp-ball {
    width: 295px;
    height: 295px;

    position: absolute;

    top: 82px;
    right: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: rgba(255,255,255,.92);

    font-size: 66px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -5px;

    border: 1px solid rgba(255,255,255,.09);

    background:
        radial-gradient(
            circle at 30% 25%,
            rgba(255,255,255,.16),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            #20d878,
            #087344 52%,
            #07140f 53%
        );

    box-shadow: 0 30px 80px rgba(0,0,0,.40);

    transform: rotate(-8deg);
}

.atp-ball::before,
.atp-ball::after {
    content: "";

    position: absolute;

    width: 70%;
    height: 88%;

    border: 3px solid rgba(255,255,255,.24);
    border-top-color: transparent;
    border-bottom-color: transparent;

    border-radius: 50%;
}

.atp-ball::before {
    left: -17%;
}

.atp-ball::after {
    right: -17%;
}

.atp-hero-stat {
    position: absolute;

    min-width: 145px;

    padding: 15px 18px;

    border-radius: 16px;

    color: #fff;

    border: 1px solid rgba(255,255,255,.10);

    background: rgba(6,18,13,.85);

    backdrop-filter: blur(10px);

    box-shadow: 0 15px 35px rgba(0,0,0,.18);
}

.atp-hero-stat strong {
    display: block;

    color: #2ce486;

    font-size: 25px;
}

.atp-hero-stat span {
    display: block;

    margin-top: 3px;

    color: rgba(255,255,255,.62);

    font-size: 12px;
}

.atp-hero-stat.stat-one {
    left: 15px;
    bottom: 85px;
}

.atp-hero-stat.stat-two {
    right: 35px;
    bottom: 45px;
}

.atp-tournaments-section {
    padding: 72px 0 90px;

    background: #f3f0e8;
}

.atp-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 30px;

    margin-bottom: 32px;
}

.atp-section-heading h2 {
    margin: 0;

    color: #0a1511;

    font-size: clamp(42px, 5vw, 68px);
    line-height: .95;
    letter-spacing: -3px;
}

.atp-section-heading p {
    margin: 14px 0 0;

    color: #758078;
}

.atp-section-note {
    padding: 9px 13px;

    border-radius: 999px;

    background: rgba(10,21,17,.06);
    color: #536058;

    font-size: 12px;
    font-weight: 800;
}

.atp-tournament-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 22px;
}

.atp-tournament-card {
    min-height: 330px;

    position: relative;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    padding: 26px;

    border-radius: 25px;

    color: #fff;

    border: 1px solid rgba(255,255,255,.07);

    background:
        radial-gradient(
            circle at 90% 12%,
            rgba(38,225,130,.23),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #081510,
            #0b2018
        );

    box-shadow: 0 20px 50px rgba(21,33,27,.13);
}

.atp-tournament-card:nth-child(even) {
    background:
        radial-gradient(
            circle at 90% 12%,
            rgba(215,61,41,.16),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #081510,
            #172019
        );
}

.atp-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;
}

.atp-level,
.atp-country {
    display: inline-flex;
    align-items: center;

    min-height: 28px;

    padding: 0 10px;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 900;
}

.atp-level {
    color: #06120d;

    background: #34e78c;
}

.atp-country {
    color: rgba(255,255,255,.65);

    background: rgba(255,255,255,.06);
}

.atp-card-decoration {
    position: absolute;

    right: 20px;
    top: 72px;

    width: 150px;
    height: 90px;
}

.atp-card-decoration span {
    position: absolute;

    right: 0;

    width: 130px;
    height: 2px;

    border-radius: 4px;

    background: rgba(255,255,255,.08);

    transform: rotate(-20deg);
}

.atp-card-decoration span:nth-child(2) {
    top: 30px;
}

.atp-card-decoration span:nth-child(3) {
    top: 60px;
}

.atp-card-content {
    position: relative;
    z-index: 2;

    margin-top: auto;

    padding-top: 80px;
}

.atp-card-content h3 {
    max-width: 440px;

    margin: 0;

    font-size: clamp(31px, 4vw, 48px);
    line-height: .95;
    letter-spacing: -2px;
}

.atp-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 16px;

    margin-top: 22px;

    color: rgba(255,255,255,.66);

    font-size: 13px;
}

.atp-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    margin-top: 24px;
    padding-top: 18px;

    border-top: 1px solid rgba(255,255,255,.08);

    color: rgba(255,255,255,.48);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
}

.atp-tournament-link {
    color: rgba(255,255,255,.92);

    text-decoration: none;

    font-weight: 900;
}

.atp-tournament-link:hover {
    color: var(--green);
}

.atp-empty {
    padding: 34px;

    border-radius: 22px;

    background: white;

    border: 1px solid rgba(10,21,17,.07);
}

.atp-empty strong {
    display: block;

    color: #0a1511;

    font-size: 20px;
}

.atp-empty p {
    max-width: 650px;

    color: #758078;

    line-height: 1.6;
}

.atp-next-section {
    padding: 0 0 100px;

    background: #f3f0e8;
}

.atp-next-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 18px;
}

.atp-next-card {
    min-height: 200px;

    padding: 27px;

    border-radius: 22px;

    background: #fff;

    border: 1px solid rgba(9,26,18,.07);

    box-shadow: 0 14px 35px rgba(13,30,21,.05);
}

.atp-next-card h3 {
    margin: 0 0 10px;

    color: #0b1812;

    font-size: 27px;
}

.atp-next-card p {
    margin: 0 0 18px;

    color: #758078;

    line-height: 1.6;
}

.atp-next-card a {
    color: #0b1812;

    text-decoration: none;

    font-weight: 900;
}

.atp-next-card a:hover {
    color: var(--green-dark);
}


/* =========================================================
   SINGLE ATP TOURNAMENT
   ========================================================= */

.atp-tournament-page {
    background: #f3f0e8;
}

.tournament-detail-hero {
    padding: 38px 0 54px;

    background:
        linear-gradient(
            180deg,
            #06100c,
            #07150f
        );
}

.tournament-back {
    display: inline-block;

    margin-bottom: 22px;

    color: rgba(255,255,255,.60);

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;
}

.tournament-back:hover {
    color: #31e588;
}

.tournament-detail-card {
    min-height: 430px;

    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(320px, .85fr);

    align-items: center;

    overflow: hidden;

    border-radius: 30px;

    border: 1px solid rgba(255,255,255,.08);

    background:
        radial-gradient(
            circle at 80% 35%,
            rgba(37,223,128,.20),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #07130f,
            #0a1d15
        );

    box-shadow: 0 30px 80px rgba(0,0,0,.24);
}

.tournament-detail-copy {
    padding: 55px 58px;

    color: #fff;
}

.tournament-detail-tags {
    display: flex;

    gap: 10px;

    margin-bottom: 25px;
}

.tournament-detail-copy h1 {
    max-width: 720px;

    margin: 0;

    font-size: clamp(48px, 6vw, 82px);
    line-height: .92;
    letter-spacing: -4px;
}

.tournament-detail-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 40px;

    margin-top: 36px;
}

.tournament-detail-meta div {
    min-width: 120px;
}

.detail-label {
    display: block;

    margin-bottom: 7px;

    color: rgba(255,255,255,.45);

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.tournament-detail-meta strong {
    color: #fff;

    font-size: 16px;
}

.tournament-detail-visual {
    min-height: 430px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.tournament-orbit {
    width: 245px;
    height: 245px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    border-radius: 50%;

    color: #fff;

    font-size: 60px;
    font-weight: 900;
    font-style: italic;

    background:
        linear-gradient(
            145deg,
            #2ce486,
            #087a47 50%,
            #07130f 51%
        );

    box-shadow: 0 30px 70px rgba(0,0,0,.32);
}

.tournament-orbit::before,
.tournament-orbit::after {
    content: "";

    position: absolute;

    inset: -34px;

    border: 2px solid rgba(255,255,255,.10);

    border-radius: 50%;
}

.tournament-orbit::after {
    inset: -65px;

    border-color: rgba(45,228,134,.08);
}

.tournament-nav-section {
    position: sticky;

    top: 112px;
    z-index: 40;

    background: #fff;

    border-bottom: 1px solid rgba(7,25,16,.07);
}

.tournament-tabs {
    min-height: 68px;

    display: flex;
    align-items: center;

    gap: 34px;

    overflow-x: auto;
}

.tournament-tabs a {
    min-height: 68px;

    display: flex;
    align-items: center;

    position: relative;

    color: #59645d;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;
}

.tournament-tabs a.active {
    color: #0a1811;
}

.tournament-tabs a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 3px;

    border-radius: 5px;

    background: #27df81;
}

.tournament-content-section {
    padding: 72px 0 38px;
}

.tournament-section-head {
    max-width: 820px;

    margin-bottom: 32px;
}

.tournament-section-head h2 {
    margin: 0;

    color: #091610;

    font-size: clamp(40px, 5vw, 66px);
    line-height: .95;
    letter-spacing: -3px;
}

.tournament-section-head p {
    max-width: 720px;

    margin: 20px 0 0;

    color: #758078;

    font-size: 17px;
    line-height: 1.65;
}

.tournament-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 18px;
}

.tournament-info-card {
    min-height: 210px;

    padding: 27px;

    border-radius: 22px;

    background: #fff;

    border: 1px solid rgba(7,25,16,.06);

    box-shadow: 0 15px 35px rgba(15,30,20,.05);
}

.tournament-info-card h3 {
    margin: 0 0 12px;

    color: #0a1811;

    font-size: 28px;
}

.tournament-info-card p {
    margin: 0;

    color: #79827c;

    line-height: 1.55;
}

.tournament-placeholder-section {
    padding: 18px 0;
}

.tournament-placeholder-card {
    min-height: 240px;

    padding: 34px;

    border-radius: 25px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f8f7f2
        );

    border: 1px solid rgba(7,25,16,.06);
}

.tournament-placeholder-card h2 {
    margin: 0 0 12px;

    color: #0a1811;

    font-size: 38px;
}

.tournament-placeholder-card p {
    max-width: 650px;

    margin: 0;

    color: #78827b;

    font-size: 16px;
    line-height: 1.6;
}

.tournament-not-found {
    min-height: 600px;

    display: flex;
    align-items: center;

    padding: 80px 0;
}

.tournament-not-found h1 {
    margin: 0 0 15px;

    font-size: 60px;
}

.tournament-not-found p {
    margin-bottom: 30px;

    color: #758078;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1180px) {

    .topbar-inner,
    .header-inner {
        gap: 24px;
    }

    .logo-image {
        width: 62px;
        height: 62px;
    }

    .logo-text strong {
        font-size: 19px;
    }

    .main-nav {
        gap: 18px;
    }

    .community-button,
    .community-btn {
        display: none;
    }

    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-side {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .side-news {
        min-height: 250px;
    }

    .quick-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .match-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 900px) {

    .atp-hero-card,
    .tournament-detail-card {
        grid-template-columns: 1fr;
    }

    .atp-hero-copy,
    .tournament-detail-copy {
        padding: 45px 28px;
    }

    .atp-hero-visual {
        min-height: 330px;
    }

    .atp-ball {
        width: 230px;
        height: 230px;

        top: 25px;
        right: 50%;

        transform:
            translateX(50%)
            rotate(-8deg);

        font-size: 50px;
    }

    .atp-tournament-grid,
    .atp-next-grid,
    .tournament-info-grid {
        grid-template-columns: 1fr;
    }

    .atp-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .tournament-detail-visual {
        min-height: 320px;
    }

    .tournament-tabs {
        gap: 22px;
    }
}


@media (max-width: 820px) {

    html {
        scroll-padding-top: 100px;
    }

    #ranking,
    #match-center,
    #news,
    #circuits,
    #shop,
    #community {
        scroll-margin-top: 100px;
    }

    .container {
        width: min(94%, 680px);
    }

    .info-strip {
        overflow-x: auto;
    }

    .info-strip-inner {
        width: max-content;
        min-width: 900px;
    }

    .info-item {
        width: 180px;
    }

    .topbar-inner,
    .header-inner {
        min-height: 88px;

        display: flex;
        justify-content: space-between;
    }

    .logo-image {
        width: 54px;
        height: 54px;
    }

    .brand img {
        width: 50px;
        height: 50px;
    }

    .logo-text strong {
        font-size: 16px;
    }

    .logo-text small {
        font-size: 11px;
    }

    .brand-flag {
        width: 98px;
    }

    .main-nav {
        display: none;
    }

    .hero {
        padding-top: 18px;
    }

    .hero-main {
        min-height: 590px;
    }

    .hero-content {
        width: 100%;
        min-height: 590px;

        padding: 36px;

        justify-content: flex-end;
    }

    .hero h1 {
        max-width: 620px;

        font-size: clamp(52px, 12vw, 74px);
        letter-spacing: -3.4px;
    }

    .hero-description {
        max-width: 500px;
    }

    .hero-ball {
        width: 300px;
        height: 300px;

        right: -48px;
        top: -35px;

        opacity: 0.78;
    }

    .quick-grid {
        grid-template-columns: 1fr 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-large .news-visual,
    .news-visual {
        min-height: 280px;
    }

    .tournament-grid {
        grid-template-columns: 1fr;
    }

    .shop-card {
        grid-template-columns: 1fr;

        gap: 34px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .tournament-nav-section {
        top: 88px;
    }
}


@media (max-width: 560px) {

    .logo {
        gap: 10px;
    }

    .logo-image {
        width: 47px;
        height: 47px;
    }

    .logo-text strong {
        font-size: 14px;
        letter-spacing: -0.3px;
    }

    .logo-text small {
        display: none;
    }

    .brand-flag {
        width: 86px;

        margin-top: 6px;
    }

    .hero-main {
        min-height: 570px;

        border-radius: 22px;
    }

    .hero-content {
        min-height: 570px;

        padding: 28px;
    }

    .hero-category {
        margin-bottom: 18px;
    }

    .hero-badge {
        max-width: 260px;

        line-height: 1.5;
    }

    .hero h1 {
        font-size: 50px;
        line-height: 0.96;
        letter-spacing: -2.7px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
    }

    .hero-ball {
        width: 260px;
        height: 260px;

        right: -75px;
        top: -20px;

        opacity: 0.62;
    }

    .hero-side {
        grid-template-columns: 1fr;
    }

    .side-news {
        min-height: 235px;

        padding: 26px;
    }

    .quick-grid {
        grid-template-columns: 1fr;
    }

    .match-grid {
        grid-template-columns: 1fr;
    }

    .ranking-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .ranking-row {
        grid-template-columns: 30px minmax(0, 1fr) auto;
        gap: 10px;
    }

    .ranking-atp-position {
        text-align: right;
    }

    .ranking-points {
        grid-column: 2 / -1;

        padding-bottom: 12px;
    }

    .section-heading h2 {
        font-size: 41px;
    }

    .match-section,
    .news-section,
    .tournaments-section {
        padding: 72px 0;
    }

    .news-large .news-body h3 {
        font-size: 29px;
    }

    .shop-card {
        padding: 32px;
    }

    .footer-layout {
        align-items: flex-start;
        flex-direction: column;
    }

    .tournament-detail-copy h1 {
        font-size: 44px;
        letter-spacing: -2.4px;
    }
}


/* HOME RANKING ATP + WTA */

.home-ranking-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 900px) {
    .home-ranking-grid {
        grid-template-columns: 1fr;
    }
}

.tournament-matches-heading {
    margin-top: 56px;
}



/* FACEBOOK FOLLOWER COUNTER */

.info-facebook-link {
    display: contents;
    color: inherit;
    text-decoration: none;
}

.info-facebook-link .info-value,
.info-facebook-link .info-label {
    transition:
        opacity .18s ease,
        transform .18s ease;
}

.info-facebook-link:hover .info-value,
.info-facebook-link:hover .info-label {
    opacity: .78;
}



/* INFO BAR CLICCABILE */

.info-item-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition:
        background .18s ease,
        transform .18s ease;
}

.info-item-link:hover {
    background: rgba(255, 255, 255, .035);
}

.info-item-link:active {
    transform: translateY(1px);
}



/* INFO BAR - LINK COMPLETI */

.info-item-link {
    position: relative;
    z-index: 2;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease;
}

.info-item-link:hover {
    background: rgba(255, 255, 255, .055);
}

.info-item-link:hover .info-label {
    color: #ffffff;
}



/* LIVE REALE */

.live-now .live-dot {
    animation: realLivePulse 1.15s ease-in-out infinite;
}

#live-match,
#today-match {
    scroll-margin-top: 140px;
}

@keyframes realLivePulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .35;
        transform: scale(.72);
    }
}




/* =========================================================
   HOME POLISH V3
   ========================================================= */


/* Barra superiore cliccabile ma senza effetto link HTML */

.info-item-link,
.info-item-link:visited,
.info-item-link:hover,
.info-item-link:active {
    text-decoration: none !important;
}

.info-item-link .info-value,
.info-item-link .info-label {
    text-decoration: none !important;
}


/* Un solo ranking ATP + WTA */

.home-ranking-section {
    padding: 88px 0;
    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(42, 206, 119, .06),
            transparent 34%
        ),
        #06100c;
}

.home-ranking-heading {
    margin-bottom: 30px;
}

.home-ranking-heading h2 {
    color: #ffffff;
}

.home-ranking-heading p {
    color: #8f9b95;
}

.home-ranking-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.home-ranking-grid .ranking-box {
    min-width: 0;
}


/* LIVE / OGGI laterale */

.live-pill-today {
    color: #b7c0bb;
    border-color: rgba(255,255,255,.13);
}


/* =========================================================
   PALLINA HOME V2
   Vera pallina da tennis: volume + feltro + cuciture
   ========================================================= */

.hero-ball {
    position: absolute;

    z-index: 1;

    width: 350px;
    height: 350px;

    right: 5%;
    top: 108px;

    aspect-ratio: auto;

    overflow: hidden;

    border-radius: 50%;

    transform: rotate(-10deg);

    border:
        1px solid
        rgba(220, 255, 135, .16);

    background:

        radial-gradient(
            circle at 29% 22%,
            rgba(255,255,255,.72) 0%,
            rgba(255,255,255,.24) 7%,
            transparent 18%
        ),

        radial-gradient(
            circle at 72% 77%,
            rgba(31, 61, 10, .55) 0%,
            transparent 50%
        ),

        repeating-radial-gradient(
            circle at 38% 32%,
            rgba(255,255,255,.045) 0 1px,
            rgba(30,60,10,.035) 1px 2px,
            transparent 2px 4px
        ),

        radial-gradient(
            circle at 38% 32%,
            #d8f86b 0%,
            #b9e955 34%,
            #91cf39 64%,
            #649d24 83%,
            #3d6815 100%
        );

    box-shadow:
        inset -38px -42px 70px
            rgba(18, 40, 4, .37),

        inset 22px 20px 40px
            rgba(255,255,255,.12),

        0 28px 65px
            rgba(0,0,0,.48),

        0 0 72px
            rgba(151,225,65,.12);
}


/* Cuciture */

.hero-ball::before,
.hero-ball::after {
    content: "";

    position: absolute;

    inset: auto;

    top: -10%;

    width: 78%;
    height: 120%;

    border-radius: 50%;

    background: none;

    opacity: 1;

    mix-blend-mode: normal;

    filter:
        drop-shadow(
            1px 2px 1px
            rgba(39,70,12,.42)
        );
}


.hero-ball::before {
    left: -45%;

    border:
        7px solid
        rgba(247,248,221,.90);

    border-left-color: transparent;
    border-top-color: transparent;
    border-bottom-color: transparent;
}


.hero-ball::after {
    right: -45%;

    border:
        7px solid
        rgba(247,248,221,.90);

    border-right-color: transparent;
    border-top-color: transparent;
    border-bottom-color: transparent;
}


/* Tablet */

@media (max-width: 900px) {

    .home-ranking-grid {
        grid-template-columns: 1fr;
    }

    .hero-ball {
        width: 300px;
        height: 300px;

        right: -55px;
        top: 55px;

        opacity: .82;
    }
}


/* Telefono */

@media (max-width: 560px) {

    .hero-ball {
        width: 250px;
        height: 250px;

        right: -90px;
        top: 40px;

        opacity: .58;
    }

}



/* =========================================================
   PALLINA TENNIS SVG HOME
   ========================================================= */

.hero-tennis-ball {
    position: absolute;
    z-index: 1;

    width: 370px;
    height: 370px;

    right: 3%;
    top: 92px;

    transform: rotate(-16deg);

    pointer-events: none;

    filter:
        drop-shadow(
            0 34px 36px
            rgba(0, 0, 0, .42)
        )
        drop-shadow(
            0 0 34px
            rgba(155, 230, 65, .12)
        );
}

.hero-tennis-ball svg {
    display: block;

    width: 100%;
    height: 100%;
}


/* Tablet */

@media (max-width: 900px) {

    .hero-tennis-ball {
        width: 310px;
        height: 310px;

        right: -45px;
        top: 50px;

        opacity: .82;
    }

}


/* Mobile */

@media (max-width: 560px) {

    .hero-tennis-ball {
        width: 255px;
        height: 255px;

        right: -90px;
        top: 45px;

        opacity: .62;
    }

}


/* =========================================================
   CARD CLICCABILI
   ========================================================= */

.clickable-card {
    cursor: pointer;
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.clickable-card:hover {
    transform: translateY(-3px);
    border-color: rgba(53, 229, 138, .30);
    box-shadow:
        0 16px 36px rgba(0, 0, 0, .13);
}



/* =========================================================
   PLAYER PROFILE ACTIONS
   ========================================================= */

.player-action-card {
    cursor: pointer;

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.player-action-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(53, 229, 138, .32);

    box-shadow:
        0 18px 40px
        rgba(0, 0, 0, .18);
}

.player-action-card:focus-visible {
    outline:
        2px solid
        #35e58a;

    outline-offset: 4px;
}



/* =========================================================
   DAVIS CUP - COMPLETE PAGE
   ========================================================= */

.davis-page {
    background: #06100c;
}

.davis-hero {
    padding: 46px 0 26px;
}

.davis-hero-box {
    min-height: 430px;

    display: grid;
    grid-template-columns: 1.5fr .7fr;
    align-items: center;

    gap: 50px;

    padding: 58px;

    border-radius: 30px;

    background:
        radial-gradient(
            circle at 75% 30%,
            rgba(53,229,138,.16),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #0a1d16,
            #07100d
        );

    border: 1px solid rgba(255,255,255,.08);
}

.davis-kicker,
.davis-section-heading > span {
    display: block;

    color: #35e58a;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;

    margin-bottom: 14px;
}

.davis-hero h1 {
    margin: 0;

    color: #fff;

    font-size: clamp(55px, 6vw, 88px);
    line-height: .92;
    letter-spacing: -4px;
}

.davis-hero h1 span {
    display: block;

    color: #35e58a;
}

.davis-hero-copy > p {
    max-width: 650px;

    margin: 28px 0 0;

    color: #aab5af;

    font-size: 18px;
    line-height: 1.6;
}

.davis-actions {
    display: flex;
    gap: 14px;

    margin-top: 32px;
}

.davis-big-stat {
    min-height: 300px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 28px;

    background:
        rgba(3,12,8,.70);

    border:
        1px solid
        rgba(53,229,138,.18);

    text-align: center;
}

.davis-big-stat > span {
    font-size: 42px;
}

.davis-big-stat strong {
    color: #35e58a;

    font-size: 108px;
    line-height: .9;
}

.davis-big-stat small {
    margin-top: 12px;

    color: #fff;

    font-weight: 900;
    letter-spacing: 2px;
}

.davis-big-stat em {
    margin-top: 7px;

    color: #91a099;

    font-style: normal;
}


/* QUICK */

.davis-quick-section {
    padding: 18px 0 80px;
}

.davis-quick-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0,1fr));

    gap: 18px;
}

.davis-quick-card {
    position: relative;

    min-height: 190px;

    padding: 28px;

    display: flex;
    flex-direction: column;

    border-radius: 22px;

    color: inherit;
    text-decoration: none;

    background: #0b1511;

    border:
        1px solid
        rgba(255,255,255,.08);

    transition:
        transform .18s ease,
        border-color .18s ease;
}

.davis-quick-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(53,229,138,.34);
}

.davis-quick-card > span {
    color: #35e58a;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.6px;
}

.davis-quick-card strong {
    margin-top: 18px;

    color: #fff;

    font-size: 25px;
}

.davis-quick-card p {
    color: #88958f;
    line-height: 1.5;
}

.davis-quick-card b {
    position: absolute;

    right: 25px;
    bottom: 22px;

    color: #35e58a;

    font-size: 22px;
}


/* LIGHT SECTIONS */

.davis-light-section {
    padding: 90px 0;

    background: #f4f1ea;
}

.davis-section-heading {
    max-width: 780px;

    margin-bottom: 40px;
}

.davis-section-heading h2 {
    margin: 0;

    color: #08110d;

    font-size: clamp(42px, 4vw, 62px);
    line-height: .98;
    letter-spacing: -2.5px;
}

.davis-section-heading p {
    margin-top: 16px;

    color: #78817c;

    font-size: 16px;
}


/* PATH */

.davis-path-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0,1fr));

    gap: 18px;
}

.davis-match-card {
    min-height: 315px;

    padding: 28px;

    border-radius: 22px;

    background: #0a130f;

    border:
        1px solid
        rgba(255,255,255,.06);

    color: white;
}

.davis-match-card.current {
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(53,229,138,.17),
            transparent 38%
        ),
        #09150f;

    border-color:
        rgba(53,229,138,.25);
}

.davis-match-top {
    display: flex;
    justify-content: space-between;
    gap: 14px;

    color: #35e58a;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.3px;
}

.davis-match-top b {
    color: #d9e2dd;
}

.davis-flags {
    margin: 44px 0 20px;

    display: flex;
    align-items: center;
    gap: 15px;

    font-size: 35px;
}

.davis-flags span {
    color: #77827c;

    font-size: 11px;
    font-weight: 900;
}

.davis-match-card h3 {
    margin: 0;

    font-size: 25px;
}

.davis-match-card p {
    color: #89958f;

    line-height: 1.55;
}

.davis-official-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;

    margin-top: 30px;
}

.davis-official-links a {
    color: #087c45;

    font-weight: 900;
    text-decoration: none;
}

.davis-official-links a:hover {
    text-decoration: underline;
}


/* HISTORY */

.davis-history {
    padding: 95px 0;

    background: #06100c;
}

.davis-section-heading.dark h2 {
    color: #fff;
}

.davis-section-heading.dark p {
    color: #8c9992;
}

.davis-history-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0,1fr));

    gap: 16px;
}

.davis-year-card {
    min-height: 255px;

    padding: 28px;

    display: flex;
    flex-direction: column;

    border-radius: 22px;

    background: #0a1510;

    border:
        1px solid
        rgba(255,255,255,.08);
}

.davis-year-card.featured {
    background:
        linear-gradient(
            145deg,
            rgba(53,229,138,.09),
            #0a1510 60%
        );
}

.davis-year {
    color: #35e58a;

    font-size: 34px;
    font-weight: 900;
}

.davis-year-card strong {
    margin-top: 32px;

    color: white;

    font-size: 23px;
}

.davis-year-card p {
    color: #8b9891;

    line-height: 1.55;
}


/* PLAYERS */

.davis-player-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0,1fr));

    gap: 16px;
}

.davis-player-card {
    min-height: 190px;

    padding: 26px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    border-radius: 22px;

    background: #0a130f;

    color: white;
    text-decoration: none;

    border:
        1px solid
        rgba(255,255,255,.07);

    transition:
        transform .18s ease,
        border-color .18s ease;
}

.davis-player-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(53,229,138,.35);
}

.davis-player-card > span {
    margin-bottom: auto;

    font-size: 28px;
}

.davis-player-card strong {
    font-size: 22px;
}

.davis-player-card small {
    margin-top: 10px;

    color: #35e58a;

    font-weight: 800;
}


/* RESPONSIVE */

@media (max-width: 950px) {

    .davis-hero-box {
        grid-template-columns: 1fr;
    }

    .davis-path-grid,
    .davis-quick-grid {
        grid-template-columns: 1fr;
    }

    .davis-history-grid,
    .davis-player-grid {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }

}

@media (max-width: 560px) {

    .davis-hero-box {
        padding: 30px;
    }

    .davis-actions {
        flex-direction: column;
    }

    .davis-history-grid,
    .davis-player-grid {
        grid-template-columns: 1fr;
    }

}



/* =========================================================
   ACADEMY ARTICLES
   ========================================================= */

.academy-click-card {
    cursor: pointer;
}

.academy-article-page {
    background: #f4f1ea;
}

.academy-article-hero {
    padding: 85px 0 70px;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(53,229,138,.12),
            transparent 32%
        ),
        #06100c;
}

.academy-article-container {
    max-width: 900px;
}

.academy-back {
    display: inline-block;

    margin-bottom: 44px;

    color: #9eaaa4;
    text-decoration: none;
    font-weight: 800;
}

.academy-back:hover {
    color: #35e58a;
}

.academy-article-kicker {
    display: block;

    color: #35e58a;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;

    margin-bottom: 16px;
}

.academy-article-hero h1 {
    margin: 0;

    color: #fff;

    font-size: clamp(46px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -3px;
}

.academy-article-intro {
    max-width: 720px;

    margin-top: 25px;

    color: #9da9a3;

    font-size: 20px;
    line-height: 1.65;
}

.academy-article-body {
    padding: 75px 0 100px;
}

.academy-learning-card {
    display: grid;

    grid-template-columns: 70px 1fr;

    gap: 28px;

    padding: 34px 0;

    border-bottom:
        1px solid
        rgba(8,17,13,.12);
}

.academy-learning-card > span {
    color: #16975b;

    font-size: 14px;
    font-weight: 900;
}

.academy-learning-card h2 {
    margin: 0 0 12px;

    color: #08110d;

    font-size: 30px;
}

.academy-learning-card p {
    margin: 0;

    color: #68736d;

    font-size: 17px;
    line-height: 1.7;
}

@media (max-width: 600px) {

    .academy-learning-card {
        grid-template-columns: 1fr;
        gap: 10px;
    }

}




/* REAL NEWS V1 */

.real-news-page {
    background: #f4f1ea;
}

.real-news-hero {
    padding: 76px 0 72px;

    background:
        radial-gradient(
            circle at 18% 20%,
            rgba(53,229,138,.14),
            transparent 30%
        ),
        #06100c;
}

.real-news-kicker,
.real-news-heading > div > span,
.news-article-category {
    display: block;

    color: #35e58a;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.8px;

    margin-bottom: 16px;
}

.real-news-hero h1 {
    max-width: 850px;

    margin: 0;

    color: white;

    font-size: clamp(50px, 6vw, 82px);
    line-height: .95;
    letter-spacing: -4px;
}

.real-news-hero h1 span {
    color: #35e58a;
}

.real-news-hero p {
    max-width: 650px;

    margin: 24px 0 0;

    color: #94a29b;

    font-size: 18px;
    line-height: 1.6;
}

.news-reset {
    display: inline-block;

    margin-top: 25px;

    color: #35e58a;
    font-weight: 800;
    text-decoration: none;
}


/* LIST */

.real-news-content {
    padding: 75px 0 100px;
}

.real-news-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 30px;

    margin-bottom: 34px;
}

.real-news-heading h2 {
    margin: 0;

    color: #09110e;

    font-size: 48px;
    letter-spacing: -2px;
}

.real-news-heading small {
    color: #7b857f;
}

.real-news-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 22px;
}

.real-news-card {
    overflow: hidden;

    display: flex;
    flex-direction: column;

    min-height: 510px;

    border-radius: 24px;

    background: white;

    border:
        1px solid
        rgba(8,17,13,.10);

    color: inherit;
    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.real-news-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 24px 50px
        rgba(13,28,20,.12);
}

.real-news-featured {
    grid-row: span 2;

    min-height: 720px;
}

.real-news-visual {
    min-height: 220px;

    padding: 25px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    color: white;
}

.real-news-featured .real-news-visual {
    min-height: 400px;
}

.real-news-card-green .real-news-visual {
    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(53,229,138,.55),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #053d28,
            #07130e
        );
}

.real-news-card-red .real-news-visual {
    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(255,92,70,.50),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            #722116,
            #180d09
        );
}

.real-news-card-dark .real-news-visual {
    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(53,229,138,.18),
            transparent 30%
        ),
        #0a130f;
}

.real-news-visual span {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.real-news-visual b {
    font-size: 11px;
}

.real-news-body {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 30px;
}

.real-news-source {
    color: #15905a;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.real-news-body h3 {
    margin: 15px 0 15px;

    color: #08110d;

    font-size: 29px;
    line-height: 1.04;
    letter-spacing: -1px;
}

.real-news-featured h3 {
    font-size: 38px;
}

.real-news-body p {
    margin: 0;

    color: #707a74;

    line-height: 1.55;
}

.real-news-body strong {
    margin-top: auto;
    padding-top: 25px;

    color: #087c45;
}


/* ARTICLE */

.news-article-page {
    background: #f4f1ea;
}

.news-article-container {
    max-width: 900px;
}

.news-article-hero {
    padding: 70px 0 80px;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(53,229,138,.12),
            transparent 30%
        ),
        #06100c;
}

.news-article-back {
    display: inline-block;

    margin-bottom: 50px;

    color: #9ca9a2;
    font-weight: 800;
    text-decoration: none;
}

.news-article-back:hover {
    color: #35e58a;
}

.news-article-hero h1 {
    margin: 0;

    color: white;

    font-size: clamp(45px, 6vw, 76px);
    line-height: .98;
    letter-spacing: -3px;
}

.news-article-lead {
    margin: 27px 0 0;

    color: #a1aca6;

    font-size: 20px;
    line-height: 1.6;
}

.news-article-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;

    margin-top: 35px;

    color: #6f8077;

    font-size: 13px;
}

.news-article-content {
    padding: 75px 0 110px;
}

.news-story {
    max-width: 760px;
}

.news-story p {
    margin: 0 0 28px;

    color: #253029;

    font-size: 19px;
    line-height: 1.8;
}

.news-story p:first-child {
    font-size: 23px;
    font-weight: 600;
}

.news-tags {
    max-width: 760px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 55px;
    padding-top: 25px;

    border-top:
        1px solid
        rgba(8,17,13,.12);
}

.news-tags > span {
    width: 100%;

    margin-bottom: 5px;

    color: #148750;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.news-tags a {
    padding: 8px 12px;

    border-radius: 20px;

    background: #e3e5df;

    color: #17221c;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;
}

.news-tags a:hover {
    background: #35e58a;
}

.news-bottom-back {
    display: inline-block;

    margin-top: 50px;

    color: #087c45;
    font-weight: 900;
    text-decoration: none;
}

.news-empty {
    padding: 55px;

    border-radius: 22px;

    background: white;
}

.news-empty a {
    color: #087c45;
    font-weight: 900;
}


/* MOBILE */

@media (max-width: 760px) {

    .real-news-grid {
        grid-template-columns: 1fr;
    }

    .real-news-featured {
        grid-row: auto;

        min-height: 510px;
    }

    .real-news-featured .real-news-visual {
        min-height: 230px;
    }

    .real-news-heading {
        align-items: flex-start;
        flex-direction: column;
    }

}


.home-side-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.home-side-link:hover {
    transform: translateY(-3px);
}



/* =========================================================
   HOME HERO SIDE CARDS - FINAL
   ========================================================= */

.hero-side a.side-news,
.hero-side a.side-news:link,
.hero-side a.side-news:visited,
.hero-side a.side-news:hover,
.hero-side a.side-news:active {
    text-decoration: none !important;
    color: inherit !important;
}

.hero-side a.side-news *,
.hero-side a.side-news:hover *,
.hero-side a.side-news:visited * {
    text-decoration: none !important;
}

.hero-side .side-news {
    cursor: pointer;
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.hero-side .side-news:hover {
    transform: translateY(-4px);
}

.hero-side .side-news-light:hover {
    box-shadow:
        0 18px 45px
        rgba(0,0,0,.16);
}

.hero-side .side-news-dark:hover {
    border-color:
        rgba(53,229,138,.28);
}

.hero-side .circle-arrow {
    text-decoration: none !important;
}




/* =========================================================
   HOME NEWS CONNECTED - FINAL
   ========================================================= */

.home-news-card,
.home-news-card:link,
.home-news-card:visited,
.home-news-card:hover,
.home-news-card:active {
    color: inherit;
    text-decoration: none !important;
}

.home-news-card * {
    text-decoration: none !important;
}

.home-news-card {
    cursor: pointer;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.home-news-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 18px 45px
        rgba(10, 25, 17, .10);
}

.home-news-read {
    display: inline-block;

    margin-top: auto;
    padding-top: 18px;

    color: #0b8d53;

    font-size: 13px;
    font-weight: 900;
}

.home-news-card .news-body {
    display: flex;
    flex-direction: column;
}



/* ===== MOBILE NAV ITALIA DEL TENNIS ===== */

.header-inner {
    position: relative;
}

.mobile-menu {
    display: none;
}

@media (max-width: 820px) {

    .site-header {
        overflow: visible;
    }

    .header-actions {
        display: none;
    }

    .mobile-menu {
        display: block;
        position: relative;
        margin-left: auto;
    }

    .mobile-menu summary {
        width: 48px;
        height: 48px;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 0;

        list-style: none;
        cursor: pointer;

        border: 1px solid rgba(255,255,255,0.14);
        border-radius: 13px;

        background: rgba(255,255,255,0.06);
    }

    .mobile-menu summary::-webkit-details-marker {
        display: none;
    }

    .mobile-menu summary::marker {
        display: none;
        content: "";
    }

    .hamburger-lines {
        width: 22px;

        display: flex;
        flex-direction: column;

        gap: 5px;
    }

    .hamburger-lines i {
        display: block;

        width: 100%;
        height: 2px;

        border-radius: 10px;

        background: #ffffff;

        transition:
            transform 0.2s ease,
            opacity 0.2s ease;
    }

    .mobile-menu[open] .hamburger-lines i:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu[open] .hamburger-lines i:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu[open] .hamburger-lines i:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-nav {
        position: absolute;

        top: calc(100% + 18px);
        right: 0;

        width: min(88vw, 360px);

        padding: 14px;

        display: grid;
        grid-template-columns: 1fr 1fr;

        gap: 8px;

        border: 1px solid rgba(255,255,255,0.10);
        border-radius: 18px;

        background: rgba(5, 12, 9, 0.99);

        box-shadow: 0 24px 60px rgba(0,0,0,0.48);
        backdrop-filter: blur(20px);
    }

    .mobile-nav a {
        min-height: 48px;

        display: flex;
        align-items: center;

        padding: 0 15px;

        border-radius: 11px;

        color: #d8ddda;
        text-decoration: none;

        font-size: 14px;
        font-weight: 800;
    }

    .mobile-nav a:hover,
    .mobile-nav a.active {
        color: #ffffff;
        background: rgba(255,255,255,0.08);
    }

    .mobile-nav a.active {
        box-shadow: inset 3px 0 0 var(--green);
    }

    .mobile-nav .mobile-italiani {
        grid-column: 1 / -1;

        justify-content: center;

        margin-top: 4px;

        background: var(--green);
        color: #06100c;
    }

}

@media (max-width: 560px) {

    .header-inner {
        min-height: 78px;
    }

    .brand {
        gap: 11px;
    }

    .brand img {
        width: 46px;
        height: 46px;
    }

    .brand strong {
        font-size: 15px;
    }

    .brand small {
        font-size: 10px;
        margin-top: 4px;
    }

    .mobile-menu summary {
        width: 44px;
        height: 44px;
    }

}


/* ===== MOBILE FIX RANKING + GRAND SLAM ===== */

/* Nelle quick-card resta solo la freccina normale a destra */
.quick-card .circle-arrow {
    display: none !important;
}

/* Più respiro sopra al primo giocatore delle classifiche */
@media (max-width: 820px) {

    .ranking-list > .ranking-row:first-child {
        padding-top: 28px;
    }

}


/* =========================================================
   HOME OPENING V2 — PREMIUM
   Solo layout/stile. Nessuna logica o collegamento.
   ========================================================= */


/* ---------- INFO STRIP ---------- */

.info-strip {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% -100%,
            rgba(53, 229, 138, 0.12),
            transparent 55%
        ),
        #050a08;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        inset 0 -1px 0 rgba(53, 229, 138, 0.04);
}

.info-strip::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    height: 3px;

    background:
        linear-gradient(
            90deg,
            #1c9d5a 0%,
            #1c9d5a 33.33%,
            #efefe9 33.33%,
            #efefe9 66.66%,
            #d94a40 66.66%,
            #d94a40 100%
        );

    opacity: 0.9;
}

.info-strip-inner {
    min-height: 86px;

    padding-top: 11px;
    padding-bottom: 11px;

    gap: 10px;
}

.info-item {
    min-height: 64px;

    padding: 12px 17px !important;

    border: 1px solid rgba(255, 255, 255, 0.075) !important;
    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.012)
        );

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease;
}

.info-item:hover {
    transform: translateY(-2px);

    border-color: rgba(53, 229, 138, 0.25) !important;

    background:
        linear-gradient(
            145deg,
            rgba(53, 229, 138, 0.08),
            rgba(255, 255, 255, 0.02)
        );
}

.info-value {
    color: #f5f8f6;

    font-size: 13px;
    font-weight: 900;

    letter-spacing: 0.15px;
}

.info-value.accent {
    color: var(--green);
}

.info-label {
    margin-top: 4px;

    color: #829089;

    font-size: 11px;
}


/* ---------- HERO ---------- */

.hero {
    padding: 22px 0 30px;

    background:
        radial-gradient(
            circle at 12% 0%,
            rgba(18, 128, 72, 0.18),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 25%,
            rgba(53, 229, 138, 0.06),
            transparent 24%
        ),
        linear-gradient(
            180deg,
            #050706 0%,
            #07100d 100%
        );
}

.hero-main {
    min-height: 610px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;

    background:
        radial-gradient(
            circle at 76% 33%,
            rgba(98, 201, 55, 0.17),
            transparent 29%
        ),
        radial-gradient(
            circle at 91% 88%,
            rgba(220, 68, 56, 0.13),
            transparent 30%
        ),
        linear-gradient(
            120deg,
            #07110d 0%,
            #08100d 48%,
            #080b09 72%,
            #130a08 100%
        );

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.hero-main::before {
    opacity: 0.32;

    background-size: 38px 38px;
}

.hero-main::after {
    width: 460px;
    height: 460px;

    right: -170px;
    bottom: -230px;

    background: rgba(210, 56, 47, 0.11);

    filter: blur(80px);
}


/* ---------- HERO COPY ---------- */

.hero-content {
    width: min(64%, 700px);
    min-height: 610px;

    padding: 66px 62px;
}

.hero-category {
    width: fit-content;

    margin-bottom: 17px;

    padding: 8px 12px;

    display: inline-flex;
    align-items: center;

    gap: 10px;

    border: 1px solid rgba(53, 229, 138, 0.16);
    border-radius: 999px;

    background: rgba(53, 229, 138, 0.055);

    font-size: 11px;
    letter-spacing: 2.4px;
}

.hero-category::before {
    content: "";

    width: 27px;
    height: 3px;

    flex: 0 0 auto;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            #168b4c 0 33.33%,
            #eeeeea 33.33% 66.66%,
            #dc4438 66.66% 100%
        );
}

.hero-badge {
    margin-bottom: 25px;

    color: #aeb8b2;

    font-size: 10.5px;

    letter-spacing: 2.2px;
}

.hero-badge > span {
    width: 8px;
    height: 8px;

    box-shadow:
        0 0 0 5px rgba(53, 229, 138, 0.08),
        0 0 20px rgba(53, 229, 138, 0.26);
}

.hero h1 {
    max-width: 690px;

    font-size: clamp(60px, 5.4vw, 86px);
    line-height: 0.94;

    letter-spacing: -4.3px;
}

.hero h1 > span {
    color: #35e58a;

    text-shadow:
        0 0 35px rgba(53, 229, 138, 0.07);
}

.hero-description {
    max-width: 520px;

    margin-top: 27px;

    color: #bbc5bf;

    font-size: 17px;
    line-height: 1.6;
}


/* ---------- CTA ---------- */

.hero-actions {
    margin-top: 30px;

    gap: 10px;
}

.cta-primary,
.cta-secondary {
    min-height: 50px;

    padding: 0 19px;

    border-radius: 12px;

    font-size: 13px;
}

.cta-primary {
    background:
        linear-gradient(
            135deg,
            #39e78e,
            #2ed77e
        );

    box-shadow:
        0 12px 34px rgba(53, 229, 138, 0.12);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.035);

    border-color: rgba(255, 255, 255, 0.18);
}


/* ---------- TENNIS BALL ---------- */

.hero-ball {
    width: 385px;
    height: 385px;

    right: -32px;
    top: 88px;

    transform: rotate(-14deg);

    box-shadow:
        inset -38px -42px 70px rgba(0, 0, 0, 0.38),
        inset 22px 18px 38px rgba(255, 255, 255, 0.14),
        0 45px 95px rgba(0, 0, 0, 0.48),
        0 0 105px rgba(132, 225, 64, 0.13);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 820px) {

    /* Fascia superiore compatta, non più quei rettangoloni enormi */

    .info-strip {
        overflow-x: auto;

        scrollbar-width: none;

        scroll-snap-type: x proximity;
    }

    .info-strip::-webkit-scrollbar {
        display: none;
    }

    .info-strip-inner {
        width: max-content !important;
        min-width: 100% !important;

        padding:
            11px 14px
            10px !important;

        display: flex !important;

        gap: 9px;
    }

    .info-item {
        width: auto !important;
        min-width: 145px;

        flex: 0 0 auto;

        scroll-snap-align: start;

        padding: 11px 14px !important;

        border-radius: 14px;
    }

    .info-value {
        font-size: 11px;
    }

    .info-label {
        font-size: 10.5px;
    }


    /* Hero */

    .hero {
        padding-top: 14px;
    }

    .hero-main {
        min-height: 575px;

        border-radius: 24px;
    }

    .hero-content {
        width: 100%;
        min-height: 575px;

        padding:
            37px 28px
            28px;

        justify-content: flex-end;
    }

    .hero-category {
        margin-bottom: 14px;

        padding: 7px 10px;

        font-size: 10px;

        letter-spacing: 2px;
    }

    .hero-category::before {
        width: 23px;
    }

    .hero-badge {
        margin-bottom: 20px;

        font-size: 9.5px;

        letter-spacing: 1.8px;
    }

    .hero h1 {
        max-width: 88%;

        font-size: clamp(46px, 12vw, 65px);

        line-height: 0.94;

        letter-spacing: -3.2px;
    }

    .hero-description {
        max-width: 90%;

        margin-top: 22px;

        font-size: 15px;

        line-height: 1.55;
    }

    .hero-ball {
        width: 285px;
        height: 285px;

        right: -92px;
        top: 58px;

        opacity: 0.93;

        transform: rotate(-15deg);
    }

    .hero-actions {
        width: 100%;
        max-width: 470px;

        margin-top: 26px;

        display: grid;

        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        gap: 9px;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;

        min-height: 48px;

        padding: 0 10px;

        font-size: 12.5px;

        border-radius: 12px;
    }

}


/* Telefoni stretti */

@media (max-width: 420px) {

    .info-item {
        min-width: 137px;
    }

    .hero-main {
        min-height: 555px;
    }

    .hero-content {
        min-height: 555px;

        padding:
            31px 23px
            25px;
    }

    .hero-ball {
        width: 255px;
        height: 255px;

        right: -93px;
        top: 70px;
    }

    .hero h1 {
        max-width: 92%;

        font-size: clamp(43px, 12vw, 57px);
    }

    .hero-description {
        max-width: 96%;

        font-size: 14px;
    }

}


/* =========================================================
   HOME HERO V3 — MOBILE COMPACT / EDITORIAL
   ========================================================= */

@media (max-width: 820px) {

    .hero {
        padding: 12px 0 24px;
    }

    .hero-main {
        min-height: 500px;

        border-radius: 24px;

        background:
            radial-gradient(
                circle at 88% 20%,
                rgba(139, 224, 70, 0.19),
                transparent 28%
            ),
            radial-gradient(
                circle at 82% 90%,
                rgba(220, 68, 56, 0.13),
                transparent 30%
            ),
            linear-gradient(
                135deg,
                #07110d 0%,
                #06100c 52%,
                #100807 100%
            );
    }


    /* TESTO PIÙ IN ALTO */

    .hero-content {
        width: 100%;
        min-height: 500px;

        padding: 28px 25px 24px;

        justify-content: flex-start;
    }


    /* "ITALIA DEL TENNIS" — solo questo cambia carattere */

    .hero-category {
        position: relative;

        margin: 8px 0 13px;

        padding: 0;

        display: flex;
        align-items: center;

        gap: 10px;

        border: 0;
        background: transparent;

        color: #f5f7f5;

        font-family:
            Impact,
            Haettenschweiler,
            "Arial Narrow Bold",
            sans-serif;

        font-size: 16px;
        font-style: italic;
        font-weight: 900;

        letter-spacing: 1.2px;

        transform: skew(-3deg);

        text-shadow:
            0 0 24px rgba(53, 229, 138, 0.13);
    }

    .hero-category::before {
        width: 5px;
        height: 22px;

        border-radius: 10px;

        background:
            linear-gradient(
                180deg,
                #168b4c 0 33%,
                #eeeeea 33% 66%,
                #dc4438 66% 100%
            );
    }


    /* SLOGAN PIÙ COMPATTO */

    .hero-badge {
        margin-bottom: 17px;

        font-size: 9px;

        letter-spacing: 1.65px;
    }


    /* TITOLO */

    .hero h1 {
        max-width: 74%;

        font-size: clamp(44px, 11.7vw, 59px);

        line-height: 0.94;

        letter-spacing: -3px;
    }


    /* DESCRIZIONE */

    .hero-description {
        max-width: 92%;

        margin-top: 20px;

        font-size: 14px;
        line-height: 1.5;
    }


    /* PALLINA: più laterale, niente enorme triangolo nero */

    .hero-ball {
        width: 270px;
        height: 270px;

        right: -112px;
        top: 34px;

        opacity: 0.97;

        transform: rotate(-14deg);

        box-shadow:
            inset -32px -35px 58px rgba(0, 0, 0, 0.36),
            inset 18px 16px 31px rgba(255, 255, 255, 0.14),
            0 35px 75px rgba(0, 0, 0, 0.46),
            0 0 85px rgba(132, 225, 64, 0.13);
    }


    /* BOTTONI */

    .hero-actions {
        margin-top: 22px;

        grid-template-columns: 1fr 1fr;

        gap: 9px;
    }

    .cta-primary,
    .cta-secondary {
        min-height: 47px;

        font-size: 12px;
    }

}


@media (max-width: 420px) {

    .hero-main,
    .hero-content {
        min-height: 480px;
    }

    .hero-content {
        padding:
            25px 22px
            22px;
    }

    .hero-ball {
        width: 245px;
        height: 245px;

        right: -104px;
        top: 38px;
    }

    .hero h1 {
        max-width: 76%;

        font-size: clamp(42px, 11.4vw, 54px);
    }

}


/* =========================================================
   HOME HERO V4 — COMPOSIZIONE MOBILE DEFINITIVA
   ========================================================= */

@media (max-width: 820px) {

    /* Niente altezza artificiale: la card finisce dove finiscono i contenuti */
    .hero-main {
        min-height: 0 !important;
        height: auto !important;

        border-radius: 24px;
    }

    .hero-content {
        width: 100%;
        min-height: 0 !important;
        height: auto !important;

        padding: 25px 22px 23px !important;

        justify-content: flex-start !important;
    }


    /* Marchio editoriale: pulito, niente finto font */
    .hero-category {
        margin: 3px 0 12px !important;

        padding: 0 !important;

        border: 0 !important;
        background: transparent !important;

        font-family: inherit !important;
        font-size: 12px !important;
        font-style: normal !important;
        font-weight: 950 !important;

        letter-spacing: 2.2px !important;

        transform: none !important;

        color: #f4f7f5 !important;
    }

    .hero-category::before {
        width: 4px !important;
        height: 24px !important;

        border-radius: 5px !important;

        background:
            linear-gradient(
                180deg,
                #168b4c 0 33.33%,
                #f1f1ec 33.33% 66.66%,
                #dc4438 66.66% 100%
            ) !important;
    }


    .hero-badge {
        margin-bottom: 14px !important;

        font-size: 9px !important;
        letter-spacing: 1.55px !important;
    }


    /* Pallina: presente ma non mangia il titolo */
    .hero-ball {
        width: 220px !important;
        height: 220px !important;

        right: -74px !important;
        top: 22px !important;

        opacity: 0.96;
    }


    /* Titolo costruito davvero per il mobile */
    .hero h1.hero-title {
        max-width: 67% !important;

        margin: 8px 0 0 !important;

        font-size: clamp(41px, 11.3vw, 52px) !important;
        line-height: 0.92 !important;

        letter-spacing: -2.6px !important;
    }

    .hero-title-line {
        display: block !important;
    }

    .hero-title-white {
        color: #ffffff !important;
    }

    .hero-title-green {
        color: var(--green) !important;
    }


    /* Dopo il titolo torniamo a tutta larghezza */
    .hero-description {
        max-width: 100% !important;

        margin-top: 18px !important;

        font-size: 14px !important;
        line-height: 1.48 !important;
    }


    .hero-actions {
        margin-top: 18px !important;
        margin-bottom: 0 !important;
    }

}


@media (max-width: 420px) {

    .hero-content {
        padding: 23px 20px 21px !important;
    }

    .hero-ball {
        width: 205px !important;
        height: 205px !important;

        right: -70px !important;
        top: 25px !important;
    }

    .hero h1.hero-title {
        max-width: 69% !important;

        font-size: clamp(39px, 11vw, 48px) !important;
    }

}


/* =========================================================
   HOME V5 — COLORI PIÙ COERENTI + MATCH CENTER COMPATTO
   ========================================================= */

@media (max-width: 820px) {

    /* -----------------------------------------
       ITALIA DEL TENNIS
       Un solo colore, tricolore come dettaglio
       ----------------------------------------- */

    .hero-category {
        position: relative;

        width: fit-content;

        margin-bottom: 22px !important;
        padding-bottom: 10px !important;

        color: #f3f6f4 !important;

        font-size: 12px !important;
        font-weight: 900 !important;
        font-style: normal !important;

        letter-spacing: 2.4px !important;

        text-shadow:
            0 0 22px rgba(53, 229, 138, 0.10);
    }

    .hero-category::before {
        display: none !important;
    }

    .hero-category::after {
        content: "";

        position: absolute;

        left: 0;
        bottom: 0;

        width: 54px;
        height: 3px;

        border-radius: 20px;

        background:
            linear-gradient(
                90deg,
                #168b4c 0 33.33%,
                #eeeeea 33.33% 66.66%,
                #dc4438 66.66% 100%
            );
    }


    /* -----------------------------------------
       TITOLO
       Nessun blocco bianco/verde:
       sfumatura morbida dentro ogni riga
       ----------------------------------------- */

    .hero h1.hero-title {
        color: #ffffff !important;
    }

    .hero-title-line,
    .hero-title-white,
    .hero-title-green {
        color: transparent !important;

        background:
            linear-gradient(
                105deg,
                #ffffff 0%,
                #f6f8f6 48%,
                #a9eac7 76%,
                #4bdd91 100%
            );

        -webkit-background-clip: text;
        background-clip: text;

        -webkit-text-fill-color: transparent;

        text-shadow: none !important;
    }


    /* -----------------------------------------
       MATCH CENTER HOME
       Niente più monolite nero
       ----------------------------------------- */

    .hero-side .side-news-dark {
        min-height: 0 !important;
        height: auto !important;

        padding: 24px !important;

        background:
            radial-gradient(
                circle at 100% 0%,
                rgba(80, 235, 148, 0.19),
                transparent 42%
            ),
            linear-gradient(
                135deg,
                #123d2a 0%,
                #0e3223 55%,
                #174b34 100%
            ) !important;

        border: 1px solid rgba(83, 229, 145, 0.22) !important;

        box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.05),
            0 18px 45px rgba(0,0,0,0.16);
    }

    .hero-side .side-news-dark p {
        color: rgba(255,255,255,0.74) !important;
    }

    .hero-side .side-news-dark h2 {
        color: #ffffff;
    }

    .hero-side .side-news-dark .tag {
        color: #7df0ae;
    }


    /* Tutte le card laterali su mobile:
       altezza data dal contenuto, non dal vecchio desktop */

    .hero-side .side-news {
        min-height: 0;
    }

    .hero-side {
        gap: 14px;
    }

}


/* =========================================================
   HOME V6 — CLEAN EDITORIAL
   ========================================================= */


/* BRAND HEADER: niente parola TENNIS verde */
.brand strong,
.brand strong span {
    color: #f4f6f4 !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 820px) {

    /* Il marchio è già nell'header: niente duplicazione nella hero */
    .hero-category {
        display: none !important;
    }


    /* slogan più vicino al titolo */
    .hero-badge {
        margin-top: 4px !important;
        margin-bottom: 17px !important;
    }


    /* -----------------------------------------------------
       TITOLO HERO
       Un unico colore forte, niente gradienti parola per parola
       ----------------------------------------------------- */

    .hero h1.hero-title {
        position: relative;

        max-width: 69% !important;

        padding-left: 15px;

        color: #f7f7f3 !important;
    }

    .hero h1.hero-title::before {
        content: "";

        position: absolute;

        left: 0;
        top: 5px;
        bottom: 4px;

        width: 4px;

        border-radius: 20px;

        background: #35e58a;

        box-shadow:
            0 0 18px rgba(53,229,138,0.20);
    }

    .hero-title-line,
    .hero-title-white,
    .hero-title-green {
        color: #f7f7f3 !important;

        background: none !important;

        -webkit-background-clip: initial !important;
        background-clip: initial !important;

        -webkit-text-fill-color: #f7f7f3 !important;

        text-shadow: none !important;
    }


    /* -----------------------------------------------------
       MATCH CENTER: VIA IL NERO
       ----------------------------------------------------- */

    .hero-side .side-news-dark {
        min-height: 0 !important;

        padding: 24px !important;

        background:
            linear-gradient(
                145deg,
                #edf5ef 0%,
                #e2eee6 100%
            ) !important;

        color: #101713 !important;

        border:
            1px solid rgba(25, 111, 68, 0.14) !important;

        box-shadow:
            0 16px 40px rgba(0,0,0,0.08) !important;
    }

    .hero-side .side-news-dark h2 {
        color: #101713 !important;
    }

    .hero-side .side-news-dark p {
        color: #637169 !important;
    }

    .hero-side .side-news-dark .tag {
        color: #c84a40 !important;
    }

    .hero-side .side-news-dark .live-pill {
        color: #26312b !important;
    }


    /* Le card laterali non devono creare buchi artificiali */
    .hero-side .side-news {
        min-height: 0 !important;
        height: auto !important;
    }

}

/* HERO MOBILE — pallina fuori dalla zona descrizione */
@media (max-width: 820px) {

    .hero-ball {
        top: -22px !important;
        right: -76px !important;
    }

}

@media (max-width: 420px) {

    .hero-ball {
        top: -18px !important;
        right: -72px !important;
    }

}

/* HERO MOBILE — pallina interamente visibile */
@media (max-width: 820px) {

    .hero-ball {
        width: 205px !important;
        height: 205px !important;

        top: 25px !important;
        right: 10px !important;
    }

    .hero h1.hero-title {
        max-width: 63% !important;
    }

}

@media (max-width: 420px) {

    .hero-ball {
        width: 190px !important;
        height: 190px !important;

        top: 25px !important;
        right: 8px !important;
    }

    .hero h1.hero-title {
        max-width: 62% !important;
    }

}

/* HERO MOBILE — pallina ridimensionata */
@media (max-width: 820px) {
    .hero-ball {
        width: 150px !important;
        height: 150px !important;

        top: 34px !important;
        right: 14px !important;
    }
}

@media (max-width: 420px) {
    .hero-ball {
        width: 140px !important;
        height: 140px !important;

        top: 36px !important;
        right: 12px !important;
    }
}

/* =========================================================
   INFO STRIP — ACCENTI SOTTO LE CARD
   ========================================================= */

@media (max-width: 820px) {

    .info-item {
        position: relative;
        overflow: hidden;

        /* niente eventuale colore sul bordo alto */
        border-top-color: rgba(255,255,255,0.075) !important;
    }

    /* neutralizza eventuali vecchi accenti */
    .info-item::before {
        display: none !important;
    }

    /* nuovo accento sul bordo INFERIORE */
    .info-item::after {
        content: "";

        position: absolute;
        left: 14px;
        right: 14px;
        bottom: 0;

        height: 3px;

        border-radius: 8px 8px 0 0;

        background: #35e58a;
    }

    /* Community */
    .info-item:nth-child(1)::after {
        background: #35e58a;
    }

    /* ATP · WTA */
    .info-item:nth-child(2)::after {
        background: #e9eee9;
    }

    /* OGGI / Live */
    .info-item:nth-child(3)::after {
        background: #dc5045;
    }

    /* Ranking */
    .info-item:nth-child(4)::after {
        background: #35e58a;
    }

    /* Grand Slam */
    .info-item:nth-child(5)::after {
        background: #e6e1b5;
    }

}


/* ===== ACCESSO RAPIDO ITALIANI OGGI - MOBILE ===== */

.mobile-italiani-quick {
    display: none;
}

@media (max-width: 820px) {

    .mobile-italiani-quick {
        min-height: 44px;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        margin-left: auto;
        padding: 0 10px;

        border: 1px solid rgba(34, 197, 94, 0.38);
        border-radius: 12px;

        background: rgba(34, 197, 94, 0.10);

        color: #ffffff;
        text-decoration: none;

        font-size: 11px;
        font-weight: 900;

        white-space: nowrap;
    }

    .mobile-italiani-quick.active {
        background: rgba(34, 197, 94, 0.20);
        border-color: rgba(34, 197, 94, 0.65);
    }

    .mobile-menu {
        margin-left: 8px;
    }
}


/* ===== MATCH CENTER MOBILE - COMPACT ===== */

@media (max-width: 820px) {

    .match-section {
        padding: 58px 0;
    }

    .match-grid {
        gap: 12px;
    }

    .match-card {
        padding: 17px 18px;
        border-radius: 17px;
    }

    .match-top {
        margin-bottom: 12px;

        align-items: flex-start;

        gap: 10px;

        font-size: 9px;
        line-height: 1.35;
    }

    .match-top > span:first-child {
        min-width: 0;
        flex: 1;
    }

    .match-top .status-live,
    .match-top .status-next,
    .match-top .status-finished {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .match-player {
        min-height: 52px;
        gap: 10px;
    }

    .match-player strong {
        font-size: 16px;
    }

    .flag-mini {
        font-size: 13px;
    }

    .match-time {
        flex: 0 0 auto;

        font-size: 12px;
    }

    .match-footer {
        margin-top: 8px;
    }
}


/* ===== MATCH STATUS COLORS ===== */

.match-card .status-next {
    background: rgba(53, 229, 138, 0.10);
    color: #7ddfaa;

    border: 1px solid rgba(53, 229, 138, 0.14);
}

.match-card .status-finished {
    background: rgba(255, 255, 255, 0.07);
    color: #c8cfcb;
}

.match-card .status-updating {
    display: inline-flex;
    align-items: center;

    padding: 4px 8px;

    border-radius: 999px;

    background: rgba(235, 166, 54, 0.12);
    border: 1px solid rgba(235, 166, 54, 0.18);

    color: #e6b75f;

    font-size: 10px;
    font-weight: 900;

    white-space: nowrap;
}


/* ===== MATCH CENTER TOUR GROUPS ===== */

.match-tour-heading {
    grid-column: 1 / -1;

    display: flex;
    align-items: baseline;

    gap: 10px;

    margin-top: 24px;
    padding: 0 2px 8px;

    border-bottom: 1px solid rgba(15, 35, 26, 0.14);
}

.match-tour-heading:first-child {
    margin-top: 0;
}

.match-tour-heading strong {
    color: #0b8d53;

    font-size: 15px;
    font-weight: 950;
    letter-spacing: 1.6px;
}

.match-tour-heading span {
    color: #7b847f;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

@media (max-width: 820px) {

    .match-tour-heading {
        margin-top: 18px;
        padding-bottom: 7px;
    }

    .match-tour-heading strong {
        font-size: 14px;
    }

    .match-tour-heading span {
        font-size: 10px;
    }
}


/* ===== MATCH WINNER / LOSER ===== */

.match-card .match-player-winner {
    margin: 4px -8px 0;
    padding: 0 8px;

    border-radius: 10px;

    background: rgba(53, 229, 138, 0.075);
}

.match-card .match-player-winner strong {
    color: #ffffff;
    font-weight: 900;
}

.match-card .match-player-loser {
    opacity: 0.62;
}

.match-card .match-player-loser strong {
    font-weight: 700;
}

/* ===== PWA INSTALL ===== */

.pwa-install-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 9999;

    display: flex;
    align-items: center;
    gap: 12px;

    max-width: 470px;
    margin: auto;
    padding: 14px 42px 14px 16px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 17px;

    background: rgba(7, 16, 13, 0.97);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.pwa-install-banner[hidden] {
    display: none !important;
}

.pwa-install-copy {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pwa-install-copy strong {
    color: #fff;
    font-size: 13px;
    line-height: 1.25;
}

.pwa-install-copy span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
    line-height: 1.35;
}

.pwa-install-action {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 14px;

    border: 0;
    border-radius: 10px;

    background: #fff;
    color: #07100d;

    font: inherit;
    font-size: 12px;
    font-weight: 800;

    cursor: pointer;
}

.pwa-install-close {
    position: absolute;
    top: 3px;
    right: 7px;

    width: 30px;
    height: 30px;

    border: 0;
    background: transparent;

    color: rgba(255, 255, 255, 0.55);

    font-size: 22px;

    cursor: pointer;
}

@media (min-width: 769px) {
    .pwa-install-banner {
        display: none !important;
    }
}

/* ===== SWITCH ITALIANI OGGI / DOMANI - MOBILE ===== */

.mobile-italiani-day-switch,
.mobile-italiani-nav {
    display: none;
}

@media (max-width: 820px) {

    .mobile-italiani-nav {
        min-height: 44px;

        display: inline-flex;
        align-items: stretch;

        margin-left: auto;

        border: 1px solid rgba(34, 197, 94, 0.42);
        border-radius: 12px;

        overflow: hidden;

        background: rgba(34, 197, 94, 0.10);
    }

    .mobile-day-current {
        min-height: 44px;

        padding: 0 11px;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        color: #ffffff;

        font-size: 11px;
        font-weight: 900;

        white-space: nowrap;
    }

    .mobile-day-arrow {
        width: 32px;
        min-height: 44px;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        background: rgba(34, 197, 94, 0.18);

        color: #ffffff;
        text-decoration: none;

        font-size: 24px;
        font-weight: 500;
        line-height: 1;
    }

    .mobile-day-current + .mobile-day-arrow {
        border-left: 1px solid rgba(34, 197, 94, 0.30);
    }

    .mobile-day-arrow + .mobile-day-current {
        border-left: 1px solid rgba(34, 197, 94, 0.30);
    }

}


/* ===== ITALIANI OGGI/DOMANI - HERO MOBILE COMPATTA ===== */

@media (max-width: 820px) {

    .italiani-page .atp-hero {
        padding: 20px 0 24px;
    }

    .italiani-page .atp-hero-content {
        padding: 0;
    }

    .italiani-page .atp-kicker {
        margin-bottom: 10px;
        font-size: 10px;
    }

    .italiani-page .atp-hero-content h1 {
        margin: 0;

        color: #ffffff;

        font-size: 42px;
        line-height: 0.96;
        letter-spacing: -2.2px;
    }

    .italiani-page .atp-hero-content p {
        max-width: 500px;

        margin: 14px 0 0;

        color: rgba(255, 255, 255, 0.68);

        font-size: 15px;
        line-height: 1.45;
    }

}

/* =========================================================
   ATP HUB — MOBILE COMPACT HERO
   ========================================================= */

@media (max-width: 600px) {

    .atp-hero {
        padding: 16px 0 24px;
    }

    .atp-hero-card {
        min-height: 0;
        border-radius: 22px;
    }

    .atp-hero-copy {
        padding: 30px 22px 20px;
    }

    .atp-kicker {
        margin-bottom: 10px;
        font-size: 10px;
        letter-spacing: 2px;
    }

    .atp-hero-copy h1 {
        font-size: clamp(42px, 13vw, 54px);
        line-height: .9;
        letter-spacing: -2.5px;
    }

    .atp-hero-copy p {
        margin-top: 16px;
        font-size: 15px;
        line-height: 1.45;
    }

    .atp-hero-actions {
        gap: 8px;
        margin-top: 20px;
    }

    .atp-primary-btn,
    .atp-secondary-btn {
        min-height: 42px;
        padding: 0 14px;
        border-radius: 10px;
        font-size: 13px;
    }

    .atp-hero-visual {
        min-height: 88px;
        margin: 0 22px 20px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .atp-ball {
        display: none;
    }

    .atp-hero-stat {
        position: static;
        min-width: 0;
        padding: 12px 13px;
        border-radius: 12px;
        box-shadow: none;
    }

    .atp-hero-stat strong {
        font-size: 20px;
    }

    .atp-hero-stat span {
        font-size: 10px;
        line-height: 1.25;
    }

    .atp-tournaments-section {
        padding-top: 38px;
    }

}

/* =========================================================
   ATP HUB — MOBILE COMPACT TOURNAMENTS
   ========================================================= */

@media (max-width: 600px) {

    .atp-tournaments-section {
        padding: 34px 0 54px;
    }

    .atp-section-heading {
        gap: 12px;
        margin-bottom: 20px;
    }

    .atp-section-heading h2 {
        font-size: 38px;
        line-height: .95;
        letter-spacing: -2px;
    }

    .atp-section-heading p {
        margin-top: 8px;
        font-size: 13px;
    }

    .atp-section-note {
        padding: 7px 10px;
        font-size: 10px;
    }

    .atp-tournament-grid {
        gap: 10px;
    }

    .atp-tournament-card {
        min-height: 0;
        padding: 17px;
        border-radius: 17px;
    }

    .atp-level,
    .atp-country {
        min-height: 23px;
        padding: 0 8px;
        font-size: 9px;
    }

    .atp-card-decoration {
        display: none;
    }

    .atp-card-content {
        margin-top: 0;
        padding-top: 22px;
    }

    .atp-card-content h3 {
        max-width: none;
        font-size: 27px;
        line-height: 1;
        letter-spacing: -1.2px;
    }

    .atp-meta {
        gap: 12px;
        margin-top: 12px;
        font-size: 11px;
    }

    .atp-card-footer {
        margin-top: 16px;
        padding-top: 12px;
        font-size: 10px;
    }

}

/* =========================================================
   ATP HUB — ITALIANI NEL CIRCUITO
   ========================================================= */

.atp-italian-matches {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.atp-italian-match {
    display: block;
    padding: 20px;
    border: 1px solid rgba(9, 26, 18, .08);
    border-radius: 18px;
    background: #fff;
    color: #0b1812;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(13, 30, 21, .04);
}

.atp-italian-match-top,
.atp-italian-match-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.atp-italian-match-top {
    color: #66736c;
    font-size: 11px;
    font-weight: 800;
}

.atp-italian-match-top strong {
    color: #087344;
}

.atp-italian-players {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    font-size: 16px;
    font-weight: 900;
}

.atp-italian-players span:last-child {
    text-align: right;
}

.atp-match-vs {
    color: #9ba49f;
    font-size: 10px;
    font-weight: 900;
}

.atp-italian-match-bottom {
    padding-top: 12px;
    border-top: 1px solid rgba(9, 26, 18, .07);
    color: #7a857f;
    font-size: 11px;
    font-weight: 800;
}

.atp-italian-match-bottom strong {
    color: #0b1812;
}

.atp-no-matches {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border: 1px solid rgba(9, 26, 18, .08);
    border-radius: 16px;
    background: #fff;
}

.atp-no-matches strong {
    color: #0b1812;
}

.atp-no-matches span {
    color: #758078;
    font-size: 13px;
}

.atp-quick-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.atp-quick-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid rgba(9, 26, 18, .08);
    border-radius: 14px;
    background: rgba(255, 255, 255, .55);
    color: #0b1812;
    text-decoration: none;
}

.atp-quick-links span {
    color: #758078;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
}

.atp-quick-links strong {
    font-size: 13px;
}

@media (max-width: 600px) {

    .atp-next-section {
        padding-bottom: 48px;
    }

    .atp-italian-matches {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .atp-italian-match {
        padding: 15px;
        border-radius: 14px;
    }

    .atp-italian-players {
        gap: 8px;
        margin: 14px 0;
        font-size: 14px;
    }

    .atp-no-matches {
        display: block;
        padding: 14px 15px;
    }

    .atp-no-matches span {
        display: block;
        margin-top: 4px;
        font-size: 11px;
    }

    .atp-quick-links {
        grid-template-columns: 1fr;
        gap: 7px;
        margin-top: 8px;
    }

    .atp-quick-links a {
        padding: 13px 14px;
        border-radius: 12px;
    }

}

/* =========================================================
   HEADER MOBILE — BRAND + DAY SWITCH
   ========================================================= */

@media (max-width: 820px) {

    .brand strong {
        font-size: 18px;
        line-height: 1;
        letter-spacing: -0.6px;
    }

    .mobile-day-arrow {
        width: 36px;
        min-width: 36px;
    }

}

/* =========================================================
   HEADER BRAND — DESKTOP INLINE / MOBILE STACKED
   ========================================================= */

.brand-name {
    display: flex !important;
    align-items: baseline;
    gap: .28em;
}

.brand-name .brand-italia,
.brand-name .brand-del,
.brand-name .brand-tennis {
    display: inline;
}

@media (max-width: 820px) {

    .header-inner {
        gap: 9px;
    }

    .brand {
        min-width: 0;
        flex: 0 1 auto;
        gap: 9px;
    }

    .brand-name {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 0;
        font-size: 15px !important;
        line-height: .88 !important;
        letter-spacing: -0.35px !important;
    }

    .brand-name .brand-del {
        font-size: 11px;
    }

    .mobile-italiani-nav {
        flex: 0 0 auto;
        margin-left: auto;
    }

    .mobile-day-current {
        flex: 0 0 auto;
        padding-left: 10px;
        padding-right: 10px;
    }

    .mobile-day-arrow {
        display: inline-flex !important;
        flex: 0 0 36px;
        width: 36px;
        min-width: 36px;
    }

    .mobile-menu {
        flex: 0 0 auto;
    }

}

@media (max-width: 420px) {

    .brand img {
        width: 43px;
        height: 43px;
    }

    .brand-name {
        font-size: 14px !important;
    }

    .brand-name .brand-del {
        font-size: 10px;
    }

    .mobile-day-current {
        padding-left: 8px;
        padding-right: 8px;
    }

    .mobile-day-arrow {
        flex-basis: 34px;
        width: 34px;
        min-width: 34px;
    }

}

/* =========================================================
   HEADER MOBILE — EDITORIAL QUICK NAV
   ========================================================= */

.mobile-quick-nav {
    display: none;
}

@media (max-width: 820px) {

    .header-inner {
        min-height: 82px;
        gap: 12px;
    }

    .brand {
        flex: 1 1 auto;
        min-width: 0;
        gap: 12px;
    }

    .brand img {
        width: 54px;
        height: 54px;
        flex: 0 0 54px;
    }

    .brand-name {
        display: flex !important;
        flex-direction: row !important;
        align-items: baseline !important;
        gap: .27em !important;
        font-size: 18px !important;
        line-height: 1 !important;
        letter-spacing: -0.5px !important;
        white-space: nowrap;
    }

    .brand-name .brand-italia,
    .brand-name .brand-del,
    .brand-name .brand-tennis {
        display: inline !important;
        font-size: inherit !important;
    }

    .mobile-italiani-nav {
        display: none !important;
    }

    .mobile-menu {
        flex: 0 0 auto;
    }

    .mobile-quick-nav {
        width: 100%;
        height: 44px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        align-items: stretch;
        border-top: 1px solid rgba(255, 255, 255, .08);
        background: #07110d;
    }

    .mobile-quick-nav a {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255, 255, 255, .82);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .15px;
        text-decoration: none;
    }

    .mobile-quick-nav a.active {
        color: #35dc8b;
    }

    .mobile-quick-nav a.active::after {
        content: "";
        position: absolute;
        left: 28%;
        right: 28%;
        bottom: 0;
        height: 3px;
        border-radius: 3px 3px 0 0;
        background: #35dc8b;
    }

}

@media (max-width: 420px) {

    .brand img {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .brand-name {
        font-size: 16px !important;
    }

    .mobile-quick-nav a {
        font-size: 11px;
    }

}

/* MOBILE MENU — BELOW QUICK NAV */
@media (max-width: 820px) {
    .mobile-menu .mobile-nav {
        top: calc(100% + 62px);
    }
}

/* ===== MATCH CENTER LEVEL GROUPS ===== */

.match-level-heading {
    grid-column: 1 / -1;
    margin: 14px 2px 2px;
    padding-left: 10px;

    border-left: 3px solid #0b8d53;

    color: #dfe7e3;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.match-tour-heading + .match-level-heading {
    margin-top: 8px;
}

@media (max-width: 820px) {
    .match-level-heading {
        margin-top: 10px;
        padding-left: 8px;

        font-size: 11px;
        letter-spacing: 0.6px;
    }

    .match-tour-heading + .match-level-heading {
        margin-top: 6px;
    }
}

/* MATCH CENTER LEVEL — VISIBILITY FIX */

.match-level-heading {
    color: #0b8d53 !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    letter-spacing: 1px !important;
    opacity: 1 !important;
    margin: 18px 2px 5px !important;
    padding: 7px 10px !important;
    border-left: 4px solid #0b8d53 !important;
    background: rgba(11, 141, 83, 0.07) !important;
    border-radius: 0 8px 8px 0 !important;
}

.match-tour-heading + .match-level-heading {
    margin-top: 10px !important;
}

@media (max-width: 820px) {
    .match-level-heading {
        font-size: 12px !important;
        margin-top: 14px !important;
        padding: 7px 9px !important;
    }
}

/* ===== MATCH CENTER — LIGHT CARDS ===== */

.match-card-light {
    padding: 20px;
    border: 1px solid rgba(9, 26, 18, .08);
    border-radius: 18px;
    background: #fff;
    color: #0b1812;
    box-shadow: 0 10px 30px rgba(13, 30, 21, .04);
}

.match-card-light:hover {
    border-color: rgba(11, 141, 83, .22);
}

.match-light-top,
.match-light-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.match-light-top {
    color: #66736c;
    font-size: 11px;
    font-weight: 800;
}

.match-light-top > span {
    min-width: 0;
}

.match-light-players {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    font-size: 16px;
    font-weight: 900;
}

.match-light-players > span:last-child {
    text-align: right;
}

.match-light-vs {
    color: #9ba49f;
    font-size: 10px;
    font-weight: 900;
}

.match-light-winner {
    color: #087344;
}

.match-light-loser {
    opacity: .58;
}

.match-light-score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: -5px 0 14px;
    color: #0b1812;
    font-size: 14px;
}

.match-light-score strong {
    font-weight: 950;
}

.match-light-score span {
    color: #087344;
    font-weight: 900;
}

.match-light-bottom {
    padding-top: 12px;
    border-top: 1px solid rgba(9, 26, 18, .07);
    color: #7a857f;
    font-size: 11px;
    font-weight: 800;
}

.match-light-bottom strong {
    color: #0b1812;
}

.match-card-light .status-live {
    color: #087344;
}

.match-card-light .status-finished {
    color: #66736c;
}

.match-card-light .status-updating {
    color: #a36a00;
}

.match-card-light .status-next {
    color: #087344;
}

@media (max-width: 820px) {
    .match-card-light {
        padding: 15px;
        border-radius: 14px;
    }

    .match-light-players {
        gap: 8px;
        margin: 14px 0;
        font-size: 14px;
    }

    .match-light-top {
        font-size: 10px;
    }

    .match-light-bottom {
        font-size: 10px;
    }
}

/* ITALIANI OGGI/DOMANI — MATCH CENTER COMPATTO MOBILE */
@media (max-width: 820px) {
    .italiani-page #italiani-oggi {
        padding-top: 28px;
    }

    .italiani-page #italiani-oggi .section-heading {
        margin-bottom: 22px;
    }

    .italiani-page #italiani-oggi .section-heading h2 {
        margin-bottom: 0;
    }
}


/* IDT LOTTO 25 - NAVIGAZIONE */

@media (min-width: 821px) {
    .main-nav {
        min-width: 0;
        flex-wrap: wrap;
        column-gap: clamp(10px, 1.25vw, 22px);
        row-gap: 0;
    }

    .main-nav a {
        white-space: nowrap;
    }
}

@media (min-width: 821px) and (max-width: 1180px) {
    .header-inner {
        gap: 16px;
    }

    .main-nav {
        column-gap: 12px;
    }

    .main-nav a {
        font-size: 12px;
        padding: 12px 0;
    }

    .main-nav a::after {
        bottom: 3px;
    }
}

@media (max-width: 820px) {
    .mobile-quick-nav {
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .mobile-quick-nav::-webkit-scrollbar {
        display: none;
    }

    .mobile-quick-nav a {
        flex: 1 0 auto;
        padding: 0 10px;
        white-space: nowrap;
    }

    .mobile-menu .mobile-nav {
        max-height: 65vh;
        overflow-y: auto;
    }
}

.main-nav a:focus-visible,
.mobile-nav a:focus-visible,
.mobile-quick-nav a:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: -2px;
}


/* IDT LOTTO 36P - DESKTOP NAVIGATION */

@media (min-width: 821px) {
    .site-header .header-inner {
        width: min(98%, 1800px);
        min-height: 88px;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: clamp(12px, 1.4vw, 24px);
    }

    .site-header .main-nav {
        min-width: 0;
        flex-wrap: wrap;
        column-gap: clamp(9px, 0.85vw, 16px);
        row-gap: 0;
    }

    .site-header .main-nav a {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 13px;
        padding: 14px 0;
    }

    .site-header .main-nav a::after {
        bottom: 5px;
    }
}

@media (min-width: 821px) and (max-width: 1500px) {
    .site-header .header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        gap: 0 16px;
        padding-top: 8px;
    }

    .site-header .header-inner > .brand {
        grid-column: 1;
        grid-row: 1;
    }

    .site-header .header-actions {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .site-header .main-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: center;
        column-gap: clamp(10px, 1.2vw, 20px);
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .site-header .main-nav a {
        padding: 12px 0;
        font-size: 13px;
    }

    .site-header .main-nav a::after {
        bottom: 3px;
    }
}
