/* --- BLOG PAGE STYLES --- */
body {
    background-color: #050505;
    color: #fff;
}

/* Header */
.blog-header {
    padding-top: 180px;
    padding-bottom: 80px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.page-title {
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 15px;
}

.italic-yellow {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--accent-yellow);
    font-weight: 400;
}

.page-sub {
    font-family: 'Courier New', monospace;
    color: #888;
    letter-spacing: 2px;
}

/* --- BLOG GRID (Listing Page) --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
    padding: 100px 0;
}

.blog-card {
    display: block;
    text-decoration: none;
 
}

.blog-img {
    height: 300px;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 25px;
    position: relative;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s;
    filter: grayscale(100%);
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.read-badge {
    position: absolute;
    top: 20px; right: 20px;
    background: #fff;
    color: #000;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
}

.blog-card:hover .read-badge {
    opacity: 1;
    transform: translateY(0);
}

.meta-row {
    display: flex;
    gap: 15px;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: var(--accent-yellow);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.blog-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.blog-card:hover .blog-title { color: var(--accent-yellow); }

.blog-summary {
    font-family: 'Manrope', sans-serif;
    color: #999;
    font-size: 1rem;
    line-height: 1.6;
}

/* --- SINGLE ARTICLE PAGE --- */

.single-article {
    padding-top: 150px;
}

.article-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-family: 'Courier New', monospace;
    color: var(--accent-yellow);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.article-title {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.publish-date {
    color: #666;
    font-family: 'Manrope', sans-serif;
}

.hero-image-wrapper {
    width: 100%;
    height: 60vh;
    overflow: hidden;
    margin-bottom: 80px;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Body (Rich Text) */
.article-body {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Manrope', sans-serif;
    color: #ccc;
    font-size: 1.2rem;
    line-height: 1.8;
}

.article-body h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: #fff;
    margin-top: 60px;
    margin-bottom: 20px;
}

.article-body p {
    margin-bottom: 30px;
}

.article-body blockquote {
    border-left: 3px solid var(--accent-yellow);
    padding-left: 30px;
    margin: 40px 0;
    font-size: 1.5rem;
    color: #fff;
    font-style: italic;
}

.article-footer {
    padding: 100px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 100px;
}

.next-btn {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}
.next-btn:hover { border-color: var(--accent-yellow); color: var(--accent-yellow); }

/* Responsive */
@media (max-width: 768px) {
    .page-title, .article-title { font-size: 3rem; }
    .blog-grid { grid-template-columns: 1fr; }
    .article-body { font-size: 1.1rem; }
}