/* author-bio sections start */

.author-bio-container {
    background-color: #f4f6fa;
    margin-top: 50px;
    padding:31px;
}

 .authors-bio {
  display: flex;
  flex-direction:column;
  gap:24px;
}

.authors-bio p, .author-bio-container .experts-shield, .author-bio-container .experts-shield a {
    font-size: 14px;
}

.author-bio-container .review-by a, .author-bio-container .info a  {
    color: #04306F;
    text-decoration: underline;
}

.authors-bio p {margin: 24px 0;}

.experts-shield p {
    margin: 0;
}

.author-bio-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    border-radius: 4px;
    background: #F6F7F9;
    justify-content: space-evenly;
}

 .authors-bio .written-by .svg-background, .authors-bio .review-by .svg-background {
  min-width: 64px;
  min-height: 64px;
  background: url(https://res.cloudinary.com/dttwa61aq/image/upload/c_scale,w_64/v1759315072/all_clear_uk/experts/default_anonymous.png);
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 150px;
}

 .written-by .info:before { content: "Written by"; display:block; }
 .review-by .info:before { content: "Medically reviewed by"; display:block; }

 .written-by .info:before,
 .review-by .info:before,
 .written-by .info .role,
 .review-by .info .role {
    color: #333;
    font-family: Roboto, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    vertical-align: super;
}

 .author-bio-container .info {
    min-height: 64px;
    display: flex;
    flex-direction: column;
    font-weight: 500;
}

 .info .name {
    margin-top: 8px;
}


 .authors-bio .written-by, .authors-bio .review-by {
  display:flex;
  align-items: center;
  flex-wrap: wrap;
  /* gap: 8px; */
  justify-content: flex-start;
}

.author-bio-container .authors a {color: #04306F; text-decoration: underline;}
.author-bio-container .authors a:hover {text-decoration: none;}

.flex-center {
    display: flex;
    align-items: center;
    height: 30px;
    gap: 8px;
}

.author-bio-container .experts-shield {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 0px !important;
}

.author-bio-container .experts-shield img {
    width: 18px;
    height: 18px;
}

@media ( min-width: 470px  ) {
    
     .authors {
        flex-direction:row;
        gap: 8px;
        align-items: center;
        align-content: center;
        justify-content: flex-start;
    }
}

@media (min-width: 768px) {
     .written-by {
        flex-wrap: wrap;
        /* flex-grow: 1; */
    }

     .author-bio-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

     .review-by {
        flex-wrap: wrap;
        margin-top: 0;
        flex-grow: 1;
    }

     .authors {
        display: flex;
        flex-direction: row;
        gap: 8px;
        flex-grow: 1;
    }

    .author-bio-container .authors {padding:8px 16px}
}

@media (min-width: 1024px) {
     .written-by,
     .item-1.review-by {display:flex;}
}

/* author-bio sections end */