/* Uvertura Mall – șablon articol eveniment (inc/evenimente.php). Se încarcă doar pe articolele cu date de eveniment. */

body.uvm-ev-single {
	--uvm-navy:#213d65; --uvm-ink:#14213d; --uvm-blue:#1b6fb0; --uvm-sky:#2ea3f2; --uvm-muted:#5b6b82;
	--uvm-line:#dfe5ee; --uvm-soft:#f4f6fa; --uvm-yellow:#ffd400;
	--uvm-display:'Barlow Condensed','Oswald','Arial Narrow',Impact,sans-serif;
	--uvm-body:'Open Sans',Helvetica,Arial,sans-serif;
}

/* Layout-ul Theme Builder (secțiune + rând + Post Content) devine full-width; lățimile le controlează șablonul */
body.uvm-ev-single .et-l--body .et_pb_section { padding:0 !important; background:transparent !important; }
body.uvm-ev-single .et-l--body .et_pb_row { width:100% !important; max-width:none !important; padding:0 !important; }
body.uvm-ev-single .et-l--body .et_pb_post_content { margin:0 !important; }
/* banda de titlu din header-ul Theme Builder: titlul e acum în hero-ul șablonului */
body.uvm-ev-single .et-l--header .et_pb_section:has(h1) { display:none !important; }

/* reset tipografie Divi în interiorul șablonului */
.uvm-ev { font-family:var(--uvm-body); color:var(--uvm-ink); font-size:16px; line-height:1.65; }
.uvm-ev *, .uvm-ev *::before, .uvm-ev *::after { box-sizing:border-box; }
.uvm-ev p { padding:0 !important; margin:0; }
.uvm-ev h1, .uvm-ev h2, .uvm-ev h3 { font-family:var(--uvm-display) !important; color:var(--uvm-navy) !important; padding:0 !important; margin:0; text-wrap:balance; letter-spacing:0; }
.uvm-ev ul, .uvm-ev ol { list-style:none !important; padding:0 !important; margin:0; line-height:inherit; }
.uvm-ev li { margin:0; }
.uvm-ev a { text-decoration:none; }
.uvm-ev svg.uvm-ev-ic { width:18px; height:18px; flex:0 0 auto; fill:none; stroke:var(--uvm-blue); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.uvm-ev-wrap { max-width:1180px; margin:0 auto; padding-left:max(20px, env(safe-area-inset-left, 0px)); padding-right:max(20px, env(safe-area-inset-right, 0px)); }

/* ---------- hero ---------- */
.uvm-ev-hero { background:var(--uvm-soft); border-bottom:1px solid var(--uvm-line); }
.uvm-ev-hero .uvm-ev-wrap { padding-top:28px; padding-bottom:52px; }
.uvm-ev-crumbs { font-size:13px; color:var(--uvm-muted); display:flex; flex-wrap:wrap; gap:8px; margin-bottom:26px; }
.uvm-ev-crumbs a { color:var(--uvm-blue) !important; }
.uvm-ev-hero-grid { display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:52px; align-items:center; }
.uvm-ev-hero-grid.no-poster { grid-template-columns:minmax(0,1fr); }
.uvm-ev-poster { margin:0; border-radius:8px; overflow:hidden; box-shadow:0 18px 40px rgba(20,33,61,.22); background:var(--uvm-line); max-width:100%; }
.uvm-ev-poster.is-port { aspect-ratio:2/3; }
.uvm-ev-poster.is-sq { aspect-ratio:1/1; }
.uvm-ev-poster.is-land { aspect-ratio:3/2; }
.uvm-ev-poster img { width:100%; height:100%; object-fit:cover; display:block; }
.uvm-ev-poster.is-tall img { object-position:50% 0 !important; }
.uvm-ev-tags { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.uvm-ev-tag { font-size:11.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; padding:5px 10px; border-radius:4px; background:#fff; color:var(--uvm-navy); border:1px solid var(--uvm-line); line-height:1.4; }
.uvm-ev-tag.is-type { background:var(--uvm-yellow); color:#000; border-color:var(--uvm-yellow); }
.uvm-ev-tag.is-free { background:var(--uvm-navy); color:#fff; border-color:var(--uvm-navy); }
.uvm-ev h1.uvm-ev-title { font-size:58px; line-height:1; font-weight:700; text-transform:uppercase; }
.uvm-ev p.uvm-ev-lead { font-size:18px; color:#33425c; margin-top:18px; max-width:52ch; }

.uvm-ev-ticket { margin-top:28px; display:grid; grid-template-columns:auto minmax(0,1fr); background:#fff; border:1px solid var(--uvm-line); border-radius:10px; overflow:hidden; max-width:560px; }
.uvm-ev-cal { background:var(--uvm-navy); color:#fff; padding:16px 22px; text-align:center; display:grid; align-content:center; justify-items:center; position:relative; min-width:110px; }
.uvm-ev-cal::after { content:""; position:absolute; right:-7px; top:50%; width:14px; height:14px; border-radius:50%; background:var(--uvm-soft); transform:translateY(-50%); }
.uvm-ev-cal small { font:600 13px/1.4 var(--uvm-body); letter-spacing:.14em; text-transform:uppercase; opacity:.8; }
.uvm-ev-cal strong { font:700 54px/.95 var(--uvm-display); font-variant-numeric:tabular-nums; white-space:nowrap; }
.uvm-ev-cal strong.is-range { font-size:40px; line-height:1.1; }
.uvm-ev-cal strong.is-span { font-size:30px; line-height:1.1; text-transform:uppercase; }
.uvm-ev-cal em { font:700 18px/1.3 var(--uvm-display); font-style:normal; letter-spacing:.12em; text-transform:uppercase; }
.uvm-ev .uvm-ev-cal svg.uvm-ev-ic { width:40px; height:40px; margin:6px 0; stroke:var(--uvm-yellow); stroke-width:1.6; }
.uvm-ev .uvm-ev-facts { padding:14px 22px 14px 26px !important; display:grid; gap:8px; border-left:2px dashed var(--uvm-line); align-content:center; }
.uvm-ev-facts li { display:grid; grid-template-columns:22px minmax(0,1fr); gap:10px; align-items:start; font-size:15px; line-height:1.5; }
.uvm-ev-facts svg.uvm-ev-ic { margin-top:3px; }
.uvm-ev-facts b { color:var(--uvm-navy); font-variant-numeric:tabular-nums; }
.uvm-ev-facts span { color:var(--uvm-muted); display:block; font-size:13.5px; line-height:1.4; }

/* ---------- corp ---------- */
.uvm-ev-body .uvm-ev-wrap { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:56px; padding-top:44px; padding-bottom:24px; }
.uvm-ev-main { min-width:0; max-width:680px; }
.uvm-ev h2.uvm-ev-h2 { font-size:30px; line-height:1.1; font-weight:700; text-transform:uppercase; margin:34px 0 16px; display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 12px; }
.uvm-ev-main > h2.uvm-ev-h2:first-child { margin-top:0; }
.uvm-ev h2.uvm-ev-h2 small { font:600 13px var(--uvm-body); color:var(--uvm-muted); text-transform:none; }
.uvm-ev-text p { margin:0 0 16px; }
.uvm-ev-text a { color:var(--uvm-blue); text-decoration:underline; }
.uvm-ev-text img { border-radius:8px; height:auto; }

.uvm-ev-prog { display:grid; }
.uvm-ev-prog > li { display:grid; grid-template-columns:118px 20px minmax(0,1fr); gap:0 16px; }
.uvm-ev-time { font:700 20px/1.2 var(--uvm-display); color:var(--uvm-navy); font-variant-numeric:tabular-nums; padding-top:2px; text-align:right; }
.uvm-ev-dot { position:relative; }
.uvm-ev-dot::before { content:""; position:absolute; left:9px; top:0; bottom:0; width:2px; background:var(--uvm-line); }
.uvm-ev-dot::after { content:""; position:absolute; left:3px; top:6px; width:14px; height:14px; border-radius:50%; background:#fff; border:3px solid var(--uvm-sky); }
.uvm-ev-prog > li:first-child .uvm-ev-dot::before { top:10px; }
.uvm-ev-prog > li:last-child .uvm-ev-dot::before { bottom:auto; height:10px; }
.uvm-ev-step { padding-bottom:24px; }
.uvm-ev .uvm-ev-step h3 { font-size:22px; font-weight:700; text-transform:uppercase; line-height:1.15; }
.uvm-ev .uvm-ev-step p { margin-top:4px; color:#3c4a62; font-size:15px; }
.uvm-ev-who { display:inline-block; margin-top:6px; font-size:12.5px; font-weight:600; color:var(--uvm-blue); background:#eaf4fc; border-radius:4px; padding:2px 8px; }

.uvm-ev .uvm-ev-chips { display:flex; flex-wrap:wrap; gap:8px; }
.uvm-ev-chips li { font-size:14px; font-weight:600; border:1px solid var(--uvm-line); background:var(--uvm-soft); border-radius:999px; padding:5px 14px; color:var(--uvm-navy); }

.uvm-ev .uvm-ev-checks { display:grid; gap:10px; }
.uvm-ev-checks li { display:grid; grid-template-columns:26px minmax(0,1fr); gap:10px; align-items:start; }
.uvm-ev-checks li::before { content:""; width:22px; height:22px; border-radius:50%; margin-top:2px; background:#eaf4fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b6fb0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }

.uvm-ev .uvm-ev-steps { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:12px; counter-reset:uvmst; }
.uvm-ev-steps li { counter-increment:uvmst; border:1px solid var(--uvm-line); border-radius:10px; padding:16px; display:grid; gap:4px; align-content:start; }
.uvm-ev-steps li::before { content:counter(uvmst); font:700 30px/1 var(--uvm-display); color:var(--uvm-sky); }
.uvm-ev-steps b { font:700 20px/1.1 var(--uvm-display); text-transform:uppercase; color:var(--uvm-navy); }
.uvm-ev-steps span { font-size:14px; color:#3c4a62; line-height:1.45; }
.uvm-ev p.uvm-ev-ext { margin-top:14px; }
.uvm-ev-ext a { color:var(--uvm-blue) !important; font-weight:700; }

.uvm-ev-prizes { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:12px; }
.uvm-ev-prize { background:var(--uvm-navy); color:#fff; border-radius:10px; padding:18px; display:grid; gap:2px; }
.uvm-ev-prize small { font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--uvm-yellow); }
.uvm-ev-prize b { font:700 24px/1.1 var(--uvm-display); text-transform:uppercase; }
.uvm-ev-prize span { font-size:14px; opacity:.85; }

.uvm-ev-callout { margin:26px 0 8px; background:var(--uvm-navy); color:#fff; border-radius:10px; padding:22px 26px; display:grid; grid-template-columns:auto minmax(0,1fr); gap:18px; align-items:center; }
.uvm-ev .uvm-ev-callout svg.uvm-ev-ic { width:40px; height:40px; stroke:var(--uvm-yellow); stroke-width:1.6; }
.uvm-ev-callout strong { font:700 26px/1.05 var(--uvm-display); text-transform:uppercase; display:block; }
.uvm-ev-callout span { opacity:.85; font-size:14.5px; }
.uvm-ev-hash { display:flex; flex-wrap:wrap; gap:8px 14px; margin-top:22px; font-size:14px; font-weight:600; color:var(--uvm-blue); }

/* ---------- coloana dreaptă ---------- */
.uvm-ev-side { min-width:0; }
.uvm-ev-side-in { position:sticky; top:120px; display:grid; gap:16px; }
.uvm-ev-card { border:1px solid var(--uvm-line); border-radius:10px; padding:20px; min-width:0; background:#fff; }
.uvm-ev-card.is-hl { border-color:var(--uvm-navy); box-shadow:inset 0 0 0 1px var(--uvm-navy); }
.uvm-ev .uvm-ev-card h3 { font-size:18px; text-transform:uppercase; font-weight:700; letter-spacing:.04em; margin-bottom:12px; line-height:1.2; }
.uvm-ev-people { display:grid; gap:10px; }
.uvm-ev-people > div { display:grid; grid-template-columns:40px minmax(0,1fr); gap:12px; align-items:center; }
.uvm-ev-people i { width:40px; height:40px; border-radius:50%; background:var(--uvm-soft); border:1px solid var(--uvm-line); display:grid; place-items:center; font:700 16px var(--uvm-display); font-style:normal; color:var(--uvm-navy); }
.uvm-ev-people span { font-size:13px; color:var(--uvm-muted); line-height:1.35; }
.uvm-ev-people b { display:block; color:var(--uvm-navy); font-size:15px; }
.uvm-ev p.uvm-ev-org { margin-top:14px; padding-top:12px !important; border-top:1px solid var(--uvm-line); font-size:13.5px; color:var(--uvm-muted); }
.uvm-ev p.uvm-ev-org.is-solo { margin-top:0; padding-top:0 !important; border-top:0; font-size:15px; }
.uvm-ev-org b { color:var(--uvm-navy); }
.uvm-ev-contact { display:grid; gap:12px; }
.uvm-ev-contact > div { display:grid; grid-template-columns:22px minmax(0,1fr); gap:10px; align-items:start; }
.uvm-ev-contact svg.uvm-ev-ic { margin-top:3px; }
.uvm-ev-contact span { font-size:12.5px; color:var(--uvm-muted); display:block; line-height:1.3; }
.uvm-ev-contact b, .uvm-ev-contact b a { color:var(--uvm-navy) !important; font-size:15px; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.uvm-ev-files { display:grid; gap:12px; }
.uvm-ev-file { display:grid; grid-template-columns:40px minmax(0,1fr); gap:12px; align-items:center; }
.uvm-ev-file i { width:40px; height:48px; border-radius:4px; background:#c8102e; color:#fff; font:700 11px var(--uvm-body); font-style:normal; display:grid; place-items:end center; padding-bottom:7px; }
.uvm-ev-file b { display:block; color:var(--uvm-navy); font-size:14.5px; line-height:1.3; }
.uvm-ev-file:hover b { color:var(--uvm-blue); }
.uvm-ev-file span span { font-size:12.5px; color:var(--uvm-muted); }
.uvm-ev-share { display:flex; gap:8px; }
.uvm-ev-share a { flex:1; display:flex; align-items:center; justify-content:center; gap:6px; height:40px; border:1px solid var(--uvm-line); border-radius:8px; font-size:13px; font-weight:600; color:var(--uvm-navy) !important; transition:border-color .15s; }
.uvm-ev-share a:hover { border-color:var(--uvm-navy); }
.uvm-ev-share svg.uvm-ev-ic { width:16px; height:16px; stroke:var(--uvm-navy); }

/* ---------- alte evenimente ---------- */
.uvm-ev-more { background:var(--uvm-soft); border-top:1px solid var(--uvm-line); margin-top:40px; }
.uvm-ev-more .uvm-ev-wrap { padding-top:44px; padding-bottom:52px; }
.uvm-ev-more-head { display:flex; justify-content:space-between; align-items:baseline; gap:16px; margin-bottom:22px; }
.uvm-ev .uvm-ev-more-head h2 { font-size:32px; font-weight:700; text-transform:uppercase; line-height:1.1; }
.uvm-ev-more-head a { color:var(--uvm-blue) !important; font-weight:700; font-size:14.5px; }
.uvm-ev-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.uvm-ev-mini { background:#fff; border:1px solid var(--uvm-line); border-radius:10px; overflow:hidden; display:grid; grid-template-columns:110px minmax(0,1fr); transition:border-color .15s, box-shadow .15s; }
.uvm-ev-mini:hover { border-color:var(--uvm-navy); box-shadow:0 8px 22px rgba(20,33,61,.1); }
.uvm-ev-mini img { width:100%; height:100%; aspect-ratio:2/3; object-fit:cover; display:block; }
.uvm-ev-mini > div { padding:14px 16px; display:flex; flex-direction:column; gap:6px; min-width:0; }
.uvm-ev-mini small { font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--uvm-muted); }
.uvm-ev .uvm-ev-mini h3 { font-size:21px; text-transform:uppercase; line-height:1.05; }
.uvm-ev-mini b { margin-top:auto; font-size:13.5px; color:var(--uvm-blue); }

/* ---------- tabletă ---------- */
@media (max-width:980px) {
	.uvm-ev h1.uvm-ev-title { font-size:46px; }
	.uvm-ev-hero-grid { gap:32px; }
	.uvm-ev-body .uvm-ev-wrap { grid-template-columns:minmax(0,1fr); gap:28px; }
	.uvm-ev-side-in { position:static; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); }
	.uvm-ev-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
	.uvm-ev-grid > :nth-child(3) { display:none; }
}

/* ---------- telefon ---------- */
@media (max-width:640px) {
	.uvm-ev-wrap { padding-left:max(18px, env(safe-area-inset-left, 0px)); padding-right:max(18px, env(safe-area-inset-right, 0px)); }
	.uvm-ev-hero .uvm-ev-wrap { padding-top:14px; padding-bottom:28px; }
	.uvm-ev-crumbs { margin-bottom:14px; font-size:12.5px; }
	.uvm-ev-cur { display:none; }
	.uvm-ev-hero-grid { grid-template-columns:minmax(0,1fr); gap:22px; }
	.uvm-ev-hero-txt { order:-1; }
	.uvm-ev-poster.is-port { aspect-ratio:4/5; }
	.uvm-ev-poster.is-port img { object-position:50% 18%; }
	.uvm-ev h1.uvm-ev-title { font-size:38px; }
	.uvm-ev p.uvm-ev-lead { font-size:16px; margin-top:12px; }
	.uvm-ev-ticket { margin-top:20px; }
	.uvm-ev-cal { padding:12px 14px; min-width:92px; }
	.uvm-ev-cal strong { font-size:42px; }
	.uvm-ev-cal strong.is-range { font-size:30px; }
	.uvm-ev-cal strong.is-span { font-size:24px; }
	.uvm-ev .uvm-ev-facts { padding:12px 14px 12px 18px !important; }
	.uvm-ev-facts li { font-size:14px; }
	.uvm-ev-body .uvm-ev-wrap { padding-top:30px; padding-bottom:8px; }
	.uvm-ev h2.uvm-ev-h2 { font-size:27px; margin-top:28px; }
	.uvm-ev-prog > li { grid-template-columns:20px minmax(0,1fr); gap:0 12px; }
	.uvm-ev-time { grid-column:2; grid-row:1; text-align:left; font-size:18px; }
	.uvm-ev-dot { grid-column:1; grid-row:1 / span 2; }
	.uvm-ev-step { grid-column:2; padding-bottom:22px; }
	.uvm-ev .uvm-ev-step h3 { font-size:20px; }
	.uvm-ev .uvm-ev-steps { grid-template-columns:minmax(0,1fr); }
	.uvm-ev-steps li { grid-template-columns:32px minmax(0,1fr); gap:2px 10px; }
	.uvm-ev-steps li::before { grid-row:1 / span 2; }
	.uvm-ev-callout { padding:18px; gap:14px; }
	.uvm-ev .uvm-ev-callout svg.uvm-ev-ic { width:32px; height:32px; }
	.uvm-ev-callout strong { font-size:22px; }
	.uvm-ev-more { margin-top:28px; }
	.uvm-ev-more .uvm-ev-wrap { padding-top:30px; padding-bottom:36px; }
	.uvm-ev .uvm-ev-more-head h2 { font-size:26px; }
	.uvm-ev-grid { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:12px; margin-left:-18px; margin-right:-18px; padding-left:18px; padding-right:18px; scrollbar-width:none; }
	.uvm-ev-grid > * { flex:0 0 84%; scroll-snap-align:start; }
	.uvm-ev-grid > :nth-child(3) { display:grid; }
}
@media (prefers-reduced-motion:reduce) { .uvm-ev * { transition:none !important; } }
