@import url('https://fonts.googleapis.com/css2?family=Inter:wght@600&display=swap');

.rgw3-widget * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.rgw3-widget {
  background-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.rgw3-widget .rgw3-title {
  width: 100%;
  min-width: 0;
  max-width: min(92vw, 40rem);
  margin-left: auto;
  margin-right: auto;
  /* Dulu 180px — di layar pendek membuat ruang hitam besar; ikut vh dengan batas atas/bawah */
  margin-bottom: clamp(1.25rem, 4vh, 5rem);
  padding: 0 1rem;
  text-align: center;
  font-size: 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #ffffff;
}

.rgw3-widget .rgw3-title h1 {
  margin: 0;
  font: inherit;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
  color: #ffffff;
}

.rgw3-widget .rgw3-canvas-wrap {
  position: relative;
  width: min(92vw, 900px);
  height: min(58vh, 560px);
  max-width: 100%;
  /* Jangan biarkan flex parent (Elementor / .rgw3-widget) menyusutkan area canvas */
  flex-shrink: 0;
  background: transparent;
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.rgw3-widget .rgw3-canvas-wrap:active {
  cursor: grabbing;
}

.rgw3-widget .rgw3-canvas {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  outline: none;
  background: transparent;
}

.rgw3-widget .rgw3-cards-json {
  display: none !important;
}
