.employer-profile {
  display: flex;
  flex-direction: column;
  /* gap: 24px; */
}

.employer-profile__header {
  margin-bottom: 40;
}

.employer-profile-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.employer-profile__section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  scroll-margin-top: 110px;
}

.employer-profile__section-header {
  border-bottom: 1px solid #eef2f7;
  padding-bottom: 18px;
}

.employer-profile__section-header h2 {
  font-size: 26px;
  margin-bottom: 8px;
}

.employer-profile__section-header p {
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.employer-profile__grid,
.employer-profile__media-grid {
  display: grid;
  gap: 20px;
}

.employer-profile__grid--two,
.employer-profile__grid--company,
.employer-profile__media-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.employer-profile__field--wide {
  grid-column: 1 / -1;
}

.employer-profile-form textarea[name="company-description"] {
  line-height: 1.55;
  min-height: 180px;
}

.employer-profile-form .form-field.has-error input,
.employer-profile-form .form-field.has-error select,
.employer-profile-form .form-field.has-error textarea,
.employer-profile-form .form-field.has-error .custom-select__trigger {
  border-color: #dc2626;
}

.employer-profile-form .form-field.has-error input:focus,
.employer-profile-form .form-field.has-error select:focus,
.employer-profile-form .form-field.has-error textarea:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.employer-profile__actions {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding-top: 4px;
}

@media (max-width: 900px) {
  .employer-profile__grid--two,
  .employer-profile__grid--company,
  .employer-profile__media-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .employer-profile__section-header h2 {
    font-size: 22px;
  }

  .employer-profile__actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .employer-profile__actions .button {
    width: 100%;
  }
}
