.esn-home{--blue:#2e3192;--pink:#ec008c;--cyan:#00aeef;--orange:#f47b20;--green:#7ac143;--ink:#17223b;--muted:#69758c;--line:#e8ebf2;max-width:1180px;margin:0 auto 55px;color:var(--ink)}
.esn-home *{box-sizing:border-box}.esn-home-spotlight{margin:0 0 36px}.esn-home-slides{position:relative;height:500px;overflow:hidden;border-radius:24px;background:#20244f;box-shadow:0 18px 55px rgba(25,35,80,.16)}
.esn-home-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .5s ease}.esn-home-slide.is-active{opacity:1;visibility:visible}.esn-home-hero-image,.esn-home-hero-shade{position:absolute;inset:0}.esn-home-hero-image{background-size:cover;background-position:center}.esn-home-noimage{background:linear-gradient(135deg,#2e3192,#00aeef)}.esn-home-hero-shade{background:linear-gradient(90deg,rgba(12,18,48,.88) 0%,rgba(12,18,48,.62) 48%,rgba(12,18,48,.12) 100%)}
.esn-home-hero-copy{position:absolute;left:0;bottom:0;width:66%;padding:48px;color:#fff}.esn-home-kicker,.esn-home-eyebrow{display:inline-block;color:var(--pink);font-size:13px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}.esn-home-date{margin-left:12px;font-size:13px;opacity:.78}.esn-home-hero-copy h1{margin:12px 0 12px!important;color:#fff!important;font-size:38px!important;line-height:1.13;font-weight:800!important}.esn-home-hero-copy p{margin:0 0 22px;font-size:16px;line-height:1.65;opacity:.92}.esn-home-btn{display:inline-flex;gap:10px;align-items:center;padding:12px 17px;border-radius:10px;text-decoration:none!important;font-weight:700}.esn-home-btn-light{background:#fff;color:var(--blue)!important}
.esn-home-dots{position:absolute;right:25px;bottom:24px;z-index:5;display:flex;gap:8px}.esn-home-dots button{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.45);cursor:pointer}.esn-home-dots button.is-active{width:27px;border-radius:8px;background:#fff}
.esn-home-intro{display:grid;grid-template-columns:1.1fr .9fr;gap:34px;align-items:center;margin:0 0 58px;padding:34px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 10px 35px rgba(30,45,90,.06)}.esn-home-intro h2,.esn-home-heading h2{margin:7px 0 10px!important;color:var(--blue)!important;font-weight:800!important}.esn-home-intro h2{font-size:28px!important;line-height:1.25}.esn-home-intro p{margin:0;color:var(--muted);font-size:15px;line-height:1.7}.esn-home-actions{display:grid;gap:9px}.esn-home-actions a{display:block;padding:13px 15px;border:1px solid var(--line);border-radius:12px;color:var(--ink)!important;text-decoration:none!important;transition:.18s}.esn-home-actions a:hover{transform:translateX(3px);border-color:#cfd5e4}.esn-home-actions strong{display:block;color:var(--blue);font-size:15px}.esn-home-actions span{font-size:12px;color:var(--muted)}
.esn-home-section{margin:0 0 58px}.esn-home-heading{display:flex;align-items:flex-end;justify-content:space-between;margin:0 0 22px}.esn-home-heading h2{font-size:30px!important}.esn-home-heading>a{color:var(--blue)!important;font-size:14px;font-weight:700;text-decoration:none!important}
.esn-home-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.esn-home-news{overflow:hidden;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 8px 28px rgba(30,45,90,.06);transition:.18s}.esn-home-news:hover{transform:translateY(-3px);box-shadow:0 13px 34px rgba(30,45,90,.1)}.esn-home-news>a{display:block;color:inherit!important;text-decoration:none!important}.esn-home-news-img{height:180px;background-size:cover;background-position:center}.esn-home-news-img.no-image{background:linear-gradient(135deg,#2e3192,#00aeef)}.esn-home-news-body{padding:17px 18px 19px}.esn-home-news-body>span,.esn-home-event-copy>span{font-size:12px;color:var(--muted)}.esn-home-news h3{margin:6px 0 14px!important;color:var(--ink)!important;font-size:18px!important;line-height:1.35;font-weight:750!important}.esn-home-news b{color:var(--pink);font-size:13px}
.esn-home-events{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.esn-home-event{display:flex;gap:16px;align-items:center;padding:16px;border:1px solid var(--line);border-radius:15px;background:#fff}.esn-home-event-date{flex:0 0 64px;padding:9px 5px;border-radius:12px;background:#f3f4fb;text-align:center;color:var(--blue)}.esn-home-event-date strong{display:block;font-size:24px;line-height:1}.esn-home-event-date span{display:block;margin-top:5px;font-size:11px;text-transform:uppercase}.esn-home-event-copy h3{margin:4px 0!important;font-size:17px!important;line-height:1.35}.esn-home-event-copy h3 a{color:var(--ink)!important;text-decoration:none!important}.esn-home-event-copy p{margin:4px 0 0;color:var(--muted);font-size:12px}.esn-home-empty{padding:20px;border:1px solid var(--line);border-radius:14px;background:#fafbfc;color:var(--muted)}
@media(max-width:900px){.esn-home-slides{height:430px}.esn-home-hero-copy{width:82%;padding:34px}.esn-home-hero-copy h1{font-size:31px!important}.esn-home-news-grid{grid-template-columns:repeat(2,1fr)}.esn-home-intro{grid-template-columns:1fr}}
@media(max-width:620px){.esn-home-slides{height:470px;border-radius:16px}.esn-home-hero-shade{background:linear-gradient(0deg,rgba(12,18,48,.9),rgba(12,18,48,.2))}.esn-home-hero-copy{width:100%;padding:25px}.esn-home-hero-copy h1{font-size:26px!important}.esn-home-hero-copy p{font-size:14px}.esn-home-news-grid,.esn-home-events{grid-template-columns:1fr}.esn-home-intro{padding:24px}.esn-home-heading h2{font-size:26px!important}}

.esn-api-detail{max-width:900px;margin:20px auto 50px}.esn-api-detail-date{margin:0 0 18px;color:#69758c;font-weight:700}.esn-api-detail>img{display:block;width:100%;max-height:520px;object-fit:cover;border-radius:18px;margin:0 0 24px}.esn-api-detail-body{font-size:16px;line-height:1.75;color:#25324a}.esn-api-detail-body img{max-width:100%;height:auto}

/* v1.3 — ESN visual identity: flat, editorial, recognisable. */
.esn-home{--esn-cyan:#00aeef;--esn-magenta:#ec008c;--esn-green:#7ac143;--esn-orange:#f47b20;--esn-blue:#2e3192;--esn-black:#111;--esn-grey:#f4f4f5}
.esn-home-slides{border-radius:0;box-shadow:none;border-bottom:8px solid var(--esn-cyan)}
.esn-home-hero-copy{border-left:7px solid var(--esn-magenta)}
.esn-home-kicker,.esn-home-eyebrow{color:var(--esn-magenta)}
.esn-home-intro{border:0;border-radius:0;box-shadow:none;background:#f6f6f7;border-top:5px solid var(--esn-blue)}
.esn-home-actions a{border-radius:0;background:#fff;border-left:4px solid var(--esn-cyan)}
.esn-home-actions a:nth-child(2){border-left-color:var(--esn-green)}.esn-home-actions a:nth-child(3){border-left-color:var(--esn-orange)}
.esn-home-news{border-radius:0;box-shadow:none;border:1px solid #ddd;border-bottom:5px solid var(--esn-magenta)}
.esn-home-news:hover{box-shadow:none;transform:translateY(-2px)}
.esn-home-event{border-radius:0;border-left:5px solid var(--esn-cyan)}
.esn-home-event:nth-child(4n+2){border-left-color:var(--esn-magenta)}.esn-home-event:nth-child(4n+3){border-left-color:var(--esn-green)}.esn-home-event:nth-child(4n+4){border-left-color:var(--esn-orange)}
.esn-home-event-date{border-radius:0;background:#f1f1f7}
.esn-home-media{margin-top:64px}.esn-media-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.esn-media-card{position:relative;padding:20px;background:#fff;border:1px solid #ddd;border-top:7px solid var(--esn-cyan)}.esn-media-card.esn-media-dark{border-top-color:var(--esn-blue)}.esn-media-card.esn-media-orange{border-top-color:var(--esn-orange);grid-column:1/-1}.esn-media-head{display:flex;align-items:baseline;gap:10px;margin-bottom:14px}.esn-media-head span{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#777}.esn-media-head strong{font-size:19px;color:var(--esn-blue)}.esn-media-card iframe{display:block;border:0}.esn-radio{display:flex;align-items:center;justify-content:space-between;gap:25px}.esn-radio p{margin:0;color:#666}.esn-radio audio{width:min(100%,460px)}
.esn-cause-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.esn-cause{min-height:86px;padding:18px;display:flex;align-items:center;justify-content:space-between;color:#fff!important;text-decoration:none!important;font-size:16px;font-weight:800;line-height:1.25}.esn-cause b{font-size:23px}.esn-cause-cyan{background:var(--esn-cyan)}.esn-cause-pink{background:var(--esn-magenta)}.esn-cause-green{background:var(--esn-green)}.esn-cause-orange{background:var(--esn-orange)}.esn-cause-blue{background:var(--esn-blue)}.esn-cause:hover{filter:brightness(.94)}
.esn-home-partners{padding-top:8px}.esn-partners-inner{padding:22px 0;border-top:1px solid #ddd;border-bottom:1px solid #ddd}.esn-partners-inner .block-title,.esn-partners-inner>.view>h2{display:none}.esn-partners-inner img{max-width:120px;height:auto}
.esn-api-detail{border-top:6px solid var(--esn-magenta)}
@media(max-width:760px){.esn-media-grid{grid-template-columns:1fr}.esn-media-card.esn-media-orange{grid-column:auto}.esn-radio{display:block}.esn-radio p{margin-bottom:14px}.esn-cause-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:460px){.esn-cause-grid{grid-template-columns:1fr}}

/* v1.4 detail media */
.esn-api-detail-image{margin:0 0 26px;padding:0;max-width:100%}
.esn-api-detail-image img{display:block;width:100%;height:auto;max-height:620px;object-fit:cover}

/* v1.5 API archives */
.esn-api-archive{max-width:1180px;margin:0 auto 60px}
.esn-archive-head{padding:10px 0 24px;border-bottom:6px solid var(--esn-blue);margin-bottom:28px}
.esn-archive-head h1{margin:3px 0 7px;color:var(--esn-blue);font-size:38px;line-height:1.05}
.esn-archive-head p{margin:0;color:#666;font-size:16px}
.esn-archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.esn-archive-card{background:#fff;border:1px solid #ddd;border-bottom:5px solid var(--esn-magenta)}
.esn-archive-image{display:block;aspect-ratio:16/9;overflow:hidden;background:#eee}
.esn-archive-image img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .25s ease}
.esn-archive-card:hover .esn-archive-image img{transform:scale(1.025)}
.esn-archive-copy{padding:18px}
.esn-archive-meta{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#777;margin-bottom:8px}
.esn-archive-copy h2,.esn-event-row h2{margin:0 0 10px;line-height:1.18}
.esn-archive-copy h2{font-size:21px}
.esn-archive-copy h2 a,.esn-event-row h2 a{color:var(--esn-blue);text-decoration:none}
.esn-archive-copy p,.esn-event-row p{color:#666;line-height:1.55}
.esn-archive-more{font-weight:800;color:var(--esn-magenta)!important;text-decoration:none!important}
.esn-event-archive{display:flex;flex-direction:column;border-top:1px solid #ddd}
.esn-event-row{display:grid;grid-template-columns:280px 1fr;gap:26px;padding:24px 0;border-bottom:1px solid #ddd}
.esn-event-row-image{display:block;aspect-ratio:16/10;overflow:hidden;background:#eee;border-left:6px solid var(--esn-cyan)}
.esn-event-row:nth-child(4n+2) .esn-event-row-image{border-left-color:var(--esn-magenta)}
.esn-event-row:nth-child(4n+3) .esn-event-row-image{border-left-color:var(--esn-green)}
.esn-event-row:nth-child(4n+4) .esn-event-row-image{border-left-color:var(--esn-orange)}
.esn-event-row-image img{width:100%;height:100%;object-fit:cover;display:block}
.esn-event-row-copy{align-self:center}
.esn-event-row-meta{display:flex;flex-wrap:wrap;gap:8px 14px;margin-bottom:8px;color:#777;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.esn-event-row h2{font-size:24px}
@media(max-width:900px){.esn-archive-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.esn-archive-grid{grid-template-columns:1fr}.esn-event-row{grid-template-columns:1fr}.esn-event-row-image{aspect-ratio:16/9}}

/* v1.6 — ESN-inspired graphic language */
.esn-home{position:relative;overflow:hidden}
.esn-home:before{content:"";position:absolute;right:-65px;top:470px;width:180px;height:180px;background:var(--esn-cyan);opacity:.07;transform:rotate(18deg);clip-path:polygon(50% 0,61% 34%,98% 35%,68% 56%,79% 92%,50% 70%,21% 92%,32% 56%,2% 35%,39% 34%);pointer-events:none}
.esn-home-heading{position:relative}
.esn-home-heading:after{content:"";width:48px;height:9px;background:linear-gradient(90deg,var(--esn-cyan) 0 25%,var(--esn-magenta) 25% 50%,var(--esn-green) 50% 75%,var(--esn-orange) 75%);position:absolute;left:0;bottom:-10px}
.esn-home-intro{position:relative;overflow:hidden}
.esn-home-intro:after{content:"";position:absolute;right:-30px;bottom:-55px;width:150px;height:150px;background:var(--esn-magenta);opacity:.09;transform:rotate(-12deg);clip-path:polygon(50% 0,61% 34%,98% 35%,68% 56%,79% 92%,50% 70%,21% 92%,32% 56%,2% 35%,39% 34%)}
.esn-home-actions a{position:relative;overflow:hidden}
.esn-action-icon{display:flex;width:38px;height:38px;align-items:center;justify-content:center;margin-bottom:10px;background:var(--esn-blue);color:#fff;font-size:22px;font-weight:900}
.esn-home-actions a:nth-child(2) .esn-action-icon{background:var(--esn-green)}
.esn-home-actions a:nth-child(3) .esn-action-icon{background:var(--esn-orange)}
.esn-home-news-img.no-image,.esn-archive-image:empty{background:
linear-gradient(135deg,rgba(46,49,146,.94),rgba(0,174,239,.86))}
.esn-home-news-img.no-image:after{content:"✦";display:flex;align-items:center;justify-content:center;height:100%;font-size:72px;color:#fff}
.esn-api-archive{position:relative}
.esn-api-archive:before{content:"";position:absolute;right:0;top:0;width:92px;height:92px;background:var(--esn-magenta);opacity:.08;clip-path:polygon(50% 0,61% 34%,98% 35%,68% 56%,79% 92%,50% 70%,21% 92%,32% 56%,2% 35%,39% 34%)}
.esn-archive-head{position:relative;padding-right:110px}
.esn-archive-card:nth-child(4n+2){border-bottom-color:var(--esn-cyan)}
.esn-archive-card:nth-child(4n+3){border-bottom-color:var(--esn-green)}
.esn-archive-card:nth-child(4n+4){border-bottom-color:var(--esn-orange)}
.esn-api-detail-image{border-bottom:7px solid var(--esn-cyan)}

/* v1.7 — softer ESN visual system */
.esn-home-intro,.esn-home-actions a,.esn-home-news-card,.esn-home-event,.esn-media-card,
.esn-cause-link,.esn-archive-card,.esn-event-row-image,.esn-api-detail-image img{
  border-radius:16px;
}
.esn-home-actions a,.esn-archive-card,.esn-home-news-card,.esn-media-card{
  overflow:hidden;
}
.esn-home-actions a{border-left-width:7px}
.esn-action-icon{border-radius:10px;font-size:18px}
.esn-home-heading h2:before{font-family:FontAwesome;margin-right:10px;color:var(--esn-magenta);font-size:.8em}
.esn-home-section:nth-of-type(odd) .esn-home-heading h2:before{color:var(--esn-cyan)}
.esn-archive-head h1{display:flex;align-items:center;gap:12px}
.esn-archive-head h1 .fa{display:inline-flex;width:48px;height:48px;align-items:center;justify-content:center;border-radius:12px;background:var(--esn-blue);color:#fff;font-size:22px}
.esn-archive-card{box-shadow:0 8px 24px rgba(35,47,80,.07)}
.esn-event-row-image{border-left:0;border-bottom:6px solid var(--esn-cyan)}
.esn-event-row:nth-child(4n+2) .esn-event-row-image{border-bottom-color:var(--esn-magenta)}
.esn-event-row:nth-child(4n+3) .esn-event-row-image{border-bottom-color:var(--esn-green)}
.esn-event-row:nth-child(4n+4) .esn-event-row-image{border-bottom-color:var(--esn-orange)}
.esn-api-detail-image{border-bottom:0;overflow:hidden;border-radius:18px}
.esn-api-detail-image img{border-bottom:7px solid var(--esn-cyan)}
.esn-api-pager{clear:both;padding:34px 0 10px;text-align:center}
.esn-api-pager .pager{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin:0;padding:0}
.esn-api-pager .pager li{margin:0;padding:0;list-style:none}
.esn-api-pager .pager a,.esn-api-pager .pager-current{
 display:inline-flex;min-width:38px;height:38px;align-items:center;justify-content:center;
 padding:0 12px;border:1px solid #d8dce7;border-radius:10px;background:#fff;
 color:var(--esn-blue);font-weight:800;text-decoration:none
}
.esn-api-pager .pager-current{background:var(--esn-blue);border-color:var(--esn-blue);color:#fff}

/* =========================================================
   v1.8 — clean, square ESN editorial layout
   ========================================================= */

/* Remove decorative stars / watermarks / heading colour chips. */
.esn-home:before,
.esn-home-intro:after,
.esn-api-archive:before,
.esn-home-heading:after{display:none!important;content:none!important}

/* Return to square / restrained geometry. */
.esn-home-intro,
.esn-home-actions a,
.esn-home-news-card,
.esn-home-event,
.esn-media-card,
.esn-cause-link,
.esn-archive-card,
.esn-event-row-image,
.esn-api-detail-image,
.esn-api-detail-image img,
.esn-action-icon,
.esn-archive-head h1 .fa{
  border-radius:0!important;
}

/* Action cards: icon at left, solid ESN colour, white copy on right. */
.esn-home-actions{gap:14px}
.esn-home-actions a{
  min-height:112px!important;
  display:grid!important;
  grid-template-columns:64px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:18px!important;
  align-content:center!important;
  padding:22px 24px!important;
  border:0!important;
  border-left:0!important;
  background:var(--esn-blue)!important;
  color:#fff!important;
}
.esn-home-actions a:nth-child(1){background:var(--esn-cyan)!important}
.esn-home-actions a:nth-child(2){background:var(--esn-green)!important}
.esn-home-actions a:nth-child(3){background:var(--esn-orange)!important}
.esn-home-actions .esn-action-icon{
  grid-column:1!important;
  grid-row:1 / span 2!important;
  width:64px!important;
  height:64px!important;
  margin:0!important;
  align-self:center!important;
  background:rgba(255,255,255,.18)!important;
  color:#fff!important;
  font-size:25px!important;
}
.esn-home-actions strong{
  grid-column:2!important;
  grid-row:1!important;
  align-self:end!important;
  color:#fff!important;
  font-size:22px!important;
  line-height:1.15!important;
}
.esn-home-actions a > span:not(.esn-action-icon),
.esn-home-actions a > small{
  grid-column:2!important;
  color:#fff!important;
  opacity:.92!important;
}
.esn-home-actions a{
  text-decoration:none!important;
}
.esn-home-actions a *{text-decoration:none!important}

/* If the description is a raw text node, flex/grid still places it after strong;
   make inherited text white. */
.esn-home-actions a{font-size:16px!important;line-height:1.45!important}

/* News/home/archive images fill the complete media box. */
.esn-home-news-img,
.esn-archive-image{
  display:block!important;
  width:100%!important;
  height:250px!important;
  aspect-ratio:auto!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
  background-color:#e9ebef!important;
}
.esn-home-news-img img,
.esn-archive-image img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  min-height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center!important;
  margin:0!important;
  padding:0!important;
}
.esn-home-news-card{display:flex!important;flex-direction:column!important}
.esn-home-news-card .esn-home-news-img{flex:0 0 250px!important}

/* Events imagery should also fill its media area. */
.esn-event-row-image{height:190px!important}
.esn-event-row-image img{
  display:block!important;width:100%!important;height:100%!important;
  min-width:100%!important;min-height:100%!important;
  max-width:none!important;object-fit:cover!important;object-position:center!important;
}

/* Cleaner section headings — no coloured mini-block underneath. */
.esn-home-heading{padding-bottom:8px!important;border-bottom:1px solid #dfe3eb!important}
.esn-home-heading h2{margin-bottom:0!important}

/* Keep ESN colour through structural accents, not illustrations. */
.esn-home-news-card{border-top:5px solid var(--esn-blue)!important}
.esn-home-news-card:nth-child(4n+2){border-top-color:var(--esn-magenta)!important}
.esn-home-news-card:nth-child(4n+3){border-top-color:var(--esn-green)!important}
.esn-home-news-card:nth-child(4n+4){border-top-color:var(--esn-orange)!important}
.esn-archive-card{border-bottom-width:5px!important}

@media(max-width:650px){
  .esn-home-actions a{
    grid-template-columns:52px minmax(0,1fr)!important;
    column-gap:14px!important;padding:18px!important
  }
  .esn-home-actions .esn-action-icon{width:52px!important;height:52px!important;font-size:21px!important}
  .esn-home-actions strong{font-size:19px!important}
  .esn-home-news-img,.esn-archive-image{height:220px!important}
}

/* v1.8.1 */
.esn-home-news-img img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
}

/* Existing Partners View already has its own divider.
   Remove the extra heading divider added by the live homepage. */
.esn-home-partners .esn-home-heading,
.esn-partners-section .esn-home-heading{
  border-bottom:0!important;
}
.esn-home-partners .esn-home-heading:after,
.esn-partners-section .esn-home-heading:after{
  display:none!important;
  content:none!important;
}

/* v1.8.2 — IMPORTANT:
   Do not use the background shorthand here. Homepage news photos are inline
   background-image values; background: ... !important was wiping them out. */
.esn-home-news-img{
  background-color:#e9ebef!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
}
/* Restore the inline background-image against the earlier shorthand rule. */
.esn-home-news .esn-home-news-img[style*="background-image"]{
  background-color:#e9ebef!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
}

/* v1.8.3 — event interaction and archive alignment */
.esn-home-event-link{
  display:grid;
  grid-template-columns:82px minmax(0,1fr);
  gap:18px;
  align-items:center;
  width:100%;
  color:inherit!important;
  text-decoration:none!important;
}
.esn-home-event-link:hover h3{color:var(--esn-magenta)!important}

/* Event archive: tighter relationship between image and copy. */
.esn-event-row{
  grid-template-columns:320px minmax(0,1fr)!important;
  gap:18px!important;
  align-items:stretch!important;
}
.esn-event-row-image{
  width:100%!important;
  height:210px!important;
  margin:0!important;
}
.esn-event-row-copy{
  align-self:center!important;
  min-width:0!important;
  padding:4px 0!important;
}

/* No image: copy should use the complete available row width. */
.esn-event-row:not(:has(.esn-event-row-image)){
  display:block!important;
}
.esn-event-row:not(:has(.esn-event-row-image)) .esn-event-row-copy{
  width:100%!important;
  max-width:none!important;
  padding:22px 0!important;
}
.esn-event-row:not(:has(.esn-event-row-image)) .esn-event-row-copy p{
  max-width:1050px!important;
}

/* Drupal 7 / older-browser fallback: module adds this class in v1.8.3. */
.esn-event-row.esn-event-no-image{
  display:block!important;
}
.esn-event-row.esn-event-no-image .esn-event-row-copy{
  width:100%!important;
  max-width:none!important;
  padding:22px 0!important;
}
.esn-event-row.esn-event-no-image .esn-event-row-copy p{
  max-width:1050px!important;
}

@media(max-width:760px){
  .esn-event-row{grid-template-columns:1fr!important;gap:14px!important}
  .esn-event-row-image{height:auto!important;aspect-ratio:16/9!important}
}


/* v1.8.4.5 — intro + Instagram split */
.esn-home-community-split{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:28px!important;
  align-items:stretch!important;
  margin:0 0 58px!important;
}
.esn-home-community-left,
.esn-home-community-right{min-width:0!important}
.esn-home-community-split .esn-home-intro{
  grid-template-columns:1fr!important;
  align-content:start!important;
  gap:26px!important;
  height:100%!important;
  margin:0!important;
  padding:34px!important;
}
.esn-home-community-split .esn-home-intro h2{font-size:34px!important;line-height:1.2!important}
.esn-home-community-split .esn-home-actions{margin-top:2px!important}
.esn-home-community-split .esn-home-actions a{
  min-height:96px!important;
  grid-template-columns:58px minmax(0,1fr)!important;
  column-gap:16px!important;
  padding:18px 20px!important;
}
.esn-home-community-split .esn-home-actions .esn-action-icon{width:58px!important;height:58px!important;font-size:23px!important}
.esn-home-community-split .esn-home-actions strong{font-size:20px!important}

.esn-home-instagram{
  height:100%!important;
  min-height:620px!important;
  box-sizing:border-box!important;
  padding:28px!important;
  background:#fff!important;
  border-top:5px solid var(--esn-magenta)!important;
  border-left:1px solid #e0e3ea!important;
  border-right:1px solid #e0e3ea!important;
  border-bottom:1px solid #e0e3ea!important;
}
.esn-home-instagram-head{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin:0 0 18px!important;
}
.esn-home-instagram-head h2{
  margin:5px 0 0!important;
  color:var(--esn-blue)!important;
  font-size:28px!important;
  line-height:1.1!important;
}
.esn-home-instagram-head h2 .fa{color:var(--esn-magenta)!important;margin-right:7px!important}
.esn-home-instagram-head > a{font-weight:700!important;color:var(--esn-blue)!important;text-decoration:none!important;white-space:nowrap!important}
.esn-instagram-slider{position:relative!important;min-height:535px!important}
.esn-instagram-slides{position:relative!important;height:535px!important;overflow:hidden!important;background:#f5f5f6!important}
.esn-instagram-slide{
  display:none!important;
  position:absolute!important;
  inset:0!important;
  padding:0 0 38px!important;
  background:#fff!important;
}
.esn-instagram-slide.is-active{display:block!important}
.esn-instagram-slide iframe{
  display:block!important;
  width:100%!important;
  height:497px!important;
  max-width:100%!important;
  border:0!important;
  background:#fff!important;
}
.esn-instagram-open{
  position:absolute!important;
  left:0!important;right:0!important;bottom:0!important;
  height:38px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:var(--esn-blue)!important;
  color:#fff!important;
  font-weight:700!important;
  text-decoration:none!important;
}
.esn-instagram-arrow{
  position:absolute!important;
  top:47%!important;
  transform:translateY(-50%)!important;
  width:38px!important;height:38px!important;
  border:0!important;
  background:rgba(46,49,146,.94)!important;
  color:#fff!important;
  cursor:pointer!important;
  z-index:5!important;
}
.esn-instagram-prev{left:-12px!important}.esn-instagram-next{right:-12px!important}
.esn-instagram-dots{display:flex!important;justify-content:center!important;gap:8px!important;margin:12px 0 0!important}
.esn-instagram-dots button{
  width:9px!important;height:9px!important;padding:0!important;border:0!important;border-radius:50%!important;
  background:#c8cad4!important;cursor:pointer!important;
}
.esn-instagram-dots button.is-active{background:var(--esn-magenta)!important}

@media(max-width:980px){
  .esn-home-community-split{grid-template-columns:1fr!important}
  .esn-home-community-split .esn-home-intro{height:auto!important}
  .esn-home-instagram{min-height:610px!important}
}
@media(max-width:620px){
  .esn-home-community-split{gap:20px!important;margin-bottom:42px!important}
  .esn-home-community-split .esn-home-intro{padding:24px!important}
  .esn-home-community-split .esn-home-intro h2{font-size:28px!important}
  .esn-home-instagram{padding:20px!important;min-height:570px!important}
  .esn-home-instagram-head{align-items:flex-start!important;flex-direction:column!important;gap:8px!important}
  .esn-instagram-slider,.esn-instagram-slides{height:485px!important;min-height:485px!important}
  .esn-instagram-slide iframe{height:447px!important}
  .esn-instagram-prev{left:-8px!important}.esn-instagram-next{right:-8px!important}
}
