/**
Theme Name: Medicore Child
Author: Medicore developers
Author URI: http://wpastra.com/about/
Description: A custom child theme of Astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: medicore-child
Template: astra
*/

/* Pop up off canvas menu */
.off-canvas-menu .sub-menu {
    position: relative !important;
    margin-left: 0 !important;
    left: unset !important;
    top: unset !important;
    margin-top: 0 !important;
}

/* Elementor homepage */
.elementor-page .wp-block-group:has(.elementor) {
    padding: 0 !important;
}
.elementor-page .wp-block-group .elementor {
    max-width: 100%;
}
.elementor-page .elementor h1, .elementor-page .elementor h2,
.elementor-page .elementor h3, .elementor-page .elementor h4,
.elementor-page .elementor h5, .elementor-page .elementor h6,
.elementor-page .elementor p {
    margin: 0;
}
span.blue-text {
    color: #00489f;
}
body:has(.banner-no-title-above) .wp-block-group:has(.wp-block-post-title) {
    display: none !important;
}
.elementor-page .wp-block-group:has(.elementor) > .entry-content {
    padding: 0;
    width: 100%;
    margin: 0;
}
.banner-section .curved-col-img {
    clip-path: ellipse(92% 120% at 95% 62%);
    position: relative;
    z-index: 10;
}
.banner-section .curved-column:before {
    content: '';
    position: absolute;
    inset: 0;
    background: #E4EEFD;
    width: 100%;
    height: 100%;
    z-index: 1;
    clip-path: ellipse(95% 115% at 95% 55%);
}
.below-banner-section .below-banner-cards:not(:last-child):after {
    content: '';
    border-right: 1px solid #ddd;
    position: absolute;
    inset: 0;
    height: 70%;
    top: 15%;
    right: -20px;
}
.banner-text-col .banner-text-col-inner {
    max-width: 650px;
}
.trusted-partners-logo-wrap img {
    filter: brightness(0) invert(1);
}
.services-card .services-card-info {
    height: 100%;
}
.asp-16-9 img {
    aspect-ratio: 16/9;
    height: auto !important;
    object-fit: cover;
}
.asp-3-4 img {
    aspect-ratio: 3/4;
    height: auto !important;
    object-fit: cover;
}
.asp-3-2 img {
    aspect-ratio: 3/2;
    height: auto !important;
    object-fit: cover;
}
.asp-square img {
    aspect-ratio: 1/1;
    height: auto !important;
    object-fit: cover;
}
.transp-experts-feat-wrap .elementor-icon-list-item {
    width: 100%;
    max-width: calc(50% - 16px);
}
.lh-1 p {
    line-height: 1;
}
.above-footer-contact-options-wrap .above-footer-contact-option:not(:last-child):after {
    content: '';
    border-right: 1px solid #ddd;
    position: absolute;
    inset: 0;
    height: 70%;
    top: 15%;
    right: -60px;
}
.cstm-responsive-carousel .swiper-pagination {
    top: unset;
    bottom: -50px;
    width: 100%;
    max-width: 180px;
    background: #dde5ee;
    margin: 0 auto 0;
    left: 50%;
    transform: translateX(-50%);
}
.cstm-responsive-carousel .swiper-pagination .swiper-pagination-progressbar-fill {
    background: #90a1b9;
}
.cstm-responsive-carousel.elementor-widget-n-carousel {
    position: relative;
}
.cstm-responsive-carousel .services-card {
    height: 100%;
}


/* Responsive */
@media screen and (min-width: 1025px) {
    .cstm-responsive-carousel .swiper-pagination {
        display: none;
    }
}
@media screen and (max-width: 1024px) {
    .banner-section .curved-col-img {
        clip-path: ellipse(85% 95% at 40% 0%);
    }
    .banner-section .curved-column:before {
        clip-path: ellipse(90% 100% at 50% 0%);
    }
    .above-footer-contact-options-wrap .above-footer-contact-option:not(:last-child):after {
        right: -20px;
    }
}
@media screen and (max-width: 767px) {
    .below-banner-section .below-banner-cards:not(:last-child):after,
    .above-footer-contact-options-wrap .above-footer-contact-option:not(:last-child):after {
        border: none;
    }
}