/* ======================================
DOCTOR GRID
====================================== */

.ma-doctors-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:34px;

    margin:60px 0;

}

/* ======================================
CARD
====================================== */

.ma-doctor-card{

    background:#fff;

    border-radius:30px;

    padding:32px;

    box-shadow:0 8px 24px rgba(0,0,0,.05);

    transition:.35s ease;

}

.ma-doctor-card.active{

    box-shadow:0 16px 40px rgba(0,0,0,.08);

}

/* ======================================
TOP
====================================== */

.ma-doctor-top{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:28px;

}

.ma-doctor-content{

    flex:1;

}

/* ======================================
BADGE
====================================== */

.ma-doctor-badge{

    display:block;

    color:#A03088;

    font-size:14px;

    font-weight:600;

    margin-bottom:10px;

}

/* ======================================
NAME
====================================== */

.ma-doctor-name{

    display:block;

    margin:0 0 14px;

    padding:10px 18px;

    background:#DDEFFC;

    border-radius:10px;

    color:#2F4F86;

    font-size:22px;

    font-weight:700;

    line-height:1.2;

}

/* ======================================
SPECIALIST
====================================== */

.ma-spesialis{

    margin:0;

    color:#3B649B;

    font-size:16px;
	
	font-weight:600;

    line-height:1.2;

}

.ma-subspesialis{

    margin:2px 0 0;

    color:#3B649B;

    font-size:16px;
	
	font-weight:600;

    line-height:1.2;

}

/* ======================================
SUMMARY
====================================== */

.ma-ringkasan{

    margin:14px 0 0;

    color:#444;

    font-size:15px;

    line-height:1.5;

}

/* ======================================
BUTTON
====================================== */

.ma-toggle-btn{

    display:inline-block;

    margin-top:22px;

    padding:0;

    border:none;

    background:transparent;

    appearance:none;

    -webkit-appearance:none;

    cursor:pointer;

    color:#A03088;

    font-size:15px;

    font-weight:600;

    font-family:inherit;

    text-decoration:none;

    transition:.25s;

}

.ma-toggle-btn:hover{

    color:#7E206B;

}

/* ======================================
IMAGE
====================================== */

.ma-doctor-image{

    width:185px;

    flex-shrink:0;

}

.ma-doctor-image img{

    width:100%;

    display:block;

    border-radius:22px;

}

/* ======================================
DETAIL
====================================== */

.ma-doctor-profile{

    margin:0;

    color:#444;

    font-size:15px;

    line-height:1.8;

}

.ma-doctor-detail{

    max-height:0;

    overflow:hidden;

    opacity:0;

    transition:
        max-height .45s ease,
        opacity .35s ease,
        margin .35s ease,
        padding .35s ease;

    border-top:1px solid transparent;

}

.ma-doctor-card.active .ma-doctor-detail{

    max-height:2000px;

    opacity:1;

    margin-top:18px;

    padding-top:20px;

    border-color:#ECECEC;

}

/* ======================================
DETAIL SECTION
====================================== */

.ma-doctor-section{

    margin-bottom:18px;

}

.ma-doctor-section:last-child{

    margin-bottom:0;

}

.ma-doctor-section h4{

    margin:0 0 8px;

    color:#3B649B;

    font-size:18px;

    font-weight:700;

    line-height:1.4;

}

/* ======================================
LIST
====================================== */

.ma-doctor-section ul{

    margin:0;

    padding-left:18px;

}

.ma-doctor-section li{

    margin:0 0 4px;

    color:#444;

    font-size:15px;

    line-height:1.5;

}

.ma-doctor-section li:last-child{

    margin-bottom:0;

}

/* ======================================
CLOSE
====================================== */

.ma-close-btn{

    display:block;

    margin-left:auto;

    margin-top:18px;

    padding:0;

    border:none;

    background:transparent;

    appearance:none;

    -webkit-appearance:none;

    cursor:pointer;

    color:#A03088;

    font-size:15px;

    font-weight:600;

    font-family:inherit;

}

.ma-close-btn:hover{

    color:#7E206B;

}

/* ======================================
MOBILE
====================================== */

@media(max-width:768px){

    .ma-doctors-grid{

        grid-template-columns:1fr;

        gap:24px;

        margin:40px 0;

    }

    .ma-doctor-card{

        padding:24px;

        border-radius:24px;

    }

    .ma-doctor-top{

        flex-direction:column-reverse;

        align-items:center;

        text-align:center;

    }

    .ma-doctor-image{

        width:180px;

    }

    .ma-doctor-name{

        font-size:20px;

    }

    .ma-spesialis,

    .ma-subspesialis{

        font-size:15px;

    }

    .ma-ringkasan{

        font-size:14px;

        line-height:1.7;

    }

    .ma-doctor-section h4{

        font-size:17px;

    }

    .ma-doctor-section li{

        font-size:14px;

        line-height:1.45;

    }

}