/* ============================================================
   SEARCH.PHP — axtarış nəticələri
   ============================================================ */

.search-bar-row { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 24px; box-shadow: var(--shadow-sm); display: flex; gap: 10px; position: relative; }
.search-bar-row input { flex: 1; border: none; background: var(--light-bg); padding: 13px 16px; border-radius: 8px; font-size: 14px; outline: none; }
.search-bar-row button { background: var(--yellow); color: var(--black); border: none; padding: 0 24px; border-radius: 8px; font-weight: 700; cursor: pointer; }

.search-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; }

.sidebar-widget { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.sidebar-widget .widget-title { font-size: 14px; font-weight: 800; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: none; padding-bottom: 0; }
.filter-group { margin-bottom: 18px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group h5 { font-size: 12px; font-weight: 700; color: var(--text-muted); margin-bottom: 10px; text-transform: uppercase; }
.filter-option { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; padding: 6px 0; cursor: pointer; }
.filter-option input { accent-color: var(--yellow); }

.search-meta { font-size: 13px; color: var(--text-muted); font-weight: 600; margin-bottom: 16px; }
.search-meta strong { color: var(--black); }

.result-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.result-item:hover { box-shadow: var(--shadow-md); }
.result-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--yellow-hover); margin-bottom: 6px; display: inline-block; }
.result-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.result-item h3 a:hover { color: var(--yellow-hover); }
.result-item h3 mark { background: rgba(255,193,7,0.3); color: inherit; border-radius: 3px; padding: 0 2px; }
.result-item p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 10px; }
.result-meta { display: flex; gap: 16px; font-size: 12px; color: var(--text-muted); font-weight: 600; flex-wrap: wrap; }
.result-meta span { display: flex; align-items: center; gap: 5px; }

@media (max-width: 1024px) {
    .search-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .search-bar-row { flex-direction: column; }
    .search-bar-row button { padding: 13px; width: 100%; justify-content: center; }
}
