/* Blog list container, applied to the main tag */
.blog-list {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Individual post preview container */
.post-preview {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #111111;
    border-radius: 8px;
    border: 1px solid #333;
}

/* Wrapper for the icon and heading to enable flexbox */
.post-title-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

/* Icon styling */
.small-post-icon {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
}

/* Title styling within the post preview */
.post-preview h2 {
    font-size: 1.5rem;
    margin: 0;
    color: #ffffff;
}

/* Date styling */
.post-preview .post-date {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.5rem;
}

/* Paragraph text styling */
.post-preview p {
    color: #cccccc;
}

/* Link styling */
.post-preview a {
    text-decoration: none;
    color: #4da6ff;
    transition: color 0.2s ease;
}

.post-preview a:hover {
    color: #66b3ff;
    text-decoration: underline;
}

/* Individual blog post page content container */
.blog-post {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #111111;
    border-radius: 8px;
    border: 1px solid #333;
}

.blog-post h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 600;
}

.blog-post .post-date {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1rem;
}

.blog-post p {
    margin-bottom: 1rem;
    color: #cccccc;
}

/* Image and caption styling for a blog post */
figure {
    text-align: center;
}

figcaption {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #888;
}

/* Image sizing for blog posts */
.post-image {
    display: block;
    max-width: 800px;
    height: auto;
    margin: 1.5rem auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    object-fit: contain;
}

.small-post-image {
    display: block;
    max-width: 300px;
    height: auto;
    margin: 1.5rem auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    object-fit: contain;
}
