/* ══ SECTION ════════════════════════════════ */
.block-aiworkshop {
  background: #06040e;
  width: 100%;
  padding: 0 54px;
}
.block-aiworkshop::before {
  content: '';
  position: absolute;
  inset: 0px; 
  z-index: 0;
  pointer-events: none;

  background:
    radial-gradient(
      ellipse 45% 60% at 50% 50%, 
      rgba(192,109,234,0.55) 0%, 
      rgba(192,109,234,0.3) 30%, 
      rgba(192,109,234,0.12) 50%, 
      transparent 70%
    ),
    radial-gradient(
      ellipse 30% 40% at 30% 40%, 
      rgba(192,109,234,0.15) 0%, 
      transparent 60%
    ),
    radial-gradient(
      ellipse 30% 40% at 70% 60%, 
      rgba(192,109,234,0.15) 0%, 
      transparent 60%
    );

  filter: blur(50px);
}
 
/* Noise grain overlay */
.block-aiworkshop::after {
  content: '';
  position: absolute;
  inset: 0;
  /* background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)' opacity='0.038'/%3E%3C/svg%3E"); */
  z-index: 0;
  pointer-events: none;
}
/* ══ GRID ═══════════════════════════════════ */
.block-aiworkshop-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* ══ LEFT CARD ══════════════════════════════ */
.block-aiworkshop-left {
  display: flex;
}
.block-aiworkshop-card {
  position: relative;
  width: 100%;
  border-radius: 28px;
  padding: 48px 44px 52px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;

  /* 💧 GLASS BASE */
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);

  /* 💧 ขอบขาวชัด */
  border: 1px solid rgba(255,255,255,0.25);

  /* 💧 depth + glow */
  box-shadow:
    0 85px 80px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.85),
    inset 0 -1px 0 rgba(255,255,255,0.08);
}
.block-aiworkshop-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;


  mix-blend-mode: overlay;
}
.block-aiworkshop-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  /* 💧 rim light รอบกล่อง */
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.25),
    inset 0 0 20px rgba(255,255,255,0.08);

  z-index: 1;
}

.block-aiworkshop-card > * {
  position: relative;
  z-index: 1;
}

/* ── Title ─────────────────────────────────── */
.block-aiworkshop-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
}

/* ── Steps list ────────────────────────────── */
.block-aiworkshop-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.block-aiworkshop-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background .2s;
  cursor: default;
  border-radius: 8px;
  padding-left: 8px;
  padding-right: 8px;
  margin: 0 -8px;
}
.block-aiworkshop-step:first-child {
  padding-top: 0;
}
.block-aiworkshop-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.block-aiworkshop-step:hover {
  background: rgba(255,255,255,0.05);
}

/* Bullet dot */
.step-num {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  margin-top: 7px;
}

/* Step text */
.step-text {
  font-weight: 400;
  color: rgba(230,220,255,0.85);
  line-height: 1.5;
  transition: color .2s;
}
.block-aiworkshop-step:hover .step-text {
  color: #fff;
}

.step-text strong {
  color: #fff;
  font-weight: 500;
}

/* ══ RIGHT IMAGE ════════════════════════════ */
.block-aiworkshop-right {
  display: flex;
}

.block-aiworkshop-imagewrap {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

.block-aiworkshop-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 8s ease;
}


/* Subtle vignette on image */
.block-aiworkshop-imagewrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(40,10,90,0.15) 0%, transparent 50%),
    linear-gradient(to top, rgba(6,4,14,0.25) 0%, transparent 40%);
  pointer-events: none;
}

/* ══ RESPONSIVE ═════════════════════════════ */
@media (max-width: 768px) {
  .block-aiworkshop-inner {
    grid-template-columns: 1fr;
  }
  .block-aiworkshop-imagewrap {
    height: 280px !important;
  }
  .block-aiworkshop-card {
    padding: 36px 28px 40px;
  }
}