/* Scoped agent cards: replace the existing support section only. */
.agent-support-cards {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  color: var(--color-foreground, #fff);
  direction: rtl;
}
.agent-support-cards h2 {
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
  color: var(--color-primary, #14a0ff);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
}
.agent-support-cards__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 1rem;
}
.agent-support-cards__card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  min-width: 0;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
  padding: .65rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(10, 26, 43, .96);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
}
.agent-support-cards__image-link {
  display: block;
  width: 100%;
  max-width: 288px;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: #06101c;
}
.agent-support-cards__image {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.agent-support-cards__name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 40px;
  padding: .4rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 9px;
  background: rgba(255, 255, 255, .035);
}
.agent-support-cards__name h3 {
  margin: 0;
  min-width: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
}
.agent-support-cards__name a {
  display: inline;
  color: inherit;
  font-size: inherit;
  text-decoration: none;
}
.agent-support-cards__badge {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.agent-support-cards__actions {
  display: grid;
  gap: .5rem;
}
.agent-support-cards__button {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .6rem .8rem;
  border-radius: 9px;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}
.agent-support-cards__button--wa { background: #12843d; }
.agent-support-cards__button--tg { background: #0874b5; }
.agent-support-cards__card p {
  margin: 0;
  padding: .2rem .25rem .35rem;
  color: #aebfd0;
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
  overflow-wrap: anywhere;
}
.agent-support-cards a::after { content: none; }
.agent-support-cards__button:hover { filter: brightness(1.08); }
.agent-support-cards a:focus-visible {
  outline: 3px solid var(--color-accent, #6fd0ff);
  outline-offset: 2px;
}
@media (min-width: 768px) {
  .agent-support-cards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agent-support-cards__card { max-width: none; }
}
@media (min-width: 1100px) {
  .agent-support-cards__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
