.bato-faq {
    padding: 60px 0 100px;
}

.bato-faq__hero {
    align-items: center;
    gap: 16px;
    width: 1064px;
}

.bato-faq__hero:not(:empty) {
    margin-bottom: 90px;
}

.bato-faq__content {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: flex-start;
    text-align: left;
}

.bato-faq__sidebar {
    grid-column: 3 span;
    position: sticky;
    top: 160px;
}

.bato-faq__list {
    grid-column: 5 / 8 span;
    gap: 70px;
}

.bato-faq__sidebar-title {
    text-transform: uppercase;
}

.bato-faq__sidebar-anchor {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 60px;
    border-bottom: 1px solid #F5EDE6;
    font-weight: 400;
    font-size: 15px;
    transition: 0.3s;
}

.bato-faq__sidebar-anchor:last-child {
    border: 0;
}

.bato-faq__sidebar-anchor.active {
    font-weight: 500;  
    font-size: 17px;
}

.bato-faq__sidebar-anchor svg {
    opacity: 0;
    translate: -10px 0;
    transition: inherit;
}

.bato-faq__sidebar-anchor:hover {
    font-weight: 500;
    font-size: 17px;
}

.bato-faq__sidebar-anchor:hover svg {
    opacity: 1;
    translate: 0;
}

.bato-faq__block {
    width: 100%;
    scroll-margin-top: 150px;
}

.bato-faq__block-title {
    margin-bottom: 5px;
}

.bato-faq-item {
    padding: 25px 15px;
    border-top: 1px solid var(--color-gray-middle);
    cursor: pointer;
    transition: 0.3s;
}

.bato-faq-item__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 300;
    font-size: 18px;
    line-height: calc(26/18);
    transition: inherit;
}

.bato-faq-item.active .bato-faq-item__title {
    font-weight: 600;
}

.bato-faq-item__title-icon {
    display: block;
    flex-shrink: 0;
    aspect-ratio: 1;
    width: 20px;
    position: relative;
    transition: inherit;
}

.bato-faq-item__title-icon::before,
.bato-faq-item__title-icon::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 10px;
    background: currentColor;
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    transition: inherit;
}

.bato-faq-item__title-icon::before {
    rotate: 90deg;
}

.bato-faq-item.active .bato-faq-item__title-icon {
    rotate: 180deg;
}

.bato-faq-item.active .bato-faq-item__title-icon:before {
    width: 0;
}

.bato-faq-item__text-inner {
    padding-top: 15px;
    display: none;
}

.bato-faq-item:hover .bato-faq-item__title {
    color: var(--color-red);
}

@media screen and (max-width: 1024.9px) {
    .bato-faq__content {
        display: block;
    }

    .bato-faq__sidebar {
        display: none;
    }
}