/* Hubban Guest — visual refresh, scoped to guest landing only */
body.hubban-guest-page,body.hubban-guest-page .wp-site-blocks,body.hubban-guest-page main,body.hubban-guest-page .wp-block-post-content,body.hubban-guest-page .entry-content{margin:0!important;padding:0!important;width:100%!important;max-width:none!important;background:#fffaf3}
body.hubban-guest-page .wp-block-post-content>*{max-width:none!important;margin-left:0!important;margin-right:0!important}
body.hubban-guest-page .wp-block-post-title,body.hubban-guest-page .entry-title,body.hubban-guest-page header.wp-block-template-part,body.hubban-guest-page footer.wp-block-template-part,body.hubban-guest-page .wp-site-blocks>header,body.hubban-guest-page .wp-site-blocks>footer,body.hubban-guest-page #masthead,body.hubban-guest-page #colophon,body.hubban-guest-page .site-header,body.hubban-guest-page .site-footer{display:none!important}
.hubban-guest{--navy:#0d294e;--gold:#ffb62e;font-family:Arial,Helvetica,sans-serif;color:var(--navy);background:#fffaf4;min-height:100vh;width:100%;overflow:hidden;line-height:1.4;box-sizing:border-box}.hubban-guest *{box-sizing:border-box}.hubban-guest a{text-decoration:none}
.hg-header{height:86px;display:flex;align-items:center;gap:clamp(18px,3vw,48px);padding:0 clamp(22px,3.5vw,65px);background:linear-gradient(95deg,#fffaf3,#f4f0ed 50%,#d9eaff);position:relative;z-index:5}.hg-logo{flex-shrink:0}.hg-logo img{width:156px;max-height:65px;object-fit:contain;display:block}.hg-nav{display:flex;gap:clamp(16px,2.1vw,34px);height:100%;align-items:center;flex:1}.hg-nav a{color:var(--navy);font-size:14px;font-weight:700;white-space:nowrap;position:relative}.hg-nav a.active:after{content:"";position:absolute;height:3px;left:0;right:0;bottom:-17px;background:var(--gold);border-radius:5px}.hg-actions{display:flex;gap:12px;align-items:center}.hg-actions a{color:var(--navy);background:rgba(255,255,255,.9);padding:11px 20px;border-radius:19px;font-weight:800;white-space:nowrap;font-size:18px}.hg-actions .hg-register{background:#ffbd39}.hg-search span{font-size:25px;line-height:0;vertical-align:middle;margin-right:4px}
.hg-hero{height:500px;display:grid;grid-template-columns:44% 56%;background:linear-gradient(105deg,#fffaf0 0%,#fff3d8 43%,#c9e4f9 100%);position:relative}.hg-hero-copy{padding:29px 0 0 clamp(26px,5vw,78px);position:relative;z-index:2}.hg-hero-copy h1{font-size:clamp(39px,3.8vw,62px);letter-spacing:-2px;line-height:1.06;font-weight:900;margin:0 0 15px;color:var(--navy)}.hg-hero-copy h1 em{color:#f8af27;font-style:normal}.hg-hero-copy>p{font-size:17px;line-height:1.6;max-width:510px;color:#4e6074;margin:0}.hg-cta{display:flex;gap:18px;margin-top:25px}.hg-cta a{border-radius:22px;padding:14px 22px;font-weight:800;white-space:nowrap;color:var(--navy);display:flex;align-items:center;justify-content:center;gap:18px}.hg-primary{background:#ffbb38}.hg-secondary{border:1px solid #d6c6aa;background:#fff9ed}.hg-trust{display:flex;gap:20px;margin-top:35px}.hg-trust-item{display:flex;gap:9px;align-items:center;min-width:0}.hg-trust-icon{font-size:31px;color:#a65b17;line-height:1}.hg-trust-item strong,.hg-trust-item small{display:block;white-space:nowrap}.hg-trust-item strong{font-size:12px}.hg-trust-item small{font-size:10px;color:#5a6877;margin-top:3px}.hg-hero-visual{position:relative;min-width:0;overflow:hidden}.hg-hero-visual:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fff2d9 0%,transparent 19%);z-index:1;pointer-events:none}.hg-hero-visual>img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.hg-family-badge{position:absolute;z-index:2;right:24px;bottom:24px;display:flex;gap:12px;align-items:center;background:rgba(255,255,255,.72);border-radius:23px;padding:12px 17px;backdrop-filter:blur(7px);color:#fff;text-shadow:0 1px 5px #345}.hg-family-icon{background:#fff;border-radius:15px;padding:7px;font-size:24px;text-shadow:none}.hg-family-badge span:last-child{font-size:10px}.hg-family-badge strong{font-size:24px;display:block}.hg-family-badge small{font-size:11px;display:block}
.hg-content-section,.hg-why{max-width:1440px;margin:auto;padding:16px clamp(22px,4.5vw,70px) 0}.hg-section-heading{text-align:center;margin:0 0 19px}.hg-section-heading h2{font-size:30px;line-height:1.2;letter-spacing:-.6px;font-weight:900;margin:0 0 6px}.hg-section-heading p{font-size:13px;color:#617187;margin:0}.hg-content-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.hg-content-card{height:195px;border-radius:16px;position:relative;overflow:hidden;padding:22px;color:#fff;isolation:isolate;box-shadow:0 10px 22px #17233a15}.hg-video{background:linear-gradient(120deg,#50b39e,#7ec7b1)}.hg-ebook{background:linear-gradient(120deg,#3f87d0,#75b1e4)}.hg-audio{background:linear-gradient(120deg,#8250bb,#9a73d3)}.hg-comic{background:linear-gradient(120deg,#fb8d32,#ffb05e)}.hg-card-icon{display:block;font-size:31px;line-height:1;margin-bottom:11px;position:relative;z-index:2;color:#fff}.hg-card-copy{position:relative;z-index:2}.hg-card-copy h3{font-size:21px;font-weight:600;margin:0 0 4px}.hg-card-copy p{font-size:12px;line-height:1.45;margin:0}.hg-card-copy a{display:inline-block;margin-top:19px;font-size:12px;font-weight:800;color:#fff}.hg-card-art{position:absolute;right:0;bottom:0;height:100%;width:51%;object-fit:cover;object-position:center;z-index:1;mask-image:linear-gradient(90deg,transparent,#000 28%)}
.hg-why{padding-top:17px;padding-bottom:38px}.hg-why .hg-section-heading{margin-bottom:15px}.hg-why-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.hg-why-grid article{min-height:88px;background:#fff;border:1px solid #f0e5d7;border-radius:15px;padding:16px;display:flex;gap:14px;align-items:center;box-shadow:0 6px 22px #17233a0c}.hg-why-icon{font-size:31px;flex-shrink:0}.hg-why-grid strong,.hg-why-grid small{display:block}.hg-why-grid strong{font-size:12px;margin-bottom:5px}.hg-why-grid small{font-size:10px;line-height:1.5;color:#69788b}
@media(max-width:1190px){.hg-header{gap:18px}.hg-nav{gap:15px}.hg-nav a{font-size:12px}.hg-actions a{font-size:14px;padding:10px 13px}.hg-hero-copy h1{font-size:45px}.hg-trust{gap:10px}.hg-trust-item small{white-space:normal}.hg-content-card{padding:16px}}
@media(max-width:900px){.hg-header{height:auto;min-height:75px;flex-wrap:wrap;padding:13px 22px}.hg-nav{order:3;flex-basis:100%;height:auto;justify-content:center;flex-wrap:wrap;padding:5px 0 10px}.hg-nav a.active:after{bottom:-6px}.hg-actions{margin-left:auto}.hg-hero{height:auto;grid-template-columns:1fr}.hg-hero-copy{padding:36px 28px 22px}.hg-hero-copy h1{font-size:clamp(38px,7vw,62px)}.hg-hero-visual{height:390px}.hg-trust{margin-top:26px;flex-wrap:wrap}.hg-content-grid,.hg-why-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.hg-logo img{width:130px}.hg-actions{gap:5px}.hg-actions a{padding:9px 10px;font-size:12px;border-radius:12px}.hg-search{display:none!important}.hg-nav{gap:15px;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap}.hg-nav a{font-size:11px}.hg-hero-copy{padding:28px 20px 10px}.hg-hero-copy h1{font-size:39px;letter-spacing:-1.5px}.hg-hero-copy>p{font-size:14px}.hg-cta{gap:8px;flex-wrap:wrap}.hg-cta a{font-size:12px;padding:12px 14px}.hg-trust{gap:12px}.hg-trust-item{width:calc(50% - 10px)}.hg-hero-visual{height:280px}.hg-family-badge{right:10px;bottom:10px;padding:7px 10px}.hg-family-badge strong{font-size:17px}.hg-content-grid,.hg-why-grid{grid-template-columns:1fr}.hg-content-card{height:180px}.hg-section-heading h2{font-size:25px}.hg-why-grid article{min-height:80px}}

/* V2: header floating over hero; hero art fully visible; badge and cards corrected */
body.hubban-guest-page .hubban-guest{position:relative;margin-top:0!important}
body.hubban-guest-page .wp-site-blocks,body.hubban-guest-page .wp-block-post-content{padding-top:0!important;margin-block-start:0!important}
.hubban-guest .hg-header{position:absolute;top:0;left:0;right:0;z-index:20;background:transparent!important;box-shadow:none!important}
.hubban-guest .hg-hero{height:590px;display:block;position:relative;overflow:hidden;background:linear-gradient(105deg,#fffaf2 0%,#fff4e2 40%,#d7eafb 100%)}
.hubban-guest .hg-hero-copy{position:relative;z-index:3;width:49%;padding-top:121px;padding-left:clamp(26px,5vw,78px)}
.hubban-guest .hg-hero-visual{position:absolute;right:0;top:0;width:74%;height:100%;overflow:hidden;z-index:1}
.hubban-guest .hg-hero-visual>img{display:block;width:100%;height:100%;object-fit:contain;object-position:right center}
.hubban-guest .hg-hero-visual:before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#fff7e7 0%,rgba(255,247,231,.95) 12%,rgba(255,247,231,.45) 27%,transparent 48%)}
.hubban-guest .hg-family-badge{right:24px;bottom:22px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;min-width:220px;max-width:260px;padding:11px 15px;border-radius:23px;background:rgba(255,255,255,.77);color:#19324d;text-shadow:none;box-shadow:0 5px 20px #12294420}
.hubban-guest .hg-family-icon{display:flex;align-items:center;justify-content:center;flex:0 0 52px;width:52px;height:52px;background:#fff;border-radius:14px;font-size:24px;padding:0;line-height:1}
.hubban-guest .hg-family-text{display:flex;flex-direction:column;align-items:flex-start;min-width:0;line-height:1.2;color:#263e59;text-shadow:none}
.hubban-guest .hg-family-text>span{font-size:11px!important;white-space:nowrap}
.hubban-guest .hg-family-text strong{font-size:25px;line-height:1.1;display:block;color:#17304e;margin:2px 0}
.hubban-guest .hg-family-text small{font-size:11px;display:block;color:#3f546c}
/* Images have their own solid backgrounds; remove the fade/mask completely. */
.hubban-guest .hg-card-art{mask-image:none!important;-webkit-mask-image:none!important;object-fit:cover;object-position:center bottom;width:49%;height:100%;right:0;bottom:0}
.hubban-guest .hg-video{background:#6cc0a8}
.hubban-guest .hg-ebook{background:#528fc9}
.hubban-guest .hg-audio{background:#9060bf}
.hubban-guest .hg-comic{background:#f79b48}
.hubban-guest .hg-card-icon{background:none!important;filter:none!important;text-shadow:none!important}
@media(max-width:1190px){.hubban-guest .hg-hero-copy{width:53%}.hubban-guest .hg-hero-visual{width:70%}}
@media(max-width:900px){.hubban-guest .hg-header{position:relative;background:linear-gradient(90deg,#fffaf2,#e5f1fd)!important}.hubban-guest .hg-hero{height:auto;min-height:0;display:flex;flex-direction:column}.hubban-guest .hg-hero-copy{width:100%;padding:30px 28px 18px}.hubban-guest .hg-hero-visual{position:relative;width:100%;height:410px;top:auto;right:auto}.hubban-guest .hg-hero-visual>img{object-fit:contain;object-position:center}.hubban-guest .hg-hero-visual:before{background:linear-gradient(180deg,#fff7e7 0%,transparent 22%)}.hubban-guest .hg-family-badge{right:20px;bottom:15px}}
@media(max-width:560px){.hubban-guest .hg-hero-copy{padding:27px 20px 12px}.hubban-guest .hg-hero-visual{height:280px}.hubban-guest .hg-family-badge{min-width:0;max-width:200px;right:9px;bottom:9px;gap:8px;padding:8px}.hubban-guest .hg-family-icon{width:38px;height:38px;flex-basis:38px;font-size:18px}.hubban-guest .hg-family-text strong{font-size:19px}.hubban-guest .hg-family-text>span,.hubban-guest .hg-family-text small{font-size:9px!important}}

/* V3 — final targeted fixes, desktop + mobile */
/* Hero image starts at the very top, behind the transparent navigation. */
.hubban-guest .hg-hero-visual>img{object-fit:cover!important;object-position:right center!important}
.hubban-guest .hg-hero-visual{top:0!important}
.hubban-guest .hg-header{background:transparent!important}
/* The family badge is already printed in the hero WebP; never overlay another. */
.hubban-guest .hg-family-badge{display:none!important}
/* Soft edge only at the seam between card background and WebP, no overlay on the character. */
.hubban-guest .hg-card-art{
  width:56%!important;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.35) 10%,#000 26%)!important;
  mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.35) 10%,#000 26%)!important;
}
@media(max-width:900px){
 .hubban-guest .hg-hero-visual>img{object-fit:contain!important;object-position:center center!important}
 .hubban-guest .hg-header{background:linear-gradient(90deg,#fffaf2,#e5f1fd)!important}
}

/* V4 — fix theme top gap, make header and hero share one uninterrupted backdrop. */
body.hubban-guest-page{padding-top:0!important;margin-top:0!important}
body.hubban-guest-page .wp-site-blocks{padding-top:0!important;padding-block-start:0!important;margin-top:0!important}
body.hubban-guest-page .wp-site-blocks>main,
body.hubban-guest-page main.wp-block-group,
body.hubban-guest-page .wp-block-post-content,
body.hubban-guest-page .entry-content{padding-top:0!important;padding-block-start:0!important;margin-top:0!important;margin-block-start:0!important}
body.hubban-guest-page .wp-site-blocks>main>.wp-block-group:first-child{padding-top:0!important;margin-top:0!important}
/* Use a single hero image layer extending beneath the entire navigation. */
@media(min-width:901px){
 .hubban-guest .hg-hero{background:linear-gradient(100deg,#fffaf2 0%,#fff7e9 39%,#d5e9fb 100%)!important}
 .hubban-guest .hg-hero-visual{top:0!important;bottom:0!important;height:100%!important;width:74%!important;right:0!important}
 .hubban-guest .hg-hero-visual>img{object-fit:cover!important;object-position:right center!important}
 .hubban-guest .hg-header{position:absolute!important;top:0!important;left:0!important;right:0!important;background:transparent!important}
 /* The soft wash extends all the way to the top edge, avoiding a visible header stripe. */
 .hubban-guest .hg-hero-visual:before{background:linear-gradient(90deg,#fffaf2 0%,rgba(255,250,242,.98) 7%,rgba(255,250,242,.65) 22%,transparent 43%)!important}
}
/* Full-width soft blending on art so the boundary between image and solid card disappears. */
.hubban-guest .hg-card-art{
 width:64%!important;right:0!important;height:100%!important;
 -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.03) 12%,rgba(0,0,0,.22) 27%,rgba(0,0,0,.70) 52%,#000 75%)!important;
 mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.03) 12%,rgba(0,0,0,.22) 27%,rgba(0,0,0,.70) 52%,#000 75%)!important;
}
/* Existing badge is part of the hero asset; don't render a second one. */
.hubban-guest .hg-family-badge{display:none!important}

/* Transparent 3D characters: no image backgrounds, seams or masking. */
.hubban-guest .hg-content-card.hg-video{background:#61bda8!important}
.hubban-guest .hg-content-card.hg-ebook{background:#5598d5!important}
.hubban-guest .hg-content-card.hg-audio{background:#9261c5!important}
.hubban-guest .hg-content-card.hg-comic{background:#fb9b46!important}
.hubban-guest .hg-card-art{
 width:auto!important;max-width:58%!important;height:99%!important;
 right:0!important;bottom:0!important;object-fit:contain!important;
 object-position:right bottom!important;
 -webkit-mask-image:none!important;mask-image:none!important;
 background:transparent!important;filter:none!important;
}
