/* =========================================================
   Dotyrich — Shared transaction card styles
   Scope: .dr-tcard
   Used by: Transactions Slider, Transactions Showcase
   ========================================================= */

.dr-tcard {
	background: #ffffff;
	display: flex;
	flex-direction: column;
	min-height: 320px;
	height: 100%;
	border-bottom: 3px solid var(--dr-accent);
	transition: var(--dr-transition);
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.dr-tcard:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.dr-tcard__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 32px 28px 24px;
	gap: 14px;
}

/* === Value (Public Finance style) === */
.dr-tcard__value {
	font-size: 0.9375rem;
	color: #1f4248;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.2;
}

/* === Client / Issuer (Public Finance style — accent serif) === */
.dr-tcard__client {
	font-size: clamp(1.125rem, 1.5vw, 1.375rem);
	font-weight: 600;
	color: var(--dr-accent);
	font-family: 'Source Serif Pro', 'Playfair Display', Georgia, 'Times New Roman', serif !important;
	line-height: 1.25;
	margin: 0;
	letter-spacing: -0.005em;
}

/* === Logos (IB style) === */
.dr-tcard__logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 20px;
	min-height: 80px;
	padding: 8px 0;
}

.dr-tcard__logo {
	max-width: 130px;
	max-height: 44px;
	width: auto;
	height: auto;
	object-fit: contain;
	flex: 0 1 auto;
}

/* === Description === */
.dr-tcard__desc {
	font-size: 0.9375rem;
	color: #4a4a4a;
	line-height: 1.55;
	flex: 1;
}

/* === Meta footer === */
.dr-tcard__meta {
	padding: 18px 28px 22px;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	display: flex;
	flex-direction: column;
	gap: 4px;
	background: #fafafa;
}

.dr-tcard__series {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #1f4248;
}

.dr-tcard__role {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #6b6b6b;
}

@media (max-width: 640px) {
	.dr-tcard { min-height: auto; }
	.dr-tcard__body { padding: 28px 24px 20px; }
	.dr-tcard__meta { padding: 16px 24px 20px; }
	.dr-tcard__logo { max-width: 110px; max-height: 38px; }
}
