.forum-search-page { color: #24272b; margin: 0 auto; max-width: 980px; }
.forum-search-page__header { align-items: flex-end; display: flex; justify-content: space-between; margin-bottom: 22px; }
.forum-search-page__eyebrow { color: #cd192d; display: block; font-size: .72rem; font-weight: 800; letter-spacing: .13em; margin-bottom: 5px; text-transform: uppercase; }
.forum-search-page__header h1 { font-size: clamp(1.8rem, 4vw, 2.55rem); font-weight: 800; letter-spacing: -.035em; margin: 0; }
.forum-search-page__header p { color: #6b7178; margin: 7px 0 0; }
.forum-search-form { background: #fff; border: 1px solid #e4e6e8; border-radius: 14px; box-shadow: 0 8px 28px rgba(25, 29, 33, .07); padding: 14px; }
.forum-search-form__main { align-items: center; display: flex; gap: 10px; }
.forum-search-form__icon { color: #8d939a; font-size: 1.05rem; padding-left: 8px; }
.forum-search-form__input { border: 0; flex: 1; font-size: 1.05rem; min-width: 0; outline: 0; padding: 10px 4px; }
.forum-search-form__submit { border-radius: 9px; font-weight: 700; min-height: 44px; padding-left: 22px; padding-right: 22px; }
.forum-search-form__error { color: #b0121f; font-size: .85rem; margin: 8px 8px 0; }
.forum-search-filters { border-top: 1px solid #eceef0; margin-top: 12px; padding: 12px 7px 0; }
.forum-search-filters summary { color: #555c63; cursor: pointer; font-size: .85rem; font-weight: 700; list-style: none; width: max-content; }
.forum-search-filters summary::-webkit-details-marker { display: none; }
.forum-search-filters summary i { color: #cd192d; margin-right: 5px; }
.forum-search-filters__grid { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; }
.forum-search-field label { display: block; font-size: .76rem; font-weight: 800; letter-spacing: .03em; margin-bottom: 5px; text-transform: uppercase; }
.forum-search-field small { color: #7b8188; display: block; margin-top: 4px; }
.forum-search-field--forums { grid-row: span 2; }
.forum-search-field--forums select { min-height: 112px; }
.forum-search-filters__hint { background: #f6f7f8; border-radius: 8px; color: #687078; font-size: .8rem; margin-top: 15px; padding: 9px 11px; }
.forum-search-filters__hint code { color: #9b1825; }
.forum-search-summary { align-items: center; display: flex; justify-content: space-between; margin: 28px 2px 12px; }
.forum-search-summary span { color: #777e85; font-size: .82rem; }
.forum-search-summary strong { display: block; font-size: 1.15rem; }
.forum-search-summary__count { background: #eceef0; border-radius: 999px; color: #555c63 !important; font-weight: 700; padding: 6px 11px; }
.forum-search-results { display: grid; gap: 10px; }
.forum-search-result { background: #fff; border: 1px solid #e2e4e6; border-radius: 12px; padding: 18px 20px; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.forum-search-result:hover { border-color: #d2a0a6; box-shadow: 0 8px 22px rgba(25, 29, 33, .07); transform: translateY(-1px); }
.forum-search-result__topline { align-items: center; display: flex; gap: 10px; justify-content: space-between; }
.forum-search-result__forum { color: #cd192d; font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.forum-search-result__matches { background: #f3f4f5; border-radius: 999px; color: #727980; font-size: .7rem; font-weight: 700; padding: 4px 8px; }
.forum-search-result h2 { font-size: 1.14rem; font-weight: 800; line-height: 1.35; margin: 7px 0; }
.forum-search-result h2 a { color: #25292d; }
.forum-search-result h2 a:hover { color: #b0121f; text-decoration: none; }
.forum-search-result__snippet { color: #5f666d; font-size: .9rem; line-height: 1.62; margin: 0 0 10px; }
.forum-search-result__meta { align-items: center; color: #868c92; display: flex; flex-wrap: wrap; font-size: .75rem; gap: 7px; }
.forum-search-result__meta a { color: #656c73; font-weight: 700; }
.forum-search-result__jump { margin-left: auto; }
.forum-search-pagination { align-items: center; display: grid; font-size: .82rem; grid-template-columns: 1fr auto 1fr; margin: 20px 0; text-align: center; }
.forum-search-pagination a { color: #b0121f; font-weight: 700; }
.forum-search-pagination a:last-child { text-align: right; }
.forum-search-pagination a:first-child { text-align: left; }
.forum-search-pagination > span { color: #7b8188; }
.forum-search-empty { background: #fff; border: 1px dashed #d5d8db; border-radius: 14px; color: #737980; padding: 50px 20px; text-align: center; }
.forum-search-empty > i { color: #cd192d; font-size: 2rem; }
.forum-search-empty h2 { color: #30353a; font-size: 1.3rem; margin: 14px 0 5px; }
.forum-search-empty p { margin: 0; }
.forum-search-related { background: #fff; border: 1px solid #e2e4e6; border-radius: 12px; margin-top: 16px; padding: 16px 18px; }
.forum-search-related h2 { font-size: .84rem; font-weight: 800; margin: 0 0 10px; }
.forum-search-related > div { display: flex; flex-wrap: wrap; gap: 7px; }
.forum-search-related a { background: #f5f6f7; border-radius: 8px; color: #34393e; display: block; padding: 7px 10px; }
.forum-search-related a:hover { background: #f7edef; color: #b0121f; text-decoration: none; }
.forum-search-related span, .forum-search-related small { display: block; }
.forum-search-related span { font-size: .78rem; font-weight: 750; }
.forum-search-related small { color: #868c92; font-size: .65rem; }
.forum-search-ghost { align-items: center; background: #1b1e22; border-radius: 12px; color: #fff; display: grid; gap: 14px; grid-template-columns: auto 1fr auto; margin-top: 18px; padding: 16px 18px; }
.forum-search-ghost__icon { align-items: center; background: #cd192d; border-radius: 10px; display: flex; height: 42px; justify-content: center; width: 42px; }
.forum-search-ghost strong, .forum-search-ghost span { display: block; }
.forum-search-ghost span { color: #bdc3c9; font-size: .8rem; margin-top: 2px; }
.forum-search-ghost > a { background: #cd192d; border-radius: 8px; color: #fff; font-size: .82rem; font-weight: 800; padding: 10px 13px; white-space: nowrap; }
.forum-search-ghost > a:hover { background: #af1425; text-decoration: none; }
@media (max-width: 767px) {
  .forum-search-page__header p { font-size: .86rem; }
  .forum-search-form__main { flex-wrap: wrap; }
  .forum-search-form__icon { display: none; }
  .forum-search-form__input { flex-basis: calc(100% - 112px); font-size: .95rem; }
  .forum-search-form__submit { padding-left: 14px; padding-right: 14px; }
  .forum-search-filters__grid { grid-template-columns: 1fr; }
  .forum-search-field--forums { grid-row: auto; }
  .forum-search-summary { align-items: flex-start; gap: 10px; }
  .forum-search-result { padding: 15px; }
  .forum-search-result__topline { align-items: flex-start; }
  .forum-search-result__jump { flex-basis: 100%; margin-left: 0; }
  .forum-search-ghost { grid-template-columns: auto 1fr; }
  .forum-search-ghost > a { grid-column: 1 / -1; text-align: center; }
}
