/* GEMHOOD v3.5.1 — gemstone encyclopedia hero + safe, wrapping navigation cards. */
/* Fix megamenu description overflow everywhere, even when the mega-menu is a flex child. */
.gh25-mega,.gh25-mega-column,.gh25-mega-note {box-sizing:border-box;min-width:0;max-width:100%}
.gh25-mega-note {display:block;width:100%;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;line-height:1.65;padding:15px 16px!important;overflow:hidden}
.gh25-mega-note strong {display:block!important;white-space:normal!important;max-width:100%;margin:0 0 7px!important;line-height:1.4}
.gh25-mega-note p {display:block;white-space:normal!important;overflow-wrap:anywhere;font-size:12px;line-height:1.65;max-width:100%;margin:0!important;color:#61594a}
.gh25-mega-column>a {min-width:0;overflow-wrap:anywhere;white-space:normal!important}
.gh25-mega-column>a i {flex:none}
@media(max-width:820px){.gh25-mega{grid-template-columns:minmax(0,1fr)!important;max-width:calc(100vw - 28px);overflow-x:hidden;gap:14px}.gh25-mega-column{width:100%}}
/* Override the older flat polygon image, preserving the page's existing grid. */
.gh-encyclopedia-hub-v21 .gh351-stage {
  --gh351-gem-glow:rgba(72,202,151,.20);
  position:relative;isolation:isolate;display:block;min-width:0;overflow:hidden;
  min-height:clamp(415px,39vw,600px);
  background:radial-gradient(ellipse at 50% 44%,#205a47 0%,#0b382f 45%,#062821 76%,#03221e 100%);
  color:#f9f1e2;text-align:center;
}
.gh-encyclopedia-hub-v21 .gh351-stage::before,
.gh-encyclopedia-hub-v21 .gh351-stage::after {content:none!important}
.gh351-noise {position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.5;background:radial-gradient(circle at 18% 13%,rgba(220,196,140,.10),transparent 34%),radial-gradient(circle at 83% 78%,rgba(154,218,195,.07),transparent 38%)}
.gh351-orbit {position:absolute;left:50%;top:45%;z-index:0;aspect-ratio:1;border:1px solid rgba(219,193,126,.22);border-radius:50%;pointer-events:none;transform:translate(-50%,-50%)}
.gh351-orbit-one {width:min(81%,480px)}
.gh351-orbit-two {width:min(111%,680px);border-color:rgba(219,193,126,.095)}
.gh351-halo {position:absolute;width:58%;max-width:390px;aspect-ratio:1;left:50%;top:44%;z-index:0;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,var(--gh351-gem-glow) 0%,rgba(255,255,255,.035) 42%,transparent 73%);filter:blur(25px);transition:background 1s ease;pointer-events:none}
.gh351-gem-gallery {position:absolute;inset:14% 4% 19%;z-index:1;overflow:visible;pointer-events:none}
.gh351-gem-slide {position:absolute;inset:0;display:grid;place-items:center;margin:0;opacity:0;visibility:hidden;transform:translateY(16px) scale(.88) rotate(-8deg);transition:opacity 850ms ease,transform 1300ms cubic-bezier(.17,.67,.29,1),visibility 850ms;will-change:opacity,transform}
.gh351-gem-slide.is-active {opacity:1;visibility:visible;transform:translateY(0) scale(1) rotate(0)}
.gh351-gem-slide img {display:block;width:min(79%,430px);height:auto;max-height:100%;object-fit:contain;filter:drop-shadow(0 22px 28px rgba(0,0,0,.38)) drop-shadow(0 0 36px var(--gh351-gem-glow));animation:gh351-gem-float 5.4s ease-in-out infinite alternate}
.gh351-spark {position:absolute;z-index:2;pointer-events:none;color:#e6c78f;font:normal 25px/1 Georgia,serif;text-shadow:0 0 20px rgba(247,226,178,.75);animation:gh351-glint 4s ease-in-out infinite}
.gh351-spark-one{top:24%;left:22%}.gh351-spark-two{top:32%;right:19%;animation-delay:1.35s;font-size:15px}.gh351-spark-three{right:27%;bottom:27%;animation-delay:2.5s;font-size:18px}
.gh351-slide-copy {position:absolute;z-index:3;top:7.5%;left:0;right:0;display:flex;align-items:center;flex-direction:column;gap:4px;pointer-events:none}
.gh351-eyebrow {font-size:10px;font-weight:700;letter-spacing:.24em;color:#dec99c}
.gh351-gem-name{font:400 clamp(26px,3vw,37px)/1.15 'Playfair Display',Georgia,serif;letter-spacing:-.025em;color:#f7eddb}
.gh351-gem-tagline {font:400 11px/1.6 'DM Sans',sans-serif;letter-spacing:.02em;color:#d9e8db}
.gh351-stage-bottom{position:absolute;z-index:4;bottom:20px;left:22px;right:22px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.gh351-stage-label{font:700 9px/1.3 'DM Sans',sans-serif;letter-spacing:.23em;color:#d5c099;white-space:nowrap}
.gh351-controls{display:flex;align-items:center;justify-content:center;gap:11px}
.gh351-dot{display:block;width:17px;height:17px;padding:0!important;border:1px solid transparent!important;border-radius:50%!important;background:transparent!important;position:relative;cursor:pointer;flex:none}
.gh351-dot::before{content:'';display:block;width:6px;height:6px;border-radius:50%;background:#d8c5a6;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);transition:background .2s,transform .2s}
.gh351-dot.is-active{border-color:#ddc795!important}.gh351-dot.is-active::before{background:#fff;transform:translate(-50%,-50%) scale(1.3)}
.gh351-pause{color:#f7edda!important;background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:50%!important;display:grid;place-items:center;width:27px;height:27px;min-height:27px;padding:0!important;font:700 13px/1 Arial,sans-serif;cursor:pointer}
.gh351-pause:hover,.gh351-pause:focus-visible{background:rgba(255,255,255,.17)!important}
.gh351-stage button:focus-visible{outline:2px solid #fff5dc;outline-offset:4px}
@keyframes gh351-gem-float{from{transform:translateY(7px) rotate(-3deg)}to{transform:translateY(-10px) rotate(3deg)}}
@keyframes gh351-glint{0%,100%{opacity:.2;transform:scale(.8)}40%{opacity:1;transform:scale(1.3)}70%{opacity:.4;transform:scale(1)}}
@media(max-width:800px){.gh-encyclopedia-hub-v21 .gh351-stage{min-height:370px}.gh351-gem-gallery{inset:18% 6% 19%}.gh351-gem-slide img{width:min(70%,340px)} }
@media(max-width:520px){.gh-encyclopedia-hub-v21 .gh351-stage{min-height:330px}.gh351-stage-bottom{left:15px;right:15px;bottom:15px}.gh351-stage-label{letter-spacing:.13em;font-size:8px}.gh351-controls{gap:7px}.gh351-gem-gallery{inset:19% 0 21%}.gh351-slide-copy{top:6%}.gh351-gem-name{font-size:28px}}
@media(prefers-reduced-motion:reduce){.gh351-gem-slide,.gh351-halo,.gh351-gem-slide img,.gh351-spark,.gh351-dot::before{animation:none!important;transition:none!important;will-change:auto!important}}
