/* TeleLive — /ad advertise page (home shell, flat panels) */
body.page-ad .tl-ad {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 22px 18px 56px;
  box-sizing: border-box;
}

body.page-ad .tl-ad-hero {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
body.page-ad .tl-ad-hero .tl-hl-title {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
body.page-ad .tl-ad-hero .tl-hl-title i {
  color: var(--brand-soft, #5280ff);
}
body.page-ad .tl-ad-hero .tl-page-lead {
  margin: 8px 0 0;
  max-width: 54ch;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted, #9ca3af);
}

body.page-ad .tl-ad-body {
  margin: 0 0 28px;
  padding: 18px 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text);
  word-break: break-word;
}
body.page-ad .tl-ad-body p { margin: 0 0 10px; }
body.page-ad .tl-ad-body p:last-child { margin-bottom: 0; }
body.page-ad .tl-ad-body a {
  color: var(--brand-soft, #5280ff);
  text-decoration: underline;
  text-underline-offset: 2px;
}
body.page-ad .tl-ad-body h2,
body.page-ad .tl-ad-body h3,
body.page-ad .tl-ad-body h4 {
  margin: 1.1em 0 0.45em;
  color: #fff;
  font-weight: 800;
  line-height: 1.35;
}
body.page-ad .tl-ad-body ul,
body.page-ad .tl-ad-body ol {
  margin: 0 0 10px;
  padding-inline-start: 1.25rem;
}

body.page-ad .tl-ad-section {
  margin: 0 0 32px;
}
body.page-ad .tl-ad-section__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: none;
}
body.page-ad .tl-ad-section__head .tl-hl-title {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 800;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
body.page-ad .tl-ad-section__head .tl-hl-title i {
  color: var(--brand-soft, #5280ff);
  font-size: 0.95rem;
}
body.page-ad .tl-ad-section__intro {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-muted, #9ca3af);
  max-width: 62ch;
}

/* Placement sample cards */
body.page-ad .tl-ad-svg-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
body.page-ad .tl-ad-svg-card {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  box-shadow: none;
}
body.page-ad .tl-ad-svg-card__preview {
  background: #0a0c12;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
body.page-ad .tl-ad-svg-card__preview img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
body.page-ad .tl-ad-svg-card--tall .tl-ad-svg-card__preview img {
  max-width: 220px;
  max-height: 320px;
  margin: 0 auto;
}
body.page-ad .tl-ad-svg-card--video .tl-ad-svg-card__preview img {
  max-height: 320px;
}
body.page-ad .tl-ad-svg-card--card .tl-ad-svg-card__preview img {
  max-width: 420px;
  margin: 0 auto;
}
body.page-ad .tl-ad-svg-card__body {
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
body.page-ad .tl-ad-svg-card__label {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}
body.page-ad .tl-ad-svg-card__where {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--text-muted, #9ca3af);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
body.page-ad .tl-ad-svg-card__where i {
  margin-top: 4px;
  color: var(--brand-soft, #5280ff);
  flex-shrink: 0;
}

/* Live creative showcase */
body.page-ad .tl-ad-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
body.page-ad .tl-ad-gallery__card {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  box-shadow: none;
}
body.page-ad .tl-ad-gallery__meta {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
body.page-ad .tl-ad-gallery__placement {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brand-soft, #5280ff);
}
body.page-ad .tl-ad-gallery__title {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--text, #e8e8ef);
}
body.page-ad .tl-ad-gallery__imgwrap {
  position: relative;
  background: #0a0c12;
}
body.page-ad .tl-ad-gallery__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 360px;
}
body.page-ad .tl-ad-gallery__badge {
  position: absolute;
  bottom: 10px;
  inset-inline-start: 10px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 650;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] body.page-ad .tl-ad-hero .tl-hl-title,
[data-theme="light"] body.page-ad .tl-ad-section__head .tl-hl-title,
[data-theme="light"] body.page-ad .tl-ad-svg-card__label {
  color: var(--text);
}
[data-theme="light"] body.page-ad .tl-ad-body,
[data-theme="light"] body.page-ad .tl-ad-svg-card,
[data-theme="light"] body.page-ad .tl-ad-gallery__card {
  background: #f8f9fa;
  border-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] body.page-ad .tl-ad-svg-card__preview,
[data-theme="light"] body.page-ad .tl-ad-gallery__imgwrap {
  background: #eef0f4;
}

@media (max-width: 640px) {
  body.page-ad .tl-ad {
    padding: 16px 14px 48px;
  }
  body.page-ad .tl-ad-body {
    padding: 14px 14px;
  }
  body.page-ad .tl-ad-svg-card__preview {
    padding: 10px;
  }
}
