.news-card-wrapper {
  display: inline-block;
  width: 100%;
  position: relative;
  min-height: 23rem;
  border-radius: 0.5rem;
  z-index: 1;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  vertical-align: top;
  box-shadow: 0 14px 34px -24px rgba(0, 0, 0, 0.55);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.news-card-wrapper-logo {
  background-color: #f5f5f5;
  background-size: 72%;
}

.news-card-wrapper:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 30%,
    rgba(0, 0, 0, 0.45) 100%
  );
  opacity: 0.85;
  transition: opacity 220ms ease;
}

.news-card-wrapper.news-card-wrapper-logo:before {
  background: linear-gradient(
    180deg,
    rgba(245, 245, 245, 0.1) 20%,
    rgba(16, 67, 122, 0.22) 100%
  );
}

.news-card-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px -24px rgba(0, 0, 0, 0.7);
}

.news-card-wrapper:hover:before {
  opacity: 1;
}

.news-card-overlay {
  white-space: normal;
  border-radius: 0.5rem;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  font-weight: bold;
  color: #242424;
}

.news-card-overlay > div {
  background-color: rgba(255, 255, 255, 0.96);
  width: 100%;
  min-height: 9.25rem;
  padding: 1.1rem;
  border-radius: 0.5rem 0.5rem 0 0;
  box-shadow: 0 -12px 30px -24px rgba(0, 0, 0, 0.8);
  transform: translateY(0);
  transition: transform 220ms ease;
}

.news-card-wrapper:hover .news-card-overlay > div,
.news-card-overlay:focus-visible > div {
  transform: translateY(-0.25rem);
}

.news-card-title {
  min-height: 3.4rem;
  margin: 0.55rem 0 0;
  padding: 0 0 0.85rem;
  border-bottom: 1px solid #ebebeb;
  line-height: 1.35;
  font-size: 17px;
  font-weight: 800;
  color: #191919;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  min-height: calc(17px * 1.35 * 3 + 0.85rem);
  -webkit-line-clamp: 3;
}

.news-card-link-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 0.5rem;
}

.news-card-link {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: #111111;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  transition:
    color 220ms ease,
    gap 220ms ease;
}

.news-card-wrapper:hover .news-card-link,
.news-card-overlay:focus-visible .news-card-link {
  gap: 0.75rem;
  color: #fe5b00;
}

.news-card-link img {
  width: 0.45rem;
}

.news-card-date {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.8rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background-color: #f5f5f5;
  color: #10437a;
  border: 1px solid rgba(254, 91, 0, 0.18);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.news-card-overlay:focus-visible {
  outline: 3px solid rgba(16, 67, 122, 0.45);
  outline-offset: -3px;
}

.list_title mark {
  text-transform: uppercase;
}

.list_title {
  font-size: 40px;
  font-weight: 700;
  color: #0f427a;
  text-transform: uppercase;
  padding: 1rem 0;
}

.list_menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 0;
}

.list_filter_spacer {
  padding-top: 1rem;
}

.list_filter {
  margin-bottom: 1rem;
}

.list_filter .acontrol {
  height: 40px;
}

.list_filter .acs_main {
  inset: 10px 30px 10px 5px;
}

.paginator {
  max-width: 100%;
  margin-bottom: 1rem;
  padding-top: 0;
  min-height: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.paginator > * {
  box-sizing: border-box;
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  min-width: 1.85rem;
  height: 1.85rem;
  margin: 0;
  border: 1px solid #e6e6e6;
  line-height: 1;
}

.paginator_page {
  padding: 0 0.55rem;
  border-radius: 0.5rem;
  font-size: 11px;
  color: #10437a;
  background-color: white;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
}

.paginator_page:hover {
  background-color: #f5f5f5;
  border-color: #fe5b00;
  color: #fe5b00;
}

.paginator_curr {
  border-radius: 0.5rem;
  padding: 0 0.55rem;
  background-color: #10437a !important;
  border-color: #10437a;
  color: white;
  font-size: 11px;
}

.paginator_prev {
  background-color: white !important;
  background-image: none;
  border: 1px solid #10437a;
  color: transparent !important;
  font-size: 11px;
  transform: none !important;
}

.paginator_next {
  background-color: white !important;
  background-image: none;
  border: 1px solid #10437a;
  color: transparent !important;
  font-size: 11px;
}

.paginator_prev:after,
.paginator_next:after {
  content: "";
  position: absolute;
  inset: 0.32rem;
  background-color: #10437a;
  mask: url("../img/icon-preberi-vec.svg") center / contain no-repeat;
  -webkit-mask: url("../img/icon-preberi-vec.svg") center / contain no-repeat;
}

.paginator_prev:after {
  transform: rotate(180deg);
}

.paginator_prev:hover,
.paginator_next:hover {
  background-color: #f5f5f5 !important;
  border: 1px solid #fe5b00 !important;
  color: transparent !important;
}

.paginator_prev:hover:after,
.paginator_next:hover:after {
  background-color: #fe5b00;
}

.list_pages_count {
  width: 4rem;
  height: 1.85rem;
  border-radius: 0.5rem;
  float: none;
  font-size: 11px;
}

.list_pages_count .acs_button {
  background-color: #10437a;
  background-image: none;
  border-radius: 0.5rem;
}

.list_pages_count .acs_button:hover,
.ac_select.ac_expanded.list_pages_count .acs_button,
.list_pages_count .ac_select.ac_expanded .acs_button,
.ac_select.ac_expanded.list_pages_count .acs_button:hover {
  background-image: none;
}

.list_pages_count .acs_button:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.1rem;
  height: 1.1rem;
  background-color: white;
  mask: url("../img/icon-preberi-vec.svg") center / contain no-repeat;
  -webkit-mask: url("../img/icon-preberi-vec.svg") center / contain no-repeat;
  transform: translate(-50%, -50%) rotate(90deg);
}

.ac_select.ac_expanded.list_pages_count .acs_button:after {
  transform: translate(-50%, -50%) rotate(-90deg);
}

.list_pages_count .ac_select.ac_expanded .acs_button:after {
  transform: translate(-50%, -50%) rotate(-90deg);
}

.list_items {
  font-size: 0;
}

.list_items .news-card-wrapper {
  margin-bottom: 1rem;
}

.list_items .news-card-wrapper .news-card-link {
  font-size: 15px;
}

.list_items .news-card-wrapper .news-card-date {
  font-size: 15px;
}

.list_items .announcement-card-wrapper {
  margin-bottom: 1rem;
}

.list_items .announcement-card-wrapper .announcement-card-link {
  font-size: 15px;
}

.list_items .announcement-card-wrapper .announcement-card-date {
  font-size: 15px;
}

.list_menu.bottom {
  padding-bottom: 2rem;
}

.posts-top-bar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2rem 0;
}

.posts-top-back {
  background-color: #10437a;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 0.5rem;
  width: fit-content;
  color: white;
  font-size: 14px;
}

.posts-top-back > img {
  height: 1rem;
}

.post-title {
  color: black;
  margin-bottom: 1rem;
}

.post-date {
  color: #10437a;
  margin-bottom: 0.8rem;
}

.post-content {
  padding-top: 1rem;
}

.posts-top-print {
  background-color: #10437a;
  border-radius: 0.5rem;
  height: 2.4rem;
  width: 2.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.posts-top-print img {
  height: 65%;
}

.project-data-wrapper {
  padding: 1rem 0rem;
  display: flex;
  gap: 1rem;
}

.project-data-wrapper h4 {
  width: 40%;
  border-right: 2px solid #f5f5f5;
}

.project-data-wrapper img {
  height: 1.5rem;
}

.button_expand {
  background-color: #f5f5f5;
  width: 100%;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 600;
}

.button_expand:hover {
  background-color: #f5f5f5;
}

.button_expand.expanded {
  background-color: #10437a;
  color: white;
}

.archive_wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.archive_wrapper table {
  border-collapse: collapse;
  border-radius: 0.5rem;
}

.session-table-top {
  background-color: #10437a;
  color: white;
}

.session-table-top th {
  padding: 0.5rem 0;
}

.session-table-top th:first-child {
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}

.session-table-top th:last-child {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.tag img {
  width: 50%;
}

.tag a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.related-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

.related-content-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background-color: #f5f5f5;
  font-weight: bold;
  gap: 1rem;
}

.related-content-item:hover {
  background-color: #f5f5f5;
}

.related-content-item img {
  height: 2rem;
}

.session-categories-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-direction: column;
}

.session-categories-wrapper .home-banner {
  width: 100%;
  border-radius: 1rem;
}

.list.review .list_items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 2rem;
}

@media screen and (min-width: 787px) {
  .news-card-wrapper {
    width: 48%;
    margin-left: 1%;
    margin-right: 1%;
  }

  .paginator {
    margin-bottom: 0rem;
  }

  .paginator > * {
    min-width: 2.15rem;
    height: 2.15rem;
  }

  .paginator_page {
    padding: 0 0.7rem;
    font-size: 16px;
  }

  .paginator_curr {
    padding: 0 0.7rem;
    font-size: 16px;
  }

  .paginator_prev {
    font-size: 16px;
  }

  .paginator_next {
    font-size: 16px;
  }

  .list_pages_count {
    width: 5rem;
    height: 2rem;
    font-size: 16px;
  }
}

@media screen and (min-width: 1024px) {
  .list_title {
    font-size: 40px;
  }

  .list_menu {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  .project-data-wrapper h4 {
    width: 12%;
    border-right: 2px solid #f5f5f5;
  }

  .session-categories-wrapper {
    flex-direction: row;
  }

  .session-categories-wrapper .home-banner {
    width: 50%;
  }

  .news-card-wrapper {
    width: 23%;
    margin-left: 1%;
    margin-right: 1%;
  }
}
