.u2-section {
  padding: 44px 20px;
  text-align: center;
}

.u2-head h2 {
  margin: 0 0 8px;
  font-size: 28px;
  color: #07104a;
}

.u2-head p {
  margin: 0 0 20px;
  color: #4b5563;
}

.u2-grid,
.tabs-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.u2-panel,
.tab {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
  text-align: left;
}

.u2-panel-title,
.tab h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #0b2a6b;
  text-align: center;
}

.u2-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 3 / 2;
  height: auto;
  background: #fff;
  overscroll-behavior-x: contain;
  -webkit-tap-highlight-color: transparent !important;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.u2-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
}

.u2-track {
  display: flex;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: translate3d(0, 0, 0);
  transition: transform 360ms ease;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.u2-slide {
  flex: 0 0 100%;
  height: 100%;
  background: #fff;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.u2-card {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #fff;
  text-decoration: none;
  outline: none;
  -webkit-tap-highlight-color: transparent !important;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  touch-action: manipulation;
}

.u2-card:focus,
.u2-card:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}


.u2-viewport,
.u2-track,
.u2-slide,
.u2-card {
  width: 100%;
  height: 100%;
}

.u2-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  background: #fff;
}


.u2-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.28) 45%,
    rgba(0, 0, 0, 0.76) 100%
  );
  z-index: 1;
}

.u2-card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 12px 12px 13px;
}

.u2-card-overlay h4 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  color: #fff;
}

.u2-card-overlay p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.u2-card--empty {
  cursor: default;
}

.u2-card--empty img {
  object-fit: cover;
  background: #f8fafc;
  padding: 22px;
}


.u2-nav {
  position: absolute;
  top: calc(50% - 20px);
  z-index: 5;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(170, 170, 170, 0.58) !important;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent !important;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transform: none;
  margin: 0;
  will-change: auto;
}

.u2-prev { left: 2px; }
.u2-next { right: 2px; }

.u2-nav:focus,
.u2-nav:focus-visible,
.u2-nav:active {
  outline: none !important;
  box-shadow: none !important;
}

.u2-footer {
  margin-top: 20px;
  text-align: center;
}

.u2-view-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  -webkit-tap-highlight-color: transparent !important;
  touch-action: manipulation;
}

.u2-view-more:hover {
  background: #1d4ed8;
}

.u2-view-more:focus,
.u2-view-more:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}


@media (hover: none) and (pointer: coarse) {
  .u2-track {
    display: block;
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }

  .u2-slide {
    display: none;
    width: 100%;
    height: 100%;
  }

  .u2-slide.is-active {
    display: block;
  }
}

@media (hover: hover) and (pointer: fine) {
  .u2-card:hover {
    transform: translateY(-2px);
    transition: transform 180ms ease;
  }

  .u2-nav:hover {
    background: rgba(0, 0, 0, 0.78);
  }
}

/* Desktop stays the same above this point */

/* Large tablet / small laptop */
@media (min-width: 901px) and (max-width: 1024px) {
  .u2-grid,
  .tabs-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }



  .u2-card-overlay h4 {
    font-size: 15px;
  }

  .u2-card-overlay p {
    font-size: 12px;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .u2-section {
    padding: 38px 16px;
  }

  .u2-head h2 {
    font-size: 24px;
  }

  .u2-grid,
  .tabs-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .u2-panel,
  .tab {
    padding: 12px;
  }

  .u2-panel-title,
  .tab h3 {
    font-size: 17px;
  }


  .u2-card-overlay {
    padding: 10px 10px 11px;
  }

  .u2-card-overlay h4 {
    font-size: 15px;
  }

  .u2-card-overlay p {
    font-size: 12px;
    line-height: 1.4;
  }

  .u2-nav {
    width: 38px;
    height: 38px;
    top: calc(50% - 19px);
    font-size: 18px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .u2-section {
    padding: 32px 12px;
  }

  .u2-head h2 {
    font-size: 22px;
  }

  .u2-head p {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .u2-grid,
  .tabs-container {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .u2-panel,
  .tab {
    padding: 11px;
    border-radius: 14px;
  }

  .u2-panel-title,
  .tab h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .u2-carousel {

    border-radius: 12px;
  }

  .u2-card-overlay {
    padding: 10px 10px 11px;
  }

  .u2-card-overlay h4 {
    font-size: 14px;
    margin-bottom: 3px;
  }

  .u2-card-overlay p {
    font-size: 11px;
    line-height: 1.35;
  }

  .u2-nav {
    width: 36px;
    height: 36px;
    top: calc(50% - 18px);
    font-size: 18px;
  }

  .u2-prev {
    left: 4px;
  }

  .u2-next {
    right: 4px;
  }

  .u2-footer {
    margin-top: 16px;
  }

  .u2-view-more {
    width: 92%;
    max-width: 330px;
    min-height: 44px;
    padding: 11px 18px;
  }
}