/*
Theme Name: Sortalist Theme
Theme URI: https://sortalist.com/
Author: Chris Gray
Author URI: https://sortalist.com/
Description: Theme for Sortalist
Template: genbu
Version: 1.0
Text Domain: genbu-child
*/
/* Add your custom CSS below this line */

.wp-block-latest-posts, .wpp-list {
	margin: 6px;
}
.wp-block-latest-posts li, .wpp-list li {
  display: -webkit-box; /* For older WebKit compatibility */
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* Limits to 2 lines */
  line-clamp: 2; /* Standard property for modern browsers */
  overflow: hidden;
  text-overflow: ellipsis;
}

.breadcrumbs {
	text-align: center;
	margin-bottom: 1.5rem;
}

.entry { /* Targets the post container; adjust if Genbu uses a different class like .hentry or .post */
    overflow: hidden; /* Clears floats within the entry */
}

.thumbnail-wrap {
    float: left; /* Image on left */
    margin: 0 15px 15px 0; /* Spacing: top/right/bottom/left - adjust for your design */
    max-width: 150px; /* Optional: Limit width to prevent large images from pushing text too far */
}

.post-thumbnail img {
    display: block; /* Removes any inline gaps */
    width: 100%; /* Responsive scaling */
    height: auto;
}

.entry-summary p { /* Adjust selector if needed, e.g., .excerpt or your custom class */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4; /* Limits to 4 lines */
    line-clamp: 4; /* Standard property */
    overflow: hidden;
    text-overflow: ellipsis;
    /*max-height: calc(1.5em * 4); /* Fallback: Approximate height based on line-height (adjust 1.5em if your font differs) */
}

ul.wp-block-latest-posts li:nth-child(n+2), ul.wpp-list li:nth-child(n+2) {
    /* Your changes here, e.g.: */
    margin-top: 10px; /* Adds space above each subsequent list item */
    border-top: 1px solid #ddd; /* Adds a separator line */
    padding-top: 10px; /* Optional padding for better spacing */
}