/* Skip Link (Accessibility) */
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    z-index: 10000;
}

.skip-link:focus {
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    top: 0;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 10px;
}

/* Blog List Styles */
.blog-header {
    padding-top: 120px;
    padding-bottom: 40px;
    text-align: center;
}

.blog-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 80px 20px;
}

.post-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.post-item {
    background: var(--card-bg, #fff); /* Fallback in case not defined */
    border: 1px solid var(--card-border, rgba(255,255,255,0.12));
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.post-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.post-item h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.post-item h2 a {
    color: var(--text-main, #e5e7eb);
    text-decoration: none;
}

.post-item h2 a:hover {
    color: var(--primary, #0056b3);
}

.post-meta {
    color: var(--text-muted, #666);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Article Styles */
.article-header {
    padding-top: 120px;
    padding-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.article-meta {
    color: var(--text-muted, #666);
}

.article-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px 80px 20px;
    line-height: 1.7;
    font-size: 1.05rem;
    color: var(--text-main, #e5e7eb);
}

.article-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 2rem 0;
}

.source-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: -0.5rem;
}
