.service {
  padding-top: 72px;
  padding-bottom: 10px;
}
@media screen and (max-width: 1024px) {
  .service {
    padding-top: 12px;
  }
  .service .service-title {
    margin-bottom: 35px;
  }
}
.service .seminare-blocktitle {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  margin-bottom: 12px;
  border-radius: 25px;
  overflow: hidden;
  font-size: 28px;
  line-height: 36px;
  background: linear-gradient(332deg, rgba(0, 0, 0, 0) 0%, rgb(182, 221, 213) 280%);
  border: 1px solid var(--savian);
  margin-top: 45px;
}
@supports (font-size: clamp(1px, 2vw, 3px)) {
  .service .seminare-blocktitle {
    font-size: clamp(16px, 1.65vw, 28px);
  }
}
@supports (line-height: clamp(1px, 2vw, 3px)) {
  .service .seminare-blocktitle {
    line-height: clamp(100%, 2vw, 36px);
  }
}
.service .seminare_block {
/*   max-height: 520px;
  height: 100vh; */
  margin-bottom: 100px;
  overflow: hidden;
}

.service-title {
  margin-bottom: 65px;
}

.service-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  gap: 17px;
}
@media screen and (max-width: 868px) {
  .service-content {
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 10px;
  }
}
.service-content.bucher-content--row .service-card__wrapper {
  justify-content: flex-start;
}
.service-content.bucher-content--row .service-card:first-child {
  grid-column: auto;
  grid-row: auto;
}
.service-content.bucher-content--row .service-card .service-card__name {
  font-weight: normal;
  overflow: hidden;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow-wrap: break-word;
}
.service-content.bucher-content--row .service-card .service-card__image {
  justify-content: center;
  max-height: 200px;
}
.service-content.bucher-content--row .service-card .service-card__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
@media screen and (max-width: 868px) {
  .service-content.bucher-content--row {
    grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
    gap: 10px;
  }
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 25px;
  overflow: hidden;
  border: 1px solid;
  border-color: var(--savian);
  height: 100%;
  z-index: 0;
  transition: border-color 0.12s ease-in-out;
}
@media screen and (max-width: 644px) {
  .service-card:first-child .service-card__image {
    margin-bottom: 20px;
    max-width: 100%;
    height: 100%;
  }
}
@media screen and (max-width: 495px) {
  .service-card .service-card__image {
    max-width: 154px;
    height: auto;
  }
}
.service-card::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(332deg, rgba(0, 0, 0, 0) 0%, rgb(182, 221, 213) 280%);
  opacity: 0.7;
  z-index: -1;
  transition: opacity 0.12s ease-in-out;
}
.service-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
  border-color: rgba(191, 158, 81, 0.7);
  transition: border-color 0.12s ease-in-out;
}
.service-card:first-child::before {
  background: linear-gradient(332deg, rgba(113, 113, 113, 0) 0%, #bf9e51 110%);
  opacity: 0.7;
  transition: opacity 0.12s ease-in-out;
}
.service-card:first-child .service-card__image {
  justify-content: flex-start;
}
@media (any-hover: hover) {
  .service-card:hover {
    border-color: #8caaa4;
    transition: border-color 0.12s ease-in-out;
  }
  .service-card:hover::before {
    opacity: 1;
    transition: opacity 0.12s ease-in-out;
  }
  .service-card:hover:first-child {
    border-color: rgb(191, 158, 81);
    transition: border-color 0.12s ease-in-out;
  }
  .service-card:hover:first-child::before {
    opacity: 1;
    transition: opacity 0.12s ease-in-out;
  }
}
.service-card__name {
  text-align: center;
  padding: 0 18px;
  font-weight: 400;
}
.service-card__wrapper {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 14px 0;
}
.service-card__image {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.service-card__image figure {
  display: flex;
  width: 100%;
  height: 100%;
}
.service-card__image figure img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}