/* Fix for Regulation card layout */

/* Ensure proper flex layout */
article.group > div {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Desktop layout fixes */
@media (min-width: 768px) {
    article.group > div {
        flex-direction: row;
        align-items: stretch;
        gap: 1.5rem;
    }

    /* Force fixed width for the icon container on desktop */
    article.group .w-full.md\:w-32 {
        width: 8rem !important;
        min-width: 8rem !important;
        max-width: 8rem !important;
        flex: 0 0 8rem !important;
    }
}

/* Title clamp fixes */
article.group h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: 2.8em;
}

/* Ensure content area expands but handles overflow */
article.group .flex-1 {
    min-width: 0;
    overflow: hidden;
}
