/* Blog Magazine Layout */
body {
    background-color: #fff;
    color: #000;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    font-family: 'Noto Sans Arabic', sans-serif;
}

/* Grid Layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

/* Post Card */
.post-card {
    border: 2px solid #000;
    padding: 2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 8px 8px 0px #000;
}

.post-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px #000;
}

.post-meta {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    justify-content: space-between;
}

.post-title {
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-title a {
    text-decoration: none;
    color: #000;
}

.post-excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.read-more {
    align-self: flex-start;
    font-weight: 900;
    text-decoration: none;
    color: #000;
    border-bottom: 2px solid #000;
    padding-bottom: 2px;
}

.read-more:hover {
    background: #000;
    color: #fff;
}

/* Single Post View */
.single-post {
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    text-align: center;
    margin-bottom: 4rem;
    border-bottom: 2px solid #000;
    padding-bottom: 2rem;
}

.single-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.post-content {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #222;
}

.post-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border-right: 5px solid #000;
    padding-right: 1rem;
}

.post-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 2rem;
    padding-right: 2rem;
}

.post-content li {
    margin-bottom: 0.75rem;
}

.post-content strong {
    font-weight: 800;
}

/* Mobile */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .single-title {
        font-size: 2rem;
    }

    .post-content {
        font-size: 1.1rem;
    }
}