.rkei-event-module * {
  box-sizing: border-box;
  font-family: "Mona Sans", sans-serif !important;
}

.rkei-event-module {
  margin: 0;
  font-family: "Mona Sans", sans-serif !important;
}

.rkei-event-module .event-page {
  max-width: 1280px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: flex-start;
}

.rkei-event-module .event-sidebar {
  position: sticky;
  top: 24px;
}

.rkei-event-module .filter-box {
  padding: 24px;
  border-radius: 12px;
  border: 2px solid var(--Gray-50, #F1F5F9);
  background: var(--White, #FFF);
  box-shadow: 0 4px 8px -2px rgba(16, 24, 40, 0.10);
}

.rkei-event-module .filter-title {
  color: var(--Brand-500, #BC2228);
  font-size: 20px;
  font-style: normal;
  font-family: Mona Sans;
  font-weight: 600;
  line-height: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rkei-event-module .filter-group {
  border-top: 1px solid #eee;
  padding-top: 16px;
  margin-top: 16px;
}

.rkei-event-module .filter-group__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  margin: 0 0 20px 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.rkei-event-module .filter-group.is-collapsed .filter-group__toggle {
  margin-bottom: 0;
}

.rkei-event-module .filter-group__toggle h4 {
  color: var(--Gray-900, #020617);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  margin: 0;
}

.rkei-event-module .filter-group__chevron {
  display: inline-flex;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.rkei-event-module .filter-group.is-collapsed .filter-group__chevron {
  transform: rotate(180deg);
}

.rkei-event-module .filter-group__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rkei-event-module .filter-group.is-collapsed .filter-group__body {
  display: none;
}

.rkei-event-module .filter-group label {
  color: var(--Gray-700, #676767);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
}

.filter-group label:has(input:checked) {
  color: var(--Gray-900, #2D2C2C);
  font-weight: 600;
}

.rkei-event-module .filter-group input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border: 1.5px solid #d1d5db;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.filter-group input[type="radio"]:checked {
  background-color: #bc2228;
  border-color: #bc2228;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6L5 8.5L9.5 4' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.rkei-event-module .filter-apply-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
}

.rkei-event-module .filter-apply {
  border-radius: 24px !important;
  border: 1px solid var(--Brand-500, #BC2228);
  background: var(--Brand-500, #BC2228);
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  color: var(--White, #FFF);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 0px;
  font-family: "Mona Sans", sans-serif !important;
	line-height: normal !important;
	margin: 0px;
}

.rkei-event-module .filter-reset {
	margin: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--Gray-700, #676767);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px !important;
  cursor: pointer;
  padding: 10px 0px;
  font-family: "Mona Sans", sans-serif !important;
  border-radius: 24px;
  border: 1px solid var(--Gray-300, #B5B5B5);
  background: var(--White, #FFF);
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
}

.rkei-event-module .event-main {
  min-width: 0;
}

.rkei-event-module .event-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.rkei-event-module .event-topbar p {
  color: var(--Gray-500, #475569);
  font-size: 16px;
  font-style: normal;
  font-family: "Mona Sans", sans-serif !important;
  font-weight: 600;
  line-height: 24px;
  margin: 0;
}

.rkei-event-module .event-sort {
  display: flex;
  align-items: center;
  gap: 44px;
  width: auto;
  justify-content: space-between;
}

.rkei-event-module .event-sort span {
  color: var(--Gray-500, #475569);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  font-family: "Mona Sans", sans-serif !important;
  line-height: 24px;
}

.rkei-event-module .event-sort__select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.rkei-event-module .event-sort select {
  -webkit-appearance: none;
  -moz-appearance: none;
  color: var(--Gray-700, #676767);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  padding-right: 44px;
  font-family: "Mona Sans", sans-serif !important;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid var(--Gray-300, #B5B5B5);
  background: var(--White, #FFF);
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
	margin: 0px;
}

.event-sort select:focus-visible {
  outline: none;
}

.rkei-event-module .event-sort__icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  pointer-events: none;
}

.rkei-event-module .event-section {
  margin-bottom: 42px;
}

.rkei-event-module .section-heading__divider {
  flex: 1;
  min-width: 24px;
  height: 1px;
  background: #e2e8f0;
  align-self: center;
}

.rkei-event-module .section-heading {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-bottom: 18px;
}

.rkei-event-module .section-heading.upcoming h2 {
  margin: 0;
  white-space: nowrap;
  color: var(--Brand-500, #BC2228);
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
	width: auto;
}

.rkei-event-module .section-heading.upcoming h2 span {
  width: 10px;
  height: 26px;
  background: #d71920;
  border-radius: 99px;
  display: inline-block;
}

.rkei-event-module .section-heading.ongoing h2 {
  margin: 0;
  white-space: nowrap;
  color: var(--Blue-500, #2E90FA);
  font-size: 24px;
	width: auto;
  font-style: normal;
  font-weight: 600;
  line-height: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.rkei-event-module .section-heading.ongoing h2 span {
  width: 10px;
  height: 26px;
  background: var(--Blue-500, #2E90FA);
  border-radius: 99px;
  display: inline-block;
}

.rkei-event-module .section-heading.ended h2 {
  margin: 0;
  white-space: nowrap;
  color: var(--Gray-600, #848484);
	width: auto;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.rkei-event-module .section-heading.ended h2 span {
  width: 10px;
  height: 26px;
  background: var(--Gray-600, #848484);
  border-radius: 99px;
  display: inline-block;
}

.rkei-event-module .section-heading a {
  flex-shrink: 0;
  white-space: nowrap;
  color: #d71920;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-decoration: none;
}

.rkei-event-module .section-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rkei-event-module .section-toggle__icon {
  display: inline-flex;
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}

.rkei-event-module .section-toggle.is-expanded .section-toggle__icon {
  transform: rotate(0deg);
}

.rkei-event-module .event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.rkei-event-module .event-pagination {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.rkei-event-module .event-pagination__item {
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border-radius: 24px;
  color: var(--Gray-500, #333);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  cursor: pointer;
  background: #FFF;
  border: none;
}

.rkei-event-module .event-pagination__item.is-active {
  background: var(--Brand-500, #BC2228);
  color: var(--Gray-01, #FFF);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
}

.rkei-event-module .event-pagination__dots {
  color: #64748b;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.rkei-event-module .event-pagination__nav {
  width: 40px;
  height: 40px;
  border-radius: 40px;
  background: #FFF;
  box-shadow: 0 12px 16px -4px rgba(16, 24, 40, 0.08), 0 4px 6px -2px rgba(16, 24, 40, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
}

.rkei-event-module .event-pagination__nav--next svg {
  transform: rotate(180deg);
}

.event-pagination__nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.rkei-event-module .event-section--toggle.is-collapsed .event-grid .event-card {
  display: none;
}

.event-section--toggle:not(.is-collapsed) .event-grid .event-card:nth-child(n + 7) {
  display: none;
}

.event-section--paginated.is-collapsed .event-grid,
.rkei-event-module .event-section--paginated.is-collapsed .event-pagination {
  display: none;
}

.rkei-event-module .event-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eef0f4;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
  transition: 0.25s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.13);
}

.rkei-event-module .event-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3f4f6;
}

.rkei-event-module .event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rkei-event-module .status-badge {
  position: absolute;
  top: -15px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.rkei-event-module .status-badge.upcoming {
  border-radius: 16px;
  background: var(--Success-50, #ECFDF3);
  color: var(--Success-700, #027A48);
  text-align: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px;
}

.rkei-event-module .status-badge.ongoing {
  border-radius: 16px;
  background: var(--Blue-light-100, #E0F2FE);
  color: var(--Blue-light-500, #0BA5EC);
  text-align: center;
font-size: 12px;
font-style: normal;
font-weight: 500;
line-height: 18px;   
}

.rkei-event-module .status-badge.ended {
  border-radius: 16px;
  background: var(--Gray-100, #DDD);
  color: var(--Gray-600, #848484);
  text-align: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px;
}

.rkei-event-module .event-body__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rkei-event-module .status-badge.past {
  background: #6b7280;
}

.rkei-event-module .event-body {
  position: relative;
  padding: 24px 8px 16px 8px;
}

.rkei-event-module .event-body h3 {
  margin: 0;
  color: var(--Gray-900, #020617);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rkei-event-module .event-date {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--Gray-600, #334155);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px;
}

.rkei-event-module .footer-section__content p {
  margin: 0;
  color: var(--Gray-25, #F8FAFC);
}

.footer-section__content p:first-child {
  color: var(--Gray-25, #F8FAFC);
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
}

.footer-section__content p:last-child {
  text-align: justify;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

.rkei-event-module .footer-section__form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}

.rkei-event-module .footer-section__form input {
  flex: 1 1 320px;
  width: 100%;
  min-width: 0;
  max-width: 420px;
  border-radius: 8px;
  border: 1px solid var(--Gray-300, #B5B5B5);
  background: var(--White, #FFF);
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  padding: 10px 14px;
  color: var(--Gray-500, #919191);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.rkei-event-module .footer-section__form button {
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid var(--Brand-500, #BC2228);
  background: var(--Brand-500, #BC2228);
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  padding: 10px 18px;
  color: var(--White, #FFF);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
}

.footer-section__form input:focus-visible {
  outline: none;
}

.rkei-event-module .footer-section__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rkei-event-module .footer-section {
  background-image:
    linear-gradient(90deg, rgba(8, 8, 51, 0.85) 49.93%, rgba(8, 8, 51, 0) 100%),
    url("./banner1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 86px 80px;
}

@media (max-width: 992px) {
  .rkei-event-module .footer-section {
    padding: 56px 32px;
  }

  .footer-section__content p:first-child {
    font-size: 28px;
    line-height: 36px;
  }
}

@media (max-width: 640px) {
  .rkei-event-module .footer-section {
    padding: 40px 16px;
  }

  .footer-section__content p:first-child {
    font-size: 24px;
    line-height: 32px;
  }

  .footer-section__content p:last-child {
    font-size: 14px;
    line-height: 22px;
    text-align: left;
  }

  .rkei-event-module .footer-section__form {
    gap: 12px;
  }

  .footer-section__form input,
  .rkei-event-module .footer-section__form button {
    width: 100%;
    max-width: none;
  }

  .rkei-event-module .footer-section__form button {
    justify-content: center;
  }

  .rkei-event-module .event-sort {
    width: 100%;
  }
}

.rkei-event-module .event-date span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.rkei-event-module .event-body p {
  overflow: hidden;
  color: var(--Gray-500, #475569);
  text-overflow: ellipsis;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.rkei-event-module .event-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.rkei-event-module .event-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  color: var(--Blue-400, #4C59D9);
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  border-radius: 16px;
  background: var(--Blue-25, #F5F6FF);
}

.rkei-event-module .event-arrow {
  border-radius: 24px;
  border: 1px solid var(--Gray-300, #B5B5B5);
  background: var(--White, #FFF);
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .rkei-event-module .event-page {
    grid-template-columns: 230px 1fr;
    gap: 22px;
  }

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

@media (max-width: 768px) {
  .rkei-event-module .event-page {
    grid-template-columns: 1fr;
    margin: 24px auto;
  }

  .rkei-event-module .event-sidebar {
    position: static;
  }

  .rkei-event-module .event-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .rkei-event-module .event-grid {
    grid-template-columns: 1fr;
  }

  .rkei-event-module .section-heading h2 {
    font-size: 21px;
  }
}

.rkei-event-module .filter-group__body label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #676767;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
	margin: 0px;
}

.rkei-event-module .filter-group__body input[type="radio"] {
    appearance: auto !important;
    -webkit-appearance: auto !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: initial !important;
    border-radius: 50% !important;
    background: initial !important;
    box-shadow: none !important;
    accent-color: #bc2228;
    display: inline-block !important;
    position: static !important;
    opacity: 1 !important;
}

.rkei-event-module .filter-group__body input[type="radio"]::before,
.rkei-event-module .filter-group__body input[type="radio"]::after {
    display: none !important;
    content: none !important;
}
