html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

dt {
    display: inline-block;
}

dd {
    display: inline;
    margin-right: 20px; /* Adjust spacing to the next term */
    margin-left: 0;
}

/* Alternating background colors for even rows */
.custom-grid .row:nth-child(even) {
    background-color: #f2f2f2; /* Light gray background */
    color: black;
}

/* Optionally, if you want a different color for odd rows */
.custom-grid .row:nth-child(odd) {
    background-color: #ffffff; /* White background */
    color: black;
}

@media screen {
    /* Hide the print-only class on screen */
    .print-only {
        display: none;
    }
}

@media print {
    /* Show this element only in print */
    .print-only {
        display: block;
    }

    /* Hide elements not needed for printing */
    .navbar, .footer, .non-print-element {
        display: none;
    }

    /* Any other print-specific styles */
    body {
        font-size: 12pt;
    }
}

.row.flexible {
    display: flex;
    justify-content: space-around; /* Or space-between, depending on desired spacing */
}

.table-header {
    padding: 10px; /* Padding */
}

    .table-header .col {
        padding: 5px; /* Padding */
        font-weight: bold; /* Bold font weight */
    }

.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

    .pagination-container .btn {
        margin: 0 5px;
    }

.truncate-multiline {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* Number of lines to show */
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5; /* Adjust line-height as per your design */
    max-height: calc(1.5em * 3); /* Ensure the height matches exactly 3 lines */
}

.meta-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2; /* Adjust as needed */
}

    .meta-info span {
        margin: 0; /* Removes any default margin */
    }
