.tag-cloud {
    width: 100%;
}

.tag-cloud__list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#sveden a[href] {
    color: var(--grey);
    text-decoration: underline;
    transition: 0.3s;
}

#sveden .tag-cloud__list a {
    text-decoration: none;
}

.tag-cloud__list li {
    font-weight: 700;
    font-size: 16px;
    color: inherit;
    border: 1px solid var(--lightest-grey2);
    transition: all 0.3s ease;
    padding: 20px 35px;
}

.tag-cloud__list li:hover {
    color: var(--white);
    background-color: var(--dark-grey);
}

.tag-cloud__list li.current {
    color: var(--white);
    background-color: var(--dark-grey);
}

.tag-cloud__flex {
    display: flex;
    flex-wrap: wrap;
    flex-direction: unset;
    gap: 15px;
    margin-bottom: 140px;
}

.table_container {
    background-color: white;
    border: 1px solid var(--grey7);
    margin-bottom: 50px;
}

table {
    font-size: 10px;
    border-spacing: 0;
    font-family: sans-serif;
    width: 100%;
}

table thead {
    border-bottom: 1.5px solid var(--grey3);
}

thead td,
thead tr,
thead th {
    padding: 10px 5px;
    vertical-align: middle;
    text-align: left;
}

thead tr,
thead th {
    border-bottom: 1px solid var(--grey3);
}

thead td {
    border-bottom: 1.5px solid var(--grey7);
}

tbody td {
    font-size: 10px;
    line-height: 15px;
    border-bottom: 0.5px solid var(--grey7);
    padding: 10px 5px;
}

table a {
    color: inherit;
}

p {
    font-size: 16px;
    color: inherit;
    margin-bottom: 30px;
}

:not(td) a[href$='.pdf']:before,
:not(td) a.doc-link:before {
    content: '';
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    display: block;
    float: left;
    width: 10px;
    height: 10px;
    margin-right: 3px;
}

:not(td) a[href$='.pdf']:before {
    background-image: url(../img/icons/pdf-icon.svg);
}

:not(td) a.doc-link:before {
    background-image: url(../img/icons/icon-chain-blue.png);
}

.table__sub-info {
    font-size: 10px;
    border-bottom: 0.5px solid var(--grey7);
    padding: 4px 0;
}

.sveden__tag-mobile {
    display: none;
}

.sveden__tag-desktop {
    margin-bottom: 70px;
}

.licensed-programs {
    font-weight: 700;
    font-size: 24px;
    color: var(--blue);
}

#sveden h2 {
    margin-bottom: 30px;
}

#sveden ul {
    margin-bottom: 50px;
}

#sveden ul li {
    padding: 10px 20px;
}

#sveden h3 {
    margin-bottom: 30px;
}

.sveden-sub-info {
    margin-bottom: 20px;
}

.table_start_interact {
    display: none;
}

.filters-sveden {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.filters-sveden > div {
    color: var(--grey);
    border: 1px solid var(--grey);
    font-size: 20px;
    transition: 0.3s;
    background-color: white;
    padding: 5px 10px;
}

.filters-sveden > div:hover,
.filters-sveden > div.active {
    color: var(--white);
    background: var(--grey);
    border-color: var(--dark-grey);
    cursor: pointer;
}

.table_container table a[href$='.pdf'] {
    text-align: left;
    display: inline-block;
}

@media (max-width: 1024px) {
    .tag-cloud__flex {
        gap: 8px;
        margin-bottom: 40px;
    }
    .tag-cloud__list li {
        font-weight: 400;
        padding: 10px 20px;
    }
}

@media (max-width: 768px) {
    .table_container {
        overflow-y: scroll;
    }

    table {
        width: 800px;
    }

    .sveden__tag-mobile {
        display: block;
    }

    .sveden__tag-desktop {
        display: none;
    }

    .sveden__tag-desktop--always {
        display: block;
    }

    /* Показываем список внутри --always */
    .sveden__tag-desktop--always .tag-cloud__list {
        display: flex;
        box-shadow: none;
    }

    .sveden__tag-mobile {
        display: flex;
        margin-bottom: 70px;
    }

    .select__dropdown {
        opacity: 0;
        transform: translateY(-8px);
        visibility: hidden;
        pointer-events: none;
        transition:
            opacity 0.3s ease,
            transform 0.3s ease,
            max-height 0.35s ease,
            visibility 0s linear 0.45s;
    }

    .tag-cloud__list {
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    }
}
