/* PetoFast Events: uses the theme's design tokens, with fallbacks so it also looks right alone. */
.pfev, .pfev-home { --o: var(--o, #ff7a1a); }
.ev-wrap { max-width: 1100px; margin: 0 auto; padding: 18px 16px 40px; color: var(--ink, #2b2118); }
.ev-narrow { max-width: 680px; }
.ev-head { margin: 4px 0 16px; }
.ev-head h1 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 6px; }
.ev-muted { color: var(--mut, #7a6a5c); }
.ev-small { font-size: 13px; }
.ev-center { text-align: center; }
.ev-card { background: var(--card, #fff); border: 1.5px solid var(--line, #f0e2cf); border-radius: var(--r, 16px); padding: 18px; margin: 0 0 16px; box-shadow: var(--shadow, 0 6px 18px rgba(120, 60, 0, .08)); }
.ev-card h2 { font-size: 20px; margin: 18px 0 8px; }
.ev-card h2:first-child { margin-top: 0; }
.ev-crumbs { font-size: 13px; color: var(--mut, #7a6a5c); margin-bottom: 10px; }

/* buttons, inputs */
.ev-btn { display: inline-block; padding: 11px 18px; border: 0; border-radius: 999px; background: var(--o, #ff7a1a); color: #fff; font: 800 15px/1.2 var(--body, system-ui); text-decoration: none; cursor: pointer; }
.ev-btn:hover { background: var(--o-d, #e5620a); color: #fff; }
.ev-btn-ghost { background: #fff; color: var(--ink, #2b2118); border: 1.5px solid var(--line, #f0e2cf); }
.ev-btn-ghost:hover { background: var(--cream, #fff8ee); color: var(--ink, #2b2118); }
.ev-btn-wa { background: #1faa59; }
.ev-btn-wa:hover { background: #178a47; }
.ev-btn-danger { background: #fff; color: #b42318; border: 1.5px solid #f3c4bf; }
.ev-btn-danger:hover { background: #fdecea; color: #b42318; }
.ev-link { background: none; border: 0; padding: 0; color: var(--mut, #7a6a5c); text-decoration: underline; cursor: pointer; font: inherit; }
.ev-label { display: block; margin: 12px 0 4px; font-weight: 800; font-size: 14px; }
.ev-label small { font-weight: 600; color: var(--mut, #7a6a5c); }
.ev-input { width: 100%; padding: 11px 12px; border: 1.5px solid var(--line, #f0e2cf); border-radius: 12px; background: #fff; font: 600 16px/1.3 var(--body, system-ui); color: inherit; }
.ev-input:focus { outline: 3px solid var(--o, #ff7a1a); outline-offset: 1px; }
.ev-error { margin: 10px 0; padding: 9px 12px; border-radius: 10px; background: #fdecea; color: #b42318; font-weight: 700; }
.ev-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ev-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.ev-radios, .ev-checks { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; }
.ev-radio, .ev-check { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1.5px solid var(--line, #f0e2cf); border-radius: 999px; background: #fff; font-weight: 700; cursor: pointer; }
.ev-agree { display: flex; align-items: flex-start; border-radius: 12px; margin: 16px 0 8px; font-weight: 600; }
.ev-map { height: 260px; margin: 8px 0; border-radius: 12px; border: 1.5px solid var(--line, #f0e2cf); }
.ev-photo img { max-width: 220px; border-radius: 12px; display: block; margin-bottom: 8px; }
.ev-form .ev-btn[type=submit] { margin-top: 6px; }

/* events list and cards (also used on the home page) */
.ev-filters { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1fr auto; gap: 8px; margin: 0 0 12px; }
.ev-where-note { margin: 0 0 12px; font-size: 14px; }
.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.pfev-card { display: flex; flex-direction: column; overflow: hidden; background: var(--card, #fff); border: 1.5px solid var(--line, #f0e2cf); border-radius: var(--r, 16px); box-shadow: var(--shadow, 0 6px 18px rgba(120, 60, 0, .08)); }
.pfev-card.is-featured { border-color: var(--y, #ffc93c); }
.pfev-media { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #ffe4c7, #ffd0df); overflow: hidden; }
.pfev-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pfev-art { position: absolute; inset: 0; display: grid; place-items: center; font-size: 64px; }
.pfev-date { position: absolute; left: 10px; top: 10px; display: flex; flex-direction: column; align-items: center; min-width: 46px; padding: 5px 8px; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); line-height: 1; }
.pfev-date b { font: 800 20px/1 var(--head, system-ui); color: var(--ink, #2b2118); }
.pfev-date i { font: 800 11px/1.2 var(--body, system-ui); font-style: normal; color: var(--o-d, #e5620a); letter-spacing: .5px; }
.pfev-pill { position: absolute; right: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; font: 800 12px/1.2 var(--body, system-ui); color: #fff; }
.pfev-pill.is-free { background: var(--t, #14b8a6); }
.pfev-pill.is-paid { background: var(--pk, #ff5c8a); }
.pfev-body { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 14px; flex: 1; }
.pfev-type { font: 800 12px/1.2 var(--body, system-ui); color: var(--o-d, #e5620a); text-transform: uppercase; letter-spacing: .4px; }
.pfev-body h3 { font-size: 18px; margin: 2px 0 2px; }
.pfev-body h3 a { color: inherit; text-decoration: none; }
.pfev-when { margin: 0; font-weight: 800; font-size: 14px; }
.pfev-where { margin: 0; font-size: 13px; color: var(--mut, #7a6a5c); }
.pfev-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.pfev-count { font-size: 13px; font-weight: 800; color: var(--t, #0f9d8a); }
.pfev-view { font-weight: 800; font-size: 14px; }

/* home section: a swipe row on phones */
.pfev-home { padding: 8px 0 18px; }
.pfev-sub { margin: -6px 0 14px; color: var(--mut, #7a6a5c); }
.pfev-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 78%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.pfev-track > .pfev-card { scroll-snap-align: start; }
.pfev-host { margin: 10px 0 0; font-weight: 700; }
@media (min-width: 720px) { .pfev-track { grid-auto-columns: calc((100% - 28px) / 3); } }
@media (min-width: 1100px) { .pfev-track { grid-auto-columns: calc((100% - 42px) / 4); } }

/* one event */
.ev-event { padding: 0; overflow: hidden; }
.ev-cover { position: relative; aspect-ratio: 16 / 7; background: linear-gradient(135deg, #ffe4c7, #ffd0df); }
.ev-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-art { position: absolute; inset: 0; display: grid; place-items: center; font-size: 84px; }
.ev-main { padding: 16px 18px 18px; }
.ev-main h1 { font-size: clamp(24px, 4vw, 34px); margin: 4px 0 10px; }
.ev-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.ev-chip { padding: 3px 10px; border-radius: 999px; background: var(--cream, #fff8ee); border: 1px solid var(--line, #f0e2cf); font: 800 12px/1.4 var(--body, system-ui); }
.ev-chip.is-free { background: #e1f6f3; border-color: #b6e8e1; color: #0b6b60; }
.ev-chip.is-paid { background: #ffe7ee; border-color: #ffc4d4; color: #a3214a; }
.ev-chip.is-ok { background: #e7f6e9; border-color: #bfe5c4; color: #1d6b2b; }
.ev-facts { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 7px; font-weight: 700; }
.ev-facts li { display: flex; gap: 8px; }
.ev-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.ev-interest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 4px; }
.ev-tap { padding: 11px 16px; border: 1.5px solid var(--line, #f0e2cf); border-radius: 999px; background: #fff; font: 800 15px/1.2 var(--body, system-ui); cursor: pointer; }
.ev-tap.is-on { background: var(--o, #ff7a1a); border-color: var(--o, #ff7a1a); color: #fff; }
.ev-tap:disabled { opacity: .6; cursor: progress; }
.ev-count { font-weight: 800; color: var(--t, #0f9d8a); }
.ev-desc p { margin: 0 0 .8em; }
.ev-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; }
.ev-banner { padding: 11px 14px; border-radius: 12px; margin: 0 0 12px; font-weight: 600; }
.ev-banner.is-wait { background: #fff6e0; border: 1.5px solid #f6c453; }
.ev-banner.is-bad { background: #fdecea; border: 1.5px solid #f3c4bf; color: #8a1c12; }

/* my events */
.ev-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.ev-row h3 { margin: 4px 0; font-size: 18px; }
.ev-row p { margin: 2px 0; }
.ev-row-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-status { display: inline-block; padding: 2px 10px; border-radius: 999px; font: 800 12px/1.5 var(--body, system-ui); background: #eee; }
.ev-status.is-live { background: #e1f6f3; color: #0b6b60; }
.ev-status.is-pending { background: #fff6e0; color: #8a5a00; }
.ev-status.is-rejected, .ev-status.is-cancelled { background: #fdecea; color: #8a1c12; }

@media (max-width: 720px) {
	.ev-filters { grid-template-columns: 1fr 1fr; }
	.ev-filters input[type=search] { grid-column: 1 / -1; }
	.ev-two { grid-template-columns: 1fr; }
}
