/* Design des Blocks "Termine" - wird nur geladen, wo der Block verwendet wird. */

.termine-block {
    --termine-gap: 1rem;
    --termine-radius: 0.5rem;
    --termine-padding: 1.5rem 1.875rem;
    --termine-min-height: auto;
    --termine-bg: var(--wp--preset--color--gray-1, #f0f0f0);
    --termine-bg-hover: var(--wp--preset--color--gray-2, #dedede);
    --termine-title-color: var(--wp--preset--color--secondary-dark, #632617);
    --termine-date-color: var(--wp--preset--color--text, #2d2828);
}

.termine-block__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--termine-gap);
}

.termine-block__card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: var(--termine-min-height);
    box-sizing: border-box;
    padding: var(--termine-padding);
    border-radius: var(--termine-radius);
    background: var(--termine-bg);
    text-decoration: none;
    transition: background-color 0.15s ease;
}
.termine-block__card:hover,
.termine-block__card:focus-visible {
    background: var(--termine-bg-hover);
}

.termine-block__title {
    font-family: var(--wp--preset--font-family--noto-serif, serif);
    font-size: var(--wp--preset--font-size--large, 1.5rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--termine-title-color);
}

.termine-block__date {
    margin-top: 0.25rem;
    font-family: var(--wp--preset--font-family--inter, sans-serif);
    font-size: 0.875rem;
    color: var(--termine-date-color);
}

.termine-block__empty {
    margin: 0;
    color: var(--termine-date-color);
}
