| /** |
| * RelatedPosts Component Styles |
| * Grid of related posts shown at the bottom of blog post pages. |
| */ |
| |
| .relatedPosts { |
| padding: var(--section-spacing-sm) 0; |
| margin-top: var(--section-spacing-xs); |
| border-top: 1px solid var(--ai-border-light); |
| background: var(--ai-bg-secondary); |
| } |
| |
| .relatedPosts__title { |
| font-size: 2.4rem; |
| font-weight: 700; |
| color: var(--ai-text-primary); |
| margin: 0 0 var(--ai-spacing-xl) 0; |
| } |
| |
| .relatedPosts__grid { |
| display: grid; |
| grid-template-columns: repeat(3, 1fr); |
| gap: var(--ai-spacing-xl); |
| } |
| |
| @media (max-width: 992px) { |
| .relatedPosts__grid { |
| grid-template-columns: repeat(2, 1fr); |
| } |
| } |
| |
| @media (max-width: 600px) { |
| .relatedPosts__grid { |
| grid-template-columns: 1fr; |
| gap: var(--ai-spacing-lg); |
| } |
| |
| .relatedPosts__title { |
| font-size: 2rem; |
| } |
| } |