:root {
  --cris-events-blue: #0c6196;
  --cris-events-blue-light: #268dc7;
  --cris-events-green: #0c9a52;
  --cris-events-bg: #f4f9fc;
  --cris-events-text: #173044;
  --cris-events-muted: #647987;
  --cris-events-white: #fff;
  --cris-events-border: rgba(12, 97, 150, 0.14);
  --cris-events-shadow: 0 18px 50px rgba(12, 97, 150, 0.12);
}

.cris-events-archive,
.cris-events-archive * {
  box-sizing: border-box;
}
.cris-events-archive {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--cris-events-text);
  background: var(--cris-events-bg);
}
.cris-events-archive button,
.cris-events-archive input,
.cris-events-archive select {
  font: inherit;
}

.cris-events-archive__hero {
  position: relative;
  overflow: hidden;
  padding: 116px 24px 104px;
  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(12, 154, 82, 0.28),
      transparent 34%
    ),
    linear-gradient(135deg, #084f7e 0%, #0c6196 48%, #268dc7 100%);
  color: #fff;
}
.cris-events-archive__hero:after {
  content: "";
  position: absolute;
  left: -3%;
  right: -3%;
  bottom: -1px;
  height: 58px;
  background: var(--cris-events-bg);
  clip-path: polygon(
    0 58%,
    12% 38%,
    28% 54%,
    44% 30%,
    62% 52%,
    78% 35%,
    100% 55%,
    100% 100%,
    0 100%
  );
}
.cris-events-archive__hero-inner {
  position: relative;
  z-index: 1;
  width: min(1220px, 100%);
  margin: auto;
}
.cris-events-archive__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.cris-events-archive__eyebrow:before {
  content: "◆";
  font-size: 11px;
  color: #9ce4be;
}
.cris-events-archive__hero h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -2.7px;
  font-weight: 950;
}
.cris-events-archive__hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.91);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.cris-events-archive__shell {
  width: min(1220px, calc(100% - 40px));
  margin: -22px auto 0;
  padding-bottom: 96px;
  position: relative;
  z-index: 3;
}
.cris-events-archive__toolbar {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 65px rgba(12, 97, 150, 0.15);
  backdrop-filter: blur(18px);
}
.cris-events-archive__status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.cris-events-archive__status button {
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--cris-events-border);
  border-radius: 999px;
  background: #fff;
  color: var(--cris-events-blue);
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
}
.cris-events-archive__status button:hover,
.cris-events-archive__status button.is-active {
  background: var(--cris-events-blue);
  border-color: var(--cris-events-blue);
  color: #fff;
  transform: translateY(-1px);
}
.cris-events-archive__filters {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr 1.4fr;
  gap: 14px;
}
.cris-events-archive__filters label {
  display: grid;
  gap: 7px;
}
.cris-events-archive__filters label > span {
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  color: var(--cris-events-blue);
}
.cris-events-archive__filters select,
.cris-events-archive__filters input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--cris-events-border);
  border-radius: 12px;
  background: #fafdff;
  color: var(--cris-events-text);
  padding: 0 14px;
  outline: none;
  transition: 0.2s ease;
}
.cris-events-archive__filters select:focus,
.cris-events-archive__filters input:focus {
  border-color: var(--cris-events-blue-light);
  box-shadow: 0 0 0 4px rgba(38, 141, 199, 0.11);
  background: #fff;
}
.cris-events-archive__toolbar-bottom {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.cris-events-archive__reset,
.cris-events-archive__mobile-archive {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.cris-events-archive__reset {
  background: rgba(12, 97, 150, 0.08);
  color: var(--cris-events-blue);
}
.cris-events-archive__mobile-archive {
  display: none;
  background: var(--cris-events-green);
  color: #fff;
}

.cris-events-archive__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 28px;
  align-items: start;
  margin-top: 34px;
}
.cris-events-archive__summary {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 0 0 16px;
  color: var(--cris-events-muted);
}
.cris-events-archive__summary strong {
  font-size: 26px;
  color: var(--cris-events-blue);
}
.cris-events-archive__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.cris-events-archive__card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--cris-events-border);
  border-radius: 22px;
  box-shadow: var(--cris-events-shadow);
  transition: 0.25s ease;
}
.cris-events-archive__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 68px rgba(12, 97, 150, 0.17);
}
.cris-events-archive__image {
  position: relative;
  height: 220px;
  background: linear-gradient(
    135deg,
    rgba(12, 97, 150, 0.16),
    rgba(12, 154, 82, 0.12)
  );
  overflow: hidden;
}
.cris-events-archive__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.cris-events-archive__card:hover .cris-events-archive__image img {
  transform: scale(1.035);
}
.cris-events-archive__image--empty {
  display: grid;
  place-items: center;
  color: var(--cris-events-blue);
  font-size: 54px;
}
.cris-events-archive__date {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 58px;
  height: 58px;
  border-radius: 15px;
  background: rgba(12, 97, 150, 0.94);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: 0 10px 28px rgba(12, 97, 150, 0.26);
}
.cris-events-archive__date strong {
  display: block;
  font-size: 23px;
  line-height: 0.9;
}
.cris-events-archive__date span {
  display: block;
  font-size: 9px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: 0.5px;
}
.cris-events-archive__past-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(23, 48, 68, 0.84);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.cris-events-archive__content {
  padding: 21px;
}
.cris-events-archive__type {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--cris-events-green);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.85px;
}
.cris-events-archive__card h3 {
  margin: 0 0 10px;
  color: var(--cris-events-text);
  font-size: 23px;
  line-height: 1.18;
  letter-spacing: -0.45px;
}
.cris-events-archive__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 12px;
  color: var(--cris-events-muted);
  font-size: 12px;
  font-weight: 800;
}
.cris-events-archive__description {
  margin: 0;
  color: var(--cris-events-muted);
  font-size: 14px;
  line-height: 1.62;
}
.cris-events-archive__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}
.cris-events-archive__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 950;
  transition: 0.2s ease;
}
.cris-events-archive__actions a:first-child {
  background: var(--cris-events-green);
  color: #fff;
}
.cris-events-archive__actions a:first-child:hover {
  background: #087e43;
  transform: translateY(-2px);
}
.cris-events-archive__actions a.cris-events-archive__details {
  background: rgba(12, 97, 150, 0.09);
  color: var(--cris-events-blue);
}
.cris-events-archive__actions a.cris-events-archive__details:hover {
  background: var(--cris-events-blue);
  color: #fff;
}

.cris-events-archive__loading,
.cris-events-archive__empty,
.cris-events-archive__error {
  grid-column: 1/-1;
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 30px;
  border: 2px dashed rgba(12, 97, 150, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--cris-events-muted);
  text-align: center;
  font-weight: 850;
}
.cris-events-archive__pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.cris-events-archive__pagination button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--cris-events-border);
  border-radius: 11px;
  background: #fff;
  color: var(--cris-events-blue);
  font-weight: 900;
  cursor: pointer;
}
.cris-events-archive__pagination button:hover,
.cris-events-archive__pagination button.is-active {
  background: var(--cris-events-blue);
  border-color: var(--cris-events-blue);
  color: #fff;
}
.cris-events-archive__pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cris-events-archive__sidebar {
  position: sticky;
  top: 25px;
}
.cris-events-archive__sidebar-card {
  padding: 23px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff, #f8fcfe);
  border: 1px solid var(--cris-events-border);
  box-shadow: var(--cris-events-shadow);
}
.cris-events-archive__sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cris-events-archive__sidebar-head > span {
  font-size: 25px;
  font-weight: 950;
  color: var(--cris-events-blue);
}
.cris-events-archive__sidebar-head button {
  display: none;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--cris-events-blue);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
.cris-events-archive__sidebar-card > p {
  margin: 9px 0 21px;
  color: var(--cris-events-muted);
  font-size: 13px;
  line-height: 1.55;
}
.cris-events-archive__side-section {
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--cris-events-border);
}
.cris-events-archive__side-section h2 {
  margin: 0 0 10px;
  color: var(--cris-events-text);
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.cris-events-archive__side-section button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--cris-events-muted);
  text-align: left;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.18s ease;
}
.cris-events-archive__side-section button:hover,
.cris-events-archive__side-section button.is-active {
  background: rgba(12, 97, 150, 0.09);
  color: var(--cris-events-blue);
}
.cris-events-archive__side-section em {
  font-style: normal;
  color: var(--cris-events-green);
}
.cris-events-archive__backdrop {
  display: none;
}

@media (max-width: 980px) {
  .cris-events-archive__filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cris-events-archive__layout {
    grid-template-columns: 1fr;
  }
  .cris-events-archive__sidebar {
    position: fixed;
    z-index: 999999;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(88vw, 360px);
    padding: 18px;
    background: var(--cris-events-bg);
    overflow: auto;
    transform: translateX(105%);
    transition: transform 0.28s ease;
  }
  .cris-events-archive__sidebar.is-open {
    transform: translateX(0);
  }
  .cris-events-archive__sidebar-card {
    min-height: 100%;
  }
  .cris-events-archive__sidebar-head button {
    display: grid;
    place-items: center;
  }
  .cris-events-archive__mobile-archive {
    display: inline-flex;
  }
  .cris-events-archive__toolbar-bottom {
    justify-content: space-between;
  }
  .cris-events-archive__backdrop {
    position: fixed;
    z-index: 999998;
    inset: 0;
    background: rgba(4, 22, 34, 0.58);
    backdrop-filter: blur(3px);
  }
  .cris-events-archive__backdrop.is-open {
    display: block;
  }
}

@media (max-width: 700px) {
  .cris-events-archive__hero {
    padding: 88px 20px 82px;
  }
  .cris-events-archive__hero h1 {
    letter-spacing: -1.7px;
  }
  .cris-events-archive__shell {
    width: min(100% - 28px, 1220px);
    margin-top: -18px;
    padding-bottom: 72px;
  }
  .cris-events-archive__toolbar {
    padding: 17px;
    border-radius: 19px;
  }
  .cris-events-archive__status {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
  }
  .cris-events-archive__status button {
    padding: 9px 8px;
    font-size: 12px;
  }
  .cris-events-archive__filters {
    grid-template-columns: 1fr;
  }
  .cris-events-archive__grid {
    grid-template-columns: 1fr;
  }
  .cris-events-archive__image {
    height: 205px;
  }
  .cris-events-archive__card h3 {
    font-size: 21px;
  }
  .cris-events-archive__toolbar-bottom {
    align-items: stretch;
    flex-direction: column;
  }
  .cris-events-archive__mobile-archive,
  .cris-events-archive__reset {
    justify-content: center;
    width: 100%;
    min-height: 42px;
  }
}

/* =========================================================
   KOMPAKTNE KARTICE + PREGLED SLIKE
   ========================================================= */
.cris-events-archive__grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  gap: 20px !important;
}

.cris-events-archive__card {
  flex: 0 1 315px !important;
  width: min(100%, 315px) !important;
  max-width: 315px !important;
  border-radius: 20px !important;
}

.cris-events-archive__image {
  height: 145px !important;
}

.cris-events-archive__image-button {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  cursor: zoom-in !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.cris-events-archive__image-button img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
}

.cris-events-archive__content {
  padding: 18px !important;
}

.cris-events-archive__topline {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
}

.cris-events-archive__date {
  position: static !important;
  flex: 0 0 auto !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 12px !important;
  background: var(--cris-events-blue) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(12, 97, 150, 0.2) !important;
}

.cris-events-archive__date strong {
  font-size: 18px !important;
}

.cris-events-archive__date span {
  font-size: 8px !important;
}

.cris-events-archive__open-image {
  min-height: 36px !important;
  padding: 8px 13px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: rgba(12, 97, 150, 0.09) !important;
  color: var(--cris-events-blue) !important;
  font: inherit !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: 0.2s ease !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -webkit-tap-highlight-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

.cris-events-archive__open-image:hover,
.cris-events-archive__open-image:active,
.cris-events-archive__open-image:focus,
.cris-events-archive__open-image:focus-visible {
  background: var(--cris-events-blue) !important;
  color: #fff !important;
  border-color: var(--cris-events-blue) !important;
  outline: none !important;
  box-shadow: none !important;
}

.cris-events-archive__type {
  margin-bottom: 8px !important;
}

.cris-events-archive__card h3 {
  margin-bottom: 10px !important;
  font-size: 18px !important;
  line-height: 1.22 !important;
  letter-spacing: -0.2px !important;
}

.cris-events-archive__description {
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  font-size: 13px !important;
  line-height: 1.48 !important;
}

.cris-events-archive__actions {
  margin-top: 14px !important;
}

.cris-events-archive__past-badge {
  top: 10px !important;
  right: 10px !important;
  padding: 6px 9px !important;
  font-size: 9px !important;
}

/* Popup slike */
.cris-events-archive__modal {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(4, 22, 34, 0.88);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.cris-events-archive__modal.is-open {
  display: flex;
}

.cris-events-archive__modal-dialog {
  position: relative;
  width: min(94vw, 1100px);
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cris-events-archive__modal-image {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
}

.cris-events-archive__modal-close {
  position: absolute !important;
  top: -14px !important;
  right: -14px !important;
  z-index: 2 !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--cris-events-blue) !important;
  color: #fff !important;
  font-size: 27px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -webkit-tap-highlight-color: transparent !important;
  outline: none !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28) !important;
}

.cris-events-archive__modal-close:hover,
.cris-events-archive__modal-close:active,
.cris-events-archive__modal-close:focus,
.cris-events-archive__modal-close:focus-visible {
  background: var(--cris-events-blue-light) !important;
  color: #fff !important;
  outline: none !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28) !important;
}

body.cris-events-archive-modal-open {
  overflow: hidden !important;
}

@media (max-width: 700px) {
  .cris-events-archive__grid {
    justify-content: center !important;
  }

  .cris-events-archive__card {
    flex-basis: 315px !important;
    width: min(100%, 315px) !important;
    max-width: 315px !important;
  }

  .cris-events-archive__image {
    height: 145px !important;
  }

  .cris-events-archive__modal {
    padding: 14px !important;
  }

  .cris-events-archive__modal-close {
    top: -10px !important;
    right: -6px !important;
  }
}


/* ==========================================================
   CRIS EVENTS 0.2.3
   AKTIVNI I ZAVRŠENI DOGAĐAJI - ODVOJEN PRIKAZ
   Ovaj blok je namjerno na kraju fajla zbog Elementor/CSS prioriteta.
   ========================================================== */

.cris-events-archive__grid {
  display: block !important;
}

.cris-events-archive__event-section {
  width: 100% !important;
  margin: 0 0 34px !important;
}

.cris-events-archive__section-heading {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin: 0 0 16px !important;
  padding: 0 2px !important;
}

.cris-events-archive__section-heading span {
  display: block !important;
  margin-bottom: 5px !important;
  color: #0C9A52 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}

.cris-events-archive__section-heading h2 {
  margin: 0 !important;
  color: #173044 !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  font-weight: 850 !important;
}

.cris-events-archive__active-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

/* Završene akcije: kompaktno, odvojeno i bez velikih slika. */
.cris-events-archive__event-section--past {
  margin-top: 38px !important;
  padding-top: 28px !important;
  border-top: 1px solid rgba(12, 97, 150, .13) !important;
}

.cris-events-archive__event-section--past .cris-events-archive__section-heading span {
  color: #738693 !important;
}

.cris-events-archive__past-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}

.cris-events-archive__past-card {
  display: grid !important;
  grid-template-columns: 132px minmax(0, 1fr) !important;
  min-height: 118px !important;
  overflow: hidden !important;
  border: 1px solid #d9e6ed !important;
  border-radius: 17px !important;
  background: #ffffff !important;
  box-shadow: 0 8px 24px rgba(23, 48, 68, .055) !important;
}

.cris-events-archive__past-thumb {
  position: relative !important;
  width: 132px !important;
  min-height: 118px !important;
  overflow: hidden !important;
  background: #eef5f8 !important;
}

.cris-events-archive__past-image-button {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 118px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.cris-events-archive__past-image-button img {
  display: block !important;
  width: 100% !important;
  height: 118px !important;
  object-fit: cover !important;
}

.cris-events-archive__past-image-empty {
  width: 100% !important;
  height: 118px !important;
  display: grid !important;
  place-items: center !important;
  font-size: 28px !important;
}

.cris-events-archive__past-badge {
  position: absolute !important;
  left: 8px !important;
  top: 8px !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 25px !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.94) !important;
  color: #697d89 !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 12px rgba(23,48,68,.1) !important;
}

.cris-events-archive__past-content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
  padding: 15px 17px !important;
}

.cris-events-archive__past-date {
  margin-bottom: 5px !important;
  color: #738693 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.cris-events-archive__past-content h3 {
  margin: 0 0 7px !important;
  color: #173044 !important;
  font-size: 16px !important;
  line-height: 1.28 !important;
  font-weight: 850 !important;
}

.cris-events-archive__past-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px 12px !important;
  margin-bottom: 9px !important;
  color: #718390 !important;
  font-size: 11px !important;
}

.cris-events-archive .cris-events-archive__past-view {
  align-self: flex-start !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid rgba(12,97,150,.2) !important;
  border-radius: 9px !important;
  background: rgba(12,97,150,.06) !important;
  color: #0C6196 !important;
  -webkit-text-fill-color: #0C6196 !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.cris-events-archive .cris-events-archive__past-view:hover,
.cris-events-archive .cris-events-archive__past-view:focus {
  border-color: #0C6196 !important;
  background: #0C6196 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  outline: none !important;
}

/* Završena kartica nema registration CTA - JS ga uopšte ne renderuje. */

@media (max-width: 760px) {
  .cris-events-archive__active-grid {
    grid-template-columns: 1fr !important;
  }

  .cris-events-archive__event-section--past {
    margin-top: 28px !important;
    padding-top: 22px !important;
  }

  .cris-events-archive__past-card {
    grid-template-columns: 96px minmax(0, 1fr) !important;
    min-height: 100px !important;
  }

  .cris-events-archive__past-thumb {
    width: 96px !important;
    min-height: 100px !important;
  }

  .cris-events-archive__past-image-button,
  .cris-events-archive__past-image-button img,
  .cris-events-archive__past-image-empty {
    height: 100px !important;
    min-height: 100px !important;
  }

  .cris-events-archive__past-content {
    padding: 12px 13px !important;
  }

  .cris-events-archive__past-content h3 {
    font-size: 14px !important;
  }

  .cris-events-archive__past-meta {
    font-size: 10px !important;
  }
}

