.sir-related-box {
	width: 100%;
	margin: 30px 0;
	box-sizing: border-box;
}

.sir-related-link {
	display: flex;
	align-items: stretch;
	width: 100%;
	min-height: 90px;
	overflow: hidden;
	box-sizing: border-box;
	border: 1px solid #e4e4e4;
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 2px 7px rgba(0, 0, 0, .10);
	color: #3f3f3f;
	text-decoration: none !important;
	transition: transform .2s ease, box-shadow .2s ease;
}

.sir-related-link:hover,
.sir-related-link:focus {
	color: #2f2f2f;
	text-decoration: none !important;
	transform: translateY(-1px);
	box-shadow: 0 5px 16px rgba(0, 0, 0, .13);
}

/* The dark vertical accent remains, but no longer contains the reading label. */
.sir-related-label {
	display: block;
	flex: 0 0 44px;
	background: #333;
}

.sir-related-main {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex: 1 1 auto;
	min-width: 0;
	min-height: 90px;
	padding: 12px 138px 12px 18px;
	overflow: hidden;
	box-sizing: border-box;
	direction: rtl;
}

/* Keep the existing 120x70 image size. It is visually moved behind the title,
   while remaining a normal lazy-loaded <img> for performance. */
.sir-related-image {
	position: absolute;
	z-index: 0;
	top: 50%;
	right: 0;
	display: block;
	flex: 0 0 120px;
	width: 120px;
	height: 70px;
	object-fit: cover;
	border-radius: 4px;
	transform: translateY(-50%);
	opacity: .9;
}

/* Reserve the image area so text never overlaps the image. */
.sir-related-copy {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	width: 100%;
	min-width: 0;
	gap: 3px;
	padding-left: 6px;
	box-sizing: border-box;
}

.sir-related-reading-label {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin: 0;
	color: #555;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
}

.sir-related-book-icon {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: 0 0 auto;
}

.sir-related-text {
	display: block;
	width: 100%;
	min-width: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.8;
	color: #333;
	text-align: right;
}

.sir-related-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 28px;
	color: #777;
	font-size: 20px;
	direction: ltr;
	transition: transform .2s ease;
}

.sir-related-link:hover .sir-related-arrow {
	transform: translateX(-3px);
}

@media (max-width: 640px) {
	.sir-related-box {
		margin: 24px 0;
	}

	.sir-related-link {
		min-height: 78px;
	}

	.sir-related-label {
		flex-basis: 38px;
	}

	.sir-related-main {
		min-height: 78px;
		padding: 9px 104px 9px 11px;
	}

	.sir-related-image {
		flex-basis: 86px;
		width: 86px;
		height: 58px;
	}

	.sir-related-reading-label {
		font-size: 11px;
	}

	.sir-related-book-icon {
		width: 16px;
		height: 16px;
	}

	.sir-related-text {
		font-size: 14px;
		line-height: 1.7;
	}

	.sir-related-arrow {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sir-related-link,
	.sir-related-arrow {
		transition: none;
	}
}
