/* Blog Styles - Parking Game Theme */

/* Blog List Container */
.blog-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Blog Post Card */
.blog-post {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Date Badge */
.blog-post-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 80px;
    padding: 1rem;
    background: #1a1a1a;
    color: #fff;
    border-radius: 8px;
    flex-shrink: 0;
}

.blog-post-date .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: #fcbd3b;
}

.blog-post-date .month {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.3rem;
}

/* Post Content */
.blog-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-post-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #1a1a1a;
    line-height: 1.3;
}

.blog-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-post-title a:hover {
    color: #fcbd3b;
}

.blog-post-excerpt {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Read More Button */
.blog-post-read {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: #fcbd3b;
    color: #1a1a1a;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
    width: fit-content;
}

.blog-post-read:hover {
    background: #f3b02e;
    transform: translateX(3px);
}

/* Single Post */
.blog-single {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.blog-single-header {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #fcbd3b;
}

.blog-single-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-single-date .dot {
    width: 4px;
    height: 4px;
    background: #fcbd3b;
    border-radius: 50%;
}

.blog-single-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

/* Back Link */
.blog-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #555;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: color 0.2s ease;
}

.blog-back:hover {
    color: #fcbd3b;
}

/* Post Content Typography */
.blog-single-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

.blog-single-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #fcbd3b;
}

.blog-single-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 2rem 0 0.8rem;
}

.blog-single-content p {
    margin-bottom: 1.2rem;
}

.blog-single-content ul,
.blog-single-content ol {
    margin: 1.2rem 0;
    padding-left: 1.5rem;
}

.blog-single-content li {
    margin-bottom: 0.5rem;
    list-style: disc;
}

.blog-single-content ol li {
    list-style: decimal;
}

.blog-single-content strong {
    font-weight: 700;
    color: #1a1a1a;
}

.blog-single-content a {
    color: #fcbd3b;
    text-decoration: underline;
}

.blog-single-content blockquote {
    border-left: 4px solid #fcbd3b;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: #fafafa;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.8rem;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination a {
    background: #f5f5f5;
    color: #1a1a1a;
}

.pagination a:hover {
    background: #fcbd3b;
    color: #1a1a1a;
}

.pagination .active {
    background: #fcbd3b;
    color: #1a1a1a;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-post {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .blog-post-date {
        flex-direction: row;
        gap: 0.8rem;
        min-width: auto;
        padding: 0.6rem 1rem;
    }

    .blog-post-date .day {
        font-size: 1.5rem;
    }

    .blog-post-title {
        font-size: 1.2rem;
    }

    .blog-single-title {
        font-size: 1.6rem;
    }

    .blog-single-content h2 {
        font-size: 1.3rem;
    }
}
