/* ============================
   Gregynog – Video page styling
   ============================ */

/* Outer content area for video pages */
.bodyboxnew .content .content {
  max-width: 900px;
  margin: 0 auto 32px;
  text-align: center;
}

/* Main title and performer name */
.bodyboxnew .content #title h3 {
  font-size: 1.8rem;
  line-height: 1.3;
  margin: 18px 0 10px;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bodyboxnew .content .content > h3 {
  font-size: 1.4rem;
  margin: 6px 0 4px;
  color: #f6f1c6;
}

/* "Watch Video" heading */
.bodyboxnew .content .content h3:nth-of-type(2) {
  font-size: 1.2rem;
  margin-top: 18px;
  color: #e3ecff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Subtitle (the white quote line) */
.bodyboxnew .content .white {
  margin: 4px 0 10px;
  font-size: 0.95rem;
  opacity: 0.95;
}

/* ---- Video card + responsive embed ---- */

.videobox {
  position: relative;
  max-width: 900px;
  margin: 20px auto 28px;
  background: radial-gradient(circle at 0% 0%, #222c5b, #11182f 55%, #0a1024);
  border-radius: 24px;
  padding: 14px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

/* Gradient ring on hover */
.videobox::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(120deg, #e6c76f, rgba(230, 199, 111, 0)) border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.videobox:hover::before {
  opacity: 0.8;
}

/* 16:9 responsive wrapper for the iframe */
.videobox iframe {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;                     /* override inline height */
  border: 0;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transform: translateZ(0);         /* smoother scaling */
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Slight zoom on hover */
.videobox:hover iframe {
  transform: scale(1.01);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.6);
}

/* ---- "Return to Winners" button tweaks ---- */

.bodyboxnew .content .buttonlink {
  border-radius: 999px;
  padding: 10px 26px;
  font-size: 0.95rem;
  margin-bottom: 24px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.bodyboxnew .content .buttonlink:hover,
.bodyboxnew .content .buttonlink:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  filter: brightness(1.03);
}

/* ---- Responsive spacing tweaks ---- */

@media (max-width: 768px) {
  .bodyboxnew .content .content {
    padding: 0 12px;
  }

  .videobox {
    margin: 16px auto 24px;
    padding: 10px;
    border-radius: 18px;
  }

  .videobox iframe {
    border-radius: 14px;
  }

  .bodyboxnew .content #title h3 {
    font-size: 1.4rem;
  }

  .bodyboxnew .content .content > h3 {
    font-size: 1.2rem;
  }
}
