.webinars-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

.webinar-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  width: calc(33.333% - 20px); /* Updated: 3 per row with 20px gap */
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.webinar-image img {
  width: 100%;
  height: auto;
  display: block;
}

.webinar-content {
  padding: 20px;
  text-align: left;
}

.webinar-type {
  display: inline-block;
  background: #f1f5ff;
  color: #0045ff;
  font-size: 14px;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.webinar-type.type-institution-spotlight {
    background: #FEEDC8;
    color: #612D10;
}

.webinar-date, .webinar-time {
  font-size: 17px;
  color: #555;
  margin: 18px 0;
}
.webinar-title {
  color: #363B51;
    font-family: "Open Sans", Sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
}

/* .webinar-link {
font-family: "Open Sans", Sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 40px;
} */

.webinar-link {
    /* font-weight: bold; */
    color: #0050d9;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    text-decoration: auto !important;
    margin-bottom: 40px;
    font-size: 20px;
    font-weight: 500;
}


.webinar-link span {
  transition: margin-left 0.3s;
}


/* media-query */

@media (max-width: 1024px) {
  .webinar-card {
    width: calc(50% - 20px); /* 2 per row on tablets */
  }
}

@media (max-width: 600px) {
  .webinar-card {
    width: 100%; /* 1 per row on mobile */
  }
}
/* Mobile slider styles */
@media (max-width: 767px) {

  .webinars-list {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .webinar-card {
    width: 100% !important;
    max-width: 90%;
  }

  .webinar-dots {
  text-align: center;
  margin-top: 15px;
}

  .webinar-dots span {
    display: inline-block;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .webinar-dots span.active {
    background-color: #0050d9;
  }

}
.webinar-date, .webinar-time{
      font-size: 16px;
    font-weight: 400;
    line-height: 24px;
        color: #434A63;
}
div#webinar-slider-1  h3.webinar-title,
div#webinar-slider-1 .webinar-time,
div#webinar-slider-1 .webinar-date{
  margin: 0px !important;
  margin-bottom: 15px !important;
}

div#webinar-slider-1 a.webinar-link {
      padding: 12px 0px 12px 0px;
      margin: 0px !important;
      margin-bottom: 15px !important;
      font-weight: 600! important;
}
div#webinar-slider-1 a.webinar-link:hover {
  transform: scale(0.9);
    fill: #0A5ADA;
    color: #0A5ADA;
}