:root {
  --tw-duration: .5s;
}

.vee-week-view {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}
.vee-day {
  padding: 0.5rem;
  border-right-width: 1px;
  border-right-style: solid;
}
.vee-day:last-child {
  border-right: none !important;
}
.vee-events {
  list-style: none;
  margin: 0;
  padding: 0;
}
.vee-event {
  margin: 0 0 6px;
  padding: 0;
}
.vee-time {
  margin-left: 6px;
  font-size: 12px;
}
.vee-venue {
  margin-left: 6px;
  font-size: 12px;
}
/* Date header stacked layout */
.vee-day__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  margin: 0 0 2rem;
}
.vee-day__month,
.vee-day__dow {
  font-size: 16px;
  font-weight: 600;
  text-transform: lowercase;
}
.vee-day__day {
  font-size: 72px;
  font-weight: 300;
  margin: 2px 0;
}
.ve-event-card {
  position: relative;
  transition:
    box-shadow var(--tw-duration) ease,
    transform var(--tw-duration) ease;
  overflow: hidden;
  transition: border-color var(--tw-duration) ease;
}
.ve-event-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: none;
}
.ve-event-card__body {
padding: 16px;
}
.ve-event-card__header {
  position: relative;
}
.vee-event:not(:last-child) {
  margin-bottom: 1.5rem;
}
.ve-event-card__image img {
  width:100%;
  display: block;
  aspect-ratio: unset !important;
  object-fit: unset !important;
}
.ve-event-card__link {
  /* must be static so ::after stretches to the nearest positioned ancestor (.ve-event-card) */
  position: static;
  display: block;
  margin-bottom: 1rem;
}
/* Stretched link makes the whole card clickable via the title link */
.stretched-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.ve-event-card :is(h3, time, span, a, .ve-event-card__image img) {
  transition: all var(--tw-duration) ease;
}

.ve-event-card :is(.ve-event-card__header) {
  transition: transform var(--tw-duration) ease;
}

.ve-event-card .ve-event-card__image {
  overflow: hidden;
}

.ve-event-card:hover .ve-event-card__image img {
  transform: scale(1.05);
}


.ve-event-card:hover {
  border-color: 
 color-mix(in oklab, #ffb900 50%, transparent);
}

/* Tickets button */
.ve-event-card__actions {
  margin-top: 0.5rem;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}
.ve-event-card__tickets-btn {
  display: flex;
  align-items: start;
  padding: 0.5rem 1.5rem;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.2;
}

.ve-event-card__meta {
  display: flex;
  margin-bottom: 1.5rem;
}
.ve-event-card__meta svg {
  width:15px;
  fill: oklch(.707 .022 261.325);
  margin-right: 0.5em;
}
.ve-event-card__tickets-btn svg {
  width:15px;
  fill: currentColor;
  margin-right: 0.5em;
}
/* Ensure venue link remains above stretched overlay */
.ve-event-card__venue { 
  position: absolute; 
  z-index: 2; 
  font-size: 12px; /* smaller label */
  font-weight: 600;
  line-height: 1.1;
  top:12px;
  right: 12px;
  padding: 3px 8px;
  border-radius: 8px;
  border-width:1px;
  border-style: solid;
}
/* Hover/focus keep pill readable */
.ve-event-card__venue:hover,
.ve-event-card__venue:focus {
  text-decoration: none;
}
/* Visible keyboard focus ring */
.ve-event-card__venue:focus-visible {
  outline: 2px solid #f5f5f5;
  outline-offset: 2px;
}

.ve-event-card__title, .ve-event-card__meta, .ve-event-card__actions {
  padding-inline: 4px;
  font-size: 16px !important;
  line-height: 1.1;
}

.vee-list-view {
  width: 100%;
  max-width: 1066px;
  margin: 0 auto;
}

.vee-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: start;
}

.vee-list-grid__item {
  display: flex;
}

.vee-list-grid__item .ve-event-card {
  width: 100%;
  height: 100%;
}

/* visible focus style for accessibility */
.ve-event-card__link:focus-visible,
.ve-event-card__tickets-btn:focus-visible {
  outline: 2px solid #2b6cb0;
  outline-offset: 2px;
  border-radius: 4px;
}
/* Elevation cue when any focus is inside the card */
.ve-event-card:focus-within {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.ve-event-card__title a {
  font-weight: bold;
}
/* Pagination */
.vee-week-pager {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
  margin: 0 0 1rem;
}
.vee-week-pager a {
  text-decoration: none;
}
@media (max-width: 1024px) {
  .vee-week-view {
    grid-template-columns: repeat(3, 1fr);
  }

  .vee-list-grid {
    gap: 32px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .vee-week-view {
    grid-template-columns: 1fr;
  }

  .vee-list-grid {
    gap: 24px;
    grid-template-columns: 1fr;
  }
}

/* Venue-specific banner colors (light backgrounds, dark text) */
/* Tavern Stage (free shows) */

.ve-venue--tavern-stage-the-composers-room .ve-event-card__venue {
  background-color: #3c0366;
  color: #dab2ff;
  border-color:  color-mix(in oklab, #c27aff 70%, transparent);
  ;
}

.ve-venue--the-composers-room .ve-event-card__venue {
  background-color: color-mix(in oklab, oklch(.302 .056 229.695) 80%, transparent);
  color: oklch(.865 .127 207.078);
  border-color:  color-mix(in oklab, oklch(.789 .154 211.53) 70%, transparent);
  ;
}
.ve-event-card {
  border-width: 1px !important;
  border-style: solid;
  border-color: color-mix(in oklab, white 10%, transparent);
  border-radius: 0.625rem;
  background-color: 
  color-mix(in oklab, black 40%, transparent);
}

.ve-event-card__time {
  font-size: 14px;
  color: oklch(.707 .022 261.325);
}