/* ===== Single Blog Post Styles ===== */

body {
    background: #f7f7f7;
    color: #333;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
}

.single-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem;
}

/* Title */
.single-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    margin: 1rem 0 0.5rem;
    text-align: center;
    color: #1d3557;
}

/* Date */
.single-date {
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1.5rem;
}

/* Featured Image */
.single-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    display: block;
}

/* Content */
.single-content {
    line-height: 1.8;
    font-size: 1.05rem;
    color: #444;
}

.single-content p {
    margin-bottom: 1.2rem;
}

/* Tags */
.single-tags {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: #555;
    background: #f0f4f8;
    padding: 0.8rem 1rem;
    border-left: 4px solid #1d3557;
    border-radius: 6px;
}

/* Back Link */
.single-back {
    margin-top: 2.5rem;
    text-align: center;
}

.back-link {
    background: #1d3557;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.back-link:hover {
    background: #457b9d;
}

/* Empty state */
.no-post {
    text-align: center;
    padding: 3rem 0;
    color: #777;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .single-title {
        font-size: 1.7rem;
    }
    .single-content {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .single-title {
        font-size: 1.5rem;
    }
    .single-image {
        border-radius: 8px;
    }
}
