.arva-top-representatives {
  --arva-top-primary: #ed1c24;
  --arva-top-primary-dark: #c9141b;
  --arva-top-text: #171717;
  --arva-top-muted: #686868;
  position: relative;
  isolation: isolate;
  direction: rtl !important;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto 20px;
  padding: clamp(18px, 2.4vw, 32px);
  overflow: hidden;
  color: var(--arva-top-text);
  text-align: right;
  background:
    radial-gradient(circle at 3% 5%, rgba(237, 28, 36, 0.08), transparent 25%),
    linear-gradient(145deg, #fff 0%, #fff 67%, #fff8f8 100%);
  border: 1px solid #ebebeb;
  border-top: 4px solid var(--arva-top-primary);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.06);
  font-family: inherit;
}

.arva-top-representatives,
.arva-top-representatives *,
.arva-top-representatives *::before,
.arva-top-representatives *::after {
  box-sizing: border-box;
  max-width: 100%;
  font-family: inherit;
}

.arva-top-representatives::after {
  position: absolute;
  z-index: -1;
  top: -88px;
  left: -78px;
  width: 190px;
  height: 190px;
  content: "";
  background: rgba(237, 28, 36, 0.045);
  border-radius: 50%;
  pointer-events: none;
}

.arva-top-representatives__head {
  display: block;
  direction: rtl !important;
  width: 100%;
  margin: 0 0 clamp(16px, 2vw, 24px);
  padding: 0;
  text-align: right;
}

.arva-top-representatives__head > div {
  width: 100%;
  direction: rtl !important;
  margin: 0;
  padding: 0;
  text-align: right;
}

.arva-top-representatives__eyebrow {
  display: inline-flex;
  width: auto;
  min-height: 30px;
  margin: 0 0 9px;
  padding: 5px 12px;
  align-items: center;
  gap: 7px;
  color: var(--arva-top-primary-dark);
  text-align: right;
  background: #fff1f2;
  border: 1px solid #ffd4d7;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
}

.arva-top-representatives__eyebrow::before {
  display: block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  content: "";
  background: var(--arva-top-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.09);
}

.arva-top-representatives h2 {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--arva-top-text) !important;
  text-align: right !important;
  font-size: clamp(22px, 2.4vw, 32px) !important;
  font-weight: 900 !important;
  line-height: 1.45 !important;
}

.arva-top-representatives__head p {
  width: 100%;
  max-width: 790px;
  margin: 7px 0 0 !important;
  padding: 0 !important;
  color: var(--arva-top-muted) !important;
  text-align: right !important;
  font-size: clamp(13px, 1.3vw, 15px) !important;
  font-weight: 500;
  line-height: 1.9 !important;
}

.arva-top-representatives__grid {
  display: grid !important;
  direction: rtl !important;
  width: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.arva-top-representative-card {
  --arva-rank-color: #df1a22;
  --arva-rank-soft: #fff0f1;
  position: relative;
  display: flex !important;
  direction: rtl !important;
  width: 100%;
  min-width: 0;
  height: 356px !important;
  min-height: 356px !important;
  max-height: 356px !important;
  margin: 0 !important;
  padding: 16px !important;
  overflow: hidden;
  flex-direction: column;
  color: var(--arva-top-text);
  text-align: right;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 16px;
  box-shadow: 0 7px 20px rgba(20, 20, 20, 0.045);
}

.arva-top-representative-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  content: "";
  background: var(--arva-rank-color);
}

.arva-top-representative-card--rank-1 {
  --arva-rank-color: #ed1c24;
  --arva-rank-soft: #fff0f1;
  border-color: #f4b9bc;
  box-shadow: 0 10px 26px rgba(237, 28, 36, 0.1);
}

.arva-top-representative-card--rank-2 {
  --arva-rank-color: #62666e;
  --arva-rank-soft: #f1f2f3;
}

.arva-top-representative-card--rank-3 {
  --arva-rank-color: #a9692d;
  --arva-rank-soft: #fbf2e9;
}

.arva-top-representative-card--rank-4 {
  --arva-rank-color: #8a4548;
  --arva-rank-soft: #f8eeee;
}

.arva-top-representative-card__top {
  display: grid !important;
  direction: rtl !important;
  width: 100%;
  min-width: 0;
  height: 70px !important;
  min-height: 70px !important;
  max-height: 70px !important;
  margin: 0 !important;
  padding: 2px 0 13px !important;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  text-align: right;
  border: 0;
  border-bottom: 1px solid #eeeeee;
}

.arva-top-representative-card__rank {
  display: grid !important;
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  place-items: center !important;
  align-content: center !important;
  color: var(--arva-rank-color);
  direction: rtl !important;
  text-align: center;
  white-space: nowrap;
  background: var(--arva-rank-soft);
  border: 1px solid rgba(237, 28, 36, 0.2);
  border: 1px solid color-mix(in srgb, var(--arva-rank-color) 25%, transparent);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  line-height: 0.1 !important;
}

.arva-top-representative-card--rank-1 .arva-top-representative-card__rank {
  color: #fff;
  background: var(--arva-top-primary);
  border-color: var(--arva-top-primary);
}

.arva-top-representative-card h3 {
  width: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  display: -webkit-box !important;
  overflow: hidden;
  color: var(--arva-top-text) !important;
  text-align: right !important;
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.75 !important;
}

.arva-top-representatives .arva-top-representative-card__details {
  display: grid !important;
  direction: rtl !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 14px 0 0 !important;
  flex: 1 1 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 62px 92px 56px;
  gap: 12px 14px;
  color: inherit;
  text-align: right !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.arva-top-representatives .arva-top-representative-card__details > div {
  display: block !important;
  direction: rtl !important;
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit;
  text-align: right !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.arva-top-representatives .arva-top-representative-card__details dt,
.arva-top-representatives .arva-top-representative-card__details dd {
  display: block !important;
  direction: rtl !important;
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  text-align: right !important;
  background: transparent !important;
  border: 0 !important;
}

.arva-top-representatives .arva-top-representative-card__details dt {
  margin-top: 0 !important;
  margin-bottom: 4px !important;
  color: var(--arva-top-muted) !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
}

.arva-top-representatives .arva-top-representative-card__details dd {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  color: var(--arva-top-text) !important;
  align-content: inherit;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1 !important;
}

.arva-top-representatives .arva-top-representative-card__address {
  grid-column: 1 / -1;
  overflow: hidden;
}

.arva-top-representatives .arva-top-representative-card__location {
  overflow: hidden;
}

.arva-top-representatives .arva-top-representative-card__location dd {
  display: -webkit-box !important;
  max-height: 40px !important;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.55 !important;
}

.arva-top-representatives .arva-top-representative-card__address dd {
  display: -webkit-box !important;
  height: 64px !important;
  min-height: 64px !important;
  max-height: 64px !important;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-height: 1.65 !important;
}

.arva-top-representatives .arva-top-representative-card__contact {
  display: grid !important;
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  align-content: end;
  grid-template-rows: 20px 32px;
}

.arva-top-representatives .arva-top-representative-card__contact dt {
  align-self: end;
  margin-bottom: 4px !important;
}

.arva-top-representatives .arva-top-representative-card__phone {
  display: flex !important;
  direction: ltr !important;
  width: 100% !important;
  height: 32px !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center;
  justify-content: flex-end;
  text-align: right !important;
  white-space: nowrap !important;
  overflow-wrap: normal;
  word-break: normal;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
  line-height: 1.35 !important;
}

.arva-top-representatives .arva-top-representative-card__phone a {
  display: inline-flex;
  max-width: 100%;
  min-height: 32px;
  align-items: center;
  color: var(--arva-top-primary) !important;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  font-weight: 900;
  line-height: 1.35 !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(237, 28, 36, 0.38);
}

.arva-top-representatives .arva-top-representative-card__phone a:hover {
  color: var(--arva-top-primary-dark) !important;
  border-bottom-color: var(--arva-top-primary-dark);
}

.arva-top-representatives .arva-top-representative-card__phone a:focus-visible {
  outline: 2px solid var(--arva-top-primary);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (max-width: 1180px) {
  .arva-top-representatives__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .arva-top-representatives {
    margin-bottom: 14px;
    padding: 16px 12px;
    border-radius: 15px;
  }

  .arva-top-representatives__head {
    margin-bottom: 15px;
  }

  .arva-top-representatives h2 {
    font-size: 22px !important;
  }

  .arva-top-representatives__head p {
    font-size: 13px !important;
    line-height: 1.85 !important;
  }

  .arva-top-representatives__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .arva-top-representative-card {
    padding: 14px !important;
    border-radius: 14px;
  }

  .arva-top-representative-card__top {
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
  }
}

@media (max-width: 340px) {
  .arva-top-representative-card__top {
    gap: 8px;
  }

  .arva-top-representative-card__rank {
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
  }
}
