.home div.et_pb_section.et_pb_section_0 {
  background-image:
    linear-gradient(90deg, rgb(4 20 38 / 84%) 0%, rgb(8 38 69 / 68%) 58%, rgb(3 21 42 / 76%) 100%),
    url("bos-academy-hero-1600.webp") !important;
  background-position: center;
  background-size: cover;
}

.home .et_pb_section_0 > .et_pb_row {
  min-height: clamp(520px, 72svh, 760px);
}

.home .et_pb_section_0 .et_pb_button,
.home .et_pb_section_0 a[href="/kurse/"],
.home .et_pb_section_0 a[href$="/kurse/"] {
  outline-offset: 4px;
}

.home .et_pb_section_0 .et_pb_button:focus-visible,
.home .et_pb_section_0 a[href="/kurse/"]:focus-visible,
.home .et_pb_section_0 a[href$="/kurse/"]:focus-visible {
  outline: 3px solid #fff;
}

.home #portfolio .bos-category-index__intro {
  max-width: 720px;
  margin: 16px 0 0;
  color: #667389;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.65;
}

.home #portfolio .bos-category-index-row {
  width: min(1180px, 90%);
  padding: 0;
}

.home .bos-category-index {
  width: 100%;
}

.home .bos-category-index__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(34px, 5vw, 84px);
  border-bottom: 1px solid #d9dde3;
}

.home .bos-category-index__item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 24px;
  gap: 18px;
  align-items: center;
  min-height: 126px;
  padding: 24px 2px;
  border-top: 1px solid #d9dde3;
  color: #102a4c;
  text-decoration: none;
  opacity: 0;
  transform: translateY(12px);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    opacity 420ms ease var(--bos-category-delay, 0ms),
    transform 420ms ease var(--bos-category-delay, 0ms);
}

.home .bos-category-index.is-ready .bos-category-index__item {
  opacity: 1;
  transform: translateY(0);
}

.home .bos-category-index__item:hover {
  border-color: var(--bos-category-color, #e3283b);
  background: color-mix(in srgb, var(--bos-category-color, #e3283b) 6%, transparent);
}

.home .bos-category-index__item:focus-visible,
.home .bos-category-index__all:focus-visible {
  outline: 3px solid #2d65a0;
  outline-offset: 5px;
}

.home .bos-category-index__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid color-mix(in srgb, var(--bos-category-color, #e3283b) 42%, #fff);
  border-radius: 50%;
  color: var(--bos-category-color, #e3283b);
  background: color-mix(in srgb, var(--bos-category-color, #e3283b) 9%, #fff);
  transition: transform 180ms ease, background-color 180ms ease;
}

.home .bos-category-index__item:hover .bos-category-index__icon {
  transform: scale(1.06);
  background: color-mix(in srgb, var(--bos-category-color, #e3283b) 15%, #fff);
}

.home .bos-category-index__icon-svg {
  width: 24px;
  height: 24px;
}

.home .bos-category-index__copy {
  display: grid;
  gap: 6px;
}

.home .bos-category-index__copy strong {
  color: #102a4c;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.25;
}

.home .bos-category-index__copy > span {
  color: #667389;
  font-size: 15px;
  line-height: 1.55;
}

.home .bos-category-index__arrow {
  display: grid;
  place-items: center;
  color: var(--bos-category-color, #e3283b);
  transition: transform 180ms ease;
}

.home .bos-category-index__item:hover .bos-category-index__arrow {
  transform: translateX(5px);
}

.home .bos-category-index__arrow-svg,
.home .bos-category-index__all-icon {
  width: 22px;
  height: 22px;
}

.home .bos-category-index__all {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
  color: #1f5b96;
  font-weight: 700;
  text-decoration: none;
}

.home .bos-category-index__all-icon {
  transition: transform 180ms ease;
}

.home .bos-category-index__all:hover .bos-category-index__all-icon {
  transform: translateX(5px);
}

@media (max-width: 767px) {
  .home .et_pb_section_0 > .et_pb_row {
    min-height: 580px;
  }

  .home .bos-category-index__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .home .bos-category-index__item {
    grid-template-columns: 42px minmax(0, 1fr) 20px;
    gap: 14px;
    min-height: 0;
    padding: 20px 0;
  }

  .home .bos-category-index__icon {
    width: 42px;
    height: 42px;
  }

  .home .bos-category-index__copy > span {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home .et_pb_section_0 *,
  .home .et_pb_section_0 *::before,
  .home .et_pb_section_0 *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .home .bos-category-index__item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home .bos-category-index__icon,
  .home .bos-category-index__arrow,
  .home .bos-category-index__all-icon {
    transition: none;
  }
}
