/* Place Tabs - Стили для компонента adminpage.place.tabs */

.place-tabs {
    margin-top: 40px;
    margin-bottom: 60px;
    padding-left: 36px;
    padding-right: 36px;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    box-shadow: inset 0 -3px 0 rgba(128, 128, 128, 0.4);
}

@media (max-width: 768px) {
    .place-tabs {
        padding-left: 0;
        padding-right: 0;
    }
}

.place-tabs:after {
    @media (max-width: 768px) {
        min-width: 25%;
        max-width: 25%;
        content: "";
        display: block;
    }
}

.place-tabs::-webkit-scrollbar {
    display: none;
}

/* Контейнер контента табов */
.place-tabs__content {
    width: 100%;
    margin-top: 20px;
}

.place-tabs__button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease, opacity 0.3s ease;
    padding-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-right: 25px;
    text-decoration: none;
    white-space: nowrap;
}

.place-tabs__button:hover {
    @media (min-width: 1024px) {
        opacity: 0.5;
    }
}

.place-tabs__button.is-active {
    display: block;
    color: #ff5448;
    position: relative;
    box-shadow: inset 0 -2px 0 #ff5448;
}

.place-tabs__button.is-active:after {
    content: "";
    width: 100%;
    height: 3px;
    background-color: #ff5448;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 1.5px;
}

.place-tabs__content-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: none;
}

.place-tabs__content-item.is-active {
    display: block;
    animation: place-tabs-show 0.5s;
}


/* Animation */
@keyframes place-tabs-show {
    0% {
        opacity: 0;
        transform: translate3d(0, 15px, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Стили для изображения в первом табе */
.place-tabs__content-item .single-image {
    width: 100%;
    max-width: 100%;
}

.place-tabs__content-item .single-image img {
    width: 100%;
    height: auto;
    display: block;
}
