.sems-sidebar {
    width: 241px;
    min-height: 832px;
    background: #000;
    color: #fff;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    transition: width 0.2s ease;
}

.sems-sidebar__inner {
    position: relative;
    box-sizing: border-box;
    min-height: 832px;
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
}

.sems-sidebar__toggle {
    position: absolute;
    top: 18px;
    right: 14px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
}

.sems-sidebar__toggle svg {
    width: 14px;
    height: 14px;
    display: block;
}

.sems-sidebar__toggle i {
    font-size: 14px;
    line-height: 1;
}

.sems-sidebar__toggle-open {
    display: none;
}

.sems-sidebar.is-collapsed .sems-sidebar__toggle-close {
    display: none;
}

.sems-sidebar.is-collapsed .sems-sidebar__toggle-open {
    display: inline-flex;
}

.sems-brand {
    display: block;
    width: 100%;
    padding-right: 34px;
    margin-bottom: 34px;
}

.sems-brand__icon {
    width: 100%;
    max-width: 100%;
    min-height: 40px;
    color: #fff;
}

.sems-brand__img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.sems-brand__img--collapsed {
    display: none;
}

.sems-main-nav,
.sems-shortcuts {
    display: flex;
    flex-direction: column;
}

.sems-main-nav {
    gap: 6px;
    margin-bottom: 26px;
}

.sems-main-nav__item,
.sems-shortcuts__item {
    text-decoration: none;
    color: #b3b3b3;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 40px;
    font-size: 13px;
    line-height: 22.4px;
    font-weight: 700;
}

.sems-main-nav__item {
    margin-bottom: 0;
}

.sems-main-nav__item.is-active,
.sems-main-nav__item:hover,
.sems-shortcuts__item:hover {
    color: #fff;
}

.sems-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sems-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.sems-icon i {
    font-size: 20px;
    line-height: 1;
}

.sems-shortcuts {
    gap: 2px;
    margin-bottom: 230px;
}

.sems-shortcuts__item {
    margin-bottom: 0;
}

.sems-square-icon {
    width: 24px;
    height: 24px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sems-square-icon svg {
    width: 12px;
    height: 12px;
}

.sems-square-icon i {
    font-size: 11px;
    line-height: 1;
}

.sems-square-icon--plus {
    background: #b3b3b3;
    color: #000;
}

.sems-square-icon--liked {
    background: linear-gradient(135deg, #450af5 0%, #c4efd9 100%);
    color: #d1d1d1;
}

.sems-square-icon--custom {
    background: transparent;
    color: #b3b3b3;
}

.sems-footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    column-gap: 14px;
    row-gap: 14px;
    margin-bottom: 30px;
}

.sems-footer-links a {
    color: #a7a7a7;
    text-decoration: none;
    font-size: 11px;
    line-height: 1;
}

.sems-footer-links a:hover {
    color: #fff;
}

.sems-language-btn {
    margin-top: auto;
    background: transparent;
    border: 1px solid #727272;
    color: #fff;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px 8px 13px;
    min-height: 32px;
    width: fit-content;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
}

.sems-language-btn__icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
}

.sems-language-btn__icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.sems-language-switcher {
    margin-top: auto;
}

.sems-sidebar .sems-language-switcher .trp-language-switcher,
.sems-sidebar .sems-language-switcher .trp-ls-shortcode-current-language {
    width: fit-content !important;
    min-width: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.sems-sidebar .sems-language-switcher .trp-language-switcher > div {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.sems-sidebar .sems-language-switcher .trp-ls-shortcode-current-language > a {
    background: transparent !important;
    border: 1px solid #727272 !important;
    border-radius: 999px !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 32px !important;
    padding: 8px 16px 8px 13px !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    background-image: none !important;
}

.sems-sidebar .sems-language-switcher .trp-ls-shortcode-current-language > a::after {
    display: none !important;
}

.sems-sidebar .sems-language-switcher .trp-ls-shortcode-current-language > a img {
    width: 16px !important;
    height: 16px !important;
    object-fit: cover;
    border-radius: 50%;
}

.sems-sidebar .sems-language-switcher .trp-ls-shortcode-language {
    background: #121212 !important;
    border: 1px solid #727272 !important;
    border-radius: 8px !important;
    margin-top: 8px !important;
    min-width: 150px !important;
    padding: 4px 0 !important;
    box-shadow: none !important;
}

.sems-sidebar .sems-language-switcher .trp-ls-shortcode-language a {
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    padding: 8px 12px !important;
    background: transparent !important;
    border: 0 !important;
}

.sems-sidebar .sems-language-switcher .trp-ls-shortcode-language a:hover {
    background: #1c1c1c !important;
}

.sems-sidebar.is-collapsed {
    width: 86px;
}

.sems-sidebar.is-collapsed .sems-brand {
    justify-content: center;
    padding-right: 0;
}

.sems-sidebar.is-collapsed .sems-brand.has-collapsed-logo .sems-brand__img--expanded {
    display: none;
}

.sems-sidebar.is-collapsed .sems-brand.has-collapsed-logo .sems-brand__img--collapsed {
    display: block;
}

.sems-sidebar.is-collapsed .sems-item-label,
.sems-sidebar.is-collapsed .sems-footer-links,
.sems-sidebar.is-collapsed .sems-language-btn span:not(.sems-language-btn__icon),
.sems-sidebar.is-collapsed .sems-language-switcher .trp-ls-shortcode-current-language > a span,
.sems-sidebar.is-collapsed .sems-language-switcher .trp-ls-shortcode-language {
    display: none;
}

.sems-sidebar.is-collapsed .sems-main-nav__item,
.sems-sidebar.is-collapsed .sems-shortcuts__item {
    justify-content: center;
    gap: 0;
}

.sems-sidebar.is-collapsed .sems-shortcuts {
    margin-bottom: 32px;
}

.sems-sidebar.is-collapsed .sems-language-btn,
.sems-sidebar.is-collapsed .sems-language-switcher .trp-ls-shortcode-current-language > a {
    padding-left: 7px;
    padding-right: 7px;
    min-width: 32px;
    justify-content: center;
}

.sems-sidebar.is-collapsed .sems-language-switcher .trp-ls-shortcode-current-language > a img {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
}

.sems-sidebar.is-collapsed .sems-language-switcher .trp-ls-shortcode-current-language > a::before,
.sems-sidebar.is-collapsed .sems-language-switcher .trp-ls-shortcode-current-language > a i,
.sems-sidebar.is-collapsed .sems-language-switcher .trp-ls-shortcode-current-language > a svg {
    display: none !important;
}
