/* MOBILE ONLY FIXES */
@media (max-width: 576px) {

    /* Make project container wider */
    .container {
        max-width: 100% !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    /* 2 projects per row full width */
    .row.g-3>div.col-6 {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    /* Fix card height for mobiles */
    .card {
        height: 360px !important;
    }

    /* Image height reduce for better view */
    .card .overflow-hidden {
        height: 180px !important;
    }

    /* Title height adjust */
    .card-body {
        height: 70px !important;
    }

    /* Price Section height adjust */
    .card .p-2 {
        min-height: 70px !important;
        padding: 6px !important;
    }

    /* Fix title small font */
    .card-title {
        font-size: 12px !important;
        -webkit-line-clamp: 3 !important;
    }

    /* Reduce button width */
    .pagination .page-link {
        padding: 5px 8px !important;
        font-size: 12px !important;
        white-space: nowrap;
    }

    /* Hide original text */
    .pagination .page-link-prev,
    .pagination .page-link-next {
        font-size: 0 !important;
        /* Hide text */
    }

    form.row>div {
        width: 50% !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
        margin-bottom: 10px !important;
    }

    /* Make dropdown smaller for mobile */
    form.row select.form-select {
        font-size: 13px !important;
        padding: 6px !important;
    }

}

@media (min-width: 576px) and (max-width: 991px) {

    /* 2 per row */
    form.row>div {
        width: 50% !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
        margin-bottom: 15px !important;
    }

    /* Slightly bigger than mobile */
    form.row select.form-select {
        font-size: 14px !important;
        padding: 8px !important;
    }
}