/* Shared PC side-rail promo — lacivert / turuncu / beyaz. */
.v2-side-ad {
  --v2-side-ad-navy: #16213e;
  --v2-side-ad-orange: #ff6b00;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  padding: 12px 10px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #1a2a4a 0%, var(--v2-side-ad-navy) 55%, #0f182c 100%);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  writing-mode: horizontal-tb;
}

.v2-side-ad__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  padding: 8px 6px;
  border-radius: 10px;
  background: #fff;
}

.v2-side-ad__logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 48px;
  object-fit: contain;
}

.v2-side-ad__track {
  position: relative;
  flex: 1 1 auto;
  min-height: 160px;
  overflow: hidden;
}

.v2-side-ad__slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  opacity: 0;
  animation: v2-side-ad-fade 15s ease-in-out infinite;
}

.v2-side-ad__slide:nth-child(1) { animation-delay: 0s; }
.v2-side-ad__slide:nth-child(2) { animation-delay: 5s; }
.v2-side-ad__slide:nth-child(3) { animation-delay: 10s; }

.v2-side-ad__pin {
  position: relative;
  width: 14px;
  height: 14px;
  margin-bottom: 2px;
  border-radius: 50% 50% 50% 0;
  background: var(--v2-side-ad-orange);
  transform: rotate(-45deg);
  animation: v2-side-ad-pin 2.8s ease-in-out infinite;
}

.v2-side-ad__pin::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
}

.v2-side-ad__title {
  margin: 0;
  font: 800 13px/1.25 system-ui, sans-serif;
  letter-spacing: .01em;
  color: #fff;
}

.v2-side-ad__copy {
  font: 600 11px/1.35 system-ui, sans-serif;
  color: rgba(255, 255, 255, .86);
}

.v2-side-ad__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--v2-side-ad-orange);
  color: #fff;
  font: 800 12px/1 system-ui, sans-serif;
  letter-spacing: .02em;
  animation: v2-side-ad-glow 2.4s ease-in-out infinite;
}

@keyframes v2-side-ad-fade {
  0%, 2% { opacity: 0; }
  6%, 28% { opacity: 1; }
  33%, 100% { opacity: 0; }
}

@keyframes v2-side-ad-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, .15); filter: brightness(1); }
  50% { box-shadow: 0 0 14px 1px rgba(255, 107, 0, .45); filter: brightness(1.06); }
}

@keyframes v2-side-ad-pin {
  0%, 100% { transform: rotate(-45deg) translate(0, 0); }
  50% { transform: rotate(-45deg) translate(0, -3px); }
}

@media (min-width: 1600px) {
  .v2-side-ad { padding: 16px 12px 18px; gap: 12px; }
  .v2-side-ad__logo img { height: 52px; }
  .v2-side-ad__title { font-size: 15px; }
  .v2-side-ad__copy { font-size: 12px; }
  .v2-side-ad__cta { min-height: 36px; font-size: 13px; }
}

@media (min-width: 1920px) {
  .v2-side-ad__title { font-size: 17px; }
  .v2-side-ad__copy { font-size: 13px; }
  .v2-side-ad__logo img { height: 56px; }
}

/* Stretch with host column; do not invent İlan Ver height. */
.ilan-ver-ad .v2-side-ad__track {
  min-height: 0;
}

@media (prefers-reduced-motion: reduce) {
  .v2-side-ad__slide,
  .v2-side-ad__cta,
  .v2-side-ad__pin { animation: none !important; }
  .v2-side-ad__slide { opacity: 0; }
  .v2-side-ad__slide:first-child { opacity: 1; position: relative; }
  .v2-side-ad__track { min-height: 0; }
}
