/*!
Theme Name: Academic Advisor
Author: Progressio agency
Author URI: https://progressio.agency/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: aadv
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

.article__content img {
    display: block;
    max-width: 100%;
}

.apply__form input {
    border: none;
}

.apply__btn {
    margin-bottom: 0 !important;
}

.doc__image img {
    position: static !important;
}

.header__logo.logo-header img {
    max-width: 150px;
}

/* Основной стиль для попапа */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: hidden;
}

.popup-content {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    max-width: 1100px;
    width: 90%;
    display: flex;
    flex-direction: row;
    position: relative;

}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.popup-inner {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 32px;
    overflow-y: auto;
}

.popup-left {
    width: 50%;
}

.popup-image {
    width: 100%;
    height: auto;
}

.popup-right {
    width: 70%;
    padding: 20px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}


.popup-inline-bg {

    background-color: #fde4e4;
    color: #e74c3c;
    font-weight: bold;
    font-size: 14px;
    padding: 10px;
    border-radius: 20px;
    text-transform: uppercase;
    width: 325px;
}


.popup-title {
    font-size: 32px;
    margin: 10px 0;
    font-weight: bold;
}

.popup-description,
.popup-call-to-action {
    font-size: 18px;
    margin: 10px 0;
    line-height: 27px;
}

.popup-benefits {
    margin: 10px 0;
    padding-left: 20px;
    list-style: none;
}

.popup-benefits li {
    position: relative;
    margin-bottom: 5px;
    padding-left: 20px;
    font-size: 16px;
    font-weight: 700;
    line-height: 27px;
}

.popup-benefits li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #ffa500;
}

.popup-buttons {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
}

.popup-btn {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

.popup-btn-primary {
    background: #ffa500;
    color: #fff;
    margin-right: 10px;
    border-radius: 100px;
}

.popup-btn-secondary {
    background: #f0f0f0;
    color: #333;
    border-radius: 100px;
}

@media (max-width: 768px) {
    .popup-content {
        flex-direction: column;
        max-width: 95%;
        padding: 20px;
    }

    .popup-left {
        display: none;
    }

    .popup-right {
        width: 100%;
    }

    .popup-image {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .popup-inner {
        flex-direction: column;
        padding: 0;
        overflow-y: auto;
        max-height: 90vh;
    }

    .popup-right {
        padding: 0 15px;
    }

    .popup-title {
        font-size: 24px;
    }

    .popup-inline-bg {
        font-size: 12px;
        width: 280px;
    }

    .popup-description,
    .popup-call-to-action {
        font-size: 14px;
    }

    .popup-benefits li {
        font-size: 14px;
    }

    .popup-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .popup-btn {
        font-size: 14px;
        padding: 10px;
    }
}

.cards-grid__wrapper,
.services__wrapper {
    margin-bottom: 64px;
    justify-content: center;
    align-items: center;
}

.more__btn_block {
    display: flex;
    justify-content: center;
    align-items: center;
}

.more__btn {
    width: 40%;
}

.media-intro__btns_home {
    display: flex;
    justify-content: center;
}

.media-intro__btns_home a {
    margin: 0 10px;
}

.media-intro__btns_store {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.partners-program-block {
    display: inline-block;
    background-color: #e8f5e9;
    color: #2e7d32;
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
    width: fit-content;
}

.philosophy__block {
    padding-bottom: 20px;
}

.more__btn_block_support {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.more__btn_block_support .more__btn {
    width: 58%;
}

body.home .hide-on-homepage {
    display: none;
}

@media (max-width: 768px) {
    .more__btn_block_support {
        flex-direction: column;
        align-items: stretch;
    }

    .more__btn_block_support a {
        width: 100%;
        text-align: center;
    }

    .more__btn_block_support .more__btn {
        width: 100%;
    }

    .more__btn {
        width: 100%;
    }

    .media-intro__btns_home {
        margin-top: 10px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .media-intro__btns_home a {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 992px) {
.menu__link_mob::before {
	display: none;
}
}

.submenu__item:nth-child(4)::after {
	display: none;
}