/* v078: approved half-height search with the actual homepage navigation and marquee. */
.ard-fluid-home,.ard-shared-navigation{--afs-ready:1}
.afs-source{display:none!important}
body.afs-open{overflow:hidden!important}
.afs-dialog{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:transparent;overflow:hidden;color:inherit;font:inherit;letter-spacing:inherit;line-height:inherit;--afs-header-height:98px}
/* Search-open header shares the panel surface; original header geometry stays intact. */
.afs-dialog .af-header{background:#171816!important;transition:none}
.afs-dialog::backdrop{background:linear-gradient(to bottom,transparent 0 var(--afs-header-height),rgba(10,10,10,.65) var(--afs-header-height) 100%)}
.afs-sheet{--afs-surface:#171816;--afs-ink:#f5f3ed;--afs-muted:#aaa9a2;--afs-field:#d84339;--afs-field-ink:#fff;--afs-line:rgba(255,255,255,.18);--afs-pad:clamp(22px,3.1vw,72px);position:absolute;left:0;right:0;top:var(--afs-header-height);height:max(calc(min(550px,64dvh) - var(--afs-header-height)),var(--afs-content-height,0px));max-height:calc(100dvh - var(--afs-header-height) - 16px);box-sizing:border-box;background:var(--afs-surface);color:var(--afs-ink);font-family:MiSans-Regular,sans-serif;overflow:hidden;overscroll-behavior:contain;display:grid;grid-template-rows:minmax(0,1fr) auto;box-shadow:0 20px 55px rgba(0,0,0,.3);transition:height .4s cubic-bezier(.22,.7,.2,1)}
.afs-sheet[data-results="true"]{height:calc(min(860px,94dvh) - var(--afs-header-height))}
.afs-dialog:has(.af-header:is(.is-menu-open,.is-mobile-open)) .afs-sheet{visibility:hidden;pointer-events:none}
.afs-utility{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.afs-utility>.afs-helper,.afs-utility>.afs-summary{flex:1;min-width:0}
.afs-utility>.afs-close{margin-top:10px}
.afs-sheet *{box-sizing:border-box}
.afs-sheet [hidden]{display:none!important}
.afs-sheet button,.afs-sheet input{font:inherit}
.afs-sheet button{cursor:pointer;color:inherit}
.afs-sheet h2,.afs-sheet h3,.afs-sheet p,.afs-sheet ul{padding:0;margin:0;color:inherit}
.afs-sheet a{color:inherit;text-decoration:none}
.afs-sheet :focus-visible{outline:2px solid currentColor;outline-offset:5px}
.afs-sheet svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;flex:none}
.afs-close{display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid #d84339;background:transparent;color:var(--afs-ink);border-radius:80px;min-height:44px;padding:9px 20px;font-size:14px;flex:none;transition:background .2s,color .2s}
.afs-close svg{width:20px;height:20px}
.afs-close:hover{background:#d84339;color:#fff}
.afs-panel{min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#7a7771 transparent;padding:0 var(--afs-pad) 18px;scroll-padding-block:20px}
.afs-intro{position:relative;padding:12px 0 24px;background:var(--afs-surface)}
.afs-title{font-size:clamp(34px,4.2vw,78px);font-weight:400;letter-spacing:-.045em;line-height:1.12;margin-bottom:30px!important;overflow-wrap:anywhere}
.afs-sheet .afs-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.afs-form{display:flex;align-items:center;gap:clamp(14px,2vw,32px);padding:14px clamp(18px,2.8vw,52px);min-height:clamp(76px,7vw,134px);border:1px solid var(--afs-field);border-radius:100px;background:var(--afs-field);color:var(--afs-field-ink)}
.afs-form:focus-within{box-shadow:none}
.afs-sheet .afs-input:focus,.afs-sheet .afs-input:focus-visible{outline:none;box-shadow:none}
.afs-sheet .afs-input{width:100%;min-width:0;flex:1;border:0;border-radius:0;background:transparent;color:var(--afs-field-ink);outline:none;padding:0;font-size:clamp(30px,4.2vw,80px);font-weight:400;letter-spacing:-.045em;line-height:1.15;box-shadow:none;-webkit-appearance:none}
.afs-input::placeholder{color:inherit;opacity:.7}
.afs-input::-webkit-search-cancel-button,.afs-input::-webkit-search-decoration{display:none}
.afs-form button{border:0;padding:0;background:transparent;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;flex:none;color:var(--afs-field-ink)}
.afs-form button svg{width:clamp(28px,3vw,54px);height:clamp(28px,3vw,54px)}
.afs-helper{max-width:850px;padding:10px clamp(16px,3vw,55px);font-size:clamp(15px,1.25vw,22px);line-height:1.55;color:var(--afs-muted)}
.afs-examples{margin-top:4px!important}
.afs-browse,.afs-all{display:inline-flex;align-items:center;gap:13px;font-size:clamp(13px,1vw,18px);line-height:1.4;border-bottom:1px solid currentColor;padding:4px 0}
.afs-browse{margin-top:20px;color:var(--afs-ink)!important}
.afs-browse svg,.afs-all svg{width:22px;height:22px}
.afs-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0 24px;min-height:40px;font-size:clamp(14px,1.1vw,20px)}
.afs-status{color:var(--afs-muted)!important;line-height:1.5}
.afs-sheet[data-state="loading"] .afs-status::before{content:"";display:inline-block;width:14px;height:14px;margin-right:12px;border:1px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-2px;animation:afs-spin 1s linear infinite}
@keyframes afs-spin{to{transform:rotate(360deg)}}
.afs-results{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:36px 28px}
.afs-card{min-width:0}
.afs-card>a{display:block}
.afs-photo{aspect-ratio:1.35;overflow:hidden;background:#353530;display:grid;place-items:center}
.afs-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.22,.65,.18,1)}
.afs-card a:hover img{transform:scale(1.045)}
.afs-card h3{font-size:clamp(17px,1.65vw,31px);line-height:1.25;font-weight:400;letter-spacing:-.025em;overflow-wrap:anywhere;margin-top:12px}
.afs-card p{color:var(--afs-muted);font-size:clamp(12px,1vw,17px);line-height:1.5;margin-top:7px}
.afs-photo-error{font-size:14px;color:var(--afs-muted);padding:20px;text-align:center}
.afs-message{padding:clamp(26px,5vw,90px) 0;max-width:780px}
.afs-message h3{font-size:clamp(25px,3vw,48px);line-height:1.2;font-weight:400;letter-spacing:-.03em}
.afs-message p{margin-top:16px;color:var(--afs-muted);font-size:clamp(15px,1.4vw,21px);line-height:1.5}
.afs-retry{margin-top:24px;border:1px solid currentColor;border-radius:60px;padding:12px 24px;min-height:44px;background:transparent}
.afs-sheet .afs-footer.af-brand-strip{position:relative;inset:auto;display:block;height:clamp(95px,11vw,210px);flex:none;transition:none}
.afs-footer>.af-marquee-track{animation-play-state:running}
.afs-sr{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.afs-sheet [data-hv-type-size]{--hv-active-font-size:var(--hv-font-size)}
.afs-noscript{display:flex;gap:15px;align-items:end;background:#171816;color:#fff;padding:25px}
.afs-noscript label{display:flex;flex-direction:column;gap:12px;flex:1}
.afs-noscript input{color:#171816;background:white;padding:12px;border:1px solid #d84339;width:100%}
.afs-noscript button{border:1px solid #d84339!important;background:#d84339!important;padding:12px!important;color:white!important}

@media(max-width:1150px){.afs-results{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){
 .afs-sheet{--afs-pad:22px}
 .afs-intro{padding:12px 0 18px}
 .afs-form{min-height:68px;padding:12px 18px;gap:10px}
 .afs-sheet .afs-input{font-size:clamp(24px,7.5vw,36px)}
 .afs-form button{min-width:28px;min-height:42px}
 .afs-form button svg{width:27px;height:27px}
 .afs-helper{padding:6px 0;font-size:15px}
 .afs-browse{margin-top:20px}
 .afs-close{font-size:12px;gap:5px;min-height:42px;padding:8px 12px}
 .afs-close svg{width:17px;height:17px}
 .afs-utility{gap:14px}
 .afs-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px}
 .afs-card h3{font-size:17px;margin-top:9px}
 .afs-card p{font-size:12px}
 .afs-summary{align-items:flex-start;flex-wrap:wrap;gap:8px;margin:10px 0 20px}
 .afs-all{font-size:12px}
 .afs-status{font-size:13px}
 .afs-all svg{width:18px;height:18px}
 .afs-sheet [data-hv-type-size]{--hv-active-font-size:var(--hv-font-size-mobile,var(--hv-font-size))}
}
@media(max-width:359px){.afs-sheet{--afs-pad:16px}.afs-form{padding-inline:13px;gap:7px}.afs-results{gap:22px 12px}.afs-card h3{font-size:15px}}
@media(max-height:550px){
 .afs-sheet .afs-footer.af-brand-strip{display:none}
 .afs-form{min-height:62px}
 .afs-sheet .afs-input{font-size:30px}
 .afs-intro{padding-top:5px;padding-bottom:14px}
}
@media(prefers-reduced-motion:reduce){.afs-sheet{transition:none}.afs-sheet[data-state="loading"] .afs-status::before{animation:none}.afs-photo img{transition:none}}
.afs-sheet h2,.afs-sheet h3{font-family:inherit}
.afs-sheet [data-hv-text-align]{display:block}
