@import url("../../Styles/Global.css?v=20260430-country-city-mobile-menu-sync");
@import url("../../Styles/Layout.css?v=20260430-country-city-mobile-menu-sync");
@import url("../../Styles/MoveAndStudyCore.css?v=20260608-mega-menu-child-flyout-v1");

.mas-gapyear-pricing {
    background: #fff;
    border: 1px solid rgba(28, 42, 58, .12);
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(28, 42, 58, .08);
    margin-block-end: 2rem;
    padding: 1.25rem;
}

.mas-gapyear-pricing__table-wrap {
    border: 1px solid rgba(28, 42, 58, .1);
    border-radius: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.mas-gapyear-pricing__table {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 760px;
    width: 100%;
}

.mas-gapyear-pricing__table th,
.mas-gapyear-pricing__table td {
    border-block-end: 1px solid rgba(28, 42, 58, .1);
    padding: .85rem 1rem;
    vertical-align: middle;
}

.mas-gapyear-pricing__table th {
    background: #f4f7f8;
    color: #263744;
    text-align: left;
}

.mas-gapyear-pricing__table td:nth-child(3),
.mas-gapyear-pricing__table td:nth-child(4),
.mas-gapyear-pricing__table td:nth-child(5) {
    text-align: right;
    white-space: nowrap;
}

.mas-gapyear-pricing__table tbody tr:last-child td {
    border-block-end: 0;
}

.mas-gapyear-pricing__table tbody tr:nth-child(even) td {
    background: rgba(244, 247, 248, .42);
}

.mas-gapyear-pricing__muted {
    color: #71808b;
}

.mas-gapyear-pricing__note {
    color: #52616c;
    margin: .9rem 0 0;
}

@media (max-width: 760px) {
    .mas-gapyear-pricing {
        padding: 1rem;
    }

    .mas-gapyear-pricing__table {
        min-width: 0;
    }

    .mas-gapyear-pricing__table,
    .mas-gapyear-pricing__table thead,
    .mas-gapyear-pricing__table tbody,
    .mas-gapyear-pricing__table tr,
    .mas-gapyear-pricing__table th,
    .mas-gapyear-pricing__table td {
        display: block;
    }

    .mas-gapyear-pricing__table thead {
        clip: rect(0 0 0 0);
        height: 1px;
        overflow: hidden;
        position: absolute;
        white-space: nowrap;
        width: 1px;
    }

    .mas-gapyear-pricing__table tr {
        border-block-end: 1px solid rgba(28, 42, 58, .12);
        padding: .85rem 0;
    }

    .mas-gapyear-pricing__table tr:last-child {
        border-block-end: 0;
    }

    .mas-gapyear-pricing__table td {
        align-items: baseline;
        border-block-end: 0;
        display: grid;
        gap: .75rem;
        grid-template-columns: minmax(8rem, 42%) 1fr;
        padding: .36rem 1rem;
        text-align: right;
        white-space: normal;
    }

    .mas-gapyear-pricing__table td::before {
        color: #71808b;
        content: attr(data-label);
        text-align: left;
    }
}
