/**
 * Super Speedy Welcome - Promo banner
 *
 * The site menu is position:fixed (5rem tall), and each template clears it
 * with its own top padding. The banner sits in normal flow just below the
 * menu, then pulls the following content back up by the same offset, so the
 * page moves down by exactly the banner's height and every template's own
 * spacing is preserved. Override --ssw-banner-offset if the menu height
 * changes.
 */
.ssw-banner {
    --ssw-banner-offset: 5rem;
    position: relative;
    z-index: 40;
    margin-top: var(--ssw-banner-offset);
    margin-bottom: calc(-1 * var(--ssw-banner-offset));
    background:
        radial-gradient(120% 220% at 0% 0%, rgba(243, 141, 1, 0.22) 0%, rgba(243, 141, 1, 0) 45%),
        linear-gradient(100deg, #24005b 0%, #5425ac 55%, #7f56d9 100%);
    border-bottom: 1px solid rgba(255, 184, 117, 0.35);
    box-shadow: 0 6px 20px rgba(11, 19, 35, 0.45);
    color: #fff;
    font-family: inherit;
}

.ssw-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
}

.ssw-banner-image-link {
    flex-shrink: 0;
    line-height: 0;
}

.ssw-banner-image {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.ssw-banner-message {
    font-size: 1rem;
    line-height: 1.45;
    color: #fff;
}

.ssw-banner-message p {
    margin: 0;
}

.ssw-banner-message strong {
    color: #ffb875;
    font-weight: 700;
}

.ssw-banner-message a {
    color: #ffdcc0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ssw-banner-message a:hover {
    color: #fff;
}

.ssw-banner-button {
    flex-shrink: 0;
    display: inline-block;
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    background: #f38d01;
    color: #1a0d00 !important;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(243, 141, 1, 0.45);
    transition: background-color 0.2s, transform 0.2s;
}

.ssw-banner-button:hover {
    background: #ffb875;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .ssw-banner-inner {
        flex-wrap: wrap;
        gap: 0.6rem 0.9rem;
        padding: 0.7rem 1rem;
    }
    .ssw-banner-image {
        width: 44px;
        height: 44px;
    }
    .ssw-banner-message {
        flex: 1 1 0;
        min-width: 0;
        font-size: 0.9rem;
    }
    .ssw-banner-button {
        flex-basis: 100%;
        text-align: center;
    }
}
