.wsef-wrap,
.wsef-single-wrap {
  --wsef-bg: #f7f5ef;
  --wsef-card: #ffffff;
  --wsef-text: #1f2a2a;
  --wsef-accent: #009fe3;
  --wsef-accent-soft: #d9f2fc;
  --wsef-border: #d5ddd9;
  color: var(--wsef-text);
  font-family: inherit;
}

/* Hide theme page-title/breadcrumb header on single event detail pages */
body.single-ws_event .fusion-page-title-bar,
body.single-ws_event .fusion-page-title-row,
body.single-ws_event .fusion-page-title-secondary,
body.single-ws_event .page-header,
body.single-ws_event .breadcrumbs,
body.single-ws_event .breadcrumb {
  display: none !important;
}

.wsef-wrap {
  position: relative;
  padding: 1rem;
  background: linear-gradient(180deg, #fcfbf8 0%, var(--wsef-bg) 100%);
  border-radius: 8px;
}

.wsef-filters {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.wsef-view-toggle,
.wsef-tabs {
  display: grid;
  gap: 0.5rem;
}

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

.wsef-segment {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--wsef-border);
  border-radius: 8px;
  background: #fff;
  padding: 2px;
  max-width: 240px;
}

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

.wsef-view-btn,
.wsef-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--wsef-border);
  background: #fff;
  color: var(--wsef-text);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font-size: 0.92rem;
  cursor: pointer;
  font-family: inherit;
}

.wsef-segment .wsef-view-btn {
  border: 0;
  border-radius: 8px;
  padding: 0.38rem 0.75rem;
  font-size: 0.86rem;
  gap: 5px;
}

.wsef-view-btn-icon,
.wsef-tab-icon {
  color: currentColor !important;
  line-height: 1;
}

.wsef-view-btn-icon {
  font-size: 16px !important;
}

.wsef-tab-icon {
  font-size: 17px !important;
}

.wsef-wrap.wsef-ajax-error {
  outline: 2px solid rgba(220, 53, 69, 0.45);
  outline-offset: 2px;
}

.wsef-view-btn.is-active,
.wsef-tab.is-active {
  background: var(--wsef-accent);
  color: #fff;
  border-color: var(--wsef-accent);
}

.wsef-filter-grid {
  display: grid;
  gap: 0.7rem;
}

.wsef-filter-grid label,
.wsef-submit-form label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.9rem;
}

.wsef-filter-grid input,
.wsef-filter-grid select,
.wsef-submit-form input,
.wsef-submit-form select,
.wsef-submit-form textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid var(--wsef-border);
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  box-sizing: border-box;
}

.wsef-filter-grid input,
.wsef-filter-grid select {
  height: 48px;
}

.wsef-feature-filter {
  border: 1px solid var(--wsef-border);
  border-radius: 8px;
  padding: 0.65rem;
}

.wsef-more-filters {
  border: 1px solid var(--wsef-border);
  border-radius: 8px;
  background: #fff;
  padding: 0.55rem 0.65rem 0.65rem;
}

.wsef-more-filters > summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.wsef-more-filters > summary::-webkit-details-marker {
  display: none;
}

.wsef-more-filters > summary::after {
  content: " +";
  color: var(--wsef-accent);
}

.wsef-more-filters[open] > summary::after {
  content: " -";
}

.wsef-more-filters .wsef-filter-grid {
  margin-top: 0.6rem;
}

.wsef-more-filters .wsef-feature-filter {
  margin-top: 0.6rem;
}

.wsef-filters.wsef-view-is-month .wsef-tabs {
  display: none;
}

.wsef-filters.wsef-view-is-month .wsef-more-filters > summary {
  cursor: default;
  pointer-events: none;
}

.wsef-filters.wsef-view-is-month .wsef-more-filters > summary::after,
.wsef-filters.wsef-view-is-month .wsef-more-filters[open] > summary::after {
  content: "";
}

.wsef-feature-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wsef-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--wsef-border);
  border-radius: 8px;
  padding: 0.28rem 0.48rem;
  background: #fff;
  cursor: pointer;
  font-size: 0.84rem;
  line-height: 1.2;
}

.wsef-feature-pill input {
  margin: 0;
  width: 13px;
  height: 13px;
}

.wsef-feature-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 16px !important;
}

.wsef-apply,
.wsef-submit-form button,
.wsef-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--wsef-accent);
  background: var(--wsef-accent);
  color: #fff;
  padding: 0.72rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
  font-family: inherit;
}

.wsef-btn .wsef-icon {
  width: 13px;
  height: 13px;
}

.wsef-filter-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
}

.wsef-filter-reset {
  color: var(--wsef-accent);
  text-decoration: none;
  font-size: 0.88rem;
}

.wsef-filter-reset:hover,
.wsef-filter-reset:focus {
  text-decoration: underline;
}

.wsef-filter-reset-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--wsef-accent);
  border-radius: 8px;
  padding: 0 12px;
  height: 48px;
  font-size: 0.88rem;
  line-height: 1;
  background: #fff;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
}

.wsef-filter-reset-inline:hover,
.wsef-filter-reset-inline:focus {
  text-decoration: none;
  background: #f7f9fb;
}

.wsef-apply-fallback {
  padding: 0.4rem 0.65rem;
  font-size: 0.82rem;
}

.wsef-has-js .wsef-apply-fallback {
  display: none;
}

.wsef-btn.is-subtle {
  background: #fff;
  color: var(--wsef-accent);
}

.wsef-btn.is-subtle:hover,
.wsef-btn.is-subtle:focus {
  background: #f7f9fb;
  box-shadow: 0 0 0 2px rgba(0, 159, 227, 0.12);
}

.wsef-carousel {
  position: relative;
}

[data-wsef-results="1"] {
  position: relative;
}

.wsef-wrap.is-loading [data-wsef-results="1"] {
  pointer-events: none;
}

.wsef-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 35;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.wsef-loading-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: rgba(15, 23, 32, 0.48);
}

.wsef-wrap.is-loading .wsef-loading-overlay {
  display: flex;
}

.wsef-loading-box {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--wsef-border);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(15, 23, 32, 0.18);
  padding: 20px;
  min-width: 210px;
}

.wsef-loading-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(0, 159, 227, 0.25);
  border-top-color: var(--wsef-accent);
  border-radius: 50%;
  animation: wsef-spin 0.8s linear infinite;
}

.wsef-loading-text {
  color: var(--wsef-text);
  font-size: 0.96rem;
  line-height: 1.2;
  text-align: center;
}

@keyframes wsef-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wsef-loading-spinner {
    animation: none;
  }
}

.wsef-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  width: 100%;
}

.wsef-card {
  background: var(--wsef-card);
  border: 1px solid var(--wsef-border);
  border-radius: 8px;
  overflow: hidden;
}

.wsef-card-link {
  color: inherit;
  text-decoration: none;
}

.wsef-card-image-wrap {
  position: relative;
}

.wsef-card-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
  background: linear-gradient(130deg, #d9ece6 0%, #f2f1da 100%);
  border: 1px solid var(--wsef-border);
  border-radius: 8px;
}

.wsef-card .wsef-card-image {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.wsef-featured-overlay {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--wsef-accent);
  background: #fff;
  color: var(--wsef-accent);
  border-radius: 8px;
  padding: 0.16rem 0.46rem;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
}

.wsef-card-fallback {
  display: grid;
  place-items: center;
}

.wsef-card-fallback span {
  font-size: 2rem;
  font-weight: 700;
  color: #39524d;
}

.wsef-card-body {
  padding: 1rem 0.95rem 1.05rem;
}

.wsef-card:not(.wsef-month-preview-card) .wsef-card-body h3 {
  font-size: clamp(1.7rem, 2.3vw, 2.35rem);
  margin: 0.28rem 0 0.95rem;
  line-height: 1.08;
  letter-spacing: -0.012em;
}

.wsef-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0.82rem;
}

.wsef-single-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0.8rem;
}

.wsef-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.73rem;
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
}

.wsef-badge-icon {
  font-size: 11px;
}

.wsef-meta-material-icon {
  font-size: 22px !important;
}

.wsef-badge-source,
.wsef-badge-category,
.wsef-badge-featured {
  background: var(--wsef-accent-soft);
}

.wsef-day-counter {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--wsef-accent);
  background: #fff;
  color: var(--wsef-accent);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.52rem;
  margin-bottom: 0.68rem;
  width: max-content;
  max-width: 100%;
  justify-self: start;
  align-self: start;
}

.wsef-day-counter.is-inline {
  margin-bottom: 0;
}

.wsef-side .wsef-day-counter {
  display: inline-flex !important;
  align-items: center;
  border: 1px solid #009fe3 !important;
  background: #fff !important;
  color: #009fe3 !important;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.52rem;
  width: max-content;
  box-shadow: none !important;
  text-decoration: none !important;
}

.wsef-meta-line {
  margin: 0.34rem 0;
  display: flex;
  align-items: center;
  gap: 0.48rem;
  line-height: 1.34;
  font-size: 1rem;
}

.wsef-card-body .wsef-meta-line {
  margin: 0.3rem 0 !important;
}

.wsef-card-body .wsef-meta-line + .wsef-meta-line {
  margin-top: 0.22rem !important;
}

.wsef-card-body p {
  margin: 0;
}

.wsef-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  color: var(--wsef-accent);
}

.wsef-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.wsef-material-icon {
  font-size: 14px;
  line-height: 1;
  color: var(--wsef-accent);
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.wsef-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0.86rem;
}

.wsef-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--wsef-border);
  border-radius: 8px;
  padding: 0.22rem 0.45rem;
  font-size: 0.8rem;
}

.wsef-submit-form {
  display: grid;
  gap: 0.7rem;
}

.wsef-honeypot {
  position: absolute;
  left: -9999px;
}

.wsef-notice {
  padding: 0.75rem;
  border-radius: 8px;
}

.wsef-notice.success {
  background: #dcefe8;
}

.wsef-notice.error {
  background: #f7dddd;
}

.wsef-single-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 1rem;
}

.wsef-single-layout {
  display: block;
  --wsef-accent: #009fe3;
  --wsef-accent-soft: #d9f2fc;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .wsef-single-layout {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }
}

.wsef-single {
  background: #fff;
  border: 1px solid var(--wsef-border);
  border-radius: 8px;
  padding: 1rem;
}

.wsef-single-header h1 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(1.7rem, 4.6vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.wsef-single .wsef-meta-line .wsef-icon {
  width: 16px;
  height: 16px;
  border-radius: 0;
  background: transparent;
  border: 0;
  padding: 0;
}

.wsef-side {
  display: none;
}

.wsef-side-prev,
.wsef-side-next {
  padding: 0;
}

.wsef-side-shell {
  border: 1px solid var(--wsef-border);
  border-radius: 8px;
  background: #fff;
  min-height: 280px;
  height: 100%;
  box-sizing: border-box;
  padding: 8px;
  width: 100%;
}

.wsef-side-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border: 0 !important;
  border-radius: 8px;
  padding: 0;
  background: #fff;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  height: 100%;
  box-sizing: border-box;
}

.wsef-side-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--wsef-accent);
  font-size: 0.88rem;
  min-height: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--wsef-accent);
  border-radius: 8px;
  background: #fff;
  line-height: 1.2;
  box-sizing: border-box;
  white-space: nowrap;
  margin-top: 0;
}

.wsef-side-prev .wsef-side-label {
  margin-right: auto;
}

.wsef-side-next .wsef-side-label {
  margin-left: auto;
}

.wsef-side-label-icon {
  font-size: 15px !important;
  line-height: 1;
}

.wsef-side-label > span {
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

.wsef-side-label-text,
.wsef-btn-label,
.wsef-nav-link-text {
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  position: relative;
  top: 1px;
}

.wsef-side-title {
  line-height: 1.25;
}

.wsef-side-meta {
  font-size: 0.82rem;
  color: #42545b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wsef-side .wsef-card-image {
  height: 120px;
}

.wsef-single-image img,
.wsef-single-image .wsef-card-image,
.wsef-map-embed iframe {
  border: 1px solid var(--wsef-border);
  border-radius: 8px;
}

.wsef-single-image {
  margin-bottom: 1rem;
}

.wsef-single-top-back {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  margin-top: 0;
  margin-bottom: 8px;
}

.wsef-single-top-back .wsef-btn {
  min-height: 40px;
  height: 40px;
  padding: 0 0.9rem;
  font-size: 0.88rem;
  line-height: 1.2;
  gap: 6px;
  box-sizing: border-box;
  white-space: nowrap;
}

.wsef-back-link .wsef-action-btn-icon {
  font-size: 15px !important;
  line-height: 1;
}

.wsef-single-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  align-items: center;
}

.wsef-single-actions .wsef-btn {
  height: 40px;
  min-height: 40px;
  padding: 0 0.82rem;
  font-size: 0.88rem;
  gap: 5px;
  box-sizing: border-box;
}

.wsef-single-actions .wsef-btn .wsef-icon {
  width: 12px;
  height: 12px;
}

.wsef-single-actions .wsef-btn .wsef-material-icon {
  font-size: 15px !important;
  line-height: 1;
}

.wsef-calendar-btn-label-short {
  display: none;
}

.wsef-share {
  position: relative;
  display: inline-flex;
}

.wsef-share-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  min-height: 40px;
  padding: 0 0.82rem;
  box-sizing: border-box;
}

.wsef-share-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  opacity: 0.8;
  transition: transform 0.16s ease;
}

.wsef-share-caret-icon {
  font-size: 16px !important;
  line-height: 1;
}

.wsef-share-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  min-width: 196px;
  background: #fff;
  border: 1px solid var(--wsef-border);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
  padding: 5px;
  z-index: 80;
  display: none;
}

.wsef-share.is-open .wsef-share-menu {
  display: block;
}

.wsef-share.is-open .wsef-share-caret {
  transform: rotate(180deg);
}

.wsef-share-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: var(--wsef-text);
  text-decoration: none;
  font: inherit;
  font-size: 0.94rem;
  cursor: pointer;
  text-align: left;
}

.wsef-share-item .wsef-icon {
  width: 14px;
  height: 14px;
}

.wsef-share-item:hover,
.wsef-share-item:focus {
  background: #f4f8fb;
}

.wsef-share-item.is-facebook .wsef-icon {
  color: #1877f2;
}

.wsef-share-item.is-instagram .wsef-icon {
  color: #e4405f;
}

.wsef-share-item.is-whatsapp .wsef-icon {
  color: #25d366;
}

.wsef-share-item.is-telegram .wsef-icon {
  color: #229ed9;
}

.wsef-share-item.is-linkedin .wsef-icon {
  color: #0a66c2;
}

.wsef-map-embed {
  position: relative;
  margin-top: 1rem;
  border: 1px solid var(--wsef-border);
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
}

.wsef-map-embed iframe {
  display: block;
  width: 100%;
  height: 320px;
  margin: 0;
  border: 0;
  pointer-events: none;
}

.wsef-map-embed.is-map-active iframe {
  pointer-events: auto;
}

.wsef-map-guard {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20, 30, 38, 0.34);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.16s ease;
}

.wsef-map-embed.is-map-hint-visible .wsef-map-guard {
  opacity: 1;
}

.wsef-map-embed.is-map-active .wsef-map-guard {
  opacity: 0;
}

.wsef-map-guard-panel {
  display: grid;
  justify-items: center;
  gap: 6px;
  max-width: min(360px, calc(100% - 18px));
  background: #fff;
  border: 1px solid var(--wsef-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  padding: 20px;
}

.wsef-map-guard-hint {
  margin: 0;
  text-align: center;
  color: #2e3d46;
  font-size: 0.84rem;
  line-height: 1.35;
}

.wsef-single-nav {
  margin-top: 1rem;
  display: none;
  justify-content: space-between;
  gap: 1rem;
}

.wsef-nav-link-text-short {
  display: none;
}

.wsef-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--wsef-accent);
  border-radius: 8px;
  background: #fff;
  color: var(--wsef-accent);
  text-decoration: none;
  box-sizing: border-box;
  font-size: 0.88rem;
  line-height: 1.2;
  white-space: nowrap;
}

.wsef-nav-link-icon {
  font-size: 15px !important;
  line-height: 1;
}

.wsef-single-nav-back {
  display: none;
}

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

.wsef-month,
.wsef-month * {
  font-family: inherit;
}

.wsef-month-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 12px;
  margin: 8px 0 18px;
}

.wsef-month-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--wsef-border);
  background: #fff;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  cursor: pointer;
}

.wsef-month-nav-icon {
  font-size: 18px;
}

.wsef-month-today {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--wsef-border);
  background: #fff;
  color: var(--wsef-text);
  border-radius: 8px;
  height: 34px;
  min-width: 74px;
  padding: 0 10px;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
}

.wsef-month-today:hover,
.wsef-month-today:focus {
  border-color: var(--wsef-accent);
  color: var(--wsef-accent);
}

.wsef-month-today-icon {
  font-size: 14px;
}

.wsef-month-title {
  font-size: 1.45rem;
  line-height: 1.1;
  font-weight: 700;
  padding: 0.12rem 0.25rem;
  border-radius: 8px;
  white-space: nowrap;
  margin: 0;
}

.wsef-month-head {
  font-weight: 600;
  font-size: 0.86rem;
  text-align: center;
  padding: 8px 6px;
  border: 1px solid var(--wsef-border);
  border-radius: 8px;
  background: #f4f6f7;
  line-height: 1.1;
}

.wsef-month-grid .wsef-month-head:nth-child(6),
.wsef-month-grid .wsef-month-head:nth-child(7) {
  background: var(--wsef-accent);
  border-color: var(--wsef-accent);
  color: #fff;
}

.wsef-month-cell {
  min-height: 72px;
  border: 1px solid var(--wsef-border);
  border-radius: 8px;
  background: #fff;
  text-align: left;
  padding: 6px;
  cursor: default;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.wsef-month-cell.is-outside-month {
  background: #e9edf1;
  border-color: #cfd6dc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.wsef-month-cell.is-outside-month .wsef-day-num {
  color: #84929c;
}

.wsef-month-cell.is-outside-month .wsef-day-name {
  color: #6c7a84;
}

.wsef-month-cell.is-outside-month .wsef-day-more {
  color: #5f7b8e;
}

.wsef-month-cell.is-outside-month .wsef-day-cat-icon {
  background: #d9e4eb;
  border-color: #bfd0db;
}

.wsef-day-events {
  display: block;
  margin-top: 3px;
  color: var(--wsef-accent);
  font-size: 0.75rem;
}

.wsef-day-names {
  display: grid;
  gap: 2px;
  margin-top: 4px;
}

.wsef-day-name-wrap {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
}

.wsef-day-name-row {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  max-width: 100%;
  width: auto;
  min-width: 0;
}

.wsef-day-name,
.wsef-day-more {
  display: block;
  font-size: 0.74rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #314048;
}

.wsef-day-more {
  color: var(--wsef-accent);
}

.wsef-day-name {
  color: var(--wsef-accent);
  text-decoration: none;
  flex: 0 1 auto;
  max-width: calc(100% - 18px);
  min-width: 0;
}

.wsef-day-name:hover,
.wsef-day-name:focus {
  text-decoration: underline;
}

.wsef-month-hover-card {
  display: none;
}

.wsef-category-icon {
  display: inline-flex;
  align-items: center;
}

.wsef-day-cat-icon .wsef-material-icon {
  font-size: 12px;
}

.wsef-day-cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--wsef-accent-soft);
  flex: 0 0 auto;
  margin-left: 4px;
}

.wsef-month-preview-card {
  width: 285px;
  max-width: min(285px, calc(100vw - 24px));
  flex: none;
}

.wsef-month-preview-card .wsef-card-image {
  height: 106px;
}

.wsef-month-preview-card .wsef-card-body {
  padding: 0.65rem;
}

.wsef-month-preview-card h3 {
  font-size: 1.08rem;
  line-height: 1.3;
  margin: 0.15rem 0 0.45rem;
}

.wsef-month-preview-card .wsef-meta-line {
  font-size: 0.9rem;
  line-height: 1.25;
  margin: 0.1rem 0 !important;
}

.wsef-month-preview-card .wsef-meta-line + .wsef-meta-line {
  margin-top: 0 !important;
}

.wsef-month-preview-card .wsef-meta-line,
.wsef-month-preview-card p {
  padding: 0 !important;
  border: 0 !important;
}

.wsef-month-mobile-list {
  display: none;
}

.wsef-month-day-group {
  border: 1px solid var(--wsef-border);
  border-radius: 8px;
  background: #fff;
  padding: 0.7rem;
}

.wsef-month-day-title {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.wsef-month-day-events {
  display: grid;
  gap: 0.5rem;
}

.wsef-month-list-item {
  display: grid;
  gap: 0.45rem;
  border: 1px solid var(--wsef-border);
  border-radius: 8px;
  padding: 0.55rem 0.6rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
}

.wsef-month-list-image-wrap {
  position: relative;
  display: block;
}

.wsef-month-list-image-wrap .wsef-card-image {
  width: 100%;
  height: 128px;
  object-fit: cover;
  border: 1px solid var(--wsef-border);
  border-radius: 8px;
  display: block;
}

.wsef-month-list-head {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: auto;
  max-width: 100%;
}

.wsef-month-list-title {
  font-weight: 600;
  line-height: 1.3;
  min-width: 0;
}

.wsef-month-list-meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #314048;
  font-size: 0.88rem;
}

.wsef-month-list-cat-icon .wsef-material-icon {
  font-size: 11px;
}

.wsef-month-list-cat-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--wsef-accent-soft);
  border: 1px solid rgba(0, 159, 227, 0.22);
  margin-left: 2px;
}

.wsef-month-mobile-empty {
  border: 1px solid var(--wsef-border);
  border-radius: 8px;
  padding: 0.7rem;
  background: #fff;
  margin: 0;
}

.wsef-cards.is-empty {
  min-height: 160px;
  align-content: center;
}

.wsef-empty-state {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 560px);
  margin: 0;
  padding: 0.95rem 1rem;
  border: 1px solid #c7dce8;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f9fd 100%);
  color: #25414f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.wsef-empty-state-icon {
  font-size: 20px !important;
  line-height: 1;
  color: var(--wsef-accent);
}

.wsef-pagination {
  margin-top: 1rem;
  text-align: center;
}

.wsef-load-more {
  display: inline-block;
  border: 1px solid var(--wsef-accent);
  color: var(--wsef-accent);
  background: #fff;
  padding: 0.68rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-family: inherit;
}

.wsef-load-more:hover,
.wsef-load-more:focus {
  background: #f7f9fb;
}

@media (min-width: 992px) {
  .wsef-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .wsef-filter-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: end;
  }

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

@media (min-width: 1280px) {
  .wsef-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .wsef-day-name-wrap:hover .wsef-month-hover-card,
  .wsef-day-name-wrap:focus-within .wsef-month-hover-card {
    display: block;
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    z-index: 50;
  }

  .wsef-day-name-wrap.is-right:hover .wsef-month-hover-card,
  .wsef-day-name-wrap.is-right:focus-within .wsef-month-hover-card {
    left: auto;
    right: 0;
  }

  .wsef-day-name-wrap.is-up:hover .wsef-month-hover-card,
  .wsef-day-name-wrap.is-up:focus-within .wsef-month-hover-card {
    top: auto;
    bottom: calc(100% + 8px);
  }
}

@media (max-width: 1024px) {
  .wsef-month-grid {
    display: none;
  }

  .wsef-month-toolbar {
    gap: 8px;
  }

  .wsef-month-title {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    font-size: clamp(0.95rem, 5.2vw, 1.35rem);
  }

  .wsef-month-today {
    width: 34px;
    min-width: 34px;
    padding: 0;
  }

  .wsef-month-today-label {
    display: none;
  }

  .wsef-month-mobile-list {
    display: grid;
    gap: 0.65rem;
  }
}

@media (min-width: 1280px) {
  .wsef-single-layout {
    display: grid;
    grid-template-columns: minmax(210px, 240px) minmax(0, 980px) minmax(210px, 240px);
    gap: 20px;
    align-items: start;
    justify-content: center;
  }

  .wsef-side {
    display: flex;
    position: sticky;
    top: calc(var(--wsef-single-sticky-offset, 0px) + 20px);
  }

  .wsef-single-wrap {
    margin: 0;
    max-width: none;
    width: 100%;
    padding-top: 10px;
  }

  .wsef-side-shell {
    padding-top: 10px;
  }
}

@media (max-width: 1279px) {
  .wsef-single-nav {
    display: flex;
  }

  .wsef-single-nav > div {
    flex: 1 1 0;
    min-width: 0;
  }

  .wsef-single-nav .wsef-nav-link {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .wsef-single-top-back {
    display: none;
  }

  .wsef-single-wrap {
    padding: 0.65rem;
  }

  .wsef-single {
    padding: 0.85rem;
  }

  .wsef-single-header h1 {
    font-size: clamp(1.45rem, 8vw, 2.35rem);
    margin: 0.3rem 0 0.85rem;
  }

  .wsef-single-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }

  .wsef-single-actions .wsef-btn {
    width: 100%;
    justify-content: center;
  }

  .wsef-single-nav {
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: stretch;
  }

  .wsef-single-nav-back {
    display: block;
    order: 3;
    flex: 0 0 100%;
    width: 100%;
  }

  .wsef-single-nav-prev {
    order: 1;
    flex: 1 1 0;
    min-width: 0;
  }

  .wsef-single-nav-next {
    order: 2;
    flex: 1 1 0;
    min-width: 0;
  }

  .wsef-single-nav > div {
    flex: 1 1 0;
    min-width: 0;
  }

  .wsef-single-nav > .wsef-single-nav-back {
    flex: 0 0 100%;
  }

  .wsef-single-nav-back .wsef-nav-link {
    width: 100%;
  }

  .wsef-nav-link {
    font-size: clamp(0.78rem, 3.6vw, 0.95rem);
    gap: 3px;
  }

  .wsef-nav-link-icon {
    font-size: clamp(13px, 3.8vw, 16px) !important;
  }
}

@media (max-width: 430px) {
  .wsef-calendar-btn-label-full {
    display: none;
  }

  .wsef-calendar-btn-label-short {
    display: inline-flex;
  }

  .wsef-single-nav-prev .wsef-nav-link-text-full,
  .wsef-single-nav-next .wsef-nav-link-text-full {
    display: none;
  }

  .wsef-single-nav-prev .wsef-nav-link-text-short,
  .wsef-single-nav-next .wsef-nav-link-text-short {
    display: inline-flex;
  }

  .wsef-single-nav .wsef-nav-link {
    padding-left: 10px;
    padding-right: 10px;
    gap: 4px;
  }
}

.wsef-download-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  --wsef-accent: #009fe3;
  --wsef-border: #c7d2d0;
  --wsef-text: #2f3a40;
}

.wsef-download-modal.is-open {
  display: flex;
}

.wsef-download-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 26, 34, 0.45);
}

.wsef-download-modal-panel {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid var(--wsef-border);
  border-radius: 10px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
  padding: 16px;
}

.wsef-download-modal-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.wsef-download-modal-text {
  margin: 0;
  color: #44535d;
}

.wsef-download-modal-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
