/* =========================================================
   SECTION 2 - INTRO TRABAJA CON NOSOTROS
========================================================= */

.trabaja-intro .text-middle {
  padding: 60px 0;
}

.trabaja-intro .trabaja-intro-icon {
  display: block;
  width: 7%;
  height: auto;
  margin: 0 auto;
}

.trabaja-intro .h3-second {
  margin-top: 2rem;
  margin-bottom: 0;
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
}

.trabaja-intro p {
  max-width: 100%;
  margin: 0 auto;
  font-size: 1.9rem;
  line-height: 3rem;
}

.trabaja-intro p + p {
  margin-top: 0;
}

@media (max-width: 978px) {
  .trabaja-intro .text-middle {
    padding: 60px 0;
  }

  .trabaja-intro .trabaja-intro-icon {
    width: 20%;
    margin-bottom: 2rem;
  }

  .trabaja-intro p {
    padding: 0 50px;
    font-size: 1.8rem;
    line-height: 3rem;
  }
}

@media (max-width: 767.98px) {
  .trabaja-intro p {
    padding: 0 24px;
  }
}

/* =========================================================
   SECTION 3 - INTRO FORMULARIO
========================================================= */

.trabaja-form-intro .text-middle {
  padding-top: 0;
  padding-bottom: 5rem;
}

.trabaja-form-intro .h3-second {
  margin-top: 2rem;
  margin-bottom: 0;
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
}

/* =========================================================
   SECTION 4 - FORMULARIO TRABAJA CON NOSOTROS
========================================================= */

.trabaja-form-wrapper {
  margin-bottom: 5rem;
}

.trabaja-form-wrapper .vall-work-form-original {
  width: 50%;
  margin-right: auto;
  margin-left: auto;
}

.trabaja-form-wrapper .form-control-lg {
  margin-bottom: 1.5rem;
}

.trabaja-form-wrapper .form-control,
.trabaja-form-wrapper .form-select {
  font-size: 1.5rem;
  box-shadow: none;
}

.trabaja-form-wrapper .form-control:focus,
.trabaja-form-wrapper .form-select:focus {
  border-color: #86b7fe;
  box-shadow: none;
}

.trabaja-form-wrapper .form-label {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.trabaja-form-wrapper .trabaja-data-title {
  font-size: 1.4rem;
  font-weight: 700;
}

.trabaja-form-wrapper .trabaja-data-text {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.4;
}

.trabaja-form-wrapper .trabaja-data-text a {
  color: rgba(0, 0, 0, 0.5);
  text-decoration: none;
}

.trabaja-form-wrapper .trabaja-data-text a:hover {
  color: #000;
  text-decoration: none;
}

.trabaja-form-wrapper .trabaja-checks .form-check {
  margin-bottom: 1rem;
}

.trabaja-form-wrapper .trabaja-checks label {
  font-size: 1.2rem;
  line-height: 1.4;
}

.trabaja-form-wrapper .trabaja-checks a {
  color: rgba(0, 0, 0, 0.5);
  text-decoration: none;
}

.trabaja-form-wrapper .trabaja-checks a:hover {
  color: #000;
  text-decoration: none;
}

.trabaja-form-wrapper .btn-form {
  width: fit-content !important;
  height: fit-content;
  padding: 6px 80px;
  border-radius: 0 !important;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  outline: 0;
}

.trabaja-form-wrapper .btn-primary-form {
  margin-top: 3rem !important;
  border-color: #fdc82f !important;
  background-color: #fdc82f !important;
  color: #000 !important;
}

.trabaja-form-wrapper .btn-primary-form:hover {
  border-color: #e7b92c !important;
  background-color: #e7b92c !important;
  color: #fff !important;
}

.trabaja-form-wrapper .btn-form:focus,
.trabaja-form-wrapper .btn-primary-form:focus {
  outline: none !important;
  box-shadow: none;
}

.trabaja-form-wrapper .wpcf7-not-valid-tip {
  margin-top: -1rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.trabaja-form-wrapper .wpcf7-response-output {
  margin: 2rem 0 0;
  padding: 1rem;
  border-radius: 0;
  font-size: 1.3rem;
}

@media (max-width: 978px) {
  .trabaja-form-wrapper .vall-work-form-original {
    width: 90%;
    margin-bottom: 40px;
  }

  .trabaja-form-wrapper .form-control-lg {
    padding: 10px !important;
    margin-bottom: 2.5rem !important;
  }

  .trabaja-form-wrapper .form-check {
    margin-bottom: 2.5rem !important;
    padding-left: 3.5rem !important;
  }

  .trabaja-form-wrapper .form-check-label,
  .trabaja-form-wrapper .wpcf7-list-item-label {
    padding-left: 2rem;
  }

  .trabaja-form-wrapper .btn-primary-form,
  .trabaja-form-wrapper .form-check-input,
  .trabaja-form-wrapper .form-check-label,
  .trabaja-form-wrapper .form-control-lg,
  .trabaja-form-wrapper .form-select-lg,
  .trabaja-form-wrapper label {
    font-size: 1.5rem !important;
  }

  .trabaja-form-wrapper .form-check-input {
    width: 2rem !important;
    height: 2rem !important;
  }
}

@media (max-width: 767.98px) {
  .trabaja-form-intro .h3-second {
    padding: 0 20px;
  }

  .trabaja-form-wrapper .vall-work-form-original {
    width: 90%;
  }

  .trabaja-form-wrapper .btn-form {
    width: 100% !important;
    padding: 15px 10px !important;
    font-size: 1.4rem;
  }
}

/* =========================================================
   SECTION 5 - OFERTAS DE TRABAJO
========================================================= */

.trabaja-offers-title .text-middle {
  padding-top: 0;
  padding-bottom: 5rem;
}

.trabaja-offers-title .h3-second {
  margin-top: 2rem;
  margin-bottom: 0;
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
}

/* Accordion listado */

.trabaja-offers-wrapper .accordion {
  width: 100%;
}

.trabaja-offers-wrapper .accordion-item {
  margin-bottom: 3rem;
  border: 0;
  background-color: transparent;
}

.trabaja-offers-wrapper .accordion-item.mt-5 {
  margin-top: 0 !important;
}

.trabaja-offers-wrapper .accordion-button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  min-height: 69px;
  padding: 1rem 1.2rem;
  border: 0;
  border-bottom: 0;
  border-radius: 0 !important;
  background-color: #ededed;
  color: #000;
  text-align: left !important;
  box-shadow: none;
}

.trabaja-offers-wrapper .accordion-button:not(.collapsed) {
  background-color: #ededed;
  color: #000;
  box-shadow: none;
}

.trabaja-offers-wrapper .accordion-button:focus {
  border-color: transparent;
  box-shadow: none;
}

/* Botón amarillo de información */

.trabaja-offers-wrapper .accordion-button::after {
  flex-shrink: 0;
  width: fit-content !important;
  height: auto !important;
  margin-left: auto;
  padding: 5px 12px;
  background-image: none !important;
  background-color: #fdc82f;
  color: #000;
  content: "+ información";
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center !important;
  transform: none !important;
}

.trabaja-offers-wrapper .accordion-button:not(.collapsed)::after {
  background-image: none !important;
  content: "- información";
  transform: none !important;
}

/* Icono */

.trabaja-offers-wrapper .trabaja-offer-icon {
  display: block;
  width: 50px;
  min-width: 50px;
  height: auto;
  margin-left: 0;
  margin-right: 2rem;
  flex: 0 0 50px;
}

.trabaja-offers-wrapper .ui-vall-icon.trabaja-offer-icon {
  margin-left: 0 !important;
  margin-right: 2rem !important;
}

.trabaja-offers-wrapper .trabaja-offer-icon svg {
  display: block;
  width: 50px;
  height: auto;
  margin: 0;
}

/* Título */

.trabaja-offers-wrapper .trabaja-offer-title {
  display: block;
  margin-right: auto;
  color: #000;
  font-size: 1.8rem;
  line-height: 1.3;
  font-weight: 700;
  text-align: left !important;
}

/* Contenido desplegado */

.trabaja-offers-wrapper .accordion-collapse {
  border: 0;
  background-color: #ededed;
}

.trabaja-offers-wrapper .trabaja-offer-content {
  padding: 2.5rem !important;
  color: #000;
  font-size: 1.4rem;
  line-height: 1.5;
}

.trabaja-offers-wrapper .trabaja-offer-content p {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.trabaja-offers-wrapper .trabaja-offer-content ul {
  margin-bottom: 1rem;
}

.trabaja-offers-wrapper .trabaja-offer-content li {
  margin-bottom: 0.4rem;
  font-size: 1.4rem;
  line-height: 1.5;
}

/* Botón interno */

.trabaja-offers-wrapper .trabaja-offer-cta {
  width: fit-content;
  margin-top: 2rem;
  padding: 6px 80px !important;
  border-radius: 0 !important;
  border-color: #fdc82f !important;
  background-color: #fdc82f !important;
  color: #000 !important;
  font-size: 1.6rem !important;
  font-weight: 700;
  text-transform: uppercase;
}

.trabaja-offers-wrapper .trabaja-offer-cta:hover {
  border-color: #e7b92c !important;
  background-color: #e7b92c !important;
  color: #fff !important;
}

.trabaja-offers-wrapper .trabaja-offer-cta:focus {
  outline: none !important;
  box-shadow: none;
}

/* Responsive */

@media (max-width: 978px) {
  .trabaja-offers-wrapper .accordion-button {
    text-align: left !important;
  }

  .trabaja-offers-wrapper .trabaja-offer-title {
    font-size: 1.8rem;
    text-align: left !important;
  }

  .trabaja-offers-wrapper .trabaja-offer-content,
  .trabaja-offers-wrapper .trabaja-offer-content p,
  .trabaja-offers-wrapper .trabaja-offer-content li {
    text-align: left !important;
  }
}

@media (max-width: 767.98px) {
  .trabaja-offers-wrapper .accordion-button {
    align-items: flex-start;
    min-height: auto;
    padding: 1.5rem;
  }

  .trabaja-offers-wrapper .trabaja-offer-icon,
  .trabaja-offers-wrapper .trabaja-offer-icon svg {
    width: 42px;
    min-width: 42px;
  }

  .trabaja-offers-wrapper .trabaja-offer-icon {
    margin-right: 1.5rem;
    flex-basis: 42px;
  }

  .trabaja-offers-wrapper .trabaja-offer-title {
    font-size: 1.6rem;
  }

  .trabaja-offers-wrapper .accordion-button::after {
    margin-left: 1rem;
    padding: 5px 8px;
    font-size: 1.3rem;
    white-space: nowrap;
  }

  .trabaja-offers-wrapper .trabaja-offer-cta {
    width: 100%;
    padding: 15px 10px !important;
    font-size: 1.4rem !important;
  }
}
