.tal-promo-slider {
  --tal-promo-width: 32vw;
  --tal-promo-accent: #0a8fd8;
  position: fixed;
  bottom: 18px;
  width: min(var(--tal-promo-width), calc((100vh - 36px) * 16 / 9));
  aspect-ratio: 16 / 9;
  max-width: calc(100vw - 36px);
  overflow: hidden;
  background: #fff;
  color: #111827;
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  opacity: 0;
  visibility: hidden;
  transition: transform .42s cubic-bezier(.2,.8,.2,1), opacity .28s ease, visibility .28s ease;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.35;
  box-sizing: border-box;
}
.tal-promo-side-left { left: 18px; right: auto; transform: translate3d(calc(-100% - 40px),0,0); }
.tal-promo-side-right { right: 18px; left: auto; transform: translate3d(calc(100% + 40px),0,0); }
.tal-promo-slider *, .tal-promo-slider *::before, .tal-promo-slider *::after { box-sizing: border-box; }
.tal-promo-slider.is-open {
  transform: translate3d(0,0,0);
  opacity: 1;
  visibility: visible;
}
.tal-promo-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 20;
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: rgba(8, 17, 32, 0.88);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  line-height: 0;
}

.tal-promo-close svg {
  width: 16px;
  height: 16px;
  display: block;
}

.tal-promo-close svg path {
  stroke: #ffffff;
  stroke-width: 2.6;
  stroke-linecap: round;
  fill: none;
}

.tal-promo-close:hover,
.tal-promo-close:focus {
  background: rgba(8, 17, 32, 1);
  outline: none;
}
.tal-promo-close:hover, .tal-promo-close:focus { background-color:transparent; }

/* 16:9 text creative: image on one side, copy on the other. */
.tal-promo-layout-image_text {
  display: grid;
  grid-template-columns: 46% 54%;
  grid-template-rows: 100%;
}
.tal-promo-layout-image_text .tal-promo-visual {
  grid-column: 1;
  grid-row: 1;
  padding: 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #f3f4f6;
}
.tal-promo-layout-image_text .tal-promo-visual > a,
.tal-promo-layout-image_text .tal-promo-visual > img {
  display: block;
  width: 100%;
  height: 100%;
}
.tal-promo-layout-image_text .tal-promo-visual img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}
.tal-promo-copy {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  height: 100%;
  padding: clamp(16px, 1.7vw, 30px) clamp(18px, 1.8vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}
.tal-promo-eyebrow { color: var(--tal-promo-accent); font-weight: 700; font-size: clamp(10px, .7vw, 12px); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 7px; }
.tal-promo-headline { color: #070707; font-size: clamp(18px, 1.55vw, 30px); font-weight: 800; line-height: 1.06; text-transform: uppercase; margin: 0 40px 9px 0; }
.tal-promo-description { color: #273142; font-size: clamp(11px, .78vw, 14px); line-height: 1.35; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tal-promo-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 9px 15px; border-radius: 4px; background: var(--tal-promo-accent); color: #fff !important; font-size: clamp(10px, .7vw, 12px); line-height: 1; font-weight: 700; text-decoration: none !important; text-transform: uppercase; box-shadow: none; }
.tal-promo-cta:hover, .tal-promo-cta:focus { filter: brightness(.92); color: #fff !important; }
.tal-promo-link { text-decoration: none !important; box-shadow: none !important; }

/* Artwork-only campaigns keep the full creative visible inside the 16:9 frame. */
.tal-promo-layout-artwork { display: block; overflow: hidden; background: #fff; }
.tal-promo-artwork-link { display: block; width: 100%; height: 100%; }
.tal-promo-artwork { display: block; width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 900px) {
  .tal-promo-slider {
    width: min(56vw, calc((100vh - 28px) * 16 / 9));
  }
  .tal-promo-headline { font-size: clamp(16px, 2.6vw, 24px); }
  .tal-promo-description { font-size: 11px; -webkit-line-clamp: 2; }
}

@media (max-width: 640px) {
  .tal-promo-slider {
    left: 10px !important;
    right: 10px !important;
    bottom: 10px;
    width: calc(100vw - 20px);
    max-width: none;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
  }
  .tal-promo-side-left, .tal-promo-side-right { transform: translate3d(0, 110%, 0); }
  .tal-promo-slider.is-open { transform: translate3d(0,0,0); }
  .tal-promo-close {
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
}

.tal-promo-close svg {
  width: 18px;
  height: 18px;
}
  .tal-promo-layout-image_text { grid-template-columns: 43% 57%; }
  .tal-promo-copy { padding: 10px 12px; }
  .tal-promo-eyebrow { font-size: 8px; margin-bottom: 3px; }
  .tal-promo-headline { font-size: clamp(12px, 4vw, 18px); margin: 0 28px 5px 0; line-height: 1.03; }
  .tal-promo-description { display: none; }
  .tal-promo-cta { min-height: 28px; padding: 7px 10px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .tal-promo-slider { transition: none; }
}
