.search-page { background: #f5f8f9; }
.search-hero { position: relative; height: 270px; overflow: hidden; background: #edf5ff; }
.search-hero > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.search-hero-content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 22px; }
.search-hero h1 { margin: 0; color: #2a383e; font-size: 25px; font-weight: 600; }
.search-hero p { margin: 8px 0 18px; color: #7f8c92; font-size: 13px; }
.search-main-form { width: min(520px, 100%); height: 42px; display: flex; border: 1px solid #e0e7ea; border-radius: 3px; background: #fff; box-shadow: 0 8px 24px rgba(55, 92, 120, .08); }
.search-main-form input { min-width: 0; flex: 1; padding: 0 15px; border: 0; outline: 0; color: #34434a; font-size: 13px; background: transparent; }
.search-main-form button { width: 46px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; }
.search-main-form button img { width: 18px; height: 18px; }
.search-hot { width: min(520px, 100%); margin-top: 9px; color: #a1aaae; font-size: 11px; }
.search-results-section { padding: 52px 0 78px; }
.search-kind-tabs { display: flex; gap: 34px; border-bottom: 1px solid #e1e8eb; }
.search-kind-tabs button { position: relative; height: 42px; padding: 0 2px; border: 0; color: #56636a; font-size: 16px; background: transparent; }
.search-kind-tabs button::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; content: ""; background: transparent; }
.search-kind-tabs button.is-active { color: var(--brand); font-weight: 600; }
.search-kind-tabs button.is-active::after { background: var(--brand); }
.search-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 30px; padding: 18px 0 8px; }
.search-filter-group { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; color: #78858b; font-size: 12px; }
.search-filter-group button { padding: 0; border: 0; color: #69767c; font-size: 12px; background: transparent; }
.search-filter-group button:hover, .search-filter-group button.is-active { color: var(--brand); }
.search-summary { min-height: 18px; margin: 4px 0 14px; color: #929ca1; font-size: 12px; }
.search-project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.search-project-grid > .state-panel, .search-news-grid > .state-panel { grid-column: 1 / -1; }
.search-project-card { min-width: 0; overflow: hidden; border: 1px solid #e3e9ec; border-radius: 6px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.search-project-card:hover { border-color: #b9ddca; box-shadow: 0 10px 24px rgba(28, 70, 50, .08); transform: translateY(-2px); }
.search-project-cover { display: block; overflow: hidden; background: #e8edef; }
.search-project-cover img { width: 100%; aspect-ratio: 16 / 8.3; display: block; object-fit: cover; transition: transform .35s ease; }
.search-project-card:hover .search-project-cover img { transform: scale(1.025); }
.search-project-body { padding: 14px 13px 12px; }
.search-project-body h2 { min-height: 42px; margin: 0 0 8px; display: -webkit-box; overflow: hidden; color: #202d33; font-size: 14px; font-weight: 600; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.search-project-tags { min-height: 23px; display: flex; gap: 5px; overflow: hidden; }
.search-project-tags span { max-width: 86px; padding: 3px 7px; overflow: hidden; color: #0b9a61; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; background: #e9faf2; border-radius: 3px; }
.search-project-tags span:nth-child(2) { color: #3180c4; background: #edf6ff; }
.search-project-tags span:nth-child(3) { color: #b77814; background: #fff5df; }
.search-project-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 15px 0 10px; }
.search-project-metric { min-width: 0; text-align: center; }
.search-project-metric span { min-height: 28px; display: grid; place-items: end center; color: #949da2; font-size: 9px; line-height: 1.3; }
.search-project-metric strong { display: block; overflow: hidden; color: #2a373c; font-size: 12px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.search-project-detail { display: inline-flex; align-items: center; gap: 5px; padding-top: 9px; color: var(--brand); font-size: 11px; }
.search-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.search-news-card { min-width: 0; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 14px; border: 1px solid #e3e9ec; border-radius: 6px; color: inherit; background: #fff; }
.search-news-card > img { width: 180px; height: 108px; object-fit: cover; border-radius: 4px; }
.search-news-card span { color: var(--brand); font-size: 11px; }
.search-news-card h2 { margin: 7px 0; overflow: hidden; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.search-news-card p { margin: 0; display: -webkit-box; overflow: hidden; color: #7d898f; font-size: 11px; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

@media (max-width: 1099px) { .search-project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 799px) { .search-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .search-news-grid { grid-template-columns: 1fr; } }
@media (max-width: 575px) {
  .search-hero { height: 220px; }
  .search-results-section { padding: 34px 0 54px; }
  .search-filters { align-items: flex-start; flex-direction: column; gap: 12px; }
  .search-project-grid { grid-template-columns: 1fr; }
  .search-news-card { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
  .search-news-card > img { width: 112px; height: 78px; }
}
