.wpbasic-has-back-to-top .back_to_top {
  display: none !important;
}
.wpbasic-back-to-top {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  border: 1px solid #1b3281;
  border-radius: 50%;
  background: #1b3281;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.wpbasic-back-to-top[hidden] {
  display: none !important;
}
.wpbasic-back-to-top:hover, .wpbasic-back-to-top:focus-visible {
  background: #ed9d19;
  border-color: #ed9d19;
  color: #172033;
}
.wpbasic-back-to-top:focus-visible {
  outline: 3px solid #1b3281;
  outline-offset: 3px;
}
@media (max-width: 767px) {
  .wpbasic-back-to-top {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
  }
}
@media (prefers-reduced-motion: reduce) {
  .wpbasic-back-to-top {
    transition: none;
  }
}
#openpopup_all_page {
  cursor: pointer;
  touch-action: manipulation;
  position: relative;
  z-index: 10;
}
#countdown.countdown--live::after, #countdown.countdown--ended::after {
  content: "";
  position: absolute;
  background-color: rgba(0, 0, 0, .7);
  inset: 0;
  z-index: 1;
  border-radius: 30px;
}
#countdown.countdown--live::before, #countdown.countdown--ended::before {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 12px;
  color: #ed9d19;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  position: absolute;
  inset: 0;
  z-index: 2;
  font-family: "Exo 2", sans-serif;
  font-size: inherit;
}
#countdown.countdown--live::before {
  content: "Event is live";
}
#countdown.countdown--ended::before {
  content: "Event ended";
}
.wpbasic-header-spacer {
  flex: 0 0 auto;
  width: 100%;
  pointer-events: none;
}
.wpbasic-header-spacer[hidden] {
  display: none !important;
}
.c-header__fixed {
  position: fixed !important;
  top: 0;
  transition: all .3s ease-out;
  background: #fff;
  z-index: 1000 !important;
  width: 100% !important;
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15)
}
/* Events Filter in page small business and social */
.c-event_filter__box {
  width: 100%;
}
.c-event_filter_label {
  flex-shrink: 0;
}
.c-event_filter__btn {
  font-size: 16px;
  font-family: "Exo 2", Sans-serif;
  height: 100%;
  padding: 0 20px;
  background: #1b3281;
  color: #fff;
  font-weight: 500;
  border: 1px solid #1b3281;
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  transition: all 0.3s ease;
}
.c-event_filter__btn:hover {
  cursor: pointer;
  opacity: 0.7;
}
.c-event_filter__input {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.c-event_filter__input .date-field__icon {
  position: absolute;
  left: 12px;
  font-size: 16px;
  pointer-events: none;
  color: #000;
}
#event_date_range {
  padding: 10px 12px 10px 36px;
  border: 1px solid #ddd;
  border-radius: 6px;
  min-width: 220px;
  font-size: 16px;
  font-family: "Exo 2", Sans-serif;
  outline: none;
  width: 100%;
  color: #000;
}
.c-event_filter__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}
.c-event_filter__card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s ease;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px !important;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.c-event_filter__card:hover {
  box-shadow: rgba(236.99999999999997, 156.99999999999994, 24.999999999999957, 0.5) 0px 2px 8px 0px !important;
  transform: scale(1.01);
}
.c-event_filter__img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: calc(380/250);
  border-bottom: 1px solid #C4C6CF4D;
}
.c-event_filter__flex {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.c-event_filter__content {
  padding: 15px 0;
  border-bottom: 1px solid #C4C6CF4D;
  width: 90%;
  margin: 0 auto;
}
.c-event_filter__title {
  font-size: 24px;
  font-family: 'Exo 2', sans-serif;
  color: #1b3281;
  margin-top: 10px;
  font-weight: 700;
  line-height: 1.3;
}
.c-event_filter__desc {
  font-size: 14px;
  font-family: 'Exo 2', sans-serif;
  color: #18161a;
  margin-top: 10px;
  line-height: 1.3;
}
.c-event_filter__empty {
  padding: 60px 20px;
  text-align: center;
  border-radius: 16px;
  background: #f7f7f7;
}
.c-event_filter__empty p {
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  margin: 0;
  font-family: "Exo 2", Sans-serif;
}
.c-event_filter__box_date {
  font-size: 14px;
  line-height: 1.3;
  font-family: "Exo 2", Sans-serif;
  color: #18161a;
  background: #E1E3E4;
  padding: 4px 10px;
  width: fit-content;
  border-radius: 10px;
}
.c-event_filter__author {
  font-size: 14px;
  color: #1b3281;
  font-weight: 700;
  font-family: 'Exo 2', sans-serif;
  width: 90%;
  margin: 0 auto;
  padding: 20px 0;
}
.c-event_filter__results {
  transition: opacity 0.2s ease;
  scroll-margin-top: 125px;
}
.c-event_filter__results.is-loading {
  opacity: 0.55;
  pointer-events: none;
}
.c-event_filter__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}
.c-event_filter__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #1b3281;
  border-radius: 6px;
  background: #fff;
  color: #1b3281;
  font-family: "Exo 2", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.c-event_filter__page:hover, .c-event_filter__page.is-active {
  background: #1b3281;
  color: #fff;
}
.c-event_filter__page.is-active {
  cursor: default;
}
.c-event_filter__page:focus-visible {
  outline: 3px solid rgba(27, 50, 129, 0.25);
  outline-offset: 2px;
}
.c-event_filter__page:disabled {
  cursor: wait;
}
.skeleton-state .skeleton-card {
  height: 320px;
  border-radius: 12px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e6e6e6 37%, #f0f0f0 63%);
  background-size: 400% 100%;
  animation: shimmer 1.2s infinite;
}
.event-clear-dates {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: #999;
  display: none;
  /* Ẩn mặc định */
  transition: all 0.2s ease;
}
/* Hiển thị X khi có ngày được chọn */
.event-clear-dates.visible {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Hover effect */
.event-clear-dates:hover {
  color: #d32f2f;
  transform: translateY(-50%) scale(1.15);
}
/* Focus state */
.event-clear-dates:focus {
  outline: none;
}
/* SVG icon */
.event-clear-dates svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}
/* Input focus */
#event_date_range:focus {
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}
@media (max-width: 1024px) {
  .c-event_filter__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .c-event_filter__title {
    font-size: 20px;
  }
  .c-event_filter__btn {
    font-size: 15px;
    padding: 0 16px;
  }
  #event_date_range {
    font-size: 15px;
  }
}
@media (max-width: 767px) {
  #event_date_range {
    padding-right: 40px;
  }
  .event-clear-dates {
    right: 8px;
  }
  .c-event_filter__results {
    scroll-margin-top: 72px;
  }
  .c-event_filter__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .c-event_filter__box {
    width: 100%;
  }
  .c-event_filter__btn {
    width: 100%;
    height: 44px;
    font-size: 14px;
  }
  .c-event_filter__input {
    width: 100%;
  }
  #event_date_range {
    width: 100%;
    font-size: 14px;
  }
  .c-event_filter__title {
    font-size: 18px;
    line-height: 1.4;
  }
  .c-event_filter__desc {
    font-size: 13px;
  }
  .c-event_filter__author {
    font-size: 13px;
    padding: 12px 0;
  }
  .c-event_filter__content {
    padding: 12px 0;
  }
  .c-event_filter__pagination {
    gap: 6px;
    margin-top: 30px;
  }
  .c-event_filter__page {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-size: 14px;
  }
}
@keyframes shimmer {
  0% {
    background-position: -400px 0;
  }
  100% {
    background-position: 400px 0;
  }
}
