.tabs-section {
  padding: 4rem 0;
}
.tabs-section .tabs-section__title {
  color: var(--teal);
  font-size: 60px;
  text-align: center;
  line-height: 1.2;
  margin: 0;
  margin-bottom: 2rem;
}
.tabs-section.has-subtitle .tabs-section__title {
  margin-bottom: 1rem;
}
.tabs-section.has-subtitle .tabs-section__subtitle {
  font-size: 24px;
  text-align: center;
  margin: 0;
  margin-bottom: 2rem;
}
.tabs-section .tabs {
  display: flex;
}
.tabs-section .tabs .nav-tabs {
  width: 25%;
  flex-direction: column;
  padding: 0;
  background: var(--beige);
}
.tabs-section .tabs .nav-tabs .nav-item {
  flex: 1;
}
.tabs-section .tabs .nav-tabs .nav-link {
  background: none;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: none;
  text-align: left;
  font-weight: 700;
  font-style: italic;
  line-height: 1.2;
  padding: 0.75rem 1rem;
}
.tabs-section .tabs .nav-tabs .nav-link.active {
  background: var(--teal);
  border-radius: 0;
  border: none;
}
.tabs-section .tabs .tab-content {
  width: 75%;
}
.tabs-section .tabs .tab-content .tab-pane {
  position: relative;
  min-height: 500px;
}
.tabs-section .tabs .tab-content .tab-pane img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tabs-section .tabs .tab-content .tab-pane .tab-body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(5px);
  padding: 2rem;
}
.tabs-section .tabs .tab-content .tab-pane .tab-body p:last-child {
  margin-bottom: 0;
}
@media (max-width: 992px) {
  .tabs-section .tabs-section__title {
    font-size: 36px;
  }
  .tabs-section.has-subtitle .tabs-section__subtitle {
    font-size: 18px;
  }
  .tabs-section .tabs {
    position: relative;
    flex-direction: column;
  }
  .tabs-section .tabs .dropdown-toggle {
    background: var(--teal);
    border: none;
    color: white;
    padding: 0.5rem;
  }
  .tabs-section .tabs .dropdown-menu {
    top: 46px;
    border-radius: 0;
    border: none;
  }
  .tabs-section .tabs .dropdown-menu:not(.show) {
    display: none;
  }
  .tabs-section .tabs .nav-tabs .nav-link.active {
    display: none;
  }
  .tabs-section .tabs .nav-tabs,
  .tabs-section .tabs .tab-content {
    width: 100%;
  }
}
