/* Idea Card */
.idea-cards-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px;
}

.idea-card {
  background-color: #f9f9f9;
  /* border: 1px solid #ddd; */
  /* border-radius: 8px; */
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.idea-card:hover {
  transform: translateY(-5px);
}

.idea-card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.idea-card-title {
  font-size: 1.2rem;
  margin: 10px;
  font-weight: bold;
}

.idea-card-body {
  font-size: 1rem;
  margin: 10px;
  color: #555;
}

.idea-card a {
  text-decoration: none;
  color: inherit;
}

@media (min-width: 1200px) {
  .idea-cards-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .idea-cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .idea-cards-container {
    grid-template-columns: 1fr;
  }
}

.card-3col {
  margin: 20px 0px;
}

.wwu-card h2.title, .wwu-card {
  color: #fff !important;
}

#cardOne {
  background-color: var(--showcase-sec);

}

#cardTwo {
  background-color: var(--showcase-ter);
}

#cardThree {
  background-color: var(--showcase-pri);
}

.wwu-card a:visited {
  color: #fff;
}

.card-4col {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 20px;
}

.wwu-card {
  flex: 1 1 calc(25% - 20px);
  max-width: 260px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .wwu-card {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .wwu-card {
    flex: 1 1 100%;
  }
}

/* Speaker Card Styles */
.speaker-card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 20px 0;
}

.speaker-card {
  flex: 1 1 calc(25% - 20px);
  max-width: 300px;
  text-align: center;
}

.speaker-card-wrap {
  padding: 10px;
  /* border-radius: 8px; */
  overflow: hidden;
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease, box-shadow 0.3s ease;

}

.speaker-card-wrap:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.speaker-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  /* border-radius: 4px; */
}

.speaker-title {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px;

}
.speaker-card a{
  text-decoration: none !important;
}

.speaker-body {
  font-size: 14px;
  margin-bottom: 10px;
  text-decoration: none !important;

}
.video-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin: 60px 20px;
}

.video-card {
  background: white;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  padding: .8rem;
}

.video-card:hover {
  transform: translateY(-5px);
  border: 2px solid;
  border-color: var(--showcase-ter);
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-card .title {
  padding: 10px 0;
  font-size: 1.2em;
  font-weight: bold;
  text-align: left;
  color: #333;
}
.video-card small p{
  padding: 0px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .speaker-card {
    flex: 1 1 calc(50% - 20px);
  }
  .video-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    margin: 0;
  }
  .video-card {
    width: 90%;
  }

}

@media (max-width: 580px) {
  .speaker-card {
    flex: 1 1 100%;
  }
}

