.banner {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-wrap: nowrap;
  align-items: flex-start;
  row-gap: 16px;
  gap: 16px;
}

.banner-return {
  display: flex;
  align-items: center;
  -moz-column-gap: 8px;
  column-gap: 8px;
  gap: 8px;
}

.banner-return-button {
  padding: 6px 9px 6px 7px;
  border-radius: 100%;
  background: #fff;
  border: none;
  cursor: pointer;
}

.banner-return-icon {
  width: 4px;
  height: 8px;
  stroke: #282727;
  fill: transparent;
}

.banner-return-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #282727;
}

.banner-content {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

.banner-info {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  gap: 20px;
}

.banner-title {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
  gap: 8px;
  max-width: 566px;
  position: absolute;
  top: 0;
  left: 0;
  font-weight: 500;
  font-size: 40px;
  line-height: 100%;
  color: #282727;
}

.banner-title-highlighted {
  font-weight: 500;
  font-size: 56px;
  line-height: 64px;
  color: #b52e51;
}

.banner-about {
  max-width: 564px;
  position: absolute;
  bottom: 32px;
  left: 32px;
  display: flex;
  flex-direction: column;
  row-gap: 14px;
  gap: 14px;
}

.banner-about-title {
  font-weight: 500;
  font-size: 28px;
  line-height: 100%;
  color: #fff;
}

.banner-about-desc {
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  color: #fff;
}

.banner-topics {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 464px;
  display: flex;
  flex-direction: column;
  row-gap: 8px;
  gap: 8px;
}

.banner__topics__row {
  width: 100%;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  display: flex;
  align-items: center;
  -moz-column-gap: 8px;
  column-gap: 8px;
  gap: 8px;
}

.banner__topics__row::-webkit-scrollbar {
  display: none;
}

.banner__topics__row.active {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.banner__topics__row.active .banner-topics-link {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.banner-topics-link {
  padding: 11px 16px;
  border-radius: 8px;
  background: #1e3839;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #fff;
  white-space: nowrap;
  text-decoration: none;
}

.banner-image {
  display: none;
  width: 100%;
  /* clip-path: polygon(50% 0%, 100% 0, 100% 39%, 100% 81%, 65% 81%, 65% 100%, 0 100%, 0 32%, 41% 31%, 41% 0); */
}

.banner-image-desktop {
  width: 100%;
  height: 100%;
}

.banner-image img {
  width: 100%;
  border-radius: 16px;
}

@media screen and (max-width: 1440px) {
  .banner-title {
    max-width: 500px;
    font-size: 38px;
  }

  .banner-title-highlighted {
    margin-bottom: 8px;
    font-size: 50px;
    line-height: 58px;
  }

  .banner-about {
    max-width: 500px;
    bottom: 32px;
    left: 32px;
    row-gap: 14px;
    gap: 14px;
  }

  .banner-about-title {
    font-size: 26px;
  }

  .banner-about-desc {
    font-size: 16px;
  }

  .banner-topics {
    max-width: 400px;
  }
}

@media screen and (max-width: 1220px) {
  .banner-title {
    max-width: 440px;
    font-size: 32px;
  }

  .banner-title-highlighted {
    margin-bottom: 8px;
    font-size: 42px;
    line-height: 50px;
  }

  .banner-about {
    max-width: 440px;
    bottom: 24px;
    left: 24px;
    row-gap: 10px;
    gap: 10px;
  }

  .banner-about-title {
    font-size: 24px;
  }

  .banner-about-desc {
    font-size: 14px;
  }

  .banner-topics {
    max-width: 340px;
    row-gap: 6px;
    gap: 6px;
  }

  .banner__topics__row {
    -moz-column-gap: 6px;
    column-gap: 6px;
    gap: 6px;
  }

  .banner-topics-link {
    padding: 8px 13px;
  }
}

@media screen and (max-width: 1024px) {
  .banner {
    padding: 0 15px;
  }

  .banner-content {
    justify-content: center;
    -moz-column-gap: 15px;
    column-gap: 15px;
    gap: 15px;
  }

  .banner-title {
    position: static;
    max-width: 330px;
    font-size: 24px;
  }

  .banner-title-highlighted {
    font-size: 32px;
    line-height: 100%;
  }

  .banner-about {
    max-width: 358px;
    position: static;
  }

  .banner-about-title {
    font-size: 18px;
    color: #282727;
  }

  .banner-about-desc {
    font-size: 14px;
    color: #282727;
  }

  .banner-topics {
    position: static;
    max-width: 364px;
  }

  .banner__topics__row {
    -moz-column-gap: 8px;
    column-gap: 8px;
    gap: 8px;
  }

  .banner-topics-link {
    padding: 11px 16px;
  }

  .banner-image-desktop {
    display: none;
  }

  .banner-image {
    display: block;
    max-width: 360px;
  }
}

@media screen and (max-width: 768px) {
  .banner-content {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    row-gap: 20px;
    gap: 20px;
  }

  .banner-title {
    position: static;
    max-width: 100%;
  }

  .banner-about {
    max-width: 100%;
    position: static;
  }

  .banner-topics {
    position: static;
    max-width: 92.4vw;
  }

  .banner-image {
    max-width: 100%;
  }
}

.best {
  margin-top: 60px;
  padding: 32px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  row-gap: 32px;
  gap: 32px;
}

.best-title {
  font-weight: 500;
  font-size: 56px;
  line-height: 64px;
  color: #282727;
}

.best-cards {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 320px 320px;
  grid-template-columns: 1fr 1fr 320px 320px;
  -ms-grid-rows: auto auto;
  grid-template-rows: auto auto;
  -ms-grid-row-align: start;
  grid-template-areas:
    "a a b c"
    "a a d e";
  row-gap: 20px;
  -moz-column-gap: 20px;
  column-gap: 20px;
  gap: 20px;
}

.best-card {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  gap: 16px;
}

.best-card:nth-child(1) {
  -ms-grid-row: 1;
  -ms-grid-row-span: 2;
  -ms-grid-column: 1;
  -ms-grid-column-span: 2;
  grid-area: a;
}

.best-card:nth-child(2) {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
  grid-area: b;
}

.best-card:nth-child(3) {
  -ms-grid-row: 1;
  -ms-grid-column: 4;
  grid-area: c;
}

.best-card:nth-child(4) {
  -ms-grid-row: 2;
  -ms-grid-column: 3;
  grid-area: d;
}

.best-card:nth-child(5) {
  -ms-grid-row: 2;
  -ms-grid-column: 4;
  grid-area: e;
}

.best-card-image {
  position: relative;
}

.best-card:nth-child(2) .best-card-image {
  height: 160px;
}

.best-card:nth-child(3) .best-card-image {
  height: 160px;
}

.best-card:nth-child(4) .best-card-image {
  height: 160px;
}

.best-card:nth-child(5) .best-card-image {
  height: 160px;
}

.best-card-image > img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  -o-object-fit: cover;
  object-fit: cover;
}

.best-card-topics {
  cursor: -webkit-grab;
  cursor: grab;
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  -moz-column-gap: 10px;
  column-gap: 10px;
  gap: 10px;
  max-width: calc(100% - 32px);
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.best-card-topics.active {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.best-card-topics.active .best-card-topic {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.best-card-topics::-webkit-scrollbar {
  display: none;
}

.best-card-topic {
  padding: 6px 10px;
  border-radius: 6px;
  background: #fff;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  color: #282727;
  white-space: nowrap;
}

.best-card-like {
  position: absolute;
  bottom: 19px;
  left: 16px;
  padding: 6px 11px;
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  -moz-column-gap: 6px;
  column-gap: 6px;
  gap: 6px;
  cursor: pointer;
  border: none;
  transition: 0.3s ease-in-out;
}

.best-card-like > .best-card-icon {
  width: 20px;
  height: 20px;
  stroke: #b52e51;
  fill: transparent;
  transition: 0.3s ease-in-out;
}

.like-active {
  background: #b52e51;
}

.like-active > .best-card-icon {
  fill: #fff;
  stroke: #fff;
}

.best-card-like span {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #282727;
  transition: 0.3s ease-in-out;
}

.like-active span {
  color: #fff;
}

.best-card-content {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  gap: 16px;
}

.best-card-texts {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
  gap: 5px;
}

.best-card-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  color: #282727;
}

.best-card-desc {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #282727;
}

.best-card-info {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  gap: 16px;
}

.best-card:nth-child(1) .best-card-info {
  flex-direction: row;
  justify-content: space-between;
}

.best-card-author {
  display: flex;
  align-items: center;
  -moz-column-gap: 10px;
  column-gap: 10px;
  gap: 10px;
}

.best-card-avatars {
  display: flex;
  align-items: center;
}

.best-card-avatar {
  min-width: 32px;
  height: 32px;
  -o-object-fit: cover;
  object-fit: cover;
  border: 1px solid #fff;
  border-radius: 100%;
}

.best-card-avatars a:nth-child(2) .best-card-avatar {
  margin-left: -12px;
}

.best-card-avatars a:nth-child(3) .best-card-avatar {
  margin-left: -12px;
}

.best-card-names {
  width: 80%;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  display: flex;
  align-items: center;
  -moz-column-gap: 6px;
  column-gap: 6px;
  gap: 6px;
}

.best-card-names.active {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.best-card-names.active .best-card-topic {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.best-card-names::-webkit-scrollbar {
  display: none;
}

.best-card-name {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #282727;
  white-space: nowrap;
}

.best-card-statistics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  -moz-column-gap: 20px;
  column-gap: 20px;
  gap: 20px;
}

.best-card:nth-child(1) .best-card-statistics {
  justify-content: flex-start;
}

.best-card-statistic {
  display: flex;
  align-items: center;
  -moz-column-gap: 7px;
  column-gap: 7px;
  gap: 7px;
}

.best-card-statistic .best-card-icon {
  width: 16px;
  height: 16px;
  stroke: #aba9a8;
  fill: transparent;
}

.best-card-statistic span {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #282727;
}

@media screen and (max-width: 1440px) {
  .best-title {
    font-size: 50px;
    line-height: 58px;
  }

  .best-cards {
    -ms-grid-columns: 1fr 1fr 240px 240px;
    grid-template-columns: 1fr 1fr 240px 240px;
  }
}

@media screen and (max-width: 1220px) {
  .best-title {
    font-size: 42px;
    line-height: 50px;
  }
}

@media screen and (max-width: 1024px) {
  .best {
    margin-top: 40px;
    padding: 30px 15px;
    row-gap: 30px;
    gap: 30px;
  }

  .best-title {
    font-size: 32px;
    line-height: 100%;
  }

  .best-cards {
    grid-template-columns: repeat(6, 1fr);
    grid-template-areas:
      "a a a b b b"
      "c c d d e e";
  }

  .best-card {
    height: 100%;
  }

  .best-card-content {
    height: 100%;
  }

  .best-card-info {
    margin-top: auto;
  }

  .best-card:nth-child(1) .best-card-info {
    flex-direction: column;
  }

  .best-card-image img {
    height: 160px;
  }

  .best-card:nth-child(1) .best-card-image img {
    height: 160px;
  }
}

@media screen and (max-width: 768px) {
  .best-cards {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    grid-template-areas:
      "a"
      "b"
      "c"
      "d"
      "e";
  }
}

@media screen and (max-width: 480px) {
  .best-cards {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

.highlights {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.highlights-title {
  font-weight: 500;
  font-size: 56px;
  line-height: 64px;
  color: #282727;
}

.highlights-cards {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
}

.highlights-card {
  padding: 16px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.highlights-card-image {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  padding: 10px;
  border-radius: 6px;
  background: #eae2e0;
}

.highlights-card-image img {
  width: 30px;
  height: 30px;
}

.highlights-card-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.highlights-card-text h3 {
  max-width: 238px;
  width: 100%;
}

.highlights-card-text p {
  font-weight: 500;
  font-size: 20px;
  line-height: 20px;
  color: #282727;
}

.highlights-card-text svg {
  width: 30px;
  height: 30px;
  stroke: #656565;
}

.highlights-more {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    #ffffff 76.45%
  );
  padding: 151px 0px 0px 0px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.highlights-more-button {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: transparent;
}

.highlights-more-button span {
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: #000;
}

.highlights-more-button svg {
  width: 24px;
  height: 24px;
  stroke: #282727;
  fill: none;
}

@media screen and (max-width: 1440px) {
  .highlights-title {
    font-size: 50px;
    line-height: 58px;
  }
}

@media screen and (max-width: 1220px) {
  .highlights-title {
    font-size: 42px;
    line-height: 50px;
  }
}

@media screen and (max-width: 1024px) {
  .highlights {
    margin-top: 40px;
    padding: 0 15px;
    gap: 30px;
  }

  .highlights-title {
    font-size: 32px;
    line-height: 100%;
  }

  .highlights-cards {
    grid-template-areas: none;
    grid-template-columns: 1fr 1fr;
  }

  .highlights-card {
    grid-area: auto !important;
  }

  .highlights-card-text svg {
    width: 24px;
    height: 24px;
  }

  /* .highlights-more {
    display: block;
  } */
}
#modal-image-body img {
  transition: transform 0.2s ease;
  transform-origin: center center;
  cursor: zoom-in;
}
/* Убедись, что img может масштабироваться и перемещаться */
.modal-image-body img {
  transition: transform 0.2s ease;
  transform-origin: center center;
  touch-action: none; /* отключаем двойной tap и zoom браузера */
  cursor: grab;
}

@media screen and (max-width: 768px) {
  .highlights-cards {
    grid-template-columns: 1fr;
  }
}

.articles {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 0;
}

.articles-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.articles-block {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.articles-topic {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.articles-topic-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.articles-topic-link {
  display: flex;
  align-items: center;
  gap: 30px;
}

.articles-topic-title {
  font-weight: 500;
  font-size: 56px;
  line-height: 64px;
  color: #282727;
}

.articles-topic-icon {
  width: 30px;
  height: 30px;
  stroke: #282727;
}

.articles-topic-button {
  padding: 10px 16px;
  border-radius: 6px;
  background: #e8b24e;
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  color: #fff;
  white-space: nowrap;
}

.articles-topic-content {
  padding: 32px;
  border-radius: 16px;
  background: #fff;
  display: grid;
  grid-template-areas: "a a a b";
  gap: 20px;
}

.articles-cards {
  grid-area: a;
  display: grid;
  grid-template-columns: 324px 324px 324px;
  gap: 20px;
}

.articles-card {
  padding-right: 20px;
  box-sizing: content-box;
  border-right: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  gap: 16px;
}

.articles-card-image {
  height: 160px;
  position: relative;
}

.articles-card-image > img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  -o-object-fit: cover;
  object-fit: cover;
}

.articles-card-topics {
  cursor: -webkit-grab;
  cursor: grab;
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  -moz-column-gap: 10px;
  column-gap: 10px;
  gap: 10px;
  max-width: calc(100% - 32px);
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.articles-card-topics.active {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.articles-card-topics.active .articles-card-topic {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.articles-card-topics::-webkit-scrollbar {
  display: none;
}

.articles-card-topic {
  padding: 6px 10px;
  border-radius: 6px;
  background: #fff;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  color: #282727;
  white-space: nowrap;
}

.articles-card-like {
  position: absolute;
  bottom: 19px;
  left: 16px;
  padding: 6px 11px;
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  -moz-column-gap: 6px;
  column-gap: 6px;
  gap: 6px;
  cursor: pointer;
  border: none;
  transition: 0.3s ease-in-out;
}

.articles-card-like > .articles-card-icon {
  width: 20px;
  height: 20px;
  stroke: #b52e51;
  fill: transparent;
  transition: 0.3s ease-in-out;
}

.like-active {
  background: #b52e51;
}

.like-active > .articles-card-icon {
  fill: #fff;
  stroke: #fff;
}

.articles-card-like span {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #282727;
  transition: 0.3s ease-in-out;
}

.like-active span {
  color: #fff;
}

.articles-card-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  gap: 16px;
}

.articles-card-texts {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
  gap: 5px;
}

.articles-card-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  color: #282727;
}

.articles-card-desc {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #282727;
}

.articles-card-info {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  gap: 16px;
}

.articles-card:nth-child(1) .articles-card-info {
  justify-content: space-between;
}

.articles-card-author {
  display: flex;
  align-items: center;
  -moz-column-gap: 10px;
  column-gap: 10px;
  gap: 10px;
}

.articles-card-avatars {
  display: flex;
  align-items: center;
}

.articles-card-avatar {
  min-width: 32px;
  height: 32px;
  -o-object-fit: cover;
  object-fit: cover;
  border: 1px solid #fff;
  border-radius: 100%;
}

.articles-card-avatars a:nth-child(2) .articles-card-avatar {
  margin-left: -12px;
}

.articles-card-avatars a:nth-child(3) .articles-card-avatar {
  margin-left: -12px;
}

.articles-card-names {
  width: 80%;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  display: flex;
  align-items: center;
  -moz-column-gap: 6px;
  column-gap: 6px;
  gap: 6px;
}

.articles-card-names.active {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.articles-card-names.active .articles-card-topic {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.articles-card-names::-webkit-scrollbar {
  display: none;
}

.articles-card-name {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #282727;
  white-space: nowrap;
}

.articles-card-statistics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  -moz-column-gap: 20px;
  column-gap: 20px;
  gap: 20px;
}

.articles-card:nth-child(1) .articles-card-statistics {
  justify-content: flex-start;
}

.articles-card-statistic {
  display: flex;
  align-items: center;
  -moz-column-gap: 7px;
  column-gap: 7px;
  gap: 7px;
}

.articles-card-statistic .articles-card-icon {
  width: 16px;
  height: 16px;
  stroke: #aba9a8;
  fill: transparent;
}

.articles-card-statistic span {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #282727;
}

.articles-join {
  grid-area: b;
  padding: 16px;
  border-radius: 10px;
  background: #f4f4f6;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 20px;
  height: auto;
  /* height: -webkit-max-content; */
  /* height: -moz-max-content; */
}

/* @supports (height: 100%) {
  .articles-join,
  .mg-article-card {
    height: 100%;
  }
} */

.articles-join-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.articles-join-avatar {
  width: 70px;
  height: 70px;
  border: 2px solid #282727;
  border-radius: 100%;
}

.articles-join-name {
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  color: #282727;
}

.articles-join-profession {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #282727;
}

.articles-join-content {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.articles-join-title {
  font-weight: 500;
  font-size: 34px;
  line-height: 100%;
  color: #282727;
}

.articles-join-title span {
  color: #b52e51;
}

.articles-button {
  width: 100%;
  padding: 6px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  background: #b52e51;
}

.articles-button span {
  margin-left: auto;
  font-weight: 600;
  font-size: 28px;
  line-height: 100%;
  color: #fff;
}

.articles-button-icon {
  margin-left: auto;
  padding: 19px;
  border-radius: 6px;
  background: #fff;
}

.articles-button-icon svg {
  width: 15px;
  height: 15px;
  stroke: #b52e51;
  fill: none;
}

.join {
  padding: 32px;
  border-radius: 16px;
  background: #1e3839;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.join-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.join-title {
  font-weight: 500;
  font-size: 28px;
  line-height: 100%;
  color: #fff;
}

.join-desc {
  max-width: 455px;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #fff;
}

.join-button {
  max-width: 648px;
  width: 100%;
  padding: 6px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  background: #fff;
}

.join-button span {
  margin-left: auto;
  font-weight: 600;
  font-size: 28px;
  line-height: 100%;
  color: #282727;
}

.join-button-icon {
  margin-left: auto;
  padding: 19px;
  border-radius: 6px;
  background: #b52e51;
}

.join-button-icon svg {
  width: 15px;
  height: 15px;
  stroke: #fff;
  fill: none;
}

.left-orientation .articles-topic-content {
  grid-template-areas: "b a a a";
}

.left-orientation > .articles-topic-content > .articles-cards > .articles-card {
  padding-right: 0;
  border-right: none;
  padding-left: 20px;
  border-left: 1px solid #e0e0e0;
}

.articles-more {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    #ffffff 76.45%
  );
  padding: 151px 0px 0px 0px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.articles-more-button {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: transparent;
}

.articles-more-button span {
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: #000;
}

.articles-more-button svg {
  width: 24px;
  height: 24px;
  stroke: #282727;
  fill: none;
}

.join-mobile {
  display: none;
}

.js-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.js-card-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media screen and (max-width: 1440px) {
  .articles-topic-title {
    font-size: 50px;
    line-height: 58px;
  }

  .articles-button span {
    font-size: 24px;
  }

  .articles-cards {
    grid-template-columns: 279px 279px 279px;
  }
}

@media screen and (max-width: 1220px) {
  .articles-topic-title {
    font-size: 42px;
    line-height: 50px;
  }

  .articles-cards {
    grid-template-columns: 230px 230px 230px;
  }

  .articles-button span {
    font-size: 20px;
  }

  .articles-join-avatar {
    width: 60px;
    height: 60px;
  }

  .articles-join-name {
    font-size: 16px;
    white-space: nowrap;
  }

  .articles-join-profession {
    font-size: 12px;
    line-height: 16px;
  }

  .articles-join-title {
    font-size: 30px;
  }

  .articles-button-icon {
    padding: 13px;
  }

  .articles-button-icon svg {
    width: 12px;
    height: 12px;
    stroke: #b52e51;
    fill: none;
  }
}

@media screen and (max-width: 1024px) {
  .articles {
    margin-top: 40px;
    gap: 40px;
  }

  .join,
  .numbers-info,
  .authors {
    margin: 0 16px;
  }

  .articles-content {
    gap: 40px;
  }

  .articles-block {
    gap: 40px;
  }

  .articles-topic {
    gap: 30px;
  }

  .articles-topic-heading {
    padding: 0 15px;
  }

  .articles-topic-link {
    gap: 20px;
  }

  .articles-topic-title {
    font-size: 32px;
    line-height: 100%;
  }

  .articles-topic-icon {
    width: 24px;
    height: 24px;
  }

  .articles-topic-button {
    padding: 10px 16px;
    font-size: 14px;
  }

  .articles-topic-content {
    padding: 30px 15px;
    grid-template-areas:
      "a a a"
      "b b b";
  }

  .articles-card {
    padding-right: 0;
    border: none;
  }

  .articles-card-name {
    font-size: 16px;
    line-height: 20px;
  }

  .articles-join-title {
    font-size: 24px;
  }

  .articles-button {
    border-radius: 8px;
  }

  .articles-button span {
    font-size: 14px;
    line-height: 20px;
  }

  .articles-button-icon {
    padding: 13px;
  }

  .articles-button-icon svg {
    width: 10px;
    height: 10px;
  }

  .join-button {
    max-width: none;
    border-radius: 8px;
  }

  .join-button span {
    font-size: 14px;
    line-height: 20px;
  }

  .join-button-icon {
    padding: 13px;
  }

  .join-button-icon svg {
    width: 10px;
    height: 10px;
  }

  .join {
    padding: 30px 15px;
    align-items: start;
    flex-direction: column;
    gap: 24px;
  }

  .join-title {
    font-size: 32px;
  }

  .join-desc {
    font-size: 14px;
  }

  .left-orientation .articles-topic-content {
    grid-template-areas:
      "a a a"
      "b b b";
  }

  .articles-cards {
    grid-template-columns: repeat(auto-fill, minmax(240px, 3fr));
  }
}

@media screen and (max-width: 889px) {
  .articles-cards {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .articles-topic-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .articles-topic-link {
    align-items: start;
  }

  .articles-cards {
    grid-template-columns: 1fr;
  }

  .join {
    display: none;
  }

  .join-mobile {
    display: flex;
  }

  .articles-more {
    display: block;
  }
}

@media screen and (max-width: 480px) {
  .articles-cards {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

.authors {
  margin-top: 60px;
  padding: 32px;
  border-radius: 16px;
  background: #1e3839;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.authors-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.authors-title {
  font-weight: 500;
  font-size: 56px;
  line-height: 64px;
  color: #fff;
}

.authors-link {
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  color: #fff;
  text-decoration: underline;
  white-space: nowrap;
}

.authors-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.authors-card {
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 20px;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
}

.authors-card:last-child {
  background: transparent;
  grid-column: 3;
}

.authors-card > img {
  border: 2px solid #282727;
  border-radius: 100%;
  width: 70px;
  height: 70px;
  -o-object-fit: cover;
  object-fit: cover;
}

.authors-card-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.authors-card-name {
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  color: #282727;
}

.authors-card-profession {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #282727;
}

.authors-button {
  width: 100%;
  padding: 6px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  background: #b52e51;
}

.authors-button span {
  margin-left: auto;
  font-weight: 600;
  font-size: 28px;
  line-height: 100%;
  padding-left: 47px;
  color: #fff;
}

.authors-button-icon {
  margin-left: auto;
  padding: 19px;
  border-radius: 6px;
  background: #fff;
}

.authors-button-icon svg {
  width: 15px;
  height: 15px;
  stroke: #b52e51;
  fill: none;
}

@media screen and (max-width: 1440px) {
  .authors-title {
    font-size: 50px;
    line-height: 58px;
  }
}

@media screen and (max-width: 1220px) {
  .authors-title {
    font-size: 42px;
    line-height: 50px;
  }

  .authors-button span {
    font-size: 20px;
  }
}

@media screen and (max-width: 1024px) {
  .authors {
    margin-top: 40px;
    gap: 30px;
    padding: 30px 15px;
  }

  .authors-title {
    font-size: 32px;
    line-height: 100%;
  }

  .authors-link {
    font-size: 14px;
  }

  .authors-cards {
    grid-template-columns: 1fr 1fr;
  }

  .authors-card:nth-child(9) {
    display: none;
  }

  .authors-card:nth-child(10) {
    display: none;
  }

  .authors-card:nth-child(11) {
    display: none;
  }

  .authors-card:last-child {
    padding: 0;
    grid-column: 1 / 3;
  }

  .authors-card-name {
    font-size: 16px;
    line-height: 20px;
  }

  .authors-button {
    border-radius: 8px;
  }

  .authors-button span {
    font-size: 14px;
    line-height: 20px;
  }

  .authors-button-icon {
    padding: 13px;
  }

  .authors-button-icon svg {
    width: 10px;
    height: 10px;
  }
}

@media screen and (max-width: 768px) {
  .authors-heading {
    align-items: start;
    gap: 15px;
  }

  .authors-link {
    margin-top: 10px;
  }

  .authors-cards {
    grid-template-columns: 1fr;
  }

  .authors-card:nth-child(6) {
    display: none;
  }

  .authors-card:nth-child(7) {
    display: none;
  }

  .authors-card:nth-child(8) {
    display: none;
  }

  .authors-card:last-child {
    padding: 0;
    grid-column: 1;
  }
}

.publish {
  margin-top: 60px;
  padding: 32px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.publish-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.publish-heading-text {
  position: relative;
}

.publish-heading-text > img {
  position: absolute;
  top: 14px;
  right: 10px;
  width: 40px;
  height: 40px;
}

.publish-title {
  font-weight: 500;
  font-size: 56px;
  line-height: 64px;
  color: #282727;
  white-space: nowrap;
}

.publish-title span {
  color: #b52e51;
}

.publish-desc {
  max-width: 658px;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #5c5d5e;
}

.publish-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(319px, 1fr));
  /* grid-template-areas:
    "a a a b b b c c c d d d"
    "e e e e f f f f g g g g"; */
  gap: 20px;
}

.publish-card {
  padding: 16px;
  border-radius: 16px;
  background: #b52e51;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.publish-card-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.publish-card-content > img {
  box-sizing: content-box;
  padding: 20px;
  border-radius: 100%;
  background: #fff;
  width: 40px;
  height: 40px;
}

.publish-card:nth-child(5) .publish-card-content > img {
  background: #1e3839;
}

.publish-card:nth-child(6) .publish-card-content > img {
  background: #1e3839;
}

.publish-card:nth-child(7) .publish-card-content > img {
  background: #1e3839;
}

.publish-card-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 20px;
  color: #fff;
}

.publish-card:nth-child(5) .publish-card-title {
  color: #282727;
}

.publish-card:nth-child(6) .publish-card-title {
  color: #282727;
}

.publish-card:nth-child(7) .publish-card-title {
  color: #282727;
}

.publish-card-info {
  /* height: 100%; */
  height: auto;
  /* margin-top: auto; */
  display: flex;
  align-items: end;
  /* justify-content: space-between; */
  gap: 20px;
}

.publish-card-views {
  display: flex;
  align-items: center;
  gap: 6px;
}

.publish-card-views span {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #fff;
  white-space: nowrap;
}

.publish-card:nth-child(5) .publish-card-views span {
  color: #282727;
}

.publish-card:nth-child(6) .publish-card-views span {
  color: #282727;
}

.publish-card:nth-child(7) .publish-card-views span {
  color: #282727;
}

.publish-card-views > .publish-card-icon {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
}

.publish-card:nth-child(5) .publish-card-views > .publish-card-icon {
  stroke: #282727;
}

.publish-card:nth-child(6) .publish-card-views > .publish-card-icon {
  stroke: #282727;
}

.publish-card:nth-child(7) .publish-card-views > .publish-card-icon {
  stroke: #282727;
}

.publish-card-icon {
  width: 30px;
  height: 30px;
  stroke: #fff;
}

.publish-card:nth-child(5) .publish-card-icon {
  stroke: #282727;
}

.publish-card:nth-child(6) .publish-card-icon {
  stroke: #282727;
}

.publish-card:nth-child(7) .publish-card-icon {
  stroke: #282727;
}

/* .publish-card:nth-child(1) {
  grid-area: a;
}

.publish-card:nth-child(2) {
  grid-area: b;
}

.publish-card:nth-child(3) {
  grid-area: c;
} */

/* .publish-card:nth-child(4) {
  grid-area: d;
} */

.publish-card:nth-child(5) {
  grid-area: e;
}

.publish-card:nth-child(6) {
  grid-area: f;
}

.publish-card:nth-child(7) {
  grid-area: g;
}

@media screen and (max-width: 1440px) {
  .publish-title {
    font-size: 50px;
    line-height: 58px;
  }
}

@media screen and (max-width: 1220px) {
  .publish-heading-text > img {
    right: 5px;
    width: 30px;
    height: 30px;
  }

  .publish-title {
    font-size: 42px;
    line-height: 50px;
  }
}

@media screen and (max-width: 1024px) {
  .publish {
    margin-top: 40px;
    gap: 30px;
    padding: 30px 15px;
  }

  .publish-heading {
    flex-direction: column;
    gap: 6px;
  }

  .publish-heading-text {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
  }

  .publish-heading-text > img {
    top: 8px;
    width: 20px;
    height: 20px;
  }

  .publish-title {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    font-size: 32px;
    line-height: 100%;
  }

  .publish-desc {
    max-width: 550px;
  }

  /* 
  .publish-cards {
    grid-template-areas:
      "a a a b b b"
      "c c c d d d"
      "e e f f g g";
  } */

  .publish-card {
    gap: 30px;
  }

  .publish-card-content {
    flex-direction: row;
    align-items: center;
  }

  .publish-card-content > img {
    padding: 10px;
    width: 30px;
    height: 30px;
  }

  .publish-card-title {
    font-size: 14px;
    line-height: 20px;
  }

  .publish-card-icon {
    width: 24px;
    height: 24px;
    margin-left: auto;
  }

  .publish-card:nth-child(5) {
    background: #f4f4f6;
  }

  .publish-card:nth-child(6) {
    background: #f4f4f6;
  }

  .publish-card:nth-child(7) {
    background: #f4f4f6;
  }
}

@media screen and (max-width: 768px) {
  .publish-cards {
    /* grid-template-areas: */
    /* "a b" */
    /* "c d" */
    /* "e f" */
    /* "g g"; */
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .publish-card-title {
    display: none;
  }
}

@media screen and (max-width: 400px) {
  .publish-heading-text > img {
    right: -25px;
  }

  .publish-title {
    max-width: 300px;
    white-space: wrap;
  }
}

@media screen and (max-width: 350px) {
  .publish-heading-text > img {
    display: none;
  }
}

.numbers {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.numbers-title {
  font-weight: 500;
  font-size: 56px;
  line-height: 64px;
  color: #282727;
}

.numbers-content {
  display: flex;
  gap: 20px;
}

.numbers-image {
  max-width: 464px;
  width: 100%;
  height: 100%;
  border-radius: 16px;
}

.numbers-info {
  padding: 32px;
  border-radius: 16px;
  background: #1e3839;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.numbers-info-desc {
  max-width: 534px;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
}

.numbers-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.numbers-card {
  padding: 16px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.numbers-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.numbers-card-number {
  font-weight: 500;
  font-size: 56px;
  line-height: 1;
  color: #282727;
}

.numbers-card-image {
  height: 40px;
}

.numbers-card-desc {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #282727;
}

@media screen and (max-width: 1440px) {
  .numbers-title {
    font-size: 50px;
    line-height: 58px;
  }

  .numbers-card-number {
    font-size: 40px;
  }
}

@media screen and (max-width: 1220px) {
  .numbers-title {
    font-size: 42px;
    line-height: 50px;
  }

  .numbers-card-number {
    font-size: 28px;
  }

  .numbers-image {
    max-width: 400px;
  }
}

@media screen and (max-width: 1024px) {
  .numbers {
    margin-top: 40px;
    gap: 30px;
  }

  .numbers-title {
    padding: 0 15px;
    font-size: 32px;
    line-height: 100%;
  }

  .numbers-info {
    padding: 30px 15px;
  }

  .numbers-card-number {
    font-size: 32px;
  }

  .numbers-content {
    flex-direction: column;
  }

  .numbers-image {
    padding: 0 15px;
    max-width: 100%;
  }

  .numbers-image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }
}

@media screen and (max-width: 768px) {
  .numbers-image {
    display: none;
  }

  .numbers-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.editors {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.editors-title {
  font-weight: 500;
  font-size: 56px;
  line-height: 64px;
  color: #282727;
}

.editors-cards {
  padding: 32px;
  border-radius: 16px;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr 29%;
  grid-template-rows: 198px auto auto;
  grid-template-areas:
    "a b c"
    "a b d"
    "a b d";
  gap: 20px;
}

.editors-card {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  gap: 16px;
}

.editors-card:nth-child(1) {
  grid-area: a;
}

.editors-card:nth-child(2) {
  grid-area: b;
}

.editors-card-image {
  position: relative;
}

.editors-card-image > img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  -o-object-fit: cover;
  object-fit: cover;
}

.editors-card-position {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 10px;
  border-radius: 6px;
  background: #fff;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  color: #282727;
  white-space: nowrap;
}

.editors-card-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.editors-card-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.editors-card-name {
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  color: #282727;
}

.editors-card-profession {
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  color: #282727;
}

.editors-email {
  width: 100%;
  padding: 8px 16px;
  border-radius: 10px;
  background: #f4f4f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.editors-email > svg {
  width: 20px;
  height: 20px;
  stroke: #aba9a8;
}

.editors-email-texts {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.editors-email-texts p {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #aba9a8;
}

.editors-email-info {
  display: flex;
  align-items: center;
  gap: 6px;
}

.editors-email-info svg {
  width: 14px;
  height: 10px;
  fill: #b52e51;
}

.editors-email-info span {
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  color: #282727;
}

.editors-contact {
  grid-area: c;
  padding: 32px;
  border-radius: 10px;
  background: #f4f4f6;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.editors-contact-heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.editors-contact-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  color: #282727;
}

.editors-contact-desc {
  max-width: 224px;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #282727;
}

.editors-contact-socials {
  height: 100%;
  margin-top: auto;
  display: flex;
  gap: 10px;
}

.editors-contact-link {
  width: 32px;
  height: 32px;
  border-radius: 100%;
  background: #1e3839;
  display: flex;
  align-items: center;
  justify-content: center;
}

.editors-contact-link:nth-child(1) img {
  width: 24px;
  height: 24px;
}

.editors-contact-link:nth-child(2) img {
  width: 14px;
  height: 14px;
}

.editors-contact-link:nth-child(3) img {
  width: 16px;
  height: 16px;
}

.editors-contact-link:nth-child(4) img {
  width: 20px;
  height: 20px;
}

.editors-write {
  grid-area: d;
  padding: 32px;
  border-radius: 10px;
  background: #b52e51;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.editors-write-desc {
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  color: #fff;
}

.editors-write-button {
  margin-top: auto;
  width: 100%;
  padding: 6px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  background: #fff;
}

.editors-write-button span {
  margin-left: auto;
  font-weight: 600;
  font-size: 28px;
  line-height: 100%;
  color: #282727;
}

.editors-write-icon {
  margin-left: auto;
  padding: 19px;
  border-radius: 6px;
  background: #282727;
}

.editors-write-icon svg {
  width: 15px;
  height: 15px;
  stroke: #fff;
  fill: none;
}

@media screen and (max-width: 1440px) {
  .editors-title {
    font-size: 50px;
    line-height: 58px;
  }

  .editors-write-button span {
    font-size: 24px;
  }
}

@media screen and (max-width: 1220px) {
  .editors-title {
    font-size: 42px;
    line-height: 50px;
  }

  .editors-write-button span {
    font-size: 20px;
  }
}

@media screen and (max-width: 1024px) {
  .editors {
    margin-top: 40px;
    gap: 30px;
  }

  .editors-title {
    font-size: 32px;
    line-height: 100%;
    padding: 0 15px;
  }

  .editors-cards {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas: none;
    padding: 30px 15px;
  }

  .editors-card {
    grid-area: auto !important;
  }

  .editors-contact {
    grid-area: auto;
  }

  .editors-write {
    grid-area: auto;
  }

  .editors-write-desc {
    font-size: 14px;
    line-height: 100%;
  }

  .editors-write-button {
    border-radius: 8px;
  }

  .editors-write-button span {
    font-size: 14px;
    line-height: 20px;
  }

  .editors-write-icon {
    padding: 13px;
  }

  .editors-write-icon svg {
    width: 10px;
    height: 10px;
  }
}

@media screen and (max-width: 768px) {
  .editors-cards {
    grid-template-columns: 1fr;
  }
}

.subscribe {
  margin: 60px auto;
  display: flex;
  gap: 20px;
}

.subscribe-card {
  padding: 32px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
}

.subscribe-card-title {
  font-weight: 500;
  font-size: 56px;
  line-height: 64px;
  color: #fff;
}

.subscribe-card-desc {
  max-width: 328px;
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  color: #fff;
  margin-bottom: 32px;
}

.subscribe-card-heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.subscribe-card:nth-child(1) {
  max-width: 654px;
  width: 100%;
  background: #b52e51;
  /* gap: 32px; */
}

.subscribe-card:nth-child(2) {
  width: 100%;
  background: #1e3839;
}

.subscribe-form {
  width: 100%;
  height: max-content;
  /* height: 100%; */
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.subscribe-form-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.subscribe-form-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.subscribe-form-texts {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.subscribe-form-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #fff;
}

.subscribe-dropdown {
  width: 100%;
  position: relative;
}

.subscribe-dropdown-field {
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 12px;
  border-radius: 8px;
  background: #fff;
}

.subscribe-dropdown-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #282727;
}

.subscribe-dropdown-icon {
  width: 8px;
  height: 8px;
  stroke: #282727;
  fill: transparent;
  transition: 0.3s ease-in-out;
}

.subscribe-dropdown.active .subscribe-dropdown-icon {
  transform: rotate(-180deg);
}

.subscribe-dropdown-content {
  width: 100%;
  max-height: 0px;
  overflow-y: auto;
  position: absolute;
  top: auto;
  left: 0;
  right: 0;
  z-index: 2;
  border-radius: 8px;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: 0.3s ease-in-out;
}

.subscribe-dropdown.active .subscribe-dropdown-content {
  max-height: 300px;
}

.subscribe-dropdown-choice {
  cursor: pointer;
  padding: 12px;
  transition: 0.3s ease-in-out;
}

.subscribe-dropdown-choice:hover {
  background: #f4f4f6;
}

.subscribe-form-input {
  padding: 14px 12px;
  border-radius: 8px;
  background: #fff;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #282727;
}

.subscribe-form-input::-webkit-input-placeholder {
  color: #282727;
}

.subscribe-form-input::-moz-placeholder {
  color: #282727;
}

.subscribe-form-input:-ms-input-placeholder {
  color: #282727;
}

.subscribe-form-input::-ms-input-placeholder {
  color: #282727;
}

.subscribe-form-input::placeholder {
  color: #282727;
}

.subscribe-form-confirm {
  margin-top: 4px;
  cursor: pointer;
  display: flex;
  gap: 5px;
}

.subscribe-form-confirm p {
  max-width: 484px;
}

.subscribe-checkbox {
  margin-top: 3px;
  min-width: 12px;
  height: 12px;
  border: 1px solid #fff;
  border-radius: 2px;
  position: relative;
}

.subscribe-checkbox-box {
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
}

.subscribe-checkbox.checked .subscribe-checkbox-box::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 0;
  width: 4px;
  height: 6px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(45deg);
}

.subscribe-button {
  margin-top: auto;
  width: 100%;
  padding: 6px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  background: #1e3839;
}

.subscribe-button span {
  margin-left: auto;
  font-weight: 600;
  font-size: 28px;
  line-height: 100%;
  color: #fff;
}

.subscribe-button-icon {
  margin-left: auto;
  padding: 19px;
  border-radius: 6px;
  background: #fff;
}

.subscribe-button-icon svg {
  width: 15px;
  height: 15px;
  stroke: #1e3839;
  fill: none;
}

.subscribe-steps {
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.subscribe-step {
  width: 100%;
  position: relative;
  border-radius: 10px;
}

.subscribe-step:nth-child(1) {
  max-width: 602px;
  margin-left: auto;
}

.subscribe-step:nth-child(2) {
  max-width: 447px;
  background: #fff;
}

.subscribe-step:nth-child(3) {
  max-width: 506px;
  margin-left: auto;
  background: #fff;
}

.subscribe-step-image {
  width: 100%;
}

.subscribe-step-text {
  width: 100%;
  padding: 16px 0;
  margin: 0 auto;
  max-width: 361px;
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  color: #282727;
}

.subscribe-step-number {
  position: absolute;
  top: 50%;
  left: -33px;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border: 6px solid #eae2e0;
  border-radius: 100%;
  background: #b52e51;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  color: #fff;
}

.subscribe-step:nth-child(2) .subscribe-step-number {
  left: auto;
  right: -33px;
}

.subscribe-step-arrow {
  position: absolute;
  bottom: -36px;
  width: 20px;
  height: 20px;
  fill: #187a6b;
}

.subscribe-step:nth-child(1) .subscribe-step-arrow {
  left: 135px;
}

.subscribe-step:nth-child(2) .subscribe-step-arrow {
  left: auto;
  right: 86px;
}

#modal-subscribe-thanks .modal-thanks-body svg {
  width: 5rem;
  height: 5rem;
  color: #b52e51;
}

@media screen and (max-width: 1440px) {
  .subscribe-card-title {
    font-size: 50px;
    line-height: 58px;
  }

  .subscribe-step:nth-child(1) {
    max-width: 450px;
  }

  .subscribe-step:nth-child(2) {
    max-width: 400px;
  }

  .subscribe-step:nth-child(3) {
    max-width: 400px;
  }

  .subscribe-step-text {
    max-width: 320px;
    font-size: 18px;
  }
}

@media screen and (max-width: 1220px) {
  .subscribe-card-title {
    font-size: 42px;
    line-height: 50px;
  }

  .subscribe-step:nth-child(1) {
    max-width: 400px;
  }

  .subscribe-step-text {
    font-size: 16px;
  }
}

@media screen and (max-width: 1024px) {
  .subscribe {
    margin: 40px auto;
    gap: 30px;
    padding: 0 15px;
    flex-direction: column;
  }

  .subscribe-card-title {
    font-size: 32px;
    line-height: 100%;
  }

  .subscribe-card-desc {
    max-width: 100%;
    font-size: 14px;
  }

  .subscribe-button {
    border-radius: 8px;
  }

  .subscribe-button span {
    font-size: 14px;
    line-height: 20px;
  }

  .subscribe-button-icon {
    padding: 13px;
  }

  .subscribe-button-icon svg {
    width: 10px;
    height: 10px;
  }

  .subscribe-card {
    padding: 30px 15px;
  }

  .subscribe-card:nth-child(1) {
    max-width: 100%;
  }

  .subscribe-steps {
    max-width: 637px;
    width: 100%;
    margin: 0 auto;
  }

  .subscribe-step-number {
    left: -22.5008px;
    width: 40px;
    height: 40px;
    border: 5px solid #eae2e0;
  }

  .subscribe-step:nth-child(2) .subscribe-step-number {
    right: -22.5008px;
  }

  .subscribe-step:nth-child(1) {
    max-width: 541px;
  }

  .subscribe-step-text {
    max-width: 234px;
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {
  .subscribe {
    gap: 10px;
  }

  .subscribe-steps {
    max-width: 330px;
  }

  .subscribe-step:nth-child(1) {
    max-width: 272px;
  }

  .subscribe-step-text {
    padding: 8px 16px;
  }

  .subscribe-step:nth-child(2) {
    max-width: 299px;
  }

  .subscribe-step:nth-child(3) {
    max-width: 299px;
  }

  .subscribe-step:nth-child(1) .subscribe-step-text {
    margin-right: auto;
  }

  .subscribe-step:nth-child(2) .subscribe-step-arrow {
    margin-right: auto;
  }

  .subscribe-step:nth-child(3) .subscribe-step-arrow {
    margin-left: auto;
  }
}

@media screen and (max-width: 380px) {
  .subscribe-step:nth-child(1) {
    max-width: 240px;
  }

  .subscribe-step:nth-child(2) {
    max-width: 235px;
  }

  .subscribe-step:nth-child(3) {
    max-width: 235px;
  }
}

.topic {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-wrap: nowrap;
  align-items: flex-start;
  row-gap: 16px;
  gap: 16px;
}

.topic-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 16px;
}

.topic-breadcrumbs a {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #aba9a8;
}

.topic-breadcrumbs svg {
  width: 4px;
  height: 8px;
  stroke: #aba9a8;
  fill: transparent;
}

.topic-breadcrumbs span {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #282727;
}

.topic-image {
  width: 100%;
  height: 240px;
  -o-object-fit: cover;
  object-fit: cover;
}

.topic-image img {
  border-radius: 10px;
  width: 100%;
}

.topic-card {
  margin-top: 4px;
  width: 100%;
  padding: 32px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.topic-title {
  max-width: 659px;
  font-weight: 500;
  font-size: 56px;
  line-height: 64px;
  color: #b52e51;
}

.topic-info {
  max-width: 603px;
  width: 100%;
  height: 106px;
  overflow: hidden;
  position: relative;
}

.topic-info ul {
  list-style-type: disc;
  padding-left: 20px;
}

.topic-info ol {
  list-style-type: decimal;
  padding-left: 20px;
}

.topic-info-desc {
  max-height: 116px;
  overflow: hidden;
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  color: #282727;
  transition: 0.3s ease-in-out;
}

.topic-info.active {
  max-height: -webkit-max-content;
  max-height: -moz-max-content;
  max-height: max-content;
  height: 100%;
  flex-direction: column;
  display: flex;
  align-items: flex-start;
}

.topic-info.active .topic-info-button {
  display: none;
}

.topic-info-button {
  width: 100%;
  padding: 71px 0 4px 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 12.77%,
    #ffffff 65.11%
  );
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  justify-content: start;
}

.topic-info-button button,
.topic-info-button-close {
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  color: #aba9a8;
  text-decoration: underline;
  background: transparent;
}

.topic-info-button-close {
  margin-top: 10px;
}

@media screen and (max-width: 1440px) {
  .topic-info {
    max-width: 450px;
  }

  .topic-title {
    font-size: 50px;
    line-height: 58px;
  }
}

@media screen and (max-width: 1220px) {
  .topic-title {
    font-size: 42px;
    line-height: 50px;
  }
}

@media screen and (max-width: 1024px) {
  .topic {
    padding: 0 15px;
  }

  .topic-card {
    margin-top: 0;
    padding: 16px;
    flex-direction: column;
  }

  .topic-title {
    font-size: 32px;
    line-height: 100%;
  }

  .topic-image {
    height: 180px;
  }

  .topic-info {
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .topic-image {
    height: 160px;
  }
}

.rating {
  width: 100%;
  margin-top: 60px;
  padding: 32px;
  border-radius: 16px;
  background: #1e3839;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.rating-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.rating-title {
  font-weight: 500;
  font-size: 56px;
  line-height: 64px;
  color: #fff;
}

.rating-link {
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  color: #fff;
  text-decoration: underline;
  white-space: nowrap;
}

.rating-cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rating-cards-row {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 20px;
  max-width: 100%;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.rating-cards-row::-webkit-scrollbar {
  display: none;
}

.rating-cards-row.active {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.rating-cards-row.active .rating-card {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.rating-card {
  flex: 0 0 auto;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  white-space: nowrap;
  padding: 16px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.rating-card > img {
  border: 2px solid #282727;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  -o-object-fit: cover;
  object-fit: cover;
}

.rating-card-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rating-card-name {
  white-space: nowrap;
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  color: #282727;
}

.rating-card-profession {
  white-space: nowrap;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #aba9a8;
}

@media screen and (max-width: 1440px) {
  .rating-title {
    font-size: 50px;
    line-height: 58px;
  }
}

@media screen and (max-width: 1220px) {
  .rating-title {
    font-size: 42px;
    line-height: 50px;
  }
}

@media screen and (max-width: 1024px) {
  .rating {
    margin-top: 40px;
    gap: 30px;
    padding: 30px 15px;
  }

  .rating-title {
    font-size: 32px;
    line-height: 100%;
  }

  .rating-link {
    font-size: 14px;
  }

  .rating-card-name {
    font-size: 16px;
    line-height: 20px;
  }
}

@media screen and (max-width: 768px) {
  .rating-heading {
    align-items: start;
    gap: 15px;
  }

  .rating-link {
    margin-top: 10px;
  }

  .rating-cards {
    gap: 10px;
  }

  .rating-cards-row {
    gap: 10px;
  }
}

.categories {
  margin-top: 60px;
  padding: 32px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  row-gap: 32px;
  gap: 32px;
}

.categories-title {
  font-weight: 500;
  font-size: 56px;
  line-height: 64px;
  color: #282727;
}

.categories-cards {
  width: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.categories__cards__row {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 20px;
  max-width: 100%;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.categories__cards__row::-webkit-scrollbar {
  display: none;
}

.categories__cards__row.active {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.categories__cards__row.active .categories-card {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.categories-card {
  padding: 16px;
  border-radius: 10px;
  background: #f4f4f6;
  display: flex;
  align-items: center;
  gap: 12px;
}

.categories-card.active {
  background: #b52e51;
}

.categories-card-image {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  padding: 10px;
  border-radius: 6px;
  background: #eae2e0;
}

.categories-card-image img {
  width: 30px;
  height: 30px;
}

.categories-card-title {
  white-space: nowrap;
  font-weight: 500;
  font-size: 20px;
  line-height: 20px;
  color: #282727;
}

.categories-card.active .categories-card-title {
  color: #fff;
}

@media screen and (max-width: 1440px) {
  .categories-title {
    font-size: 50px;
    line-height: 58px;
  }
}

@media screen and (max-width: 1220px) {
  .categories-title {
    font-size: 42px;
    line-height: 50px;
  }
}

@media screen and (max-width: 1024px) {
  .categories {
    margin-top: 40px;
    gap: 30px;
    padding: 30px 15px;
  }

  .categories-title {
    font-size: 32px;
    line-height: 100%;
  }
}

@media screen and (max-width: 768px) {
  .categories-cards {
    gap: 10px;
  }

  .article-related-card-join {
    max-width: 100% !important;
  }

  .categories__cards__row {
    gap: 10px;
  }

  .categories-card-title {
    font-size: 17px;
    line-height: 20px;
  }
}

.faq {
  margin-top: 60px;
  padding: 32px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  row-gap: 32px;
  gap: 32px;
}

.faq-title {
  font-weight: 500;
  font-size: 56px;
  line-height: 64px;
  color: #282727;
}

.faq-cards {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.faq-card {
  padding: 16px;
  border-radius: 10px;
  background: #f4f4f6;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card-question {
  font-weight: 700;
  font-size: 20px;
  line-height: 20px;
  color: #282727;
}

.faq-card-answer {
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #282727;
}

.faq-more {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    #ffffff 76.45%
  );
  padding: 151px 0px 0px 0px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.faq-more-button {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: transparent;
}

.faq-more-button span {
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: #000;
}

.faq-more-button svg {
  width: 24px;
  height: 24px;
  stroke: #282727;
  fill: none;
}

@media screen and (max-width: 1440px) {
  .faq-title {
    font-size: 50px;
    line-height: 58px;
  }
}

@media screen and (max-width: 1220px) {
  .faq-title {
    font-size: 42px;
    line-height: 50px;
  }
}

@media screen and (max-width: 1024px) {
  .faq {
    margin-top: 40px;
    gap: 30px;
    padding: 30px 15px;
  }

  .faq-title {
    font-size: 32px;
    line-height: 100%;
  }
}

@media screen and (max-width: 768px) {
  .faq-cards {
    grid-template-columns: 1fr;
  }

  .faq-more {
    display: block;
  }
}

.topic-articles {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0;
}

.topic-articles-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topic-articles-title {
  font-weight: 500;
  font-size: 56px;
  line-height: 64px;
  color: #282727;
}

.topic-articles-heading-button {
  padding: 10px 16px;
  border-radius: 6px;
  background: #e8b24e;
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  color: #fff;
}

.topic-articles-content {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.topic-articles-block {
  padding: 32px;
  border-radius: 16px;
  background: #fff;
  display: grid;
  grid-template-columns: 320px 320px 320px 320px;
  gap: 20px;
}

.articles-join-info {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.topic-articles-block > .articles-card:nth-child(4) {
  border-right: none;
}

.topic-articles-block > .articles-card:nth-child(8) {
  border-right: none;
}

.topic-articles-block > .articles-join {
  grid-area: auto;
}

@media screen and (max-width: 1440px) {
  .topic-articles-title {
    font-size: 50px;
    line-height: 58px;
  }

  .topic-articles-button span {
    font-size: 24px;
  }

  .topic-articles-block {
    grid-template-columns: 262px 262px 262px 262px;
  }
}

@media screen and (max-width: 1220px) {
  .topic-articles-title {
    font-size: 42px;
    line-height: 50px;
  }

  .topic-articles-button span {
    font-size: 20px;
  }

  .topic-articles-block {
    grid-template-columns: 224px 224px 224px 224px;
  }
}

@media screen and (max-width: 1024px) {
  .topic-articles {
    margin-top: 40px;
    gap: 30px;
  }

  .topic-articles-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .topic-articles-heading {
    padding: 0 15px;
  }

  .topic-articles-block {
    padding: 30px 15px;
  }

  .topic-articles-block {
    grid-template-columns: auto auto auto;
    gap: 20px;
  }

  .topic-articles-title {
    font-size: 32px;
    line-height: 100%;
  }

  .topic-articles-heading-button {
    padding: 10px 16px;
    font-size: 14px;
  }
}

@media screen and (max-width: 889px) {
  .topic-articles-block {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .topic-articles-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .topic-articles-block {
    grid-template-columns: 1fr;
  }
}

.article {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  margin-top: 16px;
}

.article p,
.article span {
  line-height: normal;
}

.article-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #aba9a8;
}

.article-breadcrumbs-active {
  color: #282727;
}

.article-content {
  position: -webkit-sticky;
  position: sticky;
  top: 100px;
  padding: 32px;
  width: 23%;
  height: max-content;
  background: #fff;
  border-radius: 16px;
  overflow-y: auto;
}

.article-content-title {
  font-size: 34px;
  font-weight: 500;
  line-height: normal;
}

.article-partner-title {
  font-size: 34px;
  font-weight: 500;
  line-height: normal;
}

.article-content-marker-active {
  width: 17px;
  height: 2px;
  border: none;
  background: #b52e51;
}

.article-content-list {
  text-indent: 0;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-content-list-item {
  display: flex;
  padding-left: 25px;
  align-items: center;
  color: #aba9a8;
  gap: 8px;
  font-size: 17px;
}

.article-main {
  width: 100%;
}

.article-main-wrapper {
  width: 50%;
}

.article-partner {
  width: 25%;
  background: #fff;
  position: -webkit-sticky;
  position: sticky;
  top: 100px;
  padding: 32px;
  width: 24%;
  height: max-content;
  background: #fff;
  border-radius: 16px;
  /* overflow-y: auto; */
}

.article-partner div.mg-article-card {
  border: none;
  width: 100%;
  padding-right: 0;
}

.article-partner-cards {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.article-partner-card-img {
  width: 100%;
  height: 160px;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 10px;
}

.article-partner-card-info {
  margin-top: 16px;
}

.article-partner-card-header-icon {
  stroke: #000;
  width: 12px;
  height: 12px;
}

.article-partner-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-partner-card-desc {
  margin-top: 5px;
}

.article-main {
  padding: 32px;
  border-radius: 16px;
  background: #fff;
}

.article-main-header {
  display: flex;
  flex-direction: column;
}

.article-main-header-statistics {
  display: flex;
  align-items: center;
  gap: 20px;
}

.article-main-header-statistics-card {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-main-header-statistics-card-icon {
  width: 16px;
  height: 16px;
  stroke: #aba9a8;
  fill: #fff;
}

.article-main-header-people,
.article-main-content-people {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.article-main-content-people {
  background: #1e3839;
  padding: 16px;
  border-radius: 10px;
  margin-top: 16px;
}

.article-main-header-people-avatars,
.article-main-content-people-avatars {
  display: flex;
  align-items: center;
  height: 32px;
  gap: 10px;
}

.article-main-header-people-avatar,
.article-main-content-people-avatar {
  border: 1px solid #ffffff;
  border-radius: 33px;
  width: 32px;
  -o-object-fit: cover;
  object-fit: cover;
  height: 32px;
}

.article-main-header-people-avatar:first-child,
.article-main-content-people-avatar:first-child {
  border: none;
}

.article-main-header-people-avatar:nth-child(2),
.article-main-content-people-avatar:nth-child(2) {
  margin-left: -22px;
}

.article-main-content-people-name {
  color: #fff;
}

.article-main-content-people-name > b {
  color: #aba9a8;
}

.article-main-header-people-avatar:nth-child(3),
.article-main-content-people-avatar:nth-child(3) {
  margin-left: -22px;
}

.article-main-header-people-name {
  display: flex;
  margin-left: 6px;
  gap: 6px;
  align-items: center;
}

.article-main-header-people-action,
.article-main-content-people-action {
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-main-content-people-action > button > img {
  max-width: 30px;
}

.article-main-content-people-action > button {
  padding: 20px;
  border-radius: 6px;
}

.article-main-content-people-name {
  font-size: 14px;
}

.article-main-content-people-name > b {
  color: #aba9a8;
}

.article-main-header-people-action button,
.article-main-content-people-action button {
  border-radius: 6px;
}

.article-main-header-people-action button > img {
  width: 20px;
  max-width: 20px;
  height: 20px;
}

.article-main-header-people-action > button:first-of-type,
.article-main-content-people-action button:first-child {
  padding: 8px 12px;
  background: #1e3839;
}

.article-main-content-people-action button:first-child {
  background: #fff;
}

.article-main-content-people-action button > svg {
  width: 30px !important;
  height: 31px !important;
}

.article-main-header-people-action > button:last-child,
.article-main-content-people-action button:last-child {
  padding: 8px 12px;
  background: #b52e51;
}

.article-main-header-people-action button > svg,
.article-main-content-people-action button > svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: #b52e51;
}

.article-main-header-people-action button,
.article-main-content-people-action button {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
}

.article-main-content {
  margin-top: 32px;
}

.article-main-content-title {
  font-size: 38px;
  /* line-height: normal; */
  line-height: 1.1;
  font-weight: 500;
  margin-bottom: 28px;
}

.article-main-content-title-second {
  font-size: 24px;
  line-height: normal;
  font-weight: 500;
}

.article-main-content-desc {
  font-size: 17px;
  margin-top: 28px;
  font-weight: 400;
}

.article-main-content-desc > b {
  font-weight: 700;
}

.article-main-content-img,
.article-main-content-video {
  margin-top: 28px;
  border-radius: 10px;
  position: relative;
}

.article-main-content-img-title,
.article-main-content-video-title {
  position: absolute;
  top: 16px;
  left: 16px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  max-width: 345px;
  width: 100%;
}

.article-main-content-reactions {
  display: flex;
  align-items: center;
  gap: 4px;
  position: absolute;
  bottom: 16px;
  left: 16px;
}

.article-main-content-reaction {
  background: #fff;
  padding: 4px 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.article-main-content-video {
  height: 365px;
}

.article-main-content-video video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 10px;
}

.article-main-content-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #b52e51;
  border-radius: 6px;
}

.article-main-content-video-play-icon {
  fill: #fff;
  width: 10px;
  height: 10px;
  stroke: #fff;
}

.article-main-content-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
  align-items: flex-start;
}

.article-main-content-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  text-indent: 0;
  color: #5c5d5e;
  font-size: 17px;
}

.article-main-content-item-marker {
  max-width: 15px;
  width: 100%;
  height: 2px;
  border: none;
  margin: 10px 2px;
  background: #5c5d5e;
}

.article-main-content-images img,
.article-main-content-images {
  -o-object-fit: cover;
  object-fit: cover;
  height: 500px;
  width: 100%;
  border-radius: 10px;
}

.article-main-content-quote {
  padding: 16px;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  background: #b52e51;
  margin-top: 28px;
  border-radius: 10px;
}

.article-related {
  margin-top: 60px;
}

.article-related-title {
  font-size: 56px;
  font-weight: 500;
  line-height: normal;
}

.article-related-cards {
  margin-top: 32px;
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  gap: 20px;
  display: flex;
  align-items: stretch;
}

.article-related-card,
.article-related-card-join {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  max-width: 305px;
  width: 100%;
  justify-content: space-between;
}

.article-related-cards > hr {
  border: none;
  background: #e0e0e0;
  width: 1px;
  height: 341px;
}

.article-related-card-img {
  position: relative;
}

.article-related-card-img > img {
  width: 100%;
  height: 160px;
}

.article-related-card-img-topic {
  padding: 6px 12px;
  background: #fff;
  position: absolute;
  top: 16px;
  left: 16px;
  border-radius: 6px;
}

.article-related-card-img-likes {
  display: flex;
  align-items: center;
  padding: 6px 11px;
  background: #fff;
  border-radius: 6px;
  gap: 6px;
  position: absolute;
  left: 16px;
  bottom: 16px;
}

.article-related-card-img-likes > svg {
  stroke: #b52e51;
  fill: none;
  width: 20px;
  height: 20px;
}

.article-related-card-title {
  margin-top: 16px;
  font-size: 20px;
  font-weight: 500;
}

.article-related-card-desc {
  margin-top: 5px;
}

.article-related-card-avatars {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-related-card-avatar {
  border: 1px solid #fff;
  width: 32px;
  height: 32px;
  border-radius: 33px;
}

.article-related-card-avatar:first-child {
  border: none;
}

.article-related-card-avatar:nth-child(2),
.article-related-card-avatar:nth-child(3) {
  margin-left: -22px;
}

.article-related-card-name {
  font-size: 14px;
}

.article-related-card-name > b {
  color: #aba9a8;
}

.article-related-card-statistics {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  margin-top: 16px;
}

.article-related-card-statistic {
  display: flex;
  align-items: center;
  gap: 7px;
}

.article-related-card-statistic > svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #aba9a8;
}

.article-related-card-join {
  padding: 16px;
  background: #f4f4f6;
  border-radius: 10px;
  max-width: 327px;
  width: 100%;
}

.article-related-card-join-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.article-related-card-join-name > h4 {
  font-size: 20px;
  font-weight: 500;
}

.article-related-card-join-name > p {
  font-size: 14px;
}

.article-related-card-join-header > img {
  width: 60px;
  height: 60px;
}

.article-related-card-join > span {
  font-weight: 500;
  font-size: 34px;
  display: inline-block;
  margin-top: 22px;
}

.article-related-card-join-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #b52e51;
  padding: 6px;
  border-radius: 8px;
  margin-top: 35px;
}

.article-related-card-join-btn > span {
  font-weight: 600;
  font-size: 28px;
  padding: 10px;
  color: #fff;
}

.article-related-card-join-btn > div > svg {
  width: 14px;
  height: 14px;
  stroke: #b52e51;
  stroke-width: 2px;
}

.article-related-card-join-btn > div {
  padding: 19px;
  background: #fff;
  border-radius: 6px;
}

.article-topic {
  background: #fff;
  margin-top: 60px;
  padding: 32px;
  border-radius: 16px;
}

.article-topic > h2 {
  font-size: 56px;
  font-weight: 500;
  margin-bottom: 32px;
  line-height: normal;
}

.article-topic-cards {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  overflow-x: auto;
  border-radius: 10px;
}

.article-topic-cards:last-child {
  margin-top: 40px;
}

.article-topic-card {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: -webkit-max-content;
  min-width: -moz-max-content;
  min-width: max-content;
  width: auto;
  font-size: 20px;
  font-weight: 500;
  width: 100%;
}

.article-topic-card > span {
  width: 100%;
  white-space: nowrap;
}

.article-main-modal-share {
  position: fixed;
  top: 50%;
  left: 0;
  right: 0;
  width: 330px;
  background: #fff;
  margin: auto;
  padding: 16px;
  z-index: 9999;
  border-radius: 16px;
  display: none;
}

.article-main-modal-share.active {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-main-modal-share-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-main-modal-share-header > h3 {
  font-size: 20px;
  font-weight: 500;
}

.article-main-modal-share-header > button {
  background: none;
}

.article-main-modal-share-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-main-modal-share-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-main-modal-share-link span {
  display: inline-block;
  max-width: 200px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  vertical-align: middle;
  font-size: 14px;
  border-radius: 4px;
}

.article-main-modal-share-link button {
  padding: 6px 12px;
  background: #b52e51;
  font-size: 14px;
}

@media screen and (max-width: 1440px) {
  .article-content-title,
  .article-partner-title {
    font-size: 24px;
  }

  .article-related-card-join > span,
  .article-related-card-join-btn > span {
    font-size: 20px;
  }
}

@media screen and (max-width: 1220px) {
  .article-main-content-title,
  .article-topic > h2,
  .article-related-title {
    font-size: 34px;
  }

  .article-related-cards {
    flex-wrap: wrap;
    justify-content: center;
  }

  .article-related-cards > hr {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  .article-partner {
    display: none;
  }

  .article-content {
    position: static;
    width: 100%;
    overflow: hidden;
    padding: 16px;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
  }

  .article-content > ul {
    height: 250px;
    overflow-y: auto;
  }

  .article-main {
    width: 100%;
    padding: 16px;
  }

  .article {
    flex-direction: column;
  }

  .article-main-wrapper {
    width: 100%;
  }

  .article-breadcrumbs {
    padding: 16px;
  }
}

@media screen and (max-width: 768px) {
  .article-main-header-people {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .article-main-modal-share {
    width: 250px;
  }
}

.body-of-article-wrap p {
  margin: 16px 0;
  font-size: 17px;
  color: #5c5d5e;
}

.body-of-article-wrap p > strong,
.body-of-article-wrap p > b {
  color: #282727;
}

.body-of-article-wrap p > iframe {
  width: 100%;
  height: 365px;
}

.body-of-article-wrap p > button {
  width: 100%;
  color: #fff;
  background-color: #32373c;
  border-radius: 9999px;
  box-shadow: none;
  text-decoration: none;
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
  font-size: 1.125em;
}

.body-of-article-wrap ul,
.body-of-article-wrap ol {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.body-of-article-wrap ul {
  list-style-type: disc;
  list-style-position: inside;
}

.body-of-article-wrap ol {
  list-style-type: decimal;
  list-style-position: inside;
}

.body-of-article-wrap li {
  padding-left: 20px;
  color: #5c5d5e;
  text-indent: -20px;
  font-size: 17px;
}

.body-of-article-wrap li > * {
  font-size: 17px;
}

.body-of-article-wrap li > strong,
.body-of-article-wrap li > b {
  color: #282727;
}

.body-of-article-wrap li > ul {
  margin-top: 16px;
}

.body-of-article-wrap li:has(> ul),
.body-of-article-wrap li:has(> ol) {
  padding-left: 8px;
  text-indent: -6px;
  list-style: none;
}

.body-of-article-wrap a {
  all: revert;
}

.body-of-article-wrap code {
  display: block;
  overflow-x: auto;
  white-space: pre;
  padding: 12px;
  background-color: #f4f4f4;
  font-family: monospace;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 6px;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  max-width: 100%;
  box-sizing: border-box;
}

.body-of-article-wrap pre {
  margin: 0;
  overflow: hidden;
}

.body-of-article-wrap table {
  display: block;
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  border-collapse: collapse;
  -webkit-overflow-scrolling: touch;
}

.body-of-article-wrap dl {
  margin: 1em 0;
  padding: 0;
}

.body-of-article-wrap dt {
  font-weight: bold;
  margin-top: 0.5em;
  color: #5c5d5e;
}

.body-of-article-wrap dd {
  margin-left: 1em;
  color: #555;
}

.body-of-article-wrap input {
  width: 100%;
  border: 1px solid #000;
  border-radius: 10px;
  margin: 16px 0;
  padding: 8px;
  outline: none;
}

.body-of-article-wrap h1 {
  font-size: 2em;
  font-weight: bold;
}

.body-of-article-wrap h2,
.body-of-article-wrap h3,
.body-of-article-wrap h4 {
  margin-top: 28px;
  margin-bottom: 16px;
}

.body-of-article-wrap h2 {
  font-size: 24px;
  font-weight: bold;
}

.body-of-article-wrap h3 {
  font-size: 18px;
  font-weight: bold;
}

.body-of-article-wrap h4 {
  font-size: 16px;
  font-weight: bold;
}

.body-of-article-wrap h5 {
  font-size: 14px;
  font-weight: bold;
}

.body-of-article-wrap h6 {
  font-size: 12px;
  font-weight: bold;
}

.body-of-article-wrap blockquote {
  margin-top: 16px;
}

.body-of-article-wrap form textarea {
  width: 100%;
  height: 300px;
  border: 1px solid #000;
  border-radius: 10px;
  margin: 16px 0;
  padding: 16px;
  outline: none;
}

.body-of-article-wrap > div > a {
  display: inline-block;
}

.body-of-article-wrap img {
  width: 100%;
  border-radius: 10px;
  height: auto;
}

.body-of-article-wrap figure {
  width: 100% !important;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 16px 0;
}

.body-of-article-wrap figure > figcaption {
  /* position: absolute; */
  top: 16px;
  left: 16px;
  font-size: 20px;
  font-weight: 500;
  max-width: 345px;
  width: 100%;
  font-style: italic;
  font-size: 14px;
  color: #5c5d5e;
}

.body-of-article-wrap figure + p {
  margin-top: 16px;
}

.wp-video video {
  width: 100%;
  height: 365px;
}

.wp-block-button {
  margin-top: 16px;
}

.modal-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 11;
}

.modal-image-content {
  position: relative;
  padding: 2px;
  background: #fff;
  border-radius: 16px;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s ease;
}

.modal-image-close {
  position: absolute;
  right: 0;
  top: -1.875rem;
}

.modal-image-close > svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: #fff;
}

.modal-image-body {
  width: 100%;
  height: 100%;
}

.modal-image-body img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

@media screen and (max-width: 1024px) {
  .modal-image-content {
    max-width: 85%;
  }

  .article-authors {
    margin: 0 16px;
  }
}

@media screen and (max-width: 768px) {
  .modal-image-content {
    max-width: 95%;
  }

  .article-main-content-people {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .article-related-cards {
    flex-direction: column;
    padding: 16px;
  }

  .article-related-cards > .mg-article-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  .article-related-title {
    margin: 0 16px;
  }
}

/*tmp style*/

.mg-article-card {
  padding-right: 20px;
  border-right: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  gap: 16px;
  height: auto;
  /* height: -webkit-max-content;
  height: -moz-max-content; */
  /* height: 100%; */
  /* max-width: 304px; */
}

/* 
.mg-article-card {
  height: 100%;
} */

.best-cards .mg-article-card:nth-child(1) {
  -ms-grid-row: 1;
  -ms-grid-row-span: 2;
  -ms-grid-column: 1;
  -ms-grid-column-span: 2;
  grid-area: a;
}

.best-cards .mg-article-card:nth-child(2) {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
  grid-area: b;
}

.best-cards .mg-article-card:nth-child(3) {
  -ms-grid-row: 1;
  -ms-grid-column: 4;
  grid-area: c;
}

.best-cards .mg-article-card:nth-child(4) {
  -ms-grid-row: 2;
  -ms-grid-column: 3;
  grid-area: d;
}

.best-cards .mg-article-card:nth-child(5) {
  -ms-grid-row: 2;
  -ms-grid-column: 4;
  grid-area: e;
}

.best-cards .mg-article-card {
  padding-right: 0;
  border-right: none;
}

.topic-articles-block > .mg-article-card:nth-child(4) {
  border-right: none;
}

.topic-articles-block > .mg-article-card:nth-child(8) {
  border-right: none;
}

.mg-article-card-image {
  position: relative;
  /* height: 100%; */
  /* width: 100%; */
}

.mg-article-card-image > img {
  /* width: 100%; */
  height: 100%;
  border-radius: 10px;
  -o-object-fit: cover;
  object-fit: cover;
}

.mg-article-card-image {
  position: relative;
}

.mg-article-card-image img {
  height: 160px;
  /* max-width: 300px; */
  width: 100%;
}

.best-cards .mg-article-card:nth-child(1) .mg-article-card-image > img {
  width: 100%;
  height: 100% !important;
  border-radius: 10px;
  -o-object-fit: cover;
  object-fit: cover;
}

.mg-article-card-content {
  /* height: 100%; */
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  gap: 16px;
}

.mg-article-card-topic {
  cursor: -webkit-grab;
  cursor: grab;
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  -moz-column-gap: 10px;
  column-gap: 10px;
  gap: 10px;
  max-width: calc(100% - 32px);
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.mg-article-card-topic.active .mg-article-card-topic {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.mg-article-card-topic::-webkit-scrollbar {
  display: none;
}

.mg-article-card-topic.active {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.mg-article-card-topic-name.active .mg-article-card-topic-name {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.mg-article-card-topic-name {
  padding: 6px 10px;
  border-radius: 6px;
  background: #fff;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  color: #282727;
  white-space: nowrap;
}

.articles-card-names.active .mg-article-card-topic-name {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.mg-article-card-author-img {
  min-width: 32px;
  height: 32px;
  -o-object-fit: cover;
  object-fit: cover;
  border: 1px solid #fff;
  border-radius: 100%;
}

.mg-article-card-like-wrap {
  position: absolute;
  bottom: 19px;
  left: 16px;
  padding: 6px 11px;
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  -moz-column-gap: 6px;
  column-gap: 6px;
  gap: 6px;
  cursor: pointer;
  border: none;
  transition: 0.3s ease-in-out;
}

.mg-article-card-like-wrap > .mg-article-card-like-img {
  width: 20px;
  height: 20px;
  stroke: #b52e51;
  fill: transparent;
  transition: 0.3s ease-in-out;
}

.like-active > .mg-article-card-like-img {
  fill: #fff;
  stroke: #fff;
}

.mg-article-card-summaries-wrap .mg-article-card-like-img {
  width: 16px;
  height: 16px;
  stroke: #aba9a8;
  fill: transparent;
}

.mg-article-card-authors-avatars-wrap {
  display: flex;
  align-items: center;
}

.mg-article-card-authors-avatars-wrap .mg-article-card-author-img:nth-child(2) {
  margin-left: -12px;
}

.mg-article-card-authors-avatars-wrap .mg-article-card-author-img:nth-child(3) {
  margin-left: -12px;
}

.mg-article-card-authors-avatars-wrap
  a:nth-child(2)
  .mg-article-card-author-img {
  margin-left: -12px;
}

.mg-article-card-authors-avatars-wrap
  a:nth-child(3)
  .mg-article-card-author-img {
  margin-left: -12px;
}

.mg-article-card-info-wrap {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  gap: 16px;
}

.mg-article-card-authors-wrap {
  display: flex;
  align-items: center;
  -moz-column-gap: 10px;
  column-gap: 10px;
  gap: 10px;
}

.mg-article-card-authors-name-wrap {
  width: 80%;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  display: flex;
  align-items: center;
  -moz-column-gap: 6px;
  column-gap: 6px;
  gap: 6px;
}

.mg-article-card-authors-name-wrap::-webkit-scrollbar {
  display: none;
}

.mg-article-card-author-name {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #282727;
  white-space: nowrap;
}

.mg-article-card-author-name {
  font-size: 16px;
  line-height: 20px;
}

.mg-article-card-summaries-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  -moz-column-gap: 20px;
  column-gap: 20px;
  gap: 20px;
}

.mg-article-card-summary {
  display: flex;
  align-items: center;
  -moz-column-gap: 7px;
  column-gap: 7px;
  gap: 7px;
}

.mg-article-card-summary .best-card-icon {
  width: 16px;
  height: 16px;
  stroke: #aba9a8;
  fill: transparent;
}

.mg-article-card-summary span {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #282727;
}

.mg-article-card-summary time {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #282727;
}

.mg-article-card-like-wrap > .mg-article-card-summary-icon {
  width: 20px;
  height: 20px;
  stroke: #b52e51;
  fill: transparent;
  transition: 0.3s ease-in-out;
}

.like-active > .mg-article-card-summary-icon {
  fill: #fff;
  stroke: #fff;
}

.mg-article-card-summary .mg-article-card-summary-icon {
  width: 16px;
  height: 16px;
  stroke: #aba9a8;
  fill: transparent;
}

.mg-article-card-title > .mg-article-card-title-link {
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  color: #282727;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mg-article-card-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 3em;
}

.left-orientation
  > .articles-topic-content
  > .articles-cards
  > .mg-article-card {
  padding-right: 0;
  border-right: none;
  padding-left: 20px;
  border-left: 1px solid #e0e0e0;
}

.article-related-cards > .mg-article-card {
  padding-right: 0;
  border-right: none;
  padding-left: 0;
  border-left: none;
  max-width: 301px;
  width: 100%;
}

@media screen and (max-width: 1024px) {
  .mg-article-card {
    padding-right: 0px;
    border-right: none;
  }

  .best-cards .mg-article-card:nth-child(1) .mg-article-card-image > img {
    height: 160px !important;
  }

  .article-content a {
    font-size: 14px;
  }

  .left-orientation
    > .articles-topic-content
    > .articles-cards
    > .mg-article-card {
    padding-left: 0px;
    border-left: none;
  }
}

.article-content-title {
  margin-bottom: 16px;
}

.article-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.article-content ul ul {
  display: none;
  margin-left: 1.5em;
}

.article-content li {
  position: relative;
  padding-left: 8px;
  cursor: pointer;
  color: #b52e51;
}

.article-content a {
  font-size: 17px;
}

.article-content li ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* .has-child.open {
  font-weight: 700;
} */

.article-content li.open,
.article-content li.open ul li {
  /* color: #aba9a8; */
}

.article-content li.open > ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 7px;
}

h1[id],
h2[id],
h3[id],
h4[id],
h5[id],
h6[id] {
  scroll-margin-top: 20px;
  color: #282727;
}

/* .article-content li.open::before,
  
.article-content li.open ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px;
  height: 3px;
  background-image: url("/wp-content/themes/counter-top/magazine/assets/images/—.svg");
  background-size: contain;
  background-repeat: no-repeat;
} */

.article-content li.has-child:not(.open)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 10px;
  height: 10px;
  /* square for the “+” */
  background: url("https://countertopscontractors.com/wp-content/themes/counter-top/magazine/assets/images/+.svg")
    center/contain no-repeat;
}

.article-content li.has-child.open > a {
  font-weight: 700;
}

/* 2. the same item once it’s opened ► show MINUS  */
.article-content li.open::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 10px;
  height: 3px;
  background: url("https://countertopscontractors.com/wp-content/themes/counter-top/magazine/assets/images/â.svg")
    center/contain no-repeat;
}

.article-content li.has-child {
  padding-left: 18px;
  /*  = ширина иконки (10px) + желаемый отступ  */
}

/* если используете text-indent вместо padding */
.article-content li.has-child {
  text-indent: -18px;
  /* вытягиваем иконку влево */
  padding-left: 35px;
  /* а сам текст начинаем после иконки */
}

.article-main-header-category-cards {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.article-main-header-category-cards > hr {
  width: 1px;
  height: 18px;
  background: #aba9a8;
}

.article-main-header-category-card {
  display: flex;
  align-items: center;
  gap: 5px;
}

.article-main-header-category-card-title {
  color: #282727;
  font-size: 14px;
  white-space: nowrap;
}

.article-main-header-category-card-img {
  width: 16px;
  height: 16px;
  padding: 3px;
  border-radius: 4px;
  background: #eae2e0;
}

.article-main-header-category-card-img > img {
  width: 10px;
  height: 10px;
}

.subscribe-step-image > img {
  border-radius: 16px;
}

.header-content-ticker > a:hover {
  text-decoration: underline;
}

.mg-authors {
  margin-top: 16px;
  margin-bottom: 60px;
  padding: 32px;
  border-radius: 16px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mg-authors-heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mg-authors-title {
  font-weight: 500;
  font-size: 56px;
  line-height: 64px;
  color: #282727;
}

.mg-authors-desc {
  position: relative;
  max-width: 95%;
}

.mg-authors-desc-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 17px;
  line-height: 110%;
  color: #282727;
}

.mg-authors-desc.expanded .mg-authors-desc-text {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.mg-authors-more {
  font-weight: 400;
  font-size: 15px;
  line-height: 100%;
  color: #aba9a8;
  background: none;
  /* position: absolute; */
  right: -60px;
  bottom: 0;
  background: none;
}

.mg-authors-desc.expanded .mg-authors-more {
  position: static;
  background: none;
}

.mg-authors-desc-more {
  margin-left: 2px;
  font-weight: 400;
  font-size: 15px;
  line-height: 100%;
  color: #aba9a8;
}

.mg-authors-content {
  display: grid;
  grid-template-areas: "a b b b";
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
}

.mg-authors-join {
  width: 100%;
  grid-area: a;
  padding: 16px;
  border-radius: 16px;
  background: #b52e51;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
}

.mg-authors-join-title {
  font-weight: 500;
  font-size: 28px;
  line-height: 100%;
  color: #fff;
}

.mg-authors-join-desc {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #fff;
}

.mg-authors-join-button {
  padding: 6px 6px 6px 16px;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mg-authors-join-button > span {
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: #282727;
}

.mg-authors-join-icon {
  padding: 13px;
  border-radius: 4px;
  background: #1e3839;
}

.mg-authors-join-icon svg {
  width: 10px;
  height: 10px;
  stroke: #fff;
}

.mg-authors-list {
  width: 100%;
  grid-area: b;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.mg-authors-card {
  padding: 16px;
  border-radius: 16px;
  background: #f4f4f6;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mg-authors-card-image {
  width: 100%;
  height: 240px;
  border-radius: 8px;
  -o-object-fit: cover;
  object-fit: cover;
}

.mg-authors-card-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.mg-authors-card-written {
  padding: 6px 10px;
  border-radius: 6px;
  background: #b52e51;
  display: flex;
  align-items: center;
  gap: 2px;
}

.mg-authors-card-written span {
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  color: #fff;
  white-space: nowrap;
}

.mg-authors-card-written svg {
  padding: 3px;
  width: 16px;
  height: 16px;
  fill: #fff;
}

.mg-authors-card-view {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mg-authors-card-view span {
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  color: #b52e51;
  white-space: nowrap;
}

.mg-authors-card-view svg {
  width: 14px;
  height: 14px;
  stroke: #b52e51;
}

.mg-authors-card-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mg-authors-card-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mg-authors-card-name {
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  color: #282727;
}

.mg-authors-card-profession {
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  color: #aba9a8;
}

.mg-authors-card-desc {
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 5px;
}

.mg-authors-card-desc p {
  font-weight: 400;
  font-size: 14px;
  color: #282727;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mg-authors-card-more {
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  color: #aba9a8;
  background: none;
}

.mg-authors-card-desc.expanded p {
  -webkit-line-clamp: unset;
  overflow: visible;
}

@media screen and (max-width: 1440px) {
  .mg-authors-title {
    font-size: 50px;
    line-height: 58px;
  }

  .mg-authors-card-image {
    height: 220px;
  }
}

@media screen and (max-width: 1220px) {
  .mg-authors-title {
    font-size: 42px;
    line-height: 50px;
  }

  .mg-authors-card-image {
    height: 200px;
  }

  .mg-authors-card-written span {
    font-size: 10px;
  }

  .mg-authors-card-written svg {
    padding: 3px;
    width: 14px;
    height: 14px;
    fill: #fff;
  }

  .mg-authors-card-view span {
    font-size: 12px;
  }

  .mg-authors-card-view svg {
    width: 12px;
    height: 12px;
  }
}

@media screen and (max-width: 1024px) {
  .mg-authors {
    padding: 32px 15px;
  }

  .mg-authors-card-image {
    height: 180px;
  }

  .mg-authors-title {
    font-size: 32px;
    line-height: 100%;
  }

  .mg-authors-content {
    grid-template-areas:
      "a a a"
      "b b b";
    grid-template-columns: 1fr 1fr 1fr;
  }

  .mg-authors-join-title {
    font-size: 32px;
  }
}

@media screen and (max-width: 768px) {
  .mg-authors-desc {
    max-width: 400px;
  }

  .mg-authors-more {
    right: -64px;
  }

  .mg-authors-content {
    grid-template-areas:
      "a"
      "b";
    grid-template-columns: 1fr;
  }

  .mg-authors-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 480px) {
  .mg-authors-list {
    grid-template-columns: 1fr;
  }

  .mg-authors-card-written span {
    font-size: 14px;
  }

  .mg-authors-card-written svg {
    padding: 3px;
    width: 16px;
    height: 16px;
  }

  .mg-authors-card-view span {
    font-size: 16px;
  }

  .mg-authors-card-view svg {
    width: 14px;
    height: 14px;
  }

  .mg-authors-desc {
    max-width: 250px;
  }

  .mg-authors-more {
    position: static;
  }
}

.mg-author {
  margin-top: 16px;
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.mg-author-content {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.mg-author-card {
  min-width: 304px;
  max-width: 304px;
  padding: 32px;
  border-radius: 16px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mg-author-image {
  position: relative;
  width: 100%;
  height: 240px;
}

.mg-author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.mg-author-card-info {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.mg-author-card-title {
  font-weight: 500;
  font-size: 34px;
  line-height: 100%;
  color: #282727;
}

.mg-author-card-quote {
  padding: 10px;
  border-radius: 6px;
  background: #b52e51;
  font-weight: 400;
  font-style: italic;
  font-size: 13px;
  line-height: 18px;
  color: #fff;
}

.mg-author-info {
  width: 100%;
  padding: 32px;
  border-radius: 16px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mg-author-info-title {
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  color: #282727;
}

.mg-author-info-desc {
  font-weight: 400;
  font-size: 17px;
  line-height: 110%;
  color: #282727;
}

.mg-author-contact {
  min-width: 356px;
  max-width: 356px;
  padding: 32px;
  border-radius: 16px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mg-author-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mg-author-contact-title {
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  color: #282727;
}

.mg-author-contact-desc {
  font-weight: 400;
  font-size: 17px;
  line-height: 100%;
  color: #282727;
}

.mg-author-contact-copy {
  padding: 8px;
  border-radius: 8px;
  background: #f4f4f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mg-author-contact-copy span {
  max-width: 100%;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #282727;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mg-author-contact-copy button {
  padding: 6px 12px;
  border-radius: 4px;
  background: #b52e51;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #fff;
}

.mg-author-contact-info-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mg-author-contact-info-links a {
  width: 32px;
  height: 32px;
}

.mg-author-contact-info-links a img {
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 1220px) {
  .mg-author-card-title {
    font-size: 30px;
  }
}

@media screen and (max-width: 1024px) {
  .mg-author {
    margin: 0 15px;
    flex-direction: column;
  }

  .mg-author-card {
    padding: 30px 16px;
  }

  .mg-author-card-title {
    font-size: 32px;
  }

  .mg-author-info {
    padding: 30px 16px;
  }

  .mg-author-contact {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    padding: 30px 16px;
  }
}

@media screen and (max-width: 768px) {
  .mg-author-content {
    flex-direction: column;
  }

  .mg-author-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
}

.mg-awards {
  margin-top: 60px;
  padding: 32px;
  border-radius: 16px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mg-awards-title {
  font-weight: 500;
  font-size: 56px;
  line-height: 64px;
  color: #282727;
}

.mg-awards-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 20px;
}

.mg-awards-content img {
  width: 100%;
  height: 246px;
  object-fit: cover;
  border-radius: 10px;
}

@media screen and (max-width: 1440px) {
  .mg-awards-title {
    font-size: 50px;
    line-height: 58px;
  }
}

@media screen and (max-width: 1220px) {
  .mg-awards-title {
    font-size: 42px;
    line-height: 50px;
  }

  .mg-awards-content img {
    height: 220px;
  }
}

@media screen and (max-width: 1024px) {
  .mg-awards {
    margin-top: 40px;
    padding: 32px 15px;
  }

  .mg-awards-title {
    font-size: 32px;
    line-height: 100%;
  }

  .mg-awards-content {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .mg-awards-content img {
    height: 246px;
  }
}

@media screen and (max-width: 768px) {
  .mg-awards-content img {
    height: 200px;
  }
}

@media screen and (max-width: 480px) {
  .mg-awards-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 360px) {
  .mg-awards-content img {
    height: 160px;
  }
}

.mg-publications {
  margin-top: 60px;
  padding: 32px;
  border-radius: 16px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mg-publications-title {
  font-weight: 500;
  font-size: 56px;
  line-height: 64px;
  color: #282727;
}

.mg-publications-content {
  display: grid;
  grid-template-columns: 320px 320px 320px 320px;
  gap: 20px;
}

.mg-publications-content > .mg-article-card:nth-child(4n + 4) {
  border-right: none;
}

@media screen and (max-width: 1440px) {
  .mg-publications-title {
    font-size: 50px;
    line-height: 58px;
  }

  .mg-publications-content {
    grid-template-columns: 262px 262px 262px 262px;
  }
}

@media screen and (max-width: 1220px) {
  .mg-publications-title {
    font-size: 42px;
    line-height: 50px;
  }

  .mg-publications-content {
    grid-template-columns: 224px 224px 224px 224px;
  }
}

@media screen and (max-width: 1024px) {
  .mg-publications {
    margin-top: 40px;
    padding: 32px 15px;
  }

  .mg-publications-title {
    font-size: 32px;
    line-height: 100%;
  }

  .mg-publications-content {
    grid-template-columns: auto auto auto;
    gap: 20px;
  }
}

@media screen and (max-width: 889px) {
  .mg-publications-content {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .mg-publications-content {
    grid-template-columns: 1fr;
  }
}

.modal-award {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 11;
}

.modal-award-content {
  position: relative;
  padding: 2px;
  background: #fff;
  border-radius: 16px;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s ease;
}

.modal-award-close {
  position: absolute;
  right: 0;
  top: -1.875rem;
  background: none;
}

.modal-award-close > svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: #fff;
}

.modal-award-body {
  width: 100%;
  height: 100%;
}

.modal-award-body img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.modal-award-button {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #b52e51;
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #fff;
}

@media screen and (max-width: 1024px) {
  .modal-award-content {
    max-width: 85%;
  }
}

@media screen and (max-width: 768px) {
  .modal-award-content {
    max-width: 95%;
  }
}

.mg-become-an-author {
  margin-top: 16px;
}

.mg-become-an-author-title {
  font-weight: 500;
  font-size: 28px;
  line-height: normal;
  color: #282727;
}

.mg-become-an-author-video {
  position: relative;
  width: 100%;
  height: 365px;
  max-width: 650px;
  border-radius: 12px;
  overflow: hidden;
}

.mg-become-an-author-video-title {
  max-width: 345px;
  width: 100%;
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  position: absolute;
  top: 16px;
  left: 16px;
}

.half {
  max-width: 284px;
  width: 100%;
  height: 505px;
}

.half-img {
  max-width: 380px !important;
  width: 100%;
  height: 500px;
}

.mg-become-an-author-video-player {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: cover;
}

.mg-become-an-author-video-play {
  --size: 33px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: var(--size);
  height: var(--size);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease;
  z-index: 9;
}

.mg-become-an-author-video-play:hover {
  transform: scale(1.1);
}

.mg-become-an-author-video.is-playing .mg-mg-become-an-author-video-play {
  display: none;
}

.mg-become-an-author-quote {
  padding: 16px;
  background: #b52e51;
  font-size: 24px;
  font-weight: 500;
  display: inline-block;
  color: #fff;
  border-radius: 10px;
  max-width: 924px;
  width: 100%;
}

.mg-become-an-author-img {
  max-width: 650px;
  width: 100%;
  height: 370px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.mg-become-an-author-img img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.mg-become-an-author-img-title {
  max-width: 345px;
  width: 100%;
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  position: absolute;
  top: 16px;
  left: 16px;
}

.mg-become-an-author {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 16px auto 60px auto;
}

.mg-become-an-author-desc,
.mg-become-an-author-list-item {
  font-size: 17px;
  color: #5c5d5e;
}

.mg-become-an-author-desc b {
  color: #282727;
}

.mg-become-an-author-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mg-become-an-author-list-item {
  position: relative;
  text-indent: 0;
  padding-left: 25px;
  margin-bottom: 16px;
}

.mg-become-an-author-list-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 15px;
  height: 1.5px;
  background: #5c5d5e;
}

.mg-become-an-author-list-title {
  font-size: 24px;
  font-weight: 500;
  color: #282727;
}

@media (max-width: 1024px) {
  .mg-become-an-author-title {
    font-size: 48px;
  }

  .mg-become-an-author-video,
  .mg-become-an-author-img {
    height: 300px;
    max-width: 100%;
  }

  .mg-become-an-author-video-title,
  .mg-become-an-author-img-title {
    font-size: 18px;
    max-width: 75%;
  }

  .mg-become-an-author-quote {
    font-size: 21px;
  }
}

@media (max-width: 768px) {
  .mg-become-an-author {
    gap: 20px;
    margin: 16px 16px 48px 16px;
  }

  .mg-become-an-author-title {
    font-size: 36px;
  }

  .mg-become-an-author-video,
  .mg-become-an-author-img {
    height: 240px;
  }

  .mg-become-an-author-video-play {
    --size: 48px;
  }

  .mg-become-an-author-video-title,
  .mg-become-an-author-img-title {
    font-size: 16px;
    max-width: 80%;
  }

  .mg-become-an-author-quote {
    font-size: 18px;
  }

  .mg-become-an-author-desc,
  .mg-become-an-author-list-item {
    font-size: 16px;
  }

  .half,
  .half-img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .mg-become-an-author-title {
    font-size: 28px;
  }

  .mg-become-an-author-video,
  .mg-become-an-author-img {
    height: 200px;
  }

  .mg-become-an-author-video-play {
    --size: 40px;
  }

  .mg-become-an-author-video-title,
  .mg-become-an-author-img-title {
    font-size: 14px;
  }

  .mg-become-an-author-quote {
    font-size: 16px;
  }

  .mg-become-an-author-desc,
  .mg-become-an-author-list-item {
    font-size: 15px;
  }

  .mg-become-an-author-list-item {
    padding-left: 20px;
  }

  .mg-become-an-author-list-item::before {
    width: 12px;
  }
}
.pagination-author-page {
  margin: 40px;
}

/* consent-text.scss */
.consent-text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #d1d6e1;
  margin-top: 0.75rem;
  max-width: 48rem;

  a {
    color: #22c5d7;
    text-decoration: underline;
    transition: color 0.15s ease;

    &:hover,
    &:focus {
      color: #1da3d8;
      text-decoration: none;
    }
  }

  em {
    font-style: italic;
  }
}

/* The style for common plain page */
.the-common-page-content {
  max-width: 1400px;
  margin: 35px auto;
  padding: 0 20px;
}
.the-common-page-content h1 {
  margin: auto;
}
.the-common-page-content h2 {
  margin: auto;
}
.the-common-page-content h3 {
  margin: auto;
}
.the-common-page-content h4 {
  margin: auto;
}
.the-common-page-content a {
  color: blue;
  text-decoration: underline;
}

.the-common-page-content p {
  margin: 16px 0;
  font-size: 17px;
  color: #5c5d5e;
}

.the-common-page-content p > strong,
.the-common-page-content p > b {
  color: #282727;
}

.the-common-page-content p > iframe {
  width: 100%;
  height: 365px;
}

.the-common-page-content p > button {
  width: 100%;
  color: #fff;
  background-color: #32373c;
  border-radius: 9999px;
  box-shadow: none;
  text-decoration: none;
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
  font-size: 1.125em;
}

.the-common-page-content ul,
.the-common-page-content ol {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.the-common-page-content ul {
  list-style-type: disc;
  list-style-position: inside;
}

.the-common-page-content ol {
  list-style-type: decimal;
  list-style-position: inside;
}

.the-common-page-content li {
  padding-left: 20px;
  color: #5c5d5e;
  text-indent: -20px;
  font-size: 17px;
}

.the-common-page-content li > * {
  font-size: 17px;
}

.the-common-page-content li > strong,
.the-common-page-content li > b {
  color: #282727;
}

.the-common-page-content li > ul {
  margin-top: 16px;
}

.the-common-page-content li:has(> ul),
.the-common-page-content li:has(> ol) {
  padding-left: 8px;
  text-indent: -6px;
  list-style: none;
}

.the-common-page-content a {
  all: revert;
}

.the-common-page-content code {
  display: block;
  overflow-x: auto;
  white-space: pre;
  padding: 12px;
  background-color: #f4f4f4;
  font-family: monospace;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 6px;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  max-width: 100%;
  box-sizing: border-box;
}

.the-common-page-content pre {
  margin: 0;
  overflow: hidden;
}

.the-common-page-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  border-collapse: collapse;
  -webkit-overflow-scrolling: touch;
}

.the-common-page-content dl {
  margin: 1em 0;
  padding: 0;
}

.the-common-page-content dt {
  font-weight: bold;
  margin-top: 0.5em;
  color: #5c5d5e;
}

.the-common-page-content dd {
  margin-left: 1em;
  color: #555;
}

.the-common-page-content input {
  width: 100%;
  border: 1px solid #000;
  border-radius: 10px;
  margin: 16px 0;
  padding: 8px;
  outline: none;
}

.the-common-page-content h1 {
  font-size: 2em;
  font-weight: bold;
}

.the-common-page-content h2,
.the-common-page-content h3,
.the-common-page-content h4 {
  margin-top: 28px;
  margin-bottom: 16px;
}

.the-common-page-content h2 {
  font-size: 24px;
  font-weight: bold;
}

.the-common-page-content h3 {
  font-size: 18px;
  font-weight: bold;
}

.the-common-page-content h4 {
  font-size: 16px;
  font-weight: bold;
}

.the-common-page-content h5 {
  font-size: 14px;
  font-weight: bold;
}

.the-common-page-content h6 {
  font-size: 12px;
  font-weight: bold;
}

.the-common-page-content blockquote {
  margin-top: 16px;
}

.the-common-page-content form textarea {
  width: 100%;
  height: 300px;
  border: 1px solid #000;
  border-radius: 10px;
  margin: 16px 0;
  padding: 16px;
  outline: none;
}

.the-common-page-content > div > a {
  display: inline-block;
}

.the-common-page-content img {
  width: 100%;
  border-radius: 10px;
  height: auto;
}

.the-common-page-content figure {
  width: 100% !important;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 16px 0;
}

.the-common-page-content figure > figcaption {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 20px;
  font-weight: 500;
  max-width: 345px;
  width: 100%;
  color: #fff;
}

.the-common-page-content figure + p {
  margin-top: 16px;
}

.the-common-page-content video {
  width: 100%;
  height: 365px;
}

.wp-block-button {
  margin-top: 16px;
}

/* End the style for common plain page */

.table-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.table-modal > div {
  position: relative;
  width: 80%;
  height: 80%;
}

.table-modal-content {
  background: #fff;
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
  border-radius: 8px;
  padding: 20px;
}

.table-modal-close {
  position: absolute;
  top: -30px;
  right: 10px;
  color: #fff;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  margin-right: -10px;
}

.table-modal-body {
  max-width: 100%;
  overflow-x: auto;
}

.table-modal-body table {
  width: 100%;
  border-collapse: collapse;
}

.table-modal-body table a {
  all: revert;
}

.btn-primary.btn-primary-with-icon.mg-btn-black-bg {
  background-color : #1E3839;
}
.btn-primary.btn-primary-with-icon.main-menu.btn-mg-bg-color-back {
  background-color: #1E3839;
}
