.bahai-calendar-container {
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
}

.bahai-calendar-header {
    margin-bottom: 20px;
    text-align: center;
}

.bahai-calendar-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.bahai-calendar-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    font-family: 'Lora', serif;
    color: inherit;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
    line-height: 1.2;
    position: relative;
}

.bahai-calendar-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #28a745);
    margin: 15px auto 0;
    border-radius: 2px;
}

.bahai-dates-grid {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.bahai-dates-column {
    flex: 1 1 420px;
    min-width: 300px;
}

.bahai-dates-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 18px;
    gap: 16px;
    flex-wrap: wrap;
}

.bahai-dates-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #2c3e50;
}

.bahai-dates-year {
    font-size: 14px;
    color: #6c757d;
    font-style: italic;
}

.bahai-calendar-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    margin-bottom: 1rem;
    border-radius: 50px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.bahai-calendar-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
}

.bahai-calendar-row--special {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-color: #bd2130;
    color: #fff;
    box-shadow: 0 4px 6px rgba(220, 53, 69, 0.3);
}

.bahai-calendar-row--special:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    box-shadow: 0 6px 12px rgba(220, 53, 69, 0.4);
}

.bahai-calendar-row__left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bahai-calendar-row__num {
    font-weight: bold;
    font-size: 18px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff0db 0%, #fff0db 100%);
    color: inherit;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

.bahai-calendar-row--special .bahai-calendar-row__num {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.bahai-calendar-row__name {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bahai-calendar-row__name strong {
    font-size: 18px;
    display: block;
    color: #212529;
}

.bahai-calendar-row--special .bahai-calendar-row__name strong {
    color: #fff;
}

.bahai-calendar-row__attr {
    font-size: 14px;
    color: #6c757d;
    font-style: italic;
}

.bahai-calendar-row--special .bahai-calendar-row__attr {
    color: rgba(255, 255, 255, 0.9);
}

.bahai-calendar-row__date {
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    text-align: right;
    min-width: 140px;
    color: #495057;
}

.bahai-calendar-row--special .bahai-calendar-row__date {
    color: #fff;
}

.bahai-calendar.list-view {
    column-count: 2;
    column-gap: 20px;
}

@media (max-width: 900px) {
    .bahai-calendar.list-view {
        column-count: 1;
    }

    .bahai-calendar-row {
        padding: 12px 16px;
    }

    .bahai-calendar-row__left {
        gap: 12px;
    }

    .bahai-calendar-row__num {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .bahai-calendar-row__name strong {
        font-size: 16px;
    }

    .bahai-calendar-row__date {
        font-size: 14px;
        min-width: 120px;
    }
}
