.young-search {
    width: 100%;
    min-height: 100%;
}

.young-search__container {
    box-sizing: border-box;
    width: 100%;
    max-width: 896px;
    margin: 0 auto;
    padding: 24px 16px 96px;
}

.young-search__header {
    margin-bottom: 24px;
}

.young-search__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    color: #71717b;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.young-search__back:hover,
.young-search__back:focus-visible {
    color: var(--color);
}

.young-search__title {
    margin: 0 0 6px;
    color: var(--color);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.young-search__subtitle {
    margin: 0;
    color: #71717b;
    font-size: 14px;
    line-height: 1.4;
}

.young-search__form {
    position: relative;
    margin-bottom: 28px;
}

.young-search__form-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    color: #9f9fa9;
    transform: translateY(-50%);
    pointer-events: none;
}

.young-search__input {
    box-sizing: border-box;
    width: 100%;
    min-height: 56px;
    padding: 15px 48px 15px 56px;
    color: var(--searchform-input-color);
    background: var(--searchform-input-background);
    border: 1px solid var(--info-article-border-color);
    border-radius: 32px;
    box-shadow: 0 1px 2px rgba(24, 24, 27, 0.06);
    font-size: 16px;
    line-height: 1.4;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.young-search__input:focus {
    border-color: #2b7fff;
    box-shadow: 0 0 0 3px rgba(43, 127, 255, 0.16);
}

.young-search__input::-webkit-search-cancel-button,
.young-search__input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

.young-search__input::-ms-clear,
.young-search__input::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}

.young-search__clear {
    position: absolute;
    right: 16px;
    top: 50%;
    display: inline-flex;
    color: #9f9fa9;
    transform: translateY(-50%);
    transition: color 0.2s ease;
}

.young-search__clear:hover,
.young-search__clear:focus-visible {
    color: var(--color);
}

.young-search__sections {
    display: grid;
    gap: 32px;
}

.young-search__section-title {
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9f9fa9;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.young-search__section-title svg {
    flex: 0 0 auto;
}

.young-search__section-title span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    color: var(--info-category-active-item-color);
    background: var(--info-category-active-item-background-color);
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0;
}

.young-search__list {
    display: grid;
    gap: 16px;
}

.young-search__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    margin-top: 14px;
    padding: 10px 18px;
    color: #155dfc;
    background: #eff6ff;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.young-search__more:hover,
.young-search__more:focus-visible {
    background: #dbeafe;
    outline: none;
    transform: translateY(-1px);
}

.young-search-empty {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 72px 0;
    text-align: center;
}

.young-search-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    color: #9f9fa9;
    background: var(--searchform-input-background);
    border-radius: 20px;
}

.young-search-empty__title {
    margin: 0 0 6px;
    color: var(--color);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.young-search-empty__text {
    margin: 0;
    color: #9f9fa9;
    font-size: 14px;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .young-search__container {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}
