/* ============================================================
   Events block (Heading + Copy with an embed below the copy).
   Everything else comes from the Copy block's theme styles (.block-copy).
   ============================================================ */

.block-events .events--embed {
    margin-top: 2rem;
}

/* Ticket Tailor's widget sizes itself; just make sure it can use the full width */
.block-events .events--embed iframe,
.block-events .events--embed .tt-widget {
    width: 100%;
    max-width: 100%;
}

/* Ticket Tailor's iframe already ends with ~30px of padding below "Need help, or
   lost your tickets?", so drop the button's own 2rem top margin after it. */
.block-events .events--embed:has(.tt-widget) + .copy--button {
    margin-top: 0;
}

/* Editor-only placeholder shown instead of the live embed */
.block-events .events--placeholder {
    padding: 2rem;
    border: 2px dashed currentColor;
    text-align: center;
}
