.hp-sticky-banner {
    direction: ltr; 
    font-size: 13px;
    font-weight: 400;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 2.46153846;
    position: fixed;
    display: flex;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 600px;
    z-index: 99999;
    background: #1d2327;
    outline: 1px solid transparent;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.hp-sticky-banner__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.hp-sticky-banner__link {
    display: inline-block;
    padding: 5px 15px;
    margin-left: 15px;
    background-color: rgba(255, 255, 255, 0.2);
    color: inherit !important;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.hp-sticky-banner__link:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: inherit !important;
    text-decoration: none;
}

.hp-sticky-banner__close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.hp-sticky-banner__close:hover {
    opacity: 1;
}

/* Fix navigation issues by adjusting margin instead of padding */
.has-hp-sticky-banner {
    margin-top: 46px;
}

/* Adjust for WordPress admin bar */
.admin-bar .hp-sticky-banner {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .hp-sticky-banner {
        top: 46px;
    }
    
    .has-hp-sticky-banner {
        margin-top: 80px;
    }
}

@media (max-width: 768px) {
    .hp-sticky-banner__content {
        flex-direction: column;
        text-align: center;
        padding: 10px 20px;
    }
    
    .hp-sticky-banner__link {
        margin-left: 0;
        margin-top: 10px;
    }
}