:root {
    --title-text-color: #141C1A;
    --white-color: #FFFFFF;
}

.index-category-title {
    line-height: 29px;
    font-size: 24px;
    color: var(--title-text-color);
    margin-bottom: 20px;
    font-weight: 600;
}
.index-category-main {
    margin-bottom: 15px;
}
.index-category-block {
    padding-inline: 10px;
    margin-block: 15px;
}
.index-category-block .index-category-image {
    background-repeat: no-repeat;
    background-position: center;
    padding-bottom: 100%;
    background-size: cover;
}
.opacity-block {
    background: transparent linear-gradient(180deg, #00000000 0%, rgba(0,0,0, 0.63) 100%) 0 0 no-repeat padding-box;
    height: 100%;
    width: calc(100% - 20px);
    position: absolute;
    top: 0;
    left: 10px;
}
.index-category-inside {
    position: absolute;
    bottom: 0;
    width: 100%;
}
.index-category-name {
    position: absolute;
    bottom: 35px;
    left: 15px;
    width: calc(100% - 30px);
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    color: var(--white-color);
    margin-bottom: 10px;
}
.index-category-name:hover {
    text-decoration: underline;
}
.index-category-link {
    border-radius: 100px 100px 0 0;
    background: rgba(20, 28, 26, 0.5);
    height: 25px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.index-category-link svg {
    transform: rotate(270deg);
}
.index-category-link.active svg {
    transform: rotate(90deg);
}
.index-category-subcategories {
    display: none;
    width: calc(100% - 20px);
    background-color: var(--white-color);
    position: absolute;
    padding-block: 11px;
    z-index: 1;
}
.index-category-subcategories a {
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
}
.index-category-subcategories a:hover {
    text-decoration: underline;
    color: var(--text-color);
}
.index-category-subcategories div {
    margin: 0 10px 13px;
}
.index-category-subcategories div:last-child {
    margin-bottom: 0;
}