/* Base Notification Box */
.custom-notification-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: clamp(180px, 30vw, 300px);
    max-width: 90vw;
    background-color: rgba(24, 105, 117, 0.9);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px;
}

/* Title and Close Button */
.custom-title-news {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: clamp(12px, 2vw, 20px);
    margin: 5px 10px 0;
}

.custom-title-news h1 {
    font-size: inherit;
    margin: 0;
    color: inherit;
}

.custom-close-btn {
    position: absolute;
    top: 6px;
    right: 10px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: clamp(10px, 2vw, 18px);
    cursor: pointer;
    z-index: 1001;
}

/* Title Area */
.custom-title {
    font-size: clamp(10px, 2vw, 20px);
    color: #2299aa;
    background-color: white;
    text-align: center;
    margin-bottom: 10px;
    padding: 10px 5px;
}

/* Description Text */
.custom-description {
    font-size: clamp(7px, 1.5vw, 15px);
    color: white;
    text-align: center;
    margin: 2px 0 8px;
}

/* Read More Link */
.custom-notification-content {
    text-align: center;
}

.custom-read-more {
    display: inline-block;
    margin: 5px auto 10px auto;
    text-decoration: none;
    color: #0DD6F3;
    font-size: clamp(10px, 2vw, 14px);
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

/* Horizontal Line */
.custom-hr-blurry {
    border: 0;
    height: 2px;
    background-color: #ffffff;
    opacity: 0.6;
    margin: 5px 0;
}

/* Hide on Small Screens */
.blur-hr {
    display: none;
}

/* Slider */
.custom-slider {
    position: relative;
    margin-top: 10px;
    overflow: hidden;
}

.custom-slider-item {
    display: none;
    transition: opacity 0.5s ease-in-out;
}

.custom-slider-item.active {
    display: block;
}

/* Slider Controls */
.custom-slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #D9D9D9;
    width: 100%;
    margin-top: 10px;
}

.custom-control-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #000;
    cursor: pointer;
}

.custom-indicators {
    display: flex;
    gap: 5px;
}

.custom-indicator {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    opacity: 0.5;
}

.custom-indicator.active {
    background-color: #0DD6F3;
    opacity: 1;
}

/* RESPONSIVE BREAKPOINTS */
@media screen and (max-width: 768px) {
    .custom-notification-box {
        bottom: 20px;
        right: 20px;
        width: 223px;
        height: auto;
    }

    .custom-title-news h1 {
        font-size: 14px;
    }

    .custom-close-btn {
        font-size: 13px;
    }

    .custom-title {
        font-size: 15px;
    }

    .custom-description {
        font-size: 10px;
        margin: 2px 0;
    }

    .custom-read-more {
        font-size: 12px;
        margin-bottom: 0;
    }

    .custom-hr-blurry {
        margin: 0;
    }

    .custom-slider-controls {
        display: none;
    }
}

@media screen and (max-width: 320px) {
    .custom-notification-box {
        bottom: 20px;
        right: 20px;
        width: 200px;
        height: auto;
        background-color: #2299aa;
    }

    .custom-title-news h1 {
        font-size: 8px;
    }

    .custom-close-btn {
        font-size: 10px;
    }

    .custom-title {
        font-size: 10px;
        margin-bottom: 5px;
    }

    .custom-description {
        font-size: 7px;
    }

    .custom-read-more {
        font-size: 12px;
        margin-bottom: 0;
    }

    .custom-slider {
        margin-top: 5px;
    }

    .custom-slider-controls {
        display: none;
    }
}

@media screen and (min-width: 1280px) {
    .custom-notification-box {
        bottom: 20px;
    }
}
