/* Sponsored ad creatives (image / banner / video) on public pages. */
.sp-creative { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sp-media { position: relative; display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--border, #e6ebf3); background: var(--bg-soft, #f8fafc); line-height: 0; }
.sp-media img, .sp-media video { width: 100%; height: auto; max-height: 260px; object-fit: cover; display: block; }
.sp-badge { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: linear-gradient(135deg, #fff1e0, #ffe0b8); color: #a44a00; border: 1px solid #f6b26b; font: 700 10px/1 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-transform: uppercase; letter-spacing: .06em; line-height: 1; }
[data-theme="dark"] .sp-badge { background: #412a12; color: #fdba74; border-color: #7c4a1e; }
.sp-copy { display: grid; gap: 4px; min-width: 0; }
.sp-headline { margin: 0; font: 700 15px/1.3 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text, #0f172a); overflow-wrap: anywhere; }
.sp-body { margin: 0; font-size: 13px; color: var(--text-2, #475569); overflow-wrap: anywhere; }
.sp-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: linear-gradient(135deg, #ff6b00, #e05a00); color: #fff; font: 600 13px/1 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; box-shadow: 0 8px 18px rgba(255, 107, 0, .22); width: fit-content; }
.sp-cta:hover { transform: translateY(-1px); }

/* Hero banner variant: wide, sits under the homepage hero. */
.sp-hero { margin: 0 0 26px; }
.sp-hero .sp-media img, .sp-hero .sp-media video { max-height: 320px; }
.sp-hero .sp-headline { font-size: 19px; }
.sp-hero .sp-body { font-size: 14px; }

/* Side variant: compact block on the clinic booking page. */
.sp-side { padding: 14px; border: 1px solid #f6b26b; border-radius: 16px; background: var(--surface, #fff); box-shadow: 0 10px 24px rgba(255, 107, 0, .1); }
[data-theme="dark"] .sp-side { border-color: #7c4a1e; }
.sp-side .sp-media img, .sp-side .sp-media video { max-height: 180px; }
.sp-side .sp-cta { width: 100%; }
.sp-side-label { display: flex; align-items: center; gap: 7px; font: 700 10px/1 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-transform: uppercase; letter-spacing: .08em; color: #a44a00; margin-bottom: 4px; }
[data-theme="dark"] .sp-side-label { color: #fdba74; }

@media (max-width: 640px) {
    .sp-media img, .sp-media video { max-height: 200px; }
    .sp-hero .sp-media img, .sp-hero .sp-media video { max-height: 220px; }
    .sp-cta { width: 100%; }
}
