/* =========================================
   ETERNAL ELEGANCE WEDDINGS
   ANNOUNCEMENT BAR
========================================= */


/* =========================================
   1. ANNOUNCEMENT BAR CONTAINER
========================================= */

.announcement-bar {

    width: 100%;

    min-height: 39px;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    padding: 7px 45px;

    background:
        linear-gradient(100deg,
            #401332,
            #601D49,
            #792B59);

    color: var(--gold);

    text-align: center;

    font-family: var(--font-body);

    font-size: 12px;

    letter-spacing: 1.1px;

    font-weight: 500;

    z-index: 1001;

}


/* =========================================
   2. ANNOUNCEMENT CONTENT
========================================= */

.announcement-content {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 8px;

}


.announcement-content p {

    color: var(--gold);

    margin: 0;

}


.announcement-content span {

    color: var(--rose);

    font-size: 15px;

}


/* =========================================
   3. ANNOUNCEMENT HIGHLIGHT
========================================= */

.announcement-highlight {

    color: #FFF0DC;

    font-weight: 700;

}


/* =========================================
   4. CLOSE BUTTON
========================================= */

.announcement-close {

    position: absolute;

    right: 20px;

    top: 50%;

    transform: translateY(-50%);

    width: 25px;

    height: 25px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: none;

    background: transparent;

    color: var(--gold);

    font-size: 20px;

    line-height: 1;

    cursor: pointer;

    transition:
        color var(--transition),
        transform var(--transition);

}


.announcement-close:hover {

    color: var(--rose);

    transform: translateY(-50%) rotate(90deg);

}


/* =========================================
   5. RESPONSIVE DESIGN
========================================= */

@media (max-width: 768px) {

    .announcement-bar {

        min-height: 42px;

        padding: 8px 38px 8px 12px;

        font-size: 10px;

        letter-spacing: 0.6px;

    }


    .announcement-content {

        gap: 5px;

    }


    .announcement-content span {

        font-size: 12px;

    }


    .announcement-close {

        right: 8px;

        width: 23px;

        height: 23px;

        font-size: 18px;

    }

}


@media (max-width: 380px) {

    .announcement-bar {

        font-size: 9px;

        letter-spacing: 0.3px;

    }

}