.wh-tabs-holder {
  position: relative;
}

/* Tabs Navigation */
.wh-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.wh-tab-button {
  flex: 1;
  padding: 20px;
  background: #ECF3F8; /* wh-bkg-powder-blue-light */
  border: none;
  font-family: inherit;
  font-size: 1.1rem;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  border-radius: 4px 4px 0 0;
}

.wh-tab-button:hover {
  background: #D1E2EF; /* wh-bkg-sky-mist */
}

.wh-tab-active,
.wh-tab-active:hover {
  background: #0F52AF; /* wh-bkg-blue */
  color: #fff;
}

/* Mobile Select */
.wh-tabs-mobile-select-wrapper {
  position: relative;
}

.wh-tabs-select {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  background-color: #fff;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
}

/* Tab Panels */
.wh-tab-panel {
  display: none;
}

.wh-tab-panel.wh-tab-active {
  display: block;
}

/* Content Area */
.wh-tab-content-wrapper {
  padding: 0;
}

/* Ensure text on blue background is white */
.wh-tab-content-wrapper h1,
.wh-tab-content-wrapper h2,
.wh-tab-content-wrapper h3,
.wh-tab-content-wrapper h4,
.wh-tab-content-wrapper h5,
.wh-tab-content-wrapper h6,
.wh-tab-content-wrapper p,
.wh-tab-content-wrapper li {
  color: #fff;
}

.wh-tab-content-inner {
  display: grid;
  gap: 0;
}

.wh-tab-text {
  padding: 60px;
}

@media (min-width: 769px) {
  .wh-tab-content-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 400px;
  }
  
  /* Reverse layout - image first, then content (desktop only) */
  .wh-reverse-layout .wh-tab-content-inner {
    direction: rtl;
  }
  
  .wh-reverse-layout .wh-tab-text,
  .wh-reverse-layout .wh-tab-image-col {
    direction: ltr;
  }
}

.wh-tab-image-col {
  position: relative;
  height: 100%;
  min-height: 300px;
}

.wh-tab-image-col .wh-cover-holder {
  height: 100%;
  padding-bottom: 0;
  overflow: hidden;
  position: relative;
  border-radius: 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .wh-tabs-container {
    border-radius: 0px !important;
  }
  .wh-tab-panel {
    border-radius: 10px;
    overflow: hidden;
  }
  .wh-tab-text {
    padding: 30px 20px;
  }
  
  .wh-tab-image-col {
    height: auto;
    min-height: 0;
  }

  .wh-tab-image-col .wh-cover-holder {
    padding-bottom: 66.66%;
  }
  
  .wh-hide-mobile {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .wh-hide-desktop {
    display: none !important;
  }
}
