/* PU native tp-dynamic-listing — grid/filter wrapper CSS only.
 * The "custom" style's actual card markup comes from each instance's own
 * skin_template (a separate Elementor document with its own generated
 * _elementor_css), so no card-level CSS is needed here for that path —
 * only the container grid and the rebuilt filter bar. The style-2 path
 * (Promotional Landing Home only) gets minimal card CSS below since it
 * has no skin_template of its own.
 */

.pu-tp-dynamic-listing .tp-row.post-inner-loop {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pu-tp-dynamic-listing .grid-item {
	min-width: 0;
}

.pu-tp-dynamic-listing .grid-item[hidden] {
	display: none;
}

/* Filter bar */
.pu-tp-dl-filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

.pu-tp-dl-filter-btn {
	background: #f2f2f2;
	border: 1px solid #ddd;
	border-radius: 20px;
	padding: 6px 16px;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.pu-tp-dl-filter-btn:hover {
	background: #e2e2e2;
}

.pu-tp-dl-filter-btn.is-active {
	background: #16457a;
	border-color: #16457a;
	color: #fff;
}

.pu-tp-dl-filter-count {
	opacity: 0.7;
	font-size: 12px;
}

/* style-2 reduced card (Promotional Landing Home only) */
.pu-tp-dynamic-listing .grid-item .blog-list-content .post-title {
	font-size: 18px;
	margin: 0 0 8px;
}

.pu-tp-dynamic-listing .grid-item .blog-list-content .post-title a {
	text-decoration: none;
	color: inherit;
}

.pu-tp-dynamic-listing .grid-item .pt-plus-button-wrapper .button-link-wrap {
	display: inline-block;
	padding: 8px 18px;
	background: #16457a;
	color: #fff;
	border-radius: 4px;
	text-decoration: none;
	font-size: 14px;
}

.pu-tp-dynamic-listing .grid-item .pt-plus-button-wrapper .button-link-wrap:hover {
	background: #0f3258;
}
