.filter-panel {
	display: flex;
	width: 100%;
	flex-wrap: wrap;
}

.filter-block {
	flex: 1;
	min-width: 290px;
	padding: 0 10px 10px 0;
}


.catalog-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	gap: 20px;
	max-width: 100%;
	margin: 0 auto;
}

/* Карточка */
.attraction-card {
	position: relative;
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid #ddd;
	box-shadow: 0 10px 20px rgba(0,0,0,0.1);
	transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
		    box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
	cursor: pointer;
}

/* Эффект приподнимания карточки */
.attraction-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.12);
}

/* Изображение внутри карточки */
.card-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Анимация легкого увеличения фото при наведении */
.attraction-card:hover .card-image {
    transform: scale(1.05);
}

/* Текстовый контент */
.card-content {
    padding: 20px;
    background: #ffffff;
    position: relative;
    z-index: 2;
}

.card-location {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-title {
    margin: 8px 0 0 0;
    font-size: 1.3rem;
    color: #2c3e50;
}

/* Контейнер характеристик */
.card-features {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin-top: 0;
	overflow: hidden;
}


/* Элемент характеристики */
.feature-item {
    text-align: center;
    background: #f8fafc;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #edf2f7;
}

.feature-name {
    display: block;
    font-size: 0.75rem;
    color: #a0aec0;
    margin-bottom: 2px;
}

.feature-value {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a5568;
}












.maingrid {
	width: 100%;
	align-items: stretch; 
	justify-content: left;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
	border-bottom: 2px solid #ffd391;
	border-top: 2px solid #ffd391;
	border-radius: 16px;

}

.schem {
	width: 100%;
	text-align: left;
}

.interest_block {
	flex: 5;
	position: relative;
	padding-right: 10px;
	border-right: 16px solid #ffd391;
	border-radius: 0 16px 16px 0;
}


.intinfo {
	width: 100%; 
	text-align: left; 
	font-size: 14px;
}

.intinfo td {
	padding: 0;
}

.intinfo tr {
	border-bottom: 1px dotted #aaa;
}

.interest_image {
	flex: 1;
	min-width: 340px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	aspect-ratio: 16 / 9;
	border-radius: 16px 0 0 16px;
}

.interest_title {
	color: #000;
	font-size: 16px;
	font-weight: bold;
	text-align: left;
	width: 100%;
	padding: 3px 40px 3px 0px;
	border-bottom: 2px solid rgba(255, 105, 0, 1);
}

.interest_button {
	position: absolute;
	top: 0;
	left: 0;
	text-align: right;
	font-weight: bold;
	z-index: 10;
	width: 100%;
	background: rgba(255,255,255,0.5);

}


.edit_card {
	width: 100%;
	text-align: left;
}

.edit_card table {
	width: 100%;
}

.edit_card td {
	padding: 6px;
	text-align: left;
}

.edit_card .card_key {
	text-align: right; 
	width: 400px;
}


.forpost {
	background-color: rgba(255, 255, 255, 1);
	position: relative;
	border: 1px solid #777;
	box-sizing: border-box;
	width: 100%;
	padding: 45px 15px 75px 15px;
	margin-bottom: 10px;
	border-radius: 16px;
	text-align: left;
	position: relative;
	-webkit-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
	-moz-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
	box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
}

@media (max-width: 560px) {
	.filter-block label { width: 100%; }
	.fInput { min-width: 100%; }
	.filter-block { width: 100%; }
}


