@use 'design-system' as *;

.container {
    display: flex;
    flex-direction: column;
    gap: $spacing-size-16;
    padding-top: $spacing-size-12;
    padding-bottom: $spacing-size-24;
}

h1 {
    margin-top: $spacing-size-6;
}

.categoryContainer {
    display: flex;
    flex-direction: column;
    gap: $spacing-size-6;
}

.categoryTitle {
    justify-content: center;
    align-items: center;
    margin: 0px;
}

.linkContainer {
    display: flex;
    flex-wrap: wrap;
    row-gap: $spacing-size-2;
    column-gap: var(--layout-gap);
}

.link {
    width: var(--layout-width-1-4);
    font-size: var(--text-fs-base);
    font-weight: var(--text-regular);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* number of lines to show */
    line-clamp: 1;
    -webkit-box-orient: vertical;
}

@media screen and (max-width: $breakpoint-sitemap-medium) {
    .link {
        width: var(--layout-width-2-4);
        font-size: var(--text-fs-base);
        font-weight: var(--text-regular);
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 1; /* number of lines to show */
        line-clamp: 1;
        -webkit-box-orient: vertical;
    }
}

@media screen and (max-width: $breakpoint-sitemap-small) {
    .link {
        width: 100%;
        font-size: var(--text-fs-base);
        font-weight: var(--text-regular);
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 1; /* number of lines to show */
        line-clamp: 1;
        -webkit-box-orient: vertical;
    }
}
