/* AEM Labs Limited - CSS Module: Announcement Bar */
/* =============================================== */

.announcement-bar {
    background-color: #ffe3e3;
    padding: 4px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    overflow: hidden;
}

.announcement-bar p {
    color: #333;
    height: 20px;
    display: flex;
    align-items: center;
    transform: translateY(0);
    opacity: 1;
    will-change: transform, opacity;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
}

.announcement-bar a {
    color: #333;
    text-decoration: underline;
    margin-left: 5px;
    font-weight: 500;
    text-transform: none;
}

.announcement-bar a:hover {
    text-decoration: underline;
}

.top-right-links a {
    color: #444;
    text-decoration: none;
    margin-left: 15px;
    font-size: 12px;
    font-weight: 600;
}

.top-right-links a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .announcement-bar {
        padding: 4px 12px;
    }

    .announcement-bar p {
        font-size: 10px;
    }

    .top-right-links a {
        font-size: 10px;
        margin-left: 6px;
    }
}

@media (max-width: 768px) {
    .announcement-bar {
        padding: 3px 15px;
        font-size: 12px;
    }

    .announcement-bar p {
        font-size: 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1;
    }

    .top-right-links {
        display: none;
    }
}

@media (max-width: 480px) {
    .announcement-bar {
        display: none;
    }
}