/* AdultKeys • Search-led Edition 7.0.0. Complete redesign for Astra. */
body.a4p-hf-enabled .site-header,body.a4p-hf-enabled #masthead,
body.a4p-hf-enabled .ast-mobile-header-wrap,body.a4p-hf-enabled .site-footer,
body.a4p-hf-enabled #colophon{display:none!important}
.a4p-header,.a4p-footer{box-sizing:border-box;width:100%;max-width:100%;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.a4p-header *,.a4p-footer *{box-sizing:border-box}
.a4p-header a,.a4p-footer a{text-decoration:none}
.a4p-header button,.a4p-footer button,.a4p-header input{font:inherit}
.a4p-header svg,.a4p-footer svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.a4p-shell{width:min(calc(100% - 56px),var(--a4p-max,1240px));margin-right:auto;margin-left:auto;max-width:100%}
.a4p-skip{position:fixed;left:15px;top:-120px;z-index:100020;padding:12px 15px;border-radius:10px;background:#fff;color:#111827;font:700 13px/1.3 system-ui,sans-serif;box-shadow:0 6px 22px #0002}
.a4p-skip:focus{top:12px}

/* One-row, modern editorial header — no black utility bar or oversized masthead. */
.a4p-header{--ak-ink:#18203d;--ak-muted:#5d6885;--ak-line:#e8eaf3;position:sticky;top:0;z-index:999;background:rgba(255,255,255,.97);border-bottom:1px solid var(--ak-line);box-shadow:0 7px 34px rgba(39,46,96,.045);color:var(--ak-ink);isolation:isolate}
body.admin-bar .a4p-header{top:32px}
.ak-header-inner{min-height:82px;display:flex;align-items:center;gap:28px}
.ak-header-brand{flex:0 0 auto;min-width:0}
.a4p-brand,.a4p-footer-logo{display:inline-flex;align-items:center;gap:11px;color:inherit!important;width:auto;max-width:100%;white-space:nowrap}
.a4p-brand:focus-visible,.a4p-footer-logo:focus-visible{outline:3px solid var(--a4p-accent);outline-offset:5px;border-radius:8px}
.ak-logo-glyph{display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;background:linear-gradient(145deg,#8068ff 0%,var(--a4p-accent,#6654e8) 55%,#403bbb 100%);border-radius:14px;color:#fff;box-shadow:0 6px 16px rgba(102,84,232,.24)}
.ak-logo-glyph svg{width:27px;height:27px;stroke-width:2.5;transform:rotate(-6deg)}
.a4p-wordmark{display:inline-flex;align-items:baseline;font-size:clamp(22px,2vw,28px);line-height:1;font-weight:850;letter-spacing:-1.18px;color:#18203d}
.a4p-word-four{color:var(--a4p-accent,#6654e8)}
.a4p-logo-image{display:block;max-width:min(var(--a4p-logo-width,210px),100%);height:auto;max-height:56px;object-fit:contain}
.a4p-nav{display:flex;align-items:center;justify-content:flex-end;gap:3px;flex:1;min-width:0}
.a4p-nav>a{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:0 11px;border-radius:11px;color:var(--ak-muted)!important;background:transparent;font-size:13px;font-weight:650;line-height:1.25;letter-spacing:-.12px;white-space:nowrap;transition:background-color .18s,color .18s,transform .18s}
.a4p-nav>a:hover,.a4p-nav>a.is-current:not(.is-shop){background:#f3f1ff;color:#4535b3!important}
.a4p-nav>a:focus-visible{outline:2px solid var(--a4p-accent);outline-offset:2px}
.a4p-nav>a.is-shop{padding:0 14px;margin-left:10px;background:var(--a4p-accent,#6654e8);color:#fff!important;box-shadow:0 5px 15px rgba(102,84,232,.18);font-weight:730}
.a4p-nav>a.is-shop:hover,.a4p-nav>a.is-shop.is-current{background:#4d3ed0;transform:translateY(-1px)}
.ak-nav-arrow{display:inline-flex;margin-left:7px}
.ak-nav-arrow svg{width:15px;height:15px;stroke-width:2.3}
.a4p-menu-toggle,.a4p-search-toggle,.a4p-search-close{appearance:none;border:0;cursor:pointer;background:transparent;display:inline-grid;place-items:center}
.a4p-menu-toggle{display:none}
.a4p-search-toggle{flex:0 0 44px;width:44px;height:44px;margin-left:0;background:#f3f4fa;border:1px solid #e9eaf1;border-radius:12px;color:#253250;transition:background .2s,color .2s}
.a4p-search-toggle:hover,.a4p-search-toggle[aria-expanded="true"]{background:#f0ecff;color:var(--a4p-accent)}
.a4p-search-toggle:focus-visible,.a4p-menu-toggle:focus-visible,.a4p-search-close:focus-visible{outline:2px solid var(--a4p-accent);outline-offset:3px}

/* Dropdown search; name=s uses WordPress native search. */
.a4p-search-panel{position:absolute;z-index:3;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid #e5e7f3;box-shadow:0 17px 34px rgba(23,34,84,.11)}
.a4p-search-panel[hidden]{display:none!important}
.ak-search-inner{display:flex;align-items:center;gap:14px;padding:18px 0 22px}
.a4p-search-form{display:flex;align-items:center;gap:10px;min-width:0;flex:1;padding:7px 7px 7px 19px;background:#f5f6fb;border:1px solid #e6e7f0;border-radius:15px}
.ak-search-field-icon{display:inline-flex;color:#78829d}
.ak-search-field-icon svg{width:19px;height:19px}
.a4p-search-form input[type="search"]{appearance:none;flex:1;min-width:0;width:100%;height:40px!important;margin:0!important;padding:0 4px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;color:#1b2544!important;font-size:14px!important;font-weight:500}
.a4p-search-form input[type="search"]::placeholder{color:#8993a8}
.a4p-search-form:focus-within{border-color:#a89df5;box-shadow:0 0 0 3px #6654e81c}
.a4p-search-form .ak-search-submit{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 18px;border:0;border-radius:10px;background:var(--a4p-accent);color:#fff;font-size:12px;font-weight:750;cursor:pointer}
.a4p-search-form .ak-search-submit:hover{background:#4d3ed0}
.a4p-search-form .ak-search-submit svg{width:15px;height:15px}
.a4p-search-close{flex:0 0 40px;width:40px;height:40px;border-radius:10px;color:#65708b;background:#f0f1f7}
.a4p-search-close:hover{color:#18203d;background:#e8e9f1}

/* New editorial footer, deliberately unlike the previous grey-box/black-bar footer. */
.a4p-footer{margin-top:60px;overflow:hidden;background:radial-gradient(ellipse 800px 350px at 100% 0%,rgba(119,97,244,.21),transparent 72%),linear-gradient(155deg,#20264b 0%,#151b39 70%,#121731 100%);color:#e6e9ff}
.a4p-footer-inner{padding-top:48px}
.ak-footer-top{display:flex;align-items:center;justify-content:space-between;gap:22px;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.12)}
.a4p-footer-logo{color:#fff!important}
.a4p-footer-logo .a4p-wordmark{font-size:25px;letter-spacing:-1.1px;color:#fff}
.a4p-footer-logo .a4p-word-four{color:#ac9eff}
.a4p-footer-logo .ak-logo-glyph{width:39px;height:39px;flex-basis:39px;border-radius:12px;box-shadow:none}
.a4p-footer-logo .ak-logo-glyph svg{width:25px;height:25px}
.a4p-footer-logo .a4p-logo-image{max-height:48px}
.a4p-footer-brand p{margin:14px 0 0!important;max-width:410px;color:#b8bfdc!important;font-size:13px!important;line-height:1.65!important}
.ak-footer-top-link{display:inline-flex;justify-content:center;align-items:center;gap:12px;padding:12px 17px;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:rgba(255,255,255,.07);color:#fff!important;font-size:13px;font-weight:730;white-space:nowrap;transition:background .15s,border-color .15s}
.ak-footer-top-link:hover{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.31)}
.ak-footer-top-link span{display:inline-flex}
.ak-footer-top-link svg{width:17px;height:17px}
.a4p-footer-main{padding:37px 0 44px}
.a4p-footer-links{display:grid;grid-template-columns:repeat(var(--a4p-footer-cols,4),minmax(0,1fr));gap:40px}
.a4p-footer-column h2{margin:0 0 19px!important;padding:0!important;color:#fff!important;font-family:inherit!important;font-size:13px!important;font-weight:770!important;letter-spacing:.02em!important;line-height:1.35!important;text-transform:none!important}
.a4p-footer-column a{display:block;width:fit-content;max-width:100%;margin:0 0 11px;color:#b8bfdc!important;font-size:13px!important;line-height:1.5!important;font-weight:480!important;overflow-wrap:anywhere;transition:color .15s}
.a4p-footer-column a:hover{color:#fff!important;text-decoration:underline;text-decoration-color:#b8aaff;text-underline-offset:4px}
.a4p-footer-column a:focus-visible,.ak-footer-top-link:focus-visible{outline:2px solid #b8aaff;outline-offset:4px}
.a4p-disclaimer{padding:17px 0;color:#bbc1da;border-top:1px solid rgba(255,255,255,.14);font-size:12px;line-height:1.65}
.a4p-footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:65px;padding:17px 0;border-top:1px solid rgba(255,255,255,.12);font-size:12px;color:#929bbb}
.ak-footer-end-note{color:#808bb0}

@media(max-width:1190px){
 .ak-header-inner{gap:12px;min-height:76px}
 .a4p-nav>a{padding:0 8px;font-size:12px}
 .a4p-nav>a.is-shop{margin-left:3px;padding:0 11px}
 .a4p-wordmark{font-size:23px}
}
@media(max-width:990px){
 .a4p-shell{width:min(calc(100% - 36px),var(--a4p-max,1240px))}
 .ak-header-inner{min-height:70px;gap:12px}
 .ak-header-brand{margin-right:auto}
 .ak-logo-glyph{width:37px;height:37px;flex-basis:37px;border-radius:12px}
 .ak-logo-glyph svg{width:24px;height:24px}
 .a4p-wordmark{font-size:24px}
 .a4p-menu-toggle{display:inline-grid;order:3;flex:0 0 43px;width:43px;height:43px;color:#253250;background:#f4f4fa;border:1px solid #e9eaf1;border-radius:12px}
 .a4p-menu-toggle:hover,.a4p-menu-toggle[aria-expanded="true"]{background:#eeeaff;color:var(--a4p-accent)}
 .a4p-search-toggle{order:2;flex-basis:43px;width:43px;height:43px}
 .a4p-nav{position:absolute;top:100%;left:0;right:0;z-index:2;display:none;flex-direction:column;align-items:stretch;gap:5px;max-height:calc(100dvh - 80px);overflow-y:auto;padding:16px 18px 22px;border-top:1px solid #e9eaf2;background:#fff;box-shadow:0 17px 32px rgba(20,30,73,.13)}
 .a4p-nav.is-open{display:flex}
 .a4p-nav>a{justify-content:flex-start;min-height:47px;width:100%;font-size:14px;padding:0 14px;border-radius:10px}
 .a4p-nav>a.is-shop{width:100%;margin:8px 0 0;justify-content:space-between;padding:0 16px}
 .a4p-footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 44px}
}
@media(max-width:600px){
 body.admin-bar .a4p-header{top:46px}
 .a4p-shell{width:calc(100% - 30px)}
 .ak-header-inner{min-height:66px}
 .ak-logo-glyph{width:34px;height:34px;flex-basis:34px;border-radius:11px}
 .ak-logo-glyph svg{width:22px;height:22px}
 .a4p-brand,.a4p-footer-logo{gap:8px}
 .a4p-wordmark{font-size:22px;letter-spacing:-.85px}
 .a4p-search-toggle,.a4p-menu-toggle{width:39px;flex-basis:39px;height:39px;border-radius:10px}
 .a4p-search-toggle svg,.a4p-menu-toggle svg{width:19px;height:19px}
 .ak-search-inner{padding:13px 0;gap:8px}
 .a4p-search-form{padding-left:12px;gap:5px}
 .a4p-search-form input[type="search"]{font-size:13px!important}
 .a4p-search-form .ak-search-submit{min-height:39px;padding:0 12px;font-size:11px}
 .a4p-search-form .ak-search-submit svg{display:none}
 .a4p-search-close{width:38px;flex-basis:38px;height:38px}
 .a4p-footer{margin-top:42px}
 .a4p-footer-inner{padding-top:31px}
 .ak-footer-top{align-items:flex-start;flex-direction:column;gap:22px;padding-bottom:29px}
 .ak-footer-top-link{width:100%;justify-content:space-between}
 .a4p-footer-main{padding:31px 0 29px}
 .a4p-footer-links{gap:30px 20px}
 .a4p-footer-column h2{font-size:12px!important;margin-bottom:13px!important}
 .a4p-footer-column a{font-size:12px!important;margin-bottom:11px}
 .a4p-footer-bottom{min-height:60px;font-size:11px}
}
@media(max-width:360px){
 .a4p-shell{width:calc(100% - 22px)}
 .ak-header-inner{gap:7px}
 .a4p-wordmark{font-size:20px}
 .ak-logo-glyph{width:31px;height:31px;flex-basis:31px}
 .a4p-nav{padding:12px 11px 17px}
 .a4p-footer-links{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.a4p-header *,.a4p-footer *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
