.custom-layout-grid {
  align-items: center;
}

.custom-gallery-grid {
  align-items: flex-start;
  gap: var(--space-6);
}

.custom-figcaption {
  padding: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--gray-200);
  background: linear-gradient(
    to right,
    rgba(5, 6, 8, 0.9),
    rgba(12, 15, 22, 0.9)
  );
}

.custom-steps {
  margin: 0;
  padding-left: 1.2rem;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.custom-steps li {
  margin-bottom: 0.5rem;
}

.custom-cta-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
}

.custom-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .custom-cta-block {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .custom-cta-block p {
    max-width: 42rem;
  }
}

@media (min-width: 992px) {
  .custom-gallery-grid {
    gap: var(--space-8);
  }
}
