/* Related Blog Post Styling - Clean Layout */
#main-content .dps-layout-blog-related {
    margin-bottom: 32px;
}

/* Image Styling */
#main-content .dps-layout-blog-related .image-wrapper {
    position: relative;
    margin-bottom: 20px;
}

#main-content .dps-layout-blog-related .image-wrapper .wp-post-image {
    border-radius: 16px;
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

/* Content Container */

/* Category Badge */
#main-content .dps-layout-blog-related .category-wrapper {
    padding: 5px 10px;
    margin-bottom: 10px;
    background-color: #B91C5C;
    border-radius: 20px;
    display: inline-block;
    transition: background 0.2s ease;
}
#main-content .dps-layout-blog-related .category-wrapper h3,
#main-content .dps-layout-blog-related .title-wrapper h4 {
    padding: 0;
    margin: 0;
    font-size: inherit;
    line-height: 0;
}

#main-content .dps-layout-blog-related .category-wrapper a {
    font-family: var(--common-font-sans) !important;
    font-size: .85rem;
    color: #fff !important;
    line-height: 1;
    font-weight: normal;
    text-decoration: none;
    border: none !important;
}


/* Title Styling */
#main-content .dps-layout-blog-related .title-wrapper {
    margin-bottom: 16px;
}

#main-content .dps-layout-blog-related .entry-title a {
    font-family: var(--common-font-serif) !important;
    font-size: 1.375rem;
    font-weight: normal;
    border: none !important;
    line-height: 120%;
    margin: 0;
}
#main-content .dps-layout-blog-related .post-meta-wrapper { 
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}


/* Author and Date Container */
#main-content .dps-layout-blog-related .author-wrapper {
    display: flex;
    align-items: center;
}

#main-content .dps-layout-blog-related .author-wrapper a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-weight: normal;
    font-size: 0.75rem;
    line-height: 1rem;
    border: none !important;
    transition: color 0.2s ease;
}

/* Author Profile Image */
#main-content .dps-layout-blog-related .author-profile-image {
    width: 22px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 8px;
    border: none !important;
}

/* Date Styling */
#main-content .dps-layout-blog-related .date-wrapper {
    color: #666;
    font-size: 0.75rem;
    font-weight: normal;
    line-height: 1rem;
}

/* 
    Add the WordPress calendar icon to the date wrapper.
    Use https://developer.wordpress.org/resource/dashicons/
*/
#main-content .dps-layout-blog-related .date-wrapper::before {
    content: "\f508"; /* calendar-alt */
    font-family: Dashicons;
    font-size: 16px;
    margin-right: 4px;
    vertical-align: bottom;
}

#main-content .dps-layout-blog-related .image-wrapper .post-image-placeholder {
	background-color: #fff;
	border-radius: 10px;
    max-height: 240px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    /* #main-content .dps-layout-blog-related .image-wrapper .wp-post-image {
        height: 200px;
    }
    
    #main-content .dps-layout-blog-related .entry-title {
        font-size: 1.25rem;
    } */
}
