.text-mail {
  color: #021e6f !important;
  text-decoration: none !important;
  transition: all 0.5s ease-in-out;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.text-mail:hover {
  color: #021e6fe6 !important;
  text-decoration: underline !important;
}

#chiefEditorGrid .grid-item:first-child,
.editorial-card .grid-item:first-child {
  display: flex;
  justify-content: center;
}

.editorial-page,
.editorial-page * {
  box-sizing: border-box;
}

.editorial-page {
  width: 100%;
  min-width: 0;
}

.editorial-page-container {
  width: 100%;
  min-width: 0;
}

.editorial-page-title {
  font-size: 30px !important;
  line-height: 36px !important;
}

.editorial-section-title {
  font-size: 24px !important;
  line-height: 30px !important;
}

.editorial-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
  width: 100% !important;
  align-items: stretch !important;
}

.editorial-card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.editorial-card > .grid-item {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.editorial-card > .grid-item:first-child {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.editorial-card > .grid-item:nth-child(2) {
  display: block !important;
  text-align: center !important;
}

.editorial-chief-grid {
  grid-template-columns: minmax(0, 470px) !important;
  justify-content: start !important;
}

.editorial-member-name,
.editorial-card h2 {
  max-width: 100%;
  overflow-wrap: break-word;
}

.editorial-card .font-body,
.editorial-card .lc-text-block-content {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.editorial-card a,
.editorial-card .text-mail {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.editorial-member-name {
  font-size: 16px !important;
  line-height: 24px !important;
  margin-top: 16px !important;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}

.editorial-avatar {
  width: 80px !important;
  max-width: 80px !important;
  min-height: 80px !important;
}

.editorial-page .editorial-card {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.editorial-page .editorial-card > .grid-item {
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  display: flex;
  justify-content: center;
}

.editorial-page .editorial-card > .grid-item:nth-child(2) {
  display: block;
  text-align: center;
}

.editorial-page .editorial-avatar {
  width: 80px !important;
  height: 80px !important;
  min-width: 80px !important;
  max-width: 80px !important;
  min-height: 80px !important;
  max-height: 80px !important;
  flex: 0 0 80px !important;
  border-radius: 50% !important;
}

@media (max-width: 1024px) {
  .editorial-page-container {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .editorial-chief-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 470px;
  }

  .editorial-card {
    padding: 18px !important;
  }

  .editorial-page-title {
    font-size: 27px !important;
    line-height: 33px !important;
    margin-bottom: 26px !important;
  }

  .editorial-section-title {
    font-size: 22px !important;
    line-height: 28px !important;
    margin-bottom: 20px !important;
  }

  .editorial-card .font-body {
    font-size: 13px !important;
    line-height: 19px !important;
  }

  .editorial-member-name {
    font-size: 15px !important;
    line-height: 21px !important;
    margin-top: 14px !important;
  }

  .editorial-page
    :is(
      #chiefEditorGrid,
      [id^="associateEditor"],
      [id^="reviewBoard"]
    ).editorial-card
    > .grid-item {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 575.98px) {
  .editorial-page-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-top: 20px !important;
    padding-bottom: 24px !important;
  }

  .editorial-grid,
  .editorial-chief-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    max-width: none !important;
  }

  .editorial-grid > .grid-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .editorial-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 16px 14px !important;
    border-radius: 12px !important;
  }

  .editorial-page-title {
    font-size: 24px !important;
    line-height: 30px !important;
    margin-top: 16px !important;
    margin-bottom: 22px !important;
  }

  .editorial-section-title {
    font-size: 20px !important;
    line-height: 26px !important;
    margin-bottom: 16px !important;
  }

  .editorial-card .font-body,
  .editorial-card .lc-text-block-content {
    font-size: 13px !important;
    line-height: 19px !important;
  }

  .editorial-page .lc-breadcrumb-list {
    gap: 4px !important;
  }

  .editorial-page .lc-breadcrumb-link,
  .editorial-page .lc-breadcrumb-text,
  .editorial-page .lc-breadcrumb-separator {
    font-size: 13px !important;
  }
  .editorial-member-name {
    font-size: 14px !important;
    line-height: 20px !important;
    margin-top: 12px !important;
  }
  .editorial-avatar {
    width: 64px !important;
    max-width: 64px !important;
    min-height: 64px !important;
    padding: 8px !important;
  }

  .editorial-avatar .lc-text-block-content {
    font-size: 20px !important;
    line-height: 26px !important;
  }
}

@media (max-width: 350px) {
  .editorial-page-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .editorial-member-name {
    font-size: 13px !important;
    line-height: 19px !important;
  }

  .editorial-card {
    padding: 14px 10px !important;
  }

  .editorial-page-title {
    font-size: 22px !important;
    line-height: 28px !important;
  }

  .editorial-section-title {
    font-size: 19px !important;
    line-height: 24px !important;
  }

  .editorial-card .font-body,
  .editorial-card .lc-text-block-content {
    font-size: 12.5px !important;
    line-height: 18px !important;
  }
}
