.archive-event {
  display: flex;
  flex-direction: column;
  width: fit-content;
  justify-content: center;
}

.archive-times {
  display: flex;
  flex-direction: column;
  width: fit-content;
  align-items: end;
  justify-content: center;
}

.archive-title {
  text-transform: capitalize;
  font-size: var(--text-base);
  color: var(--orange);
}

.archive-subtitle {
  text-transform: capitalize;
  font-size: var(--text-s);
  color: var(--light-gray);
}

.archive-hidden {
  visibility: hidden;
}

.filters-wrapper.archivemonths {
  flex-shrink: 0;
  top: clamp(37px, 35px + 0.625vw, 44px);
  /*   top: clamp(35px, 33px + 0.625vw, 42px); */
  margin: 0;
  padding: 5px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filters-wrapper.archiveyears {
  flex-shrink: 0;
  top: 0;
  margin: 0;
  padding: 5px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filters button:disabled {
  opacity: 0.3;
  pointer-events: none;
}

.filters.archive {
  width: 100%;
}

.search-bar.archive {
  width: 100%;
  /* width: auto; */
  cursor: text;
}

.search-bar.archive:active {
  transform: none;
}

.search-bar.archive .search-input {
  width: 100%;
  /*   width: clamp(140px, 128.57px + 3.571vw, 180px); in 2027 */
  opacity: 1;
  pointer-events: all;
  padding-left: 5px;
}

.archive-duration {
  font-size: var(--text-s);
  color: var(--orange);
}

.archive-date {
  font-size: var(--text-s);
  color: var(--light-gray);
}

.archive-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 5px;
  border: 2px solid transparent;
  background-color: var(--event-card-bg);
  border-radius: 10px;
}

.archive-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.archive-modal-body {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  position: relative;
  scrollbar-width: none;
}

.archive-modal-body::-webkit-scrollbar {
  display: none;
}

.archive-page {
  position: fixed;
  display: flex;
  background-color: var(--background);
  justify-content: center;
  inset: 0;
  z-index: 9999;
  padding: 15px 10px 10px 10px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.archive-page.active {
  opacity: 1;
  visibility: visible;
}

.archive-page-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
}

.archive-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: var(--text-2xl);
  margin-bottom: clamp(10px, 8.57px + 0.446vw, 15px);
}

.archive-header span {
  justify-self: center;
  grid-column: 2;
}

.archive-close-btn {
  all: unset;
  cursor: pointer;
  color: var(--light-gray);
  display: flex;
  height: 100%;
  align-items: center;
  justify-self: start;
}

.archive-close-svg {
  width: var(--icon-l);
  height: var(--icon-l);
  flex-shrink: 0;
}

body.archive-open {
  overflow: hidden;
}
