﻿/* Grid container */
.container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 10px;
	padding: 10px;
/*  background-color: #f5f5f5;
*/
}
/* Individual boxes */
.box {
	/*  background-color: #fff;
*/  text-align: left;
	padding: 10px;
	border: 1px solid #bbb;
	border-radius: 10px;
	box-shadow: 4px 4px 6px rgba(0,0,0,0.5);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.box p:last-of-type {
	margin-top: auto;
}
.box:hover {
}
.box_no_border {
	/*  background-color: #fff;
*/  text-align: center; /*	color: sienna;
*/;
	padding: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
/* Image container to crop images evenly */
.image-container {
	width: 100%;
	height: 180px; /* Fixed height for all images */;
	overflow: hidden;
	border-radius: 8px;
	margin-bottom: 15px;
	position: relative;
}
.image-container img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* Crops while preserving aspect ratio */;
	transition: transform 0.4s ease;
}
/* Zoom effect on hover */
.box:hover .image-container img {
	transform: scale(1.05);
}
/* Button styling */
.btn {
	display: inline-block;
	margin-top: auto; /* Push button to bottom if text varies */;
	padding: 10px 20px;
	background-color: #FAD1A6;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	border-radius: 5px;
	transition: background-color 0.3s ease;
}
.btn:hover {
	background-color: darksalmon;
}
