/* === Tabs Container & Buttons === */
.tabs-wrapper {
  position: relative;
  display: flex;
  align-items: center; 
}

.tabs::after {
  content: "";
  flex: 0 0 1em;  /* or whatever your arrow-width is */
}

.tabs-container {
  overflow-x: hidden;
   flex: 1 1 auto;
   padding: 0 0.5em;         /* reserve room for your arrows */
   box-sizing: border-box; /* so padding isn&rsquo;t added on top of width */
}
.tabs {
  box-sizing: content-box;
  list-style: none;
  margin: 0;
  flex: 1 1 auto;    /* make the <ul> fill the space between the arrows */
  min-width: 0; 
  display: flex;
  flex-wrap: nowrap;                  /* prevent wrapping */
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  -ms-overflow-style: none;           /* hide scrollbar in IE/Edge */
  scrollbar-width: none;              /* hide scrollbar in Firefox */
}

.tabs .tab-button {
  flex: 0 0 auto;                     /* don&rsquo;t shrink below content */
  padding: 12px 16px;
  cursor: pointer;
  border: none;
  margin: 0;
  background: transparent;
  font-weight: 400;
  color: #333;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.tabs .tab-button:hover {
  /* no background change on hover */
  background: transparent;
}

.tabs .tab-button.active {
  background-color: #143d6A;
  color: #fff;
  font-weight: 400;
}

/* === Arrow Buttons === */
.tab-arrow {
  /* reset default button styling */
  appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  border: none;
  color: #000;
  font-size: 3.5rem;
  line-height: 1;
  font-weight: 300;
  cursor: pointer;
  padding: 0 2rem;
  position: relative; /* so it sits on top of the tabs if they get too narrow */
  z-index: 1;
  user-select: none;
  transition: opacity 0.2s;
}

.tab-arrow:hover,
.tab-arrow:focus,
.tab-arrow:active {
  /* keep transparent on all interactions */
  background-color: transparent;
  outline: none;
}

.tab-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

/* === Tab Panes === */
.tab-pane {
  display: none;
  padding: 20px;
  background-color: #fff;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  margin-top: -1px;
}

.tab-pane.active {
  display: block;
}

/* === Inner Content Styling === */
.tab-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tab-inner img {
  width: 300px;
  height: 300px;
  object-fit: contain;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin-bottom: 10px;
}

.tab-inner h3 {
  margin: 0;
  font-size: 1.5em;
  color: #101d2e;
}

.tab-inner p {
  font-size: 1em;
  color: #444;
  line-height: 1.6;
}

.tab-inner strong {
  display: inline-block;
  margin-top: 10px;
  color: #000;
  font-weight: 600;
}

/* === Responsive: Stack on Very Small Screens === */
@media (max-width: 400px) {
  .tabs {
    flex-direction: column;
    border-bottom: none;
  }
  .tabs .tab-button {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid #eee;
  }
}