/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

.c-news-banner__link {
  display: inline-block;
  animation: pulse-scale 2.5s ease-in-out infinite;
}

@keyframes pulse-scale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.c-news-banner {
    position: fixed;
    top: 50px;
    left: 100px;
    right: 100px;
    width: calc(100% - 200px);
    background-color: #fff;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.08);
    z-index: 99999;
    padding: 16px 0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.c-news-banner--sticky {
    top: 10px;
}
@keyframes glowing {
    from {
        box-shadow: 0px 0px 20px rgba(227, 10, 118, 0);
    }
    to {
        box-shadow: 0px 0px 20px rgba(227, 10, 118, 0.3);
    }
}
.c-news-banner__container {
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.c-news-banner__content {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
}
.c-news-banner__badge {
    display: inline-block;
    padding: 4px 8px;
    color: #fff;
    background-color: #54d4ca;
    font-size: 13px;
    font-weight: 700;
    border-radius: 2px;
    white-space: nowrap;
}
.c-news-banner__title {
    color: #001664;
    font-size: 20px;
    margin: 0;
    white-space: nowrap;
}
.c-news-banner__text {
    color: #4b4b4b;
    font-family: "Strawford", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}
.c-news-banner__link {
    display: flex;
    align-items: center;
    color: #54d4ca;
    font-family: "Object Sans", sans-serif;
    font-weight: 700;
    transition: 0.3s ease;
    white-space: nowrap;
}
.c-news-banner__link:hover {
    color: #b51e69;
}
.c-news-banner__link .icon {
    width: 16px;
    height: 16px;
    margin-left: 8px;
}
.c-news-banner__close {
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    color: #4b4b4b;
    transition: color 0.3s ease;
    margin-left: 24px;
}
.c-news-banner__close:hover {
    color: #001664;
}
.c-news-banner__close .icon {
    width: 100%;
    height: 100%;
    fill: currentColor;
}
@media screen and (min-width: 1280px) {
    .c-sidebar {
        top: 90px !important;
    }
}
@media screen and (max-width: 768px) {
    .c-news-banner {
        top: auto;
        bottom: 16px;
        left: 16px;
        right: 16px;
        width: calc(100% - 32px);
    }
    .c-news-banner__content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .c-news-banner__container {
        padding: 16px;
    }
    .c-news-banner__text {
        margin: 8px 0;
    }
    .c-news-banner__close {
        position: absolute;
        top: 16px;
        right: 16px;
        margin-left: 0;
    }
}

