/* ===================================
   IRAN CRISIS RESPONSE INITIATIVE
   Banner, Report Card Modifiers, Hero Overlay
   =================================== */

/* ===== CRISIS ALERT BANNER ===== */

.crisis-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 101;
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 60%, #c0392b 100%);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    padding: 0.625rem 0;
    box-shadow: 0 2px 12px rgba(192, 57, 43, 0.35);
}

.crisis-banner--hidden {
    display: none !important;
}

.crisis-banner__content {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.crisis-banner__icon {
    font-size: 1.25rem;
    color: #ffeaa7;
    flex-shrink: 0;
    animation: crisisPulse 2s ease-in-out infinite;
}

@keyframes crisisPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.crisis-banner__text {
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0;
}

.crisis-banner__text strong {
    color: #ffeaa7;
}

.crisis-banner__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    color: #c0392b;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.crisis-banner__cta:hover {
    background: #ffeaa7;
    color: #922b21;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.crisis-banner__cta i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.crisis-banner__cta:hover i {
    transform: translateX(3px);
}

.crisis-banner__close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.25rem;
    flex-shrink: 0;
    transition: color 0.3s ease;
    line-height: 1;
}

.crisis-banner__close:hover {
    color: #ffffff;
}

/* Push header down when banner is visible */
.has-crisis-banner .header {
    top: 44px;
}

/* ===== RESPONSIVE: Banner ===== */

@media screen and (max-width: 991px) {
    .has-crisis-banner .header {
        top: 44px;
    }
}

@media screen and (max-width: 768px) {
    .crisis-banner {
        padding: 0.5rem 0;
    }

    .crisis-banner__content {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
        text-align: center;
    }

    .crisis-banner__text {
        font-size: 0.8rem;
        flex-basis: calc(100% - 3rem);
    }

    .crisis-banner__cta {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }

    .has-crisis-banner .header {
        top: 80px;
    }
}

@media screen and (max-width: 480px) {
    .crisis-banner__content {
        padding: 0 1rem;
    }

    .crisis-banner__cta {
        width: 100%;
        justify-content: center;
    }

    .has-crisis-banner .header {
        top: 110px;
    }
}

/* ===== HERO SLIDE CRISIS OVERLAY ===== */

.hero-slide__overlay--crisis {
    background: linear-gradient(
        135deg,
        rgba(192, 57, 43, 0.7) 0%,
        rgba(231, 76, 60, 0.55) 50%,
        rgba(192, 57, 43, 0.65) 100%
    );
}

/* ===== CRISIS REPORT CARD MODIFIERS ===== */

.report-card--featured-crisis {
    position: relative;
    border: 2px solid rgba(192, 57, 43, 0.2);
}

.report-card--featured-crisis::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c0392b, #e74c3c, #c0392b);
    border-radius: 12px 12px 0 0;
    transform: scaleX(1);
}

.report-card__badge--crisis {
    color: #c0392b;
    border: 1px solid rgba(192, 57, 43, 0.25);
    background: rgba(192, 57, 43, 0.08);
}

.report-card__link--crisis {
    color: #c0392b;
    font-weight: 600;
    background: rgba(192, 57, 43, 0.05);
}

.report-card__link--crisis:hover {
    background: rgba(192, 57, 43, 0.12);
    gap: 0.75rem;
}
