/* HK-354: new home page, /past-kits, /community and their shared header (Hiptopia hkc-home-redesign option B v2).
   Only used on pages that set ViewData["HkV2"]; every rule is scoped to .hkh (header) or .hkx (page) so the rest of the store is untouched. */
.hkh,.hkx{--g:#1f4d3a;--c:#9b2335;--gold:#e3a72f;--cr:#fbf6ee;--ink:#1d1d1b;--mu:#45443f;--ln:#e1d9cb}
.hkh *,.hkh *:before,.hkh *:after,.hkx *,.hkx *:before,.hkx *:after{box-sizing:border-box}
.hkh .w,.hkx .w{max-width:1240px;margin:0 auto;padding:0 32px}
.hkh .btn,.hkx .btn{display:inline-flex;align-items:center;justify-content:center;min-height:60px;padding:0 34px;background:var(--g);color:#fff;font:700 22px "Source Sans 3",Roboto,sans-serif;border:0;border-radius:10px;text-decoration:none;cursor:pointer;text-transform:none;letter-spacing:0;line-height:1.2}
.hkh .btn:hover,.hkx .btn:hover,.hkh .btn:focus,.hkx .btn:focus{color:#fff;filter:brightness(1.12)}
.hkh .btn.c,.hkx .btn.c{background:var(--c)}
.hkx .btn.ghost{background:#fff;color:var(--g);border:2px solid var(--g)}
.hkh a:focus-visible,.hkx a:focus-visible,.hkh button:focus-visible,.hkx button:focus-visible,.hkh summary:focus-visible{outline:3px solid var(--c);outline-offset:2px}

/* ---------- header ---------- */
.hkh{background:#fff;font:400 19px/1.6 "Source Sans 3",Roboto,sans-serif;color:var(--ink);position:relative;z-index:20}
.hkh .hd{display:flex;align-items:center;justify-content:space-between;height:84px;gap:18px}
.hkh .hd-logo{display:flex;align-items:center;flex:0 0 auto}
.hkh .hd-logo a{display:flex;align-items:center;min-height:44px;line-height:0}
.hkh .hd-logo img{height:48px;width:auto;max-width:none}
.hkh nav{display:flex;gap:20px;align-items:center;margin-left:auto}
.hkh nav a{color:var(--ink);text-decoration:none;font-weight:600;font-size:18px;padding:10px 4px;min-height:44px;min-width:44px;justify-content:center;display:inline-flex;align-items:center;white-space:nowrap}
.hkh nav a:hover{color:var(--c)}
.hkh nav .btn{min-height:48px;font-size:18px;padding:0 20px;color:#fff}
.hkh .pm{display:none;position:relative}
.hkh .pm summary{list-style:none;cursor:pointer;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;font-size:26px;color:var(--ink)}
.hkh .pm summary::-webkit-details-marker{display:none}
.hkh .pm>div{position:absolute;right:0;top:50px;z-index:50;background:#fff;border:1px solid var(--ln);border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.15);padding:8px;min-width:230px}
.hkh .pm>div a{display:flex;align-items:center;min-height:44px;padding:0 12px;font-size:18px;font-weight:600;color:var(--ink);text-decoration:none}
.hkh .pm-soc{border-top:1px solid #eee5d6;margin-top:6px;padding-top:6px}
.hkh .pm-soc a svg{margin-right:10px;color:var(--g)}
.hkh .hl{display:flex;align-items:flex-end;gap:14px;margin-left:8px}
.hkh .hl-a{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:44px;min-height:48px;color:#6e6e6e;text-decoration:none;font:400 13px Roboto,"Source Sans 3",sans-serif}
.hkh .hl-a:hover{color:var(--ink)}
.hkh .hl-i{position:relative;display:inline-block;line-height:0}
.hkh .hl-b{position:absolute;top:-8px;right:-12px;background:#080808;color:#fff;font:400 10px/15px Roboto,sans-serif;min-width:15px;height:15px;padding:0 2px;border-radius:8px;text-align:center}
.hkh .hl-bw{right:-16px}
.hkh .hl-l{margin-top:3px;white-space:nowrap}
.hkh .hl-t{font-weight:700}
.hkh-stripe{height:10px;background:linear-gradient(90deg,#b8283f 0 25%,#e3a72f 25% 50%,#1d7f7a 50% 75%,#e0674f 75%)}
.hkh-soc .w{max-width:1240px;margin:0 auto;padding:0 32px;display:flex;justify-content:flex-start;align-items:center;gap:2px}
.hkh-soc a{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;color:#1f4d3a}
.hkh-soc a:first-of-type{margin-left:-12px}
.hkh-soc a:hover{color:#9b2335}
@media(max-width:1260px){
  .hkh nav a:not(.btn){display:none}
  .hkh .pm{display:block}
  .hkh-soc{display:none}
}
@media(min-width:641px) and (max-width:760px){.hkh .hd{gap:10px}.hkh .w{padding-left:16px;padding-right:16px}.hkh .hl{gap:6px;margin-left:0}}
@media(max-width:640px){
  .hkh .w{padding:0 16px}
  .hkh .hd{height:68px;gap:4px}
  .hkh .hd-logo img{height:26px}
  .hkh nav .btn{padding:0 8px;font-size:18px}
  .hkh .hl{gap:0;margin-left:0}
  .hkh .hl-l,.hkh .hl-w{display:none}
  .hkh .hl-a{justify-content:center}
  .hkh .hl-a svg{width:28px;height:28px}
}
@media(max-width:430px){
  .hkh .hd{flex-wrap:wrap;row-gap:8px;padding-bottom:8px;height:auto;padding-top:8px}
  .hkh nav{order:3;width:100%}
  .hkh nav .btn{width:100%}
  .hkh .pm{margin-left:auto}
}

/* ---------- page ---------- */
.hkx{font:400 19px/1.6 "Source Sans 3",Roboto,sans-serif;color:var(--ink);text-align:left}
.hkx h1,.hkx h2,.hkx h3{font-family:Lora,Georgia,serif;color:var(--g);line-height:1.2;margin:0 0 .45em;font-weight:700;text-transform:none;letter-spacing:0;text-align:inherit}
.hkx h1{font-size:50px}.hkx h2{font-size:36px}.hkx h3{font-size:24px}
.hkx p{margin:0 0 1em;font-size:inherit;line-height:inherit;color:inherit}
.hkx img{max-width:100%}
.hkx a{color:var(--g)}
.hkx section,.hkx .hero{padding:60px 0}
.hkx .cr{background:var(--cr)}
.hkx .gr{background:var(--g);color:#fff}.hkx .gr h2,.hkx .gr h3{color:#fff}
.hkx .center{text-align:center}.hkx .mu{color:var(--mu)}
.hkx .kick{font-family:Lora,Georgia,serif;letter-spacing:.28em;color:var(--c);font-weight:700;font-size:18px;text-transform:uppercase}
.hkx .grid2{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.hkx .grid2>*{min-width:0}
.hkx .card{background:#fff;border:1px solid var(--ln);border-radius:14px;padding:24px}
.hkx .big{width:100%;border-radius:14px;box-shadow:0 10px 26px rgba(0,0,0,.16);display:block}
.hkx .reas{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:8px}
.hkx .reas li{padding-left:30px;position:relative;list-style:none}
.hkx .reas li:before{content:"\2713";position:absolute;left:0;color:var(--g);font-weight:700}
.hkx .strip{display:flex;flex-wrap:wrap;gap:10px 28px;font-weight:700;color:var(--g);margin-top:16px}
.hkx .strip span:before{content:"\2713\00a0";color:var(--g)}
.hkx .pill{display:inline-block;background:#fdf1d6;border:2px solid var(--gold);color:var(--g);font-weight:700;font-size:18px;border-radius:999px;padding:4px 14px}
.hkx .kimp{width:280px;height:280px;border-radius:50%;object-fit:cover;border:8px solid #fff;box-shadow:0 0 0 4px var(--gold),0 8px 20px rgba(0,0,0,.15)}
.hkx .sig{font-family:Lora,Georgia,serif;font-style:italic;font-size:30px;color:var(--g);margin:0 0 18px}
.hkx .hero-in{grid-template-columns:300px 1fr;max-width:1080px;gap:44px}
.hkx .seemore{display:inline-flex;align-items:center;min-height:48px;font-weight:700;font-size:20px;color:var(--g);text-decoration:underline}
/* blog carousel */
.hkx .btrack{display:grid}
.hkx .bslide{grid-area:1/1;visibility:hidden;opacity:0;transition:opacity .4s}
.hkx .bslide.on,.hkx .btrack>.bslide:only-child{visibility:visible;opacity:1}
.hkx .bslide .bimg{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.hkx .bctrl{display:flex;justify-content:center;align-items:center;gap:4px;margin-top:24px}
.hkx .barr,.hkx .bdot{width:44px;height:44px;border:0;background:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0}
.hkx .barr{font-size:34px;color:var(--g);border:2px solid var(--g);border-radius:50%;line-height:1}
.hkx .bdot::before{content:"";width:12px;height:12px;border-radius:50%;border:2px solid var(--g);background:#fff}
.hkx .bdot[aria-current]::before{background:var(--g)}
.hkx .hk-blog-src{display:none}
@media(prefers-reduced-motion:reduce){.hkx .bslide{transition:none}}
/* past kits teaser (home) */
.hkx .pk3{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.hkx .pk3 figure{margin:0;background:#fff;border-radius:12px;padding:8px;border:1px solid var(--ln)}
.hkx .pk3 a{text-decoration:none;display:block}
.hkx .pk3 img{width:100%;aspect-ratio:1;object-fit:contain;display:block}
.hkx .pk3 figcaption{font-weight:700;color:var(--g);text-align:center}
/* design team grid */
.hkx .cg{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.hkx .cg4{grid-template-columns:repeat(4,1fr)}
.hkx .cg figure{margin:0;background:#fff;border:1px solid var(--ln);border-radius:14px;overflow:hidden}
.hkx .cg img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block}
.hkx .cg figcaption{padding:12px 16px;font-weight:700;color:var(--g);font-size:19px}
.hkx .cg a{text-decoration:none;display:block}
.hkx .cg .rd{display:flex;align-items:center;min-height:44px;font-weight:700;color:var(--c);text-decoration:underline;padding:0 16px 12px}
/* More from Hip Kits */
.hkx .grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.hkx .mcard{padding:0;overflow:hidden;display:flex;flex-direction:column}
.hkx .mcard img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;background:#fff;border-bottom:1px solid var(--ln)}
.hkx .mb{padding:20px 20px 24px;display:flex;flex-direction:column;flex:1}
.hkx .mb h3{margin:0 0 8px}
.hkx .mb p{font-size:18px;margin:0 0 18px;flex:1}
.hkx .mb .btn{min-height:48px;align-self:flex-start;white-space:nowrap;padding:0 18px;font-size:18px}
/* past kits page */
.hkx .flab{font-weight:700;font-size:19px;margin:0;display:block}
.hkx .chips{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 18px}
.hkx .chip{min-height:48px;padding:0 18px;border-radius:999px;border:2px solid var(--g);background:#fff;color:var(--g);font:700 18px "Source Sans 3",Roboto,sans-serif;cursor:pointer}
.hkx .chip[aria-pressed=true]{background:var(--g);color:#fff}
.hkx .sel{min-height:48px;font:400 19px "Source Sans 3",Roboto,sans-serif;padding:0 12px;border:2px solid var(--g);border-radius:10px;background:#fff;color:var(--ink);margin:8px 0 18px;min-width:220px}
.hkx .count{font-weight:700;color:var(--g)}
.hkx .kg{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.hkx .kc{background:#fff;border:1px solid var(--ln);border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
.hkx .kc[hidden]{display:none!important}
.hkx .kc img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#fff;padding:8px}
.hkx .kc .b{padding:14px 16px 18px}
.hkx .kc h3{font-size:20px;margin:0 0 4px}
.hkx .kc p{margin:0 0 10px;color:var(--mu)}
.hkx .kc a{display:inline-flex;align-items:center;min-height:44px;font-weight:700;color:var(--g)}
.hkx .more{text-align:center;margin-top:28px}
.hkx .more .btn[hidden]{display:none}
/* phone sticky join bar */
.hkx .sticky{display:none}
@media(max-width:1100px){.hkx .grid4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.hkx .grid4{grid-template-columns:1fr}}
@media(max-width:600px){
  .hkx h1{font-size:34px}.hkx h2{font-size:28px}.hkx h3{font-size:22px}
  .hkx .w{padding:0 16px}
  .hkx section,.hkx .hero{padding:40px 0}
  .hkx .grid2,.hkx .hero-in{grid-template-columns:1fr!important;gap:20px}
  .hkx .btn{width:100%}
  .hkx .mb .btn{width:auto}
  .hkx .kimp{width:180px;height:180px}
  .hkx .strip{flex-direction:column;gap:6px}
  .hkx .kg,.hkx .pk3{grid-template-columns:1fr 1fr;gap:12px}
  .hkx .kc h3{font-size:18px}
  .hkx .chip{padding:0 14px}
  .hkx .cg,.hkx .cg4{grid-template-columns:1fr 1fr;gap:12px}
  .hkx .cg figcaption{font-size:18px;padding:10px}
  .hkx .sticky{display:flex;position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:2px solid var(--g);padding:10px 12px;gap:10px;align-items:center;box-shadow:0 -4px 14px rgba(0,0,0,.15);z-index:1000}
  .hkx .sticky .btn{min-height:56px;font-size:20px;padding:0 16px}
  .hkx .sticky span{font-weight:700;color:var(--g);font-size:18px;white-space:nowrap}
  html.html-hk354 body{padding-bottom:84px}
}
/* HK-354: blog list and blog post pages use the new header; tighten the theme's 70px top padding under it */
html.html-blog-page .master-wrapper-content,html.html-blogpost-page .master-wrapper-content{padding-top:24px}
