.simplia-fantabs-slider {
  margin-top: 5.2rem !important;
  padding: 2.4rem 0 2rem 0;
  text-align: center;
  background: none;
  overflow-x: hidden;
}
.simplia-fantabs-slider h2 {
  font-size: 2.3rem;
  margin-bottom: 3rem;
  font-weight: 800;
  color: var(--color-text, #dfe3e6);
  letter-spacing: -.01em;
}
.quote-gap-spacer {
  height: 4.2rem;
  width: 100%;
  display: block;
}

/* ----------- NOU SISTEMA FLEX (desktop) ----------- */
.fan-tabs {
  --tabGap: 16px;
  --radius: 18px;
  display: flex;
  gap: var(--tabGap);
  justify-content: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.fan-tabs li {
  position: relative;
  background: #111319;
  border: 1.5px solid #fff;
  border-radius: var(--radius);
  min-width: 68px;
  min-height: 390px;
  max-width: 420px;
  box-shadow: 0 6px 24px #0006;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  flex: 0.13 1 68px;
  transition: flex 0.6s cubic-bezier(.83,0,.21,1), min-width 0.6s cubic-bezier(.83,0,.21,1), box-shadow 0.3s, border-color 0.2s;
  cursor: pointer;
  z-index: 1;
  padding: 0;
  isolation: isolate;
}
.fan-tabs li[data-active="true"] {
  background: #20232b;
  border-color: #fff;
  box-shadow: 0 10px 38px #111b, 0 1px 40px #fff2;
  min-width: 420px;
  max-width: 620px;
  flex: 1 1 420px;
  z-index: 2;
  transition: flex 0.65s cubic-bezier(.83,0,.21,1), min-width 0.6s, box-shadow 0.3s, border-color 0.2s;
}
.fan-tabs li[data-active="true"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(26,27,35,0.66) 58%, rgba(255,255,255,0.15) 100%),
    var(--img, none) center/cover no-repeat;
  filter: blur(0.85px) brightness(0.97);
  z-index: 1;
  opacity: 1;
  transition: all .45s cubic-bezier(.83,0,.21,1);
}
.fan-tabs li:not([data-active="true"]) {
  min-width: 68px;
  background: #12151a;
  border-color: #fff;
  filter: grayscale(0.38) brightness(0.83);
  opacity: 0.87;
  flex: 0.13 1 68px;
  transition: flex 0.58s cubic-bezier(.83,0,.21,1), min-width 0.6s, box-shadow 0.3s, border-color 0.2s;
}
.fan-tabs li:not([data-active="true"]):before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--img, none) center/cover no-repeat;
  filter: grayscale(0.78) blur(1.2px) brightness(0.6);
  z-index: 1;
  opacity: 0.38;
}
.fan-tabs li:not([data-active="true"]):hover,
.fan-tabs li:not([data-active="true"]):focus-visible {
  border-color: #4F9DF7;
  box-shadow: 0 6px 32px #4F9DF732;
}
.fan-tabs li article {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  height: 100%;
  width: 100%;
  padding: 0 0 2.2rem 0;
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.fan-tabs li .icon {
  left: 38px;
  top: 36px;
  width: 32px;
  height: 32px;
  opacity: 1;
  pointer-events: none;
  align-items: center;
  justify-content: center;
  position: absolute;
}
.fan-tabs li[data-active="true"] .icon {
  display: flex !important;
}
.fan-tabs li:not([data-active="true"]) .icon {
  display: none !important;
}
.fan-tabs li h3 {
  margin: 0;
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f5f8fa;
  position: absolute;
  top: 32px;
  left: 50%;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: translateX(-50%) rotate(180deg);
  text-shadow: 0 1px 2px #222b33d0;
  opacity: 0.97;
  transition:
    color 0.18s,
    left 0.25s,
    top 0.25s,
    font-size 0.18s,
    transform 0.45s cubic-bezier(.66,0,.18,1),
    writing-mode 0.45s,
    text-align 0.25s;
  line-height: 1.2;
  z-index: 3;
  text-align: center;
  pointer-events: none;
}
.fan-tabs li[data-active="true"] h3 {
  color: #fff;
  opacity: 1;
  font-size: 1.42rem;
  left: 90px;
  top: 36px;
  writing-mode: horizontal-tb;
  transform: none;
  text-align: left;
  letter-spacing: 0.02em;
  z-index: 4;
}
.fan-tabs li p { display: none; }
.fan-tabs li[data-active="true"] p {
  display: block;
  color: #fff !important;
  font-size: 1.22rem;
  line-height: 1.7;
  font-weight: 400;
  margin: 0 1.5rem 0 0;
  padding: 0 0 0 0;
  text-align: right;
  max-width: 540px;
  align-self: flex-end;
  margin-bottom: 2.3rem;
  text-shadow: 0 1px 8px #181e2288;
}
.fan-tabs li .fan-tab-link {
  left: auto;
  right: 34px;
  bottom: 26px;
  opacity: 1;
  pointer-events: auto;
  background: none;
  color: #E02984;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  font-size: 0.97rem;
  padding-left: 10px;
  padding-right: 16px;
  height: 26px;
  line-height: 26px;
  border-radius: 7px;
  transition: color 0.2s, border-color 0.2s, left 0.22s, bottom 0.22s, font-size 0.2s;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  border: none;
  text-align: right;
  text-decoration: none !important;
}
.fan-tabs li .fan-tab-link:hover,
.fan-tabs li .fan-tab-link:focus {
  color: #fff;
  text-decoration: underline !important;
}
.fan-tabs li:not([data-active="true"]) .fan-tab-link { display: none !important; }
.fan-tabs li:focus-visible {
  outline: 2px solid #E02984;
  outline-offset: 2px;
  z-index: 4;
}
