.tags_custom_slider_wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    margin: 20px 0;
}

.tags_custom_slider_container {
    width: calc(100% - 80px);
    margin: 0 auto;
    overflow: hidden;
}

.tags_custom_slider_track {
    display: flex;
    transition: transform 0.5s ease;
}

.tags_custom_slider_item {
    flex: 0 0 auto;
    width: 250px;
    margin: 0 10px;
}

.tags_custom_slider_link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.tags_custom_slider_text {
    display: block;
    padding: 12px 20px;
    background-color: #f5f7fa;
    border: 2px solid #e1e5ed;
    border-radius: 25px;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tags_custom_slider_item:hover .tags_custom_slider_text {
    background-color: #8c9cb8;
    border-color: #8c9cb8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(140, 156, 184, 0.3);
}

.tags_custom_slider_btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid #8c9cb8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.tags_custom_slider_btn_prev {
    left: 10px;
}

.tags_custom_slider_btn_next {
    right: 10px;
}

.tags_custom_slider_btn:hover {
    background-color: #8c9cb8;
    transform: translateY(-50%) scale(1.1);
}

body .container.ancors {
    padding: 0;
    margin-top: -30px;
}

.tags_custom_slider_btn:hover svg path {
    stroke: white;
}

.tags_custom_slider_text {
    white-space: normal;
    line-height: 20px;
}