.odd-program {
    padding: clamp(40px, 6vw, 80px) 0;
    position: relative;

    .viewPlace {
        max-width: 1380px;
    }

    .odd-program-title {
        padding-bottom: clamp(1.25rem, 0.95rem + 1.3vw, 2.625rem);
        text-align: left;

        @media (min-width: 992px) {
            text-align: center;
        }
    }
}

.program-nav {
    display: flex;
    flex-direction: column;
    margin-bottom: clamp(1.5rem, 1.3rem + 0.9vw, 2.625rem);

    .odd-program[data-loading] & {
        min-height: 73px;
    }
}

.program-cities {
    display: contents;

    @media (min-width: 992px) {
        display: grid;
        grid-template-columns: repeat(var(--program-cities-count, 4), 1fr);
        padding: 4px;
        border-radius: 113px;
        background: rgba(255, 255, 255, .07);
        position: relative;
    }

    &::after {
        display: none;

        @media (min-width: 992px) {
            content: '';
            display: block;
            position: absolute;
            top: 4px;
            bottom: 4px;
            left: 0;
            width: var(--program-indicator-width, 0);
            border-radius: 113px;
            background: var(--orange-gradient);
            transform: translateX(var(--program-indicator-left, 4px));
            will-change: transform;
        }
    }

    &.program-cities_animated::after {
        transition: transform var(--standard-transition), width var(--standard-transition);
    }
}

.program-city {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 4px 20px;
    border: 0;
    border-radius: 95px;
    background: transparent;
    color: #fff;
    font-family: var(--title-font-style);
    font-size: clamp(1.375rem, 1.3rem + 0.3vw, 1.625rem);
    line-height: 1.2;
    text-align: left;
    text-transform: uppercase;
    opacity: .3;
    cursor: pointer;
    transition: opacity var(--standard-transition);

    @media (min-width: 992px) {
        justify-content: center;
        min-height: 73px;
        padding: 8px clamp(12px, 1.5vw, 32px);
        font-size: clamp(1.125rem, 0.6rem + 0.85vw, 1.5rem);
        text-align: center;
        opacity: .5;
        position: relative;
        z-index: 1;
    }

    &:hover {
        opacity: .8;
    }

    &.active {
        background: var(--orange-gradient);
        opacity: 1;
        cursor: default;

        @media (min-width: 992px) {
            background: transparent;
        }
    }
}

.program-arenas {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0 24px;

    @media (min-width: 992px) {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px clamp(24px, 3.2vw, 62px);
        margin: 32px 0 0;
    }

    &:empty {
        display: none;
    }
}

.program-arena {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
    line-height: 1.4;
    text-align: left;
    opacity: .4;
    cursor: pointer;
    transition: opacity var(--standard-transition);

    &::before {
        content: '';
        flex: 0 0 auto;
        width: clamp(22px, 20px + 0.3vw, 28px);
        aspect-ratio: 1/1;
        border: 1px solid #fff;
        border-radius: 50%;
        box-sizing: border-box;
        transition: var(--standard-transition);
    }

    &:hover {
        opacity: .7;
    }

    &.active {
        opacity: 1;
        cursor: default;

        &::before {
            border-color: var(--orange-hover);
            background: radial-gradient(circle, var(--orange-hover) 0 4px, transparent 4.5px);

            @media (min-width: 992px) {
                background: radial-gradient(circle, var(--orange-hover) 0 5px, transparent 5.5px);
            }
        }
    }
}

.program-list {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 10px + 0.3vw, 16px);

    .odd-program[data-loading] & {
        min-height: 300px;
        align-items: center;
        justify-content: center;

        &::before {
            content: '';
            width: 2.5rem;
            aspect-ratio: 1/1;
            border: .15em solid var(--orange);
            border-right-color: transparent;
            border-radius: 50%;
            animation: program-spinner 1s linear infinite;
        }
    }
}

.program-message {
    padding: clamp(24px, 3vw, 48px) 0;
    text-align: center;
    opacity: .6;
}

.program-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 14px 16px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .07);
    animation: program-item-appear var(--standard-transition);

    @media (min-width: 768px) {
        grid-template-columns: auto 1fr auto;
        column-gap: clamp(20px, 2.5vw, 36px);
        padding: clamp(24px, 2vw, 32px);
        border-radius: var(--radius-medium);
    }

    &.program-item_break {
        background: rgba(255, 255, 255, .18);
    }
}

.program-item__time {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    padding: 3px 11px;
    border: 1px solid var(--orange-hover);
    border-radius: 45px;
    font-size: clamp(.75rem, .7rem + .25vw, .875rem);
    line-height: 1.4;
    white-space: nowrap;
}

.program-item__toggle {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--orange-hover);
    font-size: clamp(.75rem, .7rem + .25vw, .875rem);
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: color var(--standard-transition);

    @media (min-width: 768px) {
        grid-column: 3;
    }

    &::after {
        content: '';
        width: 6px;
        aspect-ratio: 1/1;
        margin-top: -3px;
        border-right: 1px solid currentColor;
        border-bottom: 1px solid currentColor;
        transform: rotate(45deg);
        transition: transform var(--standard-transition), margin var(--standard-transition);
    }

    .program-item_expanded &::after {
        margin-top: 3px;
        transform: rotate(-135deg);
    }

    &:hover {
        color: var(--orange-light);
    }
}

.program-item__body {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    min-width: 0;

    @media (min-width: 768px) {
        grid-column: 2;
        grid-row: 1;
    }
}

.program-item__title {
    font-size: clamp(1rem, .9rem + .45vw, 1.25rem);
    font-weight: 700;
    line-height: 1.4;
    transition: color var(--standard-transition);

    .program-item_expanded & {
        color: var(--orange-light);
    }
}

.program-item__description {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--standard-transition), margin var(--standard-transition);

    .program-item_expanded & {
        grid-template-rows: 1fr;
        margin-top: clamp(12px, 10px + .3vw, 16px);
    }
}

.program-item__description-inner {
    overflow: hidden;
    font-size: clamp(.875rem, .85rem + .15vw, 1rem);
    line-height: 1.4;

    p {
        margin: 0 0 .75em;
        padding: 0;

        &:last-child {
            margin-bottom: 0;
        }
    }
}

.program-speakers {
    display: flex;
    flex-wrap: wrap;
    gap: 12px clamp(24px, 3vw, 48px);
    margin-top: 16px;

    @media (min-width: 768px) {
        margin-top: 24px;
    }
}

.program-speaker {
    display: flex;
    align-items: center;
    gap: clamp(14px, 12px + .2vw, 16px);
}

.program-speaker__photo {
    flex: 0 0 auto;
    width: clamp(30px, 26px + 1vw, 50px);
    aspect-ratio: 1/1;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5 url(/application/isolated/conference/odd/images/speaker-placeholder.svg) center / 37% no-repeat;

    img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.program-speaker__name {
    font-size: clamp(.75rem, .7rem + .25vw, 1rem);
    line-height: 1.4;

    strong {
        font-weight: 700;
    }
}

@keyframes program-item-appear {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
}

@keyframes program-spinner {
    to {
        transform: rotate(360deg);
    }
}
