/* TMWD Dog Cards
--------------------------------------------- */

.tmwd-dog-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
}

.tmwd-dog-grid--columns-1 {
	grid-template-columns: 1fr;
}

.tmwd-dog-grid--columns-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tmwd-dog-grid--columns-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tmwd-dog-grid--columns-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tmwd-dog-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(22, 22, 22, 0.14);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tmwd-dog-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.13);
}

.tmwd-dog-card__image {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #e9e9e9;
}

.tmwd-dog-card__featured-image,
.tmwd-dog-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: transform 0.35s ease, filter 0.25s ease, opacity 0.25s ease;
}

.tmwd-dog-card:hover .tmwd-dog-card__featured-image,
.tmwd-dog-card:hover .tmwd-dog-card__image img {
	transform: scale(1.035);
}

.tmwd-dog-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #eeeeee, #d9d9d9);
}

.tmwd-dog-card__badge {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	padding: 8px 11px;
	background: #202020;
	color: #fff;
	font-family: "Open Sans", Arial, sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.tmwd-dog-card--reserved .tmwd-dog-card__badge {
	background: #9b6a12;
}

.tmwd-dog-card--sold .tmwd-dog-card__badge {
	top: 22px;
	right: -46px;
	width: 180px;
	padding: 11px 0;
	background: #b32025;
	font-family: "Bebas Neue", Impact, sans-serif;
	font-size: 27px;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-align: center;
	transform: rotate(45deg);
}

.tmwd-dog-card--coming-soon .tmwd-dog-card__badge {
	background: #555;
}


.tmwd-dog-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px;
}

.tmwd-dog-card__title {
	margin: 0 0 12px !important;
	padding: 0 !important;
	font-family: "Bebas Neue", Impact, sans-serif;
	font-size: clamp(30px, 2vw, 38px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.tmwd-dog-card__title a {
	color: #171717;
	text-decoration: none;
}

.tmwd-dog-card__excerpt {
	margin: 0 0 20px;
	color: #555;
	font-family: "Open Sans", Arial, sans-serif;
	font-size: 14px;
	line-height: 1.65;
}

.tmwd-dog-card__button {
	display: block;
	width: 100%;
	margin-top: auto;
	padding: 13px 16px;
	border: 1px solid #1b1b1b;
	background: #1b1b1b;
	color: #fff !important;
	font-family: "Open Sans", Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 0.2s ease, color 0.2s ease;
}

.tmwd-dog-card__button:hover {
	background: transparent;
	color: #1b1b1b !important;
}

.tmwd-dog-cards__empty {
	padding: 28px;
	border: 1px solid rgba(20, 20, 20, 0.14);
	background: #fff;
	text-align: center;
}

@media (max-width: 1100px) {
	.tmwd-dog-grid,
	.tmwd-dog-grid--columns-3,
	.tmwd-dog-grid--columns-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.tmwd-dog-grid,
	.tmwd-dog-grid--columns-2,
	.tmwd-dog-grid--columns-3,
	.tmwd-dog-grid--columns-4 {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.tmwd-dog-card__content {
		padding: 20px;
	}

	.tmwd-dog-card__title {
		font-size: 34px;
	}
}
