/* Isolate the approved icon treatment to the beta security principles. */
.beta-subpage #security-controls .principle-card {
  grid-template-rows: 44px auto 1fr;
  gap: 20px;
  padding: 28px 24px;
  justify-items: center;
  text-align: center;
}

.beta-subpage #security-controls .security-icon {
  display: block;
  width: 44px;
  height: 44px;
  align-self: start;
  color: #284f3e;
  stroke: currentColor;
  stroke-width: 1.75;
  flex: none;
}

.beta-subpage #security-controls :is(h3, p) {
  min-width: 0;
  max-width: min(100%, 28ch);
  margin: 0;
  overflow-wrap: anywhere;
}

.beta-subpage #security-controls h3 {
  align-self: start;
}

@media (max-width: 600px) {
  .beta-subpage #security-controls .principle-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .beta-subpage #security-controls .principle-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 40px auto auto;
    gap: 12px;
    padding: 24px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
  }

  .beta-subpage #security-controls .principle-card:last-child {
    border-bottom: 0;
  }

  .beta-subpage #security-controls .security-icon {
    width: 40px;
    height: 40px;
  }
}
