.fcs-main-wrapper {
    width: 100% !important;
    margin: 20px auto !important;
    position: relative !important;
    max-width: 1140px !important;
    box-sizing: border-box !important;
    scroll-margin-top: 150px;
}

.fcs-main-wrapper .fcs-carousel.owl-carousel {
    opacity: 0 !important;
    transition: opacity 0.5s ease !important;
}
.fcs-main-wrapper .fcs-carousel.owl-carousel.owl-loaded {
    opacity: 1 !important;
}

.fcs-main-wrapper .owl-stage-outer {
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

.fcs-main-wrapper .fcs-carousel-cell {
    background: #fff !important;
    padding: 30px !important;
}
.fcs-main-wrapper .fcs-course-slide-content {
    display: flex !important;
    gap: 40px !important;
    align-items: stretch !important;
}
.fcs-main-wrapper .fcs-course-text-column {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}
.fcs-main-wrapper .fcs-course-image-column {
    flex-basis: 40% !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}
.fcs-main-wrapper .fcs-course-image-column img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.fcs-main-wrapper .fcs-course-description {
    flex-grow: 1 !important;
    margin: 20px 0 !important;
    padding: 20px 10px 20px 0 !important;
    border-top: 2px solid var(--ast-global-color-0, #3c8923) !important;
    border-bottom: 2px solid var(--ast-global-color-0, #3c8923) !important;
    max-height: 300px !important;
    min-height: 300px !important;
    overflow-y: auto !important;
}

.fcs-main-wrapper .fcs-course-footer {
    margin-top: auto !important;
}
.fcs-main-wrapper .fcs-course-actions {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
}

/* --- ПАНЕЛЬ УПРАВЛІННЯ --- */
.fcs-main-wrapper .fcs-main-carousel-controls {
    display: flex !important;
    align-items: center !important; /* ОСНОВНЕ ДЛЯ ВЕРТИКАЛЬНОГО ЦЕНТРУВАННЯ */
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 auto 30px auto !important;
    min-height: 44px; /* Задаємо мінімальну висоту, рівну висоті кнопок */
}

/* СТРІЛКИ */
.fcs-main-wrapper .fcs-main-carousel-arrow {
    width: 44px !important;
    height: 44px !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    color: #333 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.2s ease, opacity 0.2s ease !important;
}
.fcs-main-wrapper .fcs-main-carousel-arrow:hover:not(:disabled) {
    color: #000 !important;
}
.fcs-main-wrapper .fcs-main-carousel-arrow.disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
    color: #ccc !important;
}
.fcs-main-wrapper .fcs-main-carousel-arrow .fcs-arrow-icon {
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
}

/* МАРКЕРИ */
.fcs-main-wrapper .fcs-main-page-dots-container {
    padding: 0 20px !important;
    flex-grow: 1 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important; /* Додаткове центрування для надійності */
}
.fcs-main-wrapper .fcs-main-page-dots-container .owl-dots {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
    width: 100% !important;
}
.fcs-main-wrapper .fcs-main-page-dots-container .owl-dot {
    display: block !important;
    flex-grow: 1 !important;
    height: 5px !important;
    background: #e0e0e0 !important;
    border-radius: 3px !important;
    transition: background-color 0.3s ease !important;
    cursor: pointer !important;
}
.fcs-main-wrapper .fcs-main-page-dots-container .owl-dot.active {
    background: var(--ast-global-color-0, #3c8923) !important;
}
.fcs-main-wrapper .fcs-main-page-dots-container .owl-dot span {
    display: none !important;
}

/* --- Адаптивність --- */
@media (max-width: 922px) {
    .fcs-main-wrapper .fcs-course-slide-content { flex-direction: column !important; }
    .fcs-main-wrapper .fcs-course-image-column { order: -1 !important; margin-bottom: 20px !important; align-self: center !important; width: 100% !important; max-width: 400px !important; max-height: 300px !important; }
    .fcs-main-wrapper .fcs-course-description { min-height: auto !important; max-height: none !important; overflow-y: visible !important; }
}