/* Main table styles */
.tennis-grand-slam-table-fr {
    width: 100%; /* Allows table to shrink */
    table-layout: fixed; /* Ensures columns are equal width */
    border-collapse: separate;
    border-spacing: 0px 10px;
}

/* Table header styles */
.tennis-grand-slam-table-fr thead th {
    background: linear-gradient(66deg, #F73535 42.59%, #F2B60F 80.69%);
    color: #fff;
    height: 56px;
    padding: 0 12px; /* Optional: for some padding inside cells */
    text-align: center; /* Centers the header content */
    vertical-align: middle; /* Centers the cell content vertically */
    width: 16.66%; /* Sets each column to be of equal width */
    text-transform: uppercase;
    font-family: "bebas-neue-pro", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;

    border-left: 2px solid #19191C;
    border-top: 2px solid #F73535;
    border-bottom: 2px solid #F73535;
    border-right: 2px solid #19191C;
}

/* Table body cell styles */
.tennis-grand-slam-table-fr tbody td {
    background-color: #292935 !important;
    color: #fff;
    height: 56px;
    padding: 0 12px; /* Optional: for some padding inside cells */
    text-align: center; /* Centers the cell content */
    vertical-align: middle; /* Centers the cell content vertically */
    width: 16.66%; /* Ensures each cell has equal width as well */
    text-transform: uppercase;
    font-family: "bebas-neue-pro", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;

    border-left: 2px solid #19191C;
    border-right: 2px solid #19191C;
}

.tennis-grand-slam-table-fr th:first-child {
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;

    border-left: 2px solid #F73535;
    border-top: 2px solid #F73535;
    border-bottom: 2px solid #F73535;
}

.tennis-grand-slam-table-fr th:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;

    border-top: 2px solid #F73535;
    border-bottom: 2px solid #F73535;
    border-right: 2px solid #F73535;
}

.tennis-grand-slam-table-fr td:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.tennis-grand-slam-table-fr td:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.tennis-grand-slam-table-fr .no-data-message {
    padding: 12px;
    color:  #FFF;
    text-align: center;
    text-transform: none;
    text-decoration: none;
    font-family: Montserrat, serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 22.4px */
}
@media (max-width: 1024px) {
    .tennis-grand-slam-table-fr .no-data-message {
        font-size: 16px;
    }
    .tennis-grand-slam-table-fr tbody td {
        font-size: 26px;
        height: 46px;
    }
    .tennis-grand-slam-table-fr thead th {
        height: 46px;
        font-size: 26px;
    }
}

/* Optional: Make table adapt to smaller screens */
@media (max-width: 767px) {
    .tennis-grand-slam-table-fr .no-data-message {
        font-size: 14px;
    }
    .tennis-grand-slam-table-fr tbody td {
        font-size: 20px;
    }
    .tennis-grand-slam-table-fr thead th {
        font-size: 20px;
    }
}

@media (max-width: 327px) {
    .tennis-grand-slam-table-fr-responsive-table .table-col:first-child {
        height: auto;
    }
}

@media (max-width: 371px) {
    .tennis-grand-slam-table-fr-responsive-table .table-col:last-child {
        height: auto;
    }
}

@media (max-width: 767px) {
    .mobile-hidden {
        display: none !important;
    }

    .tennis-grand-slam-table-fr-responsive-table {
        padding: 0;
        text-align: center !important;
        overflow: hidden; /* This will contain child margins */
        /* or display: flow-root; if browser support is sufficient */
    }

    .tennis-grand-slam-table-fr-responsive-table .table-col > div {
        padding: 8px;
        text-align: left;
    }

    .tennis-grand-slam-table-fr-responsive-table .table-col .table-col-content {
        display: flex;
        align-items: center;
    }

    .tennis-grand-slam-table-fr-responsive-table {
        text-align: center !important;
    }


    .tennis-grand-slam-table-fr-responsive-table .table-row {
        margin-bottom: 12px;
    }

    .tennis-grand-slam-table-fr-responsive-table .table-col {
        display: flex;
        margin-bottom: 3px;
        height: 38px;
    }

    .tennis-grand-slam-table-fr-responsive-table .table-col:last-child {
        border-bottom: none;
    }

    .tennis-grand-slam-table-fr-responsive-table .table-col:first-child .table-col-heading {
        border-radius: 8px 0 0 0;
    }

    .tennis-grand-slam-table-fr-responsive-table .table-col:first-child .table-col-content {
        border-radius: 0 8px 0 0;
    }

    .tennis-grand-slam-table-fr-responsive-table .table-col:last-child .table-col-content {
        border-radius: 0 0 8px 0;
    }

    .tennis-grand-slam-table-fr-responsive-table .table-col:last-child .table-col-heading {
        border-radius: 0 0 0 8px;
    }

    .tennis-grand-slam-table-fr-responsive-table .table-col .table-col-heading {
        display: flex;
        align-content: center;
        color: #fff;
        flex-basis: 50%;
        background-color: #F73535;
        font-family: "bebas-neue-pro", sans-serif;
        font-weight: bold;
        font-size: 20px;
        text-align: left;
        text-transform: uppercase;
        padding: 8px;
        min-width: 100px;
    }

    .tennis-grand-slam-table-fr-responsive-table .table-col .table-col-content {
        display: flex;
        align-content: center;
        font-family: "bebas-neue-pro", sans-serif;
        text-transform: uppercase;
        font-size: 20px;
        flex-basis: 50%;
        background: #292935;
        color: #FFFFFF;
    }
    .tennis-grand-slam-table-fr-responsive-table .table-col {
        background: #292935;
        color: #FFFFFF;
    }
}
.load-more-button {
    color: #fff;
    text-align: center;
    font-family: Montserrat, serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 100%;
    text-transform: uppercase;
    border: 1px solid #fff;
    display: flex;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    background: none;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .tennis-grand-slam-table-fr-responsive-table {
        display: none;
    }
    button#loadMoreBtnTennisGrandSlamTable {
        display: none;
    }
}

.oly-hidden {
    display: none;
}