.hb-monthly-plans {
  background: var(--ocf-bg);
}

.hb-monthly-plans__header {
  max-width: 720px;
  margin-bottom: 2rem;
}

.hb-monthly-plans__header .heading-2 {
  margin: 0;
}

.hb-monthly-plans__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hb-monthly-plans__item {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 7rem;
  padding: 1.25rem;
  border: 1px solid var(--ocf-border);
  border-radius: var(--hb-radius);
  background: var(--ocf-bg);
}

.hb-monthly-plans__name {
  margin: 0;
  color: var(--ocf-heading);
  font-size: var(--font-h4-size, 1.25rem);
  font-weight: var(--font-weight-bold, 600);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

@media (max-width: 991px) {
  .hb-monthly-plans__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hb-monthly-plans__list {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .hb-monthly-plans__item {
    min-height: 5rem;
    padding: 1rem;
  }
}

/* OCF_AGENT_BLOCK:monthly-plans-links START */
.hb-monthly-plans__link {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.hb-monthly-plans__link:hover .hb-monthly-plans__name,
.hb-monthly-plans__link:focus-visible .hb-monthly-plans__name {
  text-decoration: underline;
  text-decoration-color: var(--ocf-secondary);
  text-underline-offset: 4px;
}

.hb-monthly-plans__link:focus-visible {
  outline: 2px solid var(--ocf-primary);
  outline-offset: 3px;
  border-radius: 2px;
}
/* OCF_AGENT_BLOCK:monthly-plans-links END */
