/* Sagra der Cignale — programma e sezioni evento */

.sagra-intro {
	text-align: center;
	margin-bottom: 1.5rem;
}

.sagra-save-date {
	background: rgba(0, 0, 0, 0.35);
	border: 2px solid #4CAF50;
	border-radius: 12px;
	padding: 1.25rem 1.5rem;
	margin: 1.5rem 0 2rem;
	text-align: center;
}

.sagra-save-date__label {
	margin: 0;
	font-size: 0.85em;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: #a8e6a0;
}

.sagra-save-date__dates {
	margin: 0.4rem 0 0;
	font-size: 1.6em;
	font-weight: bold;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.sagra-save-date__place {
	margin: 0.3rem 0 0;
	font-size: 1em;
	opacity: 0.9;
}

.sagra-programma {
	max-width: 900px;
	margin: 0 auto 2rem;
}

.sagra-hero {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.sagra-hero img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.sagra-day {
	background: rgba(0, 0, 0, 0.25);
	border-left: 5px solid #4CAF50;
	border-radius: 12px;
	padding: 1.25rem 1.5rem;
	margin-bottom: 1.5rem;
}

.sagra-day__header {
	margin-bottom: 0.75rem;
}

.sagra-day__date {
	display: inline-block;
	background: #313131;
	color: #4CAF50;
	font-weight: bold;
	font-size: 1.15em;
	padding: 0.4rem 1.2rem;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.sagra-event {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 1rem;
	padding: 1rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.sagra-event:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.sagra-event--sport .sagra-event__time {
	color: #ffd54f;
}

.sagra-event__time {
	font-weight: bold;
	color: #a8e6a0;
	font-size: 0.9em;
	line-height: 1.4;
}

.sagra-event__time small {
	display: block;
	font-weight: normal;
	font-size: 0.85em;
	opacity: 0.85;
}

.sagra-event__body h4 {
	margin: 0 0 0.4rem;
	font-size: 1.1em;
}

.sagra-event__body p {
	margin: 0 0 0.5rem;
}

.sagra-event__images {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 0.5rem;
}

.sagra-event__images img {
	width: 140px;
	height: 140px;
	object-fit: cover;
	border-radius: 8px;
	border: 2px solid rgba(255, 255, 255, 0.2);
	transition: transform 0.2s ease;
}

.sagra-event__images a img {
	display: block;
}

.sagra-event__images img:hover {
	transform: scale(1.05);
}

.sagra-gastro {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
	margin: 1rem 0 1.5rem;
}

.sagra-gastro__card {
	background: rgba(0, 0, 0, 0.2);
	border-radius: 10px;
	padding: 1rem 1.25rem;
}

.sagra-gastro__card h4 {
	margin: 0 0 0.6rem;
	color: #a8e6a0;
	font-size: 1.05em;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	padding-bottom: 0.4rem;
}

.sagra-gastro__card p {
	margin: 0.25rem 0;
	font-size: 0.95em;
}

.sagra-gastro__note {
	text-align: center;
	font-style: italic;
	margin-top: 0.5rem;
}

/* Lotteria */

.sagra-lotteria {
	max-width: 900px;
	margin: 2rem auto;
}

.sagra-lotteria__cta {
	background: rgba(0, 0, 0, 0.35);
	border: 2px solid #ffd54f;
	border-radius: 12px;
	padding: 1.25rem 1.5rem;
	margin-bottom: 2rem;
	text-align: center;
}

.sagra-lotteria__tag {
	margin: 0;
	font-size: 0.8em;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #a8e6a0;
}

.sagra-lotteria__title {
	margin: 0.5rem 0 0;
	font-size: 1.25em;
	font-weight: bold;
}

.sagra-lotteria__subtitle {
	margin: 0.4rem 0 0;
	font-size: 1em;
	color: #ffd54f;
}

.sagra-lotteria__tickets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.sagra-lotteria__tickets img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
	border: 2px solid rgba(255, 213, 79, 0.3);
}

.sagra-lotteria__heading {
	text-align: center;
	margin-bottom: 1.25rem;
}

.sagra-premi {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.sagra-premio {
	display: grid;
	grid-template-columns: 52px 1fr;
	gap: 1rem;
	align-items: start;
	background: rgba(0, 0, 0, 0.2);
	border-radius: 10px;
	padding: 0.85rem 1.1rem;
	border-left: 4px solid rgba(255, 255, 255, 0.15);
}

.sagra-premio--top {
	background: rgba(0, 0, 0, 0.35);
	border-left-color: #ffd54f;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.sagra-premio__rank {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: #313131;
	color: #4CAF50;
	font-weight: bold;
	font-size: 1em;
	border-radius: 50%;
	flex-shrink: 0;
}

.sagra-premio--top .sagra-premio__rank {
	background: #ffd54f;
	color: #313131;
	font-size: 1.05em;
}

.sagra-premio__body {
	min-width: 0;
}

.sagra-premio__desc {
	margin: 0;
	font-size: 0.98em;
	line-height: 1.4;
}

.sagra-premio__sponsor {
	margin: 0.3rem 0 0;
	font-size: 0.85em;
	color: #a8e6a0;
	font-style: italic;
}

@media (max-width: 600px) {
	.sagra-event {
		grid-template-columns: 1fr;
		gap: 0.4rem;
	}

	.sagra-event__time {
		font-size: 1em;
	}

	.sagra-event__images img {
		width: calc(50% - 0.4rem);
		height: auto;
		aspect-ratio: 1;
	}

	.sagra-save-date__dates {
		font-size: 1.3em;
	}
}
