/* StartCup Calabria – Custom Styles */

@import url('https://fonts.googleapis.com/css2?family=Victor+Mono:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;500;&display=swap');

:root {
    --startcup-primary: #FE3F61;
    --startcup-navy: #004b7e;
    --startcup-teal: #0B9DD0;
    --startcup-yellow: #e2d346;
    --startcup-black: #1a1a1a;
    --startcup-dark: #C4C4C4;
    --startcup-grey: #D9D9D9;
    --startcup-white: #FFFFFF;
    --startcup-font: 'Victor Mono', monospace;
    --startcup-font-condensed: 'Roboto Condensed', monospace;
    --startcup-radius: 1rem;
}

/* ── Reset & Base ── */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--startcup-font);
    color: var(--startcup-white);
    margin: 0;
    background: var(--startcup-primary);
}

.startcup-main {
    position: relative;
    z-index: 10;
    margin-top: 100vh;
    background: var(--startcup-navy);
    width: 100%;
}

.startcup-container {
    max-width: 100rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

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

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

.startcup-section-bg {
    background-repeat: no-repeat;
    background-size: contain;
}

/* ── Header ── */
.startcup-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: .5rem 1rem;
    transition: backdrop-filter 0.3s;
}

.startcup-header.is-scrolled {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.startcup-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100rem;
    margin-left: auto;
    margin-right: auto;
}

.startcup-header__logo {
    display: flex;
    align-items: center;
}

.startcup-header__logo-img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 10rem;
}

@media all and (min-width:1024px) {
    .mobile-version {
        display: none;
    }
}

@media all and (max-width:1023.5px) {
    .desktop-version {
        display: none;
    }

    .startcup-header__logo-img {
        max-width: 2rem;
    }
}

.startcup-header__nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.startcup-header__nav a {
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    transition: opacity 0.3s;
}

.startcup-header__nav a:hover {
    opacity: 0.7;
}

.startcup-header__email {
    font-size: 0.875rem;
    font-weight: 300;
}

/* ── Hero Background (fixed, like anotherbeach.com) ── */
.startcup-hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
    background-color: var(--startcup-primary);
}

.startcup-hero-bg__video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 1;
    filter: grayscale(1);
    mix-blend-mode: multiply;
}

.startcup-hero-bg__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* ── Hero Content (absolute overlay on the fixed bg) ── */
.startcup-hero {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3.75rem 2.5rem 5rem;
}

.startcup-hero__title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 300;
    line-height: 1.2;
    margin: 0 0 1.25rem;
}

.startcup-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    margin: 0 0 0.625rem;
    opacity: 0.9;
}

.startcup-hero__text {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.5;
    max-width: 48.75rem;
    margin: 0 0 2.5rem;
}

.startcup-hero__cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Desktop/Mobile media toggle for hero */
.startcup-hero-bg__media--mobile {
    display: none;
}

@media (max-width: 47.9375rem) {
    .startcup-hero-bg__media--desktop {
        display: none;
    }

    .startcup-hero-bg__media--mobile {
        display: block;
    }
}

.startcup-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--startcup-white);
    border-radius: 4px;
    font-family: var(--startcup-font);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s;
    cursor: pointer;
    background: transparent;
    color: var(--startcup-white);
}

.startcup-btn i {
    font-size: 0.875rem;
}

.startcup-btn:hover {
    background: var(--startcup-white);
    color: var(--startcup-primary);
}

.startcup-btn--outline {
    background: transparent;
    color: var(--startcup-white);
    border-color: var(--startcup-white);
}

.startcup-btn--outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff !important;
}

/* ── Banner ── */
.startcup-banner {
    width: 100%;
    overflow: hidden;
}

.startcup-banner img {
    width: 100%;
    display: block;
}

/* ── Intro ── */
.startcup-intro {
    padding: 5rem 0;
    background: var(--startcup-navy);
    width: 100%;
}

.startcup-intro__subtitle {
    font-size: 1rem;
    font-weight: 300;
    margin: 0 0 1.25rem;
    opacity: 0.8;
}

.startcup-intro__title {
    font-size: clamp(2.25rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1.2;
    margin: 0 0 2.5rem;
}

.startcup-intro__text {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.5;
    max-width: 48.75rem;
}

/* ── Numeri / Statistiche ── */
.startcup-numeri {
    padding: 2.5rem 0;
    background-color: var(--startcup-navy);
    width: 100%;
}

.startcup-numeri .startcup-container {
    margin-bottom: 4rem;
}

.startcup-numeri__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.startcup-numeri__item {
    padding: 2.5rem 1.25rem;
    text-align: center;
    border-radius: var(--startcup-radius);
    background: var(--startcup-teal);
}

.startcup-numeri__value {
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.startcup-numeri__label {
    font-size: 0.875rem;
    font-weight: 300;
    opacity: 0.9;
}

/* ── Sezione Engineering / Decorativa ── */
.startcup-engineering {
    position: relative;
    padding: 5rem 2.5rem;
    background: var(--startcup-navy);
    overflow: hidden;
}

.startcup-engineering__bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    opacity: 0.3;
}

/* ── CTA Section ── */
.startcup-cta {
    padding: 3.75rem 0;
    text-align: center;
    background: var(--startcup-navy);
    width: 100%;
}

.startcup-cta__buttons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* ── Anni / Timeline ── */
.startcup-anni {
    padding: 3.75rem 2.5rem;
    background: var(--startcup-navy);
}

.startcup-anni__title {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 300;
    margin: 0 0 1.875rem;
}

/* ── Archivio News (inside slidenews yellow section) ── */
.startcup-slidenews__archivio {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.startcup-archivio__label {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--startcup-black);
    line-height: 1;
}

.startcup-archivio__selector {
    position: relative;
    display: flex;
    align-items: center;
}

.startcup-archivio__year {
    background: none;
    border: none;
    color: var(--startcup-black);
    font-family: var(--startcup-font);
    font-size: 0.875rem;
    text-decoration: underline;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0;
    line-height: 1;
}

.startcup-archivio__year i {
    font-size: 0.625rem;
    transition: transform 0.3s;
}

.startcup-archivio__selector.open .startcup-archivio__year i {
    transform: rotate(180deg);
}

.startcup-archivio__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background-color: var(--startcup-white);
    border-radius: 4px;
    list-style: none;
    padding: 0.25rem 0;
    min-width: 5rem;
    z-index: 50;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.3);
}

.startcup-archivio__selector.open .startcup-archivio__dropdown {
    display: block;
}

.startcup-archivio__dropdown a {
    display: block;
    padding: 0.375rem 1rem;
    font-size: 0.8125rem;
    color: var(--startcup-navy);
    transition: background 0.2s;
}

.startcup-archivio__dropdown a:hover {
    background: rgba(0, 0, 0, 0.05);
}

.startcup-archivio__btn {
    font-size: 0.75rem;
    padding: 0.375rem 1rem;
    border-color: var(--startcup-black);
    color: var(--startcup-black);
    margin-left: 1rem;
}

.startcup-archivio__btn:hover {
    background: var(--startcup-black);
    color: var(--startcup-yellow);
}

/* ── Slide News ── */
.startcup-slidenews {
    overflow: hidden;
    background-color: var(--startcup-yellow);
    color: var(--startcup-black);
    padding: 0 0 2.5rem;
    width: 100%;
}

.content-slidernews {
    padding-top: 10%;
    padding-bottom: 4rem;
}

.startcup-slidenews__heading {
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    font-weight: 300;
    margin: 0 0 2.5rem;
    padding: 0;
    color: var(--startcup-black);
    max-width: 100rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.startcup-slidenews__heading strong {
    font-weight: 700;
}

.startcup-slidenews__track {
    display: flex;
    gap: 1.5rem;
    padding: 0 2.5rem;
    animation: slidenews-scroll 30s linear infinite;
}

.startcup-slidenews__item {
    flex: 0 0 17.5rem;
    border-radius: var(--startcup-radius);
    overflow: hidden;
    position: relative;
    background: var(--startcup-white);
}

.startcup-slidenews__item img {
    width: 100%;
    height: 11.25rem;
    object-fit: cover;
    display: block;
}

.startcup-slidenews__item a {
    color: var(--startcup-black);
}

.startcup-slidenews__placeholder {
    width: 100%;
    height: 11.25rem;
    background: var(--startcup-navy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.startcup-slidenews__placeholder-logo {
    height: 2.5rem;
    width: auto;
    opacity: 0.5;
}

.startcup-slidenews__title {
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}

@keyframes slidenews-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ── Card "ultime news" sopra al carousel ── */
.startcup-slidenews__featured-wrap {
    max-width: 100rem;
    margin: 0 auto 2.5rem;
    padding: 0 2.5rem;
}

.startcup-slidenews__featured {
    display: flex;
    gap: 1.5rem;
    /* ogni card è larga il doppio di un item del carousel (35rem):
       2×35rem + 1.5rem di gap */
    max-width: 71.5rem;
}

.startcup-newscard {
    flex: 1 1 0;
    min-width: 0;
    background: var(--startcup-white);
    border-radius: var(--startcup-radius);
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}

.startcup-newscard__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--startcup-black);
}

.startcup-newscard__img,
.startcup-newscard__placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    display: block;
}

.startcup-newscard__placeholder {
    background: var(--startcup-navy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.startcup-newscard__body {
    padding: 1rem 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.startcup-newscard__date {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.startcup-newscard__title {
    font-size: 1rem;
    line-height: 1.3;
    margin: 0.35rem 0 0.5rem;
    font-weight: 700;
}

.startcup-newscard__excerpt {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #555;
    margin: 0 0 0.8rem;
}

.startcup-newscard__more {
    margin-top: auto;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--startcup-primary);
}

@media (max-width: 47.9375rem) {
    .startcup-slidenews__featured-wrap {
        padding: 0 1rem;
    }

    .startcup-slidenews__featured {
        flex-direction: column;
        max-width: 100%;
    }

    .startcup-newscard {
        flex: 1 1 auto;
    }
}

/* ── Partner Loghi ── */
.startcup-partner {
    background: var(--startcup-navy);
    padding: 1.875rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.startcup-partner__grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: row wrap;
    max-width: 70rem;
}

.startcup-partner__item {
    display: flex;
    align-items: center;
    width: 33.333%;
    margin-bottom: 1rem;
}

@media all and (max-width:639.5px) {
    .startcup-partner__item {
        width: 50%;
    }
}

.startcup-partner__logo {
    height: auto;
    width: 100%;
    transition: opacity 0.3s, filter 0.3s;
}

.startcup-partner__item:hover .startcup-partner__logo {
    /*filter: grayscale(0);
    opacity: 1; */
}

.startcup-partner__name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--startcup-black);
    opacity: 0.6;
}

/* ── Footer ── */
.startcup-footer {
    background: var(--startcup-navy);
    color: var(--startcup-white);
    width: 100%;
    position: relative;
    z-index: 10;
}

.startcup-footer__bottom {
    padding: 1.25rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.startcup-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.startcup-footer__copy {
    font-size: 0.75rem;
    opacity: 0.6;
}

.startcup-footer__copy p {
    margin: 0;
}

.startcup-footer__contacts {
    display: flex;
    gap: 1.25rem;
    font-size: 0.75rem;
}

.startcup-footer__contacts a {
    color: var(--startcup-black);
    opacity: 0.6;
}

.startcup-footer__social {
    display: flex;
    gap: 1rem;
    font-size: 1rem;
}

.startcup-footer__social a {
    color: var(--startcup-black);
    opacity: 0.6;
    transition: opacity 0.3s;
}

.startcup-footer__social a:hover {
    opacity: 1;
}

.startcup-footer__powered {
    font-family: inherit;
    font-size: 0.75rem;
    color: var(--startcup-white);
    opacity: 0.6;
    margin-left: auto;
    text-align: right;
}

.startcup-footer__powered a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s;
}

.startcup-footer__powered a:hover {
    opacity: 1;
}

/* ── Ultime News ticker ── */
.startcup-ultimenews {
    font-size: 0.875rem;
    font-weight: 300;
    padding: 0.5rem 2.5rem;
    background: var(--startcup-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* ── Mobile ── */
@media (max-width: 47.9375rem) {
    .startcup-header {
        padding: 0 1rem;
    }

    .startcup-header__inner {
        padding: 0.625rem 1.25rem;
    }

    .startcup-header__email {
        display: none;
    }

    .startcup-hero {
        padding: 0 1.25rem 3.75rem;
    }

    .startcup-hero .startcup-container {
        padding: 0;
    }

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

    .startcup-intro,
    .startcup-engineering,
    .startcup-cta,
    .startcup-anni {
        padding: 2.5rem 1.25rem;
    }

    .startcup-footer__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .startcup-footer__contacts {
        order: 1;
    }

    .startcup-footer__social {
        order: 2;
    }

    .startcup-footer__copy {
        order: 3;
    }

    .startcup-footer__powered {
        order: 4;
        margin-left: 0;
        text-align: center;
    }

    .startcup-section-bg.startcup-slidenews {
        background-size: cover;
    }
}

.startcup-numeri .img-bg-intro {
    display: none;
}

.startcup-numeri {
    background-size: 50vw 95%;
}

.startcup-numeri .startcup-intro__subtitle,
.startcup-numeri .startcup-intro__title,
.startcup-numeri .startcup-intro__text {
    padding-left: 30vw;
    max-width: 100%;
}

@media all and (max-width:1023.5px) {
    .startcup-numeri.startcup-section-bg {
        background-position: right center !important;
        position: relative;
    }

    .startcup-numeri.startcup-section-bg>*:not(.img-bg-intro) {
        position: relative;
        z-index: 10;
    }


    .startcup-numeri .img-bg-intro {
        display: block;
        position: absolute;
        z-index: 1;
        top: 0;
        left: 0;
        righT: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background-color: var(--startcup-navy);
        opacity: .5;
    }

    .startcup-numeri .startcup-container {
        margin-bottom: 2rem;
    }

    .startcup-numeri .startcup-intro__subtitle,
    .startcup-numeri .startcup-intro__title,
    .startcup-numeri .startcup-intro__text {
        padding-left: 0;
    }
}

@media all and (max-width:639.5px) {
    .startcup-header__nav a {
        font-family: var(--startcup-font-condensed);
        font-weight: 400;
        text-transform: uppercase;
    }

    .startcup-header__nav ul {
        gap: 1rem;
    }

    .startcup-header {
        padding: 0;
    }

    .startcup-intro__text,
    .startcup-hero__text {
        font-size: 1rem;
    }

    .startcup-hero__title {
        font-size: clamp(2rem, 8vw, 6.25rem);
    }

    .startcup-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .startcup-numeri.startcup-section-bg {
        background-position: top center !important;
        background-size: contain;
    }

    .startcup-numeri .img-bg-intro {
        opacity: .65;
    }
}



body:not(.home) main.startcup-main {
    background: transparent;
    width: 100%;
    max-width: 100rem;
    margin: 8rem auto 4rem auto;
    padding: 0 1rem;
}

body.single main.startcup-main {
    margin: 8rem auto 4rem 0;
    padding: 0 1rem 0 0;
    max-width: 120rem;
}

article.single-article {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    justify-content: space-between;
}

figure.img-articolo {
    display: block;
    width: 40%;
    position: relative;
    z-index: 2;
    align-self: flex-start;
    border-right: 1rem solid var(--startcup-primary);
    border-bottom: 1rem solid var(--startcup-primary);
}

.article-content {
    display: block;
    width: 60%;
    background: var(--startcup-yellow);
    padding: 2rem 2rem 2rem 3rem;
    color: black;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
    left: -1rem;
    align-self: flex-start;
}

article.single-article .article-header time {
    display: inline-block;
    background: var(--startcup-black);
    color: var(--startcup-yellow);
    padding: .5rem;
    line-height: 1;
    margin-right: 0;
    margin-left: auto;
}

@media all and (max-width:767.5px) {
    body.single main.startcup-main {
        margin: 8rem auto 4rem 0;
        padding: 0 1rem;
    }

    figure.img-articolo {
        width: 100%;
        border: 0;
        margin-bottom: 0;
    }

    .article-content {
        width: 100%;
        padding: 2rem;
        left: 0;
        margin-top: 1rem;
    }
}

@media all and (max-width:639.5px) {
    body.single main.startcup-main {
        margin: 5rem auto 4rem 0;
        padding: 0 1rem;
    }

    figure.img-articolo {
        width: 100%;
        border: 0;
        margin-bottom: 0;
    }

    .article-content {
        width: 100%;
        padding: 1rem;
        left: 0;
        margin-top: 1rem;
    }
}

.entry-posts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .entry-posts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .entry-posts {
        grid-template-columns: repeat(3, 1fr);
    }
}

@supports (grid-template-rows: masonry) {
    .entry-posts {
        grid-template-rows: masonry;
    }
}

.entry-posts article {
    background: var(--startcup-yellow);
    color: var(--startcup-black);
    border-radius: 0;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}


.entry-posts article figure {
    width: calc(100% + 3rem);
    margin-bottom: 0;
    position: relative;
    padding-top: 56.25%;
    top: -1.5rem;
    left: -1.5rem;
    right: -1.5rem;
}

.entry-posts article figure img,
.entry-posts article figure a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
}

.entry-posts article figure a:hover:before {
    content: 'leggi tutto';
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 10;
    text-align: center;
    color: #fff;
    font-size: 1rem;
}


.entry-posts article figure a:hover:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    background-color: var(--startcup-black);
    opacity: .5;
    backdrop-filter: blur(2px);
}

.entry-posts article time {
    font-size: 0.85rem;
}

.entry-posts article h2 {
    font-size: 1.15rem;
    margin: 0.5rem 0;
    line-height: 1.5;
}

.entry-posts article h2 a {
    text-decoration: none;
    color: var(--startcup-black);
}

.entry-posts article p {
    font-size: 0.95rem;
    color: var(--startcup-black);
    line-height: 1.5;
}

ul.pagination.text-center {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-flow: row wrap;
    font-size: 1.125rem;
    margin-top: 2rem;
    justify-content: center;
    gap: 1rem;
}

ul.pagination.text-center li a,
ul.pagination.text-center li span {
    display: inline-block;
    text-align: center;
    padding-bottom: .25rem;
}

ul.pagination.text-center li span.current {
    border-bottom: 1px solid var(--startcup-white);
}

a.underlined {
    text-decoration: underline;
}

video.startcup-hero-bg__video.startcup-hero-bg__media--desktop.fixed-video {
    position: fixed;
}

.faq-item:first-child {
    border-top: 0;
}

.faq-item {
    border-bottom: 1px solid var(--startcup-black);
}

.faq-item:first-child {
    border-top: 0 !important;
}

.faq-item:last-child {
    border-bottom: 0 !important;
}

.yellow-box {
    background: var(--startcup-yellow);
    padding: 1rem;
    color: var(--startcup-black);
}

.white-box {
    background: var(--startcup-white);
    padding: 1rem;
    color: var(--startcup-black);
}

.black-box {
    background: var(--startcup-black);
    padding: 1rem;
    color: var(--startcup-white);
}

.navy-box {
    background: var(--startcup-navy);
    padding: 1rem;
    color: var(--startcup-white);
}

.teal-box {
    background: var(--startcup-teal);
    padding: 1rem;
    color: var(--startcup-white);
}

.faq-question {
    font-family: var(--startcup-font);
    color: var(--startcup-black);
}

.flexgrid {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
}

.justify-content {
    justify-content: space-between;
}

.col-half {
    width: 100%;
}

.image-align-left>div {
    width: 100%;
}

.startcup-sub__title {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    margin: 0 0 1.25rem;
}

.responsive-image {
    width: 100%;
    height: auto;
}



@media all and (min-width:1024px) {
    .col-half {
        width: calc(50% - 1rem);
    }

    .yellow-box,
    .black-box,
    .navy-box,
    .white-box,
    .teal-box {
        padding: 1.5rem;
    }

    .image-align-left>div:first-child {
        width: 20rem;
        align-self: center;
    }

    .image-align-left>div:last-child {
        width: calc(100% - 22rem);
        align-self: center;
    }
}


.font-size-small {
    font-size: 1rem;
    line-height: 1.5;
}

.form-contatto {
    margin-top: 2rem;
}

.form-contatto>div {
    margin-bottom: 1.5rem;
}

.form-contatto input[type="text"],
.form-contatto input[type="email"],
.form-contatto input[type="tel"] {
    display: block;
    width: 100%;
    min-height: 2rem;
    padding: .5rem;
    border: 1px solid #fff;
    margin: 0;
}

.form-contatto textarea {
    display: block;
    width: 100%;
    padding: .5rem;
    border: 1px solid #fff;
    margin: 0;
}

.form-contatto input[type="submit"] {
    padding: .5rem 1rem;
    font-size: 1.5rem;
    background: var(--startcup-primary);
    color: var(--startcup-white);
    border: 0;
    margin: 0;
}

.faq-answer-inner {
    color: var(--startcup-black) !important;
}

/* ===========================================================
   pixelfarmForm — Contact Form 7 styling
   =========================================================== */

.startcup-form {
    max-width: 100%;
    margin: 4rem auto;
    padding: 3rem 3rem 2.5rem;
    background: var(--startcup-white);
    border-radius: 1.5rem;
    box-shadow: 0 0.25rem 1.875rem rgba(0, 0, 0, 0.08);
    color: #333333;
    font-family: var(--startcup-font-condensed);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
}

.startcup-form .wpcf7 {
    color: #333333;
}

.startcup-form h3 {
    font-family: var(--startcup-font);
    font-weight: 700;
    font-size: 1.625rem;
    color: var(--startcup-navy);
    margin: 2rem 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #ebebeb;
}

.startcup-form h3:first-child {
    margin-top: 0;
}

.startcup-form h4 {
    font-family: var(--startcup-font-condensed);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--startcup-navy);
    margin: 1.5rem 0 0.75rem;
}

.startcup-form p {
    margin: 0 0 1.25rem;
}

.startcup-form label {
    display: block;
    font-weight: 700;
    font-size: 0.9375rem;
    color: #333333;
    margin-bottom: 0.5rem;
}

.startcup-form input[type="text"],
.startcup-form input[type="email"],
.startcup-form input[type="tel"],
.startcup-form input[type="url"],
.startcup-form input[type="number"],
.startcup-form input[type="date"],
.startcup-form input[type="time"],
.startcup-form select,
.startcup-form textarea {
    display: block;
    width: 100%;
    margin-top: 0.375rem;
    padding: 0.75rem 1rem;
    font-family: var(--startcup-font-condensed);
    font-size: 1rem;
    font-weight: 400;
    color: #333333;
    background: var(--startcup-white);
    border: 1px solid #e5e5e5;
    border-radius: 0.625rem;
    box-shadow: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.startcup-form textarea {
    min-height: 8rem;
    resize: vertical;
    line-height: 1.5;
}

.startcup-form input::placeholder,
.startcup-form textarea::placeholder {
    color: #b5b5b5;
    opacity: 1;
}

.startcup-form input:focus,
.startcup-form select:focus,
.startcup-form textarea:focus {
    outline: none;
    border-color: var(--startcup-primary);
    box-shadow: 0 0 0 3px rgba(254, 63, 97, 0.12);
}

.startcup-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%23333333' stroke-width='1.5' d='M1 1l5 5 5-5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.startcup-form .wpcf7-not-valid-tip {
    color: var(--startcup-primary);
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.startcup-form .wpcf7-not-valid {
    border-color: var(--startcup-primary) !important;
}

.startcup-form input[type="file"] {
    display: block;
    width: 100%;
    margin-top: 0.375rem;
    padding: 0.625rem;
    font-family: var(--startcup-font-condensed);
    font-size: 0.9375rem;
    color: #333333;
    background: #fafafa;
    border: 1px dashed #c5c5c5;
    border-radius: 0.625rem;
    cursor: pointer;
}

.startcup-form input[type="file"]::-webkit-file-upload-button {
    margin-right: 0.75rem;
    padding: 0.5rem 1rem;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--startcup-white);
    background: var(--startcup-navy);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
}

.startcup-form input[type="submit"],
.startcup-form .wpcf7-submit {
    display: block;
    width: 100%;
    margin-top: 1.5rem;
    padding: 1.125rem 2rem;
    font-family: var(--startcup-font);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--startcup-white);
    background: var(--startcup-primary);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.startcup-form input[type="submit"]:hover,
.startcup-form .wpcf7-submit:hover {
    background: var(--startcup-navy);
}

.startcup-form input[type="submit"]:active,
.startcup-form .wpcf7-submit:active {
    transform: translateY(1px);
}

.startcup-form .wpcf7-spinner {
    margin-left: 0.75rem;
    vertical-align: middle;
}

.startcup-form .wpcf7-response-output {
    margin: 1.5rem 0 0;
    padding: 1rem 1.25rem;
    border-radius: 0.625rem;
    font-size: 0.9375rem;
}

.startcup-form .wpcf7 form.invalid .wpcf7-response-output,
.startcup-form .wpcf7 form.unaccepted .wpcf7-response-output {
    border: 1px solid var(--startcup-primary);
    background: #fff5f7;
    color: var(--startcup-primary);
}

.startcup-form .wpcf7 form.sent .wpcf7-response-output {
    border: 1px solid #2eb872;
    background: #f0faf5;
    color: #207a4a;
}

.startcup-form__acceptance a {
    text-decoration: underline;
}

@media (max-width: 47.5rem) {
    .startcup-form {
        margin: 2rem 1rem;
        padding: 1.75rem 1.25rem 1.5rem;
        border-radius: 1rem;
    }

    .startcup-form h3 {
        font-size: 1.375rem;
    }

    .startcup-form input[type="submit"],
    .startcup-form .wpcf7-submit {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }
}

/* ===========================================================
   Pagina Regolamento
   =========================================================== */

.startcup-regolamento {
    max-width: 100%;
    margin: 4rem auto;
    color: #333333;
    font-size: 1rem;
}

.startcup-regolamento__nav {
    display: flex;
    flex-wrap: wrap;
    row-gap: 0.75rem;
    column-gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--startcup-white);
    border-radius: 1.5rem;
    box-shadow: 0 0.25rem 1.875rem rgba(0, 0, 0, 0.08);
}

.startcup-regolamento__nav a {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-family: var(--startcup-font-condensed);
    font-size: 0.9375rem;
    font-weight: 700;
    color: #333333;
    background: var(--startcup-white);
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.startcup-regolamento__nav a:hover,
.startcup-regolamento__nav a:focus {
    background: var(--startcup-primary);
    color: var(--startcup-white);
    border-color: var(--startcup-primary);
    outline: none;
}

.startcup-regolamento__content {
    position: relative;
    padding: 3rem;
    background: var(--startcup-white);
    border-radius: 1.5rem;
    box-shadow: 0 0.25rem 1.875rem rgba(0, 0, 0, 0.08);
    color: #333333;
    font-size: 1rem;
    line-height: 1.6;
}

.startcup-regolamenti__downloads {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1;
}

.startcup-regolamento__download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-family: var(--startcup-font-condensed);
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--startcup-white) !important;
    background: var(--startcup-primary);
    border: 1px solid var(--startcup-primary);
    border-radius: 999px;
    text-decoration: none !important;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.startcup-regolamento__download:hover,
.startcup-regolamento__download:focus {
    background: var(--startcup-navy);
    border-color: var(--startcup-navy);
    color: var(--startcup-white);
    outline: none;
}

@media (max-width: 47.5rem) {
    .startcup-regolamento__download {
        position: static;
        margin: 0 0 1.25rem;
    }

    .startcup-regolamenti__downloads {
        position: static;
        display: block;
    }
}

.startcup-regolamento__content h2 {
    color: var(--startcup-primary);
    font-family: var(--startcup-font);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2.25rem 0 1rem;
    padding-top: 1rem;
    scroll-margin-top: 6rem;
}

.startcup-regolamento__content h2:first-child {
    margin-top: 0;
    padding-top: 0;
}

.startcup-regolamento__content p {
    margin: 0 0 1.75rem;
    color: #333333;
    font-size: 1rem;
    line-height: 1.7;
}

.startcup-regolamento__content ol,
.startcup-regolamento__content ul {
    margin: 0 0 1.75rem 1.5rem;
    padding: 0;
    color: #333333;
}

.startcup-regolamento__content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.startcup-regolamento__content a {
    color: var(--startcup-primary);
    text-decoration: underline;
}

.startcup-regolamento__content a:hover {
    color: var(--startcup-navy);
}

.startcup-regolamento__content strong {
    color: #1a1a1a;
}

@media (max-width: 47.5rem) {
    .startcup-regolamento {
        margin: 2rem 1rem;
    }

    .startcup-regolamento__content {
        padding: 1.75rem 1.25rem;
    }

    .startcup-regolamento__content h2 {
        font-size: 1.25rem;
    }
}

body.page-id-219 h1.startcup-hero__title,
body.page-id-219 h2.startcup-sub__title {
    max-width: 60rem;
}

.startcup-faq-box {
    max-width: 100%;
    margin: 4rem auto;
    padding: 3rem;
    background: var(--startcup-white);
    color: #333333;
    border-radius: 1.5rem;
    box-shadow: 0 0.25rem 1.875rem rgba(0, 0, 0, 0.08);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 47.5rem) {
    .startcup-faq-box {
        margin: 2rem 1rem;
        padding: 1.75rem 1.25rem;
    }
}

/* ===========================================================
   pixelfarmForm — lista invii frontend
   =========================================================== */

.startcup-invii {
    max-width: 100%;
    margin: 4rem auto;
    padding: 3rem;
    background: var(--startcup-white);
    border-radius: 1.5rem;
    box-shadow: 0 0.25rem 1.875rem rgba(0, 0, 0, 0.08);
    color: #333333;
    font-family: var(--startcup-font-condensed);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

.startcup-invii--locked {
    max-width: 28rem;
    text-align: center;
}

.startcup-invii--locked .startcup-invii__title {
    margin: 0 0 0.75rem;
}

.startcup-invii--locked>p {
    margin: 0 0 1.5rem;
    color: #666666;
}

.startcup-invii--locked a {
    color: var(--startcup-primary);
    font-weight: 700;
}

.startcup-invii--locked form.wp-login-form,
.startcup-invii--locked #loginform {
    text-align: left;
    margin: 0;
}

.startcup-invii--locked form.wp-login-form p,
.startcup-invii--locked #loginform p {
    margin: 0 0 1rem;
}

.startcup-invii--locked form.wp-login-form label,
.startcup-invii--locked #loginform label {
    display: block;
    margin-bottom: 0.375rem;
    font-weight: 700;
    font-size: 0.9375rem;
    color: #333333;
}

.startcup-invii--locked form.wp-login-form input[type="text"],
.startcup-invii--locked form.wp-login-form input[type="password"],
.startcup-invii--locked #loginform input[type="text"],
.startcup-invii--locked #loginform input[type="password"] {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--startcup-font-condensed);
    font-size: 1rem;
    color: #333333;
    background: var(--startcup-white);
    border: 1px solid #e5e5e5;
    border-radius: 0.625rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.startcup-invii--locked form.wp-login-form input:focus,
.startcup-invii--locked #loginform input:focus {
    outline: none;
    border-color: var(--startcup-primary);
    box-shadow: 0 0 0 3px rgba(254, 63, 97, 0.12);
}

.startcup-invii--locked form.wp-login-form .login-remember label,
.startcup-invii--locked #loginform .login-remember label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
}

.startcup-invii--locked form.wp-login-form input[type="submit"],
.startcup-invii--locked #loginform input[type="submit"],
.startcup-invii--locked form.wp-login-form .login-submit input,
.startcup-invii--locked #loginform .login-submit input {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-family: var(--startcup-font);
    font-size: 1rem;
    font-weight: 700;
    color: var(--startcup-white);
    background: var(--startcup-primary);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.startcup-invii--locked form.wp-login-form input[type="submit"]:hover,
.startcup-invii--locked #loginform input[type="submit"]:hover,
.startcup-invii--locked form.wp-login-form .login-submit input:hover,
.startcup-invii--locked #loginform .login-submit input:hover {
    background: var(--startcup-navy);
}

.startcup-invii__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ebebeb;
}

.startcup-invii__title {
    margin: 0;
    color: var(--startcup-navy);
    font-family: var(--startcup-font);
    font-size: 1.625rem;
    font-weight: 700;
}

.startcup-invii__export {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--startcup-white) !important;
    background: var(--startcup-primary);
    border: 1px solid var(--startcup-primary);
    border-radius: 999px;
    text-decoration: none !important;
    transition: background-color 0.2s, border-color 0.2s;
}

.startcup-invii__export:hover,
.startcup-invii__export:focus {
    background: var(--startcup-navy);
    border-color: var(--startcup-navy);
    outline: none;
}

.startcup-invii__count {
    margin: 0 0 1rem;
    color: #666666;
    font-size: 0.9375rem;
}

.startcup-invii__tablewrap {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #ebebeb;
    border-radius: 0.75rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.05);
}

.startcup-invii__tablewrap::-webkit-scrollbar {
    height: 12px;
    -webkit-appearance: none;
}

.startcup-invii__tablewrap::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
}

.startcup-invii__tablewrap::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
}

.startcup-invii__tablewrap::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.6);
}

.startcup-invii__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.startcup-invii__table th,
.startcup-invii__table td {
    padding: 0.625rem 0.75rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #f0f0f0;
}

.startcup-invii__table th {
    background: #fafafa;
    font-weight: 700;
    color: var(--startcup-navy);
    white-space: nowrap;
    position: sticky;
    top: 0;
}

.startcup-invii__table tbody tr:nth-child(even) {
    background: #fbfbfb;
}

.startcup-invii__table tbody tr:hover {
    background: #fff5f7;
}

.startcup-invii__empty {
    margin: 0;
    color: #666666;
    text-align: center;
    padding: 2rem 0;
    font-weight: 400;
}

@media (max-width: 47.5rem) {
    .startcup-invii {
        margin: 2rem 1rem;
        padding: 1.75rem 1.25rem;
    }

    .startcup-invii__title {
        font-size: 1.375rem;
    }
}

/* ===========================================================
   Home — animazioni di ingresso (ripetibili in entrambe le direzioni)
   =========================================================== */

.startcup-anim {
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--anim-delay, 0ms);
    will-change: opacity, transform;
}

.startcup-anim.is-in-view {
    opacity: 1;
    transform: none;
}

/* Variazioni leggere per dare ritmo */
.startcup-intro__subtitle.startcup-anim:not(.is-in-view),
.startcup-slidenews__heading.startcup-anim:not(.is-in-view),
.startcup-archivio__label.startcup-anim:not(.is-in-view) {
    transform: translateY(-1rem);
}

.startcup-numeri__item.startcup-anim {
    transform: translateY(1.5rem) scale(0.96);
}

.startcup-numeri__item.startcup-anim.is-in-view {
    transform: none;
}

.startcup-slidenews__item.startcup-anim {
    transform: translateY(1.5rem);
}

.startcup-cta__buttons .startcup-btn.startcup-anim {
    transform: translateY(1rem);
}

/* Hero content: enter from below with a slightly longer transition */
.startcup-hero__subtitle.startcup-anim,
.startcup-hero__title.startcup-anim,
.startcup-hero__text.startcup-anim,
.startcup-hero__cta .startcup-btn.startcup-anim {
    transform: translateY(2rem);
    transition-duration: 0.85s;
}

.startcup-hero__subtitle.startcup-anim.is-in-view,
.startcup-hero__title.startcup-anim.is-in-view,
.startcup-hero__text.startcup-anim.is-in-view,
.startcup-hero__cta .startcup-btn.startcup-anim.is-in-view {
    transform: none;
}

@media (prefers-reduced-motion: reduce) {

    .startcup-anim,
    .startcup-anim.is-in-view {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.header-actions.d-flex.align-items-center {
    position: relative;
    height: 100%;
}

/* Scrolled header: logo + menu labels in black on the translucent backdrop */
.startcup-header.is-scrolled,
.startcup-header.is-scrolled a {
    color: #000;
}

.startcup-header.is-scrolled .startcup-header__logo-img,
.startcup-header.is-scrolled .header-actions img {
    filter: brightness(0);
}

/* ===========================================================
   Cronologia — sezione due colonne (testo / immagine)
   =========================================================== */
.startcup-cronologia {
    padding: 5rem 0;
    background-color: var(--startcup-navy);
    width: 100%;
}

.startcup-cronologia__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.startcup-cronologia__col--text {
    display: flex;
    flex-direction: column;
}

.startcup-cronologia__subtitle {
    font-size: 1rem;
    font-weight: 300;
    margin: 0 0 1.25rem;
    opacity: 0.8;
}

.startcup-cronologia__title {
    font-size: clamp(2.25rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1.2;
    margin: 0 0 2.5rem;
}

.startcup-cronologia__text {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.5;
    max-width: 48.75rem;
}

.startcup-cronologia__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}

.startcup-cronologia__list {
    list-style: none;
    counter-reset: cronologia;
    margin: 2.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.startcup-cronologia__item {
    position: relative;
    display: grid;
    grid-template-columns: 5rem 1fr;
    column-gap: 1.25rem;
    align-items: start;
}

.startcup-cronologia__item-number {
    grid-column: 1;
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--startcup-teal);
    color: var(--startcup-white);
    font-family: var(--startcup-font);
    font-size: 2.5rem;
    font-weight: 700;
    border-radius: 0.5rem;
    line-height: 1;
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.18);
}

.startcup-cronologia__item-card {
    grid-column: 2;
    background: var(--startcup-white);
    color: var(--startcup-black);
    border-radius: var(--startcup-radius);
    padding: 1.5rem 1.75rem;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.18), 0 0.25rem 0.5rem rgba(0, 0, 0, 0.08);
    margin-top: 1rem;
}

.startcup-cronologia__item-title {
    color: var(--startcup-primary);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 0.25rem;
}

.startcup-cronologia__item-period {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--startcup-black);
    margin: 0 0 1rem;
}

.startcup-cronologia__item-desc {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--startcup-black);
}

.startcup-cronologia__item-desc p {
    margin: 0 0 0.75rem;
}

.startcup-cronologia__item-desc p:last-child {
    margin-bottom: 0;
}

@media (max-width: 639.5px) {
    .startcup-cronologia__item {
        grid-template-columns: 3.5rem 1fr;
        column-gap: 0.75rem;
    }

    .startcup-cronologia__item-number {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.75rem;
    }

    .startcup-cronologia__item-card {
        padding: 1.25rem 1.25rem;
        margin-top: 0.5rem;
    }
}

.startcup-cronologia__col--image {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    align-self: stretch;
    margin-bottom: -5rem;
}

.startcup-cronologia__img {
    width: 100%;
    max-width: 100%;
    display: block;
}

.startcup-cronologia__img img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

@media (max-width: 1023.5px) {
    .startcup-cronologia {
        padding: 2.5rem 1.25rem;
    }

    .startcup-cronologia__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .startcup-cronologia__col--image {
        order: 2;
        margin-bottom: -2.5rem;
    }

    .startcup-cronologia__text {
        font-size: 1rem;
    }
}

/* ---------------------------------------------------------------------------
 * Gallery masonry (override shortcode [gallery])
 * ------------------------------------------------------------------------- */
.startcup-masonry {
    margin: 0 auto;
    max-width: 100%;
}

.startcup-masonry__sizer,
.startcup-masonry__item {
    width: calc((100% - 24px) / 4);
}

.startcup-masonry__item {
    display: block;
    margin-bottom: 8px;
    cursor: zoom-in;
    overflow: hidden;
    border-radius: 8px;
    background: #f4f4f4;
}

.startcup-masonry__item img,
.startcup-masonry__item video {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}

.startcup-masonry__item--video {
    position: relative;
}

.startcup-masonry__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 56px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.9;
}

.startcup-masonry__item--video:hover .startcup-masonry__play {
    transform: scale(1.1);
    opacity: 1;
}

@media (max-width: 1024px) {

    .startcup-masonry__sizer,
    .startcup-masonry__item {
        width: calc((100% - 16px) / 3);
    }
}

@media (max-width: 640px) {

    .startcup-masonry__sizer,
    .startcup-masonry__item {
        width: calc((100% - 8px) / 2);
    }
}

.startcup-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    cursor: zoom-out;
    padding: 20px;
}

.startcup-lightbox.is-open {
    display: flex;
}

.startcup-lightbox img,
.startcup-lightbox video {
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    background: #000;
}

.startcup-lightbox__content {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.startcup-lightbox__close {
    position: absolute;
    top: 16px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: none;
    border: 0;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.startcup-lightbox__close:hover {
    opacity: 0.7;
}

.img-fullwidth,
.img-fullwidth img {
    display: block;
    width: 100%;
    height: auto;
}

.border-radius-8 {
    border-radius: 8px;
    overflow: hidden;
}

.box-shadow {
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* ---------------------------------------------------------------------------
 * CTA banner sotto hero
 * ------------------------------------------------------------------------- */
.startcup-cta-banner {
    padding: 2rem 0;
}

.startcup-cta-banner__text {
    font-size: 1.125rem;
    line-height: 1.5;
    text-align: center;
}

.startcup-cta-banner__text p:last-child {
    margin-bottom: 0;
}

.startcup-cta-banner a {
    color: inherit;
    text-decoration: underline;
}

.schede-finalisti {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    justify-content: space-between;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.card-finalista {
    display: block;
    width: calc(50% - 1rem);
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, .5);
}

.card-finalista {
    margin-bottom:2rem;
}

.card-finalista > div:not(:last-child) {
    margin-bottom:1rem;
}

.card-finalista div h2 {
    color: #f73f62;
    margin:0;
}

.card-finalista div label {
    color:#004b7e;
    font-size:1.25rem;
}

.card-finalista div label strong {
    color:#363636;
}

.card-finalista div p {
    color: #363636;
    margin: 0;
    font-size: 1rem;
}

@media all and (max-width:999.5px) {
    .card-finalista {
        width:100%;
        margin-bottom:1.5rem;
    }
}

/* ===========================================================
   Programma Finale — layout evento premiazione
   =========================================================== */

.startcup-programma {
    color: var(--startcup-white);
    font-family: var(--startcup-font-condensed);
}

.startcup-programma .startcup-hero__title {
    color: var(--startcup-white);
    margin-bottom: 2rem;
}

.startcup-programma__meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 0 0 3rem;
}

.startcup-programma__meta-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    background: var(--startcup-teal);
    border-radius: var(--startcup-radius);
    box-shadow: 0 0.25rem 1.875rem rgba(0, 0, 0, 0.15);
}

.startcup-programma__meta-item i {
    font-size: 1.75rem;
    color: var(--startcup-yellow);
    line-height: 1;
    margin-top: 0.25rem;
}

.startcup-programma__meta-item > div {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.startcup-programma__meta-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
    margin-bottom: 0.25rem;
    font-weight: 400;
}

.startcup-programma__meta-item strong {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--startcup-white);
}

.startcup-programma__meta-sub {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 0.15rem;
    font-weight: 400;
}

.startcup-programma .entry-content {
    margin: 0 0 2rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.startcup-programma .entry-content:empty {
    display: none;
}

.startcup-programma__timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.startcup-programma__timeline::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    bottom: 1.5rem;
    left: 1.5rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--startcup-primary), var(--startcup-teal), var(--startcup-yellow));
    opacity: 0.4;
}

.startcup-programma__step {
    position: relative;
    padding: 0 0 2.5rem 4.5rem;
}

.startcup-programma__step:last-child {
    padding-bottom: 0;
}

.startcup-programma__step-head {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin: 0 0 1.25rem;
    min-height: 3rem;
}

.startcup-programma__step-num {
    position: absolute;
    left: 0;
    top: 0;
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--startcup-primary);
    color: var(--startcup-white);
    font-family: var(--startcup-font);
    font-size: 1.375rem;
    font-weight: 600;
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--startcup-navy), 0 0.25rem 1rem rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.startcup-programma__step--music .startcup-programma__step-num {
    background: var(--startcup-teal);
}

.startcup-programma__step--award .startcup-programma__step-num {
    background: var(--startcup-yellow);
    color: var(--startcup-navy);
}

.startcup-programma__step--party .startcup-programma__step-num {
    background: var(--startcup-primary);
}

.startcup-programma__step-head h2 {
    font-family: var(--startcup-font);
    font-size: clamp(1.375rem, 2.5vw, 1.875rem);
    font-weight: 500;
    color: var(--startcup-white);
    margin: 0;
    line-height: 1.2;
}

.startcup-programma__people {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 1rem;
}

.startcup-programma__people li {
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    background: var(--startcup-white);
    color: var(--startcup-navy);
    border-radius: 0.75rem;
    border-left: 4px solid var(--startcup-primary);
}

.startcup-programma__people li strong {
    font-size: 1.125rem;
    color: var(--startcup-primary);
    margin-bottom: 0.35rem;
}

.startcup-programma__people li span {
    font-size: 0.95rem;
    color: #363636;
    line-height: 1.4;
    font-weight: 400;
}

.startcup-programma__giuria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 1rem;
}

.startcup-programma__giurato {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--startcup-white);
    color: var(--startcup-navy);
    border-radius: 0.75rem;
    box-shadow: 0 0.125rem 0.75rem rgba(0, 0, 0, 0.12);
}

.startcup-programma__giurato-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
    background: var(--startcup-teal);
    color: var(--startcup-white);
    border-radius: 50%;
    font-size: 1.125rem;
    overflow: hidden;
    border: 2px solid #2f9dd0;
    margin:0;
}

.startcup-programma__giurato > div {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.startcup-programma__giurato strong {
    font-size: 1.0625rem;
    color: var(--startcup-navy);
    margin-bottom: 0.25rem;
}

.startcup-programma__giurato span {
    font-size: 0.9rem;
    color: #454545;
    font-weight: 400;
}

.startcup-programma__pitch {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.startcup-programma__pitch li {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: var(--startcup-white);
    color: var(--startcup-navy);
    border-radius: 999px;
    font-family: var(--startcup-font);
    font-size: 1rem;
    font-weight: 500;
    border: 2px solid var(--startcup-teal);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.startcup-programma__pitch li:hover {
    background: var(--startcup-primary);
    color: var(--startcup-white);
    border-color: var(--startcup-primary);
    transform: translateY(-2px);
}

.startcup-programma__step--music,
.startcup-programma__step--award,
.startcup-programma__step--party {
    padding-bottom: 2.5rem;
}

.startcup-programma__step--music .startcup-programma__step-head,
.startcup-programma__step--award .startcup-programma__step-head,
.startcup-programma__step--party .startcup-programma__step-head {
    margin-bottom: 0;
}

@media (max-width: 62rem) {
    .startcup-programma__meta {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 47.9375rem) {
    .startcup-programma__step {
        padding-left: 3.75rem;
    }

    .startcup-programma__step-num {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.125rem;
        box-shadow: 0 0 0 3px var(--startcup-navy), 0 0.25rem 0.75rem rgba(0, 0, 0, 0.25);
    }

    .startcup-programma__timeline::before {
        left: 1.25rem;
    }

    .startcup-programma__step-head h2 {
        font-size: 1.25rem;
    }

    .startcup-programma__giuria,
    .startcup-programma__people {
        grid-template-columns: 1fr;
    }

    .startcup-programma__pitch li {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }

    .startcup-programma__meta-item {
        padding: 1.25rem 1.25rem;
    }
}

@media all and (max-width:511.5px) {
    .startcup-programma__giurato {
        padding:1rem;
    }
}

.startcup-sponsor__grid {
    background: #fff;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.startcup-sponsor__grid h2 {
    display: block;
    width: 100%;
    text-align: center;
    color: #f73f62;
    font-size: 3rem;
    margin-bottom: 2rem;
}

.row-sponsor {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    justify-content: center;
    margin-top:2rem;
    margin-bottom:2rem;
}

.row-sponsor.sponsor-level-a {
    max-width:100rem;
}

.row-sponsor.sponsor-level-b {
    max-width:70rem;
}

.row-sponsor.sponsor-level-c {
    max-width:30rem;

}

.row-sponsor.sponsor-level-a .sponsor-col {
    width:50%;
    max-width:25rem;
}

.row-sponsor.sponsor-level-b .sponsor-col {
    width:25%;
    max-width:20rem;
}

.row-sponsor.sponsor-level-c .sponsor-col {
    width:33.333%;
    max-width:10rem;
}

.sponsor-col img {
    display:block;
    width:100%;
    height:auto;
}

@media all and (max-width:767.5px) {
    .row-sponsor.sponsor-level-b .sponsor-col {
    width:50%;
    max-width:15rem;
}
}

@media all and (max-width:639.5px) {
    .row-sponsor.sponsor-level-b .sponsor-col {
        max-width: 10rem;
        width: 33.333%;
    }
    .row-sponsor.sponsor-level-c .sponsor-col {
    width: 33.333%;
    max-width: 6rem;
}
.startcup-sponsor__grid {
    padding-top:2rem;
    padding-bottom:2rem;
}
}