.expandable-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.expandable-box {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
}
.box-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 0;
    transition: margin-bottom 0.3s ease;
}
.box-title {
    margin: 0;
    font-size: 1.2rem;
}
.box-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 24px;
}
.box-icon svg {
    width: 24px;
    height: 24px;
    fill: #333;
}
.box-hidden-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease, margin-top 0.3s ease;
}
.box-hidden-content {
    overflow: hidden;
    color: #666;
}
.expandable-box:hover .box-hidden-wrapper {
    grid-template-rows: 1fr;
    margin-top: 15px;
}

/* Fallback for browsers that don't support grid transition well */
@supports not (grid-template-rows: 0fr) {
    .box-hidden-wrapper {
        max-height: 0;
        transition: max-height 0.3s ease, margin-top 0.3s ease;
    }
    .expandable-box:hover .box-hidden-wrapper {
        max-height: 500px; /* Arbitrary large value */
        margin-top: 15px;
    }
}