/* =========================================================
   Dotyrich — Transactions Showcase (Grid) widget
   Scope: .dr-tgrid-wrap, .dr-tgrid
   ========================================================= */

.dr-tgrid-wrap { background: var(--dr-bg); }

.dr-tgrid {
	position: relative;
	background: linear-gradient(180deg, #2c5f66 0%, #234e54 50%, #2c5f66 100%);
	padding: 96px 32px;
	color: #ffffff;
	overflow: hidden;
}

.dr-tgrid::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 80px;
	background: linear-gradient(180deg, rgba(63, 123, 131, 0.06) 0%, transparent 100%);
	pointer-events: none;
}

.dr-tgrid__inner {
	max-width: 1440px;
	margin: 0 auto;
	position: relative;
}

.dr-tgrid__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 24px;
	margin-bottom: 56px;
}

.dr-tgrid__title {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 700;
	color: #ffffff;
	margin: 0;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.dr-tgrid__title.is-serif {
	font-family: 'Source Serif Pro', 'Playfair Display', Georgia, 'Times New Roman', serif !important;
	font-weight: 600;
	letter-spacing: -0.005em;
}

.dr-tgrid__all-btn {
	display: inline-flex;
	align-items: center;
	padding: 14px 30px;
	background: transparent;
	color: #ffffff !important;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none !important;
	border: 1.5px solid rgba(255, 255, 255, 0.7);
	border-radius: 999px;
	transition: var(--dr-transition);
	white-space: nowrap;
}

.dr-tgrid__all-btn:hover {
	background: var(--dr-accent);
	border-color: var(--dr-accent);
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(63, 123, 131, 0.4);
}

.dr-tgrid__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

@media (max-width: 1024px) {
	.dr-tgrid { padding: 64px 24px; }
	.dr-tgrid__header { margin-bottom: 40px; }
	.dr-tgrid__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
	.dr-tgrid { padding: 56px 20px; }
	.dr-tgrid__header { flex-direction: column; align-items: flex-start; }
	.dr-tgrid__grid { grid-template-columns: 1fr; gap: 16px; }
}
