/**
* Block Name: bild_text_scroll
*/

/* General section styles */
section.bild_text_scroll {
  display: flex;
  position: relative;
  height: auto;
}

section.bild_text_scroll .gap-25 {
  gap: 25px;
}

/* Sticky Image (Left Side) */
section.bild_text_scroll .bg_wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  transition: height 350ms ease-in-out;
  will-change: height;
  z-index: 0;
}

section.bild_text_scroll .bg_static_cover {
  width: 100%;
  object-fit: cover;
  height: 100%;
  position: sticky;
  max-height: 100vh;
  top: 0;
  transition: all 400ms ease-in-out;
}

section.bild_text_scroll .content {
  padding: 100px 100px 0 100px;
  padding-right: 0;
  transition: transform 0.5s ease-in-out;
  height: auto;
  width: 50%;
  margin-left: auto;
  position: relative;
  z-index: 999;
  background-color: var(--background-blue);
}

section.bild_text_scroll .content.scrollable {
  overflow-y: auto;
}

section.bild_text_scroll .content::-webkit-scrollbar {
  width: 0;
}

section.bild_text_scroll .content .buttons {
  border-bottom: 2px solid black;
  padding-bottom: 100px;
}

section.bild_text_scroll .accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-height: unset;
  overflow-y: visible;
}

section.bild_text_scroll .accordion .card {
  border: none;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0px 14px 14px 0px rgba(26, 51, 72, 0.04),
    0px 4px 4px 0px rgba(112, 136, 158, 0.05);
}

section.bild_text_scroll .accordion .card .card-header {
  background-color: var(--white);
  border-bottom: none !important;
  gap: 15px;
  border-radius: 5px;
  padding: 15px;
}

section.bild_text_scroll .accordion .card .card-header:hover {
  cursor: pointer;
}

section.bild_text_scroll .accordion .card .card-header h4 {
  padding-right: 15px;
  word-break: auto-phrase;
}

section.bild_text_scroll .accordion .card .card-header svg {
  transition: transform 250ms ease-in-out;
  flex-shrink: 0;
}

section.bild_text_scroll .accordion .card .card-header.collapsed svg {
  transform: rotate(0);
}

section.bild_text_scroll .accordion .card .card-header:not(.collapsed) svg {
  transform: rotate(180deg);
}

section.bild_text_scroll .accordion .card .card-header svg rect {
  fill: transparent;
}

section.bild_text_scroll .accordion .card .card-header svg rect,
section.bild_text_scroll .accordion .card .card-header svg path {
  transition: fill 200ms ease-in;
}

section.bild_text_scroll .accordion .card .card-header:hover svg rect {
  fill: black;
}

section.bild_text_scroll .accordion .card .card-header:hover svg path {
  fill: white;
}

section.bild_text_scroll table {
  border-spacing: 0;
  border-collapse: separate;
  border-radius: 5px;
  border: 1px solid black;
  border-top: none;

  border-bottom: none;
}

section.bild_text_scroll table th:not(:last-child),
section.bild_text_scroll table td:not(:last-child) {
  border-right: 1px solid black;
}

section.bild_text_scroll .table thead th {
  border-top: 1px solid black;
  border-bottom: none;
  background: #eef5fc;
  padding: 7px;
}

section.bild_text_scroll .table thead th:first-of-type {
  border-top-left-radius: 5px;
}

section.bild_text_scroll .table thead th:last-of-type {
  border-top-right-radius: 5px;
}

section.bild_text_scroll table tbody tr:first-of-type td {
  border-top: 1px solid black;
  padding: 7px;
}

section.bild_text_scroll table > thead > tr:not(:last-child) > th,
section.bild_text_scroll table > thead > tr:not(:last-child) > td,
section.bild_text_scroll table > tbody > tr:not(:last-child) > th,
section.bild_text_scroll table > tbody > tr:not(:last-child) > td,
section.bild_text_scroll table > tfoot > tr:not(:last-child) > th,
section.bild_text_scroll table > tfoot > tr:not(:last-child) > td,
section.bild_text_scroll table > tr:not(:last-child) > td,
section.bild_text_scroll table > tr:not(:last-child) > th,
section.bild_text_scroll table > thead:not(:last-child),
section.bild_text_scroll table > tbody:not(:last-child),
section.bild_text_scroll table > tfoot:not(:last-child) {
  border-bottom: 1px solid black;
  padding: 7px;
}

section.bild_text_scroll table > tbody > tr:last-child > td {
  padding: 7px;
  border-bottom: 1px solid black;
}

section.bild_text_scroll table > tbody > tr:last-child > td:first-of-type {
  border-bottom-left-radius: 5px;
}

section.bild_text_scroll table > tbody > tr:last-child > td:last-of-type {
  border-bottom-right-radius: 5px;
}

section.bild_text_scroll .accordion .card .table tbody tr td:first-of-type {
  font-weight: 600;
}

section.bild_text_scroll .content .contact_info .btn:hover svg {
  transform: none;
}

section.bild_text_scroll .content .contact_info .btn:hover {
  color: var(--primary-blue);
}

section.bild_text_scroll .content .contact_info .btn svg path {
  transition: all 250ms ease-in-out;
}

section.bild_text_scroll .content .contact_info .btn:hover svg path {
  fill: var(--primary-blue);
}

@media (max-width: 992px) {
  section.bild_text_scroll {
    flex-direction: column !important;
    height: 100% !important;
    margin-bottom: 100px;
  }

  section.bild_text_scroll .bg_wrapper {
    position: relative;
    width: 100%;

    height: 100%;
    overflow: visible;
  }

  section.bild_text_scroll .content {
    width: 100%;
    overflow: visible;
    height: 100% !important;
    padding: 100px 0px;
  }

  section.bild_text_scroll .content .btn {
    margin-bottom: 0;
  }
}
