/* =========================================
   Announcement Banner - Clean MVP Layout
========================================= */

.ab-banner {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 9999;
    font-size: 16px;
    line-height: 1.5;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.ab-banner:not(.ab-hidden) {
    opacity: 1;
}

/* Top / Bottom */
.ab-top { top: 0; }
.ab-bottom { bottom: 0; }

/* Admin bar fix */
body.admin-bar .ab-top { top: 32px; }
@media (max-width:782px){
    body.admin-bar .ab-top { top: 46px; }
}

/* Inner container */
.ab-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Content (RED area - Center) */
.ab-content {
    text-align: center;
}

/* CTA wrapper (YELLOW area - Right of content) */
.ab-cta {
    margin-left: 20px;
}

.ab-cta a {
    padding: 6px 14px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
}

/* Close button (BLUE area - Extreme right) */
.ab-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.ab-close:hover {
    opacity: 1;
}

/* Hide animation */
.ab-banner.ab-hidden {
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.3s ease;
}

.ab-bottom.ab-hidden {
    transform: translateY(100%);
}