/* Kalender pagina — ttc */

.cal-month {
    margin-bottom: 2rem;
}

.cal-month-title {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 10px;
    padding-bottom: 6px;
    border-bottom: 0.5px solid #e5e5e5;
}

.cal-month-past-label {
    font-size: 12px;
    font-weight: 400;
    color: #bbb;
}

.cal-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 0.5px solid #e5e5e5;
    text-decoration: none;
    color: inherit;
    transition: background 0.1s;
}

.cal-item:last-child {
    border-bottom: none;
}

.cal-item:hover {
    text-decoration: none;
    color: inherit;
}

.cal-date {
    min-width: 42px;
    text-align: center;
    flex-shrink: 0;
    padding-top: 2px;
}

.cal-date-day {
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
}

.cal-date-weekday {
    font-size: 11px;
    color: #888;
}

.cal-divider {
    width: 0.5px;
    background: #e5e5e5;
    align-self: stretch;
    flex-shrink: 0;
}

.cal-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cal-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
}

.cal-datum {
    font-size: 12px;
    color: #888;
    margin: 0;
}

.cal-desc {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.cal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 2px;
}

.cal-tag {
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 5px;
    background: #f0f0f0;
    color: #555;
}

.cal-tag--type {
    background: transparent;
    border: 0.5px solid #ccc;
    color: #555;
}

/* Thumbnail rechts */
.cal-thumb {
    flex-shrink: 0;
    width: 80px;
    align-self: center;
    display: none; /* verborgen op klein scherm */
}

.cal-thumb img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

@media (min-width: 600px) {
    .cal-thumb {
        display: block;
    }
}

.cal-past-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 2rem 0;
    color: #aaa;
    font-size: 13px;
}
.cal-past-divider::before,
.cal-past-divider::after {
    content: '';
    flex: 1;
    height: 0.5px;
    background: #e5e5e5;
}

.cal-past .cal-month-title,
.cal-past .cal-date-day,
.cal-past .cal-date-weekday,
.cal-past .cal-title,
.cal-past .cal-desc,
.cal-past .cal-datum {
    color: #aaa;
}

.cal-past .cal-tag,
.cal-past .cal-tag--type {
    opacity: 0.5;
}