#podcasts,
.podcastHead {
  width: 83.3%;
  max-width: 1440px;
  margin: 0 auto;
}

.podcast-image-format--1by1 {
  display: block;
  width: 180px;
  height: 180px !important;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.podcast-image-format--1by1>div:not(.play-icon) {
  display: block;
  width: 180px;
  height: 180px !important;
  position: absolute;
  z-index: 0;
  /* top: 50%;
  transform: translateY(-50%); */

}

.podcast-image-format--1by1>img:not(.play-icon)[src^="https://img.youtube.com"] {
  transform: translateY(-50%) scale(1.05);
}

.podcastHead {
  margin-top: 40px;
  font-size: 52px;
  font-weight: 350;
  margin-bottom: 24px;
}

#podcasts {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 32% 32% 32%;
  column-gap: 24px;
  row-gap: 24px;
  /* flex-wrap: wrap; */
}

.podcasts__item {
  /* padding: 10px; */
  box-sizing: border-box;
  flex: 0 0 33%;
  display: flex;
}

.podcasts-item__image-wrapper {
  flex: 0 0 40%;
  height: 180px;
}

.podcasts-item__content-wrapper {
  padding: 0px 12px 24px 24px;
}

.podcasts-item__meta {
  /* display: grid; */
  align-items: center;
  text-align: center;
  /* grid-template-columns: repeat(5,max-content); */
  column-gap: 4px;
  row-gap: 4px;
  display: flex;
  /* justify-content: space-between; */
  flex-wrap: wrap;
}

/* .podcasts-item__image {
  margin-bottom: 15px;
} */

.podcasts-item image {
  display: block;
  width: 100%;
}

.podcasts-item__title {
  color: var(--color-text-primary);
  font-size: 16px;
  display: block;
  font-style: var(--font-preset-h300-style);
  line-height: 150%;
  font-weight: 350;
  letter-spacing: var(--font-preset-h300-spacing);
  margin-bottom: 8px;
}

.podcasts-item__description,
.podcasts-item__primaryTopic,
.podcasts-item__duration,
.podcasts-item__separator {
  color: var(--color-text-primary);
  font-size: var(--font-preset-body-l-size);
  font-style: var(--font-preset-body-l-style);
  line-height: var(--font-preset-body-l-line-height);
  font-weight: var(--font-preset-body-l-weight);
  letter-spacing: var(--font-preset-body-l-spacing);
}

.podcasts-item__duration,
.podcasts-item__releaseDate,
.podcasts-item__separator {
  color: #606162;
  font-size: 12px;
  width: max-content;
}

.podcasts-item__releaseDate {
  color: #727272;
  display: inline-block;
}

.podcasts-item__primaryTopic {
  display: inline-block;
  color: #0076d5;
  border: 1px solid #0076d5;
  padding: 3px 6px;
  border-radius: 3px;
}

.podcasts-item:hover {
  text-decoration: none;
}

a.podcasts-item__title:focus,
a.podcast-image-format--1by1.podcasts-item__image:focus {
  outline: 2px solid #0076D5;
  border-radius: 4px;
  /* outline-offset: 4px; */
}

.podcast-external-icon {
  position: absolute;
  width: 24px;
  height: 24px;
  top: 12px;
  right: 12px;

}

a.podcasts-item__title:hover, a.podcasts-item__title.hover {
  text-decoration: underline !important;
  text-decoration-color: #C3C4C5 !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 5px !important;
  /* color: #0051af; */
}

.podcasts-item__episode {
  color: #0076D5;
  font-weight: 600;
  font-size: 12px;
  width: max-content;
}

.viewAllLink {
  display: block;
  cursor: pointer;
  padding: 16px 24px;
  width: max-content;
  margin: 0 auto;
  border: 1px solid #0076D5;
  border-radius: 48px;
  text-align: center;
  color: #0076D5;
  font-weight: 400;
  font-style: normal;
  font-size: 1em;
  margin-top: 24px;
}

.viewAllLink>div {
  height: 24px;
  line-height: 24px;
  overflow: hidden;
}

.upperLinkText,
.lowerLinkText {
  transition: 0.2s ease-in-out;
}

.viewAllLink:hover, .viewAllLink:focus{
  border: 1px solid #0060AD;
  /* margin-bottom: -2px; */
}
.viewAllLink:hover .upperLinkText, .viewAllLink:focus .upperLinkText {
  transition: 0.2s ease-in-out;
  transform: translateY(-24px);
  color: #0060AD;
}
.viewAllLink:hover .lowerLinkText, .viewAllLink:focus .lowerLinkText {
  transition: 0.2s ease-in-out;
  transform: translateY(-24px);
  color: #0060AD;
}



/* Media Queries */

@media screen and (min-width: 768px) and (max-width:1024px) {
  #podcasts {
    grid-template-columns: 48% 48%;
  }

  .podcasts-item__image-wrapper {
    flex: 0 0 32%;
  }

  .podcast-image-format--1by1 {
    width: 120px;
    height: 120px !important;
  }

  .podcast-image-format--1by1>div:not(.play-icon) {
    width: 120px;
    height: 120px !important;
  }
}

@media screen and (max-width: 767px) {
  #podcasts {
    display: block;
  }

  #podcasts,
  .podcastHead {
    width: 100%;
    padding: 0px 16px;
  }

  .podcastHead {
    font-size: 32px;
  }

  .podcasts__item {
    margin-bottom: 24px;
  }

  .podcasts-item__image-wrapper {
    flex: 0 0 0%;
    height: 120px;
  }

  .podcast-image-format--1by1 {
    width: 120px;
    height: 120px !important;
  }

  .podcast-image-format--1by1>div:not(.play-icon) {
    width: 120px;
    height: 120px !important;
  }

  .viewAllLink {
    width: calc(100% - 32px);
  }
}