/* ==== 게시판 CTA ==== */
.board-cta{
  position: relative;
  isolation: isolate;
  margin: clamp(1.5rem, 3vw, 2rem) 0;
  padding: 0;                    /* inner handles padding */
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(1200px 200px at 80% -20%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(135deg,
      color-mix(in oklab, var(--primary-color, #0d6efd) 88%, #000 10%),
      color-mix(in oklab, var(--primary-color, #0d6efd) 60%, #000 30%)
    );
  color: #fff;
  box-shadow: 0 20px 50px rgba(13, 110, 253, .18);
}

.board-cta::after{
  /* subtle diagonal shine */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.06), transparent 30% 70%, rgba(255,255,255,.06));
  pointer-events: none;
}

.board-cta__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.25rem, 3.5vw, 2rem) clamp(1.25rem, 4vw, 2.25rem);
}

.board-cta__text h2{
  margin: 0 0 .25rem;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.15;
}
.board-cta__text p{
  margin: 0;
  opacity: .9;
}

/* Button styled to pop on the gradient */
.board-cta__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.95);
  color: color-mix(in oklab, var(--primary-color, #0d6efd) 75%, #0a0a0a 25%);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  transition: transform .08s ease, filter .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.board-cta__btn:hover{
  filter: brightness(.98);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0,0,0,.16);
  border-color: rgba(255,255,255,.5);
}
.board-cta__btn:active{
  transform: translateY(0);
}

/* Responsive: stack on small screens */
@media (max-width: 680px){
  .board-cta__inner{
    flex-direction: column;
    align-items: flex-start;
  }
  .board-cta__btn{
    width: 100%;
  }
}
