.ndja-events {
  --nje-blue: #003a5d;
  --nje-ink: #173746;
  --nje-line: #dbe5eb;
  --nje-soft: #f2f6f8;
  max-width: 1200px;
  margin: 24px auto 38px;
  font-family: inherit;
  color: var(--nje-ink);
  line-height: 1.5;
  isolation: isolate;
}
.ndja-events * {
  box-sizing: border-box;
}
.ndja-events[hidden],
.ndja-events [hidden] {
  display: none !important;
}
.ndja-events button,
.ndja-events input,
.ndja-events textarea,
.ndja-events select {
  font: inherit;
}
.ndja-events button {
  cursor: pointer;
}
.ndja-events button:disabled {
  opacity: 0.5;
  cursor: default;
}
.ndja-events h2,
.ndja-events h3 {
  font-family: inherit;
  color: var(--nje-blue);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.ndja-events .nje-heading {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 18px;
  padding: 0;
  background: none;
  border: 0;
}
.ndja-events .nje-heading h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 750;
  margin: 0;
}
.ndja-events .nje-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin: 0 0 8px;
  color: #526b7a;
}
.ndja-events .nje-controls {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.ndja-events .nje-btn,
.ndja-events .nje-arrow {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--nje-blue);
  border-radius: 9px;
  background: var(--nje-blue);
  padding: 10px 15px;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  box-shadow: none;
  text-transform: none;
  text-decoration: none;
  letter-spacing: normal;
}
.ndja-events .nje-btn:hover {
  background: #002c48;
}
.ndja-events .nje-btn.nje-quiet,
.ndja-events .nje-arrow {
  background: #fff;
  color: var(--nje-blue);
  border-color: var(--nje-line);
}
.ndja-events .nje-arrow {
  width: 44px;
  font-size: 23px;
  padding: 8px;
}
.ndja-events .nje-quiet:hover,
.ndja-events .nje-arrow:hover {
  background: #eaf1f6;
}
.ndja-events :is(button, a, summary):focus-visible {
  outline: 3px solid #956600;
  outline-offset: 3px;
}
.ndja-events .nje-track {
  list-style: none !important;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding: 3px;
  padding: 3px 3px 15px !important;
  margin: 0 !important;
  scrollbar-width: thin;
  scrollbar-color: #a7bac6 transparent;
  align-items: stretch;
  -webkit-overflow-scrolling: touch;
}
.ndja-events .nje-track:focus-visible {
  outline: 3px solid #956600;
  outline-offset: 3px;
  border-radius: 12px;
}
.ndja-events .nje-card {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  scroll-snap-align: start;
  min-width: 0;
  border: 1px solid var(--nje-line);
  border-top: 5px solid var(--nje-accent);
  border-radius: 15px;
  background: white;
  box-shadow: 0 4px 14px #12364b0b;
}
.ndja-events .nje-card article {
  padding: 22px;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: none;
  border: 0;
  box-shadow: none;
  margin: 0;
}
.ndja-events .nje-public {
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #2a4858;
  min-height: 36px;
}
.ndja-events .nje-public i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--nje-accent);
  margin-top: 4px;
  flex-shrink: 0;
}
.ndja-events .nje-date {
  font-size: clamp(23px, 2.3vw, 29px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.045em;
  margin: 18px 0 6px;
  color: var(--nje-blue);
  overflow-wrap: anywhere;
}
.ndja-events .nje-year {
  font-size: 13px;
  font-weight: 600;
  color: #586e7b;
  margin: 0 0 20px;
}
.ndja-events .nje-card h3 {
  font-size: 21px;
  font-weight: 750;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
.ndja-events .nje-place {
  font-size: 14px;
  color: #355566;
  font-weight: 600;
  margin: 0 0 10px;
}
.ndja-events .nje-description {
  font-size: 14px;
  color: #526b78;
  margin: 0 0 20px;
  overflow-wrap: anywhere;
}
.ndja-events .nje-card-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}
.ndja-events .nje-card-links a {
  font-size: 14px;
  font-weight: 700;
  color: var(--nje-blue);
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
}
.ndja-events .nje-card-links a.nje-calendar {
  font-size: 12px;
  font-weight: 500;
  color: #4f6674;
}
.ndja-events .nje-manage-slot {
  margin-top: 10px;
}
.ndja-events .nje-manage-slot:empty {
  display: none;
}
.ndja-events .nje-btn.nje-manage {
  background: transparent;
  border: 1px dashed #c0cfd8;
  color: #3e5d6e;
  font-size: 13px;
  min-height: 42px;
}
.ndja-events .nje-empty {
  font-size: 14px;
  color: #526b78;
  padding: 12px 0;
  margin: 0;
}
.ndja-events .nje-feedback:empty {
  display: none;
}
.ndja-events .nje-feedback {
  font-size: 14px;
  background: #eef6f1;
  color: #20593d;
  padding: 12px 15px;
  border-radius: 8px;
  margin-top: 12px;
}
.ndja-events .is-error {
  background: #fff1ec;
  color: #8c342a;
}
.ndja-events .nje-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ndja-events .nje-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(800px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 1px solid var(--nje-line);
  border-radius: 18px;
  color: var(--nje-ink);
  background: #fff;
  overflow: auto;
  box-shadow: 0 24px 80px #001d3455;
}
.ndja-events .nje-dialog::backdrop {
  background: #002b4699;
}
.ndja-events .nje-dialog-head,
.ndja-events .nje-dialog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 24px;
  background: #fff;
  position: sticky;
  z-index: 2;
}
.ndja-events .nje-dialog-head {
  top: 0;
  border-bottom: 1px solid var(--nje-line);
}
.ndja-events .nje-dialog-head h2 {
  font-size: 23px;
  margin: 0;
}
.ndja-events .nje-dialog-foot {
  bottom: 0;
  border-top: 1px solid var(--nje-line);
  justify-content: flex-end;
}
.ndja-events .nje-close {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  background: var(--nje-soft);
  border: 0;
  border-radius: 8px;
  color: var(--nje-blue);
  font-size: 28px;
  line-height: 1;
}
.ndja-events .nje-dialog-body {
  padding: 24px;
}
.ndja-events .nje-manager-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.ndja-events .nje-tabs {
  display: flex;
  gap: 8px;
}
.ndja-events .nje-tabs [aria-pressed="true"] {
  background: var(--nje-blue) !important;
  color: #fff !important;
}
.ndja-events .nje-manager-note {
  font-size: 13px;
  color: #586d7a;
  margin: 16px 0;
}
.ndja-events .nje-list-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--nje-line);
}
.ndja-events .nje-list-row > div:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.ndja-events .nje-list-row p {
  font-size: 14px;
  margin: 5px 0;
}
.ndja-events .nje-list-row small {
  font-size: 12px;
  color: #536c79;
}
.ndja-events .nje-row-actions {
  display: flex;
  gap: 7px;
  flex-shrink: 0;
}
.ndja-events .nje-danger {
  color: #924838 !important;
}
.ndja-events .nje-delete-confirm {
  background: #943e30;
  border-color: #943e30;
}
.ndja-events .nje-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.ndja-events .nje-wide {
  grid-column: 1/-1;
}
.ndja-events label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 650;
  margin: 0;
  min-width: 0;
}
.ndja-events input:not([type="checkbox"]),
.ndja-events select,
.ndja-events textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid #b9ccd7;
  border-radius: 8px;
  padding: 10px 12px;
  min-height: 46px;
  background: white;
  color: #173746;
  box-shadow: none;
  line-height: 1.4;
}
.ndja-events input:focus,
.ndja-events select:focus,
.ndja-events textarea:focus {
  outline: 2px solid #003a5d;
  outline-offset: 2px;
}
.ndja-events label small {
  font-size: 12px;
  font-weight: 400;
  color: #536c79;
}
.ndja-events .nje-check {
  flex-direction: row;
  gap: 10px;
  align-items: center;
  min-height: 44px;
}
.ndja-events input[type="checkbox"] {
  accent-color: #003a5d;
  min-width: 20px;
  width: 20px;
  height: 20px;
  margin: 0;
}
.ndja-events .nje-form-error {
  color: #943e30;
  font-size: 14px;
}
.ndja-events .nje-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  font-size: 13px;
}
@media (max-width: 1000px) {
  .ndja-events .nje-track {
    grid-auto-columns: calc((100% - 18px) / 2);
  }
}
@media (max-width: 620px) {
  .ndja-events {
    margin: 20px auto 28px;
  }
  .ndja-events .nje-track {
    grid-auto-columns: 88%;
    gap: 14px;
  }
  .ndja-events .nje-card article {
    padding: 20px;
  }
  .ndja-events .nje-date {
    font-size: 27px;
  }
  .ndja-events .nje-heading {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 14px;
  }
  .ndja-events .nje-controls {
    margin-left: auto;
  }
  .ndja-events .nje-heading h2 {
    font-size: 26px;
  }
  .ndja-events .nje-list-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .ndja-events .nje-fields {
    grid-template-columns: 1fr;
  }
  .ndja-events .nje-dialog-head,
  .ndja-events .nje-dialog-foot {
    padding: 15px 18px;
  }
  .ndja-events .nje-dialog-body {
    padding: 18px;
  }
  .ndja-events .nje-dialog-head h2 {
    font-size: 21px;
  }
  .ndja-events .nje-dialog {
    max-height: calc(100dvh - 16px);
  }
  .ndja-events .nje-manager-top {
    align-items: stretch;
    flex-direction: column;
  }
  .ndja-events .nje-row-actions {
    width: 100%;
  }
  .ndja-events .nje-row-actions .nje-btn {
    flex: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ndja-events * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  .ndja-events .nje-track {
    scroll-snap-type: none;
  }
}
