.ticketnote-actions {
  --tn-ink: #111827;
  --tn-muted: #5f6877;
  --tn-line: #d9dee7;
  --tn-focus: #2563eb;
  display: grid;
  gap: 24px;
  margin: 32px 0 44px;
}

/*
 * Ticketnote information cards contain factual text. The single-event hero
 * must preserve the 16:9 source without cover-cropping, even if a parent theme
 * template or an editor-saved template supplies another aspect ratio.
 */
.single-ticketnote_event .wp-block-post-featured-image {
  overflow: hidden;
  background: #07162e;
}

.single-ticketnote_event .wp-block-post-featured-image img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: contain !important;
  object-position: center !important;
}

.ticketnote-action-group > h3 {
  margin: 0 0 10px;
  color: var(--tn-ink);
  font-size: 16px;
  line-height: 1.4;
}

.ticketnote-action-list {
  display: grid;
  gap: 10px;
}

.ticketnote-action {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid var(--tn-line);
  border-radius: 18px;
  color: var(--tn-ink);
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

a.ticketnote-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgb(17 24 39 / 12%);
}

a.ticketnote-action:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--tn-focus) 42%, transparent);
  outline-offset: 3px;
}

.ticketnote-action--primary {
  border-color: #111827;
  background: #111827;
  color: #fff;
}

.ticketnote-action--secondary {
  background: #fff;
}

.ticketnote-action--map {
  border-color: #b8d5f6;
  background: #edf6ff;
  color: #103b66;
}

.ticketnote-action--youtube {
  border-color: #cc1426;
  background: #d7192d;
  color: #fff;
}

.ticketnote-action--expired {
  border-color: #e5e7eb;
  background: #f3f4f6;
  color: #737b87;
  cursor: not-allowed;
}

.ticketnote-action__copy {
  min-width: 0;
}

.ticketnote-action__copy strong,
.ticketnote-action__copy small {
  display: block;
}

.ticketnote-action__copy strong {
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.ticketnote-action__copy small {
  margin-top: 5px;
  color: inherit;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.78;
}

.ticketnote-action__status {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgb(255 255 255 / 14%);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.ticketnote-action--secondary .ticketnote-action__status,
.ticketnote-action--youtube .ticketnote-action__status,
.ticketnote-action--map .ticketnote-action__status,
.ticketnote-action--expired .ticketnote-action__status {
  background: rgb(17 24 39 / 7%);
}

@media (max-width: 600px) {
  .ticketnote-actions {
    gap: 20px;
    margin: 26px 0 36px;
  }

  .ticketnote-action {
    min-height: 76px;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 15px;
  }

  .ticketnote-action__copy strong {
    font-size: 16px;
  }

  .ticketnote-action__copy small {
    font-size: 13px;
  }

  .ticketnote-action__status {
    padding: 5px 8px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticketnote-action {
    transition: none;
  }
}
