

/* Start:/local/components/hram/schedule/templates/.default/style.css?17803859315874*/
.hram-schedule {
    --c-muted:   var(--primary-color);
    --c-border:  #e8e0d5;
    --c-bg:      #ffffff;
    --c-bg-hover:#5690CB;

    padding: 100px 0;
}

/* ===== Заголовок ===== */
.schedule-header {
    text-align: center;
    margin-bottom: 16px;
}
.schedule-header__title {
    font-size: 22px;
    color: var(--primary-color);
    margin: 0;
    font-weight: normal;
    text-transform: lowercase;
}
.schedule-header__title::first-letter {
    text-transform: uppercase;
}

/* ===== Горизонтальная лента ===== */
.calendar-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    padding: 8px 0;
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}

/* Область прокрутки */
.calendar-strip__scroll {
    flex: 1 1 auto;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* IE 10+ */
    cursor: grab;
    touch-action: pan-x;            /* разрешаем горизонтальный touch-scroll */
}
.calendar-strip__scroll::-webkit-scrollbar {
    display: none;                  /* Chrome/Safari */
}
.calendar-strip__scroll:active {
    cursor: grabbing;
}

/* Трек с днями */
.calendar-strip__track {
    display: flex;
    gap: 6px;
    padding: 2px 4px;
}

.calendar-day {
    flex: 0 0 52px;
    height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 2px solid transparent;
    background: transparent;
    user-select: none;
    transition: background .2s, border-color .2s;
}

.calendar-day__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.calendar-day__weekday {
    font-size: 12px;
    text-transform: lowercase;
    color: var(--primary-color);
    margin-bottom: 3px;
    letter-spacing: .4px;
}

.calendar-day__date {
    font-size: 20px;
    color: var(--primary-color);
}

.calendar-day.has-events {
    background: #ffffff;
    border-color: var(--accent-color);
}
.calendar-day.has-events .calendar-day__date {
    color: var(--primary-color);
    font-weight: 600;
}

.calendar-day.is-today {
    border-color: var(--accent-color);
    background: var(--accent-color);
}
.calendar-day.is-today .calendar-day__date {
    color: #ffffff;
}

.calendar-day.is-today .calendar-day__weekday {
    color: #ffffff;
}

.calendar-day.is-empty {
    opacity: .5;
}

.month-arrow {
    flex: 0 0 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f0e8;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 12px;
    transition: background .2s;
}
.month-arrow:hover {
    background: var(--c-bg-hover);
}

/* ===== Расписание ===== */
.schedule-list {
    /* растягивается на ширину контейнера сайта */
}

.schedule-day {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ede9e3;
    scroll-margin-top: 24px;
}
.schedule-day:last-child {
    border-bottom: none;
}

.schedule-day__header {
    margin-bottom: 12px;
    color: var(--primary-color);
    font-family: var(--headers-font);
}

.schedule-day__date {
    font-size: 20px;
    margin-right: 5px;
}

.schedule-day__weekday {
    font-size: 20px;
    color: #5690cb;
    text-transform: lowercase;
}

/* --- Заголовки без времени --- */
.day-headers {
    margin-bottom: 12px;
}
.day-header {
    padding: 0 0 8px;
    border-bottom: 1px solid #f0ece6;
}
.day-header:last-child {
    border-bottom: none;
}
.day-header__title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--c-heading);
    font-style: normal;
}
.day-header__desc {
    font-size: 14px;
    color: var(--primary-color);
    margin-top: 4px;
    line-height: 1.45;
}

/* Событие */
.schedule-event {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 14px;
    padding: 8px 0;
}
.schedule-event:last-child {
    border-bottom: none;
}

.schedule-event__time {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    min-width: 58px;
    font-variant-numeric: tabular-nums;
}

.schedule-event__title {
    font-size: 15px;
    color: #2c2c2c;
    flex: 1 1 200px;
}

.schedule-event__desc {
    width: 100%;
    font-size: 14px;
    color: #666;
    margin-top: 2px;
    padding-left: 72px; /* ровно под время */
}

/* Подсветка при скролле */
.schedule-day.is-highlighted {
    animation: dayHighlight 2s ease forwards;
}

@keyframes dayHighlight {
    0%   { background: #9acafa; border-radius: 8px; padding-left: 12px; margin-left: -12px; padding-right: 12px; margin-right: -12px; }
    100% { background: transparent; padding-left: 0; margin-left: 0; padding-right: 0; margin-right: 0; }
}

/* Нет данных */
.schedule-empty {
    padding: 40px 0;
    text-align: center;
    color: var(--c-muted);
    font-style: italic;
    font-size: 16px;
}

@media only screen and (max-width: 991px){
    .hram-schedule {
        padding: 50px 0;
    }
}

@media (max-width: 640px) {
    .schedule-event__desc {
        padding-left: 0;
    }
    .schedule-event__time {
        width: 100%;
    }
    .calendar-day {
        flex: 0 0 48px;
        height: 58px;
    }
}

/* End */
/* /local/components/hram/schedule/templates/.default/style.css?17803859315874 */
