/* doctorVideos.css */

.doctor-video-section {
  width: 100%;
  padding:;
  background-color: #f9f9f9;
}
/* @media screen and (min-width: 768px) {
  .doctor-video-section {
    display: none;
  }
} */

.doctor-video-section h1 {
  font-size: 1.45rem;
  color: #802a8f;
  font-weight: 800;
  line-height: 1.12;
}
@media screen and (min-width: 768px) {
  .doctor-video-section h1 {
    font-size: 1rem;
  }
}

.doctor-video-section h1 span {
  font-weight: 600;
}

/* Videos container */
.doctor-video-section__videos-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.5rem;
}
@media screen and (min-width: 768px) {
  .doctor-video-section__videos-container {
  }
}

/* Individual video box */
.doctor-video-section__video-box {
  position: relative;
  height: 4.5rem;
  width: 8.1rem;
  background-color: #000;
  border-radius: 0.18rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.doctor-video-section__video-box:hover {
  /* transform: translateY(-6px); */
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

/* Iframe styling */
.doctor-video-section__video-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .doctor-video-section {
    padding: 40px 20px;
  }

  .doctor-video-section h1 {
    font-size: 28px;
  }
}

@media (max-width: 414px) {
  .doctor-video-section h1 {
    font-size: 1.45rem;
  }
}



@media screen and (min-width:768px){
  .doctor-video-section{
    display: none;
  }
}

.doctor-video-section {
  width: 100%;
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.doctor-video-section h1 {
  font-size: 1.45rem;
  color: #802a8f;
  font-weight: 800;
  line-height: 1.12;
}

.doctor-video-section h1 span {
  font-weight: 600;
}

.doctor-video-section__videos-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.5rem;
}

.doctor-video-section__video-box {
  position: relative;
  height: 4.5rem;
  width: 8.1rem;
  border-radius: 0.18rem;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}

.doctor-video-section__video-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.doctor-video-section__video-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Desktop hidden (as per your existing logic) */
@media screen and (min-width: 768px) {
  .doctor-video-section {
    display: none;
  }
}
