.bmh-sitemap-page .inner-cont {
    width: 100%;
}

.bmh-sitemap-grid {
    display: grid;
    grid-template-columns: minmax(220px, .7fr) repeat(2, minmax(0, 1.35fr));
    gap: 16px;
    align-items: start;
}

.bmh-sitemap-card {
    position: relative;
    isolation: isolate;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--bmh-border);
    border-radius: var(--bmh-radius-md);
    background: var(--bmh-white);
    box-shadow: var(--bmh-shadow-sm);
}

.bmh-sitemap-card::after {
    position: absolute;
    right: -42px;
    bottom: -42px;
    z-index: 0;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: rgba(57, 112, 92, 0.055);
    content: "";
    pointer-events: none;
}

.bmh-sitemap-card > * {
    position: relative;
    z-index: 1;
}

.bmh-sitemap-card__title {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--bmh-border);
    background: linear-gradient(135deg, var(--bmh-green-soft), var(--bmh-white));
}

.bmh-sitemap-card__title span {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 11px;
    background: var(--bmh-green);
    color: var(--bmh-white);
}

.bmh-sitemap-card__title h2 {
    margin: 0;
    color: var(--bmh-green-dark);
    font-family: var(--bmh-font-display);
    font-size: 1rem;
    font-weight: var(--bmh-title-inner-weight);
}

.bmh-sitemap-links {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 8px 14px 14px;
    list-style: none;
}

.bmh-sitemap-links li {
    position: relative;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--bmh-border);
}

.bmh-sitemap-links li:last-child {
    border-bottom: 0;
}

.bmh-sitemap-links a {
    display: block;
    padding: 8px 24px 8px 10px;
    color: var(--bmh-ink);
    font-size: .82rem;
    line-height: 1.35;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, padding-left .2s ease;
}

.bmh-sitemap-links a::after {
    position: absolute;
    top: 50%;
    right: 8px;
    /* _delbk (Font Awesome webfont is no longer loaded; the glyph showed as a box):
    color: var(--bmh-green);
    font-family: "Font Awesome 5 Free";
    font-size: .65rem;
    font-weight: 900;
    content: "\f054";
    */
    /* Chevron drawn from the Font Awesome SVG, coloured with the theme token. */
    width: .45rem;
    height: .65rem;
    background-color: var(--bmh-green);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z'/%3E%3C/svg%3E") center / contain no-repeat;
    content: "";
    transform: translateY(-50%);
}

.bmh-sitemap-links a:hover,
.bmh-sitemap-links a:focus-visible {
    padding-left: 14px;
    background: var(--bmh-green-soft);
    color: var(--bmh-green-dark);
}

@media (max-width: 980px) {
    .bmh-sitemap-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bmh-sitemap-card:first-child {
        grid-column: 1 / -1;
    }

    .bmh-sitemap-card:first-child .bmh-sitemap-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 16px;
    }
}

@media (max-width: 640px) {
    .bmh-sitemap-grid {
        grid-template-columns: 1fr;
    }

    .bmh-sitemap-card:first-child {
        grid-column: auto;
    }

    .bmh-sitemap-card:first-child .bmh-sitemap-links {
        grid-template-columns: 1fr;
    }
}
