/* Blog Post Specific Styles */

/* Ensure the section clears the fixed header */
.blog-post-section {
    padding-top: 120px;
    padding-bottom: 80px;
    background-color: #ffffff;
}

.blog-post-section .container {
    max-width: 1140px;
}

/* Typography */
.blog-title {
    font-family: 'Jost', sans-serif;
    font-size: 3rem;
    color: #232323;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    line-height: 1.2;
}

.blog-content {
    font-family: 'Jost', sans-serif;
}

.blog-content h2 {
    font-family: 'Jost', sans-serif;
    font-size: 2rem;
    color: #e43f5a; /* Accent color matching Sugar Baby theme */
    margin-top: 50px;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.blog-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #e43f5a;
}

.blog-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    text-align: justify;
}

/* Image Handling */
.blog-image-container {
    margin: 40px 0;
    text-align: center;
}

.blog-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Image Grid for Uniformity */
.image-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
    justify-content: center;
}

.image-col {
    flex: 1 1 300px; /* Flexible width, base 300px */
    display: flex;
    flex-direction: column;
}

.image-col img {
    width: 100%;
    height: 450px; /* Fixed height for alignment */
    object-fit: cover; /* Crop to fill without distortion */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-col img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .blog-title {
        font-size: 2.5rem;
    }
    .blog-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .blog-post-section {
        padding-top: 100px;
    }
    .blog-title {
        font-size: 2rem;
    }
    .image-col img {
        height: 300px; /* Smaller height on mobile */
    }
    .blog-content p {
        text-align: left; /* Better for reading on small screens */
    }
}
