.expert-recruitment-page {
  padding: 24px 0 56px;
}

.expert-recruitment-wrapper {
  width: 100%;
  max-width: 1320px;
  margin: 20px auto 0;
  padding: 0 16px;
}

.expert-entry-section,
.expert-form-section {
  display: block;
}

.expert-entry-section.is-hidden,
.expert-form-section.is-hidden {
  display: none;
}

.expert-banner {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #1f2f67;
}

.expert-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.expert-entry-cards {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.expert-entry-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  min-height: 450px;
  background: #ffffff;
  /*box-shadow: 0 10px 28px rgba(19, 33, 67, 0.06);*/
}

.expert-entry-bg {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.94;
}

.expert-entry-inner {
  position: relative;
  z-index: 1;
  padding: 50px 40px;
  min-height: 450px;
  display: flex;
  flex-direction: column;
}

.expert-entry-inner h3 {
  margin: 0;
  color: #333;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 600;
  text-align: center;
}

.expert-entry-inner p {
  margin: 51px 0 0;
  color: #333;
  font-size: 14px;
  line-height: 20px;
  flex: 1;
}

.expert-entry-btn {
  align-self: center;
  margin-top: 26px;
  width: 200px;
  height: 50px;
  border-radius: 4px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.expert-theme-blue .expert-entry-btn {
  background: #3981f4;
}

.expert-theme-purple .expert-entry-btn {
  background: #8254f2;
}

.expert-theme-green .expert-entry-btn {
  background: #2bb89d;
}

.expert-banner-lite {
  margin-bottom: 10px;
}

.expert-form {
  width: 100%;
}

.expert-form-card {
  background: #ffffff;
  border-radius: 4px;
  padding: 28px 50px 28px 60px;
  margin-bottom: 18px;
}

.expert-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
}

.expert-form-item {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.expert-form-item.expert-form-item-full {
  grid-column: 1 / -1;
}

.expert-form-item label {
    width: 99px;
    text-align: left;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0;
    flex-shrink: 0;
  position: relative;
  display: inline-block;
}

.expert-form-item.is-required label::before,
.expert-upload-block.is-required > label::before {
     content: "*";
    color: #ff4d4f;
    /* margin-right: 4px; */
    position: absolute;
    left: -10px;
}

.expert-form-item input:not([type="hidden"]),
.expert-form-item textarea {
  width: 100%;
  border: 1px solid #cdcdcd00;
  border-radius: 4px;
  background: #cdcdcd33;
  color: #333;
  font-size: 14px;
  height: 40px;
  padding: 0 15px;
}

.expert-form-item > input:not([type="hidden"]),
.expert-form-item > textarea,
.expert-form-item > .thesis-form-dropdown,
.expert-form-item > .expert-phone-row {
  flex: 1;
}

.expert-form-item textarea {
  resize: vertical;
  min-height: 100px;
  height: 100px;
  padding: 12px 15px;
}

.expert-form-item input:not([type="hidden"]):focus,
.expert-form-item textarea:focus {
  border-color: #3385ff;
  outline: none;
}

.expert-form-tip {
    flex-basis: 100%;
    margin: 0 0 0 100px;
    color: #FE9D45;
    font-size: 12px;
    position: absolute;
    bottom: -18px;
}

.site-header {
  margin-bottom: 0;
}

.site-content {
  padding-bottom: 0;
}

.expert-form-item .thesis-form-dropdown {
  position: relative;
  width: 100%;
}

.expert-form-item .thesis-form-dropdown-selected {
  width: 100%;
  height: 40px;
  background: #cdcdcd33;
  border: 1px solid #cdcdcd00;
  border-radius: 4px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
}

.expert-form-item .thesis-form-dropdown-selected:hover {
  border-color: #3385ff;
  background-color: rgba(51, 133, 255, 0.05);
}

.expert-form-item .thesis-form-dropdown-selected span {
  color: #ccc;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 25px);
}

.expert-form-item .thesis-form-dropdown-selected span.has-value {
  color: #333;
}

.expert-form-item .thesis-form-dropdown-icon {
  width: 16px;
  height: 10px;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.expert-form-item .thesis-form-dropdown.active .thesis-form-dropdown-icon {
  transform: rotate(180deg);
}

.expert-form-item .thesis-form-dropdown-menu {
  position: absolute;
  top: 42px;
  left: 0;
  width: 100%;
  max-height: 240px;
  background: #fff;
  border-radius: 4px;

  z-index: 100;
  overflow-y: auto;
  display: none;
}

.expert-form-item .thesis-form-dropdown.active .thesis-form-dropdown-menu {
  display: block;
}

.expert-form-item .thesis-form-phone-code .thesis-form-dropdown-menu {
  min-width: 120px;
  max-height: 200px;
}

.expert-form-item .thesis-form-dropdown-item {
  padding: 10px 15px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: background-color 0.2s;
}

.expert-form-item .thesis-form-dropdown-item:hover {
  background-color: rgba(51, 133, 255, 0.1);
}

.expert-form-item .thesis-form-dropdown-item.selected {
  background-color: rgba(51, 133, 255, 0.15);
  color: #3385ff;
}

.expert-phone-row {
  display: flex;
  gap: 10px;
}

.expert-phone-row .thesis-form-phone-code {
  width: 118px;
  flex: 0 0 auto;
}

.expert-phone-row input:not([type="hidden"]) {
  flex: 1;
}

.expert-section-title {
  color: #333;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.expert-section-title span {
  display: inline-block;
  width: 5px;
  height: 20px;
  background: #3385ff;

  margin-right: 10px;
}

.expert-role-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.expert-role-grid.is-error {
  outline: 2px solid rgba(255, 77, 79, 0.35);
  border-radius: 8px;
  padding: 8px;
}

.expert-role-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 2px solid transparent;
  min-height: 190px;
  background: #f6f8fb;
  padding: 18px 20px;
  text-align: center;
  display: inline-flex;
  flex-direction: column;
}

.expert-role-bg {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.expert-role-check,
.expert-role-title,
.expert-role-desc {
  position: relative;
  z-index: 1;
  display: block;
}

.expert-role-check {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid #4b89f8;

}

.expert-theme-purple .expert-role-check {
  border-color: #8254f2;
}

.expert-theme-green .expert-role-check {
  border-color: #27b69d;
}

.expert-role-title {
  /* margin-top: 16px; */
  color: #333;
  font-size: 24px;
  font-weight: 500;
  text-align: center;
}

.expert-role-desc {
  margin-top: 14px;
  color: #5b6474;
  font-size: 14px;
  line-height: 20px;
  white-space: normal;
}

.expert-role-card.is-active {
  border-color: #3981f4;
  box-shadow: 0 10px 22px rgba(57, 129, 244, 0.15);
}

.expert-role-card.is-active .expert-role-check {
  border-color: #3981f4;
  background: #3981f4;
}

.expert-role-card.is-active .expert-role-check::after {
  content: "";
  display: block;
  width: 7px;
  height: 14px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: translate(8px, 4px) rotate(45deg);
  position: absolute;
  top: -2px;
  left: -1px;

}

.expert-theme-purple.is-active {
  border-color: #8254f2;
  box-shadow: 0 10px 22px rgba(130, 84, 242, 0.15);
}

.expert-theme-purple.is-active .expert-role-check {
  border-color: #8254f2;
  background: #8254f2;
}

.expert-theme-green.is-active {
  border-color: #2bb89d;
  box-shadow: 0 10px 22px rgba(43, 184, 157, 0.16);
}

.expert-theme-green.is-active .expert-role-check {
  border-color: #2bb89d;
  background: #2bb89d;
}

.expert-section-subtitle {
    margin: 30px 0 28px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #d9deea;
    color: #3385ff;
    font-size: 18px;
    font-weight: 500;
}

.expert-role-empty {
  color: #80889a;
  font-size: 26px;
  text-align: center;
  padding: 64px 0 48px;
}

.expert-role-empty.is-hidden,
.expert-role-fields.is-hidden {
  display: none;
}

.expert-checkbox-group {
  margin-top: 18px;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}

.expert-checkbox-label {
  width: 95px;
  text-align: center;

  line-height: 20px;
  flex-shrink: 0;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 0;
}

.expert-checkbox-items {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding-top: 2px;
}

.expert-checkbox-item {
  display: inline-flex;
  align-items: center;
  color: #4a5568;
  font-size: 14px;
}

.expert-checkbox-item input {
  margin-right: 6px;
}

.expert-upload-block {
  margin-top: 18px;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}

.expert-upload-block > label {
    display: block;
    width: 99px;
    text-align: left;
    line-height: 20px;
    flex-shrink: 0;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0;
    position: relative;
}

.expert-upload-row {
  flex: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.expert-upload-row input[type="file"] {
  display: none;
}

.expert-upload-btn,
.expert-download-btn {
    height: 60px;
    width: 200px;
    border: 1px dashed #999;
    background: #f6f8fb;
    border-radius: 4px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    gap: 20px;
}

.expert-download-btn {
  border-style: solid;
  border-color: #70a3f7;
  color: #3f7de8;
  background: #f0f5ff;
}

.expert-upload-btn img,
.expert-download-btn img {
  width: 16px;
  height: 16px;
}

.expert-upload-tip {
  color: #9aa3b3;
  font-size: 14px;
}

.expert-download-tip {
  color: #f05d5d;
  font-size: 14px;
}

.expert-upload-status {
  flex-basis: 100%;
  margin: 8px 0 0 120px;
  color: #5e6879;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.expert-upload-status button {
  color: #ff6b6b;
  background: none;
  border: 0;
  padding: 0;
}

.expert-radio-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 14px;
}

.expert-radio-label {
  color: #333;
  font-size: 14px;
  font-weight: 500;
}

.expert-radio-item {
  display: inline-flex;
  align-items: center;
  color: #4a5568;
  font-size: 15px;
}

.expert-radio-item input {
  margin-right: 6px;
}

.expert-text-count {
  flex-basis: 100%;
  margin: 6px 0 0 120px;
  text-align: right;
  color: #9aa3b3;
  font-size: 13px;
}

.expert-form-actions {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.expert-btn {
  height: 50px;
  border-radius: 4px;
  border: 1px solid #5b9af6;
  padding: 0 30px;
  font-size: 16px;
  font-weight: 500;
}

.expert-btn-back {
  color: #3385FFFF;
  background: #fff;
}

.expert-btn-submit {
  color: #fff;
  background: #3385FFFF;
  min-width: 300px;
}

.expert-btn-submit:disabled {
  opacity: 0.65;
}

.expert-form-item.is-error input:not([type="hidden"]),
.expert-form-item.is-error .thesis-form-dropdown-selected,
.expert-form-item.is-error textarea,
.expert-upload-block.is-error .expert-upload-btn,
.expert-upload-block.is-error .expert-upload-status,
.expert-radio-group.is-error {
  border-color: #ff6b6b;
  color: #ff6b6b;
}

@media (max-width: 1399px) {
  .expert-recruitment-page {
    padding: 18px 0 42px;
  }

  .expert-entry-cards {
    gap: 14px;
  }

  .expert-entry-card,
  .expert-entry-inner {
    min-height: 350px;
  }

  .expert-entry-inner {
    padding: 30px 24px;
  }



  .expert-entry-inner p {
    margin-top: 16px;

    line-height: 22px;
  }

  .expert-entry-btn {
    width: 170px;
    height: 46px;

  }

  .expert-form-card {
    padding: 22px 20px;
  }



  .expert-section-title span {
    width: 4px;
    height: 22px;
  }

  .expert-role-card {
    min-height: 150px;
    padding: 14px;
  }

  .expert-role-check {
    width: 22px;
    height: 22px;
    border-width: 2px;
  }

  .expert-role-card.is-active .expert-role-check::after {
    width: 6px;
    height: 10px;
    transform: translate(6px, 3px) rotate(45deg);
  }

  .expert-role-title {
    margin-top: 12px;
  }

  .expert-role-desc {
    margin-top: 8px;

  }

  .expert-section-subtitle {
    font-size: 20px;
  }

  .expert-role-empty {
    font-size: 20px;
    padding: 44px 0 30px;
  }
}

@media (max-width: 768px) {
  .expert-banner img{
    /*aspect-ratio: 11/2;*/
  }
  .expert-recruitment-wrapper {
    padding: 0 10px;
  }

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

  .expert-entry-card,
  .expert-entry-inner {
    min-height: 300px;
  }

  .expert-entry-inner h3 {
    font-size: 22px;
  }

  .expert-entry-inner p {
    font-size: 14px;
    line-height: 22px;
  }

  .expert-entry-btn {
    width: 150px;
    height: 40px;
    font-size: 15px;
  }

  .expert-form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .expert-form-item {
    display: block;
  }

  .expert-form-item label {
    width: 100%;
    min-width: 0;
    text-align: left;
    padding-right: 0;
    margin-bottom: 8px;
    margin-left: 10px;
  }

  .expert-form-item > input:not([type="hidden"]),
  .expert-form-item > .thesis-form-dropdown,
  .expert-form-item > .expert-phone-row,
  .expert-form-item > textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .expert-form-item > input[type="email"] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .expert-form-tip,
  .expert-text-count {
    margin-left: 0;
  }

  .expert-checkbox-group,
  .expert-upload-block {
    display: block;
  }

  .expert-checkbox-label,
  .expert-upload-block > label {
    width: 100%;
    min-width: 0;
    text-align: left;
    padding-right: 0;
    margin-bottom: 8px;
  }

  .expert-upload-status {
    margin-left: 0;
  }

  .expert-phone-row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 8px;
    align-items: stretch;
  }

  .expert-phone-row .thesis-form-phone-code {
    width: 100%;
    min-width: 0;
  }

  .expert-phone-row input:not([type="hidden"]) {
    width: 100%;
    min-width: 0;
  }

  .expert-role-grid {
    grid-template-columns: 1fr;
  }

  .expert-role-card {
    min-height: 128px;
  }

  .expert-role-title {
    font-size: 26px;
  }

  .expert-role-desc {
    font-size: 15px;
  }

  .expert-section-subtitle {
    font-size: 18px;
  }

  .expert-upload-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .expert-upload-btn,
  .expert-download-btn {
    width: 100%;
  }

  .expert-form-actions {
    justify-content: space-between;
    gap: 12px;
  }

  .expert-btn {
    flex: 1;
    font-size: 16px;
  }
}

@media (max-width: 480px) {

  .expert-btn-submit{
    min-width: auto;
  }
  .expert-recruitment-page {
    padding: 10px 0 30px;
  }

  .expert-form-card {
    padding: 14px 12px;
    margin-bottom: 12px;
  }

  .expert-entry-inner {
    padding: 22px 18px;
  }

  .expert-entry-inner h3 {
    font-size: 20px;
  }

  .expert-entry-inner p {
    font-size: 13px;
    line-height: 20px;
  }

  .expert-entry-btn {
    width: 136px;
    height: 38px;
    font-size: 14px;
  }

  .expert-form-item label,
  .expert-checkbox-label,
  .expert-upload-block > label,
  .expert-radio-label {
    font-size: 14px;
  }

  .expert-form-item input:not([type="hidden"]),
  .expert-form-item .thesis-form-dropdown-selected,
  .expert-form-item textarea {
    font-size: 14px;
    height: 42px;
  }

  .expert-form-item .thesis-form-dropdown-menu {
    top: 44px;
  }

  .expert-form-item .thesis-form-phone-code .thesis-form-dropdown-menu {
    max-height: 160px;
  }

  .expert-phone-row {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .expert-form-item textarea {
    height: 88px;
    min-height: 88px;
  }

  .expert-section-title {
    font-size: 20px;
  }

  .expert-section-title span {
    width: 5px;
    height: 18px;
    margin-right: 8px;
  }

  .expert-role-card {
    padding: 12px;
  }

  .expert-role-check {
    width: 20px;
    height: 20px;
  }

  .expert-role-title {
    font-size: 18px;
    margin-top: 0px;
  }

  .expert-role-desc {
    font-size: 14px;
  }

  .expert-section-subtitle {
    font-size: 16px;
  }

  .expert-upload-tip,
  .expert-download-tip,
  .expert-upload-status {
    font-size: 12px;
  }

  .expert-btn {
    height: 40px;
    font-size: 14px;
  }
}
