/**
 * Module: lpage_challenges_grid
 * Auto-extracted from style.css
 */

/* ============================================
   CHALLENGES GRID
   ============================================ */

.t1-challenges {
    padding: 5rem max(1.5rem, calc(50vw - var(--max-width) / 2 + 1.5rem));
    background: var(--pearl);
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Header spans full width and centers */
.t1-challenges > hgroup {
    grid-column: 1 / -1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 1rem;
}

/* Cards - use relative positioning for pseudo-element hover */
.t1-challenges article {
    position: relative;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

/* Hover effect via shadow only - no transform to avoid flicker */
.t1-challenges article:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.t1-challenges article span {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.t1-challenges article strong {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.t1-challenges article p {
    font-size: 0.9375rem;
    color: var(--charcoal);
    line-height: 1.6;
    margin: 0;
}

/* CTA Button */
.t1-challenges > a {
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: 1rem;
}

/* Tablet: 2 columns */
@media (min-width: 600px) {
    .t1-challenges {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

/* Desktop: 3 columns */
@media (min-width: 900px) {
    .t1-challenges {
        grid-template-columns: repeat(3, 1fr);
    }

    .t1-challenges > hgroup {
        margin-bottom: 2rem;
    }
}

