/* iVideo 1123 FIX25 - unified iVideo search UI */
:root { --iv-meta-orange:#ed8e23; --iv-meta-navy:#061b30; --iv-meta-border:#42617b; }
/* Hero homepage: respect original responsive grid; search stays under news panel. */
.iv-meta-hero-search { width:100%; max-width:680px; display:flex!important; align-items:stretch; gap:0!important; border-radius:15px!important; box-shadow:0 7px 24px rgba(0,0,0,.15); overflow:hidden; background:#fff; border:1px solid rgba(223,237,248,.2); }
.iv-meta-hero-search #txtKeyword { min-width:0; flex:1 1 auto; width:100%!important; height:54px!important; border:0!important; border-radius:0!important; padding:0 18px!important; background:#fff!important; color:#122c42!important; font-size:16px!important; box-sizing:border-box; outline:none; }
.iv-meta-hero-search:focus-within { outline:2px solid #ffba68; outline-offset:2px; }
.iv-meta-hero-search #searchBtn.iv-meta-search-action { flex:0 0 64px; height:54px!important; min-width:64px; display:flex!important; justify-content:center; align-items:center; background:var(--iv-meta-orange)!important; color:#fff!important; border-radius:0!important; margin:0!important; cursor:pointer; }
/* Shared, compact header search across detail, search, and collection pages. */
.header .search { border-radius:12px; overflow:hidden; background:#fff; display:flex; align-items:stretch; max-width:420px; box-shadow:0 4px 14px rgba(0,0,0,.12); }
.header .search input#txtKeyword_searchResult { min-width:0; flex:1; width:100%!important; height:44px!important; box-sizing:border-box; margin:0!important; padding:0 15px!important; border:0!important; background:#fff!important; color:#17334f!important; border-radius:0!important; font-size:14px; }
.header .search #searchBtn { flex:0 0 51px; height:44px!important; border-radius:0!important; background:var(--iv-meta-orange)!important; display:inline-flex; align-items:center; justify-content:center; }
.header .search:focus-within { outline:2px solid #ffba68; outline-offset:1px; }
/* Search results body; same orange for highlight everywhere. */
.iv-meta-query-toolbar.iv-meta-compact-search { max-width:none; border-radius:12px; display:flex; gap:0; background:#11314f; padding:10px; border:1px solid #315575; }
.iv-meta-compact-search label { margin:0 12px 0 3px; }
.iv-meta-compact-search input#txtKeyword2 { flex:1 1 auto; min-width:0; height:43px!important; border-radius:9px 0 0 9px!important; font-size:15px!important; border:0!important; padding:0 16px!important; background:#fff!important; color:#14304a!important; }
.iv-meta-compact-search button { height:43px!important; border-radius:0 9px 9px 0!important; padding:0 21px!important; min-width:88px; background:var(--iv-meta-orange)!important; color:#fff; }
.iv-meta-match { color:#ffbd69!important; background:rgba(237,142,35,.16)!important; border-radius:3px; box-shadow:0 0 0 2px rgba(237,142,35,.12); padding:0 1px; font-weight:700; }
.iv-meta-list-page .iv-meta-facets strong, .iv-meta-facet-heading strong { color:#ffbd69!important; }
.iv-meta-list-page .iv-meta-unit-name .iv-meta-match { color:#ffbd69!important; }
@media(max-width:640px) { .iv-meta-hero-search #txtKeyword{height:48px!important;font-size:14px!important;padding:0 11px!important;} .iv-meta-hero-search #searchBtn.iv-meta-search-action {height:48px!important;min-width:52px;flex-basis:52px;} .iv-meta-compact-search label {display:none;} .iv-meta-compact-search input#txtKeyword2 {min-width:0!important;font-size:14px!important;} .iv-meta-compact-search button{min-width:65px;padding:0 11px!important;} .header .search{max-width:100%;} }


/* FIX26 SEARCH-UI R1 | 2026-11-25 | Visual-only test patch.
   No ASPX, search functions, authorization or query routes are modified. */
/* Keep shared header search compact on detail, search results and authorized lists. */
.header.header-pager .search {
  width: min(360px, 100%) !important;
  max-width: 360px !important;
  height: 40px !important;
  min-height: 40px !important;
  top: 0 !important;
  margin-top: 0 !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
  align-items: stretch !important;
}
.header.header-pager .search input#txtKeyword_searchResult {
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 12px !important;
  font-size: 13px !important;
  line-height: 40px !important;
  box-sizing: border-box !important;
}
.header.header-pager .search a#searchBtn {
  box-sizing: border-box !important;
  padding: 0 !important;
  flex: 0 0 46px !important;
  width: 46px !important;
  height: 40px !important;
  min-height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}
.header.header-pager .search a#searchBtn i { line-height: 1 !important; }
/* Search-result local query remains the full-width, primary search editor. */
.iv-meta-list-page .iv-meta-query-toolbar.iv-meta-compact-search {
  margin-top: 12px !important;
  margin-bottom: 18px !important;
}
/* Authorized collection title and filters should not visually collide. */
.iv-collection h1.iv-title {
  margin-top: 4px !important;
  margin-bottom: 13px !important;
  line-height: 1.45 !important;
  overflow-wrap: anywhere;
}
.iv-collection .iv-topline {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  line-height: 1.6 !important;
}
.iv-collection .iv-toolbar {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
}
@media (min-width: 980px) and (max-width: 1199px) {
  .header.header-pager .search { width: 320px !important; max-width: 320px !important; }
}
@media (max-width: 979px) {
  /* Respect the site's mobile menu/search behavior; do not force hidden controls visible. */
  .header.header-pager .search { max-width: 100% !important; }
}

/* SEARCH UI R3: unified all-site search -- simple white field with orange outline magnifier. */
/* Shared global search on other pages: color-only changes; layout stays page-specific. */
.header .search #searchBtn {background:#fff!important;color:#ed8e23!important;border:0!important;box-shadow:none!important;}
.header .search #searchBtn i {color:#ed8e23!important;font-size:18px!important;}
.header .search #searchBtn:hover {background:#f6f9fc!important;}

.iv-meta-hero-search {background:#fff!important;border-radius:15px!important;}
.iv-meta-hero-search #searchBtn.iv-meta-search-action {
  background:#fff!important;color:#ec8d20!important;border:0!important;box-shadow:none!important;
  flex:0 0 52px!important;min-width:52px!important;width:52px!important;
  height:54px!important;border-radius:0!important;outline:none!important;
  align-items:center!important;justify-content:center!important;
}
.iv-meta-hero-search #searchBtn.iv-meta-search-action i {color:#ec8d20!important;font-size:18px!important;}
.iv-meta-hero-search #searchBtn.iv-meta-search-action:hover {background:#f7fafc!important;}
@media(max-width:640px) {
 .iv-meta-hero-search #searchBtn.iv-meta-search-action {height:48px!important;}
}
