.tabber__heading {
  margin: 0 auto;
  max-width: 76.7rem;
  text-align: center;
}

.tabber__heading p:last-of-type:not(.preheader) {
  margin-bottom: 0;
}

.tabber__wrapper {
  display: grid;
  gap: var(--gap-48);
  grid-template-columns: 40% 60%;
}

.tab-content {
  display: flex;
  flex-direction: column;
  order: 2;
  padding: var(--gap-32);
  position: relative;
  z-index: 2;
}

.tabber__image img {
  aspect-ratio: 16/9;
  border-radius: var(--border-radius);  
  object-fit: cover;
}

.tabber__image iframe {
  border-radius: var(--border-radius);
}

.tabber__image .hs-video-wrapper {
  padding-bottom: 66.66% !important;
}

.tabber__tabs {
  display: flex;
  flex-direction: column;
  order: 1;
  row-gap: var(--gap-16);
}

.tabber__tabs a {
  align-items: center;
  background-color: var(--white);
  border-radius: var(--border-radius); 
  box-shadow: var(--box-shadow);
  cursor: pointer;
  display: flex;
  margin-top: 0;
  padding: var(--gap-24);
  position: relative;
  text-decoration: none;
  transition: var(--transition);
  width: 100%
}
.tabber__tabs a:hover {
  background-color: var(--green);
}

.tab-content {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);  
  display: flex;
}

.tab-content__inner {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.tab-content__inner.active {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  opacity: 1;
}

@media screen and (max-width: 1023px) {
  
  .tabber__wrapper {
    gap: var(--gap-24);
    grid-template-columns: 1fr;
  }
  
  .tabber__tabs {
    order: 2;
  }
  
  .tab-content {
    border-radius: var(--border-radius);  
    order: 1;
  }
}

@media screen and (max-width: 767px) {
  .tab-content {
    padding: var(--gap-24);
  }
  }
}
