/* ============================================================
   NovaCELL Replica — Blog Styles
   ============================================================ */

/* ---- Blog Archive ---- */
.nc-blog {
    padding: 1.5rem 0 4rem;
}
.nc-blog__header {
    margin-bottom: 2.5rem;
}
.nc-blog__header h1 {
    font-size: 2rem;
    font-weight: 700;
}
.nc-blog__header p {
    color: var(--nc-muted-foreground);
    margin-top: 0.5rem;
}
.nc-blog__cat-desc {
    color: var(--nc-muted-foreground);
    margin-top: 0.5rem;
    line-height: 1.6;
}

/* Blog Grid */
.nc-blog__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 640px) {
    .nc-blog__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .nc-blog__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Blog Card */
.nc-blog-card {
    background: var(--nc-card);
    border: 1px solid var(--nc-border);
    border-radius: var(--nc-radius);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}
.nc-blog-card:hover {
    box-shadow: var(--nc-shadow-md);
    transform: translateY(-2px);
}
.nc-blog-card__image {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--nc-muted);
}
.nc-blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.nc-blog-card:hover .nc-blog-card__image img {
    transform: scale(1.03);
}
.nc-blog-card__body {
    padding: 1.25rem;
}
.nc-blog-card__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--nc-muted-foreground);
    margin-bottom: 0.5rem;
}
.nc-blog-card__cat {
    font-weight: 600;
    color: var(--nc-gold);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.nc-blog-card__title {
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}
.nc-blog-card__title a {
    color: var(--nc-foreground);
}
.nc-blog-card__title a:hover {
    color: var(--nc-gold);
}
.nc-blog-card__excerpt {
    font-size: 0.875rem;
    color: var(--nc-muted-foreground);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}
.nc-blog-card__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--nc-gold);
}
.nc-blog-card__link:hover {
    text-decoration: underline;
}

/* ---- Single Post ---- */
.nc-single-post {
    padding: 1.5rem 0 4rem;
}
.nc-single-post__header {
    margin: 1.5rem 0 2rem;
    max-width: 740px;
}
.nc-single-post__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--nc-muted-foreground);
    margin-bottom: 0.75rem;
}
.nc-single-post__title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
}
.nc-single-post__hero {
    margin-bottom: 2.5rem;
    border-radius: var(--nc-radius);
    overflow: hidden;
    max-width: 900px;
}
.nc-single-post__hero img {
    width: 100%;
    height: auto;
}

/* Post Content */
.nc-single-post__content {
    max-width: 740px;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--nc-foreground);
}
.nc-single-post__content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
}
.nc-single-post__content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
}
.nc-single-post__content p {
    margin-bottom: 1.25rem;
}
.nc-single-post__content ul,
.nc-single-post__content ol {
    margin: 0 0 1.25rem 1.5rem;
}
.nc-single-post__content li {
    margin-bottom: 0.375rem;
}
.nc-single-post__content blockquote {
    border-left: 3px solid var(--nc-gold);
    padding-left: 1.25rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--nc-muted-foreground);
}
.nc-single-post__content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--nc-radius);
    margin: 1rem 0;
}
.nc-single-post__content a {
    color: var(--nc-gold);
}

/* Tags */
.nc-single-post__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--nc-border);
}
.nc-single-post__tag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--nc-border);
    border-radius: 9999px;
    color: var(--nc-muted-foreground);
    transition: border-color 0.15s, color 0.15s;
}
.nc-single-post__tag:hover {
    border-color: var(--nc-gold);
    color: var(--nc-gold);
}

/* Related */
.nc-single-post__related {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--nc-border);
}
.nc-single-post__related h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* RUO */
.nc-single-post__ruo {
    margin-top: 3rem;
    padding: 1.25rem;
    background: var(--nc-muted);
    border-radius: var(--nc-radius);
    font-size: 0.8125rem;
    color: var(--nc-muted-foreground);
    line-height: 1.6;
}
.nc-single-post__ruo p {
    margin: 0;
}
