.bgh-ptb-stack {
    position: relative;
    z-index: 99998;
    height: 0;
}

.bgh-premium-top-banner {
    display: none;
    position: fixed;
    top: 0;
    z-index: 99998;
    width: 100%;
    height: var(--bgh-ptb-height-desktop, 40px);
    min-height: var(--bgh-ptb-height-desktop, 40px);
    max-height: var(--bgh-ptb-height-desktop, 40px);
    overflow: hidden;
    background: var(--bgh-ptb-bg, #b39c67);
    color: var(--bgh-ptb-text, #293838);
    box-sizing: border-box;
    font-family: inherit;
    font-size: var(--bgh-ptb-font-desktop, 13px);
    line-height: 1.25;
    letter-spacing: 0.05em;
    text-transform: none;
}

body.admin-bar .bgh-premium-top-banner {
    top: 30px;
}

.bgh-premium-top-banner.is-live {
    display: none;
}

html.bgh-ptb-active-open .bgh-premium-top-banner.is-live {
    display: flex;
}

html.bgh-ptb-active-closed .bgh-premium-top-banner.is-live {
    display: none !important;
}

.bgh-premium-top-banner.is-admin-preview {
    display: none;
}

.bgh-premium-top-banner.is-admin-preview.is-active-banner {
    display: flex;
}

/* GoodLayers transparent header offset.
   Normal hero/transparent header should move down by the banner height, not by margin-top. */
html.bgh-ptb-active-open body.bgh-ptb-has-live-banner.bgh-ptb-banner-visible .infinite-header-background-transparent,
body.bgh-ptb-has-admin-preview-banner.bgh-ptb-banner-visible.admin-bar .infinite-header-background-transparent {
    top: var(--bgh-ptb-active-height-desktop, 40px) !important;
}

/* GoodLayers sticky/fixed header offset.
   Apply only after GoodLayers has turned the header into the sticky animated state. */
html.bgh-ptb-active-open body.bgh-ptb-has-live-banner.bgh-ptb-banner-visible.admin-bar header.infinite-fixed-navigation.infinite-animate-fixed-navigation,
html.bgh-ptb-active-open body.bgh-ptb-has-live-banner.bgh-ptb-banner-visible.admin-bar .infinite-fixed-navigation.infinite-animate-fixed-navigation,
body.bgh-ptb-has-admin-preview-banner.bgh-ptb-banner-visible.admin-bar header.infinite-fixed-navigation.infinite-animate-fixed-navigation,
body.bgh-ptb-has-admin-preview-banner.bgh-ptb-banner-visible.admin-bar .infinite-fixed-navigation.infinite-animate-fixed-navigation {
    margin-top: calc(var(--bgh-ptb-active-height-desktop, 40px) + 30px) !important;
}

html.bgh-ptb-active-open body.bgh-ptb-has-live-banner.bgh-ptb-banner-visible:not(.admin-bar) header.infinite-fixed-navigation.infinite-animate-fixed-navigation,
html.bgh-ptb-active-open body.bgh-ptb-has-live-banner.bgh-ptb-banner-visible:not(.admin-bar) .infinite-fixed-navigation.infinite-animate-fixed-navigation {
    margin-top: var(--bgh-ptb-active-height-desktop, 40px) !important;
}

.bgh-ptb-preview-badge {
    position: absolute;
    left: 12px;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(41, 56, 56, 0.92);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    pointer-events: none;
}

.bgh-ptb-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0 44px;
    box-sizing: border-box;
}

.bgh-ptb-icon {
    flex: 0 0 auto;
    color: var(--bgh-ptb-text, #293838);
    font-size: 1.5em;
    line-height: 1;
}

.bgh-ptb-message {
    min-width: 0;
    max-width: 1180px;
    overflow: hidden;
    text-align: center;
    font-weight: 500;
}

.bgh-ptb-content {
    overflow: hidden;
}

.bgh-ptb-content p {
    margin: 0;
    padding: 0;
}

.bgh-ptb-content strong,
.bgh-ptb-content b {
    font-family: Montserrat;
    font-weight: 800;
    letter-spacing: .04em;
}

.bgh-ptb-content-desktop {
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.bgh-ptb-content-tablet,
.bgh-ptb-content-mobile {
    display: none;
}

.bgh-ptb-main-link,
.bgh-premium-top-banner a {
    color: var(--bgh-ptb-link, #293838);
    text-decoration: underline;
    /*text-underline-offset: 3px;*/
    /*text-decoration-thickness: 1px;*/
}

.bgh-ptb-main-link {
    display: block;
    min-width: 0;
    max-width: 100%;
    color: var(--bgh-ptb-link, #293838);
    text-decoration: none;
}

.bgh-ptb-main-link:hover,
.bgh-premium-top-banner a:hover {
    color: var(--bgh-ptb-link, #293838);
    opacity: 0.86;
}

.bgh-ptb-close {
    position: absolute;
    right: 16px;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--bgh-ptb-close, #293838);
    cursor: pointer;
    font: inherit;
    font-size: 30px;
    line-height: 1;
    appearance: none;
}

.bgh-ptb-close:hover,
.bgh-ptb-close:focus {
    background: rgba(255, 255, 255, 0.18);
    outline: none;
}

.bgh-ptb-close:focus-visible {
    box-shadow: 0 0 0 2px currentColor;
}

@media (max-width: 1024px) and (min-width: 768px) {
    html.bgh-ptb-active-open body.bgh-ptb-has-live-banner.bgh-ptb-banner-visible .infinite-header-background-transparent,
    body.bgh-ptb-has-admin-preview-banner.bgh-ptb-banner-visible.admin-bar .infinite-header-background-transparent {
        top: var(--bgh-ptb-active-height-tablet, 46px) !important;
    }

    html.bgh-ptb-active-open body.bgh-ptb-has-live-banner.bgh-ptb-banner-visible.admin-bar header.infinite-fixed-navigation.infinite-animate-fixed-navigation,
    html.bgh-ptb-active-open body.bgh-ptb-has-live-banner.bgh-ptb-banner-visible.admin-bar .infinite-fixed-navigation.infinite-animate-fixed-navigation,
    body.bgh-ptb-has-admin-preview-banner.bgh-ptb-banner-visible.admin-bar header.infinite-fixed-navigation.infinite-animate-fixed-navigation,
    body.bgh-ptb-has-admin-preview-banner.bgh-ptb-banner-visible.admin-bar .infinite-fixed-navigation.infinite-animate-fixed-navigation {
        margin-top: calc(var(--bgh-ptb-active-height-tablet, 46px) + 30px) !important;
    }

    html.bgh-ptb-active-open body.bgh-ptb-has-live-banner.bgh-ptb-banner-visible:not(.admin-bar) header.infinite-fixed-navigation.infinite-animate-fixed-navigation,
    html.bgh-ptb-active-open body.bgh-ptb-has-live-banner.bgh-ptb-banner-visible:not(.admin-bar) .infinite-fixed-navigation.infinite-animate-fixed-navigation {
        margin-top: var(--bgh-ptb-active-height-tablet, 46px) !important;
    }

    .bgh-premium-top-banner {
        height: var(--bgh-ptb-height-tablet, 46px);
        min-height: var(--bgh-ptb-height-tablet, 46px);
        max-height: var(--bgh-ptb-height-tablet, 46px);
        font-size: var(--bgh-ptb-font-tablet, 12px);
        letter-spacing: 0.04em;
    }

    .bgh-ptb-inner {
        padding: 0 42px;
    }

    .bgh-ptb-content-desktop,
    .bgh-ptb-content-mobile {
        display: none;
    }

    .bgh-ptb-content-tablet {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        white-space: normal;
    }
}

@media (max-width: 767px) {
    body.admin-bar .bgh-premium-top-banner {
        top: 46px;
    }

    html.bgh-ptb-active-open body.bgh-ptb-has-live-banner.bgh-ptb-banner-visible .infinite-mobile-header-wrap,
    body.bgh-ptb-has-admin-preview-banner.bgh-ptb-banner-visible.admin-bar .infinite-mobile-header-wrap {
        margin-top: var(--bgh-ptb-active-height-mobile, 58px) !important;
    }

    html.bgh-ptb-active-open body.bgh-ptb-has-live-banner.bgh-ptb-banner-visible .infinite-mobile-header.infinite-fixed-navigation,
    body.bgh-ptb-has-admin-preview-banner.bgh-ptb-banner-visible.admin-bar .infinite-mobile-header.infinite-fixed-navigation {
        padding-top: var(--bgh-ptb-active-height-mobile, 58px) !important;
    }

    html.bgh-ptb-active-open body.bgh-ptb-has-live-banner.bgh-ptb-banner-visible .infinite-header-background-transparent,
    body.bgh-ptb-has-admin-preview-banner.bgh-ptb-banner-visible.admin-bar .infinite-header-background-transparent {
        top: var(--bgh-ptb-active-height-mobile, 58px) !important;
    }

    html.bgh-ptb-active-open body.bgh-ptb-has-live-banner.bgh-ptb-banner-visible.admin-bar header.infinite-fixed-navigation.infinite-animate-fixed-navigation,
    html.bgh-ptb-active-open body.bgh-ptb-has-live-banner.bgh-ptb-banner-visible.admin-bar .infinite-fixed-navigation.infinite-animate-fixed-navigation,
    body.bgh-ptb-has-admin-preview-banner.bgh-ptb-banner-visible.admin-bar header.infinite-fixed-navigation.infinite-animate-fixed-navigation,
    body.bgh-ptb-has-admin-preview-banner.bgh-ptb-banner-visible.admin-bar .infinite-fixed-navigation.infinite-animate-fixed-navigation {
        margin-top: calc(var(--bgh-ptb-active-height-mobile, 58px) + 46px) !important;
    }

    html.bgh-ptb-active-open body.bgh-ptb-has-live-banner.bgh-ptb-banner-visible:not(.admin-bar) header.infinite-fixed-navigation.infinite-animate-fixed-navigation,
    html.bgh-ptb-active-open body.bgh-ptb-has-live-banner.bgh-ptb-banner-visible:not(.admin-bar) .infinite-fixed-navigation.infinite-animate-fixed-navigation {
        margin-top: var(--bgh-ptb-active-height-mobile, 58px) !important;
    }

    .bgh-premium-top-banner {
        height: var(--bgh-ptb-height-mobile, 58px);
        min-height: var(--bgh-ptb-height-mobile, 58px);
        max-height: var(--bgh-ptb-height-mobile, 58px);
        font-size: var(--bgh-ptb-font-mobile, 12px);
        letter-spacing: 0.025em;
        line-height: 1.22;
    }

    .bgh-ptb-inner {
        gap: 7px;
        justify-content: center;
        padding: 0 38px;
    }

    .bgh-ptb-icon {
        display: none;
    }

    .bgh-ptb-message {
        width: 100%;
        text-align: center;
    }

    .bgh-ptb-content-desktop,
    .bgh-ptb-content-tablet {
        display: none;
    }

    .bgh-ptb-content-mobile {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        white-space: normal;
        text-align: center;
    }

    /*.bgh-ptb-content-mobile p:first-child::before {*/
    /*    content: '♡';*/
    /*    display: inline-block;*/
    /*    margin-right: 6px;*/
    /*    margin-top: -3px;*/
    /*    color: var(--bgh-ptb-text, #293838);*/
    /*    font-size: 1.5em;*/
    /*    line-height: 1;*/
    /*    vertical-align: middle;*/
    /*}*/

    .bgh-premium-top-banner.is-admin-preview.is-active-banner .bgh-ptb-inner {
        padding-left: 84px;
    }

    .bgh-ptb-preview-badge {
        left: 8px;
        height: 18px;
        padding: 0 6px;
        font-size: 9px;
        letter-spacing: 0.05em;
    }

    .bgh-ptb-close {
        right: 9px;
        width: 28px;
        height: 28px;
        font-size: 22px;
    }
}

@media screen and (max-width: 782px) {
    body.admin-bar .bgh-premium-top-banner {
        top: 46px;
    }
}
