/**
 * Stellenanzeige Teaser Component Styles
 *
 * Horizontal row: job info on the left, CTA button on the right.
 * Separated from adjacent teasers by a top border.
 *
 * Figma node ID: 141:19014
 */

/* ── Root ── */
.stellenanzeige-teaser {
  padding: var(--spacing-600, 48px) 0 var(--spacing-400, 32px);
  border-top: 1px solid var(--trust-100, #d4b8c3);
}

/* ── Content column — contains everything including the CTA ── */
.stellenanzeige-teaser__content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-200, 16px);
  width: 100%;
  min-width: 0;
}

/* ── Header: headline left, CTA right ── */
.stellenanzeige-teaser__header {
  display: grid;
  grid-template-columns: minmax(0, 66%) auto;
  align-items: center;
  gap: var(--spacing-400, 32px);
  width: 100%;
}

/* ── CTA ── */
.stellenanzeige-teaser__cta {
  text-align: right;
}

/* ── Title ── */
.stellenanzeige-teaser__title {
  margin: 0;
  font-family: 'Bosch Sans', sans-serif;
  font-weight: var(--font-weight-bold, 700);
  font-size: var(--text-h4, 32px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--trust, #550a2d);
  font-feature-settings: 'zero';
}

/* ── Tags row ── */
.stellenanzeige-teaser__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-100, 8px);
  align-items: center;
}

/* Location separator "/" */
.stellenanzeige-teaser__location-sep {
  font-family: 'Bosch Sans', sans-serif;
  font-weight: var(--font-weight-bold, 700);
  font-size: 1.25rem;
  color: var(--trust, #550a2d);
  line-height: 1.1;
}

/* ── Date ── */
.stellenanzeige-teaser__date {
  margin: 0;
  font-family: 'Bosch Sans', sans-serif;
  font-weight: var(--font-weight-regular, 400);
  font-size: var(--text-paragraph-s, 18px);
  line-height: 1.4;
  color: var(--trust-300, #773b57);
  font-feature-settings: 'zero';
}

/* ── Tablet (≥ 768px): title and button side by side inside __header ── */
@media (min-width: 768px) {
  .stellenanzeige-teaser {
    padding: var(--spacing-600, 48px) 0;
  }

}

/* ── Desktop (≥ 1200px) ── */
@media (min-width: 1200px) {
  .stellenanzeige-teaser {
    padding: var(--spacing-700, 56px) 0;
  }
}
