/* Custom article page styles */

article#pg-article-custom {
  background: var(--bg);
  color: var(--text);
  padding: var(--2xl) 0 6rem;

  .article-header {
    padding-bottom: var(--md);
  }

  h1 {
    font-size: 3.5rem;
    font-weight: var(--bold);
    color: var(--text);
  }

  .article-meta {
    display: flex;
    gap: var(--md);
    font-size: var(--small);
    color: var(--text-3);
  }

  .article-date {
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .author {
    color: var(--text-3);
  }

  .intro {
    font-size: var(--medium);
    font-style: italic;
    color: var(--text);
  }

  .hero-image {
  }

  .hero-image img {
    width: 100%;
    max-height: 500px;
    max-width: 1200px;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: var(--radius);
  }

  .article-content {
    font-size: var(--body);
  }

  .article-content h2 {
    font-size: var(--h2);
    font-weight: var(--bold);
    color: var(--text);
  }

  .article-content p {
    color: var(--text-2);
  }

  .article-content a {
    color: var(--accent);
    text-decoration: none;
    font-weight: var(--bold);
  }

  .article-content a:hover {
    text-decoration: underline;
  }

  .article-footer {
    padding-top: var(--lg);
    border-top: 1px solid var(--border);
    display: flex;
    gap: var(--md);
    align-items: center;
    justify-content: center;
  }

  /* Responsive */
  @media (max-width: 768px) {
    padding: var(--lg) 0 var(--2xl);

    h1 {
      font-size: 2.25rem;
    }

    .article-header {
    }

    .intro {
      font-size: var(--body);
    }

    .hero-image {
    }

    .article-content h2 {
      font-size: var(--h3);
    }

    .article-content p {
    }

    .article-footer {
    }
  }

  @media (max-width: 480px) {
    padding: var(--md) 0 var(--xl);

    h1 {
      font-size: 1.875rem;
    }

    .article-header {
    }

    .intro {
    }

    .hero-image {
    }

    .article-content h2 {
      font-size: 1.375rem;
    }

    .article-footer {
      flex-direction: column;
      align-items: stretch;
    }

    .article-footer .button {
      width: 100%;
      text-align: center;
    }
  }
}
