.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;
    color: var(--bmh-green);
    font-family: "Font Awesome 5 Free";
    font-size: .65rem;
    font-weight: 900;
    content: "\f054";
    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;
    }
}
