.sm_intro {
    position: relative;
    z-index: 2;
    padding-left: 80px;
    margin-top: -62px;
}

.sitemap_container {

    width: 100%;
    height: auto;
    min-height: calc(100vh - 367px);

    padding-top: 10px;
    padding-bottom: 100px;
    padding-left: 80px;

    display: flex;
    flex-direction: column;

    position: relative;
    z-index: 2;
    
}

.sm_link {
    color: white;
    text-decoration: none;
    font-size: 18px;
    width: auto;
}

.sm_link:hover {
    text-decoration: underline;
}

.sm_gap {
    height: 18px;
}

.sm_pad1 {
    margin-left: 30px;
}

@media screen and (max-width: 850px) { 
    .sitemap_container {
        min-height: calc(100vh - 429px);
    }
    .sm_intro {
        margin-top: -40px;
    }
}

@media screen and (max-width: 600px) { 
    .sm_intro {
        padding-left: 30px;
    }
    .sitemap_container {
        padding-left: 30px;
        padding-bottom: 60px;
        padding-top: 0px;
        margin-top: -10px;
    }
    .sm_link {
        font-size: 16px;
    }
}

/* cms dashboard: grid of fit-content links inside content_padded */
.sitemap_container.cms_sitemap_container {
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
    min-height: auto;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 14px;
    justify-content: flex-start;
    align-items: center;
}

.sitemap_container.cms_sitemap_container .cms_sitemap_block {
    display: flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 12px;
    background: rgba(17, 17, 47, 0.69);
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.sitemap_container.cms_sitemap_container .cms_sitemap_block:hover {
    text-decoration: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(17, 17, 47, 0.85);
}

@media screen and (max-width: 600px) {
    .sitemap_container.cms_sitemap_container {
        padding-left: 0;
        margin-top: 0;
        padding-bottom: 0;
    }
    .sitemap_container.cms_sitemap_container .cms_sitemap_block {
        font-size: 16px;
    }
}