/* Almaty Taxi V5.1 — original owner-selected Telegram banner after the booking section.
   Display full 16:9 creative without cropping. Native touch-sized CTA on phones. */
.telegram-promo-section {
  position: relative;
  padding: clamp(8px, 1.2vw, 18px) clamp(8px, 1.5vw, 24px) clamp(14px, 2vw, 28px);
  background: #0b3d35;
  isolation: isolate;
}
.telegram-promo-inner {
  width: min(100%, 1536px);
  margin-inline: auto;
}
.telegram-promo-link {
  display: block;
  position: relative;
  overflow: hidden;
  line-height: 0;
  border-radius: clamp(10px, 1.2vw, 22px);
  background: #08362e;
  box-shadow: 0 14px 44px rgba(0, 0, 0, .24);
  transition: box-shadow .18s ease, transform .18s ease;
}
.telegram-promo-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, .34);
}
.telegram-promo-link:focus-visible {
  outline: 4px solid #e2b862;
  outline-offset: 4px;
}
.telegram-promo-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
.telegram-promo-mobile-caption { display: none; }
@media (max-width: 700px) {
  .telegram-promo-section { padding: 8px 8px 16px; }
  .telegram-promo-link { border-radius: 12px; }
  .telegram-promo-mobile-caption {
    display: grid;
    gap: 10px;
    padding: 16px 12px 0;
    text-align: center;
    font-family: 'Onest', system-ui, sans-serif;
    color: #fff;
  }
  .telegram-promo-mobile-caption p {
    margin: 0;
    font-size: clamp(15px, 4vw, 18px);
    line-height: 1.35;
    font-weight: 700;
  }
  .telegram-promo-mobile-cta {
    min-height: 52px;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #229bde, #0072b8);
    color: #fff;
    font-size: clamp(15px, 4.2vw, 18px);
    line-height: 1.25;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 9px 20px rgba(0, 0, 0, .23);
  }
  .telegram-promo-mobile-cta:hover { background: #0072b8; }
  .telegram-promo-mobile-cta:focus-visible { outline: 3px solid #e2b862; outline-offset: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .telegram-promo-link { transition: none; }
  .telegram-promo-link:hover { transform: none; }
}

/* V5.4: readable replacement over the OLD baked-in @handle (image unchanged). */
.telegram-promo-brand-overlay {
  position: absolute; left: 6.9%; top: 79.4%; width: 30.8%; height: 4.4%;
  display: flex; align-items: center; white-space: nowrap;
  font-family: 'Onest', system-ui, sans-serif; font-weight: 500;
  font-size: clamp(7px, 1.65vw, 25px); line-height: 1.15;
  color: #f6fff7; text-align: left;
  background: linear-gradient(90deg, #104b3c 0%, #104b3c 82%, rgba(16,75,60,0) 100%);
  pointer-events: none;
}

.telegram-promo-howto a{color:inherit;text-decoration:underline;text-underline-offset:3px;font-weight:600;}
