/* DWYPD Media Kit */
.dwypd-mk { margin: 32px 0; }
.dwypd-mk__heading { font-size: 22px; margin: 0 0 16px; }

.dwypd-mk__list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(var(--dwypd-mk-min, 220px), 1fr));
	gap: 20px;
}

.dwypd-mk__item {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e3e7e4;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
	transition: transform .2s, box-shadow .2s;
}
.dwypd-mk__item::before,
.dwypd-mk__item::marker { content: none !important; }
.dwypd-mk__item:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

.dwypd-mk__preview {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f4f6f5;
	aspect-ratio: 4 / 3;
	margin: 0 0 12px;
	overflow: hidden;
}
.dwypd-mk__preview img {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	height: 100% !important;
	object-fit: contain;
	margin: 0 !important;
}
.dwypd-mk__filetype {
	font-weight: 700;
	font-size: 22px;
	color: #066a35;
	letter-spacing: .05em;
}

.dwypd-mk__title {
	display: block;
	padding: 0 14px;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.3;
	color: #1c1c1c;
}
.dwypd-mk__meta {
	display: block;
	padding: 4px 14px 12px;
	font-size: 13px;
	color: #6b7770;
}

.dwypd-mk__btn {
	margin: auto 14px 14px;
	padding: 10px 14px;
	text-align: center;
	background: #066a35;
	color: #fff !important;
	font-weight: 600;
	border-radius: 6px;
	text-decoration: none !important;
	transition: background .2s;
}
.dwypd-mk__btn:hover,
.dwypd-mk__btn:focus { background: #04512a; }
.dwypd-mk__btn:focus-visible,
.dwypd-mk__preview:focus-visible { outline: 3px solid #fdb913; outline-offset: 2px; }

@media (max-width: 480px) {
	.dwypd-mk__list { grid-template-columns: 1fr; }
}
