/* @override 
	https://dev.eydoa.com/wp-content/themes/astra-child/home-orbit.css?* */

.orbit-wrapper {
  position: relative;
  width: 870px;
  margin: 0 auto;
  gap: 0;
  padding: 0;
  color: #dfcfbf;  overflow: hidden; 
}
.orbit-image img { display: block; width: 100%; height: auto; }
.orbit-circle { fill:var(--black); stroke: var(--grey); stroke-width :1px !important; }
.orbit-line { fill:var(--grey);  }

/* les 5 textes, empilés au centre du cercle intérieur */
.orbit-wrapper > .orbit-text {
  position: absolute !important;
  left: 49.32%;
  top: 52%;
  width: 28% !important;
  transform: translate(-50%, -50%);
  align-items: center;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
  z-index: 1;
  background-color: var(--black) ;
}
.orbit-wrapper > #orbit-text0 { opacity: 1; }

/* couche des zones de survol */
.orbit-hotspots {
  position: absolute !important;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.hotspot {
  position: absolute;
  left: var(--x);
  margin-top: var(--y);
  width: 8.8%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  outline: none;
  transition: background .3s, box-shadow .3s;
  z-index: 1000;
}
.hotspot:is(:hover, :focus) {
  background: rgba(223, 207, 191, .12);
}
.h1 { --x: 11.74%; --y: 33.65%; }
.h2 { --x: 34.12%; --y: 11.94%; }
.h3 { --x: 65.58%; --y: 11.92%; }
.h4 { --x: 88.27%; --y: 35.04%; }

/* changement de texte */
.orbit-wrapper:has(.hotspot:is(:hover, :focus)) #orbit-text0 { opacity: 0; }
.orbit-wrapper:has(.h1:is(:hover, :focus)) #orbit-text1,
.orbit-wrapper:has(.h2:is(:hover, :focus)) #orbit-text2,
.orbit-wrapper:has(.h3:is(:hover, :focus)) #orbit-text3,
.orbit-wrapper:has(.h4:is(:hover, :focus)) #orbit-text4 { opacity: 1; }