body.jobs-listing-body {
  min-height: 100vh;
  background: white;
  color: #123154;
  font-family: var(--jas-font, "Manrope", "Aptos", "Segoe UI Variable", "Segoe UI", Arial, Helvetica, sans-serif);
}

.jobs-listing-body .secondary-floating-header {
  position: absolute;
  top: clamp(1rem, 2vw, 2rem);
  left: 50%;
  z-index: 20;
  width: min(calc(100% - 3rem), 1520px);
  margin-top: 0;
  transform: translateX(-50%);
  animation: jobsHeaderDrop 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes jobsHeaderDrop {
  from {
    opacity: 0;
    transform: translate(-50%, -24px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.jobs-hero {
  position: relative;
  min-height: 930px;
  padding: clamp(10.5rem, 15vh, 12.5rem) clamp(1rem, 5vw, 4rem) clamp(11rem, 18vh, 14rem);
  overflow: hidden;
  background: #123154 url("/assets/img/heroes/jobsandsea-hero-empleos.webp") center / cover no-repeat;
  isolation: isolate;
}

.jobs-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 49, 84, 0.64), rgba(18, 49, 84, 0.3) 48%, rgba(18, 49, 84, 0.16) 72%, rgba(18, 49, 84, 0.42)),
    linear-gradient(180deg, rgba(18, 49, 84, 0.08), rgba(18, 49, 84, 0.22) 58%, rgba(18, 49, 84, 0.62));
}

.jobs-hero__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1520px);
  margin: 0 auto;
  color: #ffffff;
  text-shadow: 0 10px 32px rgba(8, 22, 34, 0.35);
}

.jobs-hero__eyebrow {
  margin: 0 0 0.8rem;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 850;
  text-transform: uppercase;
}

.jobs-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #ffffff;
  font-family: var(--jas-font, "Manrope", "Aptos Display", "Segoe UI Variable", "Segoe UI", Arial, Helvetica, sans-serif);
  font-size: clamp(2.55rem, 6vw, 4.55rem);
  font-weight: 850;
  line-height: 0.96;
}

.jobs-hero p:not(.jobs-hero__eyebrow) {
  max-width: 700px;
  margin: 1.1rem 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.08rem, 1.7vw, 1.36rem);
  font-weight: 650;
  line-height: 1.28;
}

.jobs-section {
  position: relative;
  z-index: 2;
  margin-top: -10.5rem;
  padding: 0 clamp(1rem, 4vw, 3rem) clamp(5rem, 8vw, 7rem);
}

.jobs-section__inner {
  width: min(100%, 1320px);
  margin: 0 auto;
}

.jobs-search {
  padding: clamp(1rem, 2vw, 1.4rem);
  border: 1px solid rgba(18, 49, 84, 0.1);
  border-radius: var(--jas-radius);
  background: #c6bdad;
  color: white;
  box-shadow: 0 28px 58px rgba(18, 49, 84, 0.22);
}

.jobs-search__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(170px, 1fr));
  gap: 0.85rem;
}

.jobs-search__field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.jobs-search__field span {
  font-size: 0.82rem;
  font-weight: 350;
}

.jobs-search input[type="search"],
.jobs-search select {
  width: 100%;
  min-height: 46px;
  padding: 0 0.9rem;
  border: 1px solid rgba(18, 49, 84, 0.16);
  border-radius: var(--jas-radius-sm);
  background: #f8fafc;
  color: #123154;
  font: inherit;
  font-weight: 650;
}

.jobs-search input[type="search"]::placeholder {
  color: rgba(18, 49, 84, 0.48);
}

.jobs-search__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(18, 49, 84, 0.08);
}

.jobs-search__checks,
.jobs-search__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.jobs-search__checks label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 350;
}

.jobs-search__checks input {
  width: 18px;
  height: 18px;
  accent-color: #b53a7f;
}

.jobs-search__actions a,
.jobs-clear-link,
.jobs-empty-state__action {
  color: #2157b6;
  font-weight: 800;
  text-decoration: none;
}

.jobs-search__actions button {
  min-height: 46px;
  padding: 0 1.25rem;
  border: 0;
  border-radius: var(--jas-radius-sm);
  background: #2157b6;
  color: #ffffff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.jobs-search__actions button:hover {
  background: #123154;
}

.jobs-results-bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: clamp(1.6rem, 3vw, 2.4rem) 0 1rem;
}

.jobs-results-bar__kicker {
  margin: 0 0 0.25rem;
  color: #8b456d;
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.jobs-results-bar h2 {
  margin: 0;
  color: #123154;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.05;
}

.jobs-dev-notice {
  margin: 0 0 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(33, 87, 182, 0.14);
  border-radius: var(--jas-radius);
  background: #eaf2ff;
  color: #234462;
  font-size: 0.92rem;
  font-weight: 700;
}

.public-job-list {
  display: grid;
  gap: 1rem;
}

.public-job-card {
  position: relative;
  cursor: pointer;
  display: grid;
  min-width: 0;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  padding-right: clamp(3.1rem, 4vw, 3.7rem);
  border: 1px solid rgba(18, 49, 84, 0.1);
  border-radius: var(--jas-radius);
  background: #f2f2f2;
}

.public-job-card__favorite {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(31, 99, 177, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #1f63b1;
  cursor: pointer;
}

.public-job-card__favorite:hover {
  border-color: rgba(181, 58, 127, 0.32);
  color: #b53a7f;
}

.public-job-card__favorite svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.public-job-card__main {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 1rem;
}

.public-job-card__main > div {
  min-width: 0;
}

.public-job-card__icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: var(--jas-radius-sm);
  background: #ffffff;
  color: #2157b6;
}

.public-job-card__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.public-job-card__company {
  margin: 0 0 0.35rem;
  color: #637085;
  font-size: 0.9rem;
  font-weight: 800;
}

.public-job-card h2 {
  margin: 0;
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  line-height: 1.14;
}

.public-job-card h2 a {
  color: #153b70;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.public-job-card h2 a:hover {
  color: #123154;
}

.public-job-card__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(120px, 100%), 1fr));
  gap: 0.8rem;
  margin: 0.95rem 0 0;
}

.public-job-card__meta div {
  min-width: 0;
}

.public-job-card__meta dt {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: #66758a;
  font-size: 0.76rem;
  font-weight: 800;
}

.public-job-card__meta-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.public-job-card__meta dd {
  margin: 0.18rem 0 0;
  color: #123154;
  font-size: 0.92rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.public-job-card__excerpt {
  max-width: 980px;
  margin: 0.95rem 0 0;
  color: #405672;
  font-size: 0.98rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.public-job-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-left: 70px;
}

.public-job-card__tags {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.public-job-card__tags span {
  display: inline-flex;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  min-height: 28px;
  padding: 0 0.7rem;
  border-radius: var(--jas-radius-sm);
  background: #c6bdad;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 850;
  overflow-wrap: anywhere;
  white-space: normal;
}

.public-job-card__tags span:nth-child(2n) {
  background: #8b456d;
}

.public-job-card__tags span:nth-child(3n) {
  background: #2157b6;
}

.public-job-card__actions a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  white-space: nowrap;
  color: #2157b6;
  font-size: 0.88rem;
  font-weight: 850;
  text-decoration: none;
}

.public-job-card__actions {
  flex: 0 0 auto;
  margin-left: auto;
}

.public-job-card__actions a:hover {
  color: #123154;
}

.job-detail-hero {
  position: relative;
  min-height: 930px;
  padding: clamp(10.5rem, 15vh, 12.5rem) clamp(1rem, 5vw, 4rem) clamp(11rem, 18vh, 14rem);
  overflow: hidden;
  background: #123154 url("/assets/img/heroes/jobsandsea-hero-empleo-detalle.webp") center / cover no-repeat;
  isolation: isolate;
}

.job-detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 49, 84, 0.66), rgba(18, 49, 84, 0.36) 50%, rgba(18, 49, 84, 0.18) 74%, rgba(18, 49, 84, 0.44)),
    linear-gradient(180deg, rgba(18, 49, 84, 0.1), rgba(18, 49, 84, 0.26) 58%, rgba(18, 49, 84, 0.66));
}

.job-detail-hero__inner,
.job-detail-shell {
  width: min(100%, 1320px);
  margin: 0 auto;
}

.job-detail-hero__inner {
  position: relative;
  z-index: 1;
  color: #ffffff;
  text-shadow: 0 10px 32px rgba(8, 22, 34, 0.36);
}

.job-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 760;
}

.job-breadcrumbs a {
  color: #ffffff;
  text-decoration: none;
}

.job-breadcrumbs a:hover {
  text-decoration: underline;
}

.job-detail-hero__eyebrow {
  margin: 0 0 0.7rem;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 850;
  text-transform: uppercase;
}

.job-detail-hero h1 {
  max-width: 1020px;
  margin: 0;
  color: #ffffff;
  font-family: var(--jas-font, "Manrope", "Aptos Display", "Segoe UI Variable", "Segoe UI", Arial, Helvetica, sans-serif);
  font-size: clamp(2.25rem, 5.4vw, 4.25rem);
  font-weight: 850;
  line-height: 1;
}

.job-detail-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.35rem;
}

.job-detail-hero__tags span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 0.75rem;
  border-radius: var(--jas-radius-sm);
  background: rgba(255, 255, 255, 0.92);
  color: #123154;
  font-size: 0.8rem;
  font-weight: 850;
  text-shadow: none;
}

.job-detail-section {
  position: relative;
  z-index: 2;
  margin-top: -10.5rem;
  padding: 0 clamp(1rem, 4vw, 3rem) clamp(5rem, 8vw, 7rem);
}

.job-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(1rem, 2.4vw, 1.5rem);
  align-items: start;
}

.job-detail-main,
.job-detail-aside,
.job-related {
  border: 1px solid rgba(18, 49, 84, 0.1);
  border-radius: var(--jas-radius);
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(18, 49, 84, 0.08);
}

.job-detail-main {
  padding: clamp(1.25rem, 2.6vw, 2rem);
}

.job-detail-summary dl,
.job-detail-facts {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}

.job-detail-summary dl {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.job-detail-summary dt,
.job-detail-facts dt {
  color: #66758a;
  font-size: 0.76rem;
  font-weight: 850;
}

.job-detail-summary dd,
.job-detail-facts dd {
  margin: 0.2rem 0 0;
  color: #123154;
  font-size: 0.96rem;
  font-weight: 760;
  overflow-wrap: anywhere;
}

.job-detail-alert {
  margin: 1.4rem 0 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(33, 87, 182, 0.14);
  border-radius: var(--jas-radius);
  background: #eaf2ff;
  color: #234462;
  font-size: 0.96rem;
  font-weight: 720;
}

.job-detail-alert--warning {
  border-color: rgba(139, 69, 109, 0.24);
  background: #fff4f8;
  color: #7c365f;
}

.job-detail-content {
  margin-top: clamp(1.6rem, 3vw, 2.25rem);
}

.job-detail-content h2 {
  margin: 0 0 1rem;
  color: #123154;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.1;
}

.job-detail-content p {
  max-width: 920px;
  margin: 0 0 1rem;
  color: #405672;
  font-size: 1.03rem;
  line-height: 1.68;
}

.job-detail-aside {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  position: sticky;
  top: 1rem;
}

.job-detail-cta {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: var(--jas-radius-sm);
  background: #f4f8fd;
}

.job-detail-cta h2 {
  margin: 0;
  color: #123154;
  font-size: 1.25rem;
  line-height: 1.15;
}

.job-detail-cta p {
  margin: 0;
  color: #405672;
  font-size: 0.96rem;
  line-height: 1.48;
}

.job-detail-cta__actions {
  display: grid;
  gap: 0.65rem;
}

.job-detail-cta__primary,
.job-detail-cta__secondary,
.job-detail-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  border-radius: var(--jas-radius-sm);
  font-weight: 850;
  text-decoration: none;
}

.job-detail-cta__primary {
  background: #2157b6;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(33, 87, 182, 0.22);
}

.job-detail-cta__secondary,
.job-detail-back {
  border: 1px solid rgba(33, 87, 182, 0.16);
  background: #ffffff;
  color: #2157b6;
}

.job-detail-facts {
  padding: 0.25rem 0.15rem;
}

.job-detail-back {
  width: 100%;
}

.job-related {
  margin-top: 1.25rem;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.job-related__head {
  margin-bottom: 1rem;
}

.job-related__head p {
  margin: 0 0 0.25rem;
  color: #8b456d;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.job-related__head h2 {
  margin: 0;
  color: #123154;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
}

.public-job-list--related .public-job-card {
  box-shadow: none;
}

.jobs-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.jobs-pagination a,
.jobs-pagination span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 1rem;
  border: 1px solid rgba(18, 49, 84, 0.12);
  border-radius: var(--jas-radius-sm);
  background: #ffffff;
  color: #2157b6;
  font-weight: 850;
  text-decoration: none;
}

.jobs-pagination span {
  color: #8fa0b5;
}

.jobs-pagination p {
  margin: 0;
  color: #405672;
  font-weight: 800;
}

.jobs-empty-state {
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(18, 49, 84, 0.1);
  border-radius: var(--jas-radius);
  background: #ffffff;
  text-align: center;
  box-shadow: 0 18px 38px rgba(18, 49, 84, 0.08);
}

.jobs-empty-state h2 {
  margin: 0;
  color: #123154;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.jobs-empty-state p {
  max-width: 620px;
  margin: 0.75rem auto 0;
  color: #405672;
  font-size: 1rem;
  line-height: 1.5;
}

.jobs-empty-state__action {
  display: inline-flex;
  margin-top: 1.1rem;
}

@media (max-width: 1040px) {
  .jobs-search__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jobs-search__field--wide {
    grid-column: 1 / -1;
  }

  .public-job-card__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .job-detail-layout {
    grid-template-columns: 1fr;
  }

  .job-detail-aside {
    position: static;
  }

  .job-detail-summary dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .jobs-listing-body .secondary-floating-header {
    width: calc(100% - 2rem);
  }

  .jobs-hero {
    min-height: min(820px, 86vh);
    padding: 8.5rem 1rem 9rem;
    background-image: url("/assets/img/heroes/jobsandsea-hero-empleos-movil.webp");
    background-position: center top;
  }

  .jobs-hero::after {
    background:
      linear-gradient(180deg, rgba(18, 49, 84, 0.46), rgba(18, 49, 84, 0.2) 48%, rgba(18, 49, 84, 0.68)),
      linear-gradient(90deg, rgba(18, 49, 84, 0.2), rgba(255, 255, 255, 0.04) 58%, rgba(18, 49, 84, 0.2));
  }

  .jobs-section {
    margin-top: -4.25rem;
  }

  .jobs-search__grid,
  .public-job-card__main,
  .public-job-card__meta {
    grid-template-columns: 1fr;
  }

  .jobs-search__footer,
  .jobs-results-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .jobs-search__actions {
    justify-content: space-between;
  }

  .jobs-search__actions button {
    flex: 1 1 180px;
  }

  .public-job-card__footer {
    align-items: center;
    flex-wrap: wrap;
    padding-left: 0;
  }

  .public-job-card__actions a {
    min-height: 40px;
  }

  .job-detail-hero {
    min-height: min(780px, 82vh);
    padding: 8.5rem 1rem 8rem;
    background-image: url("/assets/img/heroes/jobsandsea-hero-empleo-detalle-movil.webp");
    background-position: center top;
  }

  .job-detail-hero::after {
    background:
      linear-gradient(180deg, rgba(18, 49, 84, 0.5), rgba(18, 49, 84, 0.24) 48%, rgba(18, 49, 84, 0.7)),
      linear-gradient(90deg, rgba(18, 49, 84, 0.24), rgba(255, 255, 255, 0.04) 58%, rgba(18, 49, 84, 0.22));
  }

  .job-detail-section {
    margin-top: -4.25rem;
  }

  .job-detail-summary dl {
    grid-template-columns: 1fr;
  }

  .jobs-pagination {
    flex-wrap: wrap;
  }
}

@media (max-width: 430px) {
  .jobs-hero h1 {
    font-size: 2.55rem;
  }

  .jobs-search__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .jobs-search__actions button {
    width: 100%;
  }
}
