body {
    --matcx-yellow: #efff5a;
    --matcx-green: #7aff7d;
    --matcx-rosa: #ff45cd;
}

body.page-id-4637,
body.page-id-4936,
body.page-id-4879 {

    background-color: #000 !important;
    color: #fff !important;
}

.placeholder-glow-green {
    text-shadow: 0 0 1rem var(--matcx-green);
    color: var(--matcx-green);
    filter: blur(8px);
}

.site-content .ast-container {
    padding: 0;
    max-width: none;
}



.title-section {
    font-size: 2ch;
}

@media only screen and (min-width: 768px) {
    .title-section {
        font-size: 5ch;
    }
}

.hero2026 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.hero2026 h1 {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    scale: 0;
}

@media only screen and (max-width: 768px) {
    .hero2026 h1 {
        flex-direction: column;
    }
}

.hero2026 .container {
    z-index: 1;
    width: 100%;
    padding: 1rem;
    position: relative;
}

.hero2026 .top-title {
    height: 200px;
    margin-bottom: 1rem;
}

.hero2026 h2 {
    color: #fff;
    line-height: 1;
    margin-bottom: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: end;
    justify-content: center;
}

.hero2026 .freccia {
    height: 100%;
    width: auto;
    position: absolute;
    top: 0;
    opacity: 0;
}

.hero2026 .frecciaDestra {
    left: 50%;
}

.hero2026 .frecciaSinistra {
    left: 50%;
}

.hero2026 .matcx-btn {
    scale: 0;
}

.hero2026 .matcx-btn,
.hero2026 .countdown-container,
.hero2026 h1,
.hero2026 h2 {
    opacity: 0;
}

.matcx-effect {
    color: transparent;
    font-family: 'KapraNeuePro';
    font-style: italic;
    font-size: clamp(80px, 20vw, 150px);
    line-height: 1;
    margin: 0 .5rem;
    display: inline-block;
    position: relative;
    --x-top: -1%;
    --x-bottom: 1%;
}

.matcx-effect::before {
    content: attr(data-text);
    color: #fff;
    display: block;
    position: absolute;
    top: 0;
    left: var(--x-top);
    clip-path: inset(46% 0 0 0);
    width: 105%;
    height: 100%;
}

.matcx-effect::after {
    content: attr(data-text);
    color: #fff;
    display: block;
    position: absolute;
    top: 0;
    left: var(--x-bottom);
    clip-path: inset(0 0 53% 0);
    width: 105%;
    height: 100%;
}

.countdown-wrapper {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

.countdown-container {
    text-align: center;
    display: inline-flex;
    width: auto;
    max-width: 600px;
    aspect-ratio: 4 / 1;
    align-items: stretch;
    justify-content: center;
    margin: 1rem auto 0;
    background-color: var(--matcx-yellow);
    box-shadow: 0 0 1rem #d2e42c;
    border-radius: .25rem;
}

.countdown-container .box {
    color: #3a3a3a;
    font-size: .8ch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 25%;
    padding: 1rem;

}

.countdown-container .box+.box {
    border-left: 1px solid #3a3a3a;
}

.countdown-container .countdown-number {
    display: block;
    color: #000;
    font-size: 2vmax;
    font-weight: bold;
    line-height: 1;
}

.matcx-btn {
    display: inline-block;
    padding: .75rem 1.5rem;
    border-radius: .25em;
    color: #000;
    font-weight: bold;
    transition: all 400ms linear;
}

.matcx-btn svg {
    vertical-align: middle;
}

.matcx-btn-yellow {
    background-color: var(--matcx-yellow);
    box-shadow: 0 0 1rem #d2e42c;
}

.matcx-btn-outline-yellow {
    border: 2px solid var(--matcx-yellow);
    color: var(--matcx-yellow);
    box-shadow: 0 0 1rem var(--matcx-yellow);
}

.matcx-btn-outline-yellow:hover,
.matcx-btn-outline-yellow:focus,
.matcx-btn-outline-yellow:active {
    color: #000;
    background-color: var(--matcx-yellow);
}

.matcx-btn-outline-rosa {
    border: 2px solid var(--matcx-rosa);
    color: var(--matcx-rosa);
    box-shadow: 0 0 1rem var(--matcx-rosa);
}

.matcx-btn-outline-rosa:hover,
.matcx-btn-outline-rosa:focus,
.matcx-btn-outline-rosa:active {
    color: #000;
    background-color: var(--matcx-rosa);
}

.matcx-btn-outline-green {
    border: 2px solid var(--matcx-green);
    color: var(--matcx-green);
    box-shadow: 0 0 1rem var(--matcx-green);
}

.matcx-btn-outline-green:hover,
.matcx-btn-outline-green:focus,
.matcx-btn-outline-green:active {
    color: #000;
    background-color: var(--matcx-green);
}

.matcx-btn-yellow:hover,
.matcx-btn-yellow:focus,
.matcx-btn-yellow:active {
    color: #000;
    background-color: #d1e42c;
}

.matcx-btn-green {
    background-color: var(--matcx-green);
    box-shadow: 0 0 1rem #93ff95;
}

.matcx-btn-green:hover,
.matcx-btn-green:focus,
.matcx-btn-green:active {
    color: #000;
    background-color: #57df5a;
}

.matcx-btn-rosa,
.matcx-btn-over-rosa:hover,
.matcx-btn-over-rosa:focus,
.matcx-btn-over-rosa:active {
    background-color: var(--matcx-rosa);
    box-shadow: 0 0 1rem #ee57c6;
}

.matcx-btn-rosa:hover,
.matcx-btn-rosa:focus,
.matcx-btn-rosa:active {
    color: #000;
    background-color: #ee57c6;
}

#tema {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

#tema .matcx-effect {
    display: inline-block;
    position: absolute;
    top: 10rem;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: auto;
    text-align: center;
    font-size: 8ch;
    --x-top: -1%;
    --x-bottom: 1%;
}

#tema .sticky-statement {
    height: 90vh;
    width: 100%;
    display: flex;
    padding: 1rem;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 0;
    left: 0;
}

#tema .sticky-statement h3 {
    color: white;
    margin: auto;
    text-align: center;
}

#tema .freccia {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 100vh;
    opacity: .7;
    object-fit: cover;
    transform: scaleX(-1);
    object-position: left;
}

section.speakers {
    display: flex;
    align-items: start;
    justify-content: center;
    text-align: center;
    padding: 5rem 1rem;
    flex-direction: column;
    min-height: 100vh;
    height: auto;
    overflow: hidden;
    max-width: 1420px;
    margin: auto;
}

section .subtitle {
    text-transform: uppercase;
    text-align: right;
    width: 100%;
}

.container-speaker {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    justify-items: center;
    padding: 1rem 0;
    margin: auto;
}

.card-speaker {
    width: calc(25% - .75rem);
    display: inline-block;
    border: 1px solid rgb(190, 190, 190);
    border-radius: .5rem;
    overflow: hidden;
    transition: 0.3s linear all;
    text-align: start;
}

@media only screen and (max-width: 768px) {
    .card-speaker {
        width: calc(50% - .5rem);
    }
}

@media only screen and (max-width: 576px) {
    .card-speaker {
        width: 100%;
    }
}

.card-speaker:hover {
    border: 1px solid var(--matcx-rosa);
    box-shadow: 0 0 1rem var(--matcx-rosa);
}

.card-speaker:hover .img-container {
    background-position: 80% 50%;
    background-color: var(--matcx-rosa);
}

.card-speaker .content {
    padding: 1rem;
    color: #fff;
}

.card-speaker .img-container {
    width: 100%;
    position: relative;
    background-color: var(--matcx-green);
    background-image: url('./img/evento2026/sfondospeaker.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    display: flex;
    align-items: end;
    justify-content: end;
    transition: 0.3s linear all;
}

.card-speaker .nome-speaker,
.speaker-content #speakerNome {
    color: var(--matcx-green);
}

.card-speaker .ruolo-speaker,
.speaker-content #speakerRuolo {
    color: #bbbbbb;
    font-size: .75rem;
}

.card-speaker .titolo {
    color: #fff;
    font-style: italic;
}

.card-speaker img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1.33
}

.card-speaker .button-container {
    display: inline-flex;
    gap: .5rem;
    margin-top: 1rem;
}

.card-speaker .button-container .btn-speaker {
    flex: auto;
}

.card-speaker .button-container .btn-website {
    padding: 0.75rem 1rem;
}

section.agenda {
    text-align: left;
    padding: 4rem 1rem;
    overflow: hidden;
    max-width: 1400px;
    margin: auto;
}

section.agenda .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.card-agenda {
    background-color: var(--matcx-yellow);
    box-shadow: 0 0 1rem var(--matcx-yellow);
    border-radius: 1rem;
    color: #000;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    width: calc(25% - 1rem);
}

@media only screen and (max-width: 992px) {
    .card-agenda {

        width: calc(33% - 1rem);
    }
}

@media only screen and (max-width: 768px) {
    .card-agenda {
        width: calc(50% - 1rem);
    }
}

@media only screen and (max-width: 576px) {
    .card-agenda {
        width: 100%;
    }
}

.card-agenda .card-agenda-head {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-family: 'KapraNeuePro';
}

.card-agenda .card-agenda-time {
    font-size: 5.8ch;
    font-family: 'KapraNeuePro';
    line-height: 1;
    margin-bottom: 3rem;
}

.card-agenda .card-agenda-description {
    padding-top: 1rem;
    border-top: 1px solid #000;
    font-size: .7rem;
    line-height: 1;
    justify-self: end;
}

section.location {
    text-align: left;
    padding: 4rem 1rem;
    overflow: hidden;
    max-width: 1400px;
    margin: auto;
}

section.location .subtitle {
    width: 100%;
    text-align: right;
    text-transform: uppercase;
}

section.location .container-lg {
    width: 100%;
    margin: auto;
}

.card-location {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    border: 1px solid var(--matcx-green);
    border-radius: 1rem;
    color: #fff;
    padding: 2rem;
}

.card-location .left {
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    width: 45%;
}

.card-location .right {
    width: 55%;
}

.card-location .card-title {
    color: var(--matcx-green);
    font-size: 2rem;
}

.card-location .box-hint {
    border-radius: .5rem;
    background-color: #1b1b1b;
    padding: 1rem;
    margin-bottom: 1rem;
}

.card-location .box-hint h4 {
    color: #fff;
}

.card-location .box-hint p {
    margin-bottom: 0;
}

.card-location .matcx-btn {
    width: 100%;
    text-align: center;
}

.card-location img {
    object-fit: cover;
    aspect-ratio: 2 / 1;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.card-location iframe {
    aspect-ratio: 2 / 1;
    width: calc(100% - 1.5rem) !important;
    height: 100% !important;
    min-height: 300px;
    margin-left: 1rem;
    border-radius: .5rem;
}

@media only screen and (max-width: 768px) {

    .card-location .right,
    .card-location .left {
        width: 100%;
    }

    .card-location iframe,
    .card-location img {
        width: 100% !important;
        height: auto !important;
        margin-left: 0;
        margin-top: 1.5rem;
    }
}

/* Modal Speaker*/
.speaker-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.speaker-modal svg {
    color: currentColor;
    fill: currentColor;
}

.speaker-modal.active {
    display: flex;
}

.speaker-content {
    background: #000;
    color: #fff;
    border: 1px solid var(--matcx-rosa);
    box-shadow: 0 0 1rem var(--matcx-rosa);
    padding: 30px;
    max-width: 900px;
    width: calc(100% - 2rem);
    max-height: calc(100% - 2rem);
    overflow-y: auto;
    border-radius: 12px;
    position: relative;
    -webkit-overflow-scrolling: touch;

}

.speaker-content::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* Firefox */
.speaker-content {
    scrollbar-width: none;
}

/* IE / vecchio Edge */
.speaker-content {
    -ms-overflow-style: none;
}

.speaker-content #speakerNome {
    font-size: 1.5rem;
}

.speaker-content #speakerRuolo {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #fff;
}

.speaker-content #speakerTesto {
    font-size: 1rem;
    line-height: 1.3;
    border-top: 1px solid #808080;
    border-bottom: 1px solid #808080;
    padding: 1rem 0;
    color: #bbbbbb;
    margin-bottom: 0;
}

.speaker-content .link-container {
    display: flex;
    justify-content: end;
    padding: 1rem 0;

}

.speaker-content .link-container a {
    display: inline-flex;
    align-items: center;
    color: white;
    font-size: 0.8rem;
}

.speaker-content .link-container a svg {
    margin-right: 0.5rem;
    color: var(--matcx-yellow);
}

.speaker-content .close {
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    font-size: 24px;
}

/* End Modal Speaker*/

section.sponsor {
    text-align: left;
    padding: 4rem 1rem;
    overflow: hidden;
    max-width: 1400px;
    margin: auto;
}

section.sponsor .row {
    display: flex;
    flex-wrap: wrap;
    align-items: left;
    justify-content: start;
    gap: 1rem;
    margin-bottom: 4rem;
}

section.sponsor h3 {
    font-family: 'KapraNeuePro';
    color: #fff;
    border-bottom: 1px solid gray;
    margin: 2rem 0;
    font-size: 2.3rem;
}

.card-sponsor {
    background-color: #fff;
    box-shadow: 0 0 1rem #fff;
    border-radius: 1rem;
    color: #000;
    display: flex;
    align-self: center;
    justify-content: center;
    padding: 1rem;
    width: calc(16.666% - 1rem);
}

.card-sponsor a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-sponsor img {
    width: 80%;
    height: auto;
    margin: auto;
}

@media only screen and (max-width: 992px) {
    .card-sponsor {

        width: calc(25% - 1rem);
    }
}

@media only screen and (max-width: 768px) {
    .card-sponsor {
        width: calc(33.333% - 1rem);
        padding: 0.rem;
    }
}

/* @media only screen and (max-width: 576px) {
    .card-sponsor {
        width: 100%;
    }
} */