/* ─── DESKTOP WRAPPER: slider 75% + 2 fixed banners 25% ─── */
.tanaslider-wrapper {
  display: flex;
  gap: 6px;
  margin-bottom: 30px;
  width: 100%;
  box-sizing: border-box;
}

.tanaslider-main {
  flex: 0 0 75%;
  max-width: 75%;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.tanaslider-fixed {
  flex: 0 0 calc(25% - 6px);
  max-width: calc(25% - 6px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fixed-banner-item {
  flex: 1;
  overflow: hidden;
  border-radius: 6px;
}

.fixed-banner-item a {
  display: block;
  height: 100%;
}

.fixed-banner-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── SLIDER (responsiveslides) ─── */
.tanaslider-container {
  position: relative;
  width: 100%;
}

.tanaslider-container::after {
  content: "";
  display: table;
  clear: both;
}

.tanaslider {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
}

.tanaslider li {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
}

.tanaslider img,
.tanaslider-main img {
  display: block;
  position: relative;
  z-index: 1;
  height: auto;
  width: 100%;
  border: 0;
  border-radius: 6px;
}

.tanaslider .caption {
  display: block;
  position: absolute;
  z-index: 2;
  font-size: 1em;
  text-shadow: none;
  color: #fff;
  background: rgba(0,0,0,.6);
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 20px;
  margin: 0;
  max-width: none;
  border-radius: 0 0 6px 6px;
}

/* ─── NAV ARROWS: circle + inline SVG chevron ─── */
.tanaslider_nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-indent: -9999px;
  overflow: hidden;
  transition: background .2s, box-shadow .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
  left: 12px;
}

.tanaslider_nav:hover {
  background: rgba(255,255,255,1);
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

/* Chevron left via inline data-uri SVG */
.tanaslider_nav::after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  text-indent: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E") no-repeat center center;
  background-size: 18px 18px;
}

.tanaslider_nav.next {
  left: auto;
  right: 12px;
}

/* Chevron right via inline data-uri SVG */
.tanaslider_nav.next::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
}

/* ─── DOTS ─── */
.tanaslider_tabs {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 8px;
}

.tanaslider_tabs li a {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  text-indent: -9999px;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,.8);
  transition: background .2s;
}

.tanaslider_tabs li.tanaslider_here a {
  background: #fff;
}

/* ─── MOBILE BANNER ─── */
.tanaslider-mobile {
  display: none;
  margin-bottom: 20px;
}

.tanaslider-mobile img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.tanaslider-mobile a {
  display: block;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 991px) {
  .tanaslider-wrapper {
    display: none !important;
  }
  .tanaslider-mobile {
    display: block !important;
  }
}
