.blog-main {
    max-width: 50rem; /* Roughly 800px at default font size */
    margin: 0 auto;
    padding: 1.25rem 5%;
}

.hero-image {
    width: 100%; /* Makes the image responsive */
    height: auto; /* Maintains aspect ratio */
    max-height: 25rem; /* Adjust as needed */
    object-fit: cover; /* Ensures the image covers the area without distortion */
}

.blog-main .blog-header {
    margin-bottom: 2rem;
}

.blog-header h1, h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.blog-header h2 {
    font-size: 1.5rem;
    font-weight: normal;
}
.blog-category h2{
    color: var(--accent-color);
}

.blog-intro {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: rgba(var(--background-color-rgb), 0.5);
    border-left: 0.25rem solid var(--accent-color);
}

.blog-category h2{
    color: var(--accent-color);
}

.blog-preview {
    margin-bottom: 1.25rem;
    border-bottom: 0.08rem solid var(--secondary-color);
    padding-bottom: .75rem;
}

.blog-preview:last-child {
    border-bottom: none;
}

.blog-preview h3 {
    font-size: 1rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
}

.blog-preview h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-preview h3 a:hover {
    color: var(--accent-color);
}

.blog-preview time, .blog-post time {
    display: block;
    color: var(--secondary-color);
    margin-bottom: 0.3rem; 
    font-size: 0.75rem;
}

.blog-preview p {
    color: var(--text-color);
    font-size: .875rem;
    line-height: 1.6;
    margin-bottom: 0.5rem; /* Reduced from 1rem */
}

.blog-preview .read-more {
    display: inline-block;
    color: var(--link-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.blog-preview .read-more:hover {
    color: var(--link-hover-color);
}

.post-content blockquote{
    background-color: var(--light-background);
    border-left: 4px solid var(--accent-color);
    padding-top: 1rem;
    padding-left: 1rem;
    font-style: oblique;
    font-family: "Georgia", serif;
}

.post-content h3 {
    font-size: 1.075rem;
}

.blog-meta {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.blog-author {
    font-weight: 600;
    margin-right: 1rem;
}

.book-flex-container {
    margin-top: 0; /* Space above the container */
}

/* Reset margins for paragraphs within the text content */
.book-callout-text-content p {
    margin: 0; /* Remove default margin */
    margin-bottom: 1em; /* Add a consistent bottom margin if needed */
}

.blog-book-cover {
    max-width: 100%; /* Ensures the image is responsive */
    height: auto; /* Maintains aspect ratio */
    margin-left: 1.25em; /* Space between the image and text */
}

.book-callout-text-content {
    display: flex; /* Use flexbox for text content */
    flex-direction: column; /* Stack text paragraphs vertically */
    flex: 1; /* Allow text to take the remaining space */
}

/* Media query for larger screens */
@media (min-width: 768px) {
    .book-flex-container {
        flex-direction: row; /* Change to row layout on larger screens */
        align-items: flex-start; /* Align items at the start */
    }

    .blog-book-cover {
        float: right; /* Float the image to the right */
        margin-left: 1.25em; /* Space between the image and text */
        margin-bottom: 1.25em; /* Space below the image */
    }

    .book-callout-text-content {
        overflow: hidden; /* Clear the float */
    }
}

@media (max-width: 48em) { /* 768px */
   
}


