
.how-to-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr); 
    gap: 16px;
    width: 100%;
    flex: 1 1 100%;
    max-width: 100%;
}

@media (max-width: 768px) {
  .how-to-grid {
    grid-template-columns: 1fr;
  }
}

.how-to-card {
    width: 100%; /* Optional, but ensures clean layout inside columns */
    max-width: 100%;
}

.how-to-card {
  display: block !important; /* Override ANY inherited flex */
  flex: unset !important;    /* Remove any flex rules */
  align-items: unset !important;
  justify-content: unset !important;
  display: block; /* ensures normal flow */
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  padding: 10px;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1),
              0 1px 2px rgba(0, 0, 0, 0.06);
}

.read-more-link {
  display: inline-block; /* keeps it under the heading */
  margin-top: 8px;
  background-color: #fbbf24;
  color: black;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.read-more-link:hover {
    background-color: #0ea5e9;
    }

button {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    }

h2 {
    margin-top: 40px;
    font-size: 1.5rem;
    }

.how-to-card h3 {
  padding-top: 5px;
  display: block;
  margin-bottom: 5px;
  font-size: 1.1rem;
}