/* TikitiPress event cards. Fonts and button colours come from your theme. */
.tp-ev-grid {
  --tp-ev-gap: 24px;
  --tp-ev-line: rgba(0, 0, 0, .12);
  display: grid;
  gap: var(--tp-ev-gap);
  grid-template-columns: repeat(
    auto-fill,
    minmax(min(100%, max(240px, calc((100% - (var(--tp-ev-cols, 3) - 1) * var(--tp-ev-gap)) / var(--tp-ev-cols, 3)))), 1fr)
  );
  margin: 0 0 1.5em;
}
@supports (color: color-mix(in srgb, red, blue)) {
  .tp-ev-grid { --tp-ev-line: color-mix(in srgb, currentColor 14%, transparent); }
}

.tp-ev-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--tp-ev-line);
  border-radius: 14px;
  overflow: hidden;
  background: inherit;
}

.tp-ev-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #14323a; }
.tp-ev-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tp-ev-placeholder {
  display: block; width: 100%; height: 100%;
  background: repeating-linear-gradient(135deg, #14323a 0 18px, #1d4550 18px 36px);
}

/* Date stub: the one strong element on the card */
.tp-ev-badge {
  position: absolute; top: 12px; left: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 56px; padding: 6px 8px 7px;
  background: #fff; color: #13262b; border-radius: 10px; line-height: 1;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .15);
}
.tp-ev-badge__day { font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.tp-ev-badge__mon { font-size: .8rem; font-weight: 600; margin-top: 3px; }

.tp-ev-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.tp-ev-title { font-size: 1.15rem; line-height: 1.3; margin: 0 0 8px; }
.tp-ev-title a { color: inherit; text-decoration: none; }
.tp-ev-title a:hover, .tp-ev-title a:focus-visible { text-decoration: underline; }
.tp-ev-when, .tp-ev-where { margin: 0 0 4px; font-size: .95rem; }
.tp-ev-where { opacity: .75; }

.tp-ev-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: auto; padding-top: 16px;
}
.tp-ev-price { font-weight: 700; font-size: 1rem; }
.tp-ev-live { font-weight: 700; }
.tp-ev-btn { text-decoration: none; white-space: nowrap; }

.tp-ev-card.is-soldout .tp-ev-price { opacity: .7; }
.tp-ev-card.is-past { opacity: .65; }

.tp-ev-more { text-align: center; }
.tp-ev-empty { padding: 1em 0; }

.tp-ev-card .screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal;
}

/* Powered-by credit */
.tp-credit { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 18px 0 8px; font-size: 12.5px; opacity: .8; }
.tp-credit .tp-mark { flex: none; }
.tp-credit a { color: inherit; }

/* [tikitipress_search] */
.tps { --tps-ink: #14323a; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 6px; padding: 7px; border-radius: 16px; background: #fff; color: #13262b; margin: 0 0 1.5em; }
.tps--card { box-shadow: 0 10px 30px rgba(20, 50, 58, .14); }
.tps--plain { border: 1px solid rgba(0, 0, 0, .15); }
.tps-field { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 14px; color: #4d6166; min-width: 0; margin: 0; }
.tps-field + .tps-field { border-left: 1px solid #dbe4e2; }
.tps-field svg { flex: none; }
.tps-field input, .tps-field select { width: 100%; min-width: 0; height: 50px; border: 0; outline: none; background: transparent; font: inherit; font-size: 15px; color: #13262b; box-shadow: none; padding: 0; margin: 0; }
.tps-btn { min-height: 50px; padding: 0 26px; border: 0; border-radius: 10px; background: var(--tps-ink); color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.tps-btn:hover { background: #1d4550; }
.tps :focus-visible { outline: 3px solid #f2b33d; outline-offset: 2px; border-radius: 6px; }
.tps-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 600px) {
  .tps { grid-template-columns: 1fr auto; }
  .tps-field--words { grid-column: 1 / -1; border-bottom: 1px solid #dbe4e2; }
  .tps-field + .tps-field { border-left: 0; }
}
