

/* GYRSA HOME V2 */

:root {
    --gyrsa-v2-white: #FFFFFF;
    --gyrsa-v2-light: #F6F3FC;
    --gyrsa-v2-accent: #7F2CF4;
    --gyrsa-v2-turquoise: #36C0CF;
    --gyrsa-v2-dark: #311A6E;
}

/* HEADER ALIGNMENT */

@media (min-width: 992px) {

    html body .navbar-area .nav-container {
        position: relative;
        top: -8px !important;
    }

    html body .navbar-area .navbar-nav {
        align-items: center !important;
        flex-wrap: nowrap !important;
    }

    html body .navbar-area .navbar-nav > li > a {
        white-space: nowrap !important;
        font-weight: 400 !important;
    }
}

/* TURQUOISE MENU UNDERLINE */

html body .navbar-area .navbar-nav > li > a:hover,
html body .navbar-area .navbar-nav > li > a:focus-visible,
html body .navbar-area .navbar-nav > li.active > a,
html body .navbar-area .navbar-nav > li.current-menu-item > a,
html body .navbar-area .navbar-nav > li.current-menu-ancestor > a {

    text-decoration: underline !important;
    text-decoration-color: #36C0CF !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 9px;
    border-bottom-color: #36C0CF !important;
}

html body .navbar-area .navbar-nav > li.active::before,
html body .navbar-area .navbar-nav > li.active::after,
html body .navbar-area .navbar-nav > li.current-menu-item::before,
html body .navbar-area .navbar-nav > li.current-menu-item::after,
html body .navbar-area .navbar-nav > li.current-menu-item > a::before,
html body .navbar-area .navbar-nav > li.current-menu-item > a::after {

    background-color: #36C0CF !important;
    border-color: #36C0CF !important;
}

/* MAIN SLIDER DOTS */

html body .gyrsa-hero-v2 .owl-dots,
html body .header-slider-one .owl-dots,
html body .header-slider-two .owl-dots,
html body .gyrsa-hero-dots-v2 {

    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 0;
}

html body .gyrsa-hero-v2 .owl-dot span,
html body .header-slider-one .owl-dot span,
html body .header-slider-two .owl-dot span,
html body .gyrsa-hero-dots-v2 button {

    display: block !important;
    width: 10px !important;
    height: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 1px solid #FFFFFF !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    cursor: pointer;
}

html body .gyrsa-hero-v2 .owl-dot.active span,
html body .header-slider-one .owl-dot.active span,
html body .header-slider-two .owl-dot.active span,
html body .gyrsa-hero-dots-v2 button.active {

    background: #36C0CF !important;
    border-color: #36C0CF !important;
}

html body .gyrsa-hero-dots-v2 {

    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    z-index: 5;
}

/* QUICK ACTION PANEL */

html body #gyrsa-quick-panel {
    gap: 10px !important;
}

html body #gyrsa-quick-panel .gyrsa-quick-icon,
html body #gyrsa-quick-panel .gyrsa-quick-toggle {

    background: #311A6E !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: none !important;
}

html body #gyrsa-quick-panel .gyrsa-quick-items {
    order: 1 !important;
}

html body #gyrsa-quick-panel .gyrsa-quick-toggle {
    order: 2 !important;
}

html body #gyrsa-quick-panel svg {
    stroke: #FFFFFF !important;
}

/* HIDE ONLY IDENTIFIED LEGACY CONTROLS */

.gyrsa-v2-retired-control {
    display: none !important;
}

/* NEW BACK TO TOP ARROW */

#gyrsa-scroll-arrow-v2 {

    position: fixed !important;
    right: 20px !important;
    bottom: 20px !important;
    z-index: 990;
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    margin: 0;
    border: none !important;
    background: #FFFFFF !important;
    border-radius: 50%;
    box-shadow: none !important;
    cursor: pointer;
}

#gyrsa-scroll-arrow-v2.gyrsa-visible {
    display: flex !important;
}

#gyrsa-scroll-arrow-v2 svg {

    display: block;
    width: 28px;
    height: 28px;
    stroke: #311A6E;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

#gyrsa-scroll-arrow-v2:hover svg {
    stroke: #36C0CF;
}

/* COURSES SECTION */

#gyrsa-courses-v2 {

    display: block;
    width: 100%;
    min-width: 0;
    padding: 65px 20px;
    background: #F6F3FC;
    color: #311A6E;
    box-sizing: border-box;
    font-family: var(
        --gyrsa-font,
        "BPG Nino Mtavruli", sans-serif
    );
}

#gyrsa-courses-v2 * {
    box-sizing: border-box;
}

#gyrsa-courses-v2 .gyrsa-courses-inner {

    width: 100%;
    max-width: 1440px;
    min-width: 0;
    margin: 0 auto;
}

#gyrsa-courses-v2 .gyrsa-courses-heading {

    text-align: center;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.4;
    color: #311A6E;
    margin: 0 0 10px;
}

#gyrsa-courses-v2 .gyrsa-courses-more {

    display: block;
    width: fit-content;
    margin: 0 auto 32px;
    color: #311A6E;
    font-size: 18px;
    text-align: center;
}

#gyrsa-courses-v2 a:hover,
#gyrsa-courses-v2 a:focus-visible {

    text-decoration: underline !important;
    text-decoration-color: #36C0CF !important;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* RESPONSIVE COURSE CAROUSEL */

#gyrsa-courses-v2 .gyrsa-course-track {

    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 72px) / 4);
    align-items: stretch;
    gap: 24px;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

#gyrsa-courses-v2 .gyrsa-course-track::-webkit-scrollbar {
    display: none;
}

#gyrsa-courses-v2 .gyrsa-course-card {

    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    background: #FFFFFF;
    border: 1px solid #F6F3FC;
    border-radius: 16px;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: none;
}

#gyrsa-courses-v2 .gyrsa-course-photo {

    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #FFFFFF;
}

#gyrsa-courses-v2 .gyrsa-course-photo img {

    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#gyrsa-courses-v2 .gyrsa-course-content {

    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding: 20px;
    gap: 12px;
}

#gyrsa-courses-v2 .gyrsa-course-title {

    font-size: 19px;
    line-height: 1.5;
    font-weight: 400;
    color: #311A6E;
    margin: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}

#gyrsa-courses-v2 .gyrsa-course-title a {
    color: #311A6E;
}

#gyrsa-courses-v2 .gyrsa-course-info {

    font-size: 14px;
    line-height: 1.6;
    color: #311A6E;
    white-space: normal;
    overflow-wrap: anywhere;
}

#gyrsa-courses-v2 .gyrsa-course-link {

    margin-top: auto;
    color: #7F2CF4;
    font-size: 14px;
    line-height: 1.5;
}

#gyrsa-courses-v2 .gyrsa-course-dots {

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 26px;
}

#gyrsa-courses-v2 .gyrsa-course-dots button {

    width: 10px;
    height: 10px;
    padding: 0;
    background: #FFFFFF;
    border: 1px solid #36C0CF;
    border-radius: 50%;
    cursor: pointer;
}

#gyrsa-courses-v2 .gyrsa-course-dots button.active {
    background: #36C0CF;
}

@media (max-width: 1023px) {

    #gyrsa-courses-v2 .gyrsa-course-track {
        grid-auto-columns: calc((100% - 24px) / 2);
    }
}

@media (max-width: 639px) {

    #gyrsa-courses-v2 {
        padding: 40px 16px;
    }

    #gyrsa-courses-v2 .gyrsa-course-track {
        grid-auto-columns: 100%;
    }

    #gyrsa-courses-v2 .gyrsa-courses-heading {
        font-size: 28px;
    }

    #gyrsa-courses-v2 .gyrsa-courses-more {
        font-size: 16px;
    }

    #gyrsa-courses-v2 .gyrsa-course-title {
        font-size: 18px;
    }

    #gyrsa-scroll-arrow-v2 {
        right: 8px !important;
        bottom: 15px !important;
    }
}

@media (prefers-reduced-motion: reduce) {

    #gyrsa-courses-v2 .gyrsa-course-track {
        scroll-behavior: auto;
    }
}

