.ds-podcast-card {
  align-items: flex-start;
  background: var(--ds-color-london-100);
  color: var(--ds-color-london-10);
  display: flex;
  flex-direction: column;
  position: relative;
}

.ds-podcast-card__image {
  border-radius: 0.25rem;
  display: block;
  width: 100%;
}

.ds-podcast-card__subheadline {
  color: var(--ds-color-london-5);
  font-family: var(--ds-type-system-sans);
  font-size: var(--ds-type-scale--1);
  font-variant: small-caps no-common-ligatures no-discretionary-ligatures no-historical-ligatures no-contextual;
  line-height: 1.07;
  margin: 0 0 0.125rem 0;
  padding: 0.375rem 0 0 0;
  text-transform: lowercase;
}

.ds-podcast-card__subheadline--bold {
  font-weight: 600;
}

.ds-podcast-card__headline {
  color: var(--ds-color-london-5);
  display: block;
  font-family: var(--ds-type-system-sans-lining);
  font-size: var(--ds-type-scale-2);
  font-weight: 700;
  line-height: var(--ds-type-leading-upper);
  outline: none;
  padding-top: 0.125rem;
  text-decoration: none;
}

.ds-podcast-card__headline--clickable {
  &:hover {
    color: var(--ds-color-chicago-30);
    text-decoration: underline;
  }
  &:focus {
    background-color: var(--ds-color-chicago-95);
    color: var(--ds-color-london-5);
  }
  &:active {
    color: var(--ds-color-chicago-30);
  }

  /* this pseudo element places a layer on top
  of the entire card to make it clickable */
  &::before {
    bottom: 0;
    content: '';
    cursor: pointer;
    display: block;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
  }
}

@media screen and (--ds-viewport-min-large) {
  .ds-podcast-card__headline--large {
    font-size: var(--ds-type-scale-3);
  }
}

.ds-podcast-card__description {
  flex-grow: 1;
  font-family: var(--ds-type-system-serif);
  font-size: var(--ds-type-scale-0);
  line-height: var(--ds-type-leading-lower);
  padding-top: 0.25rem;
}

.ds-podcast-card__cta {
  margin-top: 1.3125rem;
  position: relative;
  z-index: 2;
}
