/* Bulma Grid Responsive Styles */

/* Mobile/Tablet Breakpoint */
@media screen and (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: block !important;
    }
    .bulma-grid-cards {
        display: flex !important;
    }
}

/* Desktop Breakpoint */
@media screen and (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
    .desktop-only {
        display: block !important;
    }
}

/* Card Layout Styles */
.bulma-grid-cards .card {
    margin-bottom: 1rem;
    height: 100%;
}

.bulma-grid-cards .field:not(:last-child) {
    margin-bottom: 0.75rem;
}

.bulma-grid-cards .label {
    margin-bottom: 0.25rem;
}

.bulma-grid-cards .content {
    margin-bottom: 0;
}

/* Stacked Table Styles for Mobile */
.bulma-grid.is-stacked td {
    display: block;
    border: none;
    text-align: left !important;
    padding-left: 50%;
    position: relative;
}

.bulma-grid.is-stacked td:before {
    content: attr(data-label);
    position: absolute;
    left: 6px;
    width: calc(50% - 12px);
    text-align: left;
    font-weight: bold;
}

.bulma-grid.is-stacked thead {
    display: none;
}

/* Column Type Styles */
.bulma-col.field-type-tag .tag {
    font-size: 0.75rem;
}

.bulma-col.field-type-button .button {
    font-size: 0.75rem;
}

.bulma-col.field-type-progress .progress {
    height: 0.75rem;
}
