.careers-page {
  padding-bottom: 3rem;
}

.careers-section {
  padding: 2rem 0 3rem;
}

.careers-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 2rem;
  align-items: start;
}

.careers-copy-card,
.careers-positions-card,
.careers-position-item {
  border: 1px solid #dfe5f1;
  border-radius: 1.375rem;
  background: #fff;
  box-shadow: 0 1rem 2.125rem rgba(23, 60, 143, 0.06);
}

.careers-copy-card {
  padding: clamp(1.5rem, 3vw, 2.75rem);
}

.careers-slogan,
.careers-summary {
  max-width: 78ch;
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.75;
}

.careers-summary {
  margin-top: 1rem;
}

.careers-summary p:last-child,
.careers-body p:last-child,
.careers-position-copy p:last-child {
  margin-bottom: 0;
}

.careers-body {
  margin-top: 1.5rem;
  color: #4f5f78;
  font-size: 1rem;
  line-height: 1.8;
}

.careers-body h2,
.careers-body h3,
.careers-body h4 {
  color: var(--brand-blue);
line-height: 1.2;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.careers-body a {
  color: var(--brand-blue);
text-decoration: none;
}

.careers-body a:hover {
  color: var(--brand-red);
}

.careers-sidebar {
  align-self: start;
}

.careers-positions-card {
  padding: 1.5rem;
}

.careers-positions-head {
  margin-bottom: 1.25rem;
}

.careers-positions-head h2 {
  margin: 0 0 0.5rem;
  color: var(--brand-blue);
  font-size: 1.5rem;
line-height: 1.15;
}

.careers-positions-head h2 a {
  color: inherit;
  text-decoration: none;
}

.careers-positions-head h2 a:hover {
  color: var(--brand-red);
}

.careers-positions-head p:last-child {
  margin-bottom: 0;
  color: #64748b;
  line-height: 1.6;
}

.careers-positions-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.careers-position-item {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.15rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #f8fbff 0%, #fff 62%, #fff5f7 100%);
}

.careers-position-date,
.careers-position-type {
  margin: 0;
  color: var(--brand-blue-soft);
  font-size: 0.76rem;
letter-spacing: 0.08em;
  text-transform: uppercase;
}

.careers-position-item h3 {
  margin: 0;
  font-size: 1.05rem;
line-height: 1.35;
}

.careers-position-item h3 a {
  color: var(--brand-blue);
  text-decoration: none;
}

.careers-position-item h3 a:hover {
  color: var(--brand-red);
}

.careers-position-meta {
  margin: 0;
  color: #5e6d86;
  font-size: 0.9rem;
  line-height: 1.5;
}

.careers-position-copy {
  color: #4f5f78;
  font-size: 0.92rem;
  line-height: 1.65;
}

.careers-position-link {
  color: var(--brand-blue);
text-decoration: none;
}

.careers-position-link:hover {
  color: var(--brand-red);
}

.careers-positions-empty {
  padding: 1.25rem;
  border: 1px dashed #c9d8f4;
  border-radius: 1rem;
  color: #64748b;
  text-align: center;
}

@media (max-width: 991.98px) {
  .careers-layout {
    grid-template-columns: 1fr;
  }
}
