/*!
Theme Name: Universe Child
Theme URI: http://karagez.com/
Template: pitoon
Author: Karagez Web Studio
Author URI: http://karagez.com/
Description: Тема створена для Universe.
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: pitoon-child
*/

.universe-programs {
    padding: 70px 0 30px;
}

.universe-programs__title {
    margin: 0 0 28px;
    color: #191919;
    font-size: 44px;
    line-height: 1.15;
    font-weight: 700;
}

.universe-programs__tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    align-items: end;
    margin-bottom: 26px;
    border-bottom: 1px solid #cfd2da;
}

.universe-programs__tab {
    min-height: 58px;
    padding: 0 18px 16px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #8b8d96;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.universe-programs__tab.is-active,
.universe-programs__tab:hover {
    color: #1d1d25;
    border-bottom-color: #1d1d25;
}

.universe-programs__select {
    display: none;
    width: 100%;
    max-width: 100%;
    height: 42px;
    margin-bottom: 18px;
    padding: 0 12px;
    border: 1px solid #d7dce6;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
    color: #1d1d25;
    font-size: 14px;
}

.universe-programs__mobile-select {
    display: none;
}

.universe-programs__panel {
    display: none;
}

.universe-programs__panel.is-active {
    display: block;
}

.universe-programs__table-wrap {
    overflow: hidden;
    border: 1px solid #dcdfe5;
    border-radius: 16px;
}

.universe-programs__table {
    width: 100%;
    min-width: 900px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    color: #2d2f36;
    background: #f7f7f8;
}

.universe-programs__table th,
.universe-programs__table td {
    padding: 22px 24px;
    border-right: 1px solid #dcdfe5;
    border-bottom: 1px solid #dcdfe5;
    vertical-align: middle;
}

.universe-programs__table th:last-child,
.universe-programs__table td:last-child {
    border-right: 0;
}

.universe-programs__table tbody tr:last-child td {
    border-bottom: 0;
}

.universe-programs__table th {
    background: #062f5f;
    color: #fff;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
    text-align: left;
}

.universe-programs__table th:first-child {
    border-top-left-radius: 16px;
}

.universe-programs__table th:last-child {
    border-top-right-radius: 16px;
}

.universe-programs__table td {
    font-size: 16px;
    line-height: 1.45;
    font-weight: 500;
}

.universe-consultation-cta {
    padding: 40px 0 70px;
}

.universe-consultation-cta__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 30px;
    min-height: 360px;
    overflow: hidden;
    border-radius: 28px;
    background: #2824c8;
}

.universe-consultation-cta__content {
    position: relative;
    z-index: 2;
    padding: 54px 0 48px 52px;
    color: #fff;
}

.universe-consultation-cta__content h2 {
    margin: 0 0 26px;
    color: #fff;
    font-size: 36px;
    line-height: 1.22;
    font-weight: 800;
}

.universe-consultation-cta__content p {
    max-width: 620px;
    margin: 0 0 36px;
    color: #fff;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}

.universe-consultation-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 78px;
    padding: 0 34px;
    border: 2px solid #42c278;
    border-radius: 999px;
    background: #42c278;
    color: #fff;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.universe-consultation-cta__button:hover,
.universe-consultation-cta__button:focus {
    border-color: #fff;
    background: #fff;
    color: #42c278;
    text-decoration: none;
}

.universe-consultation-attention {
    position: relative;
    z-index: 3;
    transform-origin: center;
    animation: universe-consultation-attention 1.15s ease-in-out 2;
}

@keyframes universe-consultation-attention {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(66, 194, 120, 0);
    }

    35% {
        transform: scale(1.07);
        box-shadow: 0 0 0 12px rgba(66, 194, 120, 0.28);
    }

    65% {
        transform: scale(1.03);
        box-shadow: 0 0 0 6px rgba(66, 194, 120, 0.16);
    }
}

.universe-consultation-cta__image {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-width: 0;
}

.universe-consultation-cta__image::before {
    position: absolute;
    inset: 0 -90px 0 auto;
    width: 360px;
    background: rgba(66, 194, 120, 0.09);
    transform: skewX(-28deg);
    content: "";
}

.universe-consultation-cta__image img {
    position: relative;
    display: block;
    width: min(390px, 100%);
    max-height: 360px;
    object-fit: contain;
    object-position: bottom center;
}

.universe-mobile-languages {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 10px 0 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.universe-mobile-languages__link {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: #fff;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
}

.universe-mobile-languages__link + .universe-mobile-languages__link {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.universe-mobile-languages__link img {
    width: 20px;
    height: 14px;
    object-fit: cover;
}

.universe-mobile-languages__link.is-active {
    color: #42c278;
}
 .main-menu-two__logo{
        margin-top: -12px !important;
    }


@media (max-width: 1199px) {
    .main-menu-two__logo{
        margin-top: -15px !important;
    }
    .universe-consultation-cta__inner {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    .universe-consultation-cta__content h2 {
        font-size: 32px;
    }

    .universe-consultation-cta__image img {
        width: min(330px, 100%);
    }
}

@media (max-width: 767px) {
    .main-menu-two__wrapper-inner {
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-height: 64px;
        padding: 0 18px !important;
    }

    .main-menu-two__left {
        display: contents !important;
    }

    .main-menu-two__logo {
        margin-top: 0 !important;
        order: 1;
        flex: 0 0 clamp(96px, 30vw, 120px) !important;
        width: clamp(96px, 30vw, 120px) !important;
        min-width: clamp(96px, 30vw, 120px) !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }

    .main-menu-two__logo img {
        display: block;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
    }

    .main-menu-two__logo,
    .main-menu-two__right,
    .main-menu-two__main-menu-box {
        align-self: center !important;
    }

    .main-menu-two__logo a,
    .main-menu-two__right .trp-language-switcher > div > a,
    .main-menu-two__right .tg,
    .main-menu-two__right .mob,
    .main-menu-two .mobile-nav__toggler {
        display: flex !important;
        align-items: center !important;
    }

    .main-menu-two__right {
        order: 2;
        display: flex !important;
        flex: 1 1 auto !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px;
        min-width: 0;
        width: auto !important;
        padding: 0 !important;
    }

    .main-menu-two__right .trp_language_switcher_shortcode,
    .main-menu-two__right .trp-language-switcher {
        flex: 0 1 auto;
        width: auto !important;
        min-width: 0;
    }

    .main-menu-two__right .trp-ls-shortcode-current-language {
        width: auto !important;
    }

    .main-menu-two__right .trp-language-switcher > div > a {
        align-items: center;
        height: 30px;
        min-height: 30px;
        padding: 0 4px;
        white-space: nowrap;
        font-size: 14px;
        line-height: 1;
    }

    .main-menu-two__right .trp-flag-image {
        display: block !important;
        flex: 0 0 auto;
        margin: 0 4px 0 0 !important;
        align-self: center;
    }

    .main-menu-two__right .trp-language-switcher {
        pointer-events: none;
    }

    .main-menu-two__right .trp-ls-shortcode-language,
    .main-menu-two__right .trp-language-switcher:hover .trp-ls-shortcode-language,
    .main-menu-two__right .trp-language-switcher:focus .trp-ls-shortcode-language,
    .main-menu-two__right .trp-ls-shortcode-language.trp-ls-clicked {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .main-menu-two__right .trp-ls-shortcode-current-language,
    .main-menu-two__right .trp-language-switcher:hover .trp-ls-shortcode-current-language,
    .main-menu-two__right .trp-language-switcher:focus .trp-ls-shortcode-current-language {
        display: block !important;
        visibility: visible !important;
        width: auto !important;
    }

    .main-menu-two__right .tg,
    .main-menu-two__right .mob {
        display: inline-flex;
        flex: 0 0 30px;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        margin: 0 !important;
    }

    .main-menu-two__right .tg img,
    .main-menu-two__right .mob img {
        display: block;
        width: 30px;
        height: 30px;
        object-fit: contain;
    }

    .main-menu-two__main-menu-box {
        order: 3;
        display: flex !important;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        margin-left: 8px;
        margin-top: 9px;
    }
    .main-menu-two__right{
        margin-top: 9px !important;
    }

    .main-menu-two .mobile-nav__toggler {
        position: static !important;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        line-height: 1;
    }

    .main-menu-two .mobile-nav__toggler i {
        display: block;
        line-height: 1;
    }

    .mobile-nav__content .logo-box img {
        width: clamp(155px, 48vw, 210px) !important;
        max-width: 100%;
        height: auto !important;
    }

    .mobile-nav__content .logo-box {
        margin-bottom: 24px;
    }

    .universe-programs {
        padding: 44px 0 20px;
    }

    .universe-programs__title {
        margin-bottom: 16px;
        font-size: 22px;
        line-height: 1.2;
    }

    .universe-programs__tabs {
        display: none;
    }

    .universe-programs__select {
        display: none;
        height: 40px;
        margin-bottom: 14px;
        padding: 0 46px 0 14px;
        border: 2px solid #1d1d25;
        border-radius: 4px;
        background-color: #fff;
        background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%231d1d25' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 18px center;
        background-size: 12px 8px;
        box-shadow: none;
        color: #1d1d25;
        font-size: 14px;
        font-weight: 500;
        line-height: 40px;
        appearance: none;
        -webkit-appearance: none;
    }

    .universe-programs__select:focus {
        outline: none;
        border-color: #062f5f;
        box-shadow: 0 0 0 3px rgba(6, 47, 95, 0.14);
    }

    .universe-programs__select::-ms-expand {
        display: none;
    }

    .universe-programs__select option {
        background: #fff;
        color: #1d1d25;
        font-size: 14px;
    }

    .universe-programs__mobile-select {
        position: relative;
        z-index: 25;
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0 0 14px;
        box-sizing: border-box;
    }

    .universe-programs__mobile-select-toggle {
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
        max-width: 100%;
        height: 40px;
        padding: 0 46px 0 14px;
        border: 2px solid #1d1d25;
        border-radius: 4px;
        background: #fff;
        box-sizing: border-box;
        color: #1d1d25;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.2;
        text-align: left;
        cursor: pointer;
    }

    .universe-programs__mobile-select-toggle:focus {
        outline: none;
        border-color: #062f5f;
        box-shadow: 0 0 0 3px rgba(6, 47, 95, 0.14);
    }

    .universe-programs__mobile-select-label {
        display: block;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .universe-programs__mobile-select-arrow {
        position: absolute;
        top: 50%;
        right: 18px;
        width: 9px;
        height: 9px;
        border-right: 2px solid #1d1d25;
        border-bottom: 2px solid #1d1d25;
        transform: translateY(-70%) rotate(45deg);
        pointer-events: none;
    }

    .universe-programs__mobile-select-menu {
        position: absolute;
        top: calc(100% - 1px);
        right: 0;
        left: 0;
        z-index: 30;
        display: none;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        border: 2px solid #1d1d25;
        border-top: 0;
        border-radius: 0 0 4px 4px;
        background: #fff;
        box-sizing: border-box;
        box-shadow: 0 12px 18px rgba(0, 0, 0, 0.12);
    }

    .universe-programs__mobile-select.is-open .universe-programs__mobile-select-toggle {
        border-radius: 4px 4px 0 0;
    }

    .universe-programs__mobile-select.is-open .universe-programs__mobile-select-menu {
        display: block;
    }

    .universe-programs__mobile-select-option {
        display: block;
        width: 100%;
        min-height: 28px;
        padding: 6px 14px;
        border: 0;
        background: #fff;
        color: #1d1d25;
        font-size: 14px;
        line-height: 1.2;
        text-align: left;
        cursor: pointer;
    }

    .universe-programs__mobile-select-option:hover,
    .universe-programs__mobile-select-option.is-active {
        background: #236bd0;
        color: #fff;
    }

    .universe-programs__table-wrap {
        overflow-x: auto;
        border-color: #e3e5ea;
        border-radius: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .universe-programs__table,
    .universe-programs__table thead,
    .universe-programs__table tbody,
    .universe-programs__table tr,
    .universe-programs__table th,
    .universe-programs__table td {
        width: auto;
    }

    .universe-programs__table {
        display: table;
        width: 100%;
        min-width: 720px;
        table-layout: fixed;
        background: #f7f7f8;
    }

    .universe-programs__table thead {
        display: table-header-group;
    }

    .universe-programs__table tbody {
        display: table-row-group;
    }

    .universe-programs__table tr {
        display: table-row;
        margin: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .universe-programs__table th,
    .universe-programs__table td {
        display: table-cell;
        min-width: 0;
        width: auto;
        border-right: 1px solid #e3e5ea;
        border-bottom: 1px solid #e3e5ea;
        vertical-align: middle;
        text-align: left;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .universe-programs__table th {
        padding: 12px 10px;
        background: #062f5f;
        color: #fff;
        font-size: 12px;
        line-height: 1.2;
        font-weight: 800;
    }

    .universe-programs__table th:first-child {
        border-top-left-radius: 10px;
    }

    .universe-programs__table th:last-child {
        border-top-right-radius: 10px;
    }

    .universe-programs__table td {
        padding: 14px 10px;
        color: #3f424a;
        font-size: 12px;
        line-height: 1.25;
        font-weight: 600;
    }

    .universe-programs__table td::before {
        content: none;
    }

    .universe-consultation-cta {
        padding: 24px 0 48px;
    }

    .universe-consultation-cta__inner {
        display: block;
        min-height: 0;
        border-radius: 20px;
    }

    .universe-consultation-cta__content {
        padding: 30px 24px 0;
    }

    .universe-consultation-cta__content h2 {
        margin-bottom: 18px;
        font-size: 26px;
    }

    .universe-consultation-cta__content p {
        margin-bottom: 24px;
        font-size: 15px;
        font-weight: 600;
    }

    .universe-consultation-cta__button {
        min-height: 58px;
        width: 100%;
        padding: 0 20px;
        font-size: 16px;
    }

    .universe-consultation-cta__image {
        margin-top: 16px;
        justify-content: center;
    }

    .universe-consultation-cta__image::before {
        width: 210px;
        right: auto;
        left: 50%;
        transform: translateX(-50%) skewX(-28deg);
    }

    .universe-consultation-cta__image img {
        width: min(250px, 78%);
        max-height: 260px;
        margin: 0 auto;
        object-position: bottom center;
    }
}

@media (max-width: 360px) {
    .main-menu-two__wrapper-inner {
        justify-content: flex-start !important;
        gap: 6px;
        padding: 0 12px !important;
    }

    .main-menu-two__logo {
        flex-basis: 92px !important;
        width: 92px !important;
        min-width: 92px !important;
    }

    .main-menu-two__right {
        flex: 0 0 auto !important;
        justify-content: flex-end !important;
        gap: 5px;
    }

    .main-menu-two__right .trp_language_switcher_shortcode,
    .main-menu-two__right .trp-language-switcher {
        flex: 0 0 auto !important;
    }

    .main-menu-two__right .trp-language-switcher,
    .main-menu-two__right .trp-language-switcher > div > a {
        height: 28px;
    }

    .main-menu-two__right .trp-language-switcher > div > a {
        min-height: 28px;
        gap: 3px;
        padding: 0 1px;
        font-size: 12px;
    }

    .main-menu-two__right .trp-flag-image {
        width: 16px !important;
        max-width: 16px !important;
        margin-right: 2px !important;
    }

    .main-menu-two__right .tg,
    .main-menu-two__right .mob {
        flex-basis: 27px;
        width: 27px;
        height: 27px;
    }

    .main-menu-two__right .tg img,
    .main-menu-two__right .mob img,
    .main-menu-two .mobile-nav__toggler {
        width: 27px;
        height: 27px;
    }

    .main-menu-two__main-menu-box {
        margin-left: 0;
    }
}
