/* Blog Container Styles */
.blog-container {
    max-width: 1400px;
    margin: 50px auto;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    color: #663d29; /* Text color */
}

/* Blog Header */
.blog-header {
    text-align: center;
    margin-bottom: 30px;
}

.blog-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #663d29; 
    letter-spacing: 1.2px;
}

/* Blog Image Styling */
.blog-image {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.blog-image img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 8px; /* Smooth edges */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* Clean shadow for a polished look */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effects */
}

.blog-image img:hover {
    transform: scale(1.03); /* Slight zoom effect */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Section Heading */
.blog-section .section-heading {
    font-size: 2rem;
    font-weight: 600;
    color: #da926e; 
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 2px solid #da926e;
}

/* Paragraph Styling */
.blog-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    color: #663d29;
}

/* CTA Link */
.blog-cta-link {
    color: #da926e;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.blog-cta-link:hover {
    border-bottom: 2px solid #663d29;
    color: #da926e; /* Changes to warm orange on hover */
}

/* Scoped Responsive Design */
@media (max-width: 768px) {
    .blog-container {
        padding: 20px;
    }

    .blog-title {
        font-size: 2.4rem;
    }

    .section-heading {
        font-size: 1.6rem;
    }

    .blog-section p {
        font-size: 1rem;
    }
}



/* Author Section Styles */
.author-section {
    padding: 20px;
    max-width: 100%;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Author Image */
.author-section .author-image {
    flex: 0 0 auto;
    text-align: center;
    width: 100%; /* Full width on mobile */
}

.author-section .author-image img {
    width: 120px; /* Slightly smaller for mobile */
    height: 120px;
    border-radius: 50%; /* Circular shape */
    border: 4px solid #da926e; /* Accent border */
    object-fit: cover;
}

/* Author Details */
.author-section .author-details {
    flex: 1;
    width: 100%; /* Full width on mobile */
    text-align: center; /* Center align text on mobile */
}

.author-section .author-details h3 {
    color: #663d29;
    font-size: 1.5rem; /* Adjust font size for smaller screens */
    margin-bottom: 10px;
    font-weight: bold;
}

.author-section .author-details p {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 1rem; /* Smaller font size for mobile */
}

/* Author Title */
.author-section .author-details .author-title {
    color: #da926e;
    font-size: 1rem; /* Adjust font size */
    font-weight: 500;
}

/* Author Bio */
.author-section .author-details .author-bio {
    color: #555;
    font-size: 0.9rem; /* Adjust font size */
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .author-section {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center align items */
    }

    .author-section .author-image img {
        width: 100px; /* Smaller image on mobile */
        height: 100px;
        border-width: 3px; /* Adjust border size */
    }

    .author-section .author-details h3 {
        font-size: 1.4rem; /* Smaller heading size */
    }

    .author-section .author-details p,
    .author-section .author-details .author-bio {
        font-size: 0.9rem; /* Adjust text size for readability */
    }

    .author-section .author-details .author-title {
        font-size: 0.95rem; /* Adjust title size */
    }
}
