/* Bolsa de Trabajo — scoped to .bt-page to avoid affecting header/footer */
.bt-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #1c2331 url("../images/slider/slider1.jpg") center/cover no-repeat;
  color: #fff;
  padding: 36px 0 32px;
}

.bt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(22, 28, 40, 0.82), rgba(22, 52, 58, 0.72));
  z-index: 0;
}

.bt-hero .container {
  position: relative;
  z-index: 1;
}

.bt-hero h1 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.bt-crumbs {
  margin: 0 0 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.bt-crumbs a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.bt-crumbs a:hover {
  color: #20b1aa;
}

.bt-page {
  background: #f4f6f7;
  padding: 4.5rem 0 5.5rem;
}

.bt-page .container {
  max-width: 1080px;
}

.bt-intro {
  margin-bottom: 2.75rem;
}

.bt-intro .heading-section {
  margin-bottom: 0;
}

.bt-intro .subheading {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
}

.bt-intro h2 {
  color: #1a1f24;
  font-size: 32px;
  margin-bottom: 0.85rem;
}

.bt-intro p.bt-lead {
  max-width: 640px;
  margin: 0 auto 1.5rem;
  color: #5a6570;
  font-size: 16px;
  line-height: 1.7;
}

.bt-stats {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bt-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e4e9ec;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #3d4750;
  box-shadow: 0 1px 2px rgba(26, 31, 36, 0.04);
}

.bt-stat strong {
  color: #1a1f24;
  font-weight: 700;
}

.bt-stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #20b1aa;
}

.bt-stat-dot.is-muted {
  background: #9aa4ad;
}

.bt-block {
  margin-bottom: 3.25rem;
}

.bt-block:last-child {
  margin-bottom: 0;
}

.bt-block-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e2e7ea;
}

.bt-block-head h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1f24;
  margin: 0 0 4px;
}

.bt-block-head p {
  margin: 0;
  font-size: 14px;
  color: #6b757e;
}

.bt-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: #e8f7f6;
  color: #147f7a;
  font-size: 13px;
  font-weight: 700;
}

.bt-count.is-muted {
  background: #eef1f3;
  color: #5a6570;
}

.bt-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 768px) {
  .bt-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bt-card {
  background: #fff;
  border: 1px solid #e6ebef;
  border-radius: 14px;
  padding: 1.4rem 1.5rem 1.25rem;
  box-shadow: 0 8px 24px rgba(26, 31, 36, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bt-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #20b1aa;
}

.bt-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(26, 31, 36, 0.08);
  border-color: #cfe8e6;
}

.bt-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0.7rem;
}

.bt-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #147f7a;
  background: #e8f7f6;
  border-radius: 6px;
  padding: 4px 9px;
  max-width: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bt-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 10px;
  line-height: 1.3;
}

.bt-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.bt-status.is-open {
  color: #0f7a4d;
  background: #e7f6ee;
}

.bt-status.is-closed {
  color: #6b757e;
  background: #eef1f3;
}

.bt-status.is-results {
  color: #1a5f8a;
  background: #e7f1f8;
}

.bt-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1f24;
  margin: 0 0 0.55rem;
  line-height: 1.35;
}

.bt-card p.bt-excerpt {
  color: #5a6570;
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 1.1rem;
  flex: 1;
}

.bt-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 0.95rem;
  border-top: 1px solid #eef2f4;
  flex-wrap: wrap;
}

.bt-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.bt-meta-date {
  font-size: 14px;
  font-weight: 600;
  color: #2c353c;
}

.bt-meta-days {
  font-size: 12.5px;
  color: #6b757e;
}

.bt-meta-days.is-urgent {
  color: #b45309;
  font-weight: 600;
}

.bt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #20b1aa;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 8px;
  padding: 10px 18px;
  text-decoration: none !important;
  border: 1px solid #20b1aa;
  transition: background 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.bt-btn:hover {
  background: #188f8a;
  border-color: #188f8a;
  color: #fff !important;
}

.bt-empty {
  background: #fff;
  border: 1px dashed #cfd8dc;
  border-radius: 14px;
  padding: 2.75rem 1.5rem;
  text-align: center;
}

.bt-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #e8f7f6;
  color: #20b1aa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.bt-empty h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1f24;
  margin: 0 0 0.4rem;
}

.bt-empty p {
  margin: 0 auto;
  max-width: 460px;
  color: #6b757e;
  font-size: 14.5px;
  line-height: 1.65;
}

.bt-empty a {
  color: #20b1aa;
  font-weight: 600;
}

.bt-table-wrap {
  background: #fff;
  border: 1px solid #e6ebef;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(26, 31, 36, 0.04);
}

.bt-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.bt-table thead th {
  background: #1c2331;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 0;
  padding: 14px 18px;
  white-space: nowrap;
}

.bt-table tbody td {
  padding: 16px 18px;
  border-top: 1px solid #eef2f4;
  color: #3d4750;
  font-size: 14.5px;
  vertical-align: middle;
  border-bottom: 0;
}

.bt-table tbody tr:nth-child(even) {
  background: #f8fafb;
}

.bt-table tbody tr:hover {
  background: #f3f8f8;
}

.bt-job-name {
  font-weight: 600;
  color: #1a1f24;
  display: block;
}

.bt-area {
  color: #5a6570;
}

.bt-note {
  margin-top: 0.85rem;
  font-size: 13px;
  color: #8a949c;
}

.bt-note a {
  color: #20b1aa;
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .bt-page {
    padding: 3rem 0 4rem;
  }

  .bt-intro h2 {
    font-size: 26px;
  }

  .bt-block-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .bt-table thead {
    display: none;
  }

  .bt-table,
  .bt-table tbody,
  .bt-table tr,
  .bt-table td {
    display: block;
    width: 100%;
  }

  .bt-table tbody tr {
    padding: 14px 16px 8px;
    border-bottom: 1px solid #eef2f4;
  }

  .bt-table tbody tr:last-child {
    border-bottom: 0;
  }

  .bt-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    border: 0;
    text-align: right;
  }

  .bt-table tbody td::before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #8a949c;
    text-align: left;
  }

  .bt-card-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .bt-btn {
    width: 100%;
  }
}
