/* Archive produs-creditare — align with site look, smaller titles */

body.post-type-archive-produs-creditare {
	background: #fff;
	color: #172b2a;
}

body.post-type-archive-produs-creditare .bricks-archive-title-wrapper {
	max-width: 1400px;
	margin: 0 auto;
	padding: 64px 24px 20px;
	box-sizing: border-box;
}

body.post-type-archive-produs-creditare .bricks-archive-title-wrapper::before {
	content: "FINANCIARE";
	display: block;
	margin-bottom: 10px;
	font-family: Inter, system-ui, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #2c8b82;
}

body.post-type-archive-produs-creditare .bricks-archive-title-wrapper .title {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 40px;
	font-weight: 600;
	line-height: 1.2;
	color: #123f46;
}

body.post-type-archive-produs-creditare .bricks-archive-title-wrapper .title span {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
}

body.post-type-archive-produs-creditare #brx-content.layout-default {
	background: #dbe6de;
	padding: 30px 0 72px;
}

body.post-type-archive-produs-creditare #brx-content.layout-default > .brxe-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

body.post-type-archive-produs-creditare .brxe-posts .bricks-layout-wrapper {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

body.post-type-archive-produs-creditare .brxe-posts .bricks-layout-item {
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	max-width: none !important;
}

body.post-type-archive-produs-creditare .brxe-posts .bricks-layout-inner {
	position: relative;
	height: 100%;
	background: #fff;
	border-radius: 12px;
	padding: 24px;
	box-sizing: border-box;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

body.post-type-archive-produs-creditare .brxe-posts .bricks-layout-inner:hover {
	box-shadow: 0 8px 24px rgba(18, 63, 70, 0.12);
	transform: translateY(-2px);
}

body.post-type-archive-produs-creditare .brxe-posts .content-wrapper {
	display: flex;
	flex-direction: column;
	gap: 10px;
	height: 100%;
}

body.post-type-archive-produs-creditare .brxe-posts .content-wrapper > h3.dynamic {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
}

body.post-type-archive-produs-creditare .brxe-posts .content-wrapper > h3.dynamic a {
	color: #123f46;
	text-decoration: none;
}

/* Whole card clickable */
body.post-type-archive-produs-creditare .brxe-posts .content-wrapper > h3.dynamic a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: 12px;
}

body.post-type-archive-produs-creditare .brxe-posts .bricks-layout-inner:hover .content-wrapper > h3.dynamic a {
	color: #2c8b82;
}

/* Hide date field (field-id 1) */
body.post-type-archive-produs-creditare .brxe-posts .content-wrapper > .dynamic[data-field-id="1"] {
	display: none !important;
}

body.post-type-archive-produs-creditare .brxe-posts .content-wrapper > .dynamic[data-field-id="2"] {
	margin: 0;
	font-family: Inter, system-ui, sans-serif;
	font-size: 15px;
	line-height: 1.55;
	color: #172b2a;
}

body.post-type-archive-produs-creditare .bricks-pagination {
	display: none !important;
}

@media (max-width: 991px) {
	body.post-type-archive-produs-creditare .brxe-posts .bricks-layout-wrapper {
		grid-template-columns: minmax(0, 1fr);
	}

	body.post-type-archive-produs-creditare .bricks-archive-title-wrapper {
		padding: 48px 16px 16px;
	}

	body.post-type-archive-produs-creditare .bricks-archive-title-wrapper .title {
		font-size: 32px;
	}

	body.post-type-archive-produs-creditare #brx-content.layout-default > .brxe-container {
		padding: 0 16px;
	}
}
