

/* Start:/local/components/goforge/search.page/templates/.default/style.css?17811714844720*/
/* goforge:search.page — все классы с префиксом .gs- против коллизий с сайтом */

/* ── Форма ── */
.gs-form { margin-bottom: 28px; }
.gs-form__row { display: flex; gap: 8px; align-items: stretch; }
.gs-form__input {
    flex: 1; padding: 10px 14px; font-size: 15px;
    border: 1px solid #c8cdd3; border-radius: 4px; outline: none;
    transition: border-color 0.15s;
}
.gs-form__input:focus {
    border-color: #007850;
    box-shadow: 0 0 0 2px rgba(0,120,80,0.15);
}
.gs-form__btn {
    padding: 10px 22px; font-size: 15px;
    background: #007850; color: #fff;
    border: none; border-radius: 4px; cursor: pointer;
    transition: background 0.15s; white-space: nowrap;
}
.gs-form__btn:hover { background: #005c3c; }

/* ── Предупреждения / подсказки ── */
.gs-layout-warning {
    margin-bottom: 16px; padding: 10px 14px;
    background: #fff8e1; border-left: 3px solid #f59e0b; font-size: 14px;
}
.gs-suggest {
    margin-bottom: 16px; padding: 12px 18px;
    background: #f0f8f4; border-radius: 6px; border-left: 3px solid #007850;
}
.gs-suggest__title { font-size: 14px; color: #333; margin-right: 6px; }
.gs-suggest__link  { font-size: 16px; color: #007850; text-decoration: none; font-weight: 500; }
.gs-suggest__link:hover { text-decoration: underline; }

/* ── Группа результатов ── */
.gs-group { margin-bottom: 36px; }

.gs-group__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007850;
}

.gs-group__label {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    text-transform: none;
}

.gs-group__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 7px;
    background: #007850;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    line-height: 1;
}

/* ── Сетка для каталога ── */
.gs-grid {
    list-style: none;
    padding: 0; margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 12px;
}

.gs-grid__item {
    padding: 10px 14px;
    background: #f8f9fa;
    border: 1px solid #e4e8ec;
    border-radius: 4px;
    transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.gs-grid__item:hover {
    border-color: #007850;
    background: #f0f8f4;
    transform: translateY(-1px);
}

.gs-grid__link {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    line-height: 1.4;
}
.gs-grid__link:hover { color: #007850; }

/* Подсветка в заголовке карточки */
.gs-grid__link b,
.gs-grid__link em {
    background: #fff3cd;
    font-style: normal;
    font-weight: inherit;
}

/* ── Список (новости, решения) ── */
.gs-results { list-style: none; padding: 0; margin: 0; }
.gs-item { padding: 14px 0; border-bottom: 1px solid #eaecef; }
.gs-item:last-child { border-bottom: none; }

.gs-item__title {
    display: block; font-size: 16px; font-weight: 500;
    color: #007850; text-decoration: none; margin-bottom: 4px;
}
.gs-item__title:hover { text-decoration: underline; }
.gs-item__title b, .gs-item__title em,
.gs-item__excerpt b, .gs-item__excerpt em {
    background: #fff3cd; font-style: normal; font-weight: inherit;
}
.gs-item__excerpt { margin: 4px 0 6px; font-size: 14px; color: #444; line-height: 1.55; }
.gs-item__meta    { font-size: 12px; color: #888; }

/* ── Пейджер и сортировка ── */
.gs-pager--top    { margin-bottom: 20px; }
.gs-pager--bottom { margin-top: 20px; }
.gs-sort { font-size: 13px; color: #555; margin-top: 16px; }

/* ── Служебные ── */
.gs-no-results     { font-size: 15px; color: #555; margin: 16px 0 6px; }
.gs-corrected-note { font-size: 15px; color: #007850; font-weight: 500; margin: 0 0 20px; }
.gs-error          { color: #c0392b; }

/* ── Адаптив ── */
@media (max-width: 900px) {
    .gs-grid { grid-template-columns: repeat(2, 1fr); }
    .gs-group__label { font-size: 16px; }
}

@media (max-width: 560px) {
    .gs-grid { grid-template-columns: 1fr; }
    .gs-form__btn { padding: 10px 14px; }
}

/* ── Картинка в строке результата ── */
.gs-item__row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.gs-item__thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 4px;
    background: #f6f7f8;
    border: 1px solid #eaecef;
}
.gs-item__body { min-width: 0; flex: 1; }

/* End */
/* /local/components/goforge/search.page/templates/.default/style.css?17811714844720 */
