/*
|--------------------------------------------------------------------------
| Shortcode cards
|--------------------------------------------------------------------------
*/
.kmg-instructor-card-top {

    background-color: black;

    display: flex;

    flex-direction: row;

    height: 220px!important;

    border-radius: 8px 8px 0px 0px;
}

.kmg-instructor-col-left {
    background-color: white;
    width :75%;
    border-radius: 8px 0px 0px 0px;
}

.kmg-instructor-col-right{
    width :25%;
    padding: 3%;
    display: flex;
    flex-direction: column;
}

.kmg-instructor-col-left img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    border-radius: 8px 0px 0px 0px;

}
.kmg-instructor-icon-kmg {
    margin-bottom: 1%;
}

.kmg-instructor-country-flag {
    margin-bottom: 10px;
}

.kmg-instructor-grade img {
    width:100%;
    height: 100%;
    object-fit:contain;
}
/*
|--------------------------------------------------------------------------
| Détail Profile
|--------------------------------------------------------------------------
*/

.kmg-profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow:
            0 8px 25px rgba(0,0,0,0.6),
            0 0 12px rgba(225,140,8,0.25);
}
.kmg-profile-photo {
    width: 35%;
}
.kmg-profile-info {
    width: 40%;
}
.kmg-role {
    width : 100%;
}
.kmg-instructor-role p{
    background-color: #E18C08;
    color: #ffffff;
    width: fit-content;
    padding: 5px 15px 8px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}
.kmg-profile-grades {
    display: flex;
    gap: 20px;
    width: 25%;
}
.kmg-profile-grades p {
    color: #000000;
    font-size: 18px;
    font-weight: bold;
}
.kmg-grade-card {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
}
.kmg-profile-content {
    display: flex;
    flex-wrap:wrap;
    gap: 30px;
    width: 100%;
}
.kmg-profile-infos-grades, .kmg-profile-infos-specif, .kmg-profile-infos-bio, .kmg-profile-infos-club {
    flex:1;
    width: 50%;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow:
            0 8px 25px rgba(0,0,0,0.6),
            0 0 12px rgba(225,140,8,0.25);
}
.kmg-profile-title {
    border-bottom :1px solid var(--kmg-border);
    margin-bottom: 15px;
    display: flex;
}
.kmg-profile-info i, .kmg-profile-title i {
    color: #E18C08;
    margin-right: 10px;
    font-size: 20px;
}
.kmg-email a, .kmg-phone a, .kmg-profile-infos-club a {
    color: #E18C08;
}
.kmg-social{
    display:flex;
    gap:15px;
    align-items:center;
    margin-top: 20px;
}

.kmg-social-link i {
    font-size:25px;
    color:#ffffff;
    margin-right: 0px;
}

.kmg-social-link{
    width : 40px;
    height: 40px;
    display:flex;
    align-items:center;
    justify-content: center;
    background-color: #E18C08;
    text-decoration:none;
    transition:all .3s ease;
    border-radius: 8px;
}

@media (max-width: 980px){

    .kmg-instructor-card-top {
        height: 190px!important;
    }

}

@media (max-width:767px){

    .kmg-profile-header{

        flex-direction:column;

        text-align:center;

    }

    .kmg-profile-photo{

        width:100%;

    }

    .kmg-profile-photo img{

        max-width:280px;

        margin:auto;

        display:block;

    }

    .kmg-profile-info{

        width:100%;

    }
    .kmg-instructor-card-top {
        height: 270px!important;
    }

}