/* «Выступить на фестивале» на странице фестиваля (#37) по прототипу 11m (stage11.css, s11-perform): текст слева,
   фото сцены справа, полосы выходят из-за кадра вправо; срок приёма — плашка sun, после срока — серая.
   Окно заявки — компонент плагина сайта (assets/order/order.css). */

.ev-fest-sec--perform { overflow: hidden; }
.ev-fest-perform { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.ev-fest-perform--no-pic { grid-template-columns: minmax(0, 760px); }
.ev-fest-perform__copy { display: grid; gap: 18px; justify-items: start; }
.ev-fest-perform__copy h3 { margin-top: 8px !important; font-size: 22px; line-height: 28px; }
.ev-fest-perform__lead { font-size: var(--wp--preset--font-size--lead); line-height: 1.5; }
.ev-fest-perform__note { color: var(--wp--preset--color--ink-2); font-size: 16px; line-height: 24px; }
.ev-fest-perform__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }

.ev-fest-deadline { padding: 6px 16px; border-radius: 999px; background: var(--wp--preset--color--sun); font-size: 18px; line-height: 26px; }
.ev-fest-deadline b { font-weight: 600; }
.ev-fest-deadline--closed { background: #efe9e3; color: var(--wp--preset--color--ink-2); }

/* Кого ждём: три тёплые карточки в ряд. */
.ev-fest-who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; }
.ev-fest-who li { display: grid; gap: 4px; align-content: start; padding: 14px 16px; border-radius: 16px; background: var(--ev-wash), linear-gradient(135deg, #e4f0d3, #fff0c2); background-blend-mode: soft-light, normal; }
.ev-fest-who li:nth-child(2) { background: var(--ev-wash), linear-gradient(135deg, #ffe0cc, #ffdfe5); }
.ev-fest-who li:nth-child(3) { background: var(--ev-wash), linear-gradient(135deg, #dcf1ef, #e6e3f5); }
.ev-fest-who b { font: 500 20px/26px var(--wp--preset--font-family--jost); }
.ev-fest-who span { font-size: 15px; line-height: 21px; color: var(--wp--preset--color--ink-2); }

/* Что указать: точки цветов радуги по кругу. */
.ev-fest-ticks { display: grid; gap: 6px; }
.ev-fest-ticks li { position: relative; padding-left: 28px; }
.ev-fest-ticks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 14px; border-radius: 50%; background: #85ac63; }
.ev-fest-ticks li:nth-child(4n+2)::before { background: #f4c86f; }
.ev-fest-ticks li:nth-child(4n+3)::before { background: #f38b74; }
.ev-fest-ticks li:nth-child(4n+4)::before { background: #9f99c8; }

.ev-fest-perform__pic { position: relative; isolation: isolate; margin: 0; }
.ev-fest-perform__pic img { display: block; width: 100%; height: auto !important; aspect-ratio: 4 / 5; object-fit: cover; object-position: 45% center; border-radius: 24px; }
.ev-fest-perform__pic > .ev-bands { inset: 40% -50vw -28px -56px; z-index: -1; clip-path: polygon(56px 0, 100% 0, 100% 100%, 0 100%); }

@media (max-width: 1100px) {
	.ev-fest-perform { grid-template-columns: 1fr; gap: 32px; }
	.ev-fest-perform__pic { order: -1; max-width: 520px; }
	.ev-fest-perform__pic img { aspect-ratio: 3 / 2; }
}
@media (max-width: 760px) {
	.ev-fest-who { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.ev-fest-perform__pic > .ev-bands { inset: 40% -50vw -20px -24px; }
}
