/* Post Detail Css Code */

.post-detail {
    padding-top: var(--space-5);
    padding-bottom: var(--space-7);
}

.post-detail .layout-sidebar {
    align-items: start;
    gap: var(--space-4);
}

/* Sticky için gerekli küçük müdahale */
.post-detail .layout-aside {
    align-self: start;
}

.post-article-box {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: var(--space-5);
}

.post-header {
    margin-bottom: var(--space-5);
}

.post-title {
    font-size: clamp(1.8rem, 1.5rem + 0.8vw, 2.1rem);
    line-height: 1.25;
    margin-bottom: var(--space-3);
    letter-spacing: -0.02em;
}

.post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2);
    font-size: 1rem;
    color: var(--color-text-muted);
}

.post-meta-item {
    color: var(--color-text);
}

.post-meta-separator {
    color: var(--color-text-muted);
    user-select: none;
}

.post-image {
    margin-bottom: var(--space-5);
}

.post-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-sm);
}

.post-content {
    color: var(--color-text);
}

.post-content > * + * {
    margin-top: var(--space-4);
}

.post-content p {
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
}

.post-content h2 {
    font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.5rem);
    line-height: 1.35;
    margin-top: var(--space-5);
}

.post-content blockquote {
    margin-top: var(--space-5);
    padding: var(--space-4);
    border-left: 3px solid var(--color-primary);
    background-color: var(--color-surface-alt);
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    line-height: 1.8;
    font-weight: 600;
    color: var(--color-heading);
}

.layout-aside.js-sticky-aside {
    position: relative;
}

.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.post-sidebar.is-fixed {
    position: fixed;
    width: var(--sticky-width, 320px);
}

.post-sidebar.is-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
}

@media (max-width: 992px) {
    .post-sidebar,
    .post-sidebar.is-fixed,
    .post-sidebar.is-bottom {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .post-detail {
        padding-top: var(--space-1);
        padding-bottom: var(--space-4);
    }
}