/* Björkmans tjänste-CPT */

.service-hero__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  text-decoration: none;
}

.service-hero__excerpt {
  max-width: 780px;
  margin: 24px auto 0;
  color: #fff;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
}

.service-single {
  padding-top: 80px;
  padding-bottom: 80px;
}

.service-breadcrumb {
  margin-bottom: 28px;
  font-size: 14px;
  opacity: 0.75;
}

.service-breadcrumb a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.service-breadcrumb span {
  margin-right: 8px;
}

.service-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 38px;
}

.service-topics span {
  display: inline-block;
  padding: 7px 12px;
  background: #efebdc;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-article {
  max-width: 920px;
  margin: 0 auto;
}

.service-content h2 {
  margin-top: 58px;
  margin-bottom: 18px;
}

.service-content h3 {
  margin-top: 42px;
  margin-bottom: 14px;
}

.service-content p,
.service-content li {
  font-size: 18px;
  line-height: 1.75;
}

.service-content ul,
.service-content ol {
  margin-top: 20px;
  margin-bottom: 28px;
}

.related-block {
  margin-top: 90px;
}

.related-block__header {
  max-width: 760px;
  margin-bottom: 34px;
}

.related-block__header h2 {
  margin-bottom: 10px;
}

.related-block__header p {
  margin: 0;
  opacity: 0.75;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.related-card {
  background: #fff;
}

.related-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.related-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f2f2f2;
}

.related-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease, opacity .28s ease;
}

.related-card a:hover .related-card__image img {
  transform: scale(1.03);
  opacity: .94;
}

.related-card__content {
  padding: 20px 0 0;
}

.related-card--service {
  padding: 24px;
  background: #efebdc;
}

.related-card--service .related-card__content {
  padding: 0;
}

.related-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.related-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.service-cta {
  margin-top: 90px;
  padding: 56px;
  text-align: center;
  background: #9b8056;
  color: #fff;
}

.service-cta h2 {
  color: #fff;
  margin-bottom: 14px;
}

.service-cta p {
  max-width: 720px;
  margin: 0 auto 26px;
  font-size: 18px;
  line-height: 1.6;
}

.service-cta__button {
  display: inline-block;
  padding: 14px 28px;
  background: #111;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .06em;
}

.service-backlink {
  margin-top: 38px;
  text-align: center;
}

.service-backlink a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

@media (max-width: 991px) {
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .service-single {
    padding-top: 50px;
    padding-bottom: 55px;
  }

  .service-hero__excerpt {
    font-size: 17px;
  }

  .service-content p,
  .service-content li {
    font-size: 16px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .service-cta {
    padding: 38px 24px;
  }
}
