[data-component-id="avchildcare:resource_download_card"] {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  width: 100%;

  padding: 16px;
  border-radius: 24px;
  background: var(--background-tertiary);

  & .resource-download-card__banner {
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    flex: 1;
  }

  & .resource-download-card__media {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 333 / 102;
    object-fit: cover;
    object-position: center;
  }

  & .resource-download-card__media--video {
    border: 0;
  }

  & .resource-download-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    color: var(--text-secondary);
  }

  & .resource-download-card__text {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  & .resource-download-card__title {
    margin: 0;
    color: var(--text-primary);
    font-weight: 800;
  }

  & .resource-download-card__description {
    & :is(p, ul, ol) {
      margin: 0 0 0.5em;
    }

    & :last-child {
      margin-bottom: 0;
    }
  }

  & .resource-download-card__cta {
    align-self: flex-start;
    flex-shrink: 0;
  }

  & .btn--primary {
    width: 100%;
  }

  @media (min-width: 1080px) {

    flex-direction: row;
    height: 100%;
    align-items: stretch;
    max-width: 646px;
    width: 100%;
    padding: 20px;

    & .resource-download-card__text {
      padding: 20px 0 0 0;
    }

    & .resource-download-card__media {
      aspect-ratio: 285 / 220;
    }
  }
}