/* Программа на странице фестиваля (#36): дни карточками на тёплом фоне, время, главное жирным, питание мельче. */

.ev-fest-sec--bands { isolation: isolate; overflow: hidden; }
.ev-fest-sec--bands::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--ev-wash), linear-gradient(180deg, #fff 0, #fff 120px, #fff8ec 60%, #fdeee8 100%); background-blend-mode: soft-light, normal;
}

.ev-fest-days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.ev-fest-day {
	padding: 28px 28px 20px; border-radius: 20px; border-top: 6px solid var(--c, #f4dd8a);
	background: rgba(255, 255, 255, .86); box-shadow: 0 1px 0 var(--wp--preset--color--line);
}
/* Цвет дня — по кругу из программы фестиваля. */
.ev-fest-day:nth-child(3n+1) { --c: #f4dd8a; }
.ev-fest-day:nth-child(3n+2) { --c: #f6a574; }
.ev-fest-day:nth-child(3n+3) { --c: #f8637c; }
.ev-fest-day h3 { font-size: 36px; line-height: 40px; letter-spacing: -.01em; }
.ev-fest-day h3 span {
	display: block; margin-bottom: 4px; letter-spacing: 0;
	font: 600 15px/20px var(--wp--preset--font-family--source-sans-3); color: var(--wp--preset--color--ink-2);
}
.ev-fest-day__note { margin: 6px 0 16px !important; font-size: 16px; line-height: 1.58; color: var(--wp--preset--color--ink-2); }

.ev-fest-item {
	display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px;
	padding: 10px 0; border-top: 1px solid var(--wp--preset--color--line);
	font-size: 17px; line-height: 24px;
}
.ev-fest-item time { font-weight: 600; font-variant-numeric: tabular-nums; }
.ev-fest-item b { font-weight: 400; }
.ev-fest-item--key b { font-weight: 700; }
.ev-fest-item--meal { padding: 6px 0; font-size: 15px; color: var(--wp--preset--color--ink-2); }
.ev-fest-item small { display: block; margin-top: 2px; font-size: 15px; line-height: 21px; color: var(--wp--preset--color--ink-2); }
.ev-fest-item b a { font-weight: inherit; }

@media (max-width: 960px) {
	.ev-fest-days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.ev-fest-days { grid-template-columns: 1fr; }
	.ev-fest-day { padding: 22px 20px 14px; }
}
