.latest-webinars-paragraph {
  margin-bottom: unset !important;
}

.webinars-content{
  margin-left: auto;
  margin-right: auto;
  padding: 5em 0px;
}

.latest-webinars-paragraph {
  background-color: #E9ECEF;
}

.latest-webinars__title {
  margin-bottom: 1.5em !important;
  font-size: 27px;
  color: #000;
  font-weight: 600;
}

.latest-webinars__list {
  display: grid;
  /* Two columns, responsive */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2em; /* Adjust gap */
  margin-bottom: 2em;
}

/* Ensure only 2 columns on wider screens if needed */
@media (min-width: 768px) {
  .latest-webinars__list {
    grid-template-columns: repeat(2, 1fr); /* Force 2 columns */
  }
}

.latest-webinars__item {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
}

.button.button--primary svg{
  vertical-align: middle;
  width: 16px;
  height: auto;
  stroke: #fff;
  margin-left: 0.2em;
}

.latest-webinars__item-content {
  padding: 1.5em; /* Adjust padding */
  display: flex;
  flex-direction: column;
  gap: 1em; /* Spacing between date, title, button */
  flex: 0 0 50%;
}

.latest-webinars__item-meta {
}

.latest-webinars__item-summary{
  margin:unset;
}

.latest-webinars__item-date {
  font-size: 10px;
  color: #AAAAAA;
  display: flex;
  align-items: center;
  gap:
          0.4em;
  padding: 5px 10px;
  background-color: #F8F9FA;
  font-weight: 600;
  max-width: 130px;
}

@media (min-width: 36rem) {
  .latest-webinars__item-date {
    font-size: 10px;
  }
}

@media (min-width: 48rem) {
  .latest-webinars__item-date {
    font-size: 10px;
  }
}

@media (min-width: 62rem) {
  .latest-webinars__item-date {
    font-size: 10px;
  }
}

@media (min-width: 75rem) {
  .latest-webinars__item-date {
    font-size: 12px;
  }
}

@media (min-width: 87.5rem) {
  .latest-webinars__item-date {
    font-size: 12px;
  }
}

.latest-webinars__clock-icon {
  width: 17px;
  height: 17px;
  color: #828282;
  flex-shrink: 0;
}

.latest-webinars__item-title {
  font-size: 16px;
  margin: 0;
  line-height: 1.4;
  color: #000000;
  font-weight: 600;
  font-family: Poppins;
}

.latest-webinars__item-cta {
  margin-top: auto; /* Push button to the bottom */
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  align-items: center;
}

.latest-webinars__item-cta .button--view-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background-color: #95c11f; /* Green */
  color: #fff;
  font-family: Poppins;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  border: 1px solid;
  cursor: pointer;
  text-decoration: none;
  padding: 0.6em 1.2em; /* Adjust padding */
  /*min-width: 198px;*/
}
.latest-webinars__item-cta .button--view-more:hover {
  background-color: #ffffff !important;
  border-color: #95c11f !important;
  color: #95c11f !important;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 1px solid;
  font-size: 16px;
  /*min-width: 198px;*/
}

.latest-webinars__item-cta .button.button--replay {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.6em 1.2em; /* Adjust padding */
  background-color: #95c11f; /* Green color from image */
  color: #FFF; /* Dark text on green button */
  text-decoration: none;
  border: 1px solid;
  cursor: pointer;
  font-size: 16px;
  line-height: 1; /* Ensure icon aligns well */
  font-family: Poppins;
  font-weight: 600;
}
.latest-webinars__item-cta .button.button--replay:hover {
  background-color: #ffffff !important;
  border-color: #95c11f !important;
  color: #95c11f !important;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 1px solid;
  font-size: 16px;
}

.latest-webinars__play-icon {
  width: 10px; /* Adjust icon size */
  height: auto;
  color: #fff; /* Match button text color */
}

.latest-webinars__item-image {
  line-height: 0;
  height: 100%;
  padding: 1.5em;
  max-width: 300px;
  flex: 0 0 50%;
}

.latest-webinars__item-image img {
  display: block;
  width: 100%;
  height: 100% !important; /* Fill the container */
  object-fit: cover; /* Cover the area without distortion */
  object-position: center;
}

.latest-webinars__cta {
  text-align: right;
  margin-top: 1.5em;
}

.latest-webinars__cta .button.button--primary {
  display: inline-block;
  padding: 0.8em 1.5em;
  background-color: #0052cc; /* Blue color from image */
  color: white;
  text-decoration: none;
  border: 1px solid;
  cursor: pointer;
  font-size: 16px;
}
.latest-webinars__cta .button.button--primary:hover {
  background-color: #ffffff !important;
  border-color: #2a55ca !important;
  color: #2a55ca !important;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 1px solid;
  font-size: 16px;
}
