/**
 * Common styles for Church CMS detail view status bars
 * Replaces the hero sections moved to masthead
 */

/* Event Status Bar */
.event-status-bar {
    background: linear-gradient(135deg, #96164a 0%, #8b4513 100%);
    color: white;
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-bottom: 3px solid #f5e51b;
}

.event-status-bar .event-meta .badge {
    margin-right: 0.5rem;
    margin-bottom: 0.25rem;
}

.event-status-bar .event-date {
    font-size: 1.1rem;
}

.event-status-bar .event-date i {
    margin-right: 0.5rem;
}

/* Congregation Status Bar */
.congregation-status-bar {
    background: linear-gradient(135deg, #96164a 0%, #8b4513 100%);
    color: white;
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-bottom: 3px solid #f5e51b;
}

.congregation-status-bar .congregation-meta .meta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.4rem 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.25rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.congregation-status-bar .congregation-logo-small {
    max-height: 60px;
    max-width: 120px;
    object-fit: contain;
    background: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Status bar responsive design */
@media (max-width: 768px) {
    .event-status-bar .row,
    .congregation-status-bar .row {
        text-align: center !important;
    }
    
    .event-status-bar .col-md-4,
    .congregation-status-bar .col-md-4 {
        margin-top: 1rem;
    }
    
    .congregation-status-bar .congregation-logo-small {
        max-height: 50px;
        max-width: 100px;
    }
}

/* General content spacing adjustments */
.com-churchcms-event.event-detail-modern,
.com-churchcms-congregation.congregation-detail-modern {
    padding-top: 0;
}

.event-content,
.content-sections {
    padding-top: 0;
}

/* Maintain church colors and branding */
.event-status-bar .badge.bg-primary,
.congregation-status-bar .meta-badge {
    background-color: #96164a !important;
}

.event-status-bar .badge.bg-success {
    background-color: #28a745 !important;
}

.event-status-bar .badge.bg-warning {
    background-color: #ffc107 !important;
    color: #000 !important;
}

.event-status-bar .badge.bg-secondary {
    background-color: #6c757d !important;
}

.event-status-bar .badge.bg-info {
    background-color: #17a2b8 !important;
}