/* ═══════════════════════════════════════════════
   Berners Bravoure – Tabs / Accordeon
   ═══════════════════════════════════════════════ */

/* ── TABS ── */
.bb-tabs-widget {
  width: 100%;
}

.bb-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 2px solid #e8e2d9;
  margin-bottom: 0;
  padding-bottom: 0;
}

.bb-tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 12px 20px;
  font-weight: 600;
  color: #7a6a55;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
  line-height: 1.3;
}

.bb-tab-btn:hover {
  color: #5c3d1e;
}

.bb-tab-btn--active {
  color: #5c3d1e;
  border-bottom-color: #9e7d4e;
}

.bb-tab-panel {
  padding: 28px 4px;
  display: block;
}

.bb-tab-panel[hidden="true"] {
  display: none;
}

/* ── ACCORDEON ── */
.bb-accordeon-widget {
  width: 100%;
}

.bb-acc-item {
  border-bottom: 1px solid #e8e2d9;
}

.bb-acc-item:first-child {
  border-top: 1px solid #e8e2d9;
}

.bb-acc-btn {
  width: 100% !important;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 18px 4px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 16px !important;
  font-weight: 600 !important;
  color: #2b1f0e !important;
  cursor: pointer !important;
  text-align: left !important;
  transition: color 0.15s !important;
}

.bb-acc-btn:hover {
  background: none !important;
  background-color: transparent !important;
  color: #9e7d4e !important;
}

.bb-acc-btn[aria-expanded="true"] {
  background: none !important;
  background-color: transparent !important;
  color: #9e7d4e !important;
}

/* Plus/min icoon via CSS */
.bb-acc-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.bb-acc-icon::before,
.bb-acc-icon::after {
  content: '';
  position: absolute;
  background: #c4a97a;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.bb-acc-icon::before {
  width: 14px;
  height: 1.5px;
  top: 9px;
  left: 3px;
}

.bb-acc-icon::after {
  width: 1.5px;
  height: 14px;
  top: 3px;
  left: 9px;
}

.bb-acc-btn[aria-expanded="true"] .bb-acc-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.bb-acc-panel {
  padding: 0 4px 24px;
  display: block;
}

.bb-acc-panel[hidden] {
  display: none;
}

/* ── GEDEELDE INHOUD ── */
.bb-tab-content-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.bb-tab-content-wrap.bb-no-image {
  grid-template-columns: 1fr;
}

.bb-tab-inhoud {
  color: #3a2d1e;
  line-height: 1.7;
}

.bb-tab-inhoud p { margin: 0 0 14px; }
.bb-tab-inhoud p:last-child { margin-bottom: 0; }

.bb-tab-inhoud h3,
.bb-tab-inhoud h4 {
  color: #2b1f0e;
  margin: 20px 0 8px;
}

.bb-tab-inhoud ul,
.bb-tab-inhoud ol {
  padding-left: 20px;
  margin: 0 0 14px;
}

.bb-tab-inhoud li {
  margin-bottom: 6px;
}

.bb-tab-inhoud a {
  color: #9e7d4e;
  font-weight: 600;
  text-decoration: none;
}

.bb-tab-inhoud a:hover {
  color: #5c3d1e;
  text-decoration: underline;
}

.bb-tab-img {
  display: block;
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .bb-tab-content-wrap {
    grid-template-columns: 1fr;
  }
  .bb-tab-btn {
    padding: 10px 14px;
  }
  .bb-tab-panel {
    padding: 20px 4px;
  }
}
