/* MOSTy – sloučený bundle: vize a program = program + footer-extended */
/* === mosty-program.css === */
.mosty-program-vize-block {
    margin-bottom: 0;
}

#vize-program .mosty-container:last-of-type {
    margin-top: var(--mosty-spacing-2xl);
}

.mosty-program-vize-block .mosty-text {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.mosty-program-intro {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--mosty-spacing-2xl);
}

.mosty-program-carousel {
    margin-top: var(--mosty-spacing-xl);
    padding: 0 var(--mosty-spacing-sm) var(--mosty-spacing-xl);
}

@media (min-width: 768px) {
    .mosty-program-carousel {
        padding: 0 var(--mosty-spacing-lg) var(--mosty-spacing-xl);
    }
}

.mostyProgramSwiper {
    overflow: hidden;
    padding-bottom: var(--mosty-spacing-lg);
}

.mostyProgramSwiper .swiper-wrapper {
    align-items: stretch;
}

.mostyProgramSwiper .swiper-slide {
    height: auto;
    width: 85%;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1;
}

.mostyProgramSwiper .swiper-slide.swiper-slide-active {
    opacity: 1;
    z-index: 3;
}

@media (min-width: 576px) {
    .mostyProgramSwiper .swiper-slide {
        width: 33.33333333%;
    }
    .mostyProgramSwiper .swiper-slide.swiper-slide-prev,
    .mostyProgramSwiper .swiper-slide.swiper-slide-next {
        opacity: 0.75;
        z-index: 2;
    }
}

@media (min-width: 1024px) {
    .mostyProgramSwiper .swiper-slide {
        width: 20%;
    }
    .mostyProgramSwiper .swiper-slide.swiper-slide-prev,
    .mostyProgramSwiper .swiper-slide.swiper-slide-next {
        opacity: 0.85;
    }
}

.mosty-program-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--mosty-spacing-xl) var(--mosty-spacing-lg);
    background-color: var(--mosty-white);
    border-radius: var(--mosty-radius-xl);
    box-shadow: var(--mosty-shadow-md);
    transition: transform var(--mosty-transition-base), box-shadow var(--mosty-transition-base), opacity var(--mosty-transition-base);
    height: 100%;
    text-decoration: none;
    color: inherit;
    opacity: 0.5;
}

.swiper-slide-active .mosty-program-card {
    transform: scale(1.05);
    opacity: 1;
    box-shadow: var(--mosty-shadow-lg);
}

.mosty-program-card:hover {
    box-shadow: var(--mosty-shadow-lg);
}

.mosty-program-card__icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: var(--mosty-radius-full);
    background-color: var(--mosty-accent);
    color: var(--mosty-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--mosty-spacing-md);
    flex-shrink: 0;
}

.mosty-program-card__icon {
    font-size: 2rem;
}

.mosty-program-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--mosty-primary);
    margin-bottom: var(--mosty-spacing-sm);
    line-height: 1.3;
}

.mosty-program-card__perex {
    font-size: 0.9375rem;
    color: var(--mosty-gray-700);
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mosty-program-cta {
    text-align: center;
    margin-top: var(--mosty-spacing-xl);
}

.mostyProgramSwiper .swiper-button-next,
.mostyProgramSwiper .swiper-button-prev {
    color: var(--mosty-primary);
    background-color: var(--mosty-white);
    box-shadow: var(--mosty-shadow-md);
    width: 44px;
    height: 44px;
    border-radius: var(--mosty-radius-full);
    transition: all var(--mosty-transition-base);
}

.mostyProgramSwiper .swiper-button-next::after,
.mostyProgramSwiper .swiper-button-prev::after {
    font-size: 1rem;
}

.mostyProgramSwiper .swiper-button-next:hover,
.mostyProgramSwiper .swiper-button-prev:hover {
    background-color: var(--mosty-accent);
    color: var(--mosty-white);
}

.mosty-vize-block {
    margin-top: var(--mosty-spacing-lg);
}

.mosty-vize-block .mosty-text {
    margin-bottom: var(--mosty-spacing-md);
}

.mosty-vize-block .mosty-text:last-child {
    margin-bottom: 0;
}

.mosty-program-detail {
    padding-top: 0;
}

.mosty-program-point {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--mosty-spacing-lg);
    align-items: start;
    margin-bottom: var(--mosty-spacing-2xl);
    padding: var(--mosty-spacing-xl);
    background-color: var(--mosty-gray-50);
    border-radius: var(--mosty-radius-xl);
    scroll-margin-top: 100px;
}

.mosty-program-point:last-child {
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    .mosty-program-point {
        grid-template-columns: 1fr 1fr;
        gap: var(--mosty-spacing-2xl);
        padding: 0;
        margin-bottom: var(--mosty-spacing-3xl);
        background-color: transparent;
    }
    .mosty-program-point--reverse .mosty-program-point__card {
        order: 2;
    }
    .mosty-program-point--reverse .mosty-program-point__content {
        order: 1;
    }
}

.mosty-program-point__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 1024px) {
    .mosty-program-point__card {
        padding: var(--mosty-spacing-xl);
        background-color: var(--mosty-gray-50);
        border-radius: var(--mosty-radius-xl);
        position: sticky;
        top: calc(70px + var(--mosty-spacing-lg));
    }
}

.mosty-program-point__icon-wrap {
    width: 90px;
    height: 90px;
    border-radius: var(--mosty-radius-full);
    background-color: var(--mosty-accent);
    color: var(--mosty-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--mosty-spacing-md);
    flex-shrink: 0;
}

.mosty-program-point__icon {
    font-size: 2.25rem;
}

.mosty-program-point__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mosty-primary);
    margin: 0;
    line-height: 1.3;
}

.mosty-program-point__content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--mosty-gray-800);
    padding-top: var(--mosty-spacing-md);
}

@media (min-width: 1024px) {
    .mosty-program-point__content {
        padding-top: var(--mosty-spacing-xl);
    }
}

.mosty-program-point__content p {
    margin: 0 0 var(--mosty-spacing-md);
}

.mosty-program-point__content p:last-child {
    margin-bottom: 0;
}

/* === mosty-footer-extended.css === */
.mosty-footer--extended {
    background-color: var(--mosty-gray-50);
    border-top: 3px solid var(--mosty-primary);
    padding: var(--mosty-spacing-2xl) 0 var(--mosty-spacing-lg);
}

.mosty-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--mosty-spacing-xl);
    margin-bottom: var(--mosty-spacing-xl);
}

@media (min-width: 768px) {
    .mosty-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--mosty-spacing-2xl);
    }
}

@media (min-width: 1024px) {
    .mosty-footer__grid {
        grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    }
}

.mosty-footer__column {
    display: flex;
    flex-direction: column;
}

.mosty-footer__column--spacer {
    display: none;
}

@media (min-width: 1024px) {
    .mosty-footer__column--spacer {
        display: block;
    }
}

.mosty-footer--extended .mosty-footer__motto {
    color: var(--mosty-gray-600);
    font-size: 0.9375rem;
    font-style: italic;
}

.mosty-footer__heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mosty-primary);
    margin-bottom: var(--mosty-spacing-md);
}

.mosty-footer__contact-items {
    display: flex;
    flex-direction: column;
    gap: var(--mosty-spacing-sm);
}

.mosty-footer__link {
    display: inline-flex;
    align-items: center;
    gap: var(--mosty-spacing-xs);
    color: var(--mosty-primary);
    text-decoration: none;
    transition: all var(--mosty-transition-base);
    padding: var(--mosty-spacing-xs) 0;
}

.mosty-footer__link:hover {
    color: var(--mosty-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mosty-footer__link i {
    font-size: 1.125rem;
}

.mosty-footer__social-icons {
    display: flex;
    gap: var(--mosty-spacing-md);
    flex-wrap: wrap;
}

.mosty-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--mosty-primary);
    border-radius: var(--mosty-radius-full);
    color: var(--mosty-white);
    text-decoration: none;
    transition: all var(--mosty-transition-base);
}

.mosty-footer__social-link:hover {
    background-color: var(--mosty-accent);
    transform: translateY(-3px);
    box-shadow: var(--mosty-shadow-md);
}

.mosty-footer__social-link i {
    font-size: 1.25rem;
}

.mosty-footer__bottom {
    text-align: center;
    padding-top: var(--mosty-spacing-lg);
    border-top: 1px solid var(--mosty-gray-300);
}

.mosty-footer__bottom p {
    color: var(--mosty-gray-600);
    font-size: 0.875rem;
    margin: 0;
}
