
/* Accordion is hidden on desktop and tablet */
.hgr-mobile-scope-accordion {
    display: none;
}

@media (max-width: 767px) {

    /* Hide the original visual table only on mobile.
       The table remains inside the HTML for search engines. */
    .hgr-package-table.hgr-mobile-table-hidden {
        display: none !important;
    }

    .hgr-mobile-scope-accordion {
        display: grid;
        width: 100%;
        gap: 10px;
        margin: 22px 0 20px;
    }

    .hgr-mobile-scope-accordion details {
        width: 100%;
        margin: 0;
        overflow: hidden;
        border: 1px solid #dce5e1;
        border-radius: 14px;
        background: #ffffff;
        box-shadow: 0 6px 18px rgba(33, 81, 151, 0.05);
    }

    .hgr-mobile-scope-accordion summary {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        min-height: 58px;
        padding: 15px 48px 15px 16px;
        color: #215197;
        font-size: 16px;
        font-weight: 800;
        line-height: 1.35;
        cursor: pointer;
        list-style: none;
    }

    .hgr-mobile-scope-accordion summary::-webkit-details-marker {
        display: none;
    }

    .hgr-mobile-scope-accordion summary::after {
        content: "+";
        position: absolute;
        top: 50%;
        right: 17px;
        transform: translateY(-50%);
        color: #215197;
        font-size: 24px;
        font-weight: 500;
        line-height: 1;
    }

    .hgr-mobile-scope-accordion details[open] summary::after {
        content: "−";
    }

    .hgr-mobile-scope-accordion details[open] summary {
        border-bottom: 1px solid #edf1ef;
        background: #f8fbf9;
    }

    .hgr-mobile-scope-content {
        padding: 15px 16px 17px;
    }

    .hgr-mobile-scope-field {
        display: grid;
        grid-template-columns: 108px minmax(0, 1fr);
        gap: 12px;
        align-items: start;
        padding: 10px 0;
        border-bottom: 1px solid #edf1ef;
    }

    .hgr-mobile-scope-field:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .hgr-mobile-scope-field:first-child {
        padding-top: 0;
    }

    .hgr-mobile-scope-label {
        color: #215197;
        font-size: 13px;
        font-weight: 800;
        line-height: 1.45;
    }

    .hgr-mobile-scope-value {
        min-width: 0;
        color: #172b42;
        font-size: 14px;
        line-height: 1.55;
        overflow-wrap: anywhere;
    }

    .hgr-mobile-scope-accordion + .hgr-note {
        margin-top: 18px !important;
        padding: 16px !important;
        font-size: 13px !important;
        line-height: 1.55 !important;
    }
}

@media (max-width: 420px) {
    .hgr-mobile-scope-field {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}