.atrfm-main {
  margin-left: 670px;
  flex: 1;
  min-height: 100vh;
}

.atrfm-main>.atrfm-article {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100vh - 1016px);
  /* width: calc(100% - 240px); */
  padding: 30px 30px 60px 30px;
  margin-bottom: 1016px;
  background: #00140b 0% 0% no-repeat padding-box;
  border-radius: 0px 0px 0px 60px;
}

.atrfm-main>.atrfm-article>.mw-article-img-box {
  position: relative;
  margin-bottom: 36px;
}

.atrfm-main>.atrfm-article>.mw-article-img-box img {
  max-width: 870px;
  width: 100%;
  height: 460px;
  border-radius: 20px;
  object-fit: cover;
}

.atrfm-main>.atrfm-article>.mw-article-img-box .mw-image-author {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 4px 12px;
  width: fit-content;
  font-family: "RedHatDisplay-Regular";
  font-size: 12px;
  line-height: 16px;
  font-weight: normal;
  color: #ffffff;
  border-radius: 32px;
  background: hsla(0, 0%, 2%, 0.45) 0% 0% no-repeat padding-box;
  border-radius: 32px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 999;
}

.atrfm-main>.atrfm-article>.mw-article-img-box .main-article-photo {
  width: 100%;
  max-width: 870px;
  height: 460px;
  border-radius: 20px;
  object-fit: cover;
}

.atrfm-main>.atrfm-article>p {
  width: 100%;
  max-width: 810px;
  font-family: "RedHatDisplay-Regular";
  font-size: 22px;
  font-weight: normal;
  line-height: 34px;
  margin-bottom: 36px;
  opacity: 0.85;
}

.atrfm-main>.atrfm-article>.article-header {
  position: fixed;
  display: flex;
  flex-direction: column;
  gap: 12px;
  top: 219px;
  left: 60px;
  max-width: 550px;
  z-index: 2;
}

.atrfm-main>.atrfm-article>.article-header>h1 {
  font-family: "RedHatDisplay-Regular";
  font-size: 46px;
  line-height: 52px;
  font-weight: normal;
}

.atrfm-main>.atrfm-article>.article-header>.article-share {
  display: flex;
  align-items: center;
  gap: 26px;
}

.atrfm-main>.atrfm-article>.article-header>.article-share>p {
  font-family: "RedHatDisplay-Regular";
  font-size: 16px;
  line-height: 20px;
  font-weight: normal;
  color: #ffffff;
  opacity: 0.8;
}

.atrfm-main>.atrfm-article>.article-header>.article-share>div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.atrfm-main>.atrfm-article>.article-header>.article-share>div>img {
  width: 38px;
  height: 38px;
}

.atrfm-main>.atrfm-article>.article-header>.article-share>div>span {
  font-family: "RedHatDisplay-Bold";
  font-size: 16px;
  line-height: 22px;
  font-weight: bold;
  color: #ffffff;
}

/* Artigos relacionados  */
.atrfm-relacionados {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  max-width: 810px;
}

.atrfm-relacionados>h2 {
  font-family: "RedHatDisplay-Bold";
  font-size: 22px;
  line-height: 29px;
  font-weight: bold;
  text-transform: uppercase;
}

.atrfm-relacionados>.related-articles-list {
  display: flex;
  gap: 60px;
  width: 100%;
  justify-content: space-between;
}
.atrfm-relacionados>.related-articles-list>article {
  position: relative;
  width: 100%;
  height: 100%;
}
.atrfm-relacionados>.related-articles-list>article>a {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.atrfm-relacionados>.related-articles-list>article>a>span {
  font-family: "RedHatDisplay-Bold";
  font-size: 14px;
  line-height: 18px;
  font-weight: bold;
  color: #009640;
}

.atrfm-relacionados>.related-articles-list>article>a>h2 {
  font-family: "RedHatDisplay-Regular";
  font-size: 32px;
  line-height: 38px;
  font-weight: normal;
  min-height: 114px;
}

.atrfm-relacionados>.related-articles-list>article>a>figure {
  position: relative;
  width: 100%;
  max-width: 375px;
  height: 295px;
  overflow: hidden;
  border-radius: 15px;
}
.atrfm-relacionados>.related-articles-list>article>a>figure>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.atrfm-relacionados>.related-articles-list>article>article>figure>.related-article-img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
}

.atrfm-relacionados>.related-articles-list>article>a>figure>.share-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 40px;
}
.atrfm-relacionados>.related-articles-list>article>button{
  position: absolute;
  right: 0;
  bottom: 0;
  cursor: pointer;
}
.share-icon > .share-modal {
  display: none;
  position: absolute;
  bottom: 10px;
  right: 65px;
  border-radius: 10px;
  background-color: #015b32;
  align-items: center;
  border: 1px solid #009640;
  gap: 10px;
  padding: 10px;
  box-shadow: 0px 10px 10px #0000001A;
  z-index: 999;
}
.share-icon > .share-modal > a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.share-icon > .share-modal > a:nth-child(1) {
  background-color: #28A745;
}
.share-icon > .share-modal > a:nth-child(2) {
  background-color: #4165AF;
}
.share-icon > .share-modal > a:nth-child(3) {
  background-color: #000000;
}
.share-icon > .share-modal > a:nth-child(4) {
  background-color: #3321A8;
}
.share-icon > .share-modal.active {
  display: flex;
}
@media (max-width: 1400px) {
  .atrfm-main {
    margin-left: 400px;
  }

  .atrfm-main>.atrfm-article>.article-header {
    gap: 30px;
  }

  .atrfm-main>.atrfm-article>.article-header>h1 {
    width: 300px;
    font-size: 32px;
    line-height: 34px;
  }

  .atrfm-main>.atrfm-article>.article-header>.article-share {
    flex-direction: column;
    align-items: start;
    width: 300px;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .atrfm-main {
    margin-left: 0;
  }

  .atrfm-main>.atrfm-article {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: none;
    padding: 20px;
    margin-bottom: 0;
    background: #00140b 0% 0% no-repeat padding-box;
    border-radius: 0px;
  }

  .atrfm-main>.atrfm-article>.article-header {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: none;
    margin-bottom: 25px;
  }

  .atrfm-main>.atrfm-article>.mw-article-img-box img {
    height: 169px;
    border-radius: 12px;
  }

  .atrfm-main>.atrfm-article>.article-header>h1 {
    font-size: 30px;
    line-height: 34px;
    text-align: center;
    width: fit-content;
  }

  .atrfm-main>.atrfm-article>.article-header>.article-share {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: fit-content;
  }

  .atrfm-main>.atrfm-article>.article-header>.article-share>p {
    font-size: 12px;
    line-height: 16px;
  }

  .atrfm-main>.atrfm-article>.article-header>.article-share>div {
    gap: 6px;
  }

  .atrfm-main>.atrfm-article>.article-header>.article-share>div>img {
    width: 30px;
    height: 30px;
  }

  .atrfm-main>.atrfm-article>.article-header>.article-share>div>span {
    font-size: 12px;
    line-height: 16px;
  }

  .atrfm-main>.atrfm-article>.mw-article-img-box {
    position: relative;
    margin-bottom: 32px;
    width: 100%;
  }

  .atrfm-main>.atrfm-article>.mw-article-img-box .main-article-photo {
    max-width: none;
    height: 169px;
    border-radius: 12px;
  }

  .atrfm-main>.atrfm-article>p {
    max-width: none;
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 32px;
  }

  /* Artigos relacionados  */
  .atrfm-relacionados {
    gap: 24px;
    max-width: none;
    margin-bottom: 20px;
  }

  .atrfm-relacionados>h2 {
    font-size: 18px;
    line-height: 23px;
  }

  .atrfm-relacionados>.related-articles-list {
    flex-direction: column;
    gap: 24px;
  }

  .atrfm-relacionados>.related-articles-list>article>a {
    gap: 6px;
  }

  .atrfm-relacionados>.related-articles-list>article>a>h2 {
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 12px;
    min-height: 84px;
  }

  .atrfm-relacionados>.related-articles-list>article>a>figure {
    max-width: none;
    height: 252px;
  }
}