/*
Theme Name: Fourpixels A-RETE
Author: 4 Pixels
Version: 1.1.0
Text Domain: fourpixels
*/
@font-face {
    font-family: Aeonik;
    src: url('fonts/Aeonik-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Aeonik;
    src: url('fonts/Aeonik-LightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap
}

@font-face {
    font-family: Aeonik;
    src: url('fonts/Aeonik-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Aeonik;
    src: url('fonts/Aeonik-RegularItalic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap
}

@font-face {
    font-family: Aeonik;
    src: url('fonts/Aeonik-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Aeonik;
    src: url('fonts/Aeonik-BoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap
}

:root {
    --green: #006443;
    --green-dark: #056340;
    --lime: #89c432;
    --red: #d42502;
    --text: #262626;
    --light: #f3f3f3;
    --white: #fff;
    --container: 1106px
}

*,
*::before,
*::after {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: Aeonik, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.35;
    color: var(--text);
    background: var(--white)
}

a {
    color: inherit;
    text-decoration: none
}

a:hover {
    text-decoration: underline
}

a:focus-visible,
summary:focus-visible,
button:focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: 4px
}

img {
    max-width: 100%;
    height: auto
}

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

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto
}

.site-main {
    min-height: 480px
}

.site-main>.container {
    padding-block: 48px
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 99999;
    background: white;
    padding: 12px
}

.skip-link:focus {
    top: 16px
}

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    border: 1px dashed currentColor;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    line-height: 1.15;
    opacity: .75
}

.site-header {
    display: flex;
    align-items: center;
    min-height: 114px;
    width: 100%;
    border-bottom: 1px solid var(--green);
    background: var(--light);
    color: var(--green-dark);
    padding-left: clamp(20px, 4vw, 60px);
    gap: 18px
}

.header-brand {
    width: 190px;
    flex-shrink: 0
}

.header-brand img {
    display: block;
    max-height: 100px;
    width: 100%;
    object-fit: contain
}

.header-date {
    font-size: 19px;
    line-height: 1;
    min-width: 170px;
    padding-right: 18px;
    border-right: 1px solid #7c9d90
}

.header-date span {
    display: block
}

.header-navigation {
    flex: 1
}

.header-navigation>summary {
    display: none
}

.header-navigation:not([open])>nav {
    display: block
}

.site-menu {
    list-style: none;
    margin: 0;
    padding: 0
}

.header-navigation .site-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 15px
}

.header-navigation .site-menu>li+li {
    border-left: 1px solid var(--green);
    padding-left: 12px
}

.site-menu li {
    position: relative
}

.site-menu .sub-menu {
    list-style: none;
    padding: 12px;
    background: var(--light);
    color: var(--green-dark);
    min-width: 160px;
    position: absolute;
    z-index: 10;
    display: none
}

.site-menu li:hover>.sub-menu,
.site-menu li:focus-within>.sub-menu {
    display: block
}

.header-actions {
    display: flex;
    align-self: stretch
}

.header-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.1;
    color: white;
    width: 98px;
    padding: 18px 8px;
    border-left: 1px solid white
}

.tickets {
    background: #99c253
}

.sponsor {
    background: var(--red)
}

.header-atp {
    background: var(--green-dark);
    color: white;
    display: flex;
    align-items: center;
    padding: 14px 18px;
    width: 162px
}

.header-atp img {
    width: 100%;
    max-height: 86px;
    object-fit: contain
}

.site-footer {
    background: var(--green);
    color: white;
    padding: 40px 0 36px;
    font-size: 15px;
    line-height: 1.15
}

.footer-grid {
    width: min(1240px, calc(100% - 48px));
    display: grid;
    grid-template-columns: 242px minmax(0, 1fr) 185px;
    gap: clamp(30px, 7vw, 110px)
}

.footer-brand {
    display: block
}

.footer-brand img {
    display: block;
    width: 230px;
    height: 120px;
    object-fit: contain
}

.footer-date {
    font-size: 20px;
    line-height: 1;
    padding: 30px 6px;
    margin-top: 30px;
    border-block: 1px solid #b6ccc2
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 42px 6px 0;
    font-size: 13px
}

.footer-center {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 440px;
    justify-self: center
}

.footer-partners {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px
}

.footer-partners>*:first-child {
    width: 270px;
    max-width: 70%
}

.footer-partners>*:last-child {
    width: 90px;
    max-width: 25%
}

.footer-partners img {
    height: 65px;
    object-fit: contain
}

.footer-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 74px
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    background: var(--lime);
    color: white;
    font-size: 21px;
    font-weight: 700;
    white-space: nowrap
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 65px;
    font-size: 13px
}

.legal-links a+a::before {
    content: '|';
    margin-right: 6px
}

.footer-contact-column {
    padding-top: 22px
}

.footer-contact-column address {
    font-style: normal;
    border-top: 1px solid #78a757;
    margin-top: 32px;
    padding-top: 38px
}

.club-link {
    display: block;
    font-weight: 700;
    margin-top: 18px
}

.woocommerce .button,
.woocommerce button.button {
    background: var(--lime);
    color: white
}

.woocommerce input.input-text,
.woocommerce select,
.woocommerce textarea {
    max-width: 100%;
    padding: 10px;
    border: 1px solid #8aa99b
}

@media(min-width:1101px) {
    .header-navigation>nav {
        display: block !important
    }
}

@media(max-width:1300px) {
    .site-header {
        gap: 12px;
        padding-left: 20px
    }

    .header-brand {
        width: 145px
    }

    .header-date {
        font-size: 16px;
        min-width: 140px
    }

    .header-navigation .site-menu {
        font-size: 14px;
        gap: 8px
    }

    .header-atp {
        width: 125px
    }

    .header-cta {
        width: 88px
    }

    .footer-grid {
        gap: 35px
    }
}

@media(max-width:1100px) {
    .site-header {
        flex-wrap: wrap;
        padding: 16px 20px 0;
        gap: 16px
    }

    .header-brand {
        width: 170px
    }

    .header-date {
        border: 0;
        flex: 1
    }

    .header-navigation {
        order: 4;
        flex-basis: 100%;
        padding-bottom: 16px
    }

    .header-navigation>summary {
        display: list-item;
        cursor: pointer;
        font-weight: 700
    }

    .header-navigation:not([open])>nav {
        display: none
    }

    .header-navigation .site-menu {
        justify-content: flex-start;
        padding-top: 16px;
        gap: 14px
    }

    .header-actions {
        margin: -16px -20px 0 0;
        min-height: 105px
    }

    .footer-grid {
        grid-template-columns: 220px 1fr
    }

    .footer-contact-column {
        grid-column: 1/-1;
        display: flex;
        justify-content: space-between;
        gap: 24px
    }

    .footer-contact-column address {
        margin: 0;
        border: 0;
        padding: 0
    }

    .footer-actions {
        flex-wrap: wrap
    }

    .legal-links {
        padding-top: 35px
    }

    .site-menu .sub-menu {
        position: static
    }

    .header-navigation .sub-menu {
        display: block;
        padding-block: 6px
    }
}

@media(max-width:600px) {
    .container {
        width: calc(100% - 32px)
    }

    .site-header {
        gap: 12px;
        padding: 16px 16px 0
    }

    .header-brand {
        width: 145px
    }

    .header-date {
        font-size: 15px;
        min-width: 0;
        padding: 0
    }

    .header-actions {
        order: 3;
        width: calc(100% + 32px);
        margin: 0 -16px;
        min-height: 76px
    }

    .header-cta {
        flex: 1;
        width: auto
    }

    .header-atp {
        width: 110px;
        padding: 10px
    }

    .header-atp img {
        max-height: 56px
    }

    .header-navigation {
        order: 4
    }

    .header-navigation .site-menu {
        display: block
    }

    .header-navigation .site-menu>li+li {
        border: 0;
        padding: 0
    }

    .header-navigation .site-menu a {
        display: block;
        padding: 8px 0
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .footer-brand-column {
        max-width: 280px
    }

    .footer-date {
        margin-top: 22px;
        padding-block: 22px
    }

    .social-links {
        margin-top: 24px
    }

    .footer-actions {
        margin-top: 32px
    }

    .button {
        font-size: 18px;
        white-space: normal
    }

    .footer-contact-column {
        grid-column: auto;
        display: block;
        padding: 0
    }

    .footer-contact-column address {
        border-top: 1px solid #78a757;
        padding-top: 24px;
        margin-top: 24px
    }

    .legal-links {
        justify-content: flex-start;
        font-size: 12px
    }

    .site-main {
        min-height: 300px
    }

    .site-main>.container {
        padding-block: 32px
    }
}
/* Pagina non trovata */
.error-404 {
    min-height: 55vh;
    padding-block: clamp(64px, 10vw, 140px);
    text-align: center;
}
.error-404__code {
    margin: 0 0 16px;
    color: var(--green);
    font-size: clamp(96px, 16vw, 180px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.05em;
}
.error-404 h1 {
    margin: 0 0 16px;
    color: var(--green);
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 500;
    line-height: 1.15;
}
.error-404__description {
    max-width: 480px;
    margin: 0 auto 30px;
    color: var(--text);
}
.error-404 .button {
    padding: 12px 24px;
    font-size: 18px;
}
@media (max-width: 600px) {
    .site-footer .footer-grid { width: calc(100% - 32px); }
}

.elementor-widget-heading.text-outline .elementor-heading-title {
    font-family: Aeonik, Arial, sans-serif;
    font-size: clamp(48px, 7vw, 100px);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px var(--green);
}

@media (min-width: 1101px) {
    .header-navigation {
        flex: 1;
        min-width: 0;
    }

    .header-navigation nav {
        width: 100%;
    }

    .header-navigation .site-menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        gap: 0;
        width: 100%;
    }

    .header-navigation .site-menu > li {
        flex: 1;
        padding: 0 10px;
        text-align: center;
        white-space: nowrap;
    }

    .header-navigation .site-menu > li + li {
        padding-left: 10px;
        border-left: 1px solid var(--green);
    }
}