/* ==========================================================================
   Enterprise hero (centred logo, slogan, name) and floating category bar
   ========================================================================== */

/* No slider arrows */
#revolution-slider .tparrows,
.tparrows {
    display: none !important;
}

/* ---------- hero ---------- */
#section-slider {
    position: relative;
}

.ent-banner {
    position: absolute;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    text-align: center;
    pointer-events: none;
}

.ent-banner-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    pointer-events: auto;
}

.ent-banner-logo {
    display: block;
    width: auto;
    max-width: 100px;
    height: 40px;
    margin-bottom: clamp(14px, 3vh, 28px);
    object-fit: contain;
}

.ent-banner-slogan {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.5;
}

.ent-banner-sep {
    display: block;
    width: 100px;
    max-width: 100%;
    margin: clamp(8px, 1.6vh, 16px) auto;
}

.ent-banner-title {
    margin: 0;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 3rem !important;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: .5px;
    text-transform: none;
    overflow-wrap: anywhere;
}

.ent-banner-title::before,
.ent-banner-title::after {
    content: none !important;
    display: none !important;
}

.ent-banner-down {
    margin-top: clamp(18px, 4vh, 40px);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    text-decoration: none;
}

@media (max-width: 767px) {
    .ent-banner-slogan { font-size: .95rem; }
    .ent-banner-title { font-size: 2.2rem !important; }
}

/* ---------- sticky categories: dark grey floating pill ---------- */
#anchor.sticky {
    display: block;
    position: fixed;
    top: 12px;
    left: 0;
    width: 100%;
    height: auto;
    padding: 0 12px;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    pointer-events: none;
    z-index: 9998;
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
}

#anchor.sticky.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

#anchor.sticky .cat-sticky {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    height: auto;
    max-height: none;
    max-width: 720px;
    margin: 0 auto;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 16px;
    background: rgba(40, 43, 47, .94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .4);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
}

#anchor.sticky .cat-sticky::-webkit-scrollbar {
    display: none;
}

#anchor.sticky .cat-sticky .cat-sticky-block {
    flex: 0 0 auto;
    display: block;
    float: none;
    width: 74px;
    height: auto;
    padding: 8px 4px 6px;
    border-radius: 12px;
    text-align: center;
    transition: background-color .2s ease, box-shadow .2s ease;
}

#anchor.sticky .cat-sticky .cat-sticky-block.active {
    background: #18191b;
    padding: 10px;
    /* box-shadow: 0 0 0 2px var(--primary-color, #e3c086); */
}

#anchor.sticky .cat-sticky .cat-sticky-block a {
    display: block;
    text-decoration: none;
}

#anchor.sticky .cat-sticky .cat-sticky-block img {
    display: block;
    width: 52px;
    height: 52px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 10px;
    object-fit: cover;
    background: #1e2023;
    transform: none;
    cursor: pointer;
}

#anchor.sticky .cat-sticky .cat-sticky-block p {
    margin: 6px 0 0;
    padding: 0;
    color: #f2f2f0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
}

#anchor.sticky .cat-sticky .cat-sticky-block.active p {
    color: var(--primary-color, #e3c086);
}

/* ---------- category photo: full-width banner above each menu section on mobile ---------- */
@media (max-width: 991.98px) {
    .enterprise-menu-section {
        display: flex;
        flex-direction: column;
        padding-top: 0;
    }

    .enterprise-menu-section > .image-container {
        order: -1;
        position: relative;
        width: 100%;
        max-width: 100%;
        flex: 0 0 auto;
        height: var(--cat-img-h, 300px) !important;
        margin: 0 0 28px;
        padding: 0;
        overflow: hidden;
    }

    .enterprise-menu-section > .image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
