/* =========================================
   Casetă sursă articol – FINAL COMPATIBIL
   ========================================= */

.article-source-box {
	margin-top: 32px;
	padding: 16px 20px;

	width: 100%;
	box-sizing: border-box;

	display: flex;
	align-items: center;
	gap: 16px;

	border-radius: 12px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	background-color: #f7f7f7;
}

/* ---------- LOGO ---------- */

.article-source-box__logo {
	width: 64px;
	height: 64px;
	flex-shrink: 0;

	display: flex;
	align-items: center;
	justify-content: center;

	background-color: #ffffff;
	border-radius: 10px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	overflow: hidden;
}

.article-source-box__logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ---------- TEXT ---------- */

.article-source-box__content {
	display: block;
}

/* rând 1 */
.article-source-box__content strong {
	display: block;
	margin: 0;
	padding: 0;

	font-size: 13px;
	line-height: 14px;
	font-weight: 500;
	color: #666;
}

/* rând 2 */
.article-source-box__content a {
	display: block;
	margin-top: 2px;

	font-size: 18px;
	line-height: 20px;
	font-weight: 600;

	color: #000;
	text-decoration: none;
}

.article-source-box__content a:hover {
	opacity: 0.85;
}

/* ---------- FĂRĂ LOGO ---------- */

.article-source-box.no-logo {
	min-height: 64px;
	align-items: center;
}

/* ---------- DARK MODE ---------- */

body.dark .article-source-box,
body.dark-mode .article-source-box,
body[data-theme="dark"] .article-source-box {
	background-color: #1f1f1f;
	border-color: rgba(255, 255, 255, 0.12);
}

body.dark .article-source-box__logo,
body.dark-mode .article-source-box__logo,
body[data-theme="dark"] .article-source-box__logo {
	background-color: #2a2a2a;
	border-color: rgba(255, 255, 255, 0.12);
}

body.dark .article-source-box__content strong,
body.dark-mode .article-source-box__content strong,
body[data-theme="dark"] .article-source-box__content strong {
	color: #aaaaaa;
}

body.dark .article-source-box__content a,
body.dark-mode .article-source-box__content a,
body[data-theme="dark"] .article-source-box__content a {
	color: #ffffff;
}

/* ---------- MOBILE ---------- */

@media (max-width: 600px) {
	.article-source-box {
		padding: 14px 16px;
		gap: 14px;
	}

	.article-source-box__logo {
		width: 56px;
		height: 56px;
	}

	.article-source-box.no-logo {
		min-height: 56px;
	}

	.article-source-box__content a {
		font-size: 17px;
		line-height: 19px;
	}
}