/* ec.css — EverythingCalgary design system.
   Defined once here so every page inherits the same header, type scale and
   palette. The legacy assets/styles.css is 420KB of accreted WAVE edits; this
   is deliberately separate and small so the rollout does not fight it. */

:root{
  --ink:#0B1521; --paper:#fff; --wash:#F4F6F8; --line:#E3E8ED;
  --muted:#5C6B7A; --red:#C8102E; --gold:#B8892B; --radius:14px;
  --shadow:0 2px 8px rgba(11,21,33,.06); --shadow-lg:0 18px 48px rgba(11,21,33,.16);
  --wrap:1240px;
}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);
  font:400 16px/1.6 Inter,system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
h1,h2,h3{font-family:Manrope,Inter,sans-serif;font-weight:800;letter-spacing:-.02em;margin:0}
.lede{color:var(--muted);font-size:14.5px;margin:-8px 0 20px;max-width:74ch}

.prev{background:var(--gold);color:#fff;text-align:center;padding:9px;font-size:13.5px;font-weight:600}

/* utility bar */
.util{background:var(--ink);color:#fff;font-size:13px}
.util .wrap{display:flex;gap:26px;align-items:center;height:38px;overflow-x:auto;scrollbar-width:none}
.util .wrap::-webkit-scrollbar{display:none}
.util b{font-weight:600}
.util a,.util span{white-space:nowrap;opacity:.92}
.util a:hover{opacity:1}
.dot{width:6px;height:6px;border-radius:50%;background:#43D18A;display:inline-block;margin-right:7px}
.dot.warn{background:#F0A02A}

/* header */
header.site{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.94);
  backdrop-filter:saturate(180%) blur(12px);border-bottom:1px solid var(--line)}
.bar{display:flex;align-items:center;gap:28px;height:72px}
.logo{font-family:Manrope;font-weight:800;font-size:21px;letter-spacing:-.03em;white-space:nowrap}
.logo span{color:var(--red)}
nav.main{display:flex;gap:24px;font-size:15px;font-weight:500;flex:1}
nav.main a{padding:6px 0;border-bottom:2px solid transparent;transition:.15s}
nav.main a:hover{border-color:var(--red);color:var(--red)}
.cta{background:var(--ink);color:#fff;padding:11px 18px;border-radius:999px;
  font-size:14px;font-weight:600;white-space:nowrap;transition:.15s}
.cta:hover{background:var(--red)}
.burger{display:none;font-size:24px;background:none;border:0;cursor:pointer}

/* hero */
.hero{display:grid;grid-template-columns:1.55fr 1fr;gap:22px;margin:34px 0 8px}
.lead{position:relative;border-radius:var(--radius);overflow:hidden;min-height:470px;
  display:flex;align-items:flex-end;box-shadow:var(--shadow-lg)}
.lead img,.sc img,.ext img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* Photo overlays need a real tint, not a light wash — Calgary skies are bright
   and white type on a pale sky is unreadable. Gradient + a flat floor tint +
   a soft shadow on the type itself, so it holds up on any photo. */
.lead .scrim{position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(11,21,33,.10) 0%,rgba(11,21,33,.42) 42%,
    rgba(11,21,33,.80) 72%,rgba(11,21,33,.96) 100%)}
.lead .tx{position:relative;padding:38px;color:#fff;
  text-shadow:0 1px 3px rgba(0,0,0,.45),0 2px 18px rgba(0,0,0,.35)}
.lead h1{font-size:clamp(30px,3.6vw,46px);line-height:1.08;margin:12px 0 10px;text-wrap:balance}
.lead p{margin:0;font-size:16px;opacity:.9;max-width:56ch}
.kicker{display:inline-block;background:var(--red);color:#fff;font-size:11px;font-weight:700;
  letter-spacing:.11em;text-transform:uppercase;padding:6px 11px;border-radius:4px}
.side{display:grid;gap:22px}
.sc{position:relative;border-radius:var(--radius);overflow:hidden;min-height:224px;
  display:flex;align-items:flex-end;box-shadow:var(--shadow)}
.sc .scrim{position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(11,21,33,.12) 20%,rgba(11,21,33,.62) 58%,rgba(11,21,33,.95) 100%)}
.sc .tx{position:relative;padding:22px;color:#fff;
  text-shadow:0 1px 3px rgba(0,0,0,.45),0 2px 14px rgba(0,0,0,.3)}
.sc h3{font-size:19px;line-height:1.22;margin-top:9px}

.alert{background:#FDF3E3;border:1px solid #E9C77E;border-left:4px solid var(--gold);
  border-radius:10px;padding:13px 18px;margin:22px 0 0;font-size:14.5px}
.alert b{color:var(--gold)}
.alert a{color:var(--red);font-weight:600}

/* Calgary Now */
.now{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin:26px 0 46px}
.nw{background:var(--wash);border:1px solid var(--line);border-radius:11px;padding:15px 17px;transition:.15s}
.nw:hover{background:#fff;box-shadow:var(--shadow);transform:translateY(-2px)}
.nw .lb{font-size:11px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}
.nw .vl{font-family:Manrope;font-weight:800;font-size:21px;margin-top:5px;letter-spacing:-.02em}
.nw .sb{font-size:12.5px;color:var(--muted);margin-top:2px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* sections */
section{margin:0 0 62px}
.sh{display:flex;align-items:baseline;justify-content:space-between;
  margin-bottom:22px;padding-bottom:14px;border-bottom:2px solid var(--ink)}
.sh h2{font-size:27px}
.sh a{font-size:14px;font-weight:600;color:var(--red);white-space:nowrap;margin-left:16px}
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.card .im{overflow:hidden;border-radius:11px}
.card img{border-radius:11px;aspect-ratio:16/11;object-fit:cover;background:var(--wash);transition:.3s}
.card:hover img{transform:scale(1.03)}
.card h3{font-size:17px;line-height:1.3;margin:12px 0 6px}
.card:hover h3{color:var(--red)}
.meta{font-size:12px;color:var(--muted);font-weight:500}
.tag{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--red)}

/* events */
.ev{display:flex;gap:16px;padding:15px 0;border-bottom:1px solid var(--line);align-items:center}
.ev:hover .evt{color:var(--red)}
.date{flex:0 0 62px;text-align:center;background:var(--ink);color:#fff;border-radius:9px;padding:9px 0}
.date .m{font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;opacity:.75}
.date .d{font-family:Manrope;font-weight:800;font-size:22px;line-height:1.05}
.evt{font-weight:600;font-size:16px;line-height:1.32}
.evm{font-size:13px;color:var(--muted);margin-top:3px}

/* places */
.rail{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.pl{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;transition:.2s}
.pl:hover{box-shadow:var(--shadow-lg);transform:translateY(-3px)}
.pl img{aspect-ratio:3/2;object-fit:cover}
.pl .b{padding:16px 18px 18px}
.pl h3{font-size:17px;line-height:1.25}
.rt{display:flex;align-items:center;gap:7px;margin-top:8px;font-size:13.5px;flex-wrap:wrap}
.stars{color:var(--gold);font-weight:700}

/* news */
.nwrap{display:grid;grid-template-columns:1.15fr 1fr;gap:34px}
.nlead .im{overflow:hidden;border-radius:11px;margin-bottom:12px}
.nlead img{aspect-ratio:16/9;object-fit:cover;transition:.3s}
.nlead:hover img{transform:scale(1.03)}
.nlead h3{font-size:23px;line-height:1.22;margin-top:7px}
.nlead:hover h3{color:var(--red)}
.ni{padding:13px 0;border-bottom:1px solid var(--line)}
.ni a{font-weight:600;font-size:15.5px;line-height:1.38}
.ni:hover a{color:var(--red)}
.ni .s{font-size:12px;color:var(--muted);margin-top:4px}

/* explore tiles */
.ex{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.ex8{grid-template-columns:repeat(4,1fr)}
.ext{position:relative;border-radius:var(--radius);overflow:hidden;height:200px;
  display:flex;align-items:flex-end;box-shadow:var(--shadow)}
.ext img{transition:.4s}
.ext:hover img{transform:scale(1.06)}
.ext .scrim{position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(11,21,33,.18) 25%,rgba(11,21,33,.60) 60%,rgba(11,21,33,.94) 100%)}
.ext .tx{position:relative;padding:18px;color:#fff;
  text-shadow:0 1px 3px rgba(0,0,0,.5),0 2px 12px rgba(0,0,0,.3)}
.ext h3{font-size:18px}
.ext p{margin:3px 0 0;font-size:12.5px;opacity:.85}

/* newsletter */
.nl-band{background:var(--ink);color:#fff;border-radius:var(--radius);
  padding:36px 40px;display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap}
.nl-band h2{font-size:25px;color:#fff}
.nl-band p{margin:7px 0 0;color:rgba(255,255,255,.72);font-size:15px;max-width:52ch}
.nlf{display:flex;gap:9px;flex:0 0 auto}
.nlf input{border:0;border-radius:9px;padding:13px 16px;font-size:15px;flex:1;min-width:0;font-family:inherit}
.nlf button{background:var(--red);color:#fff;border:0;border-radius:9px;
  padding:13px 24px;font-size:15px;font-weight:600;cursor:pointer;font-family:inherit;transition:.15s}
.nlf button:hover{filter:brightness(1.12)}

/* deals */
.dgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.dcard{border:1px solid var(--line);border-radius:11px;padding:15px 17px;transition:.15s;background:#fff}
.dcard:hover{box-shadow:var(--shadow);border-color:var(--red)}
.dcard .n{font-size:14.5px;font-weight:600;margin-top:5px;line-height:1.4}
.dcard b{color:var(--red)}

/* footer */
footer.site{background:var(--ink);color:#fff;padding:52px 0 30px;margin-top:20px}
footer.site h4{font-family:Manrope;font-size:13px;letter-spacing:.08em;
  text-transform:uppercase;margin:0 0 14px;color:#fff}
footer.site a{display:block;padding:5px 0;font-size:14px;color:rgba(255,255,255,.72)}
footer.site a:hover{color:#fff}
.fc{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1fr;gap:34px}
.fb{font-size:14px;color:rgba(255,255,255,.6);line-height:1.7}
.lg{border-top:1px solid rgba(255,255,255,.14);margin-top:34px;padding-top:20px;
  font-size:13px;color:rgba(255,255,255,.5)}

@media(max-width:1020px){
  .hero{grid-template-columns:1fr}.lead{min-height:380px}
  .now{grid-template-columns:repeat(3,1fr)}
  .grid4,.ex,.ex8{grid-template-columns:repeat(2,1fr)}
  .rail,.dgrid{grid-template-columns:1fr 1fr}
  .nwrap{grid-template-columns:1fr}
  nav.main{display:none}.burger{display:block}
  .fc{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .grid4,.ex,.ex8,.rail,.dgrid{grid-template-columns:1fr}
  .now{grid-template-columns:1fr 1fr}
  .lead .tx{padding:24px}.fc{grid-template-columns:1fr}
  .nl-band{padding:28px 24px}.nlf{width:100%}.nlf input{min-width:0;flex:1}
}

/* ---------- added for the multi-page rollout ---------- */

nav.main a.on{border-color:var(--red);color:var(--red)}
nav.mob{display:none;border-top:1px solid var(--line);background:#fff;padding:8px 24px 16px}
nav.mob a{display:block;padding:11px 0;font-weight:600;border-bottom:1px solid var(--line)}
nav.mob a:last-child{border-bottom:0}
@media(max-width:1020px){ nav.mob:not([hidden]){display:block} }

/* page header */
.phead{margin:36px 0 22px}
.phead h1{font-size:clamp(28px,3.4vw,42px);line-height:1.08;letter-spacing:-.025em}
.phead p{color:var(--muted);font-size:16px;margin:10px 0 0;max-width:70ch}

/* filter pills */
.pills{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 30px}
.pills a{border:1px solid var(--line);background:var(--wash);border-radius:999px;
  padding:8px 15px;font-size:13.5px;font-weight:600;transition:.15s;white-space:nowrap}
.pills a:hover{border-color:var(--red);color:var(--red);background:#fff}
.pills a.on{background:var(--ink);border-color:var(--ink);color:#fff}
.pills a span{opacity:.55;font-weight:500;margin-left:3px}
.pills a.on span{opacity:.7}

/* day-grouped list */
.day{margin:0 0 40px}
.dayh{display:flex;align-items:baseline;gap:12px;font-size:19px;
  padding-bottom:10px;margin-bottom:4px;border-bottom:2px solid var(--ink)}
.dayh .rel{font-size:20px}
.dayh .abs{font-family:Inter;font-weight:500;font-size:14px;color:var(--muted)}
.dayh .cnt{margin-left:auto;font-family:Inter;font-weight:500;font-size:13px;color:var(--muted)}
.ev{display:flex;gap:16px;padding:16px 0;border-bottom:1px solid var(--line);align-items:flex-start}
a.ev:hover .evt{color:var(--red)}
.evb{flex:1;min-width:0}
.evs{font-size:14px;color:var(--muted);margin-top:5px;line-height:1.5}
.evr{display:flex;flex-direction:column;gap:6px;align-items:flex-end;flex:0 0 auto}
.chip{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  background:var(--wash);border:1px solid var(--line);border-radius:999px;
  padding:5px 10px;color:var(--muted);white-space:nowrap}
.chip.tix{background:var(--red);border-color:var(--red);color:#fff}

.empty{background:var(--wash);border:1px solid var(--line);border-radius:var(--radius);
  padding:34px;text-align:center;color:var(--muted);font-size:16px}
.empty a{color:var(--red);font-weight:600}

.cta-row{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 60px}
.cta.ghost{background:transparent;color:var(--ink);border:1.5px solid var(--ink)}
.cta.ghost:hover{background:var(--ink);color:#fff}

.disc{font-size:12.5px;color:rgba(255,255,255,.42);line-height:1.65;
  margin:30px 0 0;max-width:96ch}
.lg{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
.lg a{display:inline-block;padding:0;margin-left:16px;font-size:13px}
.nlf-foot{margin-top:16px}
.nlf-foot input{min-width:0;flex:1}

@media(max-width:700px){
  .evr{display:none}
  .dayh{flex-wrap:wrap}
  .dayh .cnt{margin-left:0}
}

/* daily scripture — quiet, set apart, not shouting */
.scripture{border-left:3px solid var(--gold);background:var(--wash);border-radius:0 12px 12px 0;
  padding:22px 26px;margin:0 0 40px;font-size:17px;line-height:1.6;color:var(--ink)}
.scripture .sv{font-style:italic}
.scripture .sr{display:block;margin-top:8px;font-size:13px;font-weight:700;
  letter-spacing:.06em;text-transform:uppercase;color:var(--gold);font-style:normal}

/* film posters are 2:3, not 16:11 like the editorial cards */
.card.film img{aspect-ratio:2/3;object-fit:cover}
.card.film .im{background:var(--ink)}
.card.film h3{font-size:15.5px;margin-top:10px}

/* ---------- logo lockup + More dropdown ---------- */

/* 490x224 lockup. height:46 -> ~101px wide: readable, and still clears the
   burger on a 360px screen. width:auto is what stops the squash when the
   markup carries stale width/height attributes. */

@media(max-width:620px){  }

/* the More menu. assets/nav-more.js toggles .open on .nav-more */
.nav-more{position:relative;display:flex;align-items:center}
.nav-more-btn{background:none;border:0;font:inherit;font-size:15px;font-weight:500;
  color:var(--ink,#0B1521);cursor:pointer;padding:6px 0;display:flex;align-items:center;gap:5px;
  border-bottom:2px solid transparent;font-family:inherit}
.nav-more-btn:hover{color:var(--red,#C8102E);border-color:var(--red,#C8102E)}
.nav-more.open .nav-more-btn{color:var(--red,#C8102E);border-color:var(--red,#C8102E)}
.nav-more-btn span{font-size:11px;transition:transform .15s}
.nav-more.open .nav-more-btn span{transform:rotate(180deg)}

.nav-more-menu{display:none;position:absolute;top:calc(100% + 14px);right:0;z-index:200;
  background:#fff;border:1px solid var(--line,#E3E8ED);border-radius:14px;
  box-shadow:0 24px 60px rgba(11,21,33,.18);padding:24px 26px;
  grid-template-columns:repeat(3,minmax(150px,1fr));gap:22px 34px;min-width:640px}
.nav-more.open .nav-more-menu{display:grid}
.nm-head{font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
  color:var(--muted,#5C6B7A);margin:0 0 8px;font-family:Manrope,Inter,sans-serif}
.nav-more-menu a{display:block;padding:5px 0;font-size:14.5px;font-weight:500;
  color:var(--ink,#0B1521);white-space:nowrap}
.nav-more-menu a:hover{color:var(--red,#C8102E)}

/* mobile: the More groups flatten into the burger menu */
.ec-mob .nm-head,nav.mob .nm-head{margin:14px 0 4px;padding-top:12px;
  border-top:1px solid var(--line,#E3E8ED)}
.ec-mob .nm-head:first-child,nav.mob .nm-head:first-child{border-top:0;padding-top:0}

@media(max-width:1140px){
  .nav-more-menu{min-width:520px;grid-template-columns:repeat(2,minmax(140px,1fr))}
}
@media(max-width:1020px){
  .nav-more{display:none}
}

/* Nothing may push the page sideways on a phone. */
html,body{max-width:100%;overflow-x:hidden}
img,video,iframe,table{max-width:100%}

/* WORDMARK-V2 — text lockup in the bar. Never distorts, always legible,
   and costs no request. The image lockup lives in the footer. */
.ec-logo,.logo{font-family:Manrope,Inter,sans-serif;font-weight:800;font-size:22px;
  letter-spacing:-.03em;white-space:nowrap;color:var(--ink,#0B1521);line-height:1;
  display:inline-flex;align-items:center}
.ec-logo i,.logo i,.ec-logo span,.logo span{font-style:normal;color:var(--red,#C8102E)}
@media(max-width:620px){ .ec-logo,.logo{font-size:18px} }
@media(max-width:380px){ .ec-logo,.logo{font-size:16px} }
/* footer keeps the real lockup, where it has room to read */
.ec-foot .ec-logo img,footer.site .logo img{height:64px;width:auto;max-width:80%;
  display:block;margin-bottom:12px}

/* ---------- article / guide page ---------- */
.art{max-width:780px;margin:0 auto}
.art-hero{position:relative;border-radius:var(--radius);overflow:hidden;min-height:340px;
  display:flex;align-items:flex-end;margin:30px 0 0;box-shadow:var(--shadow-lg)}
.art-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.art-hero .scrim{position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(11,21,33,.10) 0%,rgba(11,21,33,.45) 45%,
    rgba(11,21,33,.86) 78%,rgba(11,21,33,.96) 100%)}
.art-hero .tx{position:relative;padding:32px;color:#fff;
  text-shadow:0 1px 3px rgba(0,0,0,.45),0 2px 18px rgba(0,0,0,.35)}
.art-hero h1{font-size:clamp(26px,3.2vw,40px);line-height:1.12;margin:12px 0 0;text-wrap:balance}
.art-meta{display:flex;gap:16px;align-items:center;flex-wrap:wrap;
  padding:16px 0;border-bottom:1px solid var(--line);font-size:13.5px;color:var(--muted);font-weight:500}
.art-lede{font-size:19px;line-height:1.55;color:var(--ink);margin:26px 0 0;font-weight:500}
.art-body{font-size:17px;line-height:1.75;color:#1d2b3a}
.art-body p{margin:22px 0}
.art-body p:first-child{margin-top:26px}
@media(max-width:600px){
  .art-hero{min-height:250px}.art-hero .tx{padding:22px}
  .art-body{font-size:16px}
}

/* FOOTER-WORDMARK — same lockup as the header, inverted for the dark band. */
.ec-foot .ec-logo,footer.site .logo{color:#fff;font-size:22px;margin-bottom:4px}
.ec-foot .ec-logo i,footer.site .logo i{color:var(--red,#C8102E)}

/* A town we have no photograph of gets a typographic tile. Deliberate and
   clean beats a picture of somewhere else. */
.ext-plain{background:linear-gradient(145deg,#0B1521 0%,#16283d 100%);border:1px solid rgba(255,255,255,.06)}
.ext-plain .tx{color:#fff;text-shadow:none}
.ext-plain h3{font-size:20px}
.ext-plain p{opacity:.72;margin-top:5px}
.ext-plain:hover{background:linear-gradient(145deg,#16283d 0%,#203450 100%)}

/* MOBILE-TILES-V2 — the Calgary Now tiles were clipping on phones: the
   subtitle was nowrap+ellipsis and the grid forced two cramped columns.
   Let them wrap and give each tile room to show its whole value. */
@media(max-width:700px){
  .now{grid-template-columns:1fr 1fr;gap:10px}
  .nw{padding:13px 14px;min-height:0}
  .nw .vl{font-size:19px;line-height:1.15}
  .nw .sb{white-space:normal;overflow:visible;text-overflow:clip;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
    overflow:hidden;font-size:12px;line-height:1.35;margin-top:4px}
}
@media(max-width:430px){
  .now{grid-template-columns:1fr}
  .nw{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
  .nw .lb{flex:0 0 100%}
  .nw .vl{font-size:20px}
  .nw .sb{flex:1;min-width:0;-webkit-line-clamp:1}
}

/* MOBILE-MENU-V2 — the More groups flatten into the burger menu, which makes
   it ~50 links long. Without a height cap it ran past the bottom of the
   screen and could not be scrolled. Cap it to the viewport and scroll. */
@media(max-width:1020px){
  nav.ec-mob,nav.mob{max-height:calc(100vh - 110px);overflow-y:auto;
    -webkit-overflow-scrolling:touch;overscroll-behavior:contain;
    padding-bottom:28px;box-shadow:0 18px 40px rgba(11,21,33,.18)}
  nav.ec-mob a,nav.mob a{padding:13px 0}
  nav.ec-mob .nm-head,nav.mob .nm-head{position:sticky;top:0;background:#fff;
    z-index:2;margin:10px 0 2px;padding:8px 0 6px}
}

/* LOGO-V3 — image lockup in the bar (4.52:1, transparent), text in the footer. */
.ec-logo img,.logo img{height:40px;width:auto;max-width:56vw;display:block}
@media(max-width:620px){ .ec-logo img,.logo img{height:32px;max-width:60vw} }
@media(max-width:380px){ .ec-logo img,.logo img{height:28px} }
/* footer stays textual — the mark is navy and would vanish on the dark band */
.ec-foot .ec-logo img,footer.site .logo img{display:none}

/* FAB-V2 — the chat and install buttons are appended to the end of <body>
   by app.js / app-install.js. The new stylesheet does not carry the legacy
   floating rules, so they stacked underneath the footer. Pin them.
   One button, not two: the app prompt lives in the footer instead. */
[class*="fab"],[id*="fab"],.gp-fab,.chat-fab,.gp-chat-fab,.install-fab,
.gp-install,#installBtn,#getAppBtn,.get-app-fab{
  position:fixed !important;right:18px;z-index:800;
  box-shadow:0 10px 30px rgba(11,21,33,.28);border-radius:999px}
.gp-fab,.chat-fab,.gp-chat-fab,[class*="chat-fab"]{bottom:20px}
/* the install prompt duplicates the footer CTA — hide the floating one */
.install-fab,.gp-install,#installBtn,#getAppBtn,.get-app-fab,
[class*="install"][class*="fab"],[class*="app-fab"]{display:none !important}
@media(max-width:600px){ [class*="fab"],.gp-fab,.chat-fab{right:12px;bottom:14px} }

/* FAB-V3 — the real class names are .gpc-bubble (chat) and .gp-install
   (app prompt). My earlier [class*=fab] guess matched neither, which is
   why they were still sitting under the footer. */
.gpc-bubble{position:fixed !important;right:18px;bottom:20px;z-index:850;
  border-radius:999px;box-shadow:0 10px 30px rgba(11,21,33,.30)}
.gpc-panel,.gpc-wrap{position:fixed !important;right:18px;bottom:78px;z-index:851}
/* the install prompt duplicates the footer CTA */
.gp-install{display:none !important}
@media(max-width:600px){ .gpc-bubble{right:12px;bottom:14px}
  .gpc-panel,.gpc-wrap{right:8px;left:8px;bottom:70px} }

/* auto-linked places inside editorial */
.art-body .al{color:var(--ink);border-bottom:2px solid rgba(200,16,46,.28);
  text-decoration:none;transition:.15s;font-weight:500}
.art-body .al:hover{color:var(--red);border-bottom-color:var(--red)}
.art-body .al-map::after{content:" ↗";font-size:.8em;opacity:.5}
.art-body .al-site::after{content:" ↗";font-size:.8em;opacity:.5}

/* LOGO-V4 — final word on the header mark. High specificity because
   styles.css carries !important rules for the old .brand-lockup and
   loads first on every legacy page. */
header .ec-logo img, header .logo img,
.ec-head .ec-logo img, header.site .logo img{
  height:40px !important;width:auto !important;max-width:56vw !important;
  display:block;object-fit:contain}
@media(max-width:620px){ header .ec-logo img, header .logo img,
  .ec-head .ec-logo img, header.site .logo img{height:32px !important} }
@media(max-width:380px){ header .ec-logo img, header .logo img,
  .ec-head .ec-logo img, header.site .logo img{height:27px !important} }

/* ---------- homepage event cards ---------- */
.ev-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.ev-card{display:flex;gap:14px;background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);padding:16px;transition:.18s;align-items:flex-start}
a.ev-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-3px);border-color:var(--red)}
a.ev-card:hover h3{color:var(--red)}
.ev-date{flex:0 0 54px;text-align:center;background:var(--ink);color:#fff;
  border-radius:10px;padding:8px 0 7px;line-height:1}
.ev-date .m{display:block;font-size:10px;font-weight:700;letter-spacing:.1em;
  text-transform:uppercase;opacity:.75}
.ev-date .d{display:block;font-family:Manrope,sans-serif;font-weight:800;
  font-size:22px;margin:3px 0 2px}
.ev-date .w{display:block;font-size:10px;font-weight:600;opacity:.65;
  letter-spacing:.06em;text-transform:uppercase}
.ev-body{min-width:0;flex:1}
.ev-card h3{font-size:15.5px;line-height:1.3;margin:0 0 7px;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ev-meta{font-size:12.5px;color:var(--muted);line-height:1.45}
.ev-time{font-weight:700;color:var(--ink)}
.ev-time::after{content:" · "}
.ev-venue{display:inline}
.ev-card .chip{margin-top:9px;display:inline-block;font-size:10px;padding:3px 8px}
@media(max-width:1100px){ .ev-grid{grid-template-columns:repeat(3,1fr)} }
@media(max-width:820px){  .ev-grid{grid-template-columns:repeat(2,1fr)} }
@media(max-width:560px){  .ev-grid{grid-template-columns:1fr} }

/* MOREMENU-V2 — styles.css defines .nav-more-menu 38 times for the old
   dark dropdown (navy, 190px wide, flex column). Setting display alone
   left all of that in force, so the panel rendered as a narrow dark
   column with the categories crushed out of view. Override in full,
   scoped under .ec-head so nothing else on the page is affected. */
.ec-head .nav-more-menu,header.site .nav-more-menu{
  display:none;position:absolute;top:calc(100% + 14px);right:0;left:auto;
  background:#fff !important;color:var(--ink,#0B1521);
  border:1px solid var(--line,#E3E8ED) !important;border-radius:14px !important;
  box-shadow:0 24px 60px rgba(11,21,33,.18) !important;
  padding:24px 26px !important;min-width:660px !important;width:max-content;max-width:92vw;
  grid-template-columns:repeat(3,minmax(150px,1fr)) !important;
  gap:22px 34px !important;flex-direction:unset !important;z-index:900 !important}
.ec-head .nav-more.open .nav-more-menu,header.site .nav-more.open .nav-more-menu{
  display:grid !important}
.ec-head .nav-more-menu a,header.site .nav-more-menu a{
  color:var(--ink,#0B1521) !important;background:none !important;border:0 !important;
  display:block !important;padding:5px 0 !important;font-size:14.5px;font-weight:500;
  white-space:nowrap;text-align:left}
.ec-head .nav-more-menu a:hover,header.site .nav-more-menu a:hover{
  color:var(--red,#C8102E) !important}
.ec-head .nav-more-menu .nm-head,header.site .nav-more-menu .nm-head{
  color:var(--muted,#5C6B7A) !important;background:none !important;
  font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
  margin:0 0 8px !important;padding:0 !important;border:0 !important}
@media(max-width:1140px){ .ec-head .nav-more-menu,header.site .nav-more-menu{
  min-width:480px !important;grid-template-columns:repeat(2,minmax(140px,1fr)) !important} }
@media(max-width:1020px){ .ec-head .nav-more,header.site .nav-more{display:none !important} }
