/* Afisha Cards - улучшенный дизайн */

.afisha-card {
	display: flex;
	flex-direction: column;
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: none !important;
	transition: all 0.3s ease;
	height: 100%;
	background: #F2F2F2 !important;
}

.afisha-card:hover {
	transform: translateY(-4px);
	box-shadow: none !important;
	background: #e8e8e8 !important;
}

/* Image - горизонтальное */
.afisha-card__image {
	position: relative;
	width: 100%;
	padding-top: 56.25%; /* 16:9 aspect ratio - горизонтальное */
	background: #ddd;
	overflow: hidden;
}

.afisha-card__image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Дата поверх фото в виде флажка */
.afisha-card__date-overlay {
	position: absolute;
	top: 0;  /* Вровень с верхом карточки */
	left: 1rem;
	width: 100px;  /* Увеличена ширина */
	height: 130px;  /* Увеличена высота */
	z-index: 2;
}

/* SVG флажок как фон */
.afisha-card__flag-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	fill: #C2871E;
}

/* Контент даты поверх флажка */
.afisha-card__date-content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 0.5rem 0.5rem 1.5rem 0.5rem;
}

.afisha-card__date-day {
	font-size: 2rem;
	font-weight: 900;
	line-height: 1;
	color: #fff;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.afisha-card__date-month {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.95);
	margin-top: 0.125rem;
	letter-spacing: 0.05em;
}

.afisha-card__date-time {
	font-size: 0.875rem;
	font-weight: 600;
	color: #fff;
	margin-top: 0.25rem;
	padding-top: 0.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	width: 100%;
	text-align: center;
}

/* Плашка с множественными датами */
.afisha-card__multiple-dates-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: linear-gradient(135deg, #CE9826, #b8851f);
	color: #fff;
	padding: 0.625rem 1rem;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 0.75rem;
	box-shadow: 0 2px 8px rgba(206, 152, 38, 0.25);
	transition: all 0.3s ease;
}

.afisha-card__multiple-dates-badge svg {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	stroke-width: 2.5;
}

.afisha-card__multiple-dates-badge:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(206, 152, 38, 0.35);
}

.afisha-card__age {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: rgba(0, 0, 0, 0.8);
	color: #fff;
	padding: 0.375rem 0.75rem;
	border-radius: 0.375rem;
	font-size: 0.875rem;
	font-weight: 700;
	backdrop-filter: blur(8px);
	z-index: 2;
}


/* Content */
.afisha-card__content {
	display: flex;
	flex-direction: column;
	padding: 1.25rem;
	gap: 0.75rem;
	flex: 1;
	background: #F2F2F2;
}

.afisha-card__badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.badge {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.75rem;
	border-radius: 0.375rem;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.025em;
}

.badge-premiere {
	background: #CE9826;
	color: #fff;
}

.badge-sale {
	background: #E3342F;
	color: #fff;
}

.badge-genre {
	background: #fff;
	color: #111827;
	border: 1px solid #e5e7eb;
}

.afisha-card__title {
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.4;
	margin: 0;
}

.afisha-card__title a {
	color: #111827;
	text-decoration: none;
	transition: color 0.2s;
}

.afisha-card__title a:hover {
	color: #CE9826;
}

.afisha-card__meta {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	color: #6b7280;
	font-size: 0.875rem;
}

.afisha-card__hall {
	margin: 0;
	display: flex;
	align-items: center;
	font-weight: 500;
	color: #4b5563;
}

/* Footer */
.afisha-card__footer {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-top: auto;
	padding-top: 0.75rem;
}

/* Большая красивая кнопка "Купить билет" */
.afisha-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 1.75rem;
	border-radius: 0.75rem;
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.025em;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.afisha-btn-primary {
	background: linear-gradient(135deg, #CE9826 0%, #a87d1f 100%);
	color: #fff;
	border: none;
}

.afisha-btn-primary:hover {
	background: linear-gradient(135deg, #a87d1f 0%, #8d6a1a 100%);
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(206, 152, 38, 0.4);
}

.afisha-btn-primary:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(206, 152, 38, 0.3);
}

.afisha-btn-disabled {
	background: #e5e7eb;
	color: #9ca3af;
	cursor: not-allowed;
	box-shadow: none;
}

/* Пушкинская карта бейдж - только изображение, без фона */
.afisha-card__pushkin-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: none;
	padding: 0;
	border-radius: 0;
	box-shadow: none;
	transition: opacity 0.3s ease;
	line-height: 0;
}

.afisha-card__pushkin-badge img {
	height: 20px;
	width: auto;
	max-width: 80px;
	object-fit: contain;
	display: block;
}

.afisha-card:hover .afisha-card__pushkin-badge {
	opacity: 0.8;
}

/* Responsive */
@media (max-width: 640px) {
	.afisha-card__content {
		padding: 1rem;
	}
	
	.afisha-card__title {
		font-size: 1rem;
	}
}

