/**
 * Shortcode [custom_blog_sections_index]: stacked sections, avatar, title, author, post list.
 */

.custom-blog-sections-index {
	box-sizing: border-box;
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
	padding: 0.5rem 0.75rem 1rem;
	background: #eef1ea;
	font-family: Georgia, "Times New Roman", Times, serif;
}

.custom-blog-sections-index--empty {
	font-size: 0.9rem;
	color: #555;
	font-style: italic;
	font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.custom-blog-sections-index__section {
	padding: 1.1rem 0;
	border-bottom: 1px dotted #c5c9bf;
}

.custom-blog-sections-index__section:last-child {
	border-bottom: none;
	padding-bottom: 0.25rem;
}

.custom-blog-sections-index__header {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 0.85rem;
}

.custom-blog-sections-index__avatar {
	display: block;
	flex-shrink: 0;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
	text-decoration: none;
}

.custom-blog-sections-index__avatar--placeholder {
	background: linear-gradient(145deg, #dde2d6, #c8cfc0);
}

.custom-blog-sections-index__avatar-img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

.custom-blog-sections-index__intro {
	flex: 1;
	min-width: 0;
	padding-top: 0.1rem;
}

.custom-blog-sections-index__title {
	margin: 0 0 0.35rem;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	color: #1a1a1a;
	letter-spacing: -0.02em;
}

.custom-blog-sections-index__title a {
	color: inherit;
	text-decoration: none;
}

.custom-blog-sections-index__title a:hover,
.custom-blog-sections-index__title a:focus {
	color: #435832;
	text-decoration: none;
}

.custom-blog-sections-index__byline {
	margin: 0;
	font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	font-size: 0.9rem;
	line-height: 1.45;
	color: #333;
	margin-bottom: 8px !important;
}

.custom-blog-sections-index__byline-prefix {
	font-style: italic;
	font-weight: 400;
	margin-right: 0.15em;
}

.custom-blog-sections-index__author-name {
	font-weight: 600;
	color: #3d4f6e;
}

.custom-blog-sections-index__posts {
	list-style: none;
	margin: 0.85rem 0 0;
	padding: 0 !important;
	font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.custom-blog-sections-index__post {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin: 0;
	padding: 0.28rem 0;
	font-size: 0.95rem;
	line-height: 1.35;
}

.custom-blog-sections-index__post-link {
	flex: 1;
	min-width: 0;
	color: #6f7d52;
	text-decoration: none;
	display: inline-flex;
	align-items: baseline;
	gap: 0.25em;
}

.custom-blog-sections-index__post-link:hover,
.custom-blog-sections-index__post-link:focus {
	text-decoration: underline;
	color: #5a6845;
}

.custom-blog-sections-index__chev {
	flex-shrink: 0;
	color: #8a9b6e;
	font-weight: 600;
}

.custom-blog-sections-index__post-title {
	overflow: hidden;
	text-overflow: ellipsis;
}

.custom-blog-sections-index__comments {
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
	flex-shrink: 0;
	color: #888;
	font-size: 0.88rem;
}

.custom-blog-sections-index__comments-icon {
	display: flex;
	line-height: 0;
	color: #9aa899;
}

.custom-blog-sections-index__comments-icon svg {
	display: block;
}

.custom-blog-sections-index__comments-num {
	font-variant-numeric: tabular-nums;
}
