/* Pure-CSS microphone illustration for Canto (voice isn't a physical
   instrument shape, so a mic-on-a-stand with animated sound-wave rings
   stands in for it) — same layered-shapes, no-image approach as the
   other course pages. */

.cssvoice-wrap {
  width: 200px;
  max-width: 100%;
  margin: 40px auto 0;
}

.cssvoice {
  position: relative;
  width: 200px;
  height: 340px;
}

@media (max-width: 767px) {
  .cssvoice-wrap {
    transform: scale(0.8);
    transform-origin: top center;
    margin-top: 10px;
  }
}

.cssvoice__mic {
  position: absolute;
  top: 0;
  left: 50%;
  width: 70px;
  height: 70px;
  margin-left: -35px;
  z-index: 3;
}

.cssvoice__mic-head {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(160deg, #cfd4d8, #7d868c);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.2);
}

.cssvoice__mic-grille {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background-image: radial-gradient(#4b5257 2.5px, transparent 2.5px);
  background-size: 10px 10px;
  background-position: 2px 2px;
  opacity: 0.8;
}

.cssvoice__mic-body {
  position: absolute;
  top: 60px;
  left: 50%;
  width: 30px;
  height: 60px;
  margin-left: -15px;
  background: linear-gradient(90deg, #7d868c 0%, #cfd4d8 45%, #7d868c 100%);
  border-radius: 0 0 10px 10px;
  z-index: 2;
}

.cssvoice__stand-rod {
  position: absolute;
  top: 118px;
  left: 50%;
  width: 6px;
  height: 170px;
  margin-left: -3px;
  background: linear-gradient(90deg, #3a3d40, #6b7278, #3a3d40);
  z-index: 1;
}

.cssvoice__stand-base {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 130px;
  height: 16px;
  margin-left: -65px;
  background: linear-gradient(180deg, #4a4e52, #222527);
  border-radius: 50%;
}

/* Sound-wave rings, staggered so they pulse outward one after another */
.cssvoice__wave {
  position: absolute;
  top: 35px;
  left: 50%;
  width: 70px;
  height: 70px;
  margin-left: -35px;
  margin-top: -35px;
  border-radius: 50%;
  border: 3px solid #0fcfdc;
  opacity: 0;
  animation: cssvoice-pulse 3s ease-out infinite;
}

.cssvoice__wave--1 { animation-delay: 0s; }
.cssvoice__wave--2 { animation-delay: 1s; }
.cssvoice__wave--3 { animation-delay: 2s; }

@keyframes cssvoice-pulse {
  0% { transform: scale(1); opacity: 0.65; }
  100% { transform: scale(2.4); opacity: 0; }
}
