.eventsPage.servicePage {
  max-width: none;
  width: 100%;
  margin: 0;
}

.eventsPage .eventsHero {
  display: block;
}

.eventsPage .eventsContent {
  width: min(1440px, calc(100% - 32px));
  max-width: none;
  margin: 0 auto;
  padding: 24px 0 36px;
  display: grid;
  gap: 18px;
}

.navTopLink.active {
  background: #123d74;
  color: #fff;
  border-color: #123d74;
}

.eventsHeaderRow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.eventsHeaderRow h1 {
  margin: 0;
  color: #7c2d83;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.04;
}

.eventsHeaderSignupRow {
  margin: 8px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #334155;
  font-size: 18px;
  font-weight: 700;
}

.eventsHeaderSignupText {
  color: #334155;
}

.eventsCapsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid #c9d8ec;
  background: #eef5ff;
  color: #123d74;
  font-weight: 900;
}

.eventsToolbar {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) repeat(5, minmax(72px, 0.42fr)) auto auto;
  gap: 8px;
  align-items: center;
}

.eventsToolbar input,
.eventsToolbar select,
.eventsNewsletterForm input,
.eventsFormGrid input,
.eventsFormGrid select,
.eventsDetailForm textarea,
.eventsDetailForm input,
.eventsDetailForm select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cfd9ea;
  border-radius: 12px;
  padding: 12px 16px;
  min-height: 48px;
  background: #fff;
  color: #123d74;
  font-size: 16px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.eventsToolbar input:focus,
.eventsToolbar select:focus,
.eventsNewsletterForm input:focus,
.eventsFormGrid input:focus,
.eventsFormGrid select:focus,
.eventsDetailForm textarea:focus,
.eventsDetailForm input:focus,
.eventsDetailForm select:focus {
  outline: none;
  border-color: #31508f;
  box-shadow: 0 0 0 3px rgba(49, 80, 143, 0.12);
}

.eventsGhostBtn,
.eventsSubmitBtn,
.eventsCardBtn {
  border-radius: 12px;
  border: 1px solid #31508f;
  background: #fff;
  color: #123d74;
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.eventsGhostBtn:hover,
.eventsSubmitBtn:hover,
.eventsCardBtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(18, 61, 116, 0.12);
}

.eventsGhostBtn.active,
#eventsFeaturedFilterBtn.active {
  background: #123d74;
  border-color: #123d74;
  color: #fff;
}

.eventsTopRow {
  display: grid;
  gap: 12px;
}

.eventsCalendarToolbar {
  position: relative;
  display: grid;
  justify-items: center;
}

.eventsFeatureCard,
.eventsSidebarCard,
.eventsCard,
.eventsDetailPanel,
.eventsEmptyState {
  border: 1px solid #d9e3f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(18, 61, 116, 0.07);
}

.eventsFeatureCard,
.eventsSidebarCard {
  padding: 14px;
}

.eventsFeatureHeader {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.eventsFeatureHeader h2 {
  margin: 0;
  color: #123d74;
  font-size: 20px;
  line-height: 1.1;
}

.eventsCalendarCompactBar,
.eventsFeaturedSlot,
.eventsCalendarList {
  display: grid;
}

.eventsCalendarCompactBar {
  grid-auto-flow: column;
  align-items: center;
  justify-content: end;
  gap: 10px;
}

.eventsCalendarCompactBarStandalone {
  justify-content: center;
  width: 100%;
}

.eventsFeaturedSlot {
  width: 100%;
  max-width: none;
}

.eventsCalendarList {
  max-width: 330px;
}

.eventsCalendarPopover {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: min(330px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid #d9e3f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(18, 61, 116, 0.12);
}

.eventsCalendarMonthToggle {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid #31508f;
  background: #fff;
  color: #123d74;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, color 120ms ease;
}

.eventsCalendarMonthToggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(18, 61, 116, 0.12);
}

.eventsCalendarMonthToggle.active {
  background: #123d74;
  color: #fff;
  border-color: #123d74;
}

.eventsMain {
  display: grid;
  gap: 14px;
}

.eventsMoreHeading {
  margin: 0;
  color: #123d74;
  font-size: 18px;
  font-weight: 900;
}

.eventsCardsGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.eventsCard {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.eventsCardImageBtn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.eventsCardImage {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7.2;
  object-fit: cover;
}

.eventsCardBody {
  padding: 12px;
  display: grid;
  gap: 8px;
}

.eventsCardTopRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.eventsCardBadges,
.eventsDetailBadgeRow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.eventsBadge,
.eventsDetailBadge,
.eventsBadgeFeatured,
.eventsBadgeGold,
.eventsDetailBadgeGold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.eventsBadge,
.eventsDetailBadge {
  background: #eef5ff;
  color: #123d74;
}

.eventsBadgeFeatured,
.eventsBadgeGold,
.eventsDetailBadgeGold {
  background: #f7d95a;
  color: #7a5300;
}

.eventsCardPrice,
.eventsBannerPrice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 12px;
  background: #f7c948;
  color: #123d74;
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
}

.eventsCard h3 {
  margin: 0;
}

.eventsCardTitleBtn {
  border: 0;
  padding: 0;
  background: transparent;
  color: #123d74;
  font-size: 16px;
  font-weight: 900;
  text-align: left;
  line-height: 1.18;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.eventsCardMeta,
.eventsDetailMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.eventsMetaChip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f5f8fd;
  color: #4b5e7f;
  font-size: 11px;
  font-weight: 800;
}

.eventsMetaChipStrong {
  background: #eaf2ff;
  color: #123d74;
  font-weight: 900;
}

.eventsCardMetaCompact {
  min-height: 24px;
}

.eventsCardSummary {
  margin: 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.eventsCardBtnPrimary {
  background: #f4d33f;
  border-color: #f4d33f;
  color: #123d74;
  min-width: 118px;
}

.eventsPrimaryBtn {
  background: #f4d33f;
  border-color: #f4d33f;
  color: #123d74;
  min-width: 118px;
}

.eventsCardBtnMini {
  width: 40px;
  min-width: 40px;
  padding: 0;
  font-size: 16px;
  line-height: 1;
}

.eventsBannerCard,
.eventsFeaturedBanner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.88fr) minmax(0, 1.32fr);
  min-height: 206px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #421155 0%, #6d2f8c 42%, #1f2a63 100%);
  color: #fff;
}

.eventsFeaturedBanner .eventsCardImageBtn {
  height: 100%;
}

.eventsFeaturedBanner .eventsCardImage {
  height: 100%;
  min-height: 206px;
  aspect-ratio: auto;
}

.eventsFeaturedBanner .eventsCardBody {
  padding: 18px 18px 16px;
  align-content: start;
}

.eventsFeaturedBanner .eventsCardTitleBtn,
.eventsFeaturedBanner .eventsCardSummary,
.eventsFeaturedBanner .eventsCardMeta .eventsMetaChip,
.eventsFeaturedBanner .eventsCardBtn {
  color: inherit;
}

.eventsFeaturedBanner .eventsMetaChip {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.eventsFeaturedBanner .eventsCardTitleBtn {
  color: #fff;
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.04;
}

.eventsFeaturedBanner .eventsCardSummary {
  color: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  line-height: 1.5;
}

.eventsFeaturedBanner .eventsCardBtn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.eventsFeaturedBanner .eventsCardBtnMini {
  min-width: 78px;
  width: auto;
  padding: 0 12px;
  font-size: 14px;
}

.eventsFeaturedBanner .eventsPrimaryBtn,
.eventsFeaturedBanner .eventsCardBtnPrimary {
  background: #f4d33f;
  border-color: #f4d33f;
  color: #123d74;
}

.eventsBannerVisual {
  position: relative;
  min-height: 206px;
}

.eventsBannerImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eventsBannerFeaturedTag {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #d94141;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.eventsBannerContent {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 10px;
  padding: 18px 18px 16px;
}

.eventsBannerTopRow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.eventsBannerTitle {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.04;
  font-weight: 900;
}

.eventsBannerMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eventsBannerMeta .eventsMetaChip {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.eventsBannerSummary {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  line-height: 1.5;
  max-width: 56ch;
}

.eventsBannerActions {
  display: flex;
  justify-content: flex-end;
}

.eventsBannerActions .eventsCardBtnPrimary {
  min-width: 140px;
}

.eventsCalendarCard {
  display: grid;
  gap: 10px;
}

.eventsCalendarNavBtn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #31508f;
  background: #fff;
  color: #123d74;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.eventsCalendarMonth {
  display: grid;
  gap: 8px;
}

.eventsCalendarWeekdays,
.eventsCalendarGrid,
.eventsCalendarDays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.eventsCalendarWeekdays span {
  text-align: center;
  color: #5b6f91;
  font-size: 11px;
  font-weight: 800;
}

.eventsCalendarDay {
  position: relative;
  min-height: 38px;
  border-radius: 12px;
  border: 1px solid #e0e8f4;
  background: #fff;
  color: #123d74;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
}

.eventsCalendarDay.isMuted {
  opacity: 0.38;
}

.eventsCalendarDay.hasFeatured {
  border-color: #d94141;
  box-shadow: inset 0 0 0 1px #d94141;
}

.eventsCalendarDayNumber {
  line-height: 1;
}

.eventsCalendarIndicators {
  min-height: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.eventsCalendarIndicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.eventsCalendarLegend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  color: #5b6f91;
  font-size: 11px;
  font-weight: 800;
}

.eventsCalendarLegend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.eventsCalendarLegendDot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.eventsCalendarLegendDot.eventsDefault,
.eventsCalendarIndicator.eventsDefault {
  background: #123d74;
}

.eventsCalendarLegendDot.eventsFeatured,
.eventsCalendarIndicator.eventsFeatured {
  background: #d94141;
}

.eventsCalendarLegendDot.eventsInPerson,
.eventsCalendarIndicator.eventsInPerson {
  background: #123d74;
}

.eventsCalendarLegendDot.eventsOnline,
.eventsCalendarIndicator.eventsOnline {
  background: #f0b429;
}

.eventsNewsletterForm {
  display: grid;
  gap: 10px;
}

.eventsNewsletterInlineForm {
  display: inline-grid;
  grid-template-columns: minmax(220px, 280px) auto;
  align-items: center;
  gap: 10px;
}

.eventsNewsletterInlineForm .eventsSubmitBtn {
  min-width: 120px;
}

.eventsEmptyState {
  padding: 24px;
  color: #5b6f91;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.eventsDetailModalShell {
  width: min(1100px, calc(100vw - 40px));
  max-height: calc(100vh - 48px);
  overflow: hidden;
}

.eventsInteractModalShell {
  width: min(860px, calc(100vw - 40px));
  max-height: calc(100vh - 48px);
  overflow: hidden;
  min-width: 0;
}

.eventsDetailPanel {
  display: grid;
  gap: 18px;
  padding: 20px;
  box-shadow: none;
  border: 0;
  max-height: calc(100vh - 48px);
  overflow: auto;
}

.eventsInteractPanel {
  display: grid;
  gap: 16px;
  padding: 20px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  min-width: 0;
}

.eventsDetailFormsSingle {
  grid-template-columns: 1fr;
  min-width: 0;
}

.eventsDetailHeader {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
}

.eventsDetailHeaderText {
  display: grid;
  gap: 12px;
  align-content: start;
}

.eventsDetailHero {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
}

.eventsDetailImageWrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 240px;
  background: #f5f8fd;
}

.eventsDetailImageInteractive {
  cursor: zoom-in;
}

.eventsDetailImageWrap img,
.eventsDetailImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eventsImageZoomBtn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.85);
  background: rgba(18, 61, 116, 0.88);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(18, 61, 116, 0.22);
}

.eventsImageModalBody {
  display: block;
  max-width: 96vw;
  max-height: calc(100vh - 110px);
  background: rgba(15, 23, 42, 0.96);
  border-radius: 0 0 18px 18px;
  padding: 16px;
  overflow: auto;
}

.eventsImageModalImg {
  display: block;
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}

.eventsDetailSummary {
  display: grid;
  gap: 12px;
  align-content: start;
}

.eventsDetailSummary h2,
.eventsDetailTitle {
  margin: 0;
  color: #123d74;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
}

.eventsDetailDescription {
  color: #334155;
  font-size: 15px;
  line-height: 1.65;
}

.eventsDetailMeta {
  gap: 8px;
}

.eventsDetailMeta .eventsMetaChip {
  min-height: 28px;
  padding: 0 10px;
  font-size: 12px;
}

.eventsDetailActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.eventsDetailActionsMessage {
  min-height: 22px;
  color: #7c2d83;
  font-size: 14px;
  font-weight: 800;
}

.eventsDetailForms {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.eventsDetailSectionTitle {
  margin: 0;
  color: #123d74;
  font-size: 20px;
}

.eventsDetailGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.eventsDetailCard {
  border: 1px solid #d9e3f0;
  border-radius: 18px;
  background: #f9fbff;
  padding: 16px;
}

.eventsDetailForm {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.eventsFormGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
  align-items: start;
}

.eventsRegisterProfileGrid .adminField {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.eventsRegisterProfileGrid .adminField label {
  color: #123d74;
  font-size: 16px;
  font-weight: 900;
}

.eventsRegisterProfileGrid .adminField input,
.eventsRegisterProfileGrid .adminField select,
.eventsRegisterProfileGrid .adminField textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 2px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 0;
  color: #123d74;
  font-size: 16px;
  font-weight: 400;
  background: #fff;
  box-shadow: none;
}

.eventsRegisterProfileGrid .adminField input::placeholder,
.eventsRegisterProfileGrid .adminField textarea::placeholder {
  color: #7c8595;
  font-weight: 600;
}

.eventsRegisterProfileGrid .adminField input:focus,
.eventsRegisterProfileGrid .adminField select:focus,
.eventsRegisterProfileGrid .adminField textarea:focus {
  outline: none;
  border-color: #123d74;
  box-shadow: 0 0 0 2px rgba(18, 61, 116, 0.08);
}

.eventsRegisterQuantityField {
  max-width: 260px;
}

.eventsRegisterGraceField {
  grid-column: 1 / -1;
}

.eventsInlineCheck {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.eventsInlineCheck input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.eventsQuestionTypeField {
  max-width: 260px;
}

.eventsRegisterNotesField {
  grid-column: 1 / -1;
}

.eventsQuestionBodyField {
  grid-column: 1 / -1;
}

.eventsRegisterNotesField textarea {
  min-height: 110px;
}

.eventsQuestionBodyField textarea {
  min-height: 110px;
}

.eventsDetailSectionBody > .adminMessage:empty {
  display: none;
}

.eventsDetailForm textarea {
  min-height: 120px;
  resize: vertical;
}

.eventsDetailSection {
  border: 1px solid #d9e3f0;
  border-radius: 18px;
  background: #fbfdff;
  overflow: hidden;
}

.eventsDetailSectionOpen .eventsDetailSectionSummary::after {
  content: none;
}

.eventsDetailSectionSummary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  color: #123d74;
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.eventsDetailSectionSummary::-webkit-details-marker {
  display: none;
}

.eventsDetailSectionSummary::after {
  content: "+";
  color: #7c2d83;
  font-size: 26px;
  line-height: 1;
}

.eventsDetailSection[open] .eventsDetailSectionSummary::after {
  content: "-";
}

.eventsDetailSectionBody {
  border-top: 1px solid #e5ecf5;
  padding: 16px 18px 18px;
  min-width: 0;
  overflow-x: hidden;
}

.eventsSubmitBtnPrimary {
  min-height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #123d74 0%, #294f8f 100%);
  border: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(18, 61, 116, 0.18);
}

.eventsSubmitBtnSecondary {
  min-height: 48px;
  border-radius: 16px;
  border: 2px solid #123d74;
  background: #fff;
  color: #123d74;
  font-size: 16px;
  font-weight: 900;
}

.eventsSubmitBtnPayNow {
  border-color: #e18a18;
  background: linear-gradient(135deg, #ffb02e 0%, #ea8f12 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(225, 138, 24, 0.22);
}

.eventsSubmitBtnPayNow:hover {
  background: linear-gradient(135deg, #f2a320 0%, #d9800d 100%);
}

.eventsSubmitBtnPayNow.eventsPaidState,
.eventsSubmitBtnPayNow:disabled.eventsPaidState {
  background: linear-gradient(135deg, #94a3b8 0%, #7d8da6 100%);
  border-color: #94a3b8;
  color: #fff;
  opacity: 0.75;
}

.eventsSubmitBtnPrimary.disabled,
.eventsSubmitBtnSecondary.disabled,
.eventsSubmitBtnPrimary:disabled,
.eventsSubmitBtnSecondary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.eventsSubmitBtnPrimary:hover {
  background: linear-gradient(135deg, #0f3363 0%, #24457d 100%);
}

.eventsTransientPill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #e8f7e8;
  color: #0f6b35;
  font-size: 13px;
  font-weight: 900;
  justify-self: start;
}

.eventsActionConfirmed {
  background: #123d74;
  border-color: #123d74;
  color: #fff;
  box-shadow: 0 10px 24px rgba(18, 61, 116, 0.2);
}

.eventsMessage {
  min-height: 22px;
  color: #7c2d83;
  font-size: 14px;
  font-weight: 800;
}

.eventsSkeleton {
  position: relative;
  overflow: hidden;
  background: #f4f7fc;
}

.eventsSkeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.72) 50%, rgba(255, 255, 255, 0) 100%);
  animation: eventsShimmer 1.2s infinite;
}

.eventsBannerSkeleton {
  display: grid;
  grid-template-columns: minmax(220px, 0.88fr) minmax(0, 1.32fr);
  min-height: 206px;
  border-radius: 18px;
  overflow: hidden;
}

.eventsBannerSkeletonImage {
  background: #e6edf8;
}

.eventsBannerSkeletonBody {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.eventsBannerSkeletonLine,
.eventsBannerSkeletonLineShort {
  border-radius: 999px;
  background: #e6edf8;
  height: 16px;
}

.eventsBannerSkeletonLineShort {
  width: 48%;
}

.eventsCardSkeleton {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 318px;
  border-radius: 20px;
  overflow: hidden;
}

.eventsCardSkeletonImage {
  min-height: 138px;
  background: #e6edf8;
}

.eventsCardSkeletonBody {
  padding: 12px;
  display: grid;
  gap: 10px;
}

.eventsCardSkeletonBody .eventsBannerSkeletonLineShort:nth-child(2) {
  width: 72%;
}

.eventsCardSkeletonBody .eventsBannerSkeletonLineShort:nth-child(3) {
  width: 40%;
}

.adminEventsLayout {
  display: grid;
  grid-template-columns: minmax(320px, 1.25fr) minmax(340px, 0.95fr);
  gap: 18px;
}

.adminSubPanel {
  grid-column: 1 / -1;
}

.adminSubPanel > .questionEditor {
  padding-top: 12px;
}

.adminEventCapacityRow {
  align-items: flex-start;
}

.adminEventCapacityBlock {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.adminEventCapacityBlock > button {
  min-width: 108px;
}

.adminEventFlagStack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 28px;
}

.adminEventsListCard,
.adminEventsEditorCard {
  border: 1px solid #d9e3f0;
  border-radius: 20px;
  background: #fff;
  padding: 16px;
}

.adminEditorPulse {
  box-shadow: 0 0 0 3px rgba(124, 45, 131, 0.18), 0 14px 28px rgba(18, 61, 116, 0.12);
  transition: box-shadow 180ms ease;
}

.adminEventsTableWrap {
  overflow: auto;
}

.adminEventsTable {
  width: 100%;
  border-collapse: collapse;
}

.adminEventsTable th,
.adminEventsTable td {
  padding: 10px 8px;
  border-bottom: 1px solid #e3eaf4;
  text-align: left;
  color: #123d74;
  font-size: 14px;
}

.adminEventRowArchived {
  opacity: 0.54;
  background: #f7f8fb;
}

.adminEventRowArchived td {
  color: #6f7f99;
}

.adminEventRowActive {
  background: #eef4ff;
  box-shadow: inset 3px 0 0 #7c2d83;
}

.adminEventRowArchived .userNameBtn,
.adminEventRowArchived .adminCreateBtn,
.adminEventRowArchived .dangerBtn {
  opacity: 0.88;
}

.adminRegistrationRowDeleting td {
  opacity: 0.62;
}

.adminRegistrationRowDeleting td:last-child {
  opacity: 1;
}

.adminRegistrationRowDeleting .dangerBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
}

.adminEventsToggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid #d9e3f0;
  border-radius: 999px;
  background: #fff;
  color: #123d74;
  font-weight: 800;
}

.adminEventsToggle input {
  width: 18px;
  height: 18px;
  accent-color: #7c2d83;
}

.adminEventsSortBtn {
  border: 1px solid transparent;
  background: transparent;
  padding: 6px 10px;
  border-radius: 999px;
  color: inherit;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.adminEventsSortBtn.active {
  color: #7c2d83;
  background: #f5ebf7;
  border-color: rgba(124, 45, 131, 0.22);
  box-shadow: 0 6px 16px rgba(124, 45, 131, 0.12);
}

.adminEventsSortBtn::after {
  content: "";
}

.adminEventsSortBtn.active::after {
  content: " \2191";
  color: #7c2d83;
  font-size: 12px;
}

.adminEventsSortBtn.active.desc::after {
  content: " \2193";
}

.eventsCardBtnSecondary {
  flex: 1 1 180px;
}

.adminEventsActionsCell {
  white-space: nowrap;
}

.adminEventIconBtn {
  min-width: 40px;
  min-height: 40px;
  padding: 0 10px;
  font-size: 18px;
  line-height: 1;
}

.adminEventDeleteThumbWrap {
  display: flex;
  justify-content: center;
}

.adminEventDeleteThumb {
  width: min(100%, 220px);
  max-height: 180px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #d9e3f0;
  background: #fff;
}

#adminEventDeleteConfirmModal .questionEditor {
  display: grid;
  gap: 14px;
}

#adminEventDeleteConfirmInput {
  text-transform: uppercase;
}

#adminEventDeleteProgress {
  color: #b91c1c;
  font-weight: 900;
}

.adminEventsRowBtn {
  border: 0;
  background: transparent;
  padding: 0;
  color: #123d74;
  font-weight: 800;
  cursor: pointer;
  text-align: left;
}

@keyframes eventsShimmer {
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 1240px) {
  .eventsToolbar {
    grid-template-columns: minmax(150px, 0.82fr) repeat(5, minmax(68px, 0.44fr)) auto auto;
  }

  .eventsCardsGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .eventsPage .eventsContent {
    width: calc(100% - 20px);
    padding: 18px 0 28px;
  }

  .eventsToolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eventsSearchInput,
  #eventsSearchInput {
    grid-column: 1 / -1;
  }

  .eventsBannerCard,
  .eventsFeaturedBanner,
  .eventsBannerSkeleton {
    grid-template-columns: 1fr;
  }

  .eventsFeaturedSlot {
    width: 100%;
    max-width: none;
  }

  .eventsCalendarPopover {
    width: min(420px, calc(100vw - 24px));
  }

  .eventsBannerVisual,
  .eventsBannerSkeletonImage {
    min-height: 180px;
  }

  .eventsDetailHero,
  .eventsDetailHeader,
  .eventsDetailGrid,
  .eventsDetailForms,
  .adminEventsLayout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .eventsPage .eventsContent {
    width: calc(100% - 12px);
    padding: 14px 0 22px;
    gap: 12px;
  }

  .eventsHeaderRow {
    gap: 10px;
  }

  .eventsHeaderRow h1 {
    font-size: 34px;
  }

  .eventsHeaderMeta {
    width: 100%;
  }

  .eventsCapsule {
    min-height: 32px;
    padding: 0 14px;
    font-size: 13px;
  }

  .eventsHeaderSignupRow {
    margin-top: 6px;
    gap: 8px;
    font-size: 14px;
  }

  .eventsHeaderSignupText {
    font-size: 14px;
    line-height: 1.35;
  }

  .eventsToolbar {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .eventsCardsGrid {
    grid-template-columns: 1fr;
  }

  .eventsNewsletterInlineForm {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .eventsFeatureCard,
  .eventsSidebarCard {
    padding: 10px;
    border-radius: 18px;
  }

  .eventsFeatureHeader h2,
  .eventsMoreHeading {
    font-size: 17px;
  }

  .eventsFeatureHeader {
    gap: 10px;
  }

  .eventsCalendarCompactBar {
    width: 100%;
    justify-content: center;
  }

  .eventsFeaturedBanner .eventsCardImage {
    min-height: 160px;
  }

  .eventsFeaturedBanner .eventsCardBody {
    padding: 12px;
    gap: 7px;
  }

  .eventsFeaturedBanner .eventsCardTitleBtn {
    font-size: 22px;
  }

  .eventsCardBody {
    padding: 10px;
  }

  .eventsCardTopRow,
  .eventsCardActions {
    flex-wrap: wrap;
  }

  .eventsPrimaryBtn,
  .eventsCardBtnPrimary {
    width: 100%;
  }

  .eventsCardBtnMini {
    width: 42px;
    min-width: 42px;
  }

  .eventsCalendarMonthToggle {
    font-size: 17px;
    min-height: 38px;
    padding: 0 14px;
  }

  .eventsCalendarPopover {
    left: 50%;
    right: auto;
    width: min(420px, calc(100vw - 20px));
  }

  .eventsCalendarDay {
    min-height: 34px;
    font-size: 12px;
    border-radius: 10px;
  }

  .eventsCalendarLegend {
    gap: 8px 10px;
    font-size: 10px;
  }

  .eventsEmptyState {
    padding: 18px 14px;
  }

  .eventsFormGrid {
    grid-template-columns: 1fr;
  }

  .eventsDetailSectionSummary {
    padding: 14px 16px;
    font-size: 18px;
  }

  .eventsDetailSectionBody {
    padding: 14px 16px 16px;
  }

  .eventsCardActions {
    flex-wrap: wrap;
  }

  .eventsDetailModalShell {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
  }
}
