/* ==========================================================================
   Fees page layout
   ========================================================================== */
.fees-page-body .row > [class*="col-"] {
    min-width: 0;
}

.fees-page-body .cms-center img {
    display: block;
    max-width: 100%;
    height: auto;
}

.fees-page-body .bu-btns {
    margin-top: 24px;
}

.fees-page-body .mt_24 {
    margin-top: 32px;
}

.fees-page-body .mb_24 {
    margin-bottom: 24px !important;
}

/* ==========================================================================
   Fees cards grid
   ========================================================================== */
.fees-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.fees-cards__item {
    display: block;
    min-width: 0;
    padding: 24px;
    color: inherit;
    text-decoration: none !important;
    background-color: #ffffff;
    border: 1px solid #e3e6e5;
    border-top: 6px solid #b01c2e;
    border-radius: 4px;
}

.fees-cards__item--full {
    grid-column: 1 / -1;
}

.fees-cards__title {
    display: inline-block;
    margin: 0 0 16px;
    padding-bottom: 4px;
    text-decoration: underline;
}

.fees-cards__text {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: #4a4a4a;
}

.fees-cards__text > :last-child {
    margin-bottom: 0;
}

a.fees-cards__item:hover .fees-cards__title {
    text-decoration: none;
}

/* ==========================================================================
   Cost of living
   ========================================================================== */
.cost-of-living {
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #e3e6e5;
    border-radius: 4px;
}

.cost-of-living:last-child,
.cost-of-living > :last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Accordion block tables
   ========================================================================== */
.fees-page-body .fees-block-table {
    width: 100%;
    max-width: 100%;
    margin-top: 16px;
}

.fees-page-body .fees-block-table table {
    width: 100% !important;
    border: 1px solid #e3e6e5;
    border-collapse: collapse;
}

.fees-page-body .fees-block-table table thead th,
.fees-page-body .fees-block-table table tr td:first-child {
    background: #f6f6f6;
}

.fees-page-body .fees-block-table table tr td,
.fees-page-body .fees-block-table table th {
    padding: 12px 24px;
    border: 1px solid #e3e6e5;
    vertical-align: top;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.fees-page-body .fees-block-table table th {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    text-align: left;
}

.fees-page-body .accordion-body > :last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Media queries
   ========================================================================== */
@media (max-width: 767px) {
    .fees-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .fees-cards__item--full {
        grid-column: auto;
    }

    .fees-page-body .mt_24 {
        margin-top: 24px;
    }

    .fees-page-body .custom-section.highlight-banner {
        padding-bottom: 0;
    }

    .fees-page-body .fees-block-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 991px) {
    .fees-page-body .side-navigation-box {
        border: 0 !important;
        margin-bottom: 24px;
    }
}

@media (min-width: 992px) {
    .fees-page-body .custom-section.highlight-banner {
        padding-bottom: 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .fees-page-body .custom-section.highlight-banner {
        padding-bottom: 48px !important;
    }
}
