/* ---------- COURT PRICING SECTION ---------- */
.court-pricing-section {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 100px 20px;
    min-height: 1100px;
}

.court-pricing-section .main-bg-inner {
    background: #ffffff;
    border-radius: 10px;
    max-width: 1250px;
    width: 100%;
    padding: 40px 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow-x: hidden;
}

.court-pricing-section .main-bg-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 40px;
    align-items: center;
}

.court-pricing-section .main-bg-image-box img {
    width: 150%;
    max-width: 700px;
    height: auto;
}

.court-pricing-section .main-bg-text p {
    margin-bottom: 19px;
    font-size: 16px;
    line-height: 1.3;
    color: #000000;
}

/* ---------- ТАБЛИЦА ЦЕН ---------- */
.table-section-title {
    text-align: center;
    vertical-align: middle;
    font-weight: 700;
    background-color: #c8de4ca8;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    padding: 8px 0;
}

.court-pricing-table {
    width: 90%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.3;
    table-layout: fixed;
}

.court-pricing-table th,
.court-pricing-table td {
    border: 1px solid #535353;
    padding: 6px 8px;
    text-align: left;
    vertical-align: middle;
}

.court-pricing-table th {
    background-color: #009e54;
    font-weight: 700;
     font-size: 16px; 
}

.court-pricing-table td.table-section-title {
    font-weight: 700 !important;
}

.court-pricing-table tr td:first-child {
    font-weight: 500;
}

.court-pricing-table td.table-section-title {
    font-weight: 700;
}

.court-pricing-table td.table-section-title {
    text-align: center;
}

/* ---------- DESKTOP-ONLY TWEAKS ---------- */
@media (min-width: 1025px) {
    .court-pricing-section .main-bg-inner {
        max-width: 1150px;
        padding: 36px 44px;
    }

    .court-pricing-section .main-bg-content {
        grid-template-columns: 0.9fr 1.3fr;
        gap: 36px;
    }

    .court-pricing-section .main-bg-image-box img {
        width: 125%;
        max-width: 640px;
    }
}

/* ---------- TABLET ---------- */
@media (max-width: 1024px) {
    .court-pricing-table {
        width: 100%;
    }

    .courts-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .court-pricing-section .main-bg-content {
        grid-template-columns: 1fr;
    }

    .court-pricing-section .main-bg-inner {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .court-pricing-table {
        width: 100%;
    }

    .courts-title {
        font-size: 24px;
    }

    .court-pricing-section .main-bg-image-box img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }
}