/* Сертификаты дистрибьютора, 2026-12-04, v=20261204f без рамок */
.ef-dist-badge{
  margin: -8px 0 20px;
}
.ef-dist-badge__link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1D86B4 !important;
  font: 500 15px/20px "Roboto Condensed", Arial, sans-serif;
  text-decoration: none !important;
  white-space: nowrap;
}
.ef-dist-badge__link:before{
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 2l2.4 4.9 5.4.8-3.9 3.8.9 5.4L12 14.8 7.2 17l.9-5.4L4.2 7.7l5.4-.8L12 2z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 2l2.4 4.9 5.4.8-3.9 3.8.9 5.4L12 14.8 7.2 17l.9-5.4L4.2 7.7l5.4-.8L12 2z'/></svg>") center / contain no-repeat;
}
.ef-dist-badge__link:hover,
.ef-dist-badge__link:focus{
  background: transparent;
  text-decoration: underline !important;
}

.ef-dist-intro{
  max-width: 820px;
  margin: 0 0 28px;
  font: 400 16px/24px Roboto, Arial, Helvetica, sans-serif;
  color: #333;
}
.ef-dist-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px){
  .ef-dist-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1020px){
  .ef-dist-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.ef-dist-card{
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  overflow: hidden;
  min-width: 0;
}
.ef-dist-card__img{
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7fafc;
  min-height: 220px;
  padding: 12px;
  text-decoration: none;
}
.ef-dist-card__img img{
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 280px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.ef-dist-card__body{
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 16px;
  flex: 1 1 auto;
}
.ef-dist-card__name{
  margin: 0;
  font: 500 20px/24px "Roboto Condensed", Arial, sans-serif;
  color: #222;
}
.ef-dist-card__name a{
  color: #1D86B4;
  text-decoration: none;
}
.ef-dist-card__name a:hover,
.ef-dist-card__name a:focus{
  text-decoration: underline;
}
.ef-dist-card__status{
  margin: 0;
  font: 500 14px/18px "Roboto Condensed", Arial, sans-serif;
  color: #1D86B4;
}
.ef-dist-card__status--partner{
  color: #555;
}
.ef-dist-card__text{
  margin: 0;
  font: 400 14px/20px Roboto, Arial, Helvetica, sans-serif;
  color: #444;
}
.ef-dist-card__meta{
  margin: 0;
  font: 400 13px/18px Roboto, Arial, Helvetica, sans-serif;
  color: #777;
}
.ef-dist-card__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: auto;
  padding-top: 8px;
}
.ef-dist-card__actions a{
  font: 500 14px/18px "Roboto Condensed", Arial, sans-serif;
  color: #1D86B4;
  text-decoration: none;
}
.ef-dist-card__actions a:hover,
.ef-dist-card__actions a:focus{
  text-decoration: underline;
}

.ef-dist-lb{
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,.75);
}
.ef-dist-lb.is-open{ display: flex; }
.ef-dist-lb__dialog{
  position: relative;
  max-width: min(960px, 100%);
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.ef-dist-lb__img{
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 80px);
  height: auto;
  margin: 0 auto;
  box-shadow: 0 4px 22px rgba(0,0,0,.22);
  background: #fff;
}
.ef-dist-lb__close{
  position: absolute;
  top: -8px;
  right: -8px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #222;
  font: 700 22px/36px Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.ef-dist-lb__caption{
  margin: 8px 36px 0 0;
  color: #fff;
  font: 400 14px/18px Roboto, Arial, sans-serif;
  text-align: center;
}
body.ef-dist-lb-lock{ overflow: hidden; }

.ef-dist-about{
  margin: 24px 0 0;
  padding: 16px 18px;
  border: 0;
  border-radius: 6px;
  background: #f7fafc;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  font: 400 16px/24px Roboto, Arial, Helvetica, sans-serif;
}
.ef-dist-about a{
  color: #1D86B4;
  font-weight: 500;
}
