/* FastEntegre — public blog list + article (landing) */

.fe-blog {
	--fe-blog-primary: #3b5bdb;
	--fe-blog-text: #212529;
	--fe-blog-muted: #6c757d;
	--fe-blog-border: #e9ecef;
	--fe-blog-radius: 12px;
	--fe-blog-shadow: 0 10px 28px -18px rgba(15, 23, 42, 0.28);
	color: var(--fe-blog-text);
	text-align: left;
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
}

.section--cta .fe-blog .section__title {
	letter-spacing: -0.02em;
	margin-bottom: 1.25rem;
	line-height: 1.25;
}

.fe-blog--article > .section__title:empty {
	display: none;
	margin: 0;
}

.fe-blog-categories {
	margin: 0 0 1.75rem;
	padding: 1rem 1.15rem 1.1rem;
	background: #fff;
	border: 1px solid var(--fe-blog-border);
	border-radius: var(--fe-blog-radius);
	box-shadow: var(--fe-blog-shadow);
}

.fe-blog-categories__title {
	margin: 0 0 0.75rem;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--fe-blog-muted);
}

.section.fe-public-page {
	overflow: visible;
	justify-content: flex-start;
}

.fe-blog-categories__list,
.fe-blog-categories__children {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.35rem;
}

.fe-blog-categories__item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
}

.fe-blog-categories__children {
	flex-basis: auto;
	width: 100%;
	margin-left: 0.85rem;
	padding-left: 0.75rem;
	border-left: 2px solid var(--fe-blog-border);
}

.fe-blog-categories .blog-category-link {
	display: inline-block;
	padding: 0.35rem 0.75rem;
	border: 1px solid var(--fe-blog-border);
	border-radius: 999px;
	background: #f8f9fa;
	color: var(--fe-blog-primary);
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
}

.fe-blog-categories .blog-category-link:hover {
	border-color: rgba(59, 91, 219, 0.45);
	background: rgba(59, 91, 219, 0.08);
	color: #364fc7;
	text-decoration: none;
}

.fe-blog .fe-blog-card,
.fe-blog article.fe-blog-card {
	width: auto;
	display: block;
	box-sizing: border-box;
	margin: 0 0 1.15rem;
	padding: 1.15rem 1.25rem 1.05rem;
	background: #fff;
	border: 1px solid var(--fe-blog-border);
	border-radius: var(--fe-blog-radius);
	box-shadow: var(--fe-blog-shadow);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.fe-blog .fe-blog-card:hover {
	border-color: rgba(59, 91, 219, 0.45);
	box-shadow: 0 14px 32px -16px rgba(59, 91, 219, 0.35);
	transform: translateY(-1px);
}

.fe-blog .fe-blog-card h2 {
	margin: 0 0 0.35rem;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.015em;
}

.fe-blog .fe-blog-card h2 a,
.fe-blog a.blog-article-link {
	color: var(--fe-blog-primary);
	text-decoration: none;
}

.fe-blog .fe-blog-card h2 a:hover,
.fe-blog a.blog-article-link:hover {
	color: #364fc7;
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

.fe-blog .fe-blog-card small,
.fe-blog .fe-blog-article small {
	display: inline-block;
	color: var(--fe-blog-muted);
	font-size: 0.8rem;
	letter-spacing: 0.01em;
}

.fe-blog .fe-blog-card p {
	margin: 0.35rem 0 0;
	color: #343a40;
	font-size: 0.98rem;
	line-height: 1.65;
}

.fe-blog .fe-blog-article,
.fe-blog article.fe-blog-article {
	width: auto;
	display: block;
	box-sizing: border-box;
	padding: 1.35rem 1.4rem 1.25rem;
	margin: 0 0 1.25rem;
	text-align: left;
	background: #fff;
	border: 1px solid var(--fe-blog-border);
	border-radius: var(--fe-blog-radius);
	box-shadow: var(--fe-blog-shadow);
}

.fe-blog .fe-blog-article__title,
.fe-blog .fe-blog-article h2 {
	font-size: 1.65rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.3;
	margin: 0 0 0.65rem;
	color: var(--fe-blog-text);
}

.fe-blog .fe-blog-article__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.85rem;
	margin: 0 0 1.15rem;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid var(--fe-blog-border);
}

.fe-blog .fe-blog-article__meta .blog-category-link {
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none;
}

.fe-blog .fe-blog-article__meta .blog-category-link:hover {
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

.fe-blog .fe-blog-article-body {
	font-size: 1.02rem;
	line-height: 1.75;
	color: #212529;
}

.fe-blog .fe-blog-article-body p {
	margin: 0 0 1rem;
}

.fe-blog .fe-blog-article-body h3 {
	font-size: 1.12rem;
	font-weight: 700;
	margin: 1.5rem 0 0.55rem;
	letter-spacing: -0.01em;
}

.fe-blog .fe-blog-article-body ul,
.fe-blog .fe-blog-article-body ol {
	margin: 0 0 1rem;
	padding-left: 1.2rem;
}

.fe-blog .fe-blog-article-body li {
	margin-bottom: 0.35rem;
}

.fe-blog .fe-blog-article-body a {
	color: var(--fe-blog-primary);
}

.fe-blog .fe-blog-comments,
.fe-blog .comments {
	width: auto;
	box-sizing: border-box;
	margin: 0 0 0.25rem;
	padding: 1.15rem 1.25rem 1.1rem;
	text-align: left;
	background: #fff;
	border: 1px solid var(--fe-blog-border);
	border-radius: var(--fe-blog-radius);
	box-shadow: var(--fe-blog-shadow);
}

.fe-blog .fe-blog-comments h3,
.fe-blog .comments h3 {
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 0.85rem;
}

.fe-blog .fe-blog-comments__compose-title {
	margin-top: 1.15rem;
}

.fe-blog .comment {
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--fe-blog-border);
}

.fe-blog .comment:last-of-type {
	border-bottom: 0;
}

.fe-blog .comment h4 {
	margin: 0 0 0.25rem;
	font-size: 0.92rem;
	font-weight: 700;
}

.fe-blog .comment p {
	margin: 0;
	line-height: 1.55;
	color: #343a40;
}

.fe-blog .fe-blog-comments__form textarea,
.fe-blog .comments textarea {
	display: block;
	width: 100%;
	height: 100px;
	box-sizing: border-box;
	border: 1px solid var(--fe-blog-border);
	border-radius: 8px;
	padding: 0.75rem 0.85rem;
	font-family: inherit;
	line-height: 1.5;
}

.fe-blog .fe-blog-comments__form textarea:focus,
.fe-blog .comments textarea:focus {
	outline: 0;
	border-color: var(--fe-blog-primary);
	box-shadow: 0 0 0 3px rgba(59, 91, 219, 0.15);
}

.fe-blog .fe-blog-comments__form button,
.fe-blog .comments button {
	margin-top: 0.65rem;
	background: var(--fe-blog-primary);
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 0.5rem 1rem;
	font-weight: 600;
	cursor: pointer;
}

.fe-blog .fe-blog-comments__form button:hover,
.fe-blog .comments button:hover {
	background: #364fc7;
}

.fe-blog hr {
	border: 0;
	border-top: 1px solid var(--fe-blog-border);
	margin: 1.75rem 0;
}

.fe-blog--index .fe-blog-card:last-child {
	margin-bottom: 0.25rem;
}

@media (max-width: 750px) {
	.fe-blog .fe-blog-card,
	.fe-blog article.fe-blog-card,
	.fe-blog .fe-blog-article,
	.fe-blog .fe-blog-comments {
		padding: 1rem 0.95rem;
	}

	.fe-blog .fe-blog-article__title,
	.fe-blog .fe-blog-article h2 {
		font-size: 1.35rem;
	}
}
