@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap');

.hw-problem-grid-container-2170 {
    background-color: #ffffff;
    padding: 80px 0 60px;
    max-width: 1140px;
    margin: 0 auto;
    font-family: 'PT Sans', sans-serif;
}

.hw-problem-grid-title-2170 {
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-size: 30px;
    color: #002c77;
    text-align: center;
    margin: 0 auto 48px;
    max-width: 720px;
    line-height: 1.3;
}

.hw-problem-grid-2170 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.hw-problem-card-2170 {
    background-color: #ffffff;
    border-top: 3px solid #4b92db;
    border-radius: 4px;
    padding: 28px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    
    /* Initial state for animation */
    opacity: 0;
    transform: translateY(20px);
}

.hw-problem-card-2170.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hw-problem-card-2170:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.hw-problem-icon-2170 {
    color: #ff5800;
    font-size: 44px; /* For font-icons */
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hw-problem-icon-2170 svg {
    width: 44px;
    height: 44px;
    fill: #ff5800;
}

.hw-problem-card-2170:hover .hw-problem-icon-2170 {
    transform: scale(1.08);
}

.hw-problem-h3-2170 {
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #002c77;
    margin: 0 0 12px 0;
}

.hw-problem-desc-2170 p {
    font-family: 'PT Sans', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #002c77;
    line-height: 1.6;
    margin: 0;
}

/* Fallback for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hw-problem-card-2170 {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .hw-problem-icon-2170 {
        transition: none !important;
    }
    .hw-problem-card-2170:hover {
        transform: none !important;
    }
    .hw-problem-card-2170:hover .hw-problem-icon-2170 {
        transform: none !important;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hw-problem-grid-container-2170 {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 767px) {
    .hw-problem-grid-container-2170 {
        padding: 40px 20px;
    }
    .hw-problem-grid-title-2170 {
        font-size: 22px;
        margin-bottom: 32px;
    }
    .hw-problem-grid-2170 {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
