.preps__top .hide {
    display: none !important;
}

.preps__top .favorite {
    display: none;
}

.preps__top .preps__top-inner {
    width: 45%;
}

.event .preps__top-pic {
    margin: 0 auto;
    width: 317px;
    height: auto;
}

.preps__top-pics_mini {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.preps__top-pic_mini {
    width: 100px;
    height: auto;
    cursor: pointer;
}

.preps__top-pic_mini img {
    width: 100%;
    height: auto;
}

.preps__top-pic_mini.active {
    background-color: #ffffff;
    border: 1px solid #009CDE;
    border-radius: 4px;
}

.preps__top-text p:first-child,
.preps__top-text p:nth-child(2) {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
}

.preps__top .preps__top-title {
    font-size: 30px;
}

.event .preps__top-intro {
    margin-bottom: 20px;
}

.preps__top-parent-tabs-menu {
    margin-left: 43%;
}

/* Блок filter */
:root {
    --color-accent: #00a0e3;
    --color-accent-hover: #0089c4;
    --color-link: #1596d9;
    --color-text: #2c2c2c;
    --color-muted: #8c8c8c;
    --color-border: #d7dde3;
    --color-white: #fff;
    --radius: 4px;
}

.filter {
    margin-bottom: 20px;
}

.preps__top-info .filter__select {
    width: 260px;
}

/* Блок reset */
.preps__top-info .reset {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    font-weight: 700;
    color: var(--color-link);
    cursor: pointer;
}

.preps__top-info .reset:hover {
    color: var(--color-accent-hover);
}

.preps__top-info .reset__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Блок select */
.preps__top-info .custom-select {
    position: relative;
}

.preps__top-info .select__control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 7px 12px;
    border: 1px solid var(--color-accent);
    border-radius: var(--radius);
    background-color: var(--color-white);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.preps__top-info .select__control:focus-visible {
    outline: 2px solid var(--color-accent-hover);
    outline-offset: 2px;
}

.preps__top-info .select__label {
    display: block;
    font-size: 12px;
    line-height: 16px;
    color: var(--color-muted);
}

.preps__top-info .select__value {
    display: block;
    font-size: 16px;
    line-height: 18px;
    font-weight: 700;
    color: var(--color-accent);
}

.preps__top-info .select__arrow {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--color-accent);
    transition: transform 0.2s ease;
}

.preps__top-info .custom-select--open .select__control {
    background-color: var(--color-accent);
}

.preps__top-info .custom-select--open .select__label,
.preps__top-info .custom-select--open .select__value,
.preps__top-info .custom-select--open .select__arrow {
    color: var(--color-white);
}

.preps__top-info .custom-select--open .select__arrow {
    transform: rotate(180deg);
}

.preps__top-info .select__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 10;
    display: none;
    width: 100%;
    padding: 12px 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background-color: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.preps__top-info .custom-select--open .select__dropdown {
    display: block;
}

.preps__top-info .select__header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    padding: 0 12px;
}

.preps__top-info .custom-select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.preps__top-info .select__title {
    font-size: 16px;
    font-weight: 700;
}

.preps__top-info .select__reset {
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    font-size: 14px;
    color: var(--color-link);
    cursor: pointer;
}

.preps__top-info .select__reset:hover {
    color: var(--color-accent-hover);
}

.preps__top-info .select__list {
    margin: 0;
    padding: 0;
    list-style: none;
    list-style-type: none;
}

.event .second__container .preps__top .preps__top-info .select__item {
    padding-left: 12px;
    padding-right: 12px;
}

.event .second__container .preps__top .preps__top-info .select__item:hover {
    background-color: #f5f5f5;
}

.preps__top-info .select__item::before {
    display: none;
}

.preps__top-info .select__item + .select__item {
    margin-top: 8px;
}

.preps__top-info .select__option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.preps__top-info .select__input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.preps__top-info .select__marker {
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background-color: var(--color-white);
}

.preps__top-info .select__option:hover .select__marker {
    border-color: var(--color-accent);
}

.preps__top-info .select__input:checked + .select__marker {
    border-color: var(--color-accent);
}

.preps__top-info .select__text {
    font-size: 14px;
}

.preps__top-info .select__input:checked + .select__marker::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background-color: var(--color-accent);
}

.preps__top-info .select__input:focus-visible + .select__marker {
    outline: 2px solid var(--color-accent-hover);
    outline-offset: 2px;
}

.preps__top-info .filter__reset img {
    width: 13px;
    height: auto;
}

.preps__top-info .reset__text {
    font-size: 14px;
}

/**/

.event .preps__top-links {
    display: none;
}

.event .preps__top-links.preps__top-links--desktop {
    display: flex;
    align-items: center; 
}

@media screen and (max-width: 1024px) {
    .event .preps__top-intro {
        flex-direction: column;
        align-items: center;
        margin-left: 0;
    }

    .event .preps__top-info {
        width: 100%;
        max-width: 100%;
    }

    .preps__top .preps__top-inner {
        width: 100%;
    }

    .preps__top-parent-tabs-menu {
        margin-left: 0;
    }

    .event .preps__top-title {
        text-align: left;
    }

    .event .preps__top-text {
        text-align: left;
    }
}

@media screen and (max-width: 767px) {
    .event .preps__top-intro .preps__top-inner .preps__top-pic {
        margin: auto;
        height: auto;
        width: auto;
        max-width: 317px;
    }

    .event .preps__top-intro .preps__top-inner {
        height: auto;
        width: 100%;
        margin-bottom: 32px;
    }

    .event .preps__top-title {
        text-align: left;
    }

    .event .preps__top-text {
        text-align: left;
    }
}

@media screen and (max-width: 399px) {
    .preps__top-parent-tabs-menu {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 10px;
    }

    .event .preps__top-parent-tabs-menu-item {
        width: 100%;
    }
}
