.plan-auto-resources {
  background: #f4f7fb;
  border-bottom: 1px solid #d8e0eb;
  padding: 14px clamp(18px, 6vw, 120px);
}

.plan-auto-resources > div {
  align-items: stretch;
  display: grid;
  gap: 10px;
  grid-template-columns: auto repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1800px;
}

.plan-auto-resources p {
  align-self: center;
  color: #e31e2f;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  margin: 0 10px 0 0;
}

.plan-auto-resources a {
  background: #fff;
  border: 1px solid #d8e0eb;
  border-radius: 8px;
  color: #0b2856;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 10px 12px;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.plan-auto-resources a:first-of-type {
  background: #0b2856;
  border-color: #0b2856;
  color: #fff;
}

.plan-auto-resources a:hover,
.plan-auto-resources a:focus-visible,
.plan-auto-resources a.active {
  border-color: #e31e2f;
  box-shadow: 0 5px 15px rgb(11 40 86 / 12%);
  outline: none;
  transform: translateY(-1px);
}

.plan-auto-resources strong {
  font-size: 14px;
  line-height: 1.25;
}

.plan-auto-resources span {
  color: #637086;
  font-size: 11px;
  line-height: 1.35;
}

.plan-auto-resources a:first-of-type span { color: #dbe6f7; }

@media (max-width: 1050px) {
  .plan-auto-resources > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-auto-resources p { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .plan-auto-resources { padding: 12px 14px; }
  .plan-auto-resources > div { grid-template-columns: 1fr; }
  .plan-auto-resources p { display: none; }
  .plan-auto-resources a { padding: 11px 12px; }
}
