/**
 * Studioworx_PromoBanner — frontend styles
 *
 * Matches the existing orange banner (#e8601c / similar) visible in the
 * client's screenshot. The tier CSS classes allow per-tier colour overrides
 * if needed in future.
 */

/* ── Container (replaces the static orange bar) ──────────────────────── */
.promo-banner-container {
    width: 100%;
}

.promo-banner-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 10px 20px;
    background-color: #e8601c;   /* orange — matches client screenshot */
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    flex-wrap: wrap;
    min-height: 42px;
    line-height: 1.4;
    /* Smooth fade when tier changes */
    transition: background-color 0.4s ease, opacity 0.3s ease;
}

/* ── Tier colour variants (optional, tweak as needed) ────────────────── */
.promo-banner-tier1 { background-color: #e8601c; }   /* default orange   */
.promo-banner-tier2 { background-color: #c95210; }   /* slightly deeper  */
.promo-banner-tier3 { background-color: #27863a; }   /* green — success! */

/* ── Icon ─────────────────────────────────────────────────────────────── */
.promo-banner-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ── Message ──────────────────────────────────────────────────────────── */
.promo-banner-message {
    display: inline;
}

.promo-banner-message strong {
    font-weight: 700;
}

/* ── "Learn more" link ────────────────────────────────────────────────── */
.promo-banner-link {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 700;
    white-space: nowrap;
    margin-left: 4px;
}

.promo-banner-link:hover,
.promo-banner-link:focus {
    color: #ffe8d6;
    text-decoration: none;
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .promo-banner-wrap {
        font-size: 0.85rem;
        padding: 8px 14px;
        flex-direction: column;
        gap: 0.25rem;
    }
}
