/* Hero with Björn and Tesla on East German career / job pages only.
   Linked solely from pages with data-state-slug thueringen or sachsen-anhalt. */

.pl-ost-bjoern .pl-ost-bjoern-visual img{
  width:100%;
  height:auto;
  aspect-ratio:1200 / 985;
  max-height:440px;
  object-fit:cover;
  object-position:36% 38%;
}

/* Override portrait crop from igors-update-2026.css */
.pl-ost-bjoern.pl30-recruit .pl-ost-bjoern-visual img,
.pl30-recruit .pl-ost-bjoern-visual img{
  object-position:36% 38%;
}

.pl-ost-bjoern-grid{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);
  grid-template-areas:
    "copy visual"
    "cta visual";
  gap:18px 42px;
  align-items:center;
}
.pl-ost-hero-copy{grid-area:copy;min-width:0}
.pl-ost-bjoern-visual{grid-area:visual;margin:0}
.pl-ost-hero-cta{grid-area:cta;margin-top:0}
.pl-ost-hero-cta .pl27-button.primary{min-height:48px}

.pl-ost-bjoern .pl-preis-badge{
  font-size:inherit;
  font-weight:700;
  white-space:nowrap;
  display:inline;
}
.pl-ost-bjoern .pl-salary-unit{
  font-size:.45em;
  font-weight:400;
  white-space:nowrap;
  margin-left:.15em;
}
.pl-ost-bjoern .pl30-job-card .pl-salary-unit,
.pl-ost-bjoern .pl27-lead + .pl-salary-unit{
  font-size:16px;
}
.pl-ost-bjoern .pl30-job-card .pl27-salary .pl-preis-badge{
  font-size:inherit;
}
.pl-ost-bjoern .pl27-hero .pl27-salary{
  margin:12px 0 8px!important;
  line-height:1.15!important;
}

@media(max-width:720px){
  .pl-ost-bjoern .pl27-hero{
    padding-top:12px;
    padding-bottom:20px;
  }
  .pl-ost-bjoern .pl27-crumbs{
    margin-bottom:10px;
  }
  .pl-ost-bjoern-grid{
    grid-template-columns:1fr;
    grid-template-areas:
      "visual"
      "cta"
      "copy";
    gap:14px;
    align-items:stretch;
  }
  .pl-ost-bjoern .pl-ost-bjoern-visual img{
    max-height:300px;
    height:auto;
  }
  .pl-ost-bjoern .pl-ost-bjoern-visual figcaption{
    font-size:11px;
    padding:8px 12px;
    line-height:1.4;
  }
  .pl-ost-hero-cta{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:0;
  }
  .pl-ost-hero-cta .pl27-button.primary{
    flex:1 1 100%;
    width:100%;
    justify-content:center;
    text-align:center;
  }
  .pl-ost-hero-cta .pl27-button.secondary{
    flex:1 1 100%;
    justify-content:center;
    text-align:center;
  }
  .pl-ost-bjoern .pl27-hero h1{
    margin-top:4px;
    font-size:clamp(1.7rem,7vw,2.4rem);
  }
  .pl-ost-bjoern .pl27-hero .pl27-lead{
    margin-top:8px;
    font-size:17px;
  }
  .pl-ost-bjoern .pl27-hero .pl30-workplace{
    margin:12px 0 0!important;
    padding:12px 14px;
  }
  .pl-ost-bjoern .pl30-benefits{
    margin-top:16px;
  }
}
