/*
Theme Name:  Mydocto Child
Theme URI:   https://adeshhospitalharyana.com/
Description: Child theme for Mydocto - Adesh Hospital Haryana customisations
Author:      Adesh Hospital Haryana
Template:    mydocto
Version:     1.0.0
Text Domain: mydocto-child
*/

/* =====================================================
   Doctor Carousel - Arrow Buttons
   ===================================================== */
.adesh-doctor-carousel-wrapper {
    position: relative;
    padding: 0 55px;
}
.adesh-swiper-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    background: #FFFFFF;
    color: #0C1B2B;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 16px;
    transition: background 0.3s, color 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.adesh-swiper-btn:hover {
    background: #6EC1E4;
    color: #FFFFFF;
}
.adesh-swiper-prev { left: 0; }
.adesh-swiper-next { right: 0; }
.adesh-swiper-btn.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
@media (max-width: 768px) {
    .adesh-doctor-carousel-wrapper { padding: 0 40px; }
    .adesh-swiper-btn { width: 36px; height: 36px; font-size: 13px; }
}

/* =====================================================
   Doctor Carousel - Card Layout & Image
   ===================================================== */

/* Blue card background */
.thm-swiper__service .service__item-img {
    background: #0E92FF;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 280px;
}

/* Doctor photo - crisp, no blur */
.thm-swiper__service .service__item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 5%;
    margin-top: 0;
    display: block;
    position: relative;
    z-index: 2;
    transition: transform .4s;
    filter: none;
}

.thm-swiper__service .service__item-box:hover .service__item-img img {
    transform: scale(1.05);
}

/* Mask pattern on card - natural size, no scaling, crisp */
.thm-swiper__service .service__item-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://adeshhospitalharyana.com/wp-content/themes/mydocto/assets/img/Mask group.png");
    background-size: 312px 360px;
    background-position: top left;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
    border-radius: 20px;
    opacity: 0.4;
    visibility: visible;
}

/* Disable parent-theme gradient overlays on doctor cards */
.thm-swiper__service .service__item-img::after {
    background: none;
    background-image: none;
    opacity: 0;
    visibility: hidden;
}

/* Hide service-specific elements (shapes, icon circles) */
.thm-swiper__service .service__shape1,
.thm-swiper__service .service__shape2,
.thm-swiper__service .service__item-box .icon {
    display: none;
}

/* =====================================================
   Doctor Carousel - Name & Designation (match team-thre)
   ===================================================== */

.thm-swiper__service .service__item-contetn {
    position: static !important;
    padding: 18px 10px !important;
    text-align: center;
}

/* Name - matches .bdoctor__team-item-three .team_content h2 */
.thm-swiper__service .service__item-contetn h3,
.thm-swiper__service .service__item-contetn h3 a {
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: normal !important;
    color: #0C1B2B !important;
    text-align: center !important;
    margin-bottom: 6px;
    text-transform: none;
}

/* Designation - matches .team_content span */
.thm-swiper__service .service__item-contetn p {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #000D44 !important;
    text-transform: uppercase !important;
    text-align: center !important;
    line-height: 1.5 !important;
}


/* ==============================================
   Two-Way Interlinking – Related Doctors & Services
   ============================================== */
.adesh-related-section { margin: 40px 0; }
.adesh-related-title {
    font-size: 22px;
    font-weight: 700;
    color: #0C1B2B;
    margin-bottom: 24px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0E92FF;
    display: inline-block;
}

/* Doctor grid on service pages */
.adesh-doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 20px;
}
.adesh-doc-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    background: #fff;
}
.adesh-doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.13);
}
.adesh-doc-link { text-decoration: none; display: block; color: inherit; }
.adesh-doc-photo {
    background: #0E92FF;
    height: 180px;
    overflow: hidden;
    position: relative;
}
.adesh-doc-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.adesh-doc-info { padding: 16px; text-align: center; }
.adesh-doc-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0C1B2B;
    margin-bottom: 5px;
    line-height: 1.3;
}
.adesh-doc-desig {
    font-size: 12px;
    color: #0E92FF;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
}
.adesh-doc-qual {
    font-size: 11px;
    color: #777;
    margin-bottom: 12px;
    line-height: 1.4;
}
.adesh-view-btn {
    display: inline-block;
    background: #0C1B2B;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 20px;
    transition: background 0.3s;
}
.adesh-doc-card:hover .adesh-view-btn { background: #0E92FF; }

/* Service list on doctor pages */
.adesh-services-list { display: flex; flex-direction: column; gap: 10px; }
.adesh-service-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #F8F2E7;
    border-radius: 10px;
    text-decoration: none;
    color: #0C1B2B;
    border-left: 4px solid #0E92FF;
    transition: background 0.3s, transform 0.3s, color 0.3s;
    font-weight: 500;
}
.adesh-service-link:hover {
    background: #0E92FF;
    color: #fff;
    transform: translateX(5px);
}
.adesh-svc-icon { font-size: 18px; color: #0E92FF; min-width: 20px; }
.adesh-service-link:hover .adesh-svc-icon { color: #fff; }
.adesh-svc-name { flex: 1; font-size: 15px; }
.adesh-svc-arrow { font-size: 16px; }

@media (max-width: 768px) {
    .adesh-doctors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .adesh-doctors-grid { grid-template-columns: 1fr; }
}


/* =====================================================
   Related Services section - white heading, less top padding
   ===================================================== */
.adesh-related-title {
    color: #FFFFFF !important;
    border-bottom-color: rgba(255,255,255,0.25) !important;
    margin-top: 8px !important;
    margin-bottom: 16px !important;
}
.adesh-related-section {
    margin-top: 8px !important;
}
