.partners-listing {
  margin: 2rem 0;
  font-family: sans-serif;
}

/* Фильтры */
.program-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.filter-link {
  padding: .5rem 1rem;
  border: 1px solid #1e73be;
  border-radius: 4px;
  background: transparent;
  color: #1e73be;
  text-decoration: none;
  transition: border-width .2s;
}
.filter-link:hover,
.filter-link.active {
  border-width: 2px;
  background: transparent;
  color: #1e73be;
}

/* Сетка карточек */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Карточка */
.partner-card {
  border: 1px solid #1e73be;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.partner-card .card-header {
  background: #f4f7fa;
  padding: 1rem;
  text-align: center;
}
.partner-card .card-header img {
  max-height: 60px;
  width: auto;
}
.partner-card .card-body {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.partner-card .rating-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .75rem;
}
.partner-card .star {
  font-size: 1.1rem;
  font-weight: bold;
}
.partner-card .pc-title {
  color: #1e73be;
  font-weight: bold;
  text-decoration: none;
}
.partner-card .pc-title:hover {
  text-decoration: underline;
}
.partner-card .desc {
  font-size: .95rem;
  color: #333;
  line-height: 1.4;
  margin-bottom: auto;
}
.partner-card .card-footer {
  background: #fafafa;
  padding: .75rem 1rem;
  text-align: right;
}
.partner-card .review-link {
  padding: .3rem .6rem;
  border: 1px solid #1e73be;
  border-radius: 4px;
  background: #fff !important;
  color: #1e73be !important;
  text-decoration: none;
  transition: .2s;
}
.partner-card .review-link:hover {
  background: #fff !important;
  color: #1e73be !important;
  text-decoration: underline !important;
}

/* Пагинация */
.pagination-wrap {
  text-align: right;
  margin: 1rem 0;
}
.pagination-wrap .page-numbers {
  display: inline-block;
  margin: 0 .25rem;
  padding: .4rem .8rem;
  border: 1px solid #1e73be;
  border-radius: 4px;
  background: #fff;
  color: #1e73be;
  text-decoration: none;
  transition: border-width .2s;
}
.pagination-wrap .page-numbers:hover,
.pagination-wrap .page-numbers.current {
  border-width: 2px;
  background: #fff;
  color: #1e73be;
}

/* Адаптив */
@media (max-width: 900px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
  .program-filters {
    justify-content: center;
  }
}

.zm-service-wrapper {
  margin-top: 24px;
}
.zm-service-loading {
  padding: 20px;
  text-align: center;
  font-weight: bold;
}
.zm-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 1023px) {
  .zm-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .zm-service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

.zm-service-pages {
  margin-top: 32px;
  text-align: right;
}
@media (max-width: 767px) {
  .zm-service-pages {
    text-align: center;
    padding-bottom: 8px;
    padding-top: 12px;
  }
}
.zm-service-page {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 4px;
  background: #fff !important;
  border: 1px solid #1e73be;
  color: #1e73be !important;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}
.zm-service-page:hover,
.zm-service-page:focus,
.zm-service-page:active {
  background: #fff !important;
  color: #1e73be !important;
  border-color: #1e73be;
  box-shadow: none;
  outline: none;
}
.zm-service-page.current {
  border: 2px solid #1e73be;
  font-weight: bold;
}

