/* EM Group – event pages (project_category archives). Child theme: kallyas-child/em-events.css */
.em-ev{--g:#43ac8c;--dg:#376e64;--c:#ee6649;--cr:#f7f5f4;--t:#3c3c3b;font-family:'Open Sans',sans-serif;color:var(--t)}
.em-ev *{box-sizing:border-box}
.em-ev h1,.em-ev h3,.em-ev .em-ev-k{font-family:Dosis,sans-serif;letter-spacing:0;text-transform:uppercase}
.em-ev-hero{position:relative;min-height:420px;border-radius:0;background:#376e64 center bottom/cover no-repeat;display:flex;align-items:center;overflow:hidden}
.em-ev-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(55,110,100,.75) 0%,rgba(55,110,100,.35) 40%,rgba(55,110,100,0) 70%)}
.em-ev-hero-in{position:relative;padding:56px 6%;max-width:640px;color:#fff}
.em-ev-k{font-size:22px;font-weight:400;margin:0 0 14px;color:#fff}
.em-ev-logo{display:block;height:84px;width:auto;margin:0 0 22px}
.em-ev-hero h1{font-size:40px;line-height:1.1;font-weight:500;margin:0;color:#fff}
.em-ev-facts{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;background:var(--c);color:#fff}
.em-ev-fact{padding:18px 22px;border-left:1px solid rgba(255,255,255,.35)}
.em-ev-fact:first-child{border-left:0}
.em-ev-fact span{display:block;font-family:Dosis,sans-serif;text-transform:uppercase;font-size:13px;opacity:.85;margin-bottom:2px}
.em-ev-fact b{font-family:Dosis,sans-serif;font-weight:600;font-size:19px}
.em-ev .em-ev-facts .em-ev-fact a{color:#fff!important;text-decoration:underline}
.em-ev-intro{display:grid;grid-template-columns:1fr 2fr;gap:48px;padding:56px 0 24px}
.em-ev-intro h3{position:relative;align-self:start;font-size:26px;line-height:1.2;font-weight:500;color:var(--dg);margin:0;padding-left:22px}
.em-ev-intro h3::before{content:"";position:absolute;left:0;top:3px;bottom:3px;width:4px;border-radius:4px;background:var(--c)}  /* rounded like the line in the EM logo */
.em-ev-intro p{font-size:16px;line-height:1.75;margin:0 0 16px;text-align:justify;hyphens:auto;-webkit-hyphens:auto}
.em-ev a:not([class]):not(.em-ev-list a):not(.em-ev-facts a):not(.em-crumbs a){color:var(--c)!important;text-decoration:underline}
.em-ev a:not([class]):not(.em-ev-list a):not(.em-ev-facts a):not(.em-crumbs a):hover{color:var(--dg)!important}
.em-ev-teamtitle{font-size:26px;font-weight:500;color:var(--dg);margin:32px 0 20px}
.em-ev-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(90deg,#376e64,#43ac8c);color:#fff;padding:36px 6%;margin:48px 0}
.em-ev-cta h3{color:#fff;font-size:26px;font-weight:500;margin:0}
.em-ev-cta p{margin:6px 0 0;font-size:15px}
.em-ev-btn{display:inline-block;background:var(--c);color:#fff!important;font-family:Dosis,sans-serif;font-weight:600;text-transform:uppercase;padding:14px 26px;border-radius:5px;text-decoration:none;white-space:nowrap}
.em-ev-more{display:grid;grid-template-columns:1fr 2fr;gap:48px;align-items:start;margin:8px 0 88px}
.em-ev-more h3{font-size:44px;line-height:1.05;font-weight:500;color:var(--dg);margin:0 0 22px}
.em-ev-btn2{display:inline-block;background:var(--c);color:#fff!important;font-family:Dosis,sans-serif;font-weight:600;font-size:17px;letter-spacing:.06em;text-transform:uppercase;padding:16px 34px;border-radius:5px;text-decoration:none}
.em-ev-list{list-style:none;margin:0;padding:0}
.em-ev-list li{border-bottom:1px solid #ddd}
.em-ev-list li:last-child{border-bottom:0}
.em-ev .em-ev-list a{text-decoration:none}
.em-ev-list a{display:grid;grid-template-columns:210px 1fr;gap:24px;align-items:baseline;padding:18px 0;text-decoration:none;color:var(--t)}
.em-ev-list .d{color:#777;font-size:16px}
.em-ev-list .n{font-family:Dosis,sans-serif;font-weight:600;font-size:22px;color:#111}
.em-ev-list .n small{font-family:'Open Sans',sans-serif;font-weight:400;font-size:15px;color:#777;margin-left:10px}
.em-ev-list a:hover .n{color:var(--c)}
@media(max-width:800px){.em-ev-hero{min-height:340px}.em-ev-hero h1{font-size:30px}.em-ev-logo{height:60px}
 .em-ev-facts{grid-template-columns:1fr 1fr;grid-auto-flow:row}.em-ev-fact{border-left:0}.em-ev-fact:nth-child(even){border-left:1px solid rgba(255,255,255,.35)}.em-ev-fact:nth-child(n+3){border-top:1px solid rgba(255,255,255,.35)}.em-ev-fact:last-child:nth-child(odd){grid-column:1/-1}
 .em-ev-intro{grid-template-columns:1fr;gap:20px;padding-top:36px}.em-ev-intro p{text-align:left}
 .em-ev-cta{flex-direction:column;align-items:flex-start}.em-ev-more{grid-template-columns:1fr;gap:20px}.em-ev-more h3{font-size:34px}.em-ev-list a{grid-template-columns:1fr;gap:2px}}
/* Kallyas: description column full width, no extra paragraph spacing */
.kl-portfolio-category-description .em-ev p:empty{display:none}
.em-ev-after{width:100%;clear:both;padding:0;box-sizing:border-box}  /* no own padding: FAQ and Upcoming events line up with the intro */

/* full width hero + facts bar (edge to edge, content aligned with the page) */
.em-ev-hero,.em-ev-facts{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
.em-ev-hero-in{max-width:none;padding:56px max(16px,calc(50vw - 585px))}
.em-ev-hero-in>*{max-width:640px}
.em-ev-facts{padding:0 max(0px,calc(50vw - 600px))}
@media(max-width:800px){.em-ev-hero-in{padding:40px 16px}}

/* H1 = "Meet EM Group at" (small) + event name (large) */
.em-ev-hero h1 .em-ev-k{display:block;margin:0 0 10px;font-size:22px;font-weight:400}
.em-ev-hero h1 .em-ev-name{display:block}

/* Phase 1: no city photo yet → plain EM band (dark green gradient); an inline background-image (city photo) overrides it */
.em-ev-hero{background-image:linear-gradient(115deg,#376e64 35%,#43ac8c 130%)}

/* breadcrumb in the hero: small and functional, not a design element */
.em-ev .em-crumbs{display:flex;flex-wrap:wrap;gap:4px 8px;font:400 12px/1.4 'Open Sans',sans-serif;letter-spacing:.02em;color:rgba(255,255,255,.6);margin:-24px 0 48px}
.em-ev .em-crumbs a{color:rgba(255,255,255,.75)!important;text-decoration:none!important}
.em-ev .em-crumbs a:hover{color:#fff!important;text-decoration:underline!important}
.em-ev .em-crumbs .sep{opacity:.5}
.em-ev .em-crumbs [aria-current]{color:rgba(255,255,255,.6)}
/* stand number (optional fact) and "last updated" (29-10-2026) */
.em-ev-fact:has(> b:empty),.em-ev-fact:not(:has(> b)){display:none}  /* empty fact (e.g. no stand number) is not shown */
.em-ev-fact.em-ev-stand b{font-size:22px;letter-spacing:.02em}
.em-ev .em-ev-intro p.em-ev-updated{margin:14px 0 0;font-size:13px;line-height:1.4;color:#999;text-align:left}
/* FAQ directly under the team grid: the grid already leaves ±60px below the names, so add only the rest of --em-section (30-10-2026) */
.em-ev-after > .em-ev:first-child > .emfaq{margin-top:max(0px,calc(var(--em-section) - 60px))}
