

/* Start:/bitrix/components/bitrix/system.show_message/templates/.default/style.min.css?168373041351*/
font.errortext{color:red}font.notetext{color:green}
/* End */


/* Start:/local/templates/University/components/bitrix/catalog/stgmu_common/bitrix/catalog.section.list/.default/style.css?17908626487968*/
.no-gutters>.col,
.no-gutters>[class*="col-"] {
    padding-right: 3px;
    padding-left: 5px;
}

.section_wrapper{
		margin:2rem 0;
}

.section_item {
		background-color: #326695;
    margin: 0 0.2rem 0.2rem 0;
   /* border: 1px solid #c6d4e2;*/
border-radius: 10px;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.section_item a {
		color:#FFFFFF;
    font-size: 16px;
    font-weight: 700;
    min-height: 140px;
    display: block;
    padding: 1.2rem 1rem 1rem 1.5rem;
    text-decoration: none;
}

.section_item:hover {
   /* border: 1px solid #7aa8d1;*/
box-shadow: 0 0 10px;
}

.section_item:hover a {
    text-decoration: none;
		color:#FFFFFF;
}

.section_item:hover{
		background-color: #326695ad;
}
.section_description a {
 color:  #00aeef !important;
}

/* ===== СПОЙЛЕР ДЛЯ ТЕКСТА ===== */

.spoiler-container {
    position: relative;
}

.limited {
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    position: relative;
}

.limited.l-200 {
    max-height: 200px;
}

.limited.l-300 {
    max-height: 300px;
}

.limited .bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 1) 80%
    );
}

.limited.is-expanded .bottom {
    opacity: 0;
    pointer-events: none;
}

.mentor-card__body .limited .bottom {
    background: linear-gradient(
        to bottom,
        rgba(247, 249, 252, 0),
        rgba(247, 249, 252, 1) 80%
    );
}

/* ===== КНОПКА СПОЙЛЕРА ===== */

.spoiler-toggle {
    display: none;
    cursor: pointer;
    padding: 10px 20px;
    margin-top: 15px;
    width: fit-content;

    background: transparent;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: 30px;

    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.3px;
    line-height: 1.2;
    color: #000000;
    text-decoration: none;
    box-sizing: border-box;
    outline: none;

    align-items: center;
    justify-content: center;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

.spoiler-toggle.is-visible {
    display: inline-flex;
    animation: fadeInUp 0.3s ease forwards;
}

.spoiler-toggle:hover {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.spoiler-toggle:active {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.25);
    transform: translateY(1px);
}

.mentor-card__body .spoiler-toggle {
    border-color: rgba(0, 0, 0, 0.08);
}

.mentor-card__body .spoiler-toggle:hover {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.15);
}

.mentor-card__body .spoiler-toggle:active {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.2);
}

@media (max-width: 576px) {
    .limited.l-200 {
        max-height: 150px;
    }

    .spoiler-toggle {
        padding: 10px 18px;
        font-size: 14px;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .spoiler-toggle.is-visible {
        display: flex;
    }
}

.spoiler-toggle:focus-visible {
    outline: 2px solid #c1445b;
    outline-offset: 2px;
    border-color: transparent;
}

.spoiler-toggle.disabled,
.spoiler-toggle:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}



@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* УБРАЛ smooth scroll, он мешал спойлеру */
/* html {
    scroll-behavior: smooth;
} */

:target {
    scroll-margin-top: 30px;
}

/* End of spoiler */

	details{
		margin-bottom: 15px;
	}

    summary{
		font-weight: 700;
		font-size: 20px;
    }

    address {
        font-style: normal;
        max-width: 400px;
    }

    .visually-hidden {
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        height: 1px;
        overflow: hidden;
        position: absolute;
        white-space: nowrap;
        width: 1px;
    }

    .bold-red {
        font-weight: 600;
        color: #f00;
    }

    .schedule-list {
        display: grid;
        margin: 0;
        padding: 0;
        grid-template-columns: repeat(7, 1fr);

        list-style: none;
    }

    .schedule-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
        width: 100%;
        max-width: 200px;
        border: 2px solid #e6e6e6;
    }

    .schedule-item:not(:first-child) {
        border-left-width: 1px;
    }

    .schedule-item:not(:last-child) {
        border-right-width: 1px;
    }

    .schedule-item .time {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
        text-align: center;
        border-top: 2px dashed #e6e6e6;
    }


    .contacts {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
    }

    .ya-map-wrapper {
        position: relative;
        overflow: hidden;
        display: flex;
        justify-content: center;

    }

    .transport-name {
        margin: 0;
    }

    .buses,
    .minibuses {
        list-style: none;
        padding-left: 0;
        margin: 0;
        margin-bottom: 15px;
    }

    .buses .bus,
    .minibuses .minibus {
        position: relative;
        display: flex;
        flex-direction: column;
        padding-left: 21px;
        margin-bottom: 1px;
    }

    .buses .bus::before {
        content: "🚌";
        left: 0;
        top: calc(50% - 8px);
        font-size: 16px;
        line-height: 100%;
        position: absolute;
    }

    .minibuses .minibus::before {
        content: "🚐";
        left: 0;
        top: calc(50% - 8px);
        font-size: 16px;
        line-height: 100%;
        position: absolute;

    }

    .buses .bus:not(:last-child)::after,
    .minibuses .minibus:not(:last-child)::after {
        content: "";
        position: absolute;
        width: 100%;
        left: 0px;
        bottom: -1px;
        border-bottom: 1px solid #e6e6e6;
    }


    @media (max-width: 1200px) {
        .ya-map-wrapper {
            margin: 0 auto;
        }
    }

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

        .schedule-item:not(:first-child) {
            border-left-width: 2px;
            border-top-width: 1px;
        }

        .schedule-item:not(:last-child) {
            border-right-width: 2px;
            border-bottom-width: 1px;
        }
    }

.video-container {
            position: relative;
            padding-bottom: 56.25%; /* Соотношение сторон 16:9 */
            height: 0;
            overflow: hidden;
        }
        .video-container iframe,
        .video-container object,
        .video-container embed {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
        video {
            width: 100%;
            height: auto;
   }


/*/////////////////////////////////*/

.search-highlight {
    animation: searchHighlightFade 2.5s ease;
}

@keyframes searchHighlightFade {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 214, 10, 0.85);
        background-color: rgba(255, 243, 205, 0.95);
    }
    30% {
        box-shadow: 0 0 0 6px rgba(255, 214, 10, 0.35);
        background-color: rgba(255, 243, 205, 0.95);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 214, 10, 0);
        background-color: transparent;
    }
}

/* End */
/* /bitrix/components/bitrix/system.show_message/templates/.default/style.min.css?168373041351 */
/* /local/templates/University/components/bitrix/catalog/stgmu_common/bitrix/catalog.section.list/.default/style.css?17908626487968 */
