.forum-page {
  min-height: 70rem;
  padding-bottom: 10rem;
  background: #f5f5f5;
  font-family: "Microsoft YaHei", sans-serif;
}
.forum-inner {
  width: min(140rem, calc(100% - 4rem));
  margin: auto;
}
.forum-content {
  margin-top: 8rem;
}
.forum-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3.5rem;
}
.forum-sort {
  display: flex;
  gap: 3rem;
}
.forum-sort button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #333;
  font: 1.6rem "Microsoft YaHei";
  cursor: pointer;
}
.forum-sort button::after {
  content: "";
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  margin: 0 0 0.3rem 0.7rem;
  border-right: 0.1rem solid currentColor;
  border-bottom: 0.1rem solid currentColor;
  transform: rotate(45deg);
}
.forum-sort button.active {
  color: #00479d;
}
.forum-sort button.active::after {
  transform: rotate(225deg);
  margin-bottom: 0;
}
.forum-search {
  display: flex;
  height: 4rem;
  width: 50rem;
}
.forum-search input {
  min-width: 0;
  flex: 1;
  padding: 0 1.8rem;
  border: 0;
  border-radius: 2.1rem 0 0 2.1rem;
  font-size: 1.4rem;
}
.forum-search input::placeholder{
    color: #DCDFE6;
}

.forum-search button {
  flex: 0 0 5.5rem;
  border: 0;
  background: #00479d;
  color: #fff;
  cursor: pointer;
}
.forum-search-submit {
  position: relative;
  border-radius: 2.1rem;
}
.forum-search-submit::before {
  content: "";
  width: 1rem;
  height: 1rem;
  position: absolute;
  top: 1.35rem;
    left: 2rem;
  border: .12rem solid #fff;
  border-radius: 50%;
}
.forum-search-submit::after {
  content: "";
  width: .55rem;
  height: .12rem;
  position: absolute;
      top: 2.6rem;
    left: 2.8rem;
  background: #fff;
  transform: rotate(45deg);
}
.forum-search .forum-post-open {
  flex: 0 0 7rem;
  margin-left: 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 2.1rem;
  background: #00479d;
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.forum-card {
  margin-bottom: 3rem;
}
.forum-card__main {
  position: relative;
  display: flex;
  align-items: center;
  padding: 4rem;
  background: #fff;
  border-radius: 0.8rem;
}
.forum-user {
  width: 8rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 4rem;
  text-align: center;
  font-size: 1.4rem;
}
.forum-avatar {
  width: 5.5rem;
  height: 5.5rem;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: #e8f1fc;
  color: #00479d;
  font-size: 2.2rem;
  line-height: 5.5rem;
  text-align: center;
}
.forum-card__body {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.forum-card__body h2 {
  margin: 0 0 1rem;
  color: #00479d;
  font-size: 1.8rem;
  font-weight: 500;
}
.forum-card__body p {
  margin: 0;
  color: #666;
  font-size: 1.4rem;
  line-height: 1.6;
}
.forum-card__meta {
  min-height: 5rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 4rem;
  color: #999;
  font-size: 1.4rem;
}
.forum-card__meta span + span {
  color: #444;
}
.forum-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: #444;
}
.forum-actions button,
.forum-comments-more {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.forum-actions button:hover,
.forum-actions .is-liked,
.forum-comments-more {
  color: #00479d;
}
.forum-actions button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.forum-comments[hidden] {
  display: none;
}
.forum-comment-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid #ededed;
  color: #555;
  font-size: 1.4rem;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.forum-comment-item.is-child {
  margin-left: 2rem;
}
.forum-comment-item time {
  display: block;
  margin-top: 0.5rem;
  color: #999;
  font-size: 1.2rem;
}
.forum-comments-more {
  display: block;
  margin-top: 1.5rem;
  font-size: 1.4rem;
}
.forum-action-message {
  margin: 0;
  padding: 1.5rem 4rem;
  background: #fff;
  color: #00479d;
  font-size: 1.4rem;
  overflow-wrap: anywhere;
}
.forum-action-message.is-error {
  color: #d93025;
}
.forum-detail-card .forum-card__main {
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem 0;
}
.forum-detail-card .forum-card__meta {
  width: 100%;
  margin: 0;
}
.forum-detail-card h1 {
  margin: 0 0 2rem;
  font-size: 2.4rem;
}
.forum-detail-card .company-richtext,
.forum-detail-content {
  font-size: 1.6rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.forum-detail-content {
  padding: 0 2.7rem;
  min-height: 10rem;
  white-space: pre-wrap;
}
.forum-detail-content img,
.forum-detail-content video,
.forum-detail-card img,
.forum-detail-card video {
  max-width: 100%;
  height: auto;
}
.forum-detail-content table {
  max-width: 100%;
}
.forum-detail-content pre,
.forum-detail-card pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.forum-modal__dialog.forum-interaction-dialog {
  width: min(80rem, calc(100vw - 4rem));
}
.forum-interaction-dialog > .forum-modal__footer {
  padding: 2rem 2.7rem 2.7rem;
}
.forum-toggle {
  width: 2rem;
  height: 2rem;
  padding: 0;
  position: relative;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: 0.3s;
}
.forum-toggle::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  position: absolute;
  top: 0.4rem;
  left: 0.5rem;
  border-right: 0.15rem solid #111;
  border-bottom: 0.15rem solid #111;
  transform: rotate(45deg);
}
.forum-card.is-open .forum-toggle {
  transform: rotate(180deg);
}
.forum-tag {
  position: absolute;
  top: 0;
  right: 0;
  width: 11.4rem;
  height: 3rem;
  border-radius: 0 0 0 1.5rem;
  background: #00479d;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 3rem;
  text-align: center;
}
.forum-comments {
  height: 0;
  overflow: hidden;
  padding: 0 8.8rem;
  background: #fff;
  border-top: 0.1rem solid #00479d;
  box-shadow: 0 0.3rem 0.6rem rgba(0, 0, 0, 0.16);
  transition: 0.3s;
}
.forum-card.is-open .forum-comments {
  height: auto;
  padding: 2rem 8.8rem;
}
.forum-comments p {
  margin: 0;
  padding: 1rem 0;
  border-bottom: 0.1rem solid #ededed;
  color: #555;
  font-size: 1.4rem;
}
.forum-types {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.forum-types a {
  padding: 0.7rem 0;
  color: #222;
  font-size: 1.6rem;
  text-decoration: none;
}
.forum-types a.active {
  color: #00479d;
}
.forum-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.45);
}
.forum-modal.is-visible {
  display: flex;
}
body.forum-modal-open {
  overflow: hidden;
}
.forum-modal__dialog {
  position: relative;
  width: min(127.5rem, calc(100vw - 4rem));
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  border-radius: 0.4rem;
  background: #fff;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
}
.forum-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.8rem 2.7rem 2rem;
}
.forum-modal__header h2 {
  margin: 0;
  color: #333;
  font-size: 2.4rem;
  font-weight: 400;
}
.forum-modal__close {
  width: 3.2rem;
  height: 3.2rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #909399;
  font-size: 2.8rem;
  line-height: 3.2rem;
  cursor: pointer;
}
.forum-modal form {
  padding: 2rem 2.7rem 2.7rem;
}
.forum-modal__category-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 6rem;
  margin-bottom: 2.8rem;
  gap: 3rem;
}
.forum-modal__selected {
  margin: 0;
  padding-top: 1rem;
  color: #333;
  font-size: 2rem;
}
.forum-modal__selected strong {
  margin-left: 1rem;
  font-weight: 400;
}
.forum-category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2rem;
}
.forum-category-picker {
  position: relative;
}
.forum-category-button,
.forum-category-option {
  min-width: 12.6rem;
  min-height: 4.5rem;
  padding: 0.8rem 1.8rem;
  border: 0.1rem solid #00479d;
  background: #00479d;
  color: #fff;
  font-size: 2rem;
  line-height: 1.25;
  cursor: pointer;
}
.forum-category-children {
  display: none;
  min-width: 100%;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 2;
  padding: 0.8rem;
  border: 0.1rem solid #dcdfe6;
  background: #fff;
  box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.12);
}
.forum-category-picker:hover .forum-category-children,
.forum-category-picker:focus-within .forum-category-children,
.forum-category-picker.is-open .forum-category-children {
  display: grid;
  gap: 0.8rem;
}
.forum-category-children .forum-category-option {
  width: 100%;
  min-width: 18rem;
  min-height: 3.8rem;
  background: #fff;
  color: #00479d;
  font-size: 1.6rem;
  white-space: nowrap;
}
.forum-category-option.is-selected,
.forum-category-children .forum-category-option:hover {
  background: #00479d;
  color: #fff;
}
.forum-field {
  display: block;
}
.sr-only {
  width: 0.1rem;
  height: 0.1rem;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.forum-modal input,
.forum-modal textarea {
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 2rem;
  padding: 1.5rem 2rem;
  border: 0.1rem solid #dcdfe6;
  border-radius: 0.4rem;
  color: #333;
  font: 1.8rem "Microsoft YaHei";
  outline: none;
}
.forum-modal input:focus,
.forum-modal textarea:focus {
  border-color: #00479d;
}
.forum-modal input::placeholder,
.forum-modal textarea::placeholder {
  color: #c0c4cc;
}
.forum-modal textarea {
  height: 29rem;
  min-height: 16rem;
  resize: vertical;
}
.forum-form-message {
  margin: -0.5rem 0 1.5rem;
  color: #444;
  font-size: 1.4rem;
}
.forum-form-message.is-error {
  color: #d93025;
}
.forum-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 1.3rem;
  padding-top: 1.2rem;
}
.forum-cancel,
.forum-submit {
  min-width: 9rem;
  height: 5.2rem;
  padding: 0 2.5rem;
  border: 0.1rem solid #dcdfe6;
  border-radius: 0.4rem;
  background: #fff;
  color: #606266;
  font-size: 2rem;
  cursor: pointer;
}
.forum-submit {
  border-color: #00479d;
  background: #00479d;
  color: #fff;
}
.forum-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
.forum-success-page {
  min-height: 70rem;
  padding: 3.5rem 0 5rem;
  background: #f5f5f5;
}
.forum-success {
  width: 140rem;
  min-height: 67rem;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.forum-success img {
  max-width: 32rem;
  max-height: 22.5rem;
}
.forum-success h1 {
  margin: 3rem 0 0;
  color: #282828;
  font-size: 2rem;
}
.forum-success p {
  margin: 2rem 0 0;
  color: #d93025;
  font-size: 1.4rem;
}
.forum-success__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 5rem;
}
.forum-success__actions a {
  width: 13.3rem;
  height: 4rem;
  border: 0.1rem solid #00479d;
  border-radius: 0.3rem;
  color: #00479d;
  font-size: 1.4rem;
  line-height: 3.8rem;
  text-align: center;
  text-decoration: none;
}
.forum-success__actions a.is-primary {
  background: #00479d;
  color: #fff;
}
@media (max-width: 1024px) {
  .forum-inner {
    width: 100%;
  }
  .forum-content {
    margin-top: 0;
    padding: 3vw;
  }
  .forum-filter {
    flex-direction: column;
    align-items: stretch;
    gap: 3vw;
    margin-bottom: 3vw;
  }
  .forum-search input {
    width: auto;
    flex: 1;
  }
  .forum-search {
    width: 100%;
  }
  .forum-card__main {
    display: grid;
    grid-template-columns: 6rem minmax(0, 1fr) 2.5rem;
    gap: 1.5rem;
    padding: 3vw;
    padding-top: 4rem;
    min-width: 0;
  }
  .forum-user {
    width: 6rem;
    margin-right: 0;
    grid-row: 1 / 3;
  }
  .forum-card__body {
    width: auto;
    min-width: 0;
  }
  .forum-card__meta {
    grid-column: 2 / 4;
    grid-row: 2;
    margin: 0;
    font-size: 1.2rem;
    min-width: 0;
  }
  .forum-card__meta span {
    white-space: nowrap;
  }
  .forum-comments,
  .forum-card.is-open .forum-comments {
    padding: 3vw;
  }
  .forum-detail-card .forum-card__main {
    display: flex;
  }
  .forum-detail-card .forum-card__body {
    flex-basis: calc(100% - 8rem);
  }
  .forum-detail-card .company-richtext {
    font-size: 1.6rem;
  }
  .forum-action-message {
    padding: 3vw;
  }
  .forum-modal__dialog {
    width: calc(100% - 6vw);
    max-height: calc(100vh - 6vw);
  }
  .forum-modal__category-row {
    flex-direction: column;
    gap: 2rem;
  }
  .forum-category-list {
    width: 100%;
    justify-content: flex-start;
  }
  .forum-category-children {
    right: auto;
    left: 0;
  }
  .forum-modal textarea {
    height: 24rem;
  }
  .forum-success {
    width: calc(100% - 6vw);
    min-height: 60rem;
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  .forum-content {
    padding-right: 9rem;
  }
}

@media (max-width: 600px) {
  .forum-modal {
    padding: 3vw;
  }
  .forum-modal__dialog {
    width: 100%;
    max-height: calc(100vh - 6vw);
  }
  .forum-modal__header,
  .forum-modal form {
    padding-right: 5vw;
    padding-left: 5vw;
  }
  .forum-modal__selected,
  .forum-category-button {
    font-size: 1.6rem;
  }
  .forum-category-list {
    gap: 1rem;
  }
  .forum-category-button,
  .forum-category-option {
    min-width: 10rem;
  }
  .forum-category-children .forum-category-option {
    min-width: 15rem;
  }
  .forum-modal input,
  .forum-modal textarea {
    font-size: 1.6rem;
  }
  .forum-modal textarea {
    height: 20rem;
  }
  .forum-cancel,
  .forum-submit {
    height: 4.5rem;
    font-size: 1.6rem;
  }
  .forum-success img {
    width: min(70vw, 32rem);
  }
  .forum-success__actions {
    width: 100%;
    padding: 0 5vw;
    gap: 1rem;
  }
  .forum-success__actions a {
    width: 100%;
  }
}
