/* ===============================================
   Announcements Carousel - Premium Full Width Design
   =============================================== */

.announcements-carousel-section {
    background: linear-gradient(135deg, #d60046 0%, #aa0033 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
    /* Full width design */
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Subtle pattern overlay */
.announcements-carousel-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.08) 0px, transparent 150px),
        radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.05) 0px, transparent 150px);
    pointer-events: none;
}

.announcement-card {
    padding: 16px 0;
    position: relative;
    transition: all 0.3s ease;
}

/* Container contraint logic handles the inner content centering */

.announcement-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.announcement-icon i {
    font-size: 22px;
    color: white;
}

.announcement-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.announcement-title {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.25;
    letter-spacing: -0.2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.announcement-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 500;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    font-size: 14px;
    opacity: 0.85;
}

.meta-deadline {
    background: rgba(0, 0, 0, 0.15);
    padding: 3px 8px;
    border-radius: 4px;
}

.meta-divider {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

.btn-announcement-details {
    background: white;
    color: #c2003a;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid white;
}

.btn-announcement-details:hover {
    background: transparent;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.btn-announcement-details i {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.btn-announcement-details:hover i {
    transform: translateX(3px);
}

/* Indicadores personalizados */
.carousel-indicators-custom {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.carousel-indicators-custom button {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators-custom button.active,
.carousel-indicators-custom button:hover {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Controles del carousel */
.announcement-control {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
    opacity: 0.8;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
}

.carousel-control-prev.announcement-control {
    left: 50%;
    margin-left: -600px;
    /* Align with start of 1200px container */
}

.carousel-control-next.announcement-control {
    right: 50%;
    margin-right: -600px;
    /* Align with end of 1200px container */
}

@media (max-width: 1250px) {
    .carousel-control-prev.announcement-control {
        left: 20px;
        margin-left: 0;
    }

    .carousel-control-next.announcement-control {
        right: 20px;
        margin-right: 0;
    }
}

.announcement-control:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
    opacity: 1;
}

.announcement-control i {
    font-size: 16px;
    color: white;
}