/**
 *
 * Cabecalho do artigo: titulo, linha fina e a variacao de podcast.
 * handler: pp-article-header
 * deps: pp-layout
 * version: 1.0.0
 *
 * @package theme-single
 *
 */

.article-header {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: var(--space-4);
  color: var(--color-text);
  overflow-wrap: break-word;
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-surface-muted);
}

.article-header__category {
  justify-self: start;
  margin-bottom: calc(var(--space-2) * -1);
  color: var(--color-accent);
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: var(--line-tight);
  text-transform: uppercase;
}

.article-header h1 {
  margin: 0;
  color: var(--color-text-strong);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.15;
}

.article-header p {
  margin: 0;
  color: var(--color-text);
  font-size: var(--text-lg);
  line-height: var(--line-base);
}

.article-header--podcast .article-header__podcast-title {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  min-width: 0;
}

.article-header--podcast .article-header__podcast-icon {
  width: 56px;
  height: auto;
  flex: 0 0 auto;
}

.article-header--podcast h1 {
  min-width: 0;
}

@media (min-width: 768px) {
  .article-header {
    gap: var(--space-5);
  }

  .article-header__category {
    margin-bottom: calc(var(--space-3) * -1);
  }

  .article-header h1 {
    font-size: var(--text-3xl);
  }

  .article-header--podcast .article-header__podcast-title {
    gap: var(--space-5);
  }

  .article-header--podcast .article-header__podcast-icon {
    width: 79px;
  }
}

@media (min-width: 1280px) {
  .article-header h1 {
    font-size: 42px;
  }
}
