/* Single Post Styles */

.single-main {
    padding-top: 8rem;
    z-index: 10;
    position: relative;
}

.single-container {
    max-width: 56rem;
}

/* Featured Image */
.single-hero-image-card {
    margin-bottom: 3rem;
    overflow: hidden;
}

.single-hero-image {
    width: 100%;
    height: 60dvw;
    max-height: 40dvh;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    align-content: center;
    text-align: center;
    z-index: 10;
    overflow: hidden;
    pointer-events: auto;
}

.single-missing-image-card {
    padding: 4rem 2rem;
    margin-bottom: 3rem;
    text-align: center;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    
}

.single-missing-content {
    opacity: 0.4;
}

.single-emoji {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.single-missing-text {
    font-family: var(--font-sf-pro);
    font-weight: var(--font-weight-bold);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
}

/* Header */
.single-header-card {
    padding: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}

.single-title {
    color: white;
    font-family: var(--font-sf-pro);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.single-meta {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-sf-pro);
    font-weight: var(--font-weight-semibold);
}

.single-separator {
    margin: 0 1rem;
}

.single-category {
    color: rgb(168 85 247);
}

/* Content */
.single-content-card {
    padding: 3rem;
}

.single-content-area {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-sf-pro);
    font-weight: var(--font-weight-normal);
    line-height: 1.75;
    font-size: 1.125rem;
}

.single-pagination-wrapper {
    margin-top: 2rem;
    text-align: center;
}

.single-pagination-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: white;
    text-decoration: none;
}

/* Tags */
.single-tags-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.single-tags-title {
    color: white;
    font-family: var(--font-sf-pro);
    font-weight: var(--font-weight-bold);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.single-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.single-tag-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 9999px;
    color: rgb(196 181 253);
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
}

/* Navigation */
.single-navigation {
    margin-top: 3rem;
}

.post-navigation-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "prev back next";
    gap: 1rem;
    align-items: center;
}

.nav-glass-card {
    height: 8rem;
    display: block;
    padding: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.nav-glass-card:hover {
    transform: translateY(-0.25rem);
}

.nav-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.nav-title {
    color: white;
    font-weight: 600;
}

.text-center { text-align: center; }
.text-right { text-align: right; }

.grid-area-prev { grid-area: prev; }
.grid-area-back { grid-area: back; }
.grid-area-next { grid-area: next; }

/* Responsive */
@media (max-width: 768px) {
    .post-navigation-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: 
            "prev next"
            "back back";
    }
}
