/* New guide content inherits the approved glass container and site colors. */
.lux-reef-hub .lux-education-copy{max-width:none}
.lux-reef-hub [hidden]{display:none!important}
.lux-reef-hub .lux-reef-topics{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 22px}
.lux-reef-hub .lux-reef-topic,.lux-reef-hub .lux-reef-filter button{display:inline-block;border:1px solid currentColor;border-radius:999px;padding:10px 16px;background:transparent;color:inherit;font:inherit;font-weight:650;line-height:1.3;cursor:pointer;text-decoration:none}
.lux-reef-hub .lux-reef-topic[aria-current],.lux-reef-hub .lux-reef-filter button[aria-pressed=true]{background:rgba(150,180,160,.28);box-shadow:inset 0 0 0 1px currentColor}
.lux-reef-hub a:focus-visible,.lux-reef-hub button:focus-visible,.lux-reef-hub summary:focus-visible{outline:3px solid currentColor;outline-offset:4px}
.lux-reef-hub .lux-reef-topic-panel{margin:0 0 28px}
.lux-reef-hub .lux-reef-topic-panel>h3{margin-top:0}
.lux-reef-hub .lux-reef-topic-panel>p,.lux-reef-hub .lux-reef-note{max-width:80ch}
.lux-reef-hub .lux-reef-filter{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:20px 0}
.lux-reef-hub .lux-reef-filter>span{width:100%;font-weight:650}
.lux-reef-hub .lux-reef-filter button{font-size:14px;padding:8px 13px}
.lux-reef-hub .lux-reef-cards,.lux-reef-hub .lux-reef-zones,.lux-reef-hub .lux-reef-guide-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.lux-reef-hub .lux-reef-card,.lux-reef-hub .lux-reef-plan,.lux-reef-hub .lux-reef-zones>div,.lux-reef-hub .lux-reef-guide-groups>div{min-width:0;border:1px solid rgba(180,195,185,.65);border-radius:18px;background:rgba(135,150,140,.09);padding:18px;align-self:start}
.lux-reef-hub summary{cursor:pointer;line-height:1.4}
.lux-reef-hub .lux-reef-card summary strong{font-size:20px}
.lux-reef-hub .lux-reef-card summary span,.lux-reef-hub .lux-reef-card summary small{display:block;margin-top:7px;font-size:14px}
.lux-reef-hub .lux-reef-card summary span{font-style:italic}
.lux-reef-hub .lux-reef-card-body{margin-top:16px}
.lux-reef-hub dt{font-weight:700;margin-top:13px}
.lux-reef-hub dd{margin:3px 0 0}
.lux-reef-hub .lux-reef-note,.lux-reef-hub .lux-reef-sources{font-size:14px;line-height:1.7}
.lux-reef-hub .lux-reef-sources{margin-top:20px}
.lux-reef-hub .lux-reef-plan{margin:12px 0}
.lux-reef-hub .lux-reef-plan summary{font-weight:700}
.lux-reef-hub .lux-reef-plan p{margin:14px 0 0}
.lux-reef-hub .lux-reef-zones p{margin:10px 0 0;font-size:15px}
.lux-reef-hub h4{margin:0 0 12px;color:inherit;font-size:20px}
@media(max-width:640px){.lux-reef-hub .lux-reef-cards,.lux-reef-hub .lux-reef-zones,.lux-reef-hub .lux-reef-guide-groups{grid-template-columns:1fr}.lux-reef-hub .lux-reef-topic{padding:9px 12px;font-size:14px}.lux-reef-hub .lux-reef-card{padding:15px}}

/* Two shopping cards, then six care cards in two rows of three. */
#corals-nexus-app #lux-category-grid.lux-water-ready>.elementor-container{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}
#corals-nexus-app #lux-category-grid.lux-water-ready>.elementor-container>.lux-category-card{grid-column:span 2;width:100%;min-width:0}
#corals-nexus-app #lux-category-grid.lux-water-ready>.elementor-container>.lux-category-wysiwyg,
#corals-nexus-app #lux-category-grid.lux-water-ready>.elementor-container>.lux-category-water{grid-column:span 3}
@media(max-width:767px){
 #corals-nexus-app #lux-category-grid.lux-water-ready>.elementor-container{grid-template-columns:minmax(0,1fr)}
 #corals-nexus-app #lux-category-grid.lux-water-ready>.elementor-container>.lux-category-card{grid-column:1/-1}
}

.lux-reef-hub .lux-reef-topics .lux-reef-topic{color:var(--cn-text,#f5f6f7)!important;text-decoration:none!important}
#corals-nexus-app #lux-category-grid>.elementor-container>.lux-care-intro{grid-column:1/-1;flex:0 0 100%;min-width:0;padding:10px 4px;color:inherit}
#corals-nexus-app .lux-care-intro p{margin:0;line-height:1.6}
#corals-nexus-app .lux-care-intro .lux-care-guide-link{color:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px}
#corals-nexus-app .lux-care-intro .lux-care-guide-link:focus-visible{outline:2px solid currentColor;outline-offset:3px}

/* Topic-specific educational imagery; original Elementor images remain available. */
#corals-nexus-app #lux-category-grid .lux-browse-lighting>.elementor-widget-wrap{background-image:url("../images/care-categories/lighting.jpg")!important;background-position:50% 70%;background-size:auto 72%;background-color:#000}
#corals-nexus-app #lux-category-grid .lux-browse-flow>.elementor-widget-wrap{background-image:url("../images/care-categories/flow.jpg")!important;background-position:center;background-size:cover}
#corals-nexus-app #lux-category-grid .lux-browse-growth>.elementor-widget-wrap{background-image:url("../images/care-categories/growth.jpg")!important;background-position:center;background-size:cover}
#corals-nexus-app #lux-category-grid .lux-browse-foods>.elementor-widget-wrap{background-image:url("../images/care-categories/foods.jpg")!important;background-position:center;background-size:cover}
#corals-nexus-app #lux-category-grid .lux-browse-habitats>.elementor-widget-wrap{background-image:url("../images/care-categories/habitats.jpg")!important;background-position:center;background-size:cover}
#corals-nexus-app #lux-category-grid .lux-browse-tankmates>.elementor-widget-wrap{background-image:url("../images/care-categories/tankmates.jpg")!important;background-position:center;background-size:cover}

/* A soft overhead spotlight passes through the Lighting card's glass. */
#corals-nexus-app #lux-category-grid .lux-browse-lighting>.elementor-widget-wrap::before{
 background:radial-gradient(ellipse at 58% 35%,rgba(31,76,94,.06) 0%,rgba(31,76,94,.18) 28%,rgba(8,10,14,.76) 88%);
}
#corals-nexus-app #lux-category-grid .lux-browse-lighting>.elementor-widget-wrap::after{
 inset:0;width:100%;height:100%;border-radius:inherit;transform:none;filter:blur(2px);opacity:1;pointer-events:none;
 background:radial-gradient(ellipse 18% 5% at 58% 0%,rgba(238,253,255,.9),rgba(200,237,255,.3) 45%,transparent 100%),conic-gradient(from 155deg at 58% -8%,transparent 0deg,rgba(211,243,255,.13) 10deg,rgba(224,247,255,.25) 25deg,rgba(211,243,255,.13) 40deg,transparent 50deg);
 -webkit-mask-image:linear-gradient(#000 0%,#000 40%,transparent 92%);mask-image:linear-gradient(#000 0%,#000 40%,transparent 92%);
}

/* Six distinct care colors inherit the existing glass and button treatments. */
#corals-nexus-app #lux-category-grid .lux-browse-lighting{--lux-menu-accent:#2d9c96}
#corals-nexus-app #lux-category-grid .lux-browse-flow{--lux-menu-accent:#427ce0}
#corals-nexus-app #lux-category-grid .lux-browse-growth{--lux-menu-accent:#9360d0}
#corals-nexus-app #lux-category-grid .lux-browse-foods{--lux-menu-accent:#b5822f}
#corals-nexus-app #lux-category-grid .lux-browse-habitats{--lux-menu-accent:#4a9b60}
#corals-nexus-app #lux-category-grid .lux-browse-tankmates{--lux-menu-accent:#c05a7a}
#corals-nexus-app #lux-category-grid .lux-category-card[class*="lux-browse-"]:is(:hover,:focus-within){filter:brightness(1.14);border-color:color-mix(in srgb,var(--lux-menu-accent) 65%,white)}
#corals-nexus-app #lux-category-grid .lux-category-card[class*="lux-browse-"] .elementor-button:is(:hover,:focus-visible){background:color-mix(in srgb,var(--lux-menu-accent) 55%,#20242b)!important}
