:root {
  --color-green: #95DBC3;
}
.entry-content,
.block-editor-block-list__layout {
  color: var(--color-zinc-950);
  font-size: var(--text-lg);
  line-height: var(--text-lg--line-height);

  :where(
      .entry-content > *:not(li),
      .block-editor-block-list__layout > *:not(li)
    ) {
    margin-top: --spacing(6);
    margin-bottom: --spacing(6);
  }

  :where(h2) {
    font-weight: var(--font-weight-semibold);
    font-size: var(--text-2xl);
    line-height: var(--text-2xl--line-height);
    margin-top: --spacing(12);
  }

  :where(h3) {
    font-weight: var(--font-weight-semibold);
    font-size: var(--text-xl);
    line-height: var(--text-xl--line-height);
    margin-top: --spacing(8);
  }

  :where(h2 + h3) {
    margin-top: 0;
  }

  :where(ul, ol) {
    padding-left: 1.5rem;
  }

  :where(ul) {
    list-style-type: disc;
  }

  :where(ol) {
    list-style-type: decimal;
  }

  :where(a) {
    color: var(--color-primary);
  }

  :where(li) {
    padding-left: --spacing(3);
  }

  :where(li)::marker {
    color: var(--color-zinc-500);
  }

  :where(li > *),
  :where(li li) {
    margin-top: --spacing(4);
  }

  :where(ol > li)::marker {
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
  }

  :where(strong) {
    font-weight: var(--font-weight-semibold);
  }

  :where(figure) {
    margin-top: --spacing(12);
    margin-bottom: --spacing(12);
  }

  :where(li > :first-child) {
    margin-top: 0 !important;
  }

  :where(li > :last-child) {
    margin-bottom: 0 !important;
  }
}

#header.scrolled > div{
  background: #fff;
}
#header.scrolled > div .head-cta{
  margin-top: 8px;
}
.form-head{
  text-align: center;
  font-weight: bold;
  color: var(--color-brown);
  font-size: 24px;
  letter-spacing: 2px;
  margin: 0;
  margin-bottom: 18px;
}
.form-wrap {
  margin: 0 auto;
  padding: 39px 48px 38px 30px;
  background: #fff;
  border-radius: 30px;
  border: 1px solid #fca5a5; /* đỏ nhạt */
  font-family: "Zen Maru Gothic", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-row {
  display: flex;
  flex-direction: row;
  gap: 38px;
}
.form-row-licenses{
  margin-top: -7px;
}
.form-row-licenses-year{
  margin-top: -14px;
}
.form-row-interview .form-field > .form-sub-field{
  width: 412px;
  margin-top: 0;
}
.form-row-interview .form-field .two-col{
  display: flex;
  gap: 8px;
}
.form-row-interview .form-field .two-col .form-sub-field{
  width: 202px;
}

.form-row p{
  width: 269px;
  margin: 0;
  margin-top: 7px;
}
.form-row label {
  font-weight: 700;
  color: var(--color-brown);
  font-size: 16px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.5px;
}
.form-row.form-row-interview{
  margin-top: -6px;
}

.required, .optional {
  width: 52px;
  height: 23px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  margin-top: 1px;
}

.required { background: #E53935; color: white; }
.optional { background: #E4E4E4; color: #444; }

input, select{
  height: 37px;
  min-height: 37px;
  border: 1px solid #ccc;
  border-radius: 0px !important;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 16px;
  font-weight: 500;
  outline: none;
  letter-spacing: 1px;
  padding: 8px 10px;
  width: 100%;
}
input::placeholder{
  color: #CCCCCC;
  letter-spacing: 1px;
}

.form-field,
.three-col{
  width: calc(100% - 308px);
}
.form-field p,
.three-col p{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.three-col p{
  justify-content: start;
  gap: 8px;
}
.three-col span{
  width: 132px;
}
.form-sub-field{
  margin-top: 9px;
}
select,
input[name="desired-interview"]{
  background: url(../images/icon-chervon-down.svg) no-repeat right 10px center;
  appearance: none;
  padding: 5px 11px;
  color:var(--color-brown);
  font-weight: 500;
}
input[name="desired-interview"]::placeholder{
  color:var(--color-brown);
}

.inline-options {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  height: 37px;
  align-items: center;
  width: 100%;
}

.wpcf7-list-item{
  margin-left: 0;
  margin-right: 14px;
}
.form-row .wpcf7-radio label,
.form-row .wpcf7-checkbox label{
  align-items: center;
  gap: 11px;
}
.form-row.form-row-top{
  align-items: start;
}

.wpcf7-form-control-wrap{
  width: 100%;
}
input[type="radio"]{
  margin: 0;
  width: 14px;
  height: 14px;
}

input[type="checkbox"]{
  margin: 0;
  width: 14px;
  height: 14px;
}

.form-second{
  margin-top: 49px;
}

.form-field-label{
  font-weight: 500;
  color: var(--color-brown);
  font-size: 16px;
  margin-top: 6px;
  padding-left: 2px;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}
.wpcf7-form-control-wrap[data-name="example-job"]{
  width: 132px;
}

input[type="submit"]{
  width: 280px;
  margin: 30px auto 0;
  display: block;
  border-radius: 8px !important;
  height: 60px;
  background: var(--color-pink);
  color: #fff;
  border: unset;
  font-weight: 700;
}
.wpcf7-not-valid-tip{
  font-size: 12px;
  font-weight: 500;
}
.wpcf7-spinner{
  margin-left: auto;
  margin-right: auto;
  display: block;
}
@media only screen and (max-width: 1023px) {
  .recruitment-form{
    padding: 0;
  }
}
@media only screen and (max-width: 767px) {
  .recruitment-form .form-label{
    width: 200px;
  }
  .wpcf7-form-control-wrap{
    width: calc(100% - 238px);
  }
  #header.scrolled > div{
    padding-top: 0;
    padding-bottom: 0;
    justify-content: center;
  }

  .form-head{
    font-size: 20px;
  }
  .form-wrap{
    padding: 20px 15px;
    border-radius: 15px;
  }
  .form-row{
    flex-direction: column;
    gap: 20px;
  }
  .form-row p{
    width: 100%;
    margin-top: 0;
  }
  .form-field, .three-col{
    width: 100%;
  }
  .required, .optional{
    font-size: 12px;
  }
  .three-col span{
    width: 50%;
  }
  .wpcf7-form-control-wrap[data-name="example-job"]{
    width: 100%;
  }
  .form-row-licenses-year{
    margin-top: 0;
  }
  .inline-options{
    height: auto;
  }
  .form-row-interview .form-field > .form-sub-field{
    width: 100%;
  }
  input[type="submit"]{
    height: 40px;
  }
}
@media only screen and (max-width: 640px) {
  #header.scrolled > div .head-cta{
    margin-top: 0px;
  }
  .wpcf7-form-control-wrap{
    width: 100%;
  }
  .wpcf7-form-control-wrap[data-name="employment-type"]{
    width: 100%;
  }
}
