/* TSD theme x TSD Events plugin: align the plugin's cards with the theme (radius, type, spacing). Plugin CSS loads first. */
:root { --tsd-radius: 10px; --tsd-accent: var(--wp--preset--color--gold, #ffb81c); --tsd-bg: var(--wp--preset--color--paper, #fafafa); }
.tt-main--events, .tt-main--event { background: var(--wp--preset--color--paper, #fafafa); }
.tt-events-wrap { max-width: 1000px; }
.tsd-list, .tsd-month, .tsd-event, .tsd-modal { font-family: var(--wp--preset--font-family--body, Barlow, sans-serif); font-size: 1rem; }
.tsd-btn { border-radius: var(--tt-radius, 6px); font-family: var(--tt-head, Montserrat, sans-serif); font-weight: 700; letter-spacing: .08em; font-size: .78rem; }
.tsd-btn:hover, .tsd-btn:focus-visible { background: var(--tt-red, #dd0000); border-color: var(--tt-red, #dd0000); color: #fff !important; }
.tsd-btn--ghost:hover { background: var(--tt-gold, #ffb81c); border-color: var(--tt-gold, #ffb81c); color: #111 !important; }
.tsd-tile, .tsd-event { box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.06); }
.tsd-tile__title, .tsd-group__h, .tsd-month__title, .tsd-hero__title { font-family: var(--tt-head, Montserrat, sans-serif); }
.tsd-group__h { font-size: 1.1rem; margin-top: 1.6rem; padding-bottom: .5rem; border-bottom: 3px solid var(--tt-gold, #ffb81c); }
.tt-main--event .tsd-event { background: transparent; padding: 0; }
.tt-event-single .is-style-tt-kicker { margin-bottom: .4rem; }
.tt-events-note { margin-top: 2rem; text-align: center; color: #555; }
@media (max-width: 640px) { .tsd-tile { grid-template-columns: 64px 1fr !important; } .tsd-tile__media { display: none; } }
/* Home page: the upcoming-classes strip uses the same tiles, no extra margins */
.tt-events > .tsd-list { margin: 0; }
