/* St. Lazarus Orthodox Chapel - Calendar Styles */

/* List Style */
.cal-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cal-event {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f8f6f3;
    border-radius: 6px;
    border-left: 4px solid #722F37;
}

.cal-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    padding: 0.5rem;
    background: #722F37;
    color: white;
    border-radius: 4px;
    text-align: center;
}

.cal-month {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.cal-day {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
}

.cal-details {
    flex: 1;
}

.cal-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.25rem;
}

.cal-time {
    color: #722F37;
    font-weight: 500;
    font-size: 0.95rem;
}

.cal-location {
    color: #666;
    font-size: 0.9rem;
}

.cal-desc {
    color: #888;
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 0.25rem;
}

/* Cards Style */
.cal-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.cal-card {
    background: white;
    border: 1px solid #e0dcd6;
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
    transition: box-shadow 0.2s;
}

.cal-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cal-card-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #C5A03B;
}

.cal-card-date .cal-month {
    font-size: 0.75rem;
    color: #722F37;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.cal-card-date .cal-day {
    font-size: 2rem;
    color: #722F37;
    font-weight: 600;
}

.cal-card-info .cal-title {
    font-size: 1rem;
}

.cal-card-info .cal-time {
    font-size: 0.9rem;
}

.cal-card-info .cal-location {
    font-size: 0.8rem;
}

/* Dark theme variant */
.cal-dark .cal-event {
    background: rgba(255,255,255,0.05);
    border-left-color: #C5A03B;
}

.cal-dark .cal-date {
    background: #C5A03B;
    color: #1a1a1a;
}

.cal-dark .cal-title {
    color: #fff;
}

.cal-dark .cal-time {
    color: #C5A03B;
}

.cal-dark .cal-location,
.cal-dark .cal-desc {
    color: #aaa;
}

/* Responsive */
@media (max-width: 500px) {
    .cal-event {
        flex-direction: column;
        text-align: center;
    }

    .cal-date {
        flex-direction: row;
        gap: 0.5rem;
        min-width: auto;
        padding: 0.5rem 1rem;
    }

    .cal-day {
        font-size: 1.2rem;
    }
}
