/* =====================================================================
   Ongoing Operations Banner
   ===================================================================== */

.ongoing-operations-section {
    position: relative;
    overflow: hidden;
}

.ongoing-banner-wrapper {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 48px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(197, 168, 128, 0.2);
}

.ongoing-banner-wrapper::after {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgb(197 168 128 / 8%);
    pointer-events: none;
}

/* --- Left Column: Content --- */
.ongoing-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Badges */
.ongoing-badges {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ongoing-deal-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(197, 168, 128, 0.4);
}

.pulse-badge {
    background: rgba(197, 168, 128, 0.15);
    color: #8a6c2a;
    border-color: rgba(197, 168, 128, 0.3);
}

.role-badge {
    background: #f0f4f8; /* Light blue-ish grey */
    color: var(--primary-color);
    border-color: #e2e8f0;
}

/* Pulse animation */
.pulse-indicator {
    width: 8px;
    height: 8px;
    background-color: #8a6c2a;
    border-radius: 50%;
    position: relative;
}

.pulse-indicator::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background-color: #8a6c2a;
    opacity: 0.5;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.5); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* Brand */
.ongoing-brand {
    margin-top: 12px;
}

.ongoing-brand img {
    height: 60px;
    max-width: 100%;
    object-fit: contain;
}

/* Title */
.ongoing-title {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    line-height: 1.4;
    margin: 0;
}

/* Status Badge */
.ongoing-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #e6f6ee; /* Light green */
    color: #0d8344; /* Dark green */
    border: 1px solid #b3e6cd;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    align-self: flex-start;
}

.ongoing-status-badge i {
    font-size: 1.1rem;
}

/* L'Essentiel Card */
.essentiel-card {
    background: #ffffff;
    border: 1px solid rgba(13, 27, 42, 0.08);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-top: 8px;
}

.essentiel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(13, 27, 42, 0.08);
    padding-bottom: 12px;
}

.essentiel-header i {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.essentiel-header h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.fact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 12px;
    border-bottom: 1px solid rgba(13, 27, 42, 0.05);
}

.fact-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.fact-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.fact-value {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 700;
    text-align: right;
}

/* Actions */
.ongoing-actions {
    margin-top: 12px;
}

.actions-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.actions-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.action-btn:hover {
    transform: translateX(8px);
    color: var(--accent-gold);
}

.action-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: #fbf9f6; /* Very light gold tint */
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background-color 0.2s ease;
}

.action-btn:hover .action-icon-wrapper {
    background-color: rgba(197, 168, 128, 0.15);
}

/* --- Right Column: Visual --- */
.ongoing-visual {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ongoing-poster {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .ongoing-banner-wrapper {
        grid-template-columns: 1fr;
        padding: 32px;
        gap: 32px;
    }
    
    .ongoing-visual {
        order: -1; /* Image on top for mobile */
    }
    
    .ongoing-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .ongoing-banner-wrapper {
        padding: 24px;
        border-radius: 16px;
    }
}

#ongoing-operations-container {
    padding: 0;
}
