.intro {
    text-align: center;
    width: 100%;
    margin: 3rem 0;
}

.intro h1 {
    font-size: 2rem;
    font-weight: 500;
}

.intro p {
    font-size: 1.2rem;
}

.break-sm {
    display: inline;
}

h1, h2, p {
    margin: 0;
    padding: 0;
}

h2 {
    font-size: 1.6rem;
}

.wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
}

section {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--accent-color);
    color: var(--text-color-dark);
    width: 100%;
    min-width: 18rem;
    max-width: 22rem;
    height: 11rem;
    max-height: 13rem;
    padding: 1.5rem;
    border-radius: 1.5rem;
}

section .button-wrapper {
    display: flex;
    justify-content: flex-end;
}

section button {
    color: var(--text-color-light);
    background-color: var(--primary-color);
    font-size: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    margin-left: auto;
}

@media (min-width: 630px) {
    section {
        width: 45%;
    }
    .break-sm {
        display: none;
    }
}

/* Small laptop: 3 per row */
@media (min-width: 950px) {
    section {
        width: 30%;
    }
}

/* Desktop: 4–5 per row depending on screen size */
@media (min-width: 1200px) {
    section {
        width: 22%;
    }
}