/* V3.8: full editorial search screen, preserving the old site's character.
   Component-scoped; no changes to the approved homepage grid or typography. */
body.pxc-search-active{overflow:hidden!important}
.pxc-preview.pxc-search-active{overflow-y:hidden!important}
.pxc-preview .pxc-search-dialog.pxc-search-editorial{
 position:fixed!important;inset:0!important;
 box-sizing:border-box;width:min(940px,calc(100vw - 64px))!important;max-width:calc(100vw - 24px)!important;
 height:min(680px,calc(100dvh - 64px))!important;max-height:calc(100dvh - 24px)!important;
 margin:auto!important;padding:0!important;border:1px solid #e5e5e5!important;border-radius:16px!important;
 background:#fcfcfc!important;color:#171717!important;
 font:inherit!important;line-height:1.5!important;
 overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;
 box-shadow:0 22px 70px rgba(0,0,0,.2)!important;z-index:9999
}
.pxc-preview .pxc-search-dialog.pxc-search-editorial::backdrop{
 background:rgba(0,0,0,.23)
}
.pxc-preview .pxc-search-editorial *{box-sizing:border-box}
.pxc-preview .pxc-search-editorial .pxc-search-frame{
 width:100%;min-height:100%;background:#fcfcfc
}
.pxc-preview .pxc-search-editorial .pxc-search-masthead{
 width:100%;min-height:72px;padding:16px clamp(18px,4vw,42px);
 display:flex;align-items:center;justify-content:space-between;gap:20px;
 border-bottom:1px solid #e6e6e6;background:#fff
}
.pxc-preview .pxc-search-editorial .pxc-search-brand{
 min-width:0;display:flex;align-items:center;gap:11px;white-space:nowrap
}
.pxc-preview .pxc-search-editorial .pxc-search-brand strong{
 font-size:20px;font-weight:800;letter-spacing:-.055em;line-height:1.15;text-transform:none
}
.pxc-preview .pxc-search-editorial .pxc-search-brand-divider{
 width:1px;height:17px;background:#d7d7d7;flex-shrink:0
}
.pxc-preview .pxc-search-editorial .pxc-search-brand>span:last-child{
 font-size:11px;font-weight:750;color:#737373;letter-spacing:.15em;line-height:1.2
}
.pxc-preview .pxc-search-editorial .pxc-search-dismiss{
 display:flex;align-items:center;gap:22px;white-space:nowrap
}
.pxc-preview .pxc-search-editorial .pxc-search-dismiss>span{
 color:#999;font-size:11px;letter-spacing:.08em
}
.pxc-preview .pxc-search-editorial .pxc-search-dismiss kbd{
 font:inherit;font-size:10px;color:#777;background:#f8f8f8;
 border:1px solid #dedede;padding:3px 5px;border-radius:2px
}
.pxc-preview .pxc-search-editorial .pxc-search-close{
 width:38px;height:38px;min-width:38px;display:inline-flex;align-items:center;justify-content:center;
 padding:0;background:#fff;border:1px solid #e1e1e1;border-radius:12px;
 color:#272727;font-size:22px;line-height:1;cursor:pointer
}
.pxc-preview .pxc-search-editorial .pxc-search-close:hover{background:#f3f3f3}
.pxc-preview .pxc-search-editorial .pxc-search-main{
 width:min(100% - 48px,720px);margin:0 auto;
 padding:38px 0 42px
}
.pxc-preview .pxc-search-editorial .pxc-search-a11y{
 position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;
 overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0
}
.pxc-preview .pxc-search-editorial .pxc-search-form{margin:0}
.pxc-preview .pxc-search-editorial .pxc-search-line{
 display:flex;align-items:center;gap:16px;width:100%;
 border-bottom:2px solid #171717;padding:0 0 22px
}
.pxc-preview .pxc-search-editorial .pxc-search-line svg{
 width:30px;height:30px;flex:0 0 30px;color:#171717
}
.pxc-preview .pxc-search-editorial .pxc-search-line input{
 appearance:none;flex:1 1 0;min-width:0;max-width:100%;outline:none;
 border:0!important;border-radius:0!important;box-shadow:none!important;
 padding:0!important;background:transparent!important;color:#171717!important;
 font:inherit!important;font-size:clamp(28px,4vw,46px)!important;
 font-weight:500!important;line-height:1.15!important;letter-spacing:-.045em!important
}
.pxc-preview .pxc-search-editorial .pxc-search-line input::placeholder{color:#c9c9c9;opacity:1}
.pxc-preview .pxc-search-editorial .pxc-search-line input::-webkit-search-cancel-button{cursor:pointer}
.pxc-preview .pxc-search-editorial .pxc-search-line button{
 flex:0 0 auto;padding:5px 7px;border:0!important;border-radius:2px!important;
 background:#f4f4f4!important;color:#999!important;
 font:inherit;font-size:11px;font-weight:650;letter-spacing:.04em;white-space:nowrap
}
.pxc-preview .pxc-search-editorial .pxc-search-section-heading{
 display:flex;justify-content:space-between;align-items:baseline;
 gap:16px;margin-bottom:18px;color:#a0a0a0
}
.pxc-preview .pxc-search-editorial .pxc-search-section-heading h3{
 margin:0;font-size:10px;font-weight:780;letter-spacing:.18em;color:#9a9a9a
}
.pxc-preview .pxc-search-editorial .pxc-search-section-heading>span{
 font-size:10px;letter-spacing:.05em;color:#aaa;white-space:nowrap
}
.pxc-preview .pxc-search-editorial .pxc-search-suggestions{margin-top:30px}
.pxc-preview .pxc-search-editorial .pxc-search-chips{
 display:flex;flex-wrap:wrap;gap:8px;min-width:0
}
.pxc-preview .pxc-search-editorial .pxc-search-chips a{
 padding:8px 14px;border:1px solid #e3e3e3;border-radius:11px;
 background:white;font-size:13px;font-weight:520;text-decoration:none;color:#171717;
 white-space:nowrap;min-height:36px
}
.pxc-preview .pxc-search-editorial .pxc-search-chips a:hover{background:#f2f2f2}
.pxc-preview .pxc-search-editorial .pxc-search-trending{margin-top:34px}
.pxc-preview .pxc-search-editorial .pxc-search-trending-list{
 border-top:1px solid #ededed
}
.pxc-preview .pxc-search-editorial .pxc-search-story{
 display:grid;grid-template-columns:56px minmax(0,1fr) 24px;
 align-items:center;gap:16px;padding:15px 0;
 border-bottom:1px solid #ececec;text-decoration:none;color:#171717
}
.pxc-preview .pxc-search-editorial .pxc-search-story:hover{background:#f7f7f7}
.pxc-preview .pxc-search-editorial .pxc-search-story-thumb{
 width:56px;height:56px;overflow:hidden;border-radius:4px;background:#eee
}
.pxc-preview .pxc-search-editorial .pxc-search-story-thumb img{
 display:block;width:56px;height:56px;object-fit:cover
}
.pxc-preview .pxc-search-editorial .pxc-search-story-copy{min-width:0}
.pxc-preview .pxc-search-editorial .pxc-search-story-meta{
 display:flex;align-items:center;flex-wrap:wrap;column-gap:7px;row-gap:2px;
 margin-bottom:5px;color:#aaa;font-size:11px;letter-spacing:.02em
}
.pxc-preview .pxc-search-editorial .pxc-search-story-category{
 padding:3px 6px;background:#f1f1f1;color:#373737;font-size:10px;
 font-weight:740;letter-spacing:.08em;text-transform:uppercase
}
.pxc-preview .pxc-search-editorial .pxc-search-story-copy strong{
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
 overflow:hidden;color:#171717;font-size:15px;font-weight:750;line-height:1.32;letter-spacing:-.02em
}
.pxc-preview .pxc-search-editorial .pxc-search-story-arrow{
 justify-self:end;color:#999;font-size:20px
}
.pxc-preview .pxc-search-editorial a:focus-visible,
.pxc-preview .pxc-search-editorial button:focus-visible{
 outline:2px solid #171717;outline-offset:3px
}
@media(max-width:800px){
 .pxc-preview .pxc-search-editorial .pxc-search-masthead{min-height:72px;padding:15px 20px}
 .pxc-preview .pxc-search-editorial .pxc-search-main{width:min(100% - 40px,690px)}
 .pxc-preview .pxc-search-editorial .pxc-search-line input{font-size:clamp(28px,6vw,43px)!important}
}
@media(max-width:540px){
 .pxc-preview .pxc-search-editorial .pxc-search-masthead{min-height:62px;padding:12px 16px}
 .pxc-preview .pxc-search-editorial .pxc-search-brand{gap:9px}
 .pxc-preview .pxc-search-editorial .pxc-search-brand strong{font-size:17px}
 .pxc-preview .pxc-search-editorial .pxc-search-brand>span:last-child{font-size:10px;letter-spacing:.10em}
 .pxc-preview .pxc-search-editorial .pxc-search-dismiss{gap:7px}
 .pxc-preview .pxc-search-editorial .pxc-search-dismiss>span{display:none}
 .pxc-preview .pxc-search-editorial .pxc-search-close{width:42px;height:42px;min-width:42px}
 .pxc-preview .pxc-search-editorial .pxc-search-main{width:calc(100% - 32px);padding:34px 0 50px}
 .pxc-preview .pxc-search-editorial .pxc-search-line{gap:10px;padding-bottom:14px}
 .pxc-preview .pxc-search-editorial .pxc-search-line svg{width:24px;height:24px;flex-basis:24px}
 .pxc-preview .pxc-search-editorial .pxc-search-line input{font-size:clamp(23px,6.5vw,33px)!important}
 .pxc-preview .pxc-search-editorial .pxc-search-line button{font-size:10px;padding:4px}
 .pxc-preview .pxc-search-editorial .pxc-search-suggestions{margin-top:30px}
 .pxc-preview .pxc-search-editorial .pxc-search-trending{margin-top:35px}
 .pxc-preview .pxc-search-editorial .pxc-search-section-heading{margin-bottom:14px}
 .pxc-preview .pxc-search-editorial .pxc-search-chips{gap:7px}
 .pxc-preview .pxc-search-editorial .pxc-search-chips a{font-size:12px;padding:8px 11px}
 .pxc-preview .pxc-search-editorial .pxc-search-story{grid-template-columns:52px minmax(0,1fr) 16px;gap:10px;padding:12px 0}
 .pxc-preview .pxc-search-editorial .pxc-search-story-thumb,
 .pxc-preview .pxc-search-editorial .pxc-search-story-thumb img{width:52px;height:52px}
 .pxc-preview .pxc-search-editorial .pxc-search-story-copy strong{font-size:13px}
 .pxc-preview .pxc-search-editorial .pxc-search-story-meta{font-size:10px;column-gap:5px}
}
@media(max-width:360px){
 .pxc-preview .pxc-search-editorial .pxc-search-brand>span:last-child{display:none}
 .pxc-preview .pxc-search-editorial .pxc-search-brand-divider{display:none}
 .pxc-preview .pxc-search-editorial .pxc-search-line input{font-size:23px!important}
}
@media(prefers-reduced-motion:reduce){
 .pxc-preview .pxc-search-editorial *{scroll-behavior:auto!important}
}

/* Preserve old-search immersion on phone without horizontal overflow. */
@media(max-width:540px){
 .pxc-preview .pxc-search-dialog.pxc-search-editorial{
  width:100vw!important;max-width:100vw!important;
  height:100dvh!important;max-height:100dvh!important;
  border:0!important;border-radius:0!important;box-shadow:none!important
 }
}
