/* News detail page styles */

.site-title-link {
    text-decoration: none;
}

.detail-loading,
.detail-error {
    text-align: center;
    padding: 80px 20px;
    color: #999;
    font-size: 1.1rem;
}

.detail-error p {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.btn-back {
    display: inline-block;
    margin-bottom: 28px;
    color: #667eea;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.btn-back:hover {
    color: #5568d3;
}

.news-detail {
    max-width: 820px;
    margin: 40px auto;
    padding: 0 20px;
}

.detail-image-wrap {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.detail-image {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
}

.detail-body {
    background: #fff;
    border-radius: 12px;
    padding: 36px 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.detail-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.35;
    margin-bottom: 28px;
}

.detail-actions {
    display: flex;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

/* Share modal (reused from main styles) */

/* Responsive */
@media (max-width: 640px) {
    .detail-body {
        padding: 24px 18px;
    }

    .detail-title {
        font-size: 1.4rem;
    }

    .detail-image {
        max-height: 220px;
    }
}
