/* =========================================
   Product Working Video Section Styles
   ========================================= */

.ay-work-videos {
  background-color: #ffffff;
  padding: 40px 0;
}

/* Red Centered Title with underline bar */
.ay-work-heading {
  color: #45ab49;
  font-weight: 700;
  font-size: 26px;
  margin-bottom: 8px;
  text-align: center;
}

.ay-work-heading-line {
  width: 60px;
  height: 3px;
  background-color: #45ab49;
  margin: 0 auto 30px auto;
  border-radius: 2px;
}

/* Explicit Spacing Between Rows and Columns */
.ay-video-col {
  padding-left: 14px;
  padding-right: 14px;
  margin-bottom: 28px; /* Solves the no vertical gap issue */
}

/* Attractive Card Wrapper with 16:9 Aspect Ratio */
.ay-yt-frame-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  border: 1px solid #eaeaea;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ay-yt-frame-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

/* Responsive Iframe fill */
.ay-yt-frame-card iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

