.asd-radovi-gallery {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px;
  box-sizing: border-box;
}

.asd-radovi-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.asd-radovi-filter__item {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.asd-radovi-filter__item:hover,
.asd-radovi-filter__item:focus {
  border-color: rgba(255, 255, 255, .7);
  color: #fff;
}

.asd-radovi-filter__item:focus-visible {
  outline: 3px solid rgba(17, 17, 17, .28);
  outline-offset: 2px;
}

.asd-radovi-filter__item.is-active {
  border-color: #fff;
  background: #fff;
  color: #111;
}

.asd-radovi-filter__item.is-active:hover,
.asd-radovi-filter__item.is-active:focus {
  color: #fff;
  background: #111;
  border-color: #fff;
}

.asd-radovi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.asd-radovi-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: #151515;
  color: #fff;
}

.asd-radovi-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #222;
}

.asd-radovi-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.asd-radovi-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.asd-radovi-card__body {
  padding: 16px;
}

.asd-radovi-card__title {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.asd-radovi-card__foil {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.asd-radovi-card__price {
  margin: 12px 0 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.asd-radovi-empty {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .asd-radovi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .asd-radovi-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .asd-radovi-filter {
    margin-bottom: 18px;
  }

  .asd-radovi-filter__item {
    flex: 1 1 auto;
  }
}
