/* Homepage uses the same shell > toolbar > glass panel layers
 * as the coral popups. Nexus remains the owner of the selected accent.
 * Existing content, card order, image layers and navigation are preserved. */
html:has(body.home.coralsnexus-active-theme){background:#07090f!important}
body.home.coralsnexus-active-theme{
 background:radial-gradient(ellipse at 50% 0%,color-mix(in srgb,var(--cn-light-color,#24366b) 24%,transparent),transparent 48%),#07090f!important;
}
body.home #corals-nexus-app.cn-public-app{
 --lux-home-text:#f7f5f8;--lux-home-muted:#c9cdd5;--lux-home-line:rgba(212,222,232,.26);--lux-home-gap:clamp(8px,1.7vw,24px);
 /* Lift the selected hue so edge illumination remains visible with deep colors. */
 --lux-home-edge:color-mix(in srgb,var(--cn-light-color) 68%,white);
 /* Diffuse overhead reflection across the header and hero glass. */
 --lux-home-spotlight-color:color-mix(in srgb,var(--cn-light-color) 9%,white);
 --lux-home-spotlight-strength:32%;--lux-home-spotlight-mid:14%;
 --lux-home-spotlight:radial-gradient(ellipse 42% 115% at 42% -14%,color-mix(in srgb,var(--lux-home-spotlight-color) var(--lux-home-spotlight-strength),transparent) 0%,color-mix(in srgb,var(--lux-home-spotlight-color) var(--lux-home-spotlight-mid),transparent) 37%,rgba(255,255,255,.035) 66%,transparent 78%);
 box-sizing:border-box;width:calc(100% - var(--lux-home-gap) - var(--lux-home-gap));max-width:1540px;min-height:calc(100svh - var(--lux-home-gap) - var(--lux-home-gap));margin:var(--lux-home-gap) auto;padding:0!important;
 border:1px solid var(--lux-home-edge);border-radius:clamp(20px,2.2vw,34px);
 /* An opaque final image layer covers the engine's inline background color. */
 background-image:linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.035) 28%,color-mix(in srgb,var(--cn-light-color) 9%,transparent) 72%,rgba(255,255,255,.055)),linear-gradient(#090c12,#090c12)!important;
 color:var(--lux-home-text)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.42),inset 0 -1px 0 rgba(255,255,255,.06),inset 0 0 16px color-mix(in srgb,var(--cn-light-color) 22%,transparent),0 0 2px 1px color-mix(in srgb,var(--lux-home-edge) 62%,transparent),0 0 14px color-mix(in srgb,var(--lux-home-edge) 46%,transparent),0 0 38px color-mix(in srgb,var(--cn-light-color) 76%,transparent),0 34px 110px rgba(0,0,0,.72);
}
body.home #corals-nexus-app.cn-public-app::before,
body.home #corals-nexus-app.cn-public-app::after{border-radius:inherit}
/* Keep header navigation above all panels and allow its menus to open out. */
body.home #corals-nexus-app.cn-public-app>.cn-brandbar{
 box-sizing:border-box;width:100%!important;max-width:100%!important;margin:0!important;min-height:78px;padding:14px clamp(16px,2.4vw,30px)!important;border:0!important;border-bottom:1px solid color-mix(in srgb,var(--cn-light-color) 42%,transparent)!important;border-radius:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0;
 background:var(--lux-home-spotlight),linear-gradient(90deg,color-mix(in srgb,var(--cn-light-color) 24%,transparent),rgba(255,255,255,.055) 46%,color-mix(in srgb,var(--cn-light-color) 13%,transparent))!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 8px 30px rgba(0,0,0,.2)!important;
}
/* Keep the document wrapper unpainted: the extra dark inset frame is removed. */
body.home #corals-nexus-app.cn-public-app>main#content{
 box-sizing:border-box;width:calc(100% - 20px);max-width:none;margin:10px;padding:0;border:0;border-radius:0;min-width:0;
 background:transparent;box-shadow:none;
}
/* The inner gray glass panel contains the hero, collection and care cards. */
body.home #corals-nexus-app.cn-public-app>main#content>.elementor-260{
 box-sizing:border-box;min-width:0;padding:clamp(14px,2vw,30px);border:1px solid color-mix(in srgb,var(--lux-home-edge) 70%,var(--lux-home-line));border-radius:24px;
 background:linear-gradient(135deg,rgba(255,255,255,.065),color-mix(in srgb,var(--cn-light-color) 9%,rgba(255,255,255,.025))),linear-gradient(135deg,color-mix(in srgb,var(--cn-light-color) 12%,#20262e),#1d242d)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.22),inset 0 0 12px color-mix(in srgb,var(--cn-light-color) 14%,transparent),0 0 16px color-mix(in srgb,var(--lux-home-edge) 25%,transparent),0 16px 38px rgba(0,0,0,.12);
}
body.home #corals-nexus-app #content .elementor-element-4178bc4{
 border:1px solid var(--lux-home-line);border-radius:18px;overflow:hidden;box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 10px 26px rgba(0,0,0,.16);
}
body.home #corals-nexus-app #content #lux-hero-glass{
 background:var(--lux-home-spotlight),linear-gradient(135deg,rgba(255,255,255,.065),color-mix(in srgb,var(--cn-light-color) 9%,rgba(255,255,255,.025))),rgba(38,44,52,.84)!important;
 border-color:color-mix(in srgb,var(--cn-light-color) 45%,rgba(212,222,232,.55))!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 0 24px color-mix(in srgb,var(--cn-light-color) 24%,transparent),0 16px 38px rgba(0,0,0,.2)!important;
}
body.home #corals-nexus-app #content>.elementor-260>.cn-native-heading{margin-top:24px;color:var(--lux-home-text)}
body.home #corals-nexus-app #content .cn-native-heading :is(h2,p),
body.home #corals-nexus-app #content .lux-care-intro{color:var(--lux-home-text)!important}
/* The Sun setting uses the popup's lighter gray glass in the same areas. */
html.cn-theme-light body.home #corals-nexus-app.cn-public-app{
 --lux-home-text:#17151c;--lux-home-muted:#414853;--lux-home-line:rgba(39,48,60,.28);--lux-home-spotlight-strength:44%;--lux-home-spotlight-mid:18%;
 background-image:linear-gradient(145deg,rgba(178,184,190,.94),rgba(126,133,140,.88) 48%,color-mix(in srgb,var(--cn-light-color) 18%,transparent)),linear-gradient(#767d84,#767d84)!important;
 box-shadow:inset 0 1px 0 #fff,inset 0 0 16px color-mix(in srgb,var(--cn-light-color) 14%,transparent),0 0 2px 1px color-mix(in srgb,var(--lux-home-edge) 55%,transparent),0 0 14px color-mix(in srgb,var(--lux-home-edge) 36%,transparent),0 0 38px color-mix(in srgb,var(--cn-light-color) 60%,transparent),0 34px 90px rgba(28,32,40,.3);
}
html.cn-theme-light body.home #corals-nexus-app.cn-public-app>.cn-brandbar{
 background:var(--lux-home-spotlight),linear-gradient(90deg,color-mix(in srgb,var(--cn-light-color) 22%,transparent),rgba(154,161,168,.86) 46%,color-mix(in srgb,var(--cn-light-color) 12%,transparent))!important;
}
html.cn-theme-light body.home #corals-nexus-app.cn-public-app>main#content>.elementor-260{
 background:linear-gradient(135deg,rgba(255,255,255,.32),color-mix(in srgb,var(--cn-light-color) 12%,rgba(255,255,255,.2))),linear-gradient(135deg,color-mix(in srgb,var(--cn-light-color) 14%,#d5dce2),#bbc4cd)!important;
}
html.cn-theme-light body.home #corals-nexus-app #content #lux-hero-glass{
 background:var(--lux-home-spotlight),linear-gradient(135deg,rgba(255,255,255,.32),color-mix(in srgb,var(--cn-light-color) 12%,rgba(255,255,255,.2))),rgba(143,153,164,.88)!important;
}
@media(max-width:767px){
 body.home #corals-nexus-app.cn-public-app{--lux-home-gap:6px;border-radius:18px}
 body.home #corals-nexus-app.cn-public-app>.cn-brandbar{padding:8px!important;min-height:68px}
 body.home #corals-nexus-app.cn-public-app>main#content{width:calc(100% - 10px);margin:5px;padding:0;border-radius:0}
 body.home #corals-nexus-app.cn-public-app>main#content>.elementor-260{padding:12px;border-radius:18px}
 body.home #corals-nexus-app #content .elementor-element-4178bc4{border-radius:14px}
}

/* A compact editorial hero: glass copy at left, coral detail at right. */
body.home #corals-nexus-app.cn-public-app{
 --lux-hero-ink:#f7f5f8;--lux-hero-muted:#dbe0e8;
 --lux-hero-accent:color-mix(in srgb,var(--cn-light-color) 26%,white);
 --lux-hero-title-end:color-mix(in srgb,var(--cn-light-color) 48%,white);
}
body.home #corals-nexus-app.cn-public-app>.cn-brandbar{min-height:72px;padding:10px clamp(16px,2.4vw,30px)!important}
body.home #corals-nexus-app #content .elementor-element-4178bc4{
 background:linear-gradient(115deg,#151c24,color-mix(in srgb,var(--cn-light-color) 16%,#141b22))!important;
}
body.home #corals-nexus-app #content .elementor-element-4178bc4>.elementor-background-overlay{
 left:auto!important;right:0!important;width:55%!important;height:100%!important;opacity:1!important;
 background-position:55% 50%!important;background-size:cover!important;
 -webkit-mask-image:linear-gradient(90deg,transparent,#000 26%);mask-image:linear-gradient(90deg,transparent,#000 26%);
}
body.home #corals-nexus-app #content .elementor-element-4178bc4>.elementor-container{min-height:0!important;align-items:center!important}
body.home #corals-nexus-app #content .elementor-element-3554148>.elementor-widget-wrap{
 display:block!important;padding:clamp(22px,3vw,42px)!important;min-width:0;
}
body.home #corals-nexus-app #content #lux-hero-glass{
 width:62%!important;max-width:670px!important;margin:0!important;padding:clamp(20px,2.4vw,32px)!important;
 border-radius:16px!important;text-align:left!important;
 background:var(--lux-home-spotlight),linear-gradient(135deg,rgba(255,255,255,.055),color-mix(in srgb,var(--cn-light-color) 8%,transparent)),rgba(30,36,45,.88)!important;
}
body.home #corals-nexus-app #content #lux-hero-glass>.elementor-container{min-height:0!important;max-width:none!important}
body.home #corals-nexus-app #content #lux-hero-glass .elementor-widget-wrap{display:block!important;padding:0!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body.home #corals-nexus-app #content #lux-hero-glass .elementor-widget{width:100%!important;margin:0!important;padding:0!important;text-align:left!important}
body.home #corals-nexus-app #content #lux-hero-glass .elementor-widget-container{margin:0!important;padding:0!important}
body.home #corals-nexus-app #content #lux-hero-glass .elementor-widget-divider{display:none!important}
body.home #corals-nexus-app #content #lux-hero-glass .elementor-element-e7fd02a .elementor-heading-title{
 margin:0 0 16px!important;color:var(--lux-hero-accent)!important;-webkit-text-fill-color:var(--lux-hero-accent)!important;-webkit-text-stroke:0!important;
 font:600 10px/1.5 "Lux Flow",cursive!important;letter-spacing:.18em!important;text-transform:uppercase!important;text-shadow:none!important;
}
body.home #corals-nexus-app #content #lux-hero-glass .elementor-element-e7fd02a .elementor-heading-title::before{
 content:"";display:block;width:34px;height:2px;margin-bottom:12px;border-radius:2px;background:var(--lux-hero-accent);box-shadow:0 0 12px color-mix(in srgb,var(--cn-light-color) 62%,transparent);
}
body.home #corals-nexus-app #content #lux-hero-glass :is(.elementor-element-fd9a1df,.elementor-element-be52196) .elementor-heading-title{
 display:block;margin:0!important;font-family:"Lux Flow",cursive!important;font-size:clamp(34px,4.6vw,66px)!important;font-weight:700!important;line-height:1.04!important;letter-spacing:-.045em!important;text-transform:none!important;
 color:var(--lux-hero-ink)!important;-webkit-text-fill-color:transparent!important;-webkit-text-stroke:0!important;background-image:linear-gradient(115deg,var(--lux-hero-ink),var(--lux-hero-accent))!important;background-clip:text!important;-webkit-background-clip:text!important;filter:none!important;text-shadow:none!important;
}
body.home #corals-nexus-app #content #lux-hero-glass .elementor-element-be52196 .elementor-heading-title{
 font-style:italic!important;font-weight:400!important;background-image:linear-gradient(115deg,var(--lux-hero-accent),var(--lux-hero-title-end))!important;
}
body.home #corals-nexus-app #content #lux-hero-glass .elementor-element-9d20c08 .elementor-heading-title{
 max-width:42ch;margin:17px 0 0!important;color:var(--lux-hero-muted)!important;-webkit-text-fill-color:var(--lux-hero-muted)!important;-webkit-text-stroke:0!important;
 font:400 clamp(13px,1.4vw,16px)/1.55 "Lux Flow",cursive!important;letter-spacing:0!important;word-spacing:normal!important;text-align:left!important;text-transform:none!important;text-shadow:none!important;
}
body.home #corals-nexus-app #content .elementor-element-9e1e1e0{width:62%!important;margin:14px 0 0!important;text-align:left!important}
body.home #corals-nexus-app #content .elementor-element-9e1e1e0 .elementor-widget-container{margin:0!important;padding:0!important}
body.home #corals-nexus-app #content .elementor-element-9e1e1e0 .elementor-button{
 min-height:42px;padding:12px 20px!important;border-radius:999px!important;font-size:13px!important;font-weight:600!important;line-height:1.2!important;
 color:var(--lux-hero-ink)!important;border:1px solid color-mix(in srgb,var(--lux-hero-accent) 65%,transparent)!important;
 background:color-mix(in srgb,var(--cn-light-color) 22%,#18202a)!important;text-shadow:none!important;
}
html.cn-theme-light body.home #corals-nexus-app.cn-public-app{
 --lux-hero-ink:#191d26;--lux-hero-muted:#343c48;
 --lux-hero-accent:color-mix(in srgb,var(--cn-light-color) 72%,#171b23);
 --lux-hero-title-end:color-mix(in srgb,var(--cn-light-color) 52%,#171b23);
}
html.cn-theme-light body.home #corals-nexus-app #content .elementor-element-4178bc4{
 background:linear-gradient(115deg,#d0d6de,color-mix(in srgb,var(--cn-light-color) 12%,#b8c2cc))!important;
}
html.cn-theme-light body.home #corals-nexus-app #content #lux-hero-glass{
 background:var(--lux-home-spotlight),linear-gradient(135deg,rgba(255,255,255,.32),color-mix(in srgb,var(--cn-light-color) 10%,rgba(255,255,255,.18))),rgba(203,211,220,.94)!important;
}
html.cn-theme-light body.home #corals-nexus-app #content .elementor-element-9e1e1e0 .elementor-button{background:color-mix(in srgb,var(--cn-light-color) 18%,#e9edf2)!important}
@media(max-width:767px){
 body.home #corals-nexus-app.cn-public-app>.cn-brandbar{padding:8px!important;min-height:68px}
 body.home #corals-nexus-app #content .elementor-element-3554148>.elementor-widget-wrap{padding:18px!important}
 body.home #corals-nexus-app #content .elementor-element-4178bc4>.elementor-background-overlay{width:100%!important;opacity:.28!important;-webkit-mask-image:none;mask-image:none}
 body.home #corals-nexus-app #content #lux-hero-glass{width:100%!important;max-width:none!important;margin:0!important;padding:20px!important;border-radius:12px!important}
 body.home #corals-nexus-app #content #lux-hero-glass :is(.elementor-element-fd9a1df,.elementor-element-be52196) .elementor-heading-title{font-size:clamp(32px,7.5vw,48px)!important}
 body.home #corals-nexus-app #content .elementor-element-9e1e1e0{width:100%!important;margin-top:12px!important}
}
