/*
 * Tonik Events — Frontend Styles
 * Version: 1.31.0
 *
 * Namespaced .te- to avoid theme collisions.
 * Covers: .te-archive (listing) + .te-single (detail)
 */

/* ── Design tokens ──────────────────────────────────────────────────────────── */
:root {
    --te-bg:           #ffffff;
    --te-surface:      #f8f9fa;
    --te-border:       #e2e4e7;
    --te-text:         #1d2327;
    --te-muted:        #606974;
    --te-accent:       #1d2327;
    --te-accent-hover: #3a4249;
    --te-accent-fg:    #ffffff;
    --te-badge-bg:     #1d2327;
    --te-badge-fg:     #ffffff;
    --te-radius-sm:    4px;
    --te-radius:       8px;
    --te-radius-lg:    14px;
    --te-shadow:       0 2px 8px rgba(0,0,0,.07);
    --te-shadow-hover: 0 8px 24px rgba(0,0,0,.13);
    --te-transition:   .2s ease;
    --te-max-w:        1200px;
    --te-content-w:    1170px;
    --te-gap:          28px;
}

.sr-only {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ════════════════════════════════════════════════════════════════════════════
   SHARED
════════════════════════════════════════════════════════════════════════════ */

/* Country badge — tonik_event_country_badges() */
.tonik-country-badge {
    display: inline-block;
    padding: 3px 11px;
    border-radius: 100px;
    background: var(--te-badge-bg);
    color: var(--te-badge-fg);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    line-height: 1.7;
}

/* CTA button — tonik_event_cta() */
.te-single__cta,
.te-single__sticky-cta,
.te-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    border-radius: var(--te-radius);
    background: var(--te-accent);
    color: var(--te-accent-fg);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background var(--te-transition), transform var(--te-transition);
    white-space: nowrap;
    width: 100%;
}
.te-single__cta:hover, .te-single__sticky-cta:hover, .te-card__cta:hover {
    background: var(--te-accent-hover);
    color: var(--te-accent-fg);
    transform: translateY(-1px);
}
.te-single__sticky-cta { width: auto; padding: 10px 22px; }
.te-card__cta           { width: auto; padding: 8px 16px; font-size: 13px; }

/* Map links — tonik_event_map_link() */
.te-single__venue-link,
.te-single__sidebar-map-link,
.te-card__venue-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}
.te-single__map-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    padding: 9px 16px;
    border: 1.5px solid var(--te-border);
    border-radius: var(--te-radius);
    font-size: 13px;
    font-weight: 600;
    color: var(--te-text);
    text-decoration: none;
    transition: border-color var(--te-transition);
}
.te-single__map-link:hover { border-color: var(--te-accent); }

/* Embed wrapper — lets the iframe render at its own specified height */
.te-single__embed-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: var(--te-radius);
}
.te-single__embed-wrap iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
}

/* ════════════════════════════════════════════════════════════════════════════
   ARCHIVE  .te-archive
════════════════════════════════════════════════════════════════════════════ */

.te-archive {
    max-width: var(--te-max-w);
    margin: 0 auto;
    padding: 48px 24px 80px;
}

/* Header */
.te-archive__header { margin-bottom: 44px; }
.te-archive__header-inner {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.te-archive__title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -.6px;
    line-height: 1.1;
    margin: 0;
    color: var(--te-text);
}
.te-archive__total {
    font-size: 14px;
    color: var(--te-muted);
    font-weight: 500;
}

/* Filter pills */
.te-filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.te-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 100px;
    border: 1.5px solid var(--te-border);
    background: transparent;
    color: var(--te-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    line-height: 1;
    transition: border-color var(--te-transition), background var(--te-transition), color var(--te-transition);
}
.te-filter-pill:hover         { border-color: var(--te-text); color: var(--te-text); }
.te-filter-pill.is-active     { background: var(--te-accent); border-color: var(--te-accent); color: var(--te-accent-fg); }
.te-filter-pill__count {
    background: var(--te-surface);
    color: var(--te-muted);
    font-size: 11px;
    font-weight: 700;
    border-radius: 100px;
    padding: 1px 7px;
    line-height: 1.6;
}
.te-filter-pill.is-active .te-filter-pill__count { background: rgba(255,255,255,.2); color: var(--te-accent-fg); }

/* Mobile select */
.te-filter-select-wrap { display: none; }
.te-filter-select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--te-border);
    border-radius: var(--te-radius);
    font-size: 15px;
    background: #fff;
    color: var(--te-text);
    cursor: pointer;
}
@media (max-width: 640px) {
    .te-filter-pills       { display: none; }
    .te-filter-select-wrap { display: block; }
}

/* Grid */
.te-archive__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: var(--te-gap);
}
@media (max-width: 480px) { .te-archive__grid { grid-template-columns: 1fr; } }

/* Card */
.te-card {
    background: var(--te-bg);
    border: 1.5px solid var(--te-border);
    border-radius: var(--te-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--te-transition), transform var(--te-transition);
}
.te-card:hover        { box-shadow: var(--te-shadow-hover); transform: translateY(-3px); }
.te-card--past        { opacity: .72; }
.te-card--past:hover  { opacity: 1; }
.te-card.te-is-hidden { display: none; }

/* Card image */
.te-card__image-link { display: block; }
.te-card__image {
    position: relative;
    margin: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--te-surface);
}
.te-card__image img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform var(--te-transition);
}
.te-card:hover .te-card__image img { transform: scale(1.04); }
.te-card__badge {
    position: absolute;
    top: 10px; right: 10px;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px; font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
}
.te-card__badge--past { background: rgba(0,0,0,.55); color: #fff; }

/* Card body */
.te-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.te-card__countries   { display: flex; flex-wrap: wrap; gap: 5px; }
.te-card__title       { font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -.2px; margin: 0; }
.te-card__title a     { color: var(--te-text); text-decoration: none; }
.te-card__title a:hover { text-decoration: underline; }
.te-card__date        { font-size: 13px; font-weight: 600; color: var(--te-muted); margin: 0; }
.te-card__time        { font-weight: 400; }
.te-card__schedule    { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--te-muted); }
.te-card__schedule-label { font-weight: 700; text-transform: uppercase; font-size: 10px; letter-spacing: .4px; margin-right: 2px; }
.te-card__venue       { font-size: 13px; color: var(--te-muted); margin: 0; }
.te-card__price       { font-size: 15px; font-weight: 800; color: var(--te-text); margin: 0; }
.te-card__footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--te-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.te-card__details-link { font-size: 13px; font-weight: 600; color: var(--te-text); text-decoration: none; }
.te-card__details-link:hover { text-decoration: underline; }

/* Empty states */
.te-archive__no-events,
.te-archive__filter-empty {
    grid-column: 1 / -1;
    padding: 60px 0;
    text-align: center;
    color: var(--te-muted);
    font-size: 16px;
    font-style: italic;
}

/* ════════════════════════════════════════════════════════════════════════════
   SINGLE  .te-single
════════════════════════════════════════════════════════════════════════════ */

.te-single {
    max-width: var(--te-content-w);
    margin: 0 auto;
    padding-bottom: 120px;
}

/* Block 1 — Hero image */
.te-single__hero-image {
    width: 100%;
    aspect-ratio: 16 / 6;
    overflow: hidden;
    background: var(--te-surface);
    margin-bottom: 40px;
}
.te-single__hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Two-column layout */
.te-single__layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 56px;
    padding: 0 24px;
    align-items: start;
}
@media (max-width: 960px) {
    .te-single__layout { grid-template-columns: 1fr; gap: 36px; }
    .te-single__sidebar { order: -1; }
}

/* Section title */
.te-single__section-title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--te-muted);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--te-border);
}

/* Block 2 — Countries */
.te-single__countries { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }

/* Block 3 — Title */
.te-single__title {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -.7px;
    line-height: 1.12;
    margin: 0 0 24px;
    color: var(--te-text);
}

/* Block 4 — Date + Time */
.te-single__datetime    { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.te-single__date        { display: flex; align-items: center; }
.te-single__date-block  {
    display: flex; flex-direction: column; align-items: center;
    background: var(--te-accent); color: var(--te-accent-fg);
    border-radius: var(--te-radius);
    padding: 8px 14px; min-width: 60px; text-align: center; line-height: 1.2;
}
.te-single__date-day    { font-size: 26px; font-weight: 800; }
.te-single__date-month  { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.te-single__date-year   { font-size: 11px; font-weight: 400; opacity: .75; }
.te-single__time        { font-size: 22px; font-weight: 700; color: var(--te-text); }

/* Block 5 — Venue */
.te-single__venue {
    margin-bottom: 36px;
    padding: 20px;
    background: var(--te-surface);
    border-radius: var(--te-radius-lg);
    border: 1px solid var(--te-border);
}
.te-single__venue-name { font-size: 17px; font-weight: 700; display: block; margin-bottom: 6px; }
.te-single__address    { font-style: normal; font-size: 14px; line-height: 1.6; color: var(--te-muted); margin: 0; }
.te-single__address p  { margin: 0 0 .3em; }
.te-single__address p:last-child { margin-bottom: 0; }
.te-single__address-city { color: var(--te-muted); font-size: 14px; margin-top: .2em; }
.te-single__city       { font-size: 14px; color: var(--te-muted); margin: 4px 0 0; }
.te-single__map-action { margin: 0; }

/* Block 6 — Schedule */
.te-single__schedule { margin-bottom: 36px; }
.te-single__schedule-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--te-border);
    border: 1px solid var(--te-border);
    border-radius: var(--te-radius-lg);
    overflow: hidden;
    margin: 0;
}
.te-single__schedule-row { background: var(--te-bg); padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; }
.te-single__schedule-row dt { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--te-muted); }
.te-single__schedule-row dd { font-size: 20px; font-weight: 700; color: var(--te-text); margin: 0; }
@media (max-width: 480px) { .te-single__schedule-list { grid-template-columns: 1fr; } }

/* Block 7 — Details */
.te-single__details { margin-bottom: 36px; }
.te-single__details-content { font-size: 16px; line-height: 1.8; color: var(--te-text); }

/* ── Details rich-text typography ─────────────────────────────────────────────
 * Applied to every container that outputs tonik_event_details().
 * Uses higher specificity (.te-single__details-content > * etc. not needed —
 * direct child selectors beat most theme resets without !important).
 * ────────────────────────────────────────────────────────────────────────── */
.te-single__details-content p,
.tonik-event-card__details p {
    display: block;
    margin-top: 0;
    margin-bottom: 1em;
    line-height: 1.75;
}
.te-single__details-content p:last-child,
.tonik-event-card__details p:last-child {
    margin-bottom: 0;
}
.te-single__details-content br,
.tonik-event-card__details br {
    display: block;
    content: "";
    margin-top: 0.4em;
}
.te-single__details-content h2,
.tonik-event-card__details h2,
.te-single__details-content h3,
.tonik-event-card__details h3 {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin: 1.5em 0 0.5em;
    line-height: 1.3;
}
.te-single__details-content h4,
.tonik-event-card__details h4 {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin: 1.2em 0 0.4em;
}
.te-single__details-content ul,
.tonik-event-card__details ul,
.te-single__details-content ol,
.tonik-event-card__details ol {
    display: block;
    padding-left: 1.5em;
    margin: 0 0 1em;
}
.te-single__details-content li,
.tonik-event-card__details li {
    display: list-item;
    margin-bottom: 0.3em;
    line-height: 1.6;
}
.te-single__details-content strong,
.tonik-event-card__details strong { font-weight: 700; }
.te-single__details-content em,
.tonik-event-card__details em     { font-style: italic; }
.te-single__details-content a,
.tonik-event-card__details a {
    color: var(--te-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.te-single__details-content blockquote,
.tonik-event-card__details blockquote {
    display: block;
    border-left: 3px solid var(--te-border);
    margin: 1em 0;
    padding: 0.5em 1em;
    color: var(--te-muted);
    font-style: italic;
}
/* Shortcode card details wrapper base styles */
.tonik-event-card__details {
    font-size: 14px;
    line-height: 1.75;
    color: var(--te-text);
}

/* Block 8 — Embed */
.te-single__embed { margin-bottom: 36px; }

/* Sidebar */
.te-single__sidebar {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    border: 1.5px solid var(--te-border);
    border-radius: var(--te-radius-lg);
    overflow: hidden;
}
.te-single__sidebar-block       { padding: 18px 20px; border-bottom: 1px solid var(--te-border); }
.te-single__sidebar-block:last-child { border-bottom: none; }
.te-single__sidebar-label       { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--te-muted); margin-bottom: 6px; }
.te-single__sidebar-block--cta  { background: var(--te-surface); }

/* Block 9 — Price */
.te-single__price { font-size: 26px; font-weight: 800; color: var(--te-text); display: block; }

/* Block 11 — Date sidebar */
.te-single__sidebar-date { display: block; font-size: 15px; font-weight: 700; color: var(--te-text); }
.te-single__sidebar-time { display: block; font-size: 14px; color: var(--te-muted); margin-top: 2px; }

/* Block 12 — Venue sidebar */
.te-single__sidebar-venue-name { display: block; font-size: 14px; font-weight: 700; color: var(--te-text); }
.te-single__sidebar-city       { display: block; font-size: 13px; color: var(--te-muted); margin-top: 2px; }
.te-single__sidebar-map        { display: block; margin-top: 8px; }
.te-single__sidebar-map-link   { font-size: 13px; font-weight: 600; }

/* Block 13 — Countries sidebar */
.te-single__sidebar-badges { display: flex; flex-wrap: wrap; gap: 5px; }

/* Block 14 — Sticky bar */
.te-single__sticky-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1.5px solid var(--te-border);
    padding: 14px 24px;
}
.te-single__sticky-inner {
    max-width: var(--te-content-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.te-single__sticky-title {
    font-size: 15px; font-weight: 700; color: var(--te-text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    flex: 1; min-width: 0;
}
.te-single__sticky-price { font-size: 18px; font-weight: 800; color: var(--te-text); white-space: nowrap; }
@media (max-width: 520px) {
    .te-single__sticky-title { display: none; }
    .te-single__sticky-inner { justify-content: center; }
    .te-single__sticky-cta   { flex: 1; }
}

/* ════════════════════════════════════════════════════════════════════════════
   [tonik_event] SINGLE EVENT BLOCK SHORTCODE  .tonik-event-block
════════════════════════════════════════════════════════════════════════════ */

.tonik-event-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Image */
.tonik-event-block__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--te-radius-lg);
}

/* Countries */
.tonik-event-block__countries {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* Title */
.tonik-event-block__title {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -.5px;
    line-height: 1.15;
    margin: 0;
    color: var(--te-text);
}

/* Date */
.tonik-event-block__date {
    display: flex;
    align-items: center;
    gap: 14px;
}
.tonik-event-block__date-inner { display: flex; align-items: center; }
.tonik-event-block__date-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--te-accent);
    color: var(--te-accent-fg);
    border-radius: var(--te-radius);
    padding: 8px 14px;
    min-width: 60px;
    text-align: center;
    line-height: 1.2;
}
.tonik-event-block__date-day   { font-size: 26px; font-weight: 800; }
.tonik-event-block__date-month { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.tonik-event-block__date-year  { font-size: 11px; font-weight: 400; opacity: .75; }
.tonik-event-block__time       { font-size: 22px; font-weight: 700; color: var(--te-text); }

/* Venue */
.tonik-event-block__venue {
    padding: 18px 20px;
    background: var(--te-surface);
    border-radius: var(--te-radius-lg);
    border: 1px solid var(--te-border);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.tonik-event-block__venue-name {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: var(--te-text);
}
.tonik-event-block__address,
.tonik-event-block__address p { font-size: 14px; color: var(--te-muted); line-height: 1.6; margin: 0 0 .2em; }
.tonik-event-block__city       { font-size: 14px; color: var(--te-muted); margin: 0; }
.tonik-event-block__map-action { margin: 0; }
.tonik-event-block__map-link   { font-size: 13px; font-weight: 600; color: var(--te-accent); text-decoration: none; }
.tonik-event-block__map-link:hover { text-decoration: underline; }
.tonik-event-block__venue-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Schedule */
.tonik-event-block__section-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--te-muted);
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--te-border);
}
.tonik-event-block__schedule-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--te-border);
    border: 1px solid var(--te-border);
    border-radius: var(--te-radius-lg);
    overflow: hidden;
    margin: 0;
}
.tonik-event-block__schedule-row { background: var(--te-bg); padding: 14px 18px; display: flex; flex-direction: column; gap: 3px; }
.tonik-event-block__schedule-row dt { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--te-muted); }
.tonik-event-block__schedule-row dd { font-size: 20px; font-weight: 700; color: var(--te-text); margin: 0; }
@media (max-width: 480px) { .tonik-event-block__schedule-list { grid-template-columns: 1fr; } }

/* Details */
.tonik-event-block__details { font-size: 15px; line-height: 1.8; color: var(--te-text); }
.tonik-event-block__details p   { margin: 0 0 1em; }
.tonik-event-block__details h2,
.tonik-event-block__details h3  { font-size: 18px; font-weight: 700; margin: 1.4em 0 .5em; }
.tonik-event-block__details ul,
.tonik-event-block__details ol  { padding-left: 1.4em; margin: 0 0 1em; }

/* Price */
.tonik-event-block__price {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.tonik-event-block__price-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--te-muted); }
.tonik-event-block__price-value { font-size: 28px; font-weight: 800; color: var(--te-text); }

/* CTA */
.tonik-event-block__cta-wrap {}
.tonik-event-block__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    border-radius: var(--te-radius);
    background: var(--te-accent);
    color: var(--te-accent-fg);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: background var(--te-transition), transform var(--te-transition);
}
.tonik-event-block__cta:hover { background: var(--te-accent-hover); color: var(--te-accent-fg); transform: translateY(-1px); }

/* Embed */
.tonik-event-block__embed { width: 100%; overflow: hidden; border-radius: var(--te-radius); }
.tonik-event-block__embed iframe { display: block; width: 100%; max-width: 100%; border: 0; }

/* ════════════════════════════════════════════════════════════════════════════
   ELEMENTOR WIDGET STYLES  .tonik-el-*
   Base styles only — everything else is controlled via Elementor's style panel
════════════════════════════════════════════════════════════════════════════ */

/* Image */
.tonik-el-image img { display: block; width: 100%; height: auto; }

/* Countries */
.tonik-el-countries { display: flex; flex-wrap: wrap; gap: 6px; }

/* Title */
.tonik-el-title { margin: 0; }

/* Date calendar block */
.tonik-el-date            { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tonik-el-date__inner     { display: flex; align-items: center; }
.tonik-el-date__block {
    display: flex; flex-direction: column; align-items: center;
    background: var(--te-accent); color: var(--te-accent-fg);
    border-radius: var(--te-radius);
    padding: 8px 14px; min-width: 58px; text-align: center; line-height: 1.2;
}
.tonik-el-date__day   { font-size: 26px; font-weight: 800; display: block; }
.tonik-el-date__month { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; display: block; }
.tonik-el-date__year  { font-size: 11px; font-weight: 400; opacity: .75; display: block; }
.tonik-el-date__text  { font-size: 16px; font-weight: 600; }
.tonik-el-date__time  { font-size: 20px; font-weight: 700; }

/* Venue */
.tonik-el-venue { display: flex; flex-direction: column; gap: 4px; }
.tonik-el-venue__name     { font-weight: 700; font-size: 16px; margin: 0; }
.tonik-el-venue__address,
.tonik-el-venue__address p { font-size: 14px; line-height: 1.6; margin: 0 0 .2em; }
.tonik-el-venue__city     { font-size: 14px; margin: 0; }
.tonik-el-venue__link     { text-decoration: underline; text-underline-offset: 2px; color: inherit; }
.tonik-el-venue__map      { margin: 6px 0 0; }
.tonik-el-venue__map-link { font-size: 13px; font-weight: 600; text-decoration: none; }
.tonik-el-venue__map-link:hover { text-decoration: underline; }

/* Schedule */
.tonik-el-schedule__heading { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin: 0 0 12px; }
.tonik-el-schedule__grid {
    display: grid;
    gap: 1px;
    background: var(--te-border);
    border: 1px solid var(--te-border);
    border-radius: var(--te-radius-lg);
    overflow: hidden;
    margin: 0;
}
.tonik-el-schedule__grid--cols-1 { grid-template-columns: 1fr; }
.tonik-el-schedule__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.tonik-el-schedule__grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.tonik-el-schedule__grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
.tonik-el-schedule__row  { background: var(--te-bg); padding: 14px 18px; display: flex; flex-direction: column; gap: 3px; }
.tonik-el-schedule__row dt { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.tonik-el-schedule__row dd { font-size: 20px; font-weight: 700; margin: 0; }
@media (max-width: 480px) {
    .tonik-el-schedule__grid--cols-2,
    .tonik-el-schedule__grid--cols-3,
    .tonik-el-schedule__grid--cols-4 { grid-template-columns: 1fr; }
}

/* Details */
.tonik-el-details__heading { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin: 0 0 12px; }
.tonik-el-details__content { font-size: 15px; line-height: 1.8; }
.tonik-el-details__content p   { margin: 0 0 1em; }
.tonik-el-details__content h2,
.tonik-el-details__content h3  { font-size: 18px; font-weight: 700; margin: 1.4em 0 .5em; }
.tonik-el-details__content ul,
.tonik-el-details__content ol  { padding-left: 1.4em; margin: 0 0 1em; }

/* Price */
.tonik-el-price       { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tonik-el-price__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.tonik-el-price__value { font-size: 28px; font-weight: 800; margin: 0; }

/* CTA button */
.tonik-el-cta__btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 13px 28px;
    border-radius: var(--te-radius);
    background: var(--te-accent); color: var(--te-accent-fg);
    font-size: 16px; font-weight: 700;
    text-decoration: none;
    transition: background var(--te-transition), transform var(--te-transition);
}
.tonik-el-cta__btn:hover { background: var(--te-accent-hover); color: var(--te-accent-fg); transform: translateY(-1px); }

/* Embed */
.tonik-el-embed__heading { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin: 0 0 12px; }
.tonik-el-embed__wrap { width: 100%; overflow: hidden; border-radius: var(--te-radius); }
.tonik-el-embed__wrap iframe { display: block; width: 100%; max-width: 100%; border: 0; }

/* Editor-only placeholder for empty Tonik widgets */
.tonik-el-editor-placeholder {
    padding: 12px 16px;
    background: #f0f6ff;
    border: 1px dashed #aec5e8;
    border-radius: 6px;
    color: #4a7cbf;
    font-size: 13px;
    font-style: italic;
}
