:host {
  display: block;
}

.resource-meta {
  display: flex;
  flex-direction: row;
  letter-spacing: var(--letter-spacing-5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.resource-meta .type {
  font-weight: 500;
  font-size: 10px;
  color: var(--c-carbon-900);
  text-transform: uppercase;
  margin-right: 24px;
}
@media (max-width: 768px) {
  .resource-meta .type {
    margin-right: 0;
  }
}
.resource-meta .tags {
  color: var(--c-indigo-600);
  font-size: 10px;
  text-transform: uppercase;
}
.resource-meta .tags span {
  display: inline-block;
}
.resource-meta .tags .sep {
  display: inline-block;
  height: 11px;
  width: 1px;
  margin: 0 6px -2px;
  background: var(--c-indigo-300);
}
@media (max-width: 768px) {
  .resource-meta {
    flex-direction: column;
    gap: 8px;
  }
}

.resource-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.resource-card a {
  color: var(--c-carbon-900);
}
.resource-card h1, .resource-card h2, .resource-card h3, .resource-card h4, .resource-card h5 {
  margin-top: 0;
}
.resource-card p {
  color: var(--c-indigo-900);
  font-size: 16px;
  line-height: 160%;
}
.resource-card .resource-meta {
  margin-bottom: 12px;
}
.resource-card__content {
  flex: 1;
}
.resource-card--meta-top .resource-meta {
  margin-bottom: 24px;
}
.resource-card__image {
  display: block;
  overflow: hidden;
  margin-bottom: 24px;
  line-height: 0;
}
.resource-card__featured-image {
  max-width: 100%;
  transition: 200ms transform cubic-bezier(0.32, 0.72, 0, 1);
}
.resource-card__featured-image:hover {
  transform: scale(1.05);
}
.resource-card--ad {
  background: var(--c-indigo-200);
  padding: 30px;
}

.resource-author-item .resource-author {
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 8px;
}
.resource-author-item .author-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.resource-author-item .author-avatar {
  max-height: 32px;
  border-radius: 100%;
}
.resource-author-item .author-name {
  font-size: 14px;
  color: var(--c-carbon-900);
}
.resource-author-item .author-title {
  font-size: 12px;
  color: var(--c-indigo-600);
}
.resource-author-item--single-line .author-info {
  display: block;
  line-height: 32px;
}
.resource-author-item--single-line .author-info .author-name {
  display: inline-block;
  vertical-align: middle;
  font-size: 16px;
  color: var(--c-indigo-700);
}
.resource-author-item--single-line .author-info .author-name:after {
  content: ", ";
}
.resource-author-item--single-line .author-info .author-title {
  display: inline-block;
  vertical-align: middle;
  font-size: 16px;
  margin-left: 2px;
  color: var(--c-indigo-700);
}