.ods-wrp {
    position: relative;
    padding: 50px 0 80px;
    z-index: 1;
}

.ods-title {
    font-family: 'Jubilat';
    font-weight: 600;
    font-size: 47px;
    line-height: 105%;
    color: #273583;
    text-align: center;
    margin: 0 auto 50px;
}

.ods-title span {
    color: #E51765;
    white-space: nowrap;
}

.ods-date {
    text-align: center;
}

.ods-slider {
    overflow: hidden;
    margin: -30px;
    padding: 30px 0;
}

.ods-track {
    display: flex;
    transition: transform 0.6s ease;
}

.ods-slide {
    min-width: 100%;
    padding: 0 30px;
    box-sizing: border-box;
}

.ods-slide .open-row {
    height: 100%;
}

.ods-data {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.open-data p.ods-kicker {
    font-size: 24px;
    margin: 0 0 10px;
}

.ods-cycle {
    font-family: 'Jubilat';
    font-weight: 600;
    font-size: 44px;
    line-height: 110%;
    color: #E51765;
    margin: 0 0 30px;
}

.ods-dates {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 0 0 20px;
}

.ods-date {
    flex: 1;
    min-width: 180px;
    background: #fff;
    border: 2px solid #273583;
    border-radius: 20px;
    padding: 18px 22px;
    font-family: 'Jubilat';
    color: #273583;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

a.ods-date:hover,
a.ods-date:focus-visible {
    background: #f0f2fa;
    border-color: #E51765;
    outline: none;
}

.ods-date--full {
    cursor: default;
    border-color: #adb5bd;
    color: #6c757d;
    background: #f3f4f8;
}

.ods-date--full b {
    opacity: 0.85;
}

.ods-date--full small {
    color: #E51765;
    opacity: 1;
    font-weight: 600;
}

.od-opt--full {
    cursor: default;
    color: #6c757d;
    grid-column: 1 / -1;
}

.od-opt--full input:disabled {
    cursor: not-allowed;
}

.ods-date small {
    display: block;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 6px;
}

.ods-date b {
    font-weight: 600;
    font-size: 26px;
}

.open-data p.ods-time {
    font-size: 24px;
    margin: 0;
}

.ods-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 0;
}

.ods-dots {
    display: flex;
    gap: 10px;
}

.ods-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: #c9cde0;
    cursor: pointer;
}

.ods-dots button.active {
    background: #273583;
}

.ods-arrows {
    display: flex;
    gap: 15px;
}

.ods-arrows .readmore {
    border: 0;
    cursor: pointer;
    padding: 0;
    min-width: 70px;
    width: 70px;
    height: 70px;
}

.ods-next img {
    transform: rotate(-90deg);
}

.ods-prev img {
    transform: rotate(90deg);
}

.openday-form-block .form-required-note {
    margin: 0 0 20px;
    font-size: 14px;
    color: var(--color-primary);
}

.openday-form-block .form-required-note .required-mark,
.form-block label .required-mark,
.terms-chack .custom-radbx label .required-mark {
    color: var(--color-primary);
}

.od-yn {
    display: flex;
    gap: 25px;
    margin: 4px 0 0;
}

.od-yn label,
.od-opt {
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.od-yn input,
.od-opt input {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

.od-dates-list {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

.od-opt b {
    font-weight: 600;
    color: #273583;
}

.stu-block {
    margin: 16px 0 22px;
    padding: 18px 20px 4px;
    border: 1px solid #d9dcec;
    border-radius: 20px;
}

.stu-title {
    font-weight: 600;
    color: #273583;
    margin: 0 0 10px;
}

.stu-count {
    gap: 30px;
}

textarea.form-control[name="messaggio"] {
    border-radius: 20px;
    min-height: 110px;
}

@media (max-width: 991px) {
    .ods-title {
        font-size: 40px;
        margin-bottom: 40px;
    }

    .ods-slider {
        margin: -15px;
        padding: 15px 0;
    }

    .ods-slide {
        padding: 0 15px;
    }

    .ods-nav {
        padding: 20px 15px 0;
    }

    .ods-cycle {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .ods-date b {
        font-size: 21px;
    }

    .open-data p.ods-kicker,
    .open-data p.ods-time {
        font-size: 19px;
    }
}

@media (max-width: 575px) {
    .ods-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .ods-date b {
        white-space: nowrap;
    }

    .ods-wrp {
        padding-bottom: 50px;
    }

    .ods-cycle {
        font-size: 28px;
    }

    .ods-date {
        min-width: 0;
        padding: 12px 8px;
    }

    .ods-date b {
        font-size: 16px;
    }

    .ods-date small {
        font-size: 12px;
    }

    .ods-arrows .readmore {
        min-width: 56px;
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 767px) {
    .od-dates-list {
        grid-template-columns: 1fr;
    }

    .ods-date .ods-date-weekday {
        display: none;
    }
}
