/* ===================================
   Single Hero (Projekt + Ledig tjänst)
=================================== */
/* ===================================
   Single Hero (Projekt + Ledig tjänst)
=================================== */

.s-hero{
  margin-bottom: clamp(40px, 6vw, 80px);
}

.single-projekt .s-hero {
    margin-bottom: 30px;
}

/* Bakgrund + radius */
.s-hero__bg{
  border-radius: 6px;
  overflow: hidden;
  min-height: clamp(600px, 80vh, 770px);
  background-size: cover !important;
  background-position: center;
  position: relative;
}

/* Positionering av kortet */
.s-hero__inner {
    min-height: inherit;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 50px 0px;
}

/* Overlay-kort */
.s-hero__card {
    width: min(620px, 100%);
    background: rgba(18, 56, 49, .92);
    border-radius: 6px 0px 0px 6px;
    padding:clamp(70px, 2.4vw, 80px) clamp(20px, 3vw, 70px);
    color: var(--c-cream);
    width: max-content;
    max-width: 800px;
    min-width: 700px;
}

/* Kicker */
.s-hero__kicker {
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
    font-size: var(--fs-kontakt);
    color: var(--c-bjork);
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

/* Titel */
.s-hero__title {
    margin: 0 0 18px;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--lh-tight);
    font-size: var(--fs-h1);
}
/* Text */
.s-hero__text{
  color: var(--c-cream);
}
.s-hero__text p{ margin: 0; }
.s-hero__text p + p{ margin-top: 10px; }

/* CTA */
.s-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    text-decoration: none;
    color: var(--c-cream);
    font-weight: 700;
}

.s-hero__cta-label {
    padding-bottom: 0px;
    font-family: var(--font-heading);
    font-size: var(--fs-kontakt);
}

/* Pil */
.s-hero__cta-arrow{
  color: var(--c-bjork);
  display: inline-flex;
  transform: rotate(0deg);
  transition: transform .22s ease, color .22s ease;
}
.s-hero__cta-arrow svg{
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: currentColor;
}
.s-hero__cta:hover .s-hero__cta-arrow{
  transform: rotate(45deg);
  color: var(--c-cream);
}

.s-hero__cta:hover span.s-hero__cta-label{
  color: var(--c-green_300);
}


/* Responsive */
@media (max-width: 980px){
  .s-hero__card{
    width: 100%;
  }

.s-hero__card {
    width: 100%;
    max-width: 980px;
    min-width: 200px;
     border-radius: 0px 0px 0px 0px;
}

.s-hero__title {
font-size: clamp(35px, 5.6vw, 68px) !important;
}

.s-hero__inner {
    padding: 0px 0px;
}
}


