/* İlgili Yazılar - sağ panel arama/seçim listesi (editör) */
.sdb-rp-panel-results {
	list-style: none;
	margin: 6px 0 0;
	padding: 0;
	border: 1px solid #ddd;
	border-radius: 4px;
	max-height: 200px;
	overflow-y: auto;
}

.sdb-rp-panel-result {
	padding: 8px 10px;
	cursor: pointer;
	font-size: 13px;
	border-bottom: 1px solid #eee;
}

.sdb-rp-panel-result:last-child {
	border-bottom: 0;
}

.sdb-rp-panel-result:hover {
	background: #f0f6fc;
}

.sdb-rp-panel-tag {
	color: #b45309;
	font-size: 11px;
	font-weight: 600;
	margin-left: 4px;
}

.sdb-rp-panel-chips {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.sdb-rp-panel-chip {
	display: flex;
	align-items: center;
	gap: 6px;
	background: #f6f7f7;
	border-radius: 4px;
	padding: 6px 8px;
	font-size: 13px;
}

.sdb-rp-panel-chip-title {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sdb-rp-panel-chip-remove {
	background: none;
	border: none;
	cursor: pointer;
	color: #b32d2e;
	font-size: 16px;
	line-height: 1;
	padding: 0 4px;
}

/* İlgili Yazılar - yazı sonu 4x2 izgara (ön yüz) */
.sdb-rp-section {
	margin: 40px 0 8px;
}

.sdb-rp-heading {
	font-size: 20px;
	font-weight: 700;
	color: #14213d;
	margin: 0 0 16px;
}

.sdb-rp-grid {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 18px;
}

.sdb-rp-grid-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	text-decoration: none !important;
	color: inherit;
}

.sdb-rp-grid-thumb {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 10px;
	overflow: hidden;
	background: #eef1f8;
}

.sdb-rp-grid-thumb img {
	width: 100% !important;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.25s ease;
}

.sdb-rp-grid-card:hover .sdb-rp-grid-thumb img {
	transform: scale( 1.05 );
}

.sdb-rp-grid-title {
	margin-top: 10px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	color: #14213d !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media ( max-width: 782px ) {
	.sdb-rp-grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media ( max-width: 480px ) {
	.sdb-rp-grid {
		grid-template-columns: 1fr;
	}
}
