/* =============================================
   oportunities.css — lista de oportunidades/vacantes
   Extraído de cocoweb.css (.oportunidades.*).
   Fonts/grid/nav/footer en base.css.
   ============================================= */

.oportunidades {
  margin-top: 60px;
}

.oportunidades a {
  color: #000;
}

.oportunidades a:hover {
  text-decoration: none;
}

.oportunidades img {
  width: 100%;
}

/* Título sobre el hero video */
.oportunidades .titleNewOp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  z-index: 8;
  color: #fff;
  text-align: center;
  font-size: 50px;
  font-family: CircularStdMedium, sans-serif;
}

@media (max-width: 768px) {
  .oportunidades .titleNewOp {
    font-size: 35px;
  }
}

/* Hero video */
.oportunidades .top-oportunidades {
  position: relative;
  overflow: hidden;
  padding: 0;
  height: 100vh;
}

@media (max-width: 767px) {
  .oportunidades .top-oportunidades {
    height: 375px;
  }
}

.oportunidades .top-oportunidades .back-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: none;
}

.oportunidades .top-oportunidades video {
  position: absolute;
  box-sizing: border-box;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

/* Sección de contenido principal */
.vacancy-default {
  padding-top: 4rem;
}

@media (min-width: 768px) {
  .vacancy-default {
    padding-top: 10rem;
  }
}

.vacancy-default .vacancy-subtitle {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .vacancy-default .vacancy-subtitle {
    font-size: 6rem;
  }
}

@media (min-width: 1200px) {
  .vacancy-default .vacancy-subtitle {
    font-size: 7rem;
  }
}

.vacancy-default .vacancy-text {
  font-size: 1.6rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .vacancy-default .vacancy-text {
    font-size: 2rem;
    margin-top: 4rem;
  }
}

/* Botón de CV / aplicar */
.vacancy-cv-button {
  display: inline-block;
  font-size: 1.7rem;
  margin-top: 4rem;
  color: #333;
  padding: 5px 30px;
  cursor: pointer;
  border: 1px solid #333;
  border-radius: 5px;
  text-align: center;
  background: transparent;
  text-decoration: none;
}

.vacancy-cv-button:hover {
  color: #fff;
  background: #333;
  text-decoration: none;
}

/* Separador entre colaborar y vacantes */
.vacancy-separator {
  position: relative;
  display: flex;
  width: 100%;
  border: 1px solid #999;
  margin: 3rem 0;
}

@media (min-width: 768px) {
  .vacancy-separator {
    margin: 6rem 0;
  }
}

@media (min-width: 1536px) {
  .vacancy-separator {
    margin: 7rem 0;
  }
}

/* Panel de vacante */
.vacancy-panel {
  border: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  color: #000;
  text-decoration: none;
}

.vacancy-panel:hover .vacancy-cover {
  transform: scale(1.02);
}

.vacancy-panel .vacancy-cover-wrap {
  position: relative;
  aspect-ratio: 16 / 6;
  overflow: hidden;
}

.vacancy-panel .vacancy-cover {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease-out;
}

.vacancy-panel .vacancy-detail {
  padding: 1.5rem 2rem;
}

@media (min-width: 1200px) {
  .vacancy-panel .vacancy-detail {
    padding: 3rem 5rem;
  }
}

.oportunidades .vac {
  padding-bottom: 30px;
}

.vacancy-default .row:last-of-type {
  padding-bottom: 60px;
}

.oportunidades .vac:hover .text-vacante {
  color: #fff;
  background: #000;
}

.oportunidades .vac:hover .title-vacante {
  color: gray;
}

/* Título del área */
.title-vacantes {
  font-size: 14px;
  color: gray;
  padding: 10px 10px 10px 0;
  font-weight: 500;
}

/* Título de la vacante */
.title-vacante {
  font-family: CircularStdBold, sans-serif;
  color: #000;
  font-size: 20px;
  padding: 10px 10px 10px 0;
}

@media (min-width: 768px) {
  .title-vacante {
    font-size: 25px;
  }
}

@media (min-width: 992px) {
  .title-vacante {
    font-size: 19px;
  }
}

@media (min-width: 1200px) {
  .title-vacante {
    font-size: 16px;
  }
}

/* Botón "Ver más" */
.text-vacante {
  color: #000;
  font-size: 15px;
  padding: 3px 0;
  cursor: pointer;
  border: 1px solid #000;
  width: auto;
  display: inline-block;
  border-radius: 5px;
  min-width: 137px;
  text-align: center;
  margin: 0;
  background: transparent;
}

@media (min-width: 768px) {
  .text-vacante {
    padding: 6px 0;
  }
}

.text-vacante:hover {
  color: #fff;
  background: #000;
}

/* Sin vacantes */
.oportunidades .no-jobs {
  padding-bottom: 10rem;
}

.vacancy-info {
  margin-bottom: 2rem;
}
