/* ON+ HOMEPAGE — PROGRAMAS 1.2.0 */

.onplus-home-programs-wrap {
    width: 100%;
    padding: 56px 0 62px;
    overflow: hidden;
    background: #fff;
}

.onplus-home-programs-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin: 0 0 25px;
}

.onplus-home-programs-eyebrow {
    margin: 0 0 8px;
    color: #BF9F56;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .18em;
}

.onplus-home-programs-head h2 {
    margin: 0;
    color: #183756;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.08;
    font-weight: 700;
}

.onplus-home-programs-head p {
    margin: 8px 0 0;
    color: rgba(24,55,86,.72);
    font-size: 15px;
    line-height: 1.45;
}

.onplus-home-programs-all {
    flex: 0 0 auto;
    margin-bottom: 5px;
    color: #183756;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.onplus-home-programs-all span {
    margin-left: 7px;
    color: #BF9F56;
    font-size: 21px;
    line-height: 0;
    vertical-align: -2px;
}

.onplus-home-programs-all:hover {
    color: #BF9F56;
}

.onplus-home-programs-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.onplus-home-programs-track {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.onplus-home-programs-track::-webkit-scrollbar {
    display: none;
}

.onplus-home-program-card {
    flex: 0 0 218px;
    width: 218px;
    min-width: 218px;
    overflow: hidden;
    scroll-snap-align: start;
    color: inherit;
    text-decoration: none;
    background: #FAF7F2;
    border: 1px solid rgba(24,55,86,.09);
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(24,55,86,.07);
    transition: transform .2s ease, box-shadow .2s ease;
}

.onplus-home-program-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(24,55,86,.12);
}

.onplus-home-program-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #edf1f3;
    line-height: 0;
}

.onplus-home-program-image img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.onplus-home-program-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #183756;
    color: #D9BE7E;
    font-size: 28px;
    font-weight: 700;
}

.onplus-home-program-body {
    min-height: 58px;
    padding: 8px 12px 10px;
}

.onplus-home-program-card h3 {
    margin: 0;
    color: #183756;
    font-size: 15px;
    line-height: 1.15;
    font-weight: 700;
}

.onplus-home-program-host {
    margin: 4px 0 0;
    color: #BF9F56;
    font-size: 11px;
    line-height: 1.35;
}

.onplus-home-programs-arrow {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(191,159,86,.55);
    border-radius: 50%;
    background: #fff;
    color: #BF9F56;
    font-family: Arial, sans-serif;
    font-size: 28px;
    font-weight: 300;
    line-height: 30px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, background .2s ease, color .2s ease;
}

.onplus-home-programs-carousel:hover .onplus-home-programs-arrow,
.onplus-home-programs-carousel:focus-within .onplus-home-programs-arrow,
.onplus-home-programs-wrap.has-overflow .onplus-home-programs-arrow {
    opacity: .9;
    pointer-events: auto;
}

.onplus-home-programs-arrow:hover:not(:disabled) {
    background: #BF9F56;
    color: #fff;
}

.onplus-home-programs-arrow:disabled {
    opacity: .22 !important;
    cursor: default;
}

.onplus-home-programs-empty {
    margin: 0;
    color: #183756;
}

@media (max-width: 1100px) {
    .onplus-home-programs-wrap {
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (max-width: 767px) {
    .onplus-home-programs-wrap {
        padding-top: 42px;
        padding-bottom: 46px;
    }

    .onplus-home-programs-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px;
    }

    .onplus-home-programs-head h2 {
        font-size: 30px;
    }

    .onplus-home-programs-all {
        margin-bottom: 0;
    }

    .onplus-home-programs-carousel {
        gap: 8px;
    }

    .onplus-home-program-card {
        flex-basis: 210px;
        width: 210px;
        min-width: 210px;
    }

    .onplus-home-program-image {
        height: auto;
    }

    .onplus-home-programs-arrow {
        width: 32px;
        height: 32px;
        font-size: 24px;
        line-height: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .onplus-home-program-card,
    .onplus-home-programs-arrow {
        transition: none;
    }
}
