/* ratgeber/share-blogs.css */

.article-hero {
    padding: 180px 24px 80px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.article-category {
    color: var(--neon);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 16px;
}

.article-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.article-meta .separator {
    color: rgba(255, 255, 255, 0.2);
}

.article-meta a.author-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-meta a.author-link:hover {
    color: var(--neon);
}

.article-content {
    /* Set width up to 80vw but max out around 1000px */
    width: 80vw;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px 120px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h2 {
    color: white;
    margin: 40px 0 20px;
    font-family: var(--font-heading);
    font-size: 1.6rem; /* Reduced from default h2 size */
}

.article-content p {
    margin-bottom: 24px;
    text-align: justify;
    hyphens: auto;
    max-width: none;
}

@media (max-width: 768px) {
    .article-content {
        width: 100%;
        padding: 0 20px 80px;
    }
}

/* Code Block Styles */
.article-content pre {
    background: #111111;
    border-radius: 8px;
    padding: 40px 20px 20px 20px;
    overflow-x: auto;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.95rem;
    color: #e6e6e6;
    border: 1px solid rgba(255,255,255,0.15);
    margin: 32px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    position: relative;
    line-height: 1.6;
}

/* Mac-like window controls for code blocks */
.article-content pre::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 16px;
    display: block;
    width: 54px;
    height: 12px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="54" height="12"><circle cx="6" cy="6" r="5.5" fill="%23ff5f56" stroke="%23e0443e" stroke-width="0.5"/><circle cx="27" cy="6" r="5.5" fill="%23ffbd2e" stroke="%23dea123" stroke-width="0.5"/><circle cx="48" cy="6" r="5.5" fill="%2327c93f" stroke="%231aab29" stroke-width="0.5"/></svg>') no-repeat;
}

.article-content code {
    font-family: inherit;
    color: inherit;
}

/* In-line code */
.article-content p code, .article-content li code {
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--neon, #44d6a5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
