/* -----------------------------------
   Events list + cards
----------------------------------- */

.w2d-eventsList {
  display: grid;
  gap: 14px;
  padding: 16px;
  padding-top: 10px;
  padding-bottom: 18px;
  align-content: start;
}

.w2d-eventsList__empty {
  padding: 20px 16px;
  border-radius: 20px;
  border: 1px solid rgba(17,24,39,.06);
  background: rgba(255,255,255,.82);
  color: rgba(17,24,39,.58);
  font-size: 14px;
  text-align: center;
  box-shadow:
    0 10px 28px rgba(15,23,42,.06),
    0 1px 2px rgba(15,23,42,.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* -----------------------------------
   Base card
----------------------------------- */

.w2d-eventCard {
  position: relative;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(17,24,39,.06);
  background: rgba(255,255,255,.92);
  border-radius: 24px;
  color: #111827;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  box-shadow:
    0 10px 28px rgba(15,23,42,.06),
    0 1px 2px rgba(15,23,42,.04);
  transition:
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease,
    opacity .18s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.w2d-eventCard:hover,
.w2d-eventCard:focus-visible {
  background: rgba(255,255,255,.96);
  border-color: rgba(17,24,39,.10);
  box-shadow:
    0 16px 38px rgba(15,23,42,.09),
    0 2px 6px rgba(15,23,42,.05);
  transform: translateY(-2px);
  outline: none;
}

.w2d-eventCard.is-active {
  border-color: rgba(124,92,255,.26);
  background: rgba(255,255,255,.98);
  box-shadow:
    0 18px 40px rgba(124,92,255,.10),
    0 2px 8px rgba(15,23,42,.05);
}

.w2d-eventCard.is-dimmed {
  opacity: .62;
}

.w2d-eventCard__body {
  position: relative;
  padding: 16px;
}

.w2d-eventCard--half .w2d-eventCard__body {
  padding: 14px 16px;
}

.w2d-eventCard--full .w2d-eventCard__body {
  padding: 18px 18px 20px;
}

/* -----------------------------------
   Utility buttons
----------------------------------- */

.w2d-explorer .w2d-eventCard__utility {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.w2d-explorer .w2d-eventCard__heroUtility {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
}

.w2d-explorer .w2d-eventCard__heroUtility .w2d-eventCard__utility {
  position: static;
}

.w2d-explorer button.w2d-eventCard__iconBtn,
.w2d-explorer button.w2d-eventDetailCard__iconBtn {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid rgba(17,24,39,.08) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.84) !important;
  color: rgba(17,24,39,.76) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  font-size: 0 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow:
    0 8px 20px rgba(15,23,42,.08),
    inset 0 1px 0 rgba(255,255,255,.88) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .12s ease,
    color .18s ease,
    opacity .18s ease !important;
}

.w2d-explorer button.w2d-eventCard__iconBtn:hover,
.w2d-explorer button.w2d-eventCard__iconBtn:focus-visible,
.w2d-explorer button.w2d-eventDetailCard__iconBtn:hover,
.w2d-explorer button.w2d-eventDetailCard__iconBtn:focus-visible {
  background: rgba(255,255,255,.96) !important;
  border-color: rgba(17,24,39,.12) !important;
  color: #111827 !important;
  box-shadow:
    0 12px 24px rgba(15,23,42,.10),
    inset 0 1px 0 rgba(255,255,255,.92) !important;
  transform: translateY(-1px) !important;
  outline: none !important;
}

.w2d-explorer button.w2d-eventCard__iconBtn:active,
.w2d-explorer button.w2d-eventDetailCard__iconBtn:active {
  transform: scale(.94) !important;
  box-shadow:
    0 5px 12px rgba(15,23,42,.08),
    inset 0 2px 4px rgba(15,23,42,.08) !important;
}

.w2d-explorer button.w2d-eventCard__iconBtn.is-active,
.w2d-explorer button.w2d-eventDetailCard__iconBtn.is-active {
  color: #7c5cff !important;
  border-color: rgba(124,92,255,.24) !important;
  background: linear-gradient(180deg, rgba(124,92,255,.18) 0%, rgba(124,92,255,.10) 100%) !important;
  box-shadow:
    0 10px 22px rgba(124,92,255,.18),
    inset 0 1px 0 rgba(255,255,255,.84) !important;
}

.w2d-explorer button.w2d-eventCard__iconBtn svg,
.w2d-explorer button.w2d-eventDetailCard__iconBtn svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  display: block !important;
  fill: currentColor !important;
  pointer-events: none !important;
  transition: transform .14s ease !important;
}

.w2d-explorer button.w2d-eventCard__iconBtn.is-active svg,
.w2d-explorer button.w2d-eventDetailCard__iconBtn.is-active svg {
  transform: scale(1.08) !important;
}

/* -----------------------------------
   Shared layout
----------------------------------- */

.w2d-eventCard__shell {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.w2d-eventCard__dateCol {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.w2d-eventCard__main {
  min-width: 0;
}

/* -----------------------------------
   Shared text blocks
----------------------------------- */

.w2d-eventCard__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #111827;
}

.w2d-eventCard__titleRow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.w2d-eventCard__metaCompact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(17,24,39,.56);
}

.w2d-eventCard__metaStack {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.w2d-eventCard__metaLine {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(17,24,39,.68);
}

.w2d-eventCard__organiser {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  color: rgba(17,24,39,.74);
}

.w2d-eventCard__excerpt {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.58;
  color: rgba(17,24,39,.66);
}

.w2d-eventCard__excerpt--compact {
  font-size: 13px;
  line-height: 1.5;
  margin-top: 8px;
}

.w2d-eventCard__summaryBlock {
  margin-top: 18px;
}

.w2d-eventCard__summaryTitle {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: rgba(17,24,39,.48);
}

/* -----------------------------------
   Date tile / badge
----------------------------------- */

.w2d-eventCard__dateBadge {
  width: 64px;
  min-height: 78px;
  padding: 10px 8px;
  border-radius: 20px;
  border: 1px solid rgba(17,24,39,.06);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(245,247,250,.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.84),
    0 8px 20px rgba(15,23,42,.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
}

.w2d-eventCard__dateWeekday {
  font-size: 10px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7c5cff;
}

.w2d-eventCard__dateDay {
  font-size: 25px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #111827;
}

.w2d-eventCard__dateMonth {
  font-size: 10px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(17,24,39,.54);
}

.w2d-eventCard__dateChip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(242,244,247,.98);
  border: 1px solid rgba(17,24,39,.06);
  color: #374151;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}

.w2d-eventCard__dateChip--hero {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

/* -----------------------------------
   Half cards
----------------------------------- */

.w2d-eventCard--half .w2d-eventCard__title {
  font-size: 18px;
  line-height: 1.14;
  margin-top: 2px;
  padding-right: 84px;
}

.w2d-eventCard__providerLine {
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(124,92,255,.88);
  margin-bottom: 6px;
  padding-right: 84px;
}

.w2d-eventCard__metaRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.45;
}

.w2d-eventCard__venue {
  color: rgba(17,24,39,.84);
  font-weight: 700;
}

.w2d-eventCard__area {
  color: rgba(17,24,39,.56);
}

.w2d-eventCard__timeRow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.w2d-eventCard__time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(241,244,248,.92);
  border: 1px solid rgba(17,24,39,.05);
  color: rgba(17,24,39,.72);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}

.w2d-eventCard--half .w2d-eventCard__badges {
  margin-top: 12px;
}

/* -----------------------------------
   Peek cards
----------------------------------- */

.w2d-eventCard--peek .w2d-eventCard__body {
  padding: 12px 14px;
}

.w2d-eventCard__peekRow {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding-right: 84px;
}

.w2d-eventCard__peekChip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.06);
  background: rgba(244,246,249,.98);
  color: #374151;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78);
}

.w2d-eventCard__peekText {
  min-width: 0;
  flex: 1 1 auto;
}

.w2d-eventCard--peek .w2d-eventCard__title {
  font-size: 15px;
  line-height: 1.15;
}

/* -----------------------------------
   Badges
----------------------------------- */

.w2d-eventCard__badges {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.w2d-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.06);
  background: rgba(244,245,247,.96);
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.w2d-eventCard.is-active .w2d-badge {
  border-color: rgba(124,92,255,.16);
  background: rgba(124,92,255,.08);
  color: #5b43d6;
}

/* -----------------------------------
   Full cards
----------------------------------- */

.w2d-eventCard--full {
  border-radius: 26px;
}

.w2d-eventCard__heroWrap {
  position: relative;
}

.w2d-eventCard__hero {
  position: relative;
  width: 100%;
  height: clamp(170px, 28vw, 240px);
  overflow: hidden;
  background: #e9edf2;
}

.w2d-eventCard__hero--empty {
  background: linear-gradient(180deg, #f4f6f8 0%, #eceff3 100%);
}

.w2d-eventCard__heroImage {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w2d-eventCard--full .w2d-eventCard__shell {
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px;
}

.w2d-eventCard--full .w2d-eventCard__title {
  font-size: 22px;
  margin-top: 2px;
  margin-bottom: 0;
  padding-right: 0;
}

.w2d-eventCard--full .w2d-eventCard__providerLine {
  padding-right: 0;
}

.w2d-eventCard--full .w2d-eventCard__metaStack {
  margin-top: 10px;
}

.w2d-eventCard--full .w2d-eventCard__badges {
  margin-top: 12px;
}

.w2d-eventCard__infoGrid {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.w2d-eventCard__infoBox {
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(17,24,39,.06);
  background: rgba(246,247,249,.95);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.72),
    0 1px 2px rgba(15,23,42,.03);
}

.w2d-eventCard__infoLabel {
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(17,24,39,.46);
  margin-bottom: 6px;
}

.w2d-eventCard__infoValue {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  color: #111827;
}

.w2d-eventCard__infoSub {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(17,24,39,.60);
}

/* -----------------------------------
   Provider block
----------------------------------- */

.w2d-eventCard__provider {
  margin-top: 14px;
  border-radius: 18px;
  border: 1px solid rgba(17,24,39,.06);
  background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(246,247,249,.94) 100%);
  box-shadow:
    0 6px 16px rgba(15,23,42,.04),
    inset 0 1px 0 rgba(255,255,255,.78);
  overflow: hidden;
  transition:
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.w2d-eventCard__provider.is-expanded {
  border-color: rgba(17,24,39,.09);
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(242,244,247,.96) 100%);
  box-shadow:
    0 10px 22px rgba(15,23,42,.07),
    inset 0 1px 0 rgba(255,255,255,.86);
}

.w2d-eventCard__providerHeader {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: background .18s ease;
}

.w2d-eventCard__providerHeader:hover,
.w2d-eventCard__providerHeader:focus-visible {
  background: rgba(17,24,39,.025);
  outline: none;
}

.w2d-eventCard__providerMain {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
}

.w2d-eventCard__providerLogoWrap {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  overflow: hidden;
  flex: 0 0 46px;
  border: 1px solid rgba(17,24,39,.08);
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.74);
}

.w2d-eventCard__providerLogoWrap--fallback {
  color: #4b5563;
  font-size: 18px;
  font-weight: 800;
}

.w2d-eventCard__providerLogo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w2d-eventCard__providerText {
  min-width: 0;
  flex: 1 1 auto;
}

.w2d-eventCard__providerLabel {
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(17,24,39,.46);
  margin-bottom: 4px;
}

.w2d-eventCard__providerName {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  color: #111827;
  word-break: break-word;
}

.w2d-eventCard__providerChevron {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(17,24,39,.54);
  transition: transform .18s ease, color .18s ease;
}

.w2d-eventCard__provider.is-expanded .w2d-eventCard__providerChevron {
  transform: rotate(180deg);
  color: #111827;
}

.w2d-eventCard__providerContacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(17,24,39,.05);
  background: rgba(248,249,251,.92);
}

.w2d-eventCard__providerContacts[hidden] {
  display: none !important;
}

.w2d-eventCard__providerAction {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.08);
  background: rgba(255,255,255,.88);
  color: #111827;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition:
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease,
    color .18s ease;
}

.w2d-eventCard__providerAction:hover,
.w2d-eventCard__providerAction:focus-visible {
  background: rgba(255,255,255,.98);
  border-color: rgba(124,92,255,.16);
  box-shadow: 0 8px 20px rgba(15,23,42,.08);
  transform: translateY(-1px);
  outline: none;
}

.w2d-eventCard__providerActionIcon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  flex: 0 0 18px;
}

.w2d-eventCard__providerActionText {
  display: inline-block;
  line-height: 1;
}

/* -----------------------------------
   Detail takeover view
----------------------------------- */

.w2d-eventDetailCard {
  padding: 12px;
}

.w2d-explorer .w2d-eventDetailCard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.w2d-explorer .w2d-eventDetailCard__topActions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.w2d-explorer button.w2d-eventDetailCard__back {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  border: 1px solid rgba(17,24,39,.08) !important;
  background: rgba(255,255,255,.78) !important;
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow:
    0 8px 18px rgba(15,23,42,.06),
    inset 0 1px 0 rgba(255,255,255,.82) !important;
  transition:
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease !important;
}

.w2d-explorer button.w2d-eventDetailCard__back:hover,
.w2d-explorer button.w2d-eventDetailCard__back:focus-visible {
  background: rgba(255,255,255,.96) !important;
  border-color: rgba(17,24,39,.10) !important;
  box-shadow: 0 12px 24px rgba(15,23,42,.08) !important;
  transform: translateY(-1px) !important;
  outline: none !important;
}

.w2d-explorer button.w2d-eventDetailCard__back:active {
  transform: translateY(0) !important;
}

.w2d-eventDetailCard__heroWrap {
  position: relative;
}

.w2d-eventDetailCard__hero {
  position: relative;
  width: 100%;
  height: clamp(190px, 32vw, 280px);
  overflow: hidden;
  border-radius: 24px;
  background: #e9edf2;
  box-shadow:
    0 12px 28px rgba(15,23,42,.08),
    inset 0 1px 0 rgba(255,255,255,.60);
}

.w2d-eventDetailCard__heroImage {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w2d-eventDetailCard__body {
  margin-top: 12px;
  padding: 18px;
  border: 1px solid rgba(17,24,39,.06);
  background: rgba(255,255,255,.94);
  border-radius: 24px;
  box-shadow:
    0 10px 28px rgba(15,23,42,.06),
    0 1px 2px rgba(15,23,42,.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.w2d-eventDetailCard__shell {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.w2d-eventDetailCard__dateCol {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.w2d-eventDetailCard__main {
  min-width: 0;
}

.w2d-eventDetailCard__title {
  margin: 0;
  font-size: 26px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
}

.w2d-eventDetailCard__summary {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(17,24,39,.70);
}

/* detail provider */

.w2d-eventDetailCard__providerBlock {
  margin-top: 18px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(17,24,39,.06);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(246,247,249,.95) 100%);
  box-shadow:
    0 8px 18px rgba(15,23,42,.05),
    inset 0 1px 0 rgba(255,255,255,.84);
}

.w2d-eventDetailCard__providerHeader {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.w2d-eventDetailCard__providerLogoWrap {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  overflow: hidden;
  flex: 0 0 52px;
  border: 1px solid rgba(17,24,39,.08);
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.80);
}

.w2d-eventDetailCard__providerLogoWrap--fallback {
  color: #4b5563;
  font-size: 18px;
  font-weight: 800;
}

.w2d-eventDetailCard__providerLogo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w2d-eventDetailCard__providerMeta {
  min-width: 0;
  flex: 1 1 auto;
}

.w2d-eventDetailCard__providerEyebrow {
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(124,92,255,.88);
  margin-bottom: 4px;
}

.w2d-eventDetailCard__providerName {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
  color: #111827;
  word-break: break-word;
}

.w2d-eventDetailCard__providerActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.w2d-eventDetailCard__providerAction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.08);
  background: rgba(255,255,255,.90);
  color: #111827;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  box-shadow:
    0 8px 18px rgba(15,23,42,.05),
    inset 0 1px 0 rgba(255,255,255,.84);
  transition:
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease,
    color .18s ease;
}

.w2d-eventDetailCard__providerAction:hover,
.w2d-eventDetailCard__providerAction:focus-visible {
  background: rgba(255,255,255,.98);
  border-color: rgba(124,92,255,.16);
  box-shadow: 0 10px 22px rgba(15,23,42,.08);
  transform: translateY(-1px);
  outline: none;
}

.w2d-eventDetailCard__providerActionIcon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(17,24,39,.68);
}

.w2d-eventDetailCard__providerActionIcon svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}

/* -----------------------------------
   CTA / detail action row
----------------------------------- */

.w2d-eventCard__actions {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.w2d-eventCard__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #7c5cff;
  background: #7c5cff;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transition:
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.w2d-eventCard__cta:hover,
.w2d-eventCard__cta:focus-visible {
  background: #6f4cff;
  border-color: #6f4cff;
  box-shadow: 0 10px 24px rgba(124,92,255,.24);
  transform: translateY(-1px);
  outline: none;
}

.w2d-eventCard__cta:active {
  transform: translateY(0);
}

.w2d-explorer button.w2d-eventDetailCard__secondaryBtn {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 40px !important;
  padding: 0 16px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  border: 1px solid rgba(17,24,39,.08) !important;
  background: rgba(255,255,255,.90) !important;
  color: #111827 !important;
  cursor: pointer !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  box-shadow:
    0 8px 18px rgba(15,23,42,.05),
    inset 0 1px 0 rgba(255,255,255,.84) !important;
  transition:
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .12s ease,
    color .18s ease !important;
}

.w2d-explorer button.w2d-eventDetailCard__secondaryBtn:hover,
.w2d-explorer button.w2d-eventDetailCard__secondaryBtn:focus-visible {
  background: rgba(255,255,255,.98) !important;
  border-color: rgba(17,24,39,.12) !important;
  box-shadow: 0 10px 22px rgba(15,23,42,.08) !important;
  transform: translateY(-1px) !important;
  outline: none !important;
}

.w2d-explorer button.w2d-eventDetailCard__secondaryBtn:active {
  transform: scale(.97) !important;
  box-shadow:
    0 6px 14px rgba(15,23,42,.06),
    inset 0 2px 4px rgba(15,23,42,.06) !important;
}

.w2d-explorer button.w2d-eventDetailCard__secondaryBtn.is-active {
  color: #7c5cff !important;
  border-color: rgba(124,92,255,.24) !important;
  background: linear-gradient(180deg, rgba(124,92,255,.16) 0%, rgba(124,92,255,.10) 100%) !important;
  box-shadow:
    0 10px 22px rgba(124,92,255,.16),
    inset 0 1px 0 rgba(255,255,255,.84) !important;
}

.w2d-explorer button.w2d-eventDetailCard__secondaryBtn svg {
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  min-height: 15px !important;
  display: block !important;
  fill: currentColor !important;
  pointer-events: none !important;
  transition: transform .14s ease !important;
}

.w2d-explorer button.w2d-eventDetailCard__secondaryBtn.is-active svg {
  transform: scale(1.06) !important;
}

.w2d-explorer button.w2d-eventDetailCard__secondaryBtn span {
  display: inline-block !important;
  line-height: 1 !important;
}

/* -----------------------------------
   Animation helpers
----------------------------------- */

.w2d-eventCard.is-animating-select {
  animation: w2dCardPop .24s ease;
}

@keyframes w2dCardPop {
  0% { transform: scale(.985); }
  100% { transform: scale(1); }
}

/* -----------------------------------
   Mobile
----------------------------------- */

@media (max-width: 767px) {
  .w2d-eventsList {
    gap: 12px;
    padding: 12px;
  }

  .w2d-eventCard__body {
    padding: 14px;
  }

  .w2d-eventCard--half .w2d-eventCard__body {
    padding: 13px 14px;
  }

  .w2d-eventCard--full .w2d-eventCard__body {
    padding: 14px 14px 16px;
  }

  .w2d-explorer .w2d-eventCard__utility {
    top: 10px;
    right: 10px;
    gap: 6px;
  }

  .w2d-explorer .w2d-eventCard__heroUtility {
    top: 10px;
    right: 10px;
  }

  .w2d-explorer button.w2d-eventCard__iconBtn,
  .w2d-explorer button.w2d-eventDetailCard__iconBtn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }

  .w2d-explorer button.w2d-eventCard__iconBtn svg,
  .w2d-explorer button.w2d-eventDetailCard__iconBtn svg {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    min-height: 15px !important;
  }

  .w2d-eventCard__shell,
  .w2d-eventCard--full .w2d-eventCard__shell,
  .w2d-eventDetailCard__shell {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 12px;
  }

  .w2d-eventCard__dateBadge {
    width: 56px;
    min-height: 68px;
    padding: 8px 6px;
    border-radius: 16px;
  }

  .w2d-eventCard__dateWeekday {
    font-size: 9px;
  }

  .w2d-eventCard__dateDay {
    font-size: 22px;
  }

  .w2d-eventCard__dateMonth {
    font-size: 9px;
  }

  .w2d-eventCard__title {
    font-size: 18px;
  }

  .w2d-eventCard--half .w2d-eventCard__title {
    font-size: 17px;
    padding-right: 78px;
  }

  .w2d-eventCard--full .w2d-eventCard__title {
    font-size: 18px;
    padding-right: 0;
  }

  .w2d-eventCard__providerLine {
    font-size: 10px;
    margin-bottom: 5px;
    padding-right: 78px;
  }

  .w2d-eventCard--full .w2d-eventCard__providerLine {
    padding-right: 0;
  }

  .w2d-eventCard__peekRow {
    padding-right: 78px;
  }

  .w2d-eventDetailCard {
    padding: 10px;
  }

  .w2d-explorer .w2d-eventDetailCard__top {
    margin-bottom: 8px;
    gap: 10px;
  }

  .w2d-explorer .w2d-eventDetailCard__topActions {
    gap: 6px;
  }

  .w2d-explorer button.w2d-eventDetailCard__back {
    min-height: 36px !important;
    padding: 0 13px !important;
    font-size: 12px !important;
  }

  .w2d-eventDetailCard__hero {
    height: 190px;
    border-radius: 20px;
  }

  .w2d-eventDetailCard__body {
    margin-top: 10px;
    padding: 14px;
    border-radius: 20px;
  }

  .w2d-eventDetailCard__title {
    font-size: 22px;
  }

  .w2d-eventDetailCard__summary {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.6;
  }

  .w2d-eventDetailCard__providerBlock {
    margin-top: 16px;
    padding: 12px;
    border-radius: 18px;
  }

  .w2d-eventDetailCard__providerLogoWrap {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    border-radius: 14px;
  }

  .w2d-eventDetailCard__providerName {
    font-size: 14px;
  }

  .w2d-eventDetailCard__providerActions {
    gap: 8px;
    margin-top: 12px;
  }

  .w2d-eventDetailCard__providerAction {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .w2d-explorer button.w2d-eventDetailCard__secondaryBtn {
    min-height: 36px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
  }

  .w2d-explorer button.w2d-eventDetailCard__secondaryBtn svg {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
  }

  .w2d-eventCard__metaCompact {
    font-size: 12px;
    gap: 4px 8px;
  }

  .w2d-eventCard__metaRow {
    margin-top: 8px;
    font-size: 12px;
    gap: 4px 8px;
  }

  .w2d-eventCard__timeRow {
    margin-top: 7px;
  }

  .w2d-eventCard__time {
    min-height: 26px;
    padding: 0 9px;
    font-size: 11px;
  }

  .w2d-eventCard__organiser {
    font-size: 12px;
  }

  .w2d-eventCard__excerpt {
    font-size: 13px;
  }

  .w2d-eventCard__hero {
    height: 180px;
  }

  .w2d-eventCard__infoBox {
    padding: 12px;
    border-radius: 16px;
  }

  .w2d-eventCard__provider {
    border-radius: 16px;
    margin-top: 12px;
  }

  .w2d-eventCard__providerHeader {
    padding: 11px 12px;
  }

  .w2d-eventCard__providerLogoWrap {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 12px;
  }

  .w2d-eventCard__providerName {
    font-size: 13px;
  }

  .w2d-eventCard__providerContacts {
    gap: 8px;
    padding: 10px 12px 12px;
  }

  .w2d-eventCard__providerAction {
    min-height: 38px;
    padding: 0 11px;
    font-size: 12px;
  }

  .w2d-eventCard__cta {
    min-height: 36px;
    padding: 0 14px;
    font-size: 12px;
  }

  .w2d-badge {
    min-height: 26px;
    padding: 0 9px;
    font-size: 11px;
  }

  .w2d-eventCard--peek .w2d-eventCard__body {
    padding: 11px 12px;
  }

  .w2d-eventCard__peekChip {
    min-height: 28px;
    padding: 0 10px;
    font-size: 11px;
  }

  .w2d-eventCard--peek .w2d-eventCard__title {
    font-size: 14px;
  }
}