/* Галерея 1 колонка на мобильном и 4 колонки на ПК */

	.gallery-container { 
	padding: 20px; 
}
	.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px;
}

	.card {
	background: #fff; 
	border-radius: 10px; 
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0,0,0,0.30);
	display: flex; 
	flex-direction: column;
}
	.card-img { 
	width: 100%; 
	aspect-ratio: 1/1; 
	object-fit: cover; 
	display: block; 
}
	.card-info {
	padding: 4px; 
	flex-grow: 1;
	display: flex; 
	flex-direction: column; 
	justify-content: space-between;
}
	.card-title { 
	font-weight: 600; 
	margin-bottom: 6px; 
}
	.card-desc { 
	color: #666; 
	font-size: 0.9rem; 
	line-height: 1.3; 
	margin-bottom: 14px; 
	flex-grow: 1; 
}

/* КНОПКА «ПОДРОБНЕЕ» — теперь как пункты меню */

	.btn {
	text-decoration: none;
	display: inline-block;
	padding: 10px 16px;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	color: #333;
	background: transparent;
	cursor: pointer;
	font-size: 0.95rem;
	transition: all 0.2s ease;
	width: 100%;
	text-align: center; /* чтобы текст был по центру кнопки */
}
	.btn:hover {
	border-color: #8b0000;
	color: #8b0000;
	background-color: #fff5f5;
}

/* --- АДАПТИВНОСТЬ --- */

	@media (max-width: 767px) {
	.mobile-toggle { 
	display: flex; 
	align-items: center; 
}
	.nav-links { 
	display: none; 
}
	.dropdown-menu {
        position: fixed;
        top: 64px; 
	left: 50%; 
	transform: translateX(-50%);
        width: 260px; 
	max-width: none; 
	right: auto;
}
	.gallery-container { 
	padding: 16px; 
}
}
