.Flow_tes_gem_section {
  width: 100%;
  background-color: rgba(8, 8, 8, 1);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.Flow_tes_gem_canvas {
  position: relative;
  width:95%;
  container-type: inline-size;
  background-color: rgba(8, 8, 8, 1);
  overflow: hidden;
}

.Flow_tes_gem_svg_desktop {
  position: relative;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.Flow_tes_gem_svg_mobile {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.Flow_tes_gem_title {
  position: absolute;
  left: 44.53%;
  top: 5.55%;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4.58cqw;
  font-weight: 500;
  color: #f3f3ef;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  z-index: 3;
}

.Flow_tes_gem_title_accent {
  font-style: italic;
  font-weight: 400;
  color: #d19328;
  margin-left: 0.35cqw;
}

.Flow_tes_gem_star {
  position: absolute;
  width: 2.35cqw;
  height: 2.35cqw;
  transform: translate(-50%, -50%);
  z-index: 4;
  pointer-events: none;
}

.Flow_tes_gem_star svg {
  width: 100%;
  height: 100%;
  display: block;
}

.Flow_tes_gem_star_d1 {
  left: 2%;
  top: 20.92%;
}

.Flow_tes_gem_star_d2 {
  left: 72.07%;
  top: 38.61%;
}

.Flow_tes_gem_star_d3 {
  left: 98.5%;
  top: 50.4%;
}

.Flow_tes_gem_star_d4 {
  left: 42.58%;
  top: 84.62%;
}

.Flow_tes_gem_star_m1,
.Flow_tes_gem_star_m2,
.Flow_tes_gem_star_m3,
.Flow_tes_gem_star_m4 {
  display: none;
}

.Flow_tes_gem_card {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
}

.Flow_tes_gem_card_d1 {
  left: 3.84%;
  top: 19.3%;
  width: 29.8%;
  text-align: left;
}

.Flow_tes_gem_card_d2 {
  right: 4%;
  top: 48.78%;
  width: 35.8%;
  text-align: right;
  align-items: flex-end;
}

.Flow_tes_gem_card_d3 {
  left: 11.72%;
  top: 61.27%;
  width: 39.6%;
  text-align: left;
}

.Flow_tes_gem_card_m1,
.Flow_tes_gem_card_m2 {
  display: none;
}

.Flow_tes_gem_author {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 2.15cqw;
  color: #efefef;
  line-height: 1.2;
  margin-bottom: 1.25cqw;
  letter-spacing: 0.01em;
}

.Flow_tes_gem_desc {
  font-family: "Inter", sans-serif;
  font-size: 1.31cqw;
  font-weight: 300;
  color: rgba(242, 242, 242, 0.9);
  line-height: 1.56;
  letter-spacing: 0.005em;
  overflow-y: auto;
  padding-right: 0.4cqw;
  scrollbar-width: thin;
  scrollbar-color: rgba(209, 147, 40, 0.45) transparent;
}

.Flow_tes_gem_card_d1 .Flow_tes_gem_desc {
  max-height: 8.6cqw;
}

.Flow_tes_gem_card_d2 .Flow_tes_gem_desc {
  max-height: 16.8cqw;
  padding-right: 0;
  padding-left: 0.4cqw;
}

.Flow_tes_gem_card_d3 .Flow_tes_gem_desc {
  max-height: 14.5cqw;
}

.Flow_tes_gem_desc::-webkit-scrollbar {
  width: 3px;
}

.Flow_tes_gem_desc::-webkit-scrollbar-track {
  background: transparent;
}

.Flow_tes_gem_desc::-webkit-scrollbar-thumb {
  background: rgba(209, 147, 40, 0.45);
  border-radius: 3px;
}

.Flow_tes_gem_video_link {
  position: absolute;
  z-index: 6;
  display: block;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.Flow_tes_gem_video_link:hover {
  transform: scale(1.015);
}

.Flow_tes_gem_video_d1 {
  left: 58.01%;
  top: 17.57%;
  width: 26.56%;
  height: 16.65%;
}

.Flow_tes_gem_video_m2 {
  display: none;
}

.Flow_tes_gem_video_border {
  position: absolute;
  inset: -0.58cqw;
  width: calc(100% + 1.16cqw);
  height: calc(100% + 1.16cqw);
  pointer-events: none;
  z-index: 3;
}

.Flow_tes_gem_video_box {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 0.95cqw;
  overflow: hidden;
  background: #141f14;
  z-index: 2;
}

.Flow_tes_gem_inline_video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(0.96) brightness(0.92);
}

.Flow_tes_gem_video_d1 .Flow_tes_gem_video_box::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 82% 16%,
      rgba(235, 240, 245, 0.34) 0%,
      rgba(210, 220, 225, 0.14) 36%,
      transparent 65%
    ),
    linear-gradient(
      180deg,
      rgba(180, 195, 185, 0.14) 0%,
      rgba(16, 28, 16, 0.18) 100%
    );
  pointer-events: none;
}

.Flow_tes_gem_google_btn {
  position: absolute;
  left: 79.88%;
  top: 81.85%;
  width: 15.82%;
  z-index: 6;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
	background-color:rgba(8, 8, 8, 1);
}

.Flow_tes_gem_google_btn:hover {
  transform: translateY(-2px);
  opacity: 0.94;
}

.Flow_tes_gem_google_svg {
  width: 100%;
  height: auto;
  display: block;
}

.Flow_tes_gem_google_bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55cqw;
  margin-top: -0.25cqw;
  width: 100%;
}

.Flow_tes_gem_google_text {
  font-family: "Inter", sans-serif;
  font-size: 1.76cqw;
  font-weight: 500;
  color: #8a8f8c;
  letter-spacing: 0.01em;
  line-height: 1;
}

.Flow_tes_gem_google_stars {
  display: flex;
  align-items: center;
  gap: 0.22cqw;
}

.Flow_tes_gem_google_stars svg {
  width: 1.05cqw;
  height: 1.05cqw;
  fill: #fbbc04;
  display: block;
}

.Flow_tes_gem_modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
}

.Flow_tes_gem_modal.Flow_tes_gem_active {
  opacity: 1;
  pointer-events: auto;
}

.Flow_tes_gem_modal_inner {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  background: #080a08;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  overflow: hidden;
}

.Flow_tes_gem_modal_inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.Flow_tes_gem_modal_close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

@media (max-width: 768px) {
  .Flow_tes_gem_canvas {
    max-width: 440px;
    aspect-ratio: 247 / 865;
    border-top: 4px solid #1b3816;
  }

  .Flow_tes_gem_svg_desktop {
    display: none;
  }

  .Flow_tes_gem_svg_mobile {
    display: block;
  }

  .Flow_tes_gem_title {
    left: 31.58%;
    top: 7.63%;
    font-size: 7.45cqw;
  }

  .Flow_tes_gem_star_d1,
  .Flow_tes_gem_star_d2,
  .Flow_tes_gem_star_d3,
  .Flow_tes_gem_star_d4 {
    display: none;
  }

  .Flow_tes_gem_star_m1,
  .Flow_tes_gem_star_m2,
  .Flow_tes_gem_star_m3,
  .Flow_tes_gem_star_m4 {
    display: block;
    width: 6.8cqw;
    height: 6.8cqw;
  }

  .Flow_tes_gem_star_m1 {
    left: 16.19%;
    top: 16.88%;
  }

  .Flow_tes_gem_star_m2 {
    left: 20.65%;
    top: 47.63%;
  }

  .Flow_tes_gem_star_m3 {
    left: 91.9%;
    top: 56.18%;
  }

  .Flow_tes_gem_star_m4 {
    left: 19.43%;
    top: 84.39%;
  }

  .Flow_tes_gem_card_d1,
  .Flow_tes_gem_card_d2,
  .Flow_tes_gem_card_d3 {
    display: none;
  }

  .Flow_tes_gem_card_m1 {
    display: flex;
    left: 21.86%;
    top: 15.84%;
    width: 72.87%;
    text-align: left;
  }

  .Flow_tes_gem_card_m2 {
    display: flex;
    right: 12.96%;
    top: 54.1%;
    width: 72.87%;
    text-align: right;
    align-items: flex-end;
  }

  .Flow_tes_gem_author {
    font-size: 5.55cqw;
    margin-bottom: 3.4cqw;
  }

  .Flow_tes_gem_desc {
    font-size: 3.55cqw;
    line-height: 1.54;
    max-height: 17.2cqw;
  }

  .Flow_tes_gem_video_d1 {
    left: 16.19%;
    top: 30.87%;
    width: 68.42%;
    height: 11.56%;
  }

  .Flow_tes_gem_video_m2 {
    display: block;
    left: 24.7%;
    top: 69.94%;
    width: 68.02%;
    height: 11.56%;
  }

  .Flow_tes_gem_video_border {
    inset: -1.45cqw;
    width: calc(100% + 2.9cqw);
    height: calc(100% + 2.9cqw);
  }

  .Flow_tes_gem_video_box {
    border-radius: 3.1cqw;
  }

  .Flow_tes_gem_google_btn {
    left: 34.41%;
    top: 87.63%;
    width: 31.58%;
  }

  .Flow_tes_gem_google_text {
    font-size: 3.6cqw;
  }

  .Flow_tes_gem_google_stars {
    gap: 0.45cqw;
  }

  .Flow_tes_gem_google_stars svg {
    width: 2.15cqw;
    height: 2.15cqw;
  }
}
