.appt-media-v2 {
  --appt-media-ink: #07142f;
  --appt-media-muted: #5f6981;
  --appt-media-line: #e2e5ed;
  --appt-media-soft: #f7f7fb;
  --appt-media-pink: #e70088;
  --appt-media-purple: #5b28e6;
  --appt-media-navy: #020d28;
  --appt-media-radius: 14px;
  --appt-media-gutter: clamp(18px, 4.2vw, 82px);
  --appt-media-shadow: 0 14px 38px rgba(15, 27, 60, 0.08);

  isolation: isolate;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow-x: clip;
  color: var(--appt-media-ink);
  background:
    radial-gradient(circle at 99% 12%, rgba(94, 40, 230, 0.055), transparent 22rem),
    linear-gradient(180deg, #fff 0%, #fff 86%, #fafafe 100%);
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}

.appt-media-v2,
.appt-media-v2 *,
.appt-media-v2 *::before,
.appt-media-v2 *::after {
  box-sizing: border-box;
}

/* Local compatibility reset for the legacy theme. */
.appt-media-v2 :where(header, main, section, article, aside, nav, figure, figcaption, form, div) {
  min-width: 0;
}

.appt-media-v2 :where(header, h1, h2, h3, h4, h5, h6, p, figure, ul, ol) {
  margin-top: 0;
}

.appt-media-v2 :where(h1, h2, h3, h4, h5, h6) {
  font-family: inherit;
  text-align: inherit;
}

.appt-media-v2 header {
  margin: 0 !important;
}

.appt-media-v2 img {
  display: block;
}

/* The theme declares `header img { max-width: 300px !important; }`. */
.appt-media-v2 header img {
  max-width: 100% !important;
}

.appt-media-v2 a,
.appt-media-v2 a:hover,
.appt-media-v2 a:focus {
  color: inherit;
}

.appt-media-v2 button,
.appt-media-v2 input,
.appt-media-v2 select,
.appt-media-v2 textarea {
  font-family: inherit;
}

.appt-media-v2[aria-busy="true"] {
  cursor: progress;
}

.appt-media-v2 [hidden] {
  display: none !important;
}

.appt-media-v2 img,
.appt-media-v2 video,
.appt-media-v2 iframe,
.appt-media-v2 svg {
  max-width: 100%;
}

.appt-media-v2 button,
.appt-media-v2 input,
.appt-media-v2 select {
  max-width: 100%;
  font: inherit;
}

.appt-media-v2 button,
.appt-media-v2 a {
  -webkit-tap-highlight-color: transparent;
}

.appt-media-v2 a {
  color: inherit;
}

.appt-media-v2__shell {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0 auto;
  padding: clamp(34px, 4.2vw, 72px) var(--appt-media-gutter) clamp(48px, 5vw, 84px);
}

.appt-media-v2-home,
.appt-media-v2-detail,
.appt-media-v2-hero,
.appt-media-v2-featured,
.appt-media-v2-events,
.appt-media-v2-event-summary,
.appt-media-v2-detail-controls,
.appt-media-v2-gallery,
.appt-media-v2-gallery__grid,
.appt-media-v2-search-results {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.appt-media-v2-eyebrow {
  display: block;
  margin: 0 0 14px;
  color: #8d19c1;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.appt-media-v2-title-line {
  display: block;
  width: 54px;
  height: 3px;
  margin: 18px 0 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--appt-media-pink), var(--appt-media-purple));
}

.appt-media-v2-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(540px, 1.42fr);
  align-items: center;
  gap: clamp(38px, 6vw, 96px);
  min-height: 420px;
  padding: 0 0 clamp(30px, 4vw, 54px);
}

.appt-media-v2-hero__copy {
  min-width: 0;
  max-width: 650px;
}

.appt-media-v2-hero__copy h1 {
  max-width: 710px;
  margin: 0;
  color: var(--appt-media-ink);
  font-size: clamp(46px, 5.3vw, 88px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.appt-media-v2-hero__copy p {
  max-width: 580px;
  margin: 0;
  color: #26324d;
  font-size: clamp(16px, 1.22vw, 21px);
  line-height: 1.55;
}

.appt-media-v2-featured {
  position: relative;
  min-width: 0;
}

.appt-media-v2-featured__viewport {
  position: relative;
  min-height: clamp(350px, 34vw, 520px);
  overflow: hidden;
  border-radius: 12px;
  background: var(--appt-media-navy);
  box-shadow: 0 20px 50px rgba(4, 17, 47, 0.2);
}

.appt-media-v2-featured__slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  align-items: end;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.015);
  transition: opacity 0.45s ease, visibility 0.45s ease, transform 0.75s ease;
  pointer-events: none;
}

.appt-media-v2-featured__slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}

.appt-media-v2-featured__image,
.appt-media-v2-featured__slide .appt-media-v2-featured__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.appt-media-v2-featured__image {
  display: block;
  max-width: none !important;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: translateZ(0);
}

.appt-media-v2-featured__shade {
  background: linear-gradient(90deg, rgba(2, 10, 28, 0.92) 0%, rgba(2, 10, 28, 0.62) 43%, rgba(2, 10, 28, 0.08) 76%);
}

.appt-media-v2-featured__content {
  position: relative;
  z-index: 2;
  width: min(68%, 570px);
  min-width: 0;
  padding: clamp(26px, 4vw, 58px);
  color: #fff;
}

.appt-media-v2-featured__content h2 {
  margin: 14px 0 16px;
  color: #fff;
  font-size: clamp(28px, 3vw, 49px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
}

.appt-media-v2-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 5px 10px;
  border: 1px solid rgba(255, 63, 176, 0.65);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, rgba(231, 0, 136, 0.92), rgba(91, 40, 230, 0.92));
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.appt-media-v2-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 18px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 600;
}

.appt-media-v2-meta-row > span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 7px;
}

.appt-media-v2-meta-row svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
}

.appt-media-v2-meta-row--dark {
  color: #616b82;
  font-size: 14px;
}

.appt-media-v2-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.appt-media-v2-button svg {
  width: 18px;
  height: 18px;
}

.appt-media-v2-button:hover,
.appt-media-v2-button:focus-visible {
  transform: translateY(-2px);
}

.appt-media-v2-button--light {
  margin-top: 24px;
  color: #c40079 !important;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.appt-media-v2-button--gradient {
  color: #fff !important;
  background: linear-gradient(90deg, var(--appt-media-pink), var(--appt-media-purple));
  box-shadow: 0 12px 28px rgba(174, 0, 172, 0.24);
}

.appt-media-v2-button--dark {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(6, 15, 37, 0.72);
}

.appt-media-v2-featured__dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  transform: translateX(-50%);
}

.appt-media-v2-featured__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.appt-media-v2-featured__dots button.is-active {
  width: 22px;
  background: var(--appt-media-pink);
}

.appt-media-v2-filterbar,
.appt-media-v2-detail-controls {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) auto minmax(320px, 1fr);
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 0 20px;
  padding: 16px;
  border: 1px solid var(--appt-media-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--appt-media-shadow);
}

.appt-media-v2-filterbar select,
.appt-media-v2-detail-controls select,
.appt-media-v2-search input {
  width: 100%;
  min-width: 0;
  height: 48px;
  margin: 0;
  border: 1px solid #dfe3ec;
  border-radius: 8px;
  color: var(--appt-media-ink);
  background-color: #fff;
  font-size: 13px;
  font-weight: 650;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.appt-media-v2-filterbar select,
.appt-media-v2-detail-controls select {
  padding: 0 42px 0 14px;
}

.appt-media-v2-filterbar select:focus,
.appt-media-v2-detail-controls select:focus,
.appt-media-v2-search input:focus {
  border-color: #8f51e9;
  box-shadow: 0 0 0 3px rgba(91, 40, 230, 0.1);
}

.appt-media-v2-type-filter,
.appt-media-v2-detail-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.appt-media-v2-type-filter button,
.appt-media-v2-detail-tabs button {
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid #e0e3eb;
  border-radius: 999px;
  color: var(--appt-media-ink);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.appt-media-v2-type-filter button.is-active,
.appt-media-v2-detail-tabs button.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(90deg, var(--appt-media-pink), var(--appt-media-purple));
  box-shadow: 0 8px 22px rgba(139, 19, 194, 0.2);
}

.appt-media-v2-search {
  position: relative;
  display: block;
  min-width: 0;
}

.appt-media-v2-search > svg {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 15px;
  width: 19px;
  height: 19px;
  color: #4b566e;
  transform: translateY(-50%);
  pointer-events: none;
}

.appt-media-v2-search input {
  padding: 0 48px 0 16px;
}

.appt-media-v2-events__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* The legacy header CSS adds a full-card ::after overlay that darkens the card and blocks links. */
.appt-media-v2 .mc-event-card::before,
.appt-media-v2 .mc-event-card::after {
  content: none !important;
  display: none !important;
  pointer-events: none !important;
  background: none !important;
}

.appt-media-v2 .mc-event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid #dfe2ea;
  border-radius: 10px;
  color: var(--appt-media-ink);
  background: #fff;
  box-shadow: 0 8px 24px rgba(18, 33, 67, 0.055);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.appt-media-v2 .mc-event-card:hover {
  z-index: 2;
  border-color: rgba(125, 36, 223, 0.4);
  box-shadow: 0 18px 42px rgba(18, 33, 67, 0.13);
  transform: translateY(-4px);
}

.appt-media-v2 .mc-event-card__media {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 0;
  aspect-ratio: 16 / 7.15;
  overflow: hidden;
  color: #fff;
  background: var(--appt-media-navy);
  text-decoration: none !important;
}

.appt-media-v2 .mc-event-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 10, 29, 0.06) 38%, rgba(2, 10, 29, 0.55) 100%);
  pointer-events: none;
}

.appt-media-v2 .mc-event-card__media img,
.appt-media-v2 .mc-event-card__fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.appt-media-v2 .mc-event-card:hover .mc-event-card__media img {
  transform: scale(1.035);
}

.appt-media-v2 .mc-event-card__fallback {
  background:
    radial-gradient(circle at 78% 24%, rgba(231, 0, 136, 0.72), transparent 30%),
    linear-gradient(135deg, #07142f, #5520c8);
}

.appt-media-v2 .mc-event-card__stats {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.appt-media-v2 .mc-event-card__stats > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 27px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  color: #fff;
  background: rgba(2, 10, 29, 0.82);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 800;
}

.appt-media-v2 .mc-event-card__stats svg {
  width: 14px;
  height: 14px;
}

.appt-media-v2 .mc-event-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 17px 18px 15px;
  background: #fff;
}

.appt-media-v2 .mc-event-card__body a {
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

.appt-media-v2 .mc-event-card__body h2 {
  margin: 0 0 8px;
  color: var(--appt-media-ink);
  font-size: clamp(18px, 1.38vw, 24px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.appt-media-v2 .mc-event-card__body h2 a {
  text-decoration: none !important;
}

.appt-media-v2 .mc-event-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 9px;
  margin: 0 0 14px;
  color: #687189;
  font-size: 12px;
  font-weight: 600;
}

.appt-media-v2 .mc-event-card__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  margin-top: auto;
  padding: 8px 13px;
  border: 1px solid #e518a0;
  border-radius: 6px;
  color: #cc087d;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none !important;
}

.appt-media-v2 .mc-event-card__link svg {
  width: 14px;
  height: 14px;
}

.appt-media-v2-no-results,
.appt-media-v2-error {
  width: 100%;
  margin: 22px 0;
  padding: 18px 20px;
  border: 1px solid #ffd1e9;
  border-radius: 10px;
  color: #9b135f;
  background: #fff5fa;
  font-weight: 700;
}

.appt-media-v2-guidelines {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: clamp(26px, 3vw, 42px);
  padding: 18px 24px;
  border: 1px solid #d9c8f6;
  border-radius: 10px;
  background: linear-gradient(90deg, #f8f2ff, #fbf9ff);
}

.appt-media-v2-guidelines__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 7px solid #e6d5ff;
  border-radius: 50%;
  color: #6e29dc;
  background: #fff;
}

.appt-media-v2-guidelines__icon svg {
  width: 25px;
  height: 25px;
}

.appt-media-v2-guidelines strong {
  display: block;
  margin-bottom: 2px;
  color: var(--appt-media-ink);
  font-size: 14px;
  font-weight: 900;
}

.appt-media-v2-guidelines p {
  max-width: 980px;
  margin: 0;
  color: #5d6680;
  font-size: 12px;
  line-height: 1.55;
}

.appt-media-v2-guidelines > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #e0e2ea;
  border-radius: 7px;
  color: var(--appt-media-ink);
  background: #fff;
  box-shadow: 0 6px 18px rgba(31, 25, 65, 0.06);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
}

.appt-media-v2-guidelines > a svg {
  width: 16px;
  height: 16px;
}

.appt-media-v2-search-results {
  margin: 0 0 28px;
  padding: 20px;
  border: 1px solid var(--appt-media-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--appt-media-shadow);
}

.appt-media-v2-search-results__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
}

.appt-media-v2-search-results__head h2 {
  margin: 0;
  color: var(--appt-media-ink);
  font-size: 22px;
  font-weight: 900;
}

.appt-media-v2-search-results__head span {
  color: #7a3ce7;
  font-size: 13px;
  font-weight: 800;
}

.appt-media-v2-search-results__loading,
.appt-media-v2-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 120px;
  color: #5e687e;
  font-size: 14px;
  font-weight: 800;
}

.appt-media-v2-search-results__loading > span,
.appt-media-v2-loading > span {
  width: 24px;
  height: 24px;
  border: 3px solid #e4d9f8;
  border-top-color: var(--appt-media-purple);
  border-radius: 50%;
  animation: appt-media-spin 0.8s linear infinite;
}

@keyframes appt-media-spin {
  to { transform: rotate(360deg); }
}

/* Event detail */
.appt-media-v2-detail__topline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
}

.appt-media-v2-detail__kicker {
  grid-column: 2;
  margin: 0;
  color: var(--appt-media-ink);
  font-size: clamp(36px, 4vw, 66px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
  text-align: center;
}

.appt-media-v2 .media-back-btn {
  grid-column: 1;
  justify-self: start;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--appt-media-ink);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.appt-media-v2 .media-back-btn:hover,
.appt-media-v2 .media-back-btn:focus-visible {
  color: #8a1bc3;
  background: transparent;
}

.appt-media-v2-event-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.72fr);
  align-items: start;
  gap: clamp(36px, 7vw, 120px);
  margin: 0 0 24px;
  padding: clamp(30px, 3.6vw, 58px);
  border: 1px solid var(--appt-media-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--appt-media-shadow);
}

.appt-media-v2-event-summary__copy {
  min-width: 0;
}

.appt-media-v2-event-summary__copy h1 {
  max-width: 950px;
  margin: 0 0 18px;
  color: var(--appt-media-ink);
  font-size: clamp(34px, 3.6vw, 62px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.appt-media-v2-event-summary__description {
  max-width: 900px;
  margin-top: 22px;
  color: #4f5970;
  font-size: 13px;
  line-height: 1.55;
}

.appt-media-v2-event-summary__description p {
  margin: 0 0 14px;
}

.appt-media-v2-event-summary__description p:last-child {
  margin-bottom: 0;
}

.appt-media-v2-event-summary__hashtags {
  margin: 16px 0 0;
  color: #c30a83;
  font-size: 13px;
  font-weight: 700;
}

.appt-media-v2-event-summary__counts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: start;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--appt-media-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(24, 35, 69, 0.06);
}

.appt-media-v2-event-summary__counts > div {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  align-items: center;
  justify-content: center;
  gap: 0 12px;
  min-width: 0;
  padding: clamp(24px, 2.6vw, 42px) 18px;
}

.appt-media-v2-event-summary__counts > div + div {
  border-left: 1px solid var(--appt-media-line);
}

.appt-media-v2-event-summary__counts > div > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #5f2ce2;
  background: #f3efff;
}

.appt-media-v2-event-summary__counts svg {
  width: 25px;
  height: 25px;
}

.appt-media-v2-event-summary__counts strong {
  color: var(--appt-media-ink);
  font-size: clamp(25px, 2.2vw, 38px);
  font-weight: 900;
  line-height: 1;
}

.appt-media-v2-event-summary__counts small {
  color: #5f6980;
  font-size: 12px;
  font-weight: 650;
}

.appt-media-v2-detail-controls {
  grid-template-columns: minmax(250px, 0.8fr) auto minmax(520px, 1.5fr);
}

.appt-media-v2-detail-tabs {
  gap: 0;
  height: 100%;
  border-left: 1px solid #e1e4ec;
  border-right: 1px solid #e1e4ec;
  border-radius: 0;
}

.appt-media-v2-detail-tabs button {
  position: relative;
  min-height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.appt-media-v2-detail-tabs button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -16px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: transparent;
}

.appt-media-v2-detail-tabs button.is-active {
  color: #d10b86;
  background: transparent;
  box-shadow: none;
}

.appt-media-v2-detail-tabs button.is-active::after {
  background: linear-gradient(90deg, var(--appt-media-pink), var(--appt-media-purple));
}

.appt-media-v2-detail-controls__right {
  display: grid;
  grid-template-columns: minmax(120px, 0.55fr) minmax(160px, 0.72fr) minmax(230px, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.appt-media-v2-gallery {
  min-height: 220px;
}

.appt-media-v2-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 22px);
}

.appt-media-v2-media-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfe3ec;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(20, 32, 66, 0.055);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.appt-media-v2-media-card:hover {
  border-color: rgba(120, 45, 222, 0.35);
  box-shadow: 0 15px 36px rgba(20, 32, 66, 0.13);
  transform: translateY(-3px);
}

.appt-media-v2-media-card__media {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: #fff;
  background: var(--appt-media-navy);
  cursor: zoom-in;
}

.appt-media-v2-media-card--video .appt-media-v2-media-card__media {
  aspect-ratio: 16 / 10;
  cursor: pointer;
}

.appt-media-v2-media-card__media > img,
.appt-media-v2-media-card__media > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.38s ease, filter 0.38s ease;
}

.appt-media-v2-media-card:hover .appt-media-v2-media-card__media > img,
.appt-media-v2-media-card:hover .appt-media-v2-media-card__media > video {
  transform: scale(1.025);
}

.appt-media-v2-media-card__format {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  min-width: 34px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  color: #fff;
  background: rgba(3, 13, 39, 0.8);
  backdrop-filter: blur(7px);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.appt-media-v2-media-card__overlay {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
  padding: 30px 12px 12px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(3, 10, 28, 0.86));
  font-size: 10px;
  font-weight: 650;
  text-align: left;
}

.appt-media-v2-media-card__overlay > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.appt-media-v2-media-card__overlay svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.appt-media-v2-media-card__play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: #fff;
  background: rgba(4, 14, 38, 0.72);
  backdrop-filter: blur(8px);
  transform: translate(-50%, -50%);
}

.appt-media-v2-media-card__play svg {
  width: 30px;
  height: 30px;
}

.appt-media-v2-media-card__details {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 11px 13px 10px;
  border-top: 1px solid #edf0f5;
  background: #fff;
  text-align: left;
}

.appt-media-v2-media-card__details strong {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  color: var(--appt-media-ink);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.appt-media-v2-media-card__details span {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #7a8397;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 9px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.appt-media-v2-media-card__details span[hidden] {
  display: none !important;
}

.appt-media-v2-media-card__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 47px;
  padding: 10px 14px;
  border-top: 1px solid #edf0f5;
  color: var(--appt-media-ink);
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none !important;
}

.appt-media-v2-media-card__download svg {
  width: 16px;
  height: 16px;
  color: #c00a83;
}

.appt-media-v2-empty {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 30px;
  border: 1px dashed #cfd4df;
  border-radius: 12px;
  color: #697289;
  background: #fafbfe;
  text-align: center;
}

.appt-media-v2-empty p {
  margin: 0;
  font-weight: 700;
}

/* Full-screen viewer */
html.appt-media-lightbox-open,
body.appt-media-lightbox-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.appt-media-v2-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  width: 100%;
  max-width: 100%;
  height: 100dvh;
  min-width: 0;
  overflow: hidden auto;
  color: #fff;
}

.appt-media-v2-lightbox__backdrop,
.appt-media-v2-lightbox__blur {
  position: fixed;
  inset: 0;
}

.appt-media-v2-lightbox__backdrop {
  z-index: 0;
  background: rgba(1, 8, 23, 0.93);
}

.appt-media-v2-lightbox__blur {
  z-index: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.18;
  filter: blur(34px) saturate(0.78);
  transform: scale(1.1);
}

.appt-media-v2-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(64px, 0.14fr) minmax(0, 1fr) minmax(64px, 0.14fr);
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  min-height: 100dvh;
  min-width: 0;
  padding: clamp(26px, 3.6vw, 58px) clamp(22px, 4.2vw, 72px) 26px;
}

.appt-media-v2-lightbox__brand {
  position: fixed;
  z-index: 5;
  top: clamp(24px, 3.2vw, 48px);
  left: clamp(22px, 4.2vw, 72px);
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 9px;
  color: #fff;
}

.appt-media-v2-lightbox__brand-mark {
  grid-row: 1 / 3;
  color: #e5008c;
  font-size: 34px;
  line-height: 1;
}

.appt-media-v2-lightbox__brand strong {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0.3em;
  line-height: 1;
}

.appt-media-v2-lightbox__brand small {
  margin-top: 4px;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.appt-media-v2-lightbox__close {
  position: fixed;
  z-index: 5;
  top: clamp(24px, 3.2vw, 48px);
  right: clamp(22px, 4.2vw, 72px);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  background: rgba(5, 13, 31, 0.42);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.appt-media-v2-lightbox__close svg {
  width: 27px;
  height: 27px;
}

.appt-media-v2-lightbox__stage {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  display: grid;
  place-items: center;
  width: min(100%, 1180px);
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  margin: clamp(46px, 5vw, 80px) auto 0;
}

.appt-media-v2-lightbox__stage img,
.appt-media-v2-lightbox__stage video {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(70dvh, 980px);
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.appt-media-v2-lightbox__nav {
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  background: rgba(4, 12, 30, 0.52);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.appt-media-v2-lightbox__nav svg {
  width: 29px;
  height: 29px;
}

.appt-media-v2-lightbox__nav--prev {
  grid-column: 1;
  grid-row: 2;
  transform: rotate(180deg);
}

.appt-media-v2-lightbox__nav--next {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
}

.appt-media-v2-lightbox__panel {
  grid-column: 1 / 4;
  grid-row: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1.1fr);
  align-items: center;
  gap: 24px;
  width: min(100%, 1450px);
  max-width: 100%;
  min-width: 0;
  margin: 6px auto 0;
  padding: 20px 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  background: rgba(2, 10, 28, 0.67);
  backdrop-filter: blur(18px);
}

.appt-media-v2-lightbox__event {
  min-width: 0;
}

.appt-media-v2-lightbox__event > strong {
  display: block;
  margin: 9px 0 8px;
  overflow-wrap: anywhere;
  font-size: clamp(15px, 1.5vw, 22px);
  font-weight: 800;
  line-height: 1.2;
}

.appt-media-v2-lightbox__asset {
  display: grid;
  gap: 3px;
  max-width: 720px;
  min-width: 0;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.appt-media-v2-lightbox__asset strong {
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
}

.appt-media-v2-lightbox__asset small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.appt-media-v2-lightbox__asset small[hidden] {
  display: none !important;
}

.appt-media-v2-lightbox__counter {
  min-width: 90px;
  padding: 8px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.appt-media-v2-lightbox__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.appt-media-v2-lightbox__actions .appt-media-v2-button {
  min-height: 45px;
  padding: 11px 16px;
  white-space: nowrap;
}

.appt-media-v2-lightbox__legal {
  grid-column: 1 / 4;
  grid-row: 4;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  text-align: center;
}

.appt-media-v2-lightbox__legal a {
  color: #f125a2;
  text-decoration: none;
}

@media (max-width: 1260px) {
  .appt-media-v2-hero {
    grid-template-columns: minmax(280px, 0.78fr) minmax(460px, 1.22fr);
    gap: 38px;
  }

  .appt-media-v2-events__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .appt-media-v2-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .appt-media-v2-detail-controls {
    grid-template-columns: minmax(220px, 0.75fr) auto minmax(380px, 1.2fr);
  }

  .appt-media-v2-detail-controls__right {
    grid-template-columns: minmax(115px, 0.5fr) minmax(150px, 0.65fr) minmax(190px, 1fr);
  }

  .appt-media-v2-lightbox__panel {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .appt-media-v2-lightbox__counter {
    grid-column: 2;
  }

  .appt-media-v2-lightbox__actions {
    grid-column: 1 / 3;
    justify-content: flex-start;
  }
}

@media (max-width: 1024px) {
  .appt-media-v2__shell {
    padding-top: 34px;
  }

  .appt-media-v2-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .appt-media-v2-hero__copy {
    max-width: 820px;
  }

  .appt-media-v2-hero__copy h1 {
    max-width: 850px;
  }

  .appt-media-v2-featured__viewport {
    min-height: 440px;
  }

  .appt-media-v2-filterbar {
    grid-template-columns: minmax(210px, 0.8fr) auto;
  }

  .appt-media-v2-search {
    grid-column: 1 / 3;
  }

  .appt-media-v2-event-summary {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .appt-media-v2-event-summary__counts {
    max-width: 560px;
  }

  .appt-media-v2-detail-controls {
    grid-template-columns: minmax(210px, 1fr) auto;
  }

  .appt-media-v2-detail-controls__right {
    grid-column: 1 / 3;
  }

  .appt-media-v2-detail-tabs button::after {
    bottom: -16px;
  }

  .appt-media-v2-lightbox__dialog {
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    padding-inline: 18px;
  }

  .appt-media-v2-lightbox__brand {
    left: 22px;
  }

  .appt-media-v2-lightbox__close {
    right: 22px;
  }

  .appt-media-v2-lightbox__stage {
    margin-top: 64px;
  }

  .appt-media-v2-lightbox__stage img,
  .appt-media-v2-lightbox__stage video {
    max-height: 66dvh;
  }
}

@media (max-width: 760px) {
  .appt-media-v2 {
    --appt-media-gutter: 16px;
  }

  .appt-media-v2__shell {
    padding-top: 26px;
    padding-bottom: 42px;
  }

  .appt-media-v2-hero {
    gap: 26px;
  }

  .appt-media-v2-hero__copy h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .appt-media-v2-hero__copy p {
    font-size: 15px;
  }

  .appt-media-v2-featured__viewport {
    min-height: 390px;
  }

  .appt-media-v2-featured__shade {
    background: linear-gradient(0deg, rgba(2, 10, 28, 0.96) 0%, rgba(2, 10, 28, 0.38) 68%, rgba(2, 10, 28, 0.05) 100%);
  }

  .appt-media-v2-featured__content {
    width: 100%;
    padding: 28px 22px 40px;
  }

  .appt-media-v2-featured__content h2 {
    font-size: 29px;
  }

  .appt-media-v2-filterbar,
  .appt-media-v2-detail-controls {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }

  .appt-media-v2-type-filter,
  .appt-media-v2-detail-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .appt-media-v2-detail-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 0;
  }

  .appt-media-v2-type-filter button,
  .appt-media-v2-detail-tabs button {
    width: 100%;
    padding-inline: 10px;
  }

  .appt-media-v2-search,
  .appt-media-v2-detail-controls__right {
    grid-column: auto;
  }

  .appt-media-v2-events__grid,
  .appt-media-v2-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .appt-media-v2 .mc-event-card__media {
    aspect-ratio: 16 / 10;
  }

  .appt-media-v2 .mc-event-card__body {
    padding: 14px;
  }

  .appt-media-v2 .mc-event-card__body h2 {
    font-size: 17px;
  }

  .appt-media-v2-guidelines {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 16px;
  }

  .appt-media-v2-guidelines > a {
    grid-column: 1 / 3;
    width: 100%;
    white-space: normal;
  }

  .appt-media-v2-detail__topline {
    grid-template-columns: 1fr;
  }

  .appt-media-v2-detail__kicker {
    grid-column: 1;
    grid-row: 1;
    font-size: 44px;
    text-align: left;
  }

  .appt-media-v2 .media-back-btn {
    grid-column: 1;
    grid-row: 2;
  }

  .appt-media-v2-event-summary {
    padding: 24px 20px;
  }

  .appt-media-v2-event-summary__copy h1 {
    font-size: 35px;
  }

  .appt-media-v2-event-summary__counts > div {
    padding: 22px 12px;
  }

  .appt-media-v2-event-summary__counts > div > span {
    width: 40px;
    height: 40px;
  }

  .appt-media-v2-detail-controls__right {
    grid-template-columns: 1fr 1fr;
  }

  .appt-media-v2-search--detail {
    grid-column: 1 / 3;
  }

  .appt-media-v2-media-card__overlay {
    font-size: 9px;
  }

  .appt-media-v2-lightbox__dialog {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    min-height: 100dvh;
    padding: 76px 12px 20px;
  }

  .appt-media-v2-lightbox__brand {
    top: 20px;
    left: 18px;
  }

  .appt-media-v2-lightbox__brand strong {
    font-size: 18px;
  }

  .appt-media-v2-lightbox__brand small {
    display: none;
  }

  .appt-media-v2-lightbox__close {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }

  .appt-media-v2-lightbox__stage {
    order: 1;
    width: 100%;
    margin: 0;
  }

  .appt-media-v2-lightbox__stage img,
  .appt-media-v2-lightbox__stage video {
    max-height: 58dvh;
    border-radius: 8px;
  }

  .appt-media-v2-lightbox__nav {
    position: fixed;
    z-index: 8;
    top: 47%;
    width: 46px;
    height: 46px;
  }

  .appt-media-v2-lightbox__nav--prev {
    left: 12px;
  }

  .appt-media-v2-lightbox__nav--next {
    right: 12px;
  }

  .appt-media-v2-lightbox__panel {
    order: 2;
    grid-template-columns: 1fr auto;
    gap: 14px;
    width: 100%;
    margin: 0;
    padding: 15px;
  }

  .appt-media-v2-lightbox__counter {
    min-width: 70px;
    padding-inline: 12px;
    border-right: 0;
  }

  .appt-media-v2-lightbox__actions {
    grid-column: 1 / 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .appt-media-v2-lightbox__actions .appt-media-v2-button:last-child {
    grid-column: 1 / 3;
  }

  .appt-media-v2-lightbox__legal {
    order: 3;
  }
}

@media (max-width: 520px) {
  .appt-media-v2-featured__viewport {
    min-height: 410px;
  }

  .appt-media-v2-events__grid,
  .appt-media-v2-gallery__grid {
    grid-template-columns: 1fr;
  }

  .appt-media-v2 .mc-event-card__media {
    aspect-ratio: 16 / 9;
  }

  .appt-media-v2-media-card__media {
    aspect-ratio: 4 / 4.8;
  }

  .appt-media-v2-guidelines {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .appt-media-v2-guidelines__icon {
    margin: 0 auto;
  }

  .appt-media-v2-guidelines > a {
    grid-column: 1;
  }

  .appt-media-v2-event-summary__counts {
    grid-template-columns: 1fr 1fr;
  }

  .appt-media-v2-event-summary__counts > div {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    justify-items: center;
    gap: 6px;
    text-align: center;
  }

  .appt-media-v2-event-summary__counts > div > span {
    grid-row: auto;
  }

  .appt-media-v2-detail-controls__right {
    grid-template-columns: 1fr;
  }

  .appt-media-v2-search--detail {
    grid-column: 1;
  }

  .appt-media-v2-lightbox__panel {
    grid-template-columns: 1fr;
  }

  .appt-media-v2-lightbox__counter,
  .appt-media-v2-lightbox__actions {
    grid-column: 1;
  }

  .appt-media-v2-lightbox__counter {
    width: 100%;
    border: 0;
    text-align: left;
  }

  .appt-media-v2-lightbox__actions {
    grid-template-columns: 1fr;
  }

  .appt-media-v2-lightbox__actions .appt-media-v2-button:last-child {
    grid-column: 1;
  }
}


/* V2.0.2: final protection against legacy theme selectors. */
.appt-media-v2 .appt-media-v2-featured__viewport,
.appt-media-v2 .appt-media-v2-featured__slide,
.appt-media-v2 .appt-media-v2-featured__image {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.appt-media-v2 .appt-media-v2-featured__image {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0;
}

.appt-media-v2 .appt-media-v2-featured__shade {
  z-index: 1;
  pointer-events: none;
}

.appt-media-v2 .mc-event-card,
.appt-media-v2 .mc-event-card__body,
.appt-media-v2 .mc-event-card__link,
.appt-media-v2 .mc-event-card__body h2,
.appt-media-v2 .mc-event-card__body h2 a {
  opacity: 1 !important;
  filter: none !important;
}

.appt-media-v2 .mc-event-card__body,
.appt-media-v2 .mc-event-card__link,
.appt-media-v2 .mc-event-card__body h2 a {
  pointer-events: auto !important;
}

@media (prefers-reduced-motion: reduce) {
  .appt-media-v2 *,
  .appt-media-v2 *::before,
  .appt-media-v2 *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .appt-media-v2-featured,
  .appt-media-v2-filterbar,
  .appt-media-v2-guidelines,
  .appt-media-v2-detail-controls,
  .appt-media-v2-media-card__download,
  .appt-media-v2-lightbox {
    display: none !important;
  }

  .appt-media-v2__shell {
    padding: 0;
  }
}
