/* author sections start */

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

.author-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 0 6px -1px rgba(0, 0, 0, 0.25);
    margin-bottom: 31px !important;
    justify-content: space-evenly;
}

 .written-by .svg-background,  .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; }

 .last-update-icon .updated-text {
    line-height: 24px;
    vertical-align: super;
    color: #333;
}

 .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-container .info {
    min-height: 64px;
    display: flex;
    flex-direction: column;
    font-weight: 500;
}

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


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

 .last-update {
   font-size:14px;
   color: #04306F;
   text-align: center;
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 0px;
   flex-direction: column;
   line-height: 18px;
}

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

.modified_part,  .modified_full {font-weight: 700;}

 .readtime {
   font-size:14px;
   color: #333;
   display: flex;
   justify-content: center;
   align-items: center;
   line-height: 0;
   gap: 8px;
}

 .extra-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.author-container .extra-info .seperate {margin: 5px 24px;}

.author-container .authors, .author-container .extra-info {
    padding: 8px;
}

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

@media (min-width: 390px) {
     .last-update {
        flex-direction: row;
        gap: 8px;
    }
}

@media (min-width: 420px) {
    .last-update,.readtime {
       display:flex;
       align-items:center;
       line-height: 0px;
   }

     .extra-info {
        flex-direction: row;
        justify-content: center;
        gap: 24px;
    }

     .last-update-icon .updated-text {vertical-align:top}
}

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

@media (min-width: 768px) {
     .last-update-icon {align-items: center;}

     .written-by {
        flex-wrap: wrap;
        flex-grow: 1;
    }

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

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

     .extra-info {
        flex-wrap: wrap;
        gap: 16px;
        border: none;
        margin-top: 0;
        padding-top: 0;
        /* flex-grow: 1; */
    }

     .last-update {
        flex-direction: column;
        justify-content: center;
        gap: 0;
        margin-top: 0;
        /* flex-grow: 1; */
        line-height: 18px;
    }

     .extra-info .seperate,  .author-container .seperate {
        display: none;
    }

     .readtime-icon {text-align: center;}

     .readtime {
        flex-direction:column;
        line-height: initial;
        /* flex-grow: 1; */
        gap: 0;
    }

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

    .author-container .authors, .author-container .extra-info {padding:8px 16px}
}

@media (min-width: 1024px) {
     .written-by,
     .item-1.review-by,
     .extra-info .seperate,  .author-container .seperate {display:flex;}
     .extra-info {gap: 48px;justify-content: space-around;flex-direction: row;width: 33%;}
     .last-update .modified_part {display: none;}
     .last-update .modified_full {display: inline;}
     .readtime {flex-direction: row;gap: 8px;}
     .author-container .authors, .author-container .extra-info {padding:8px 16px; flex-grow:1;}
}

@media (min-width: 1440px) {
     .last-update {flex-direction:row; gap:8px}
     .last-update-icon .updated-text {vertical-align: super;}
}

/* author sections end */