/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 1024px) {

    /* Broker Cards */
    .ttbm-broker-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    /* Section Title */
    .ttbm-title {
        font-size: 28px;
    }

    /* Broker Container */
    .ttbm-container {
        width: 100%;
        max-width: 100%;
    }

}


/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 767px) {

    /* Main Container */
    .ttbm-container {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }


    /* Section Header */
    .ttbm-header {
        margin-bottom: 20px;
    }

    .ttbm-title {
        font-size: 24px;
        line-height: 1.35;
    }

    .ttbm-subtitle {
        font-size: 14px;
        line-height: 1.6;
    }


    /* Broker Cards */
    .ttbm-broker-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .ttbm-broker-card {
        padding: 20px;
    }


    /* Broker Table */
    .ttbm-table-container,
    .ttbm-table-wrapper {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 8px;
    }

    .ttbm-table {
        min-width: 740px;
    }

    .ttbm-broker-table {
        min-width: 740px;
    }


    /* Disclaimer */
    .ttbm-disclaimer {
        padding: 12px;
        font-size: 12px;
        line-height: 1.6;
    }


    /* Buttons */
    .ttbm-button,
    .ttbm-card-button {
        min-height: 42px;
    }


    /* Broker Rating */
    .ttbm-rating {
        flex-wrap: wrap;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    /* Header */
    .ttbm-title {
        font-size: 22px;
    }

    .ttbm-subtitle {
        font-size: 13px;
    }


    /* Cards */
    .ttbm-broker-card {
        padding: 17px;
    }

    .ttbm-card-title {
        font-size: 18px;
    }


    /* Table */
    .ttbm-table {
        min-width: 700px;
    }

    .ttbm-broker-table {
        min-width: 700px;
    }


    /* Disclaimer */
    .ttbm-disclaimer {
        padding: 10px;
        font-size: 11px;
    }


    /* Buttons */
    .ttbm-button,
    .ttbm-card-button {
        font-size: 13px;
        padding: 11px 14px;
    }

}


/* =========================================
   VERY SMALL MOBILE
========================================= */

@media (max-width: 360px) {

    .ttbm-title {
        font-size: 20px;
    }

    .ttbm-broker-card {
        padding: 15px;
    }

    .ttbm-card-title {
        font-size: 17px;
    }

}