/**
 * Theme Name:     MediCenter Child
 * Author:         Hospital Joya
 * Template:       medicenter
 * Text Domain:	   medicenter-child
 * Description:    MediCenter is a responsive WordPress theme suitable for medical or health related projects or businesses. Theme is maintained in a minimalist and modern style with strong blue accents. Theme comes with wide and boxed layout - both fully responsive and optimized for all kind of devices.
 */

/* ==========================================================================
   HEADER
   ========================================================================== */

.header-left img {
    max-width: 130px;
}

.header.clearfix.layout-1 {
    padding: 15px 0px;
}

.menu-main-menu-container .sf-menu li {
    background: transparent;
}

ul#menu-main-menu {
    margin-bottom: 0;
}

nav.menu-main-menu-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

nav.menu-main-menu-container .sf-menu li ul {
    width: 300px;
}

nav.menu-main-menu-container .sf-menu li ul li {
    width: 100%;
    box-sizing: border-box;
}


/* ==========================================================================
   HOMEPAGE SERVICES LIST
   ========================================================================== */

.home .services-list h4 a {
    font-size: 16px !important;
}


/* ==========================================================================
   FOOTER — LAYOUT
   ========================================================================== */

.footer {
    width: 100% !important;
}

.footer .menu li {
    width: 100%;
}

.footer-box-container {
    width: 90% !important;
    margin-top: 0;
    padding-top: 50px;
    display: flex;
    justify-content: space-between;
}

.footer-box-container:before,
.footer-box-container:after {
    content: unset;
}

.copyright-area.clearfix {
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #3e3e3e;
}


/* ==========================================================================
   FOOTER — CONTACT DETAILS WIDGETS
   ========================================================================== */

#medicenter_contact_details-2 {
    width: 350px;
}

#medicenter_contact_details-2 .box-header {
    font-size: 40px;
}

div#medicenter_contact_details-4 {
    width: auto;
}


/* ==========================================================================
   FOOTER — HOSPITAL LIST COMPONENT
   ========================================================================== */

.joya-hospital-list {
    --gem: #C9A24B;
    --gem-soft: #E8D9AE;
    --cream: #F6F3EC;
    --line: rgba(246, 243, 236, 0.14);

    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 28px;
    font-family: 'Manrope', sans-serif;
}

.joya-hospital-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    color: var(--cream);
}

.joya-hospital-list li a {
    color: var(--gem-soft);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

.joya-hospital-list li a:hover,
.joya-hospital-list li a:focus-visible {
    color: var(--gem);
    text-decoration: underline;
}

@media (max-width: 640px) {
    .joya-hospital-list {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   TEXT / TYPOGRAPHY HELPERS
   ========================================================================== */

.pre-title-line p {
    color: var(--e-global-color-secondary);
}

.pre-title-line p:before {
    content: '';
    position: relative;
    top: -3px;
    display: inline-block;
    width: 40px;
    height: 3px;
    margin-right: 10px;
    background: var(--e-global-color-secondary);
}

.hospital-text-white p {
    color: #fff;
}


/* ==========================================================================
   UI ELEMENTS — BOXES, BUTTONS, SLIDER
   ========================================================================== */

.info-box-redius {
    overflow: hidden;
    border-radius: 15px;
}

span.sr7-layer.slider-subheading {
    text-shadow: none !important;
}

span.sr7-layer.slider-subheading:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 70px;
    height: 10%;
    background-color: var(--e-global-color-accent, #7DC1BB);
    z-index: -1;
}

.more.dark-color {
    background: transparent !important;
    color: #000;
}

.more.dark-color:hover {
    color: var(--e-global-color-accent, #7DC1BB);
    border-color: var(--e-global-color-accent, #7DC1BB);
    background: transparent;
}

.hos-joya-service-list .vc_row.wpb_row.vc_row-fluid {
    margin-top: 20px;
}

.hos-joya-service-list .vc_row.wpb_row.vc_row-fluid ul {
    display: flex;
    gap: 20px;
}

.hos-joya-service-list .vc_row.wpb_row.vc_row-fluid ul>li {
    border-radius: 12px;
    overflow: hidden;
		background: #F0F0F0;
}

.hos-joya-service-list .vc_row.wpb_row.vc_row-fluid ul>li>img {
    aspect-ratio: 16/9;
    object-fit: cover;
}

.hos-joya-image-box-round .elementor-widget.elementor-widget-image-box {
    overflow: hidden;
}

.hos-joya-service-list .services-list p {
    padding: 10px 25px 0;
}

body .hos-joya-service-list .services-list h4 {
    padding: 25px 25px 0;
}

.footer-box-container .hos-joya-widget-title-image {
    max-width: 175px;
    height: auto;
}
