/* Breakpoints
@media (max-width: 1024px) {}
@media (max-width: 768px) {}
*/

/* Global styles */
.elementor-heading-title > a {
    font-family: inherit !important;
    text-decoration: none !important;
}


/* Navigation */
@media (max-width: 1200px) {
    .mpro-nav .elementor-nav-menu .elementor-item {
        font-size: 16px !important; 
    }
}

@media (max-width: 1024px) {
    .mpro-nav .elementor-nav-menu .elementor-item {
        font-size: 24px !important; 
    }

    .mpro-nav .elementor-menu-toggle {
        padding: 0;
    }

    .mpro-nav .elementor-menu-toggle svg {
        display: block;
    }

    .mpro-nav .elementor-nav-menu {
        padding: 20px 0;
        border-top: 1px solid #69899629;
    }
}

/* elements */
/* Heading list item */
.mpro-list-item .elementor-heading-title {   
    display: flex;
    align-items: center;
}

.mpro-list-item .elementor-heading-title::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--e-global-color-da6d76c);;
    position: relative;
    display: block;
    margin-right: 16px;
}


/* Button */
.mpro-btn .elementor-button-content-wrapper {
    align-items: center;
}

.mpro-btn .elementor-button-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--e-global-color-da6d76c);
    border-radius: 50px;
    transition: background 0.3s ease;
}

.mpro-btn.mpro-btn--secondary .elementor-button-icon {
    background: #fff;
}

.mpro-btn .elementor-button-icon svg {
    width: 24px;
    position: relative;
    left: 0;
    transition: left 0.2s ease;
}

@media (max-width: 768px) {
    .mpro-btn .elementor-button-icon {
        width: 32px;
        height: 32px;
    }

    .mpro-btn .elementor-button .elementor-button-content-wrapper {
        gap: 8px !important;
    }
}

/* Button hover */
.mpro-btn:hover .elementor-button-icon svg {
    left: 2px;
}

.mpro-btn:not(.mpro-btn--secondary) .elementor-button:hover {
    border-color: var(--e-global-color-secondary);
    color: var(--e-global-color-secondary) !important;
}

.mpro-btn:not(.mpro-btn--secondary) .elementor-button:hover .elementor-button-icon {
    background: var(--e-global-color-secondary);
}

.mpro-btn.mpro-btn--secondary .elementor-button:hover {
    background: var(--e-global-color-secondary) !important;
    border-color: var(--e-global-color-secondary);
    color: #fff !important;
}

.mpro-btn.mpro-btn--secondary .elementor-button:hover .elementor-button-icon {
    background: #fff;
}

.mpro-btn.mpro-btn--secondary .elementor-button:hover .elementor-button-icon path {
    stroke: var(--e-global-color-secondary);
}


/* erferf */
.mpro-link:hover .elementor-button-text {
    text-decoration: underline;
}

.mpro-link .elementor-button-icon {
    position: relative;
    left: 0;
    transition: left 0.2s ease;
}

.mpro-link:hover .elementor-button-icon {
    left: 4px;
}


/* Num list item */
.mpro-num {
    width: 40px !important;
    height: 40px;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    background: var(--e-global-color-secondary);
    border-radius: 8px;
    color: #fff;
}

@media (max-width: 1024px) {
    .mpro-num {
        width: 32px !important;
        height: 32px;
    }
}


/* Grid arrow */
.mrpo-grid-arrow {
    position: absolute !important;
    bottom: -16px;
    right: -16px;
    background: #fff;
}

.mrpo-grid-arrow.mrpo-grid-arrow--2 {
    bottom: auto;
    top: -18px;
    right: -18px;
}

.mrpo-grid-arrow .elementor-icon {
    position: relative;
    left: 1px;
    top: 1px;
}

.mrpo-grid-arrow.mrpo-grid-arrow--2 .elementor-icon {
    top: 2px;
}

@media (max-width: 1024px) {
    .mrpo-grid-arrow.mrpo-grid-arrow--2 .elementor-icon {
        top: 1px;
    }

    .mrpo-grid-arrow.mrpo-grid-arrow--2 {
        top: -16px;
        right: -16px;
    }
}


/* Image overlay */
.mpro-image-overlay::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: #00165940;
}


/* Overflow grid step */
.mpro-overflow-grid-step:not(:first-of-type)::after {
    left: 44px;
}

@media (max-width: 768px) {
    .mpro-overflow-grid-step:first-of-type::after {
        left: 44px;
    }
}

.mpro-overflow-grid-step::after {
    content: attr(mpro-step);
    position: absolute;
    left: 0;
    top: -18px;
    font-family: "Inter";
    font-weight: 500;
    font-size: 16px;
    line-height: 34px;
    letter-spacing: 2px;
    padding: 0 12px;
    border-radius: 50px;
    text-transform: uppercase;
    display: block;
    width: auto;
    height: auto;
    z-index: 1;
    display: block;
    background: #fff;
    border: 1px solid #D9DAE4;
}

@media (max-width: 1024px) {
    .mpro-overflow-grid-step::after {
        top: -16px;
        font-size: 14px;
        line-height: 30px;
    }
}

.mpro-overflow-grid-step:first-of-type::after {
    background: var(--e-global-color-primary);
    border: 1px solid var(--e-global-color-primary);
    color: #fff;
}

.mpro-overflow-grid-step:not(:last-child)::before {
    content: '' !important;
    position: absolute;
    left: auto;
    right: 0;
    top: -54px;
    width: 1px;
    height: calc(100% + 54px + 36px);
    background: #D9DAE4;
    z-index: 1;
    display: block;
}

@media (max-width: 768px) {
    .mpro-overflow-grid-step::after { 
        left: 24px !important;
    }

    .mpro-overflow-grid-step:first-of-type::after {
        top: 36px;
    }

    .mpro-overflow-grid-step:first-of-type::before {
        top: 52px !important;
    }

    .mpro-overflow-grid-step::before {
        content: '' !important;
        position: absolute;
        background: #D9DAE4;
        z-index: 1;
        display: block;
        bottom: auto;
        left: -36px !important;
        top: 0 !important;
        width: calc(100% + 36px + 36px) !important;
        height: 1px !important;
    }
}


/* Post card */
.mpro-post-card-flag::after {
    content: "";
    position: absolute;
    top: auto;
    left: 3px;
    bottom: -7px;
    right: auto;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #343E5F;
    transform: rotate(-45deg);
}


/* FAQ */
.mpro-faq .e-n-accordion-item:not([open]) > summary {
    border-radius: 24px;
    padding-bottom: 24px;
}

@media (max-width: 768px) {
    .mpro-faq .e-n-accordion-item:not([open]) > summary {
        border-radius: 16px;
        padding-bottom: 16px;
    }
}

.mpro-faq .e-n-accordion-item > .elementor-element p {
    color: #fff;
    opacity: .8; 
}

.mpro-faq .e-n-accordion-item > .elementor-element p::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #fff;
    opacity: .15;
}


/* Form */
.elementor-mark-required .elementor-field-label:after {
    color: var(--e-global-color-secondary) !important;
}

@media (max-width: 1024px) {
    .mpro-form .elementor-field-group {
        padding-right: calc(12px / 2) !important;
        padding-left: calc(12px / 2) !important;
        margin-bottom: 12px !important;
    }
 
    .mpro-form .elementor-labels-above .elementor-field-group > label {
        padding-bottom: 4px !important;
    }

    .mpro-form .elementor-field-group .elementor-field {
        padding: 0 16px !important;
    }
}

@media (max-width: 768px) {
    .mpro-form .elementor-field-group .elementor-field {
        padding: 0 12px !important;
    }

    .mpro-form .elementor-field-group textarea.elementor-field {
        padding-top: 8px !important;
    }
}

.elementor-button[type="submit"] {
    flex-basis: unset !important; 
    line-height: 56px !important;
    display: flex; 
    background: #fff !important;
    color: var(--e-global-color-accent) !important;
    align-items: center;
    gap: 16px;
    position: relative;
}

.elementor-button[type="submit"]:hover {
    background: #fff;
    color: var(--e-global-color-secondary) !important;
    border-color: var(--e-global-color-secondary);
}

.elementor-button[type="submit"]::after {
    content: '' !important;
    position: relative;
    right: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--e-global-color-accent);
    border-radius: 50px;
    transition: background 0.3s ease;
}

.elementor-button[type="submit"]::before {
    position: absolute;
    right: 26px;
    line-height: 18px;
    width: 18px;
    height: 18px;
    content: "";
    display: inline-block;
    color: #fff;
    background: #fff;
    background-size: 100% 100%;
    mask-repeat: no-repeat;
    mask-position: center center;
    mask-size: 18px 18px;
    mask-image: url('data:image/svg+xml,<svg width="17" height="13" viewBox="0 0 17 13" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.5 6.5H16.5M16.5 6.5L10.5 0.5M16.5 6.5L10.5 12.5" stroke="white" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    z-index: 1;
    transition: right 0.2s ease;
}

.elementor-button[type="submit"]:hover::after {
    background: var(--e-global-color-secondary);
}

.elementor-button[type="submit"]:hover::before {
    right: 24px;
}

@media (max-width: 1024px) {
    .elementor-button[type="submit"] {
        line-height: 46px !important;
    }

    .elementor-button[type="submit"]::before {
        right: 19px;
    }

    .elementor-button[type="submit"]:hover::before {
        right: 17px;
    }
}

@media (max-width: 768px) {
    .elementor-button[type="submit"] {
        font-size: 14px !important;
        gap: 8px;
    }

    .elementor-button[type="submit"]::before {
        right: 15px;
    }

    .elementor-button[type="submit"]:hover::before {
        right: 13px;
    }

    .elementor-button[type="submit"]::after {
        width: 32px;
        height: 32px;
    }
}


/* Breadcrumbs */
.mpro-breadcrumbs .elementor-icon-list-items {
    display: flex;
    align-items: center;
    gap: 30px;
}

.mpro-breadcrumbs .elementor-icon-list-items .elementor-icon-list-item a {
    text-decoration: none;
}

.mpro-breadcrumbs .elementor-icon-list-items .elementor-icon-list-item a:hover { 
    text-decoration: underline;
}

.mpro-breadcrumbs .elementor-icon-list-items .elementor-icon-list-item:not(:last-child) a:hover .elementor-icon-list-text,
.mpro-breadcrumbs .elementor-icon-list-items .elementor-icon-list-item:not(:last-child) a:hover {
    color: var(--e-global-color-primary);
}

.mpro-breadcrumbs .elementor-icon-list-items .elementor-icon-list-item:last-child a {
    text-decoration: none;
    cursor: text;
    pointer-events: none;
}

.mpro-breadcrumbs .elementor-icon-list-items .elementor-icon-list-item:last-child a .elementor-icon-list-text {
    color: var(--e-global-color-accent);
}

.mpro-breadcrumbs .elementor-icon-list-items .elementor-icon-list-item:not(:last-child) a::after {
    content: '';
    position: absolute;
    top: calc(50% - 1px);
    right: -23px;
    width: 17px;
    height: 1px;
    background: var(--e-global-color-primary);
    transform: rotate(115deg);
}


/* Editor view */     
 .mpro-editor-view ul {
    margin-top: 32px;
    list-style: none;
    padding: 0;
}

.mpro-editor-view ul li {
    position: relative;
    margin-bottom: 16px;
    color: rgb(1 14 53 / 80%);
}

.mpro-editor-view ul li::before {
    line-height: 24px;
    width: 24px;
    height: 24px;
    content: "";
    display: inline-block;
    color: var(--e-global-color-accent);
    background: var(--e-global-color-accent);
    background-size: 100% 100%;
    mask-repeat: no-repeat;
    mask-position: center center;
    mask-size: 24px 24px;
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M12 0C5.38346 0 0 5.38346 0 12C0 18.6165 5.38346 24 12 24C18.6165 24 24 18.6165 24 12C24 5.38346 18.6165 0 12 0ZM18.7068 8.84211L11.0376 16.4511C10.5865 16.9023 9.86466 16.9323 9.38346 16.4812L5.32331 12.782C4.84211 12.3308 4.81203 11.5789 5.23308 11.0977C5.68421 10.6165 6.43609 10.5865 6.91729 11.0376L10.1353 13.985L16.9925 7.12782C17.4737 6.64662 18.2256 6.64662 18.7068 7.12782C19.188 7.60902 19.188 8.3609 18.7068 8.84211Z" fill="currentColor"></path></svg>');
    margin-right: 11px;
}

@media (max-width: 1024px) {
    .mpro-editor-view ul li::before {
        line-height: 20px;
        width: 20px;
        height: 20px;
        mask-size: 20px 20px;
    }
}


/* Pagination */
.elementor-pagination {
    display: flex;
    gap: 6px;
}

.elementor-pagination .page-numbers:not(.prev):not(.next) {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: transparent;
    border-radius: 50px;
    cursor: pointer; 
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    margin: 0 !important;
}

@media (max-width: 1024px) {
    .elementor-pagination .page-numbers:not(.prev):not(.next) {
        width: 36px;
        height: 36px;
    }
}

.elementor-pagination .page-numbers.current {
    background: var(--e-global-color-accent) !important;
    color: #fff;
    pointer-events: none;
}

.elementor-pagination .page-numbers.prev,
.elementor-pagination .page-numbers.next {
    width: 24px;
    background: transparent;
    display: flex;
    align-items: center;
}
    
.elementor-pagination span.page-numbers.prev::after,
.elementor-pagination span.page-numbers.next::after {
    opacity: .4;
}

.elementor-pagination .page-numbers:hover,
.elementor-pagination .page-numbers:hover {
    color: var(--e-global-color-primary);
    text-decoration: underline !important;
}

.elementor-pagination .page-numbers.prev::after,
.elementor-pagination .page-numbers.next::after {
    line-height: 24px;
    width: 24px;
    height: 24px;
    content: "";
    display: inline-block;
    color: var(--e-global-color-primary);
    background: var(--e-global-color-primary);
    background-size: 100% 100%;
    mask-repeat: no-repeat;
    mask-position: center center;
    mask-size: 24px 24px;
    mask-image: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.0498 4.08004L8.5298 10.6C7.7598 11.37 7.7598 12.63 8.5298 13.4L15.0498 19.92" stroke="currentColor" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

.elementor-pagination .page-numbers.next::after {
    transform: rotate(180deg);
}


/* File upload input */
input[type="file"] {
    background: #F2F3F5 !important;
    border: 1px solid #DEDEDE;
    border-radius: 16px !important;
    padding: 4px !important;
    cursor: pointer;
}    

input[type="file"]::file-selector-button {
    background: var(--e-global-color-secondary);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    margin-right: 16px;
    border-radius: 12px;
    padding: 0 12px;
}

input[type="file"]:hover::file-selector-button {
    background: var(--e-global-color-primary);
}

@media (max-width: 1024px) {
    body .mpro-form .elementor-field-group input[type="file"] {
        padding: 4px !important;
        line-height: 40px !important;
        border-radius: 10px !important;
    }

    input[type="file"]::file-selector-button {
        border-radius: 8px;
    }
}

@media (max-width: 768px) {
    body .mpro-form .elementor-field-group input[type="file"] {
        line-height: 30px !important;
    }
}