/* whitelabel-live: sub-agency white-label sites (screens/whitelabel-live.js). Class prefix "wl-". Live site only.
   The brand colors arrive as CSS variables set on <html class="wl"> (--purple…, --midnight…, --gold…); the rules below cover the
   spots the base stylesheet hard-codes. */

/* ---------- colors the base stylesheet hard-codes ---------- */
html.wl .btn--primary { background: linear-gradient(180deg, var(--purple-500) 0%, var(--purple) 100%); border-color: var(--purple-600); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .25), 0 8px 22px -10px var(--purple); }
html.wl .btn--primary:hover { background: linear-gradient(180deg, var(--purple) 0%, var(--purple-600) 100%); }
html.wl .band--midnight, html.wl .pubfoot { background-color: var(--midnight); background-image: radial-gradient(70% 90% at 85% 20%, color-mix(in srgb, var(--purple) 45%, transparent) 0%, transparent 60%), linear-gradient(160deg, var(--midnight-3) 0%, var(--midnight) 70%); }
html.wl .live-splash { background: var(--midnight); }

/* ---------- the sub-agency's logo ---------- */
.brand__logo--wl { height: 46px; width: auto; max-width: 220px; object-fit: contain; }
html.wl .pubhead__brand .brand__logo--wl, html.wl .pubhead:not(.is-solid) .pubhead__brand .brand__logo--wl { height: 46px; margin: 0; max-width: 200px; }
html.wl .pubfoot .brand__logo--wl { height: 52px; max-width: 240px; }
html.wl .pubhead:not(.is-solid) .brand__logo--wl { background: rgba(255, 255, 255, .94); border-radius: 10px; padding: 5px 10px; }
.wl-wordmark { font-family: var(--display, inherit); font-weight: 700; font-size: 22px; letter-spacing: -.01em; line-height: 1.1; color: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.pubfoot .wl-wordmark { color: #fff; }

/* ---------- storefront ---------- */
.wl-hero { padding-top: calc(var(--pubhead-h, 76px) + 56px); padding-bottom: 72px; }
.wl-hero__logo { display: block; margin: 0 auto 18px; max-height: 96px; max-width: 280px; object-fit: contain; background: rgba(255, 255, 255, .96); padding: 10px 18px; border-radius: 14px; }
.wl-about { white-space: pre-line; }
.wl-contactrow { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: center; margin-top: 12px; }
.wl-contactrow a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; overflow-wrap: anywhere; }
.pubfoot__contact a { overflow-wrap: anywhere; }
.wl-processor { margin: 6px 0 0; opacity: .8; }
.pubfoot .wl-processor { color: rgba(255, 255, 255, .7); }

/* ---------- brand tab + owner preview ---------- */
.wl-color { padding: 4px; height: 44px; cursor: pointer; }
#wl-preview { position: fixed; z-index: 200; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 999px; background: var(--midnight); color: #fff; font-size: 13px; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .55); max-width: calc(100vw - 24px); }
#wl-preview span { display: inline-flex; align-items: center; gap: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#wl-preview button { border: 0; border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 13px; cursor: pointer; background: #fff; color: var(--ink, #1a1230); }

@media (max-width: 640px) {
  .wl-hero { padding-top: calc(var(--pubhead-h, 64px) + 36px); padding-bottom: 48px; }
  .wl-wordmark { font-size: 18px; max-width: 150px; }
  html.wl .pubhead__brand .brand__logo--wl, html.wl .pubhead:not(.is-solid) .pubhead__brand .brand__logo--wl { height: 38px; max-width: 150px; }
}
