.vd-ea-wrap { margin: 1.5rem 0; }
.vd-ea-open, .vd-ea-submit {
    display: inline-block;
    border: 0;
    border-radius: 999px;
    padding: .85rem 1.4rem;
    cursor: pointer;
    font: inherit;
    background: var(--ast-global-color-0, #394b3b);
    color: var(--ast-global-color-5, #fff);
}
.vd-ea-open:hover, .vd-ea-submit:hover { filter: brightness(1.12); }
.vd-ea-submit:disabled { opacity: .65; cursor: wait; }
.vd-ea-dialog[hidden] { display: none !important; }
.vd-ea-dialog { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(0,0,0,.62); overflow-y: auto; }
.vd-ea-panel { position: relative; width: min(100%, 34rem); max-height: calc(100vh - 2rem); overflow-y: auto; padding: 2rem; border-radius: 16px; background: #fff; color: #252525; box-shadow: 0 15px 60px rgba(0,0,0,.25); }
.vd-ea-panel h2 { margin: 0 2rem .8rem 0; }
.vd-ea-close { position: absolute; top: .65rem; right: .9rem; border: 0; background: transparent; color: inherit; font-size: 2rem; line-height: 1; cursor: pointer; }
.vd-ea-event-title { margin: 0 0 .2rem; font-weight: 700; }
.vd-ea-event-date { margin: 0 0 1.2rem; opacity: .75; }
.vd-ea-form > label { display: block; margin: 1rem 0; font-weight: 600; }
.vd-ea-form input[type="text"], .vd-ea-form input[type="email"] { display: block; box-sizing: border-box; width: 100%; margin-top: .35rem; padding: .75rem; border: 1px solid #bbb; border-radius: 7px; background: #fff; color: #222; font: inherit; }
.vd-ea-form .vd-ea-consent { display: flex; align-items: flex-start; gap: .55rem; font-size: .88rem; line-height: 1.45; font-weight: 400; }
.vd-ea-consent input { margin-top: .25rem; flex: 0 0 auto; }
.vd-ea-honey { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.vd-ea-message { margin: .9rem 0 0; }
.vd-ea-message.is-success { color: #245c32; }
.vd-ea-message.is-error { color: #a12626; }
body.vd-ea-modal-open { overflow: hidden; }
@media (max-width: 600px) { .vd-ea-panel { padding: 1.5rem 1.1rem; } }

/* Veranstaltungsbild im Anmeldefenster */
.vd-ea-event-image {
    margin: -2rem -2rem 1.5rem;
    height: 190px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.vd-ea-event-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 600px) {
    .vd-ea-event-image {
        margin: -1.5rem -1.1rem 1.2rem;
        height: 150px;
    }
}
