/* ======================================================
   BETAR Engage — Article engagement styles
   Mobile-first, no external dependencies
   ====================================================== */

/* --- Reading Time --- */
.be-reading-time {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.8rem;
	color: #888;
	margin-bottom: 1.2em;
	font-style: italic;
}

.be-reading-time svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
	flex-shrink: 0;
}

/* --- Social Share --- */
.be-social-share {
	margin: 2em 0 1.5em;
	padding: 1.2em 0;
	border-top: 1px solid #e5e5e5;
	border-bottom: 1px solid #e5e5e5;
}

.be-social-share__label {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #999;
	margin-bottom: 0.75em;
	font-weight: 600;
}

.be-social-share__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
}

.be-social-share__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0.45em 0.9em;
	border-radius: 4px;
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	border: none;
	transition: opacity 0.15s ease;
	line-height: 1.4;
	white-space: nowrap;
}

.be-social-share__btn:hover,
.be-social-share__btn:focus {
	opacity: 0.85;
	outline: 2px solid transparent;
}

.be-social-share__btn svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
	flex-shrink: 0;
}

.be-social-share__btn--twitter {
	background: #000;
	color: #fff;
}

.be-social-share__btn--whatsapp {
	background: #25D366;
	color: #fff;
}

.be-social-share__btn--linkedin {
	background: #0077B5;
	color: #fff;
}

.be-social-share__btn--copy {
	background: #f3f3f3;
	color: #333;
}

/* --- Related Posts --- */
.be-related-posts {
	margin: 2em 0;
}

.be-related-posts__title {
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #333;
	margin-bottom: 1em;
	padding-bottom: 0.4em;
	border-bottom: 2px solid #e5060b; /* BETAR brand red */
}

.be-related-posts__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1em;
}

@media (min-width: 600px) {
	.be-related-posts__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.be-related-posts__card {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	border: 1px solid #eee;
	border-radius: 4px;
	overflow: hidden;
	transition: box-shadow 0.15s ease;
}

.be-related-posts__card:hover,
.be-related-posts__card:focus {
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	outline: none;
}

.be-related-posts__thumb {
	width: 100%;
	aspect-ratio: 16 / 9;
	background-size: cover;
	background-position: center;
	background-color: #f0f0f0;
}

.be-related-posts__thumb--empty {
	background-color: #e9e9e9;
}

.be-related-posts__meta {
	padding: 0.75em;
	display: flex;
	flex-direction: column;
	gap: 0.3em;
	flex: 1;
}

.be-related-posts__date {
	font-size: 0.72rem;
	color: #999;
}

.be-related-posts__name {
	font-size: 0.88rem;
	font-weight: 600;
	color: #222;
	line-height: 1.35;
	/* Clamp to 3 lines */
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
