/* 검색 결과 페이지 (search/searchResult.jsp) */
.agn-serp-body { margin: 0; background: #fff; }
.agn-serp { max-width: 980px; margin: 0 auto; padding: 56px 22px 100px; color: #1d1d1f; box-sizing: border-box; }
.agn-serp-form { position: relative; max-width: 692px; margin: 0 auto; }
.agn-serp-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); fill: #6e6e73; }
.agn-serp-input { width: 100%; box-sizing: border-box; height: 56px; padding: 0 52px; border: 1px solid #86868b; border-radius: 12px; font: inherit; font-size: 17px; color: #1d1d1f; background: #fff; -webkit-appearance: none; appearance: none; }
.agn-serp-input::-webkit-search-cancel-button { display: none; }
.agn-serp-input:focus { outline: none; border-color: #0071e3; box-shadow: 0 0 0 3px rgba(0, 125, 250, .3); }
.agn-serp-reset { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border: 0; border-radius: 50%; background: #86868b; color: #fff; font-size: 16px; line-height: 24px; cursor: pointer; padding: 0; }
.agn-serp-tabs { display: flex; justify-content: center; gap: 36px; margin: 44px 0 0; border-bottom: 1px solid #d2d2d7; }
.agn-serp-tabs a { position: relative; padding: 0 0 14px; color: #6e6e73; font-size: 17px; text-decoration: none; }
.agn-serp-tabs a span { margin-left: 6px; font-size: 12px; color: #86868b; }
.agn-serp-tabs a:hover, .agn-serp-tabs a.is-on { color: #1d1d1f; }
.agn-serp-tabs a.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #1d1d1f; }
.agn-serp-quick { margin-top: 40px; }
.agn-serp-quick h2, .agn-serp-empty p { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: #6e6e73; }
.agn-serp-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.agn-serp-pills a { padding: 9px 18px; border: 1px solid #d2d2d7; border-radius: 980px; color: #1d1d1f; font-size: 14px; text-decoration: none; background: #fff; }
.agn-serp-pills a:hover { border-color: #86868b; }
.agn-serp-count { margin: 40px 0 8px; font-size: 14px; color: #6e6e73; }
.agn-serp-list { list-style: none; margin: 0; padding: 0; }
.agn-serp-list li { border-bottom: 1px solid #e8e8ed; }
.agn-serp-list li[hidden] { display: none; }
.agn-serp-item { display: flex; align-items: center; gap: 28px; padding: 22px 0; color: inherit; text-decoration: none; }
.agn-serp-thumb { flex: none; width: 120px; height: 120px; border-radius: 14px; background: #f5f5f7; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.agn-serp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.agn-serp-text { display: flex; flex-direction: column; min-width: 0; }
.agn-serp-section { font-size: 12px; color: #6e6e73; }
.agn-serp-title { margin-top: 4px; font-size: 21px; font-weight: 600; line-height: 1.25; }
.agn-serp-item:hover .agn-serp-title { color: #0066cc; text-decoration: underline; }
.agn-serp-desc { margin-top: 6px; font-size: 14px; line-height: 1.5; color: #424245; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.agn-serp-more-wrap { text-align: center; margin-top: 36px; }
.agn-serp-more { padding: 12px 28px; border: 1px solid #0071e3; border-radius: 980px; background: #fff; color: #0071e3; font: inherit; font-size: 17px; cursor: pointer; }
.agn-serp-more:hover { background: #f2f7ff; }
.agn-serp-empty, .agn-serp-none { text-align: center; margin-top: 64px; }
.agn-serp-empty h1, .agn-serp-none h1 { margin: 0 0 12px; font-size: 32px; font-weight: 600; }
.agn-serp-none p { margin: 0 0 28px; font-size: 17px; color: #6e6e73; }
.agn-serp-empty .agn-serp-pills, .agn-serp-none .agn-serp-pills { justify-content: center; }
@media (max-width: 734px) {
  .agn-serp { padding-top: 32px; }
  .agn-serp-tabs { gap: 20px; justify-content: flex-start; overflow-x: auto; }
  .agn-serp-tabs a { white-space: nowrap; }
  .agn-serp-thumb { width: 80px; height: 80px; }
  .agn-serp-item { gap: 16px; }
  .agn-serp-title { font-size: 17px; }
}
