.emp-spinner {
  display: block;
  width: 48px;
  height: 48px;
  margin: 30px auto;
  border: 4px solid #A5A4A4;
  border-top-color: #C0345F;
  border-radius: 50%;
  animation: emp-spin 1s linear infinite;
}

@keyframes emp-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.event-item {
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
}

.emp-modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6); /* ← тёмный прозрачный фон */
  backdrop-filter: blur(4px); /* опционально — мягкое размытие фона */
}

.emp-modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  max-width: 500px;
  border-radius: 8px;
  position: relative;
}
.emp-close {
  position: absolute;
  top: -20px;  /* Смещение вверх за пределы окна */
  right: -20px; /* Смещение вправо за пределы окна */
  font-size: 28px;
  color: #aaa;
  background: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 1001;
  transition: background 0.3s ease, color 0.3s ease;
}

.emp-close:hover {
  background: #C0345F;
  color: #fff;
}




/* Импорт шрифта Arsenal (если не подключён глобально) */
@import url('https://fonts.googleapis.com/css2?family=Arsenal&display=swap');



/* ШРИФТ */
.litepicker {
  font-family: 'Arsenal', sans-serif;
  font-size: 23px;
}

/* СЕТКИ */
.litepicker .container__weekdays,
.litepicker .container__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  justify-items: center;
  width: 100%;
}

/* ДНИ */
.litepicker .day {
  width: 52px;
  height: 52px;
  line-height: 52px;
  text-align: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
  position: relative;
  z-index: 1;
}

/* ЧИСЛО */
.litepicker .day .text {
  font-size: inherit;
}

/* ХОВЕР */
.litepicker .day:hover {
  background-color: #f1f1f1;
}

/* ПОДСВЕТКА ВЫДЕЛЕННЫХ */
.litepicker .day.selected,
.litepicker .day.in-range {
 background-color: #A5A4A4 !important; /* light yellow */
}

.litepicker .day.selected-start,
.litepicker .day.selected-end {
  background-color: #A5A4A4 !important;
  font-weight: 400;
  z-index: 2;
}

/* СКРЫТИЕ ЧУЖИХ МЕСЯЦЕВ */
.litepicker .day.is-other-month {
  visibility: hidden;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}


.litepicker .button {
  color: #999;
  font-size: 1.1em;
}

/* ТОЧКИ ПОД ДАТАМИ */
.litepicker .day.highlighted .text::after {
  content: "";
  width: 6px;
  height: 6px;
  background-color: #A5A4A4 !important; /* ← заменить */
  border-radius: 50%;
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
}


/* Контейнер календаря 
#litepicker-inline {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 0px;
  background-color:  #F6F5F3 !important;
}*/

.litepicker .day.is-other-month {
 

  pointer-events: none;
  height: 0;
  overflow: hidden;
}

/* Жёсткая ширина для внутренней сетки */
.litepicker .container__months {
  width: 302px !important;
  max-width: 302px !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
	background-color:  #F6F5F3 !important;
}

.litepicker .container__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px; /* Расстояние между днями */
  width: 100%;
  max-width: 100%;
  justify-items: center;
}


/* Стилизация страницы события */
.single-event .site-content,
.single-event .content-area,
.single-event .entry-content,
.single-event .container {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}







.custom-event-single-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: 'Arsenal', sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

.back-to-calendar {
  display: inline-block;
  margin-bottom: 20px;
  text-decoration: none;
  color: #0073aa;
   font-family: 'Arsenal', sans-serif;
  font-size: 18px;
	
}

.event-title {
  font-size: 36px;
  margin-top: 20px;
}

.event-meta {
  margin: 10px 0;
  font-size: 20px;
}

.event-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
}

.event-register-button {
  display: block;
  width: 301px;
  max-width: 301px; /* как у .litepicker .container__months */
  margin: 30px auto 0 auto; /* центрируем */
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  background-color: var(--accent-color, #222);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  font-family: 'Arsenal', sans-serif;
  text-align: center;
}

.event-register-button:hover {
  opacity: 0.85;
}


/* Модалка */
.event-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
}
.event-modal-content {
  background: #fff;
  max-width: 600px;
  margin: 10% auto;
  padding: 30px;
  border-radius: 10px;
  position: relative;
}
.event-close {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 18px;
  cursor: pointer;
}




.back-to-calendar {
  background: none;
  border: none;
  font-size: 18px;
  color: #C0345F;
  cursor: pointer;
  padding: 0;
  margin-bottom: 20px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.back-to-calendar:hover {
  background: none;
  color: #A7284C; /* чуть темнее — эффект наведения */
  /* можно убрать, если не нужно */
}

.event-registration-success {
  margin-top: 20px;
  color: green;
  font-weight: bold;
}


:root {
  --litepicker-is-in-range-color: #efefef !important;
  --litepicker-highlighted-day-color-bg: #C0345F !important;
  --litepicker-highlighted-day-color: #fff !important; /* текст внутри подсвеченной даты */
	  --litepicker-button-prev-next-color: #C0345F !important; /* обычное состояние */
  --litepicker-button-prev-next-hover-color: #C0345F !important; /* при наведении */
}




.litepicker .container__days .day-item.is-start-date,
.litepicker .container__days .day-item.is-end-date {
  background-color: #efefef !important;
  color: #000 !important;
  
}

.litepicker .container__days .day-item:hover {
  background-color: #f1f1f1 !important;
  color: #C0345F !important;
  border-color: #C0345F !important;
}

.litepicker .button-prev:hover svg,
.litepicker .button-next:hover svg {
  stroke: #C0345F !important;
}


/* Список событий: карточки в два столбца */
.event-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.event-item {
  background-color: #F6F6F6;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
  font-family: 'Arsenal', sans-serif;
  line-height: 1.4;
}

.event-item:hover {
  background-color: #EDEDED;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.event-category {
  font-size: 14px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 5px;
}

.event-title {
  font-size: 37px;
  font-weight: 400;
  margin-bottom: 10px;
  color: #C0345F;
  text-decoration: none;
  display: block;
  line-height: 1.2;
}

.event-title:hover {
  color: #A7284C;
}

.event-date {
  font-size: 14px;
  font-weight: 400;
  color: #C0345F;
}

.event-title {
  font-size: 37px;
  font-weight: 400;
  margin-bottom: 10px;
  color: #C0345F;
  text-decoration: none !important; /* вот это ключевое */
  display: block;
  line-height: 1.2;
}

.event-title:hover {
  color: #A7284C;
  text-decoration: none !important;
}



/* Обёртка */
.emp-category-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: 'Arsenal', sans-serif;
  font-size: 27px;
  font-weight: 400;
  cursor: pointer;
  color: #000;
  background: none;
  border: none;
  padding: 0;
  gap: 6px;
}

/* Стиль "кнопки" — просто текст + стрелочка */
#emp-category-toggle {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 47px;
  color: inherit;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  box-shadow: none;
  outline: none;
}

/* Стрелочка */
#emp-category-toggle .arrow {
  font-size: 14px;
  color: #999;
  margin-left: 6px;
  pointer-events: none;
}


/* Выпадающее меню */
#emp-category-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 400px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 5px;
  z-index: 999;
  list-style: none;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: none;
}

#emp-category-menu li {
  padding: 12px 20px;
  font-size: 18px;
  cursor: pointer;
  font-family: 'Arsenal', sans-serif;
  transition: background 0.2s ease;
}

#emp-category-menu li:hover {
  background-color: #f3f3f3;
  color: #C0345F;
}

.litepicker .container__tooltip {
  display: none !important;
}


.emp-reset-button {
display: block;
  width: 301px;
  max-width: 301px; /* как у .litepicker .container__months */

  font-size: 18px;
  font-weight: 400;
  background-color: var(--accent-color, #222);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  font-family: 'Arsenal', sans-serif;
  text-align: center;
}

.emp-reset-button:hover {
   opacity: 0.85;
}


