/**
 * ==========================================================================
 * MultiPress Health Medical Portal
 * ==========================================================================
 */

.mp-health{
    margin:70px 0;
    background:#f7fbfc;
    border:1px solid #d9eef2;
    border-radius:18px;
    padding:35px;
}

/*==================================================
HEADER
==================================================*/

.mp-health__header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
}

.mp-health__title{
    display:inline-flex;
    align-items:center;
    background:linear-gradient(135deg,#009688,#26A69A);
    color:#fff;
    padding:14px 40px;
    border-radius:12px;
    font-size:28px;
    font-weight:700;
}

.mp-health__more{
    color:#009688;
    text-decoration:none;
    font-weight:700;
}

.mp-health__more:hover{
    color:#1976D2;
}

/*==================================================
DASHBOARD
==================================================*/

.mp-health-dashboard{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:30px;
    margin-bottom:35px;
}

/*==================================================
FEATURED
==================================================*/

.mp-health-featured{
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 10px 28px rgba(0,0,0,.08);
}

.mp-health-featured__image{
    display:block;
    position:relative;
}

.mp-health-featured__image img{
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
    transition:.35s;
}

.mp-health-featured:hover img{
    transform:scale(1.05);
}

.mp-health-badge{
    position:absolute;
    top:20px;
    left:20px;
    background:#009688;
    color:#fff;
    padding:8px 16px;
    border-radius:30px;
    font-size:11px;
    font-weight:700;
}

.mp-health-featured__content{
    padding:28px;
}

.mp-health-featured h3{
    margin:0 0 16px;
    font-size:2rem;
    line-height:1.3;
}

.mp-health-featured h3 a{
    color:#222;
    text-decoration:none;
}

.mp-health-featured h3 a:hover{
    color:#009688;
}

.mp-health-featured p{
    color:#555;
    line-height:1.8;
}

.mp-health-meta{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    margin-top:18px;
    color:#666;
    font-size:.9rem;
}

/*==================================================
HEALTH ALERTS
==================================================*/

.mp-health-sidebar{
    background:#fff;
    border-radius:16px;
    padding:24px;
    box-shadow:0 4px 15px rgba(0,0,0,.05);
}

.mp-health-sidebar h3{
    margin:0 0 20px;
    color:#1976D2;
}

.mp-health-alert{
    display:flex;
    gap:14px;
    margin-bottom:18px;
    padding-bottom:18px;
    border-bottom:1px solid #ececec;
}

.mp-health-alert:last-child{
    margin-bottom:0;
    border-bottom:none;
}

.mp-health-alert__thumb{
    width:105px;
    flex-shrink:0;
    overflow:hidden;
    border-radius:8px;
}

.mp-health-alert__thumb img{
    width:100%;
    height:78px;
    object-fit:cover;
}

.mp-health-alert h4{
    margin:0 0 8px;
    font-size:1rem;
    line-height:1.4;
}

.mp-health-alert h4 a{
    color:#222;
    text-decoration:none;
}

.mp-health-alert h4 a:hover{
    color:#009688;
}

.mp-health-alert span{
    color:#777;
    font-size:.82rem;
}

/*==================================================
WELLNESS TIPS
==================================================*/

.mp-health-tips{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin:35px 0;
}

.mp-health-tip{
    background:#fff;
    border-top:4px solid #26A69A;
    padding:22px;
    border-radius:12px;
    text-align:center;
    box-shadow:0 4px 14px rgba(0,0,0,.05);
}

.mp-health-tip i{
    font-size:34px;
    color:#009688;
    margin-bottom:14px;
}

.mp-health-tip strong{
    display:block;
    margin-bottom:10px;
    color:#222;
}

.mp-health-tip span{
    color:#666;
    font-size:.9rem;
    line-height:1.6;
}

/*==================================================
ADVERTISEMENT
==================================================*/

.mp-health-ad{
    margin:35px 0;
}

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

.mp-health-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:22px;
}

.mp-health-card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 5px 16px rgba(0,0,0,.06);
    transition:.3s;
}

.mp-health-card:hover{
    transform:translateY(-5px);
}

.mp-health-card img{
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
}

.mp-health-card__content{
    padding:18px;
}

.mp-health-card__label{
    display:inline-block;
    background:#26A69A;
    color:#fff;
    padding:5px 12px;
    border-radius:30px;
    font-size:11px;
    font-weight:700;
    margin-bottom:12px;
}

.mp-health-card h4{
    margin:0 0 14px;
    font-size:1.05rem;
    line-height:1.45;
}

.mp-health-card h4 a{
    color:#222;
    text-decoration:none;
}

.mp-health-card h4 a:hover{
    color:#009688;
}

.mp-health-card__meta{
    display:flex;
    justify-content:space-between;
    color:#777;
    font-size:.82rem;
}

/*==================================================
FOOTER
==================================================*/

.mp-health-footer{
    margin-top:40px;
    text-align:center;
}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:1200px){

    .mp-health-dashboard{
        grid-template-columns:1fr;
    }

    .mp-health-tips{
        grid-template-columns:repeat(2,1fr);
    }

    .mp-health-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .mp-health{
        padding:20px;
    }

    .mp-health-tips{
        grid-template-columns:1fr;
    }

    .mp-health-grid{
        grid-template-columns:1fr;
    }

    .mp-health-featured h3{
        font-size:1.5rem;
    }

    .mp-health__title{
        font-size:22px;
        padding:12px 24px;
    }

}
