
.course-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
  text-align: center;
  margin-top: 25px;
}
.course-card:hover {
  transform: translateY(-5px);
}
.course-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.course-info {
  padding: 15px;
}
.course-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
}
.course-info p {
    display: inline-block;
    margin-bottom: 0px !important;
}
.course-info p a {
    text-align: left;
    display: inline-block;
    font-weight: bold;
    font-size: 16px;
    
}
.course-price {
  font-size: 15px;
  color: #A90503;
  font-weight: 600;
}

.single-course img {
  border-radius: 10px;
}

.course-sidebar ul li {
  margin-bottom: 8px;
  font-size: 15px;
  color: white !important;
}
.single-course-wrapper
{
    margin-top: 40px;
}
.single-course img {
  border-radius: 0px !important;
  max-width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center center;
}
.single-course h1 {
    font-size: 40px;
    font-family: 'times new roman';
}
.course-sidebar ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.course-sidebar ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
  font-size: 15px;
  color: #333;
}

.course-sidebar ul li:last-child {
  border-bottom: none;
}

.course-sidebar ul li strong {
  flex: 0 0 35%; /* Label column width */
  font-weight: 400;
  color: #000;
}

.course-sidebar ul li span {
  flex: 1;
  text-align: left;
  color: #000;
  font-weight: bold;
  display: block;
  white-space: nowrap;
}

.course-sidebar {
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .course-sidebar ul li {
    flex-direction: column;
    align-items: flex-start;
  }
  .course-sidebar ul li span {
    text-align: left;
    margin-top: 5px;
  }
}

/* Handles both image and video equally inside cards */
.course-card .media-wrapper {
  display: block;
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid #eee;
}

/* For both <img> and <video> inside the wrapper */
.course-card .course-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
  outline: none;
}

/* Remove browser default controls spacing */
.course-card video::-webkit-media-controls {
  display: none !important;
}

/* Keep same hover animation */
.course-card:hover {
  transform: translateY(-5px);
}

/* Ensure video doesn’t stretch weirdly on mobile */
@media (max-width: 768px) {
  .course-card .media-wrapper {
    height: 180px;
  }
}


