/* Loaded only by the existing free-plan banner on public site pages. */
body.isweb-free-banner-page {
    --isweb-free-banner-height: 50px;
}

/* Keep the final footer content reachable above the fixed banner. */
body.isweb-free-banner-page::after {
    content: "";
    display: block;
    clear: both;
    height: var(--isweb-free-banner-height);
}

.isweb-free-banner {
    position: fixed;
    inset: auto 0 0;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
    height: var(--isweb-free-banner-height);
    margin: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 0;
    background: #1E2126;
    color: #fff;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
}

.isweb-free-banner:hover,
.isweb-free-banner:focus,
.isweb-free-banner:visited {
    color: #fff;
    text-decoration: none;
}

.isweb-free-banner:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
}

.isweb-free-banner > span,
.isweb-free-banner__action > span {
    flex-shrink: 0;
    font: inherit;
    letter-spacing: inherit;
}

.isweb-free-banner .isweb-free-banner__logo {
    display: block;
    width: 50px;
    height: 18px;
    transform: translateY(-2px);
    /* Reuse the original logo silhouette, retaining its orange brand dot. */
    background: linear-gradient(to bottom, #ff5f37 0 24.5%, #fff 24.5% 100%);
    -webkit-mask: url('/file/renew/images/logo.png') center / contain no-repeat;
    mask: url('/file/renew/images/logo.png') center / contain no-repeat;
}

.isweb-free-banner .isweb-free-banner__description--mobile {
    display: none;
}

.isweb-free-banner .isweb-free-banner__divider {
    width: 1px;
    height: 14px;
    background: #bfbfbf;
}

.isweb-free-banner .isweb-free-banner__action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 767px) {
    body.isweb-free-banner-page {
        --isweb-free-banner-height: 54px;
    }

    .isweb-free-banner {
        gap: 6px;
        padding-right: 6px;
        padding-left: 6px;
    }

    .isweb-free-banner .isweb-free-banner__logo {
        width: 38px;
        height: 14px;
    }

    .isweb-free-banner .isweb-free-banner__description--desktop {
        display: none;
    }

    .isweb-free-banner .isweb-free-banner__description--mobile {
        display: inline;
    }
}
