/* Expert bio */
.expert-container {
    max-width: 1100px;
    width: 90vw;
    background-color: #fff;
    padding: 2rem;
    margin: auto;
    display: flex;
    -webkit-box-shadow: 0px 0px 3px 3px rgb(0 0 0 / 4%);
    box-shadow: 0px 0px 3px 3px rgb(0 0 0 / 4%);
    border: 1px solid #D6D6D6;
    transition: 0.2s;
    margin: 2rem auto 2rem auto;
    flex-direction: column;
}


.expert-container a {
    text-decoration: none;
}

.expert-container h2{
    margin: 0;
    font-size: 1.5rem;
}

.expert-container .info-container {
    display: flex;
    border-bottom: 1px solid #EFEDED;
    padding-bottom: 0.5rem;
}

.expert-container .name-title-container {
    width: 100%;
}

.expert-container .title-social-container {
    display: flex;
    justify-content: space-between;
}

.expert-container .title-social-container p{
    margin-top: 0.3rem;
    color: #B5B5B5;
    font-weight: 300;
}

.expert-container .title-social-container img {
    height: 20px;
}

.expert-container .bio-container p {
    margin-bottom: 0;
}

.expert-container .image-container {
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}

.expert-container .image-container img {
    width: 100%;
    max-width: 120px;
}


.expert-post-container {
    max-width: 1100px;
    width: 90vw;
    margin: auto;
    margin-top: 2rem;
}

.our-experts-container {
    max-width: 1100px;
    width: 90vw;
    margin: auto;
    margin-bottom: -1rem;
    margin-top: 2rem;
}

@media only screen and (max-width: 880px) {
    .expert-container {
        flex-direction: column;
    }
}

@media only screen and (max-width: 690px) {
    .expert-container .title-social-container {
        flex-direction: column;
        padding-bottom: 1rem;
    }

    .expert-container .title-social-container p {
        margin-top: 0;
        margin-bottom: 8px;
    }

    .expert-container .info-container {
        flex-direction: column;
    }

    .expert-container .image-container {
        margin-bottom: 1rem;
    }
}

/* Expert articles */
.expert-article a {
    text-decoration: none;
}

.expert-post-container h2 {
    font-weight: 700;
}

.expert-article__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.expert-article {
    padding: 16px;
    box-shadow: 0px 0px 3px 3px rgb(0 0 0 / 4%);
    background-color: #fff;
    border: 1px solid #D6D6D6;
    transition: 0.2s;
}

.expert-article:hover {
    box-shadow: 0px 0px 7px 7px rgb(0 0 0 / 5%);
}

.expert-article__upper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.expert-article__upper img{
    width: 210px;
    height: 90px;
}

.category-container span{
    font-size: 14px;
    color: #B5B5B5;
}

.expert-article__title{
    font-weight: 700;
}

.expert-article__excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: #808080;
    font-weight: 300;
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid #EFEDED;
}

@media only screen and (max-width: 980px) {
    .expert-article__upper {
        flex-direction: column-reverse;
    }

    .expert-article__upper img{
        width: 100%;
        height: auto;
    }
}

@media only screen and (max-width: 620px) {
    .expert-article__container {
        grid-template-columns: repeat(1, 1fr);
    }

    .expert-article__upper {
        flex-direction: row;
    }

    .expert-article__upper img{
        width: 210px;
        height: 90px;
    }
}
