/* ========================================================================
   ELIKA SITE MODERNIZER 4.0 — JOURNAL + FORM/CALCULATOR REFINEMENTS
   ======================================================================== */

/* ------------------------------ Journal archive ------------------------------ */
.em-journal,
.em-journal * {
  box-sizing: border-box;
}

.em-journal {
  --ej-ink: #171714;
  --ej-muted: #595750;
  --ej-ivory: #fbfaf7;
  --ej-paper: #f2eee6;
  --ej-sage: #aeb7ad;
  --ej-dark: #2d322d;
  --ej-brass: #b79258;
  --ej-line: rgba(23,23,20,.17);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--ej-ink);
  background: var(--ej-ivory);
  font-family: Arial, Helvetica, sans-serif;
  text-align: left;
}

body.elika-journal-modern :is(.site-content,.content-area,.site-main,.page-content,article.page,.entry-content),
body.elika-journal-article-modern :is(.site-content,.content-area,.site-main,.page-content,article.post,.entry-content) {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.elika-journal-modern :is(.entry-header,.page-header,.post-header,.page-title,.post-thumbnail,.featured-image),
body.elika-journal-article-modern :is(.entry-header,.page-header,.post-header,.page-title) {
  display: none !important;
}

body.elika-journal-modern :is(#colophon,.site-footer,footer.site-footer),
body.elika-journal-article-modern :is(#colophon,.site-footer,footer.site-footer) {
  margin-top: 0 !important;
}

.em-journal-shell,
.em-article-shell {
  width: min(calc(100% - 72px), 1380px);
  margin-right: auto;
  margin-left: auto;
}

.em-journal a,
.em-article a {
  box-shadow: none !important;
}

.em-journal-hero {
  color: var(--ej-ivory);
  background: var(--ej-dark);
}

.em-journal-hero__grid {
  min-height: 580px;
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(390px,.92fr);
}

.em-journal-hero__copy {
  padding: clamp(66px,7vw,112px) clamp(40px,6vw,90px) clamp(70px,7vw,112px) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.em-journal-breadcrumbs,
.em-article-breadcrumbs {
  margin: 0 0 44px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: rgba(251,250,247,.62);
  font: 700 9px/1.35 Arial,Helvetica,sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.em-journal-breadcrumbs a,
.em-article-breadcrumbs a {
  color: inherit !important;
  text-decoration: none !important;
}

.em-journal-eyebrow,
.em-article-eyebrow {
  margin: 0 !important;
  color: inherit !important;
  font: 700 10px/1.35 Arial,Helvetica,sans-serif !important;
  letter-spacing: .2em !important;
  text-transform: uppercase !important;
}

.em-journal-hero h1 {
  max-width: 780px;
  margin: 20px 0 30px !important;
  color: var(--ej-ivory) !important;
  font: 400 clamp(70px,7vw,110px)/.89 Georgia,"Times New Roman",serif !important;
  letter-spacing: -.055em !important;
  text-align: left !important;
  text-transform: none !important;
}

.em-journal-intro {
  max-width: 720px;
  margin: 0 !important;
  color: rgba(251,250,247,.76) !important;
  font: 400 clamp(18px,1.45vw,21px)/1.65 Georgia,"Times New Roman",serif !important;
}

.em-journal-hero__index {
  position: relative;
  min-height: 100%;
  padding: 58px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: var(--ej-ink);
  background: var(--ej-sage);
  border-left: 1px solid rgba(251,250,247,.15);
}

.em-journal-mark {
  display: block;
  margin: -38px 0 0 -10px;
  color: rgba(23,23,20,.95);
  font: 400 clamp(220px,25vw,390px)/.85 Georgia,"Times New Roman",serif;
  letter-spacing: -.09em;
}

.em-journal-index-copy {
  position: relative;
  z-index: 2;
  padding-top: 28px;
  border-top: 1px solid rgba(23,23,20,.25);
}

.em-journal-index-copy p {
  margin: 0 0 14px !important;
  color: #4e554e !important;
  font: 700 9px/1.35 Arial,Helvetica,sans-serif !important;
  letter-spacing: .18em !important;
}

.em-journal-index-copy strong {
  font: 400 26px/1.28 Georgia,"Times New Roman",serif;
}

.em-journal-principles {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  color: var(--ej-ink);
  background: var(--ej-paper);
  border-bottom: 1px solid var(--ej-line);
}

.em-journal-principles span {
  min-height: 94px;
  padding: 25px clamp(22px,3vw,48px);
  display: flex;
  align-items: center;
  gap: 18px;
  border-right: 1px solid var(--ej-line);
  font: 700 9px/1.35 Arial,Helvetica,sans-serif;
  letter-spacing: .14em;
}

.em-journal-principles span:last-child { border-right: 0; }
.em-journal-principles b { color: #77746d; font-weight: 700; }

.em-journal-tools {
  padding: 42px 0;
  background: var(--ej-ivory);
  border-bottom: 1px solid var(--ej-line);
}

.em-journal-tools__grid {
  display: grid;
  grid-template-columns: minmax(350px,.78fr) minmax(0,1.22fr);
  gap: 52px;
  align-items: end;
}

.em-journal-search label {
  display: block;
  margin: 0 0 11px;
  color: #65625c;
  font: 700 9px/1.35 Arial,Helvetica,sans-serif;
  letter-spacing: .16em;
}

.em-journal-search > div {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  border: 1px solid var(--ej-line);
  background: #fff;
}

.em-journal-search input {
  min-width: 0;
  height: 58px;
  margin: 0 !important;
  padding: 0 18px !important;
  color: var(--ej-ink) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font: 400 14px/1 Arial,Helvetica,sans-serif !important;
}

.em-journal-search button {
  min-width: 128px;
  height: 58px;
  margin: 0 !important;
  padding: 0 20px !important;
  color: var(--ej-ivory) !important;
  background: var(--ej-dark) !important;
  border: 0 !important;
  border-radius: 0 !important;
  font: 700 9px/1 Arial,Helvetica,sans-serif !important;
  letter-spacing: .14em !important;
}

.em-journal-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}

.em-journal-categories a {
  min-height: 38px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  color: var(--ej-ink) !important;
  background: transparent;
  border: 1px solid var(--ej-line);
  font: 700 9px/1 Arial,Helvetica,sans-serif !important;
  letter-spacing: .1em;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: background .2s ease,color .2s ease;
}

.em-journal-categories a:hover,
.em-journal-categories a:focus-visible {
  color: var(--ej-ivory) !important;
  background: var(--ej-dark);
}

.em-journal-feature {
  padding: clamp(76px,8vw,124px) 0;
  background: var(--ej-paper);
}

.em-journal-feature__grid {
  display: grid;
  grid-template-columns: minmax(0,1.07fr) minmax(360px,.93fr);
  min-height: 600px;
  border: 1px solid var(--ej-line);
  background: var(--ej-ivory);
}

.em-journal-feature__media {
  position: relative;
  min-height: 600px;
  display: block;
  overflow: hidden;
  background: var(--ej-sage);
  border-right: 1px solid var(--ej-line);
}

.em-journal-feature__media img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.75,.2,1);
}

.em-journal-feature__media:hover img { transform: scale(1.025); }
.em-journal-feature__media.is-fallback { display: grid; place-items: center; }
.em-journal-feature__media.is-fallback span { font: 400 clamp(60px,7vw,104px)/.9 Georgia,"Times New Roman",serif; letter-spacing: -.06em; }

.em-journal-feature__copy {
  padding: clamp(48px,5.6vw,86px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.em-journal-feature__copy h2,
.em-journal-section-head h2,
.em-journal-cta h2 {
  margin: 18px 0 24px !important;
  color: var(--ej-ink) !important;
  font: 400 clamp(45px,4.6vw,70px)/.98 Georgia,"Times New Roman",serif !important;
  letter-spacing: -.045em !important;
  text-align: left !important;
  text-transform: none !important;
}

.em-journal-feature__copy h2 a {
  color: inherit !important;
  text-decoration: none !important;
}

.em-journal-feature__copy > p:not(.em-journal-eyebrow) {
  margin: 0 0 28px !important;
  color: var(--ej-muted) !important;
  font: 400 18px/1.67 Georgia,"Times New Roman",serif !important;
}

.em-journal-meta {
  margin: 0 0 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  color: #77746d;
  font: 700 9px/1.35 Arial,Helvetica,sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.em-journal-text-link,
.em-journal-card__foot a,
.em-article-related article > a,
.em-article-author a {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 25px;
  padding-bottom: 8px;
  color: var(--ej-ink) !important;
  border-bottom: 1px solid currentColor;
  font: 700 9px/1.2 Arial,Helvetica,sans-serif !important;
  letter-spacing: .14em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.em-journal-archive {
  padding: clamp(82px,8vw,126px) 0;
  background: var(--ej-ivory);
}

.em-journal-section-head {
  margin-bottom: 50px;
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(340px,.95fr);
  gap: 70px;
  align-items: end;
}

.em-journal-section-head h2 { margin-bottom: 0 !important; }
.em-journal-section-head > p {
  max-width: 620px;
  margin: 0 !important;
  color: var(--ej-muted) !important;
  font: 400 18px/1.68 Georgia,"Times New Roman",serif !important;
}

.em-journal-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  border-top: 1px solid var(--ej-line);
  border-left: 1px solid var(--ej-line);
}

.em-journal-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-right: 1px solid var(--ej-line);
  border-bottom: 1px solid var(--ej-line);
}

.em-journal-card__media {
  position: relative;
  height: 275px;
  display: block;
  overflow: hidden;
  background: var(--ej-paper);
}

.em-journal-card__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: transform .55s ease;
}

.em-journal-card__media:hover img { transform: scale(1.025); }
.em-journal-card__media.is-fallback { display: grid; place-items: center; background: var(--ej-sage); }
.em-journal-card__media.is-fallback span { font: 400 78px/1 Georgia,"Times New Roman",serif; }

.em-journal-card__body {
  min-height: 365px;
  padding: 30px 28px 27px;
  display: flex;
  flex-direction: column;
}

.em-journal-card__top,
.em-journal-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #77746d;
  font: 700 8px/1.35 Arial,Helvetica,sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.em-journal-card h3 {
  margin: 48px 0 15px !important;
  color: var(--ej-ink) !important;
  font: 400 clamp(28px,2.35vw,38px)/1.02 Georgia,"Times New Roman",serif !important;
  letter-spacing: -.035em !important;
  text-align: left !important;
  text-transform: none !important;
}

.em-journal-card h3 a { color: inherit !important; text-decoration: none !important; }
.em-journal-card__body > p {
  margin: 0 0 34px !important;
  color: var(--ej-muted) !important;
  font: 400 15.5px/1.62 Georgia,"Times New Roman",serif !important;
}
.em-journal-card__foot { margin-top: auto; }
.em-journal-card__foot a { padding-bottom: 4px; gap: 13px; }

.em-journal-pagination { margin-top: 58px; }
.em-journal-pagination ul { margin: 0 !important; padding: 0 !important; display: flex; flex-wrap: wrap; justify-content: center; list-style: none !important; }
.em-journal-pagination li { margin: 0 -1px 0 0 !important; }
.em-journal-pagination a,
.em-journal-pagination span {
  min-width: 48px;
  height: 48px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ej-ink) !important;
  background: var(--ej-ivory);
  border: 1px solid var(--ej-line);
  font: 700 9px/1 Arial,Helvetica,sans-serif !important;
  letter-spacing: .08em;
  text-decoration: none !important;
}
.em-journal-pagination .current { color: var(--ej-ivory) !important; background: var(--ej-dark); }

.em-journal-empty { padding: 60px; background: var(--ej-paper); border: 1px solid var(--ej-line); }
.em-journal-empty h3 { margin: 0 0 12px !important; font: 400 38px/1 Georgia,"Times New Roman",serif !important; }

.em-journal-resources {
  padding: clamp(78px,8vw,120px) 0;
  color: var(--ej-ivory);
  background: var(--ej-dark);
}

.em-journal-section-head.is-light h2,
.em-journal-section-head.is-light > p,
.em-journal-section-head.is-light .em-journal-eyebrow { color: var(--ej-ivory) !important; }
.em-journal-section-head.is-light > p { opacity: .72; }

.em-journal-resource-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  border-top: 1px solid rgba(251,250,247,.2);
  border-left: 1px solid rgba(251,250,247,.2);
}

.em-journal-resource-grid a {
  min-height: 250px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  color: var(--ej-ivory) !important;
  border-right: 1px solid rgba(251,250,247,.2);
  border-bottom: 1px solid rgba(251,250,247,.2);
  text-decoration: none !important;
  transition: background .25s ease;
}
.em-journal-resource-grid a:hover { background: rgba(255,255,255,.06); }
.em-journal-resource-grid span { color: rgba(251,250,247,.55); font: 700 8px/1.35 Arial,Helvetica,sans-serif; letter-spacing: .14em; }
.em-journal-resource-grid strong { margin: auto 0 26px; font: 400 28px/1.08 Georgia,"Times New Roman",serif; }
.em-journal-resource-grid b { font: 700 9px/1 Arial,Helvetica,sans-serif; letter-spacing: .13em; }

.em-journal-cta {
  padding: clamp(80px,8vw,122px) 0;
  background: var(--ej-sage);
}
.em-journal-cta__grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(340px,.95fr); gap: 70px; align-items: end; }
.em-journal-cta h2 { margin-bottom: 0 !important; }
.em-journal-cta__grid > div:last-child > p { margin: 0 0 28px !important; color: #3f443f !important; font: 400 18px/1.66 Georgia,"Times New Roman",serif !important; }
.em-journal-cta a { display: inline-flex; align-items: center; gap: 32px; min-height: 56px; padding: 0 24px; color: var(--ej-ivory) !important; background: var(--ej-dark); font: 700 9px/1 Arial,Helvetica,sans-serif !important; letter-spacing: .14em; text-decoration: none !important; }

/* ------------------------------ Journal article ------------------------------ */
.em-article,
.em-article * { box-sizing: border-box; }
.em-article {
  --ea-ink:#171714; --ea-muted:#595750; --ea-ivory:#fbfaf7; --ea-paper:#f2eee6; --ea-sage:#aeb7ad; --ea-dark:#2d322d; --ea-brass:#b79258; --ea-line:rgba(23,23,20,.17);
  width:100%; margin:0; padding:0; overflow:hidden; color:var(--ea-ink); background:var(--ea-ivory); font-family:Arial,Helvetica,sans-serif; text-align:left;
}
.em-article-hero { color:var(--ea-ivory); background:var(--ea-dark); }
.em-article-hero__grid { min-height:620px; display:grid; grid-template-columns:minmax(0,1.1fr) minmax(390px,.9fr); }
.em-article-hero__copy { padding:clamp(58px,6.7vw,104px) clamp(40px,6vw,88px) clamp(62px,7vw,106px) 0; display:flex; flex-direction:column; justify-content:center; }
.em-article-hero h1 { max-width:900px; margin:20px 0 25px!important; color:var(--ea-ivory)!important; font:400 clamp(58px,5.75vw,90px)/.94 Georgia,"Times New Roman",serif!important; letter-spacing:-.052em!important; text-align:left!important; text-transform:none!important; }
.em-article-deck { max-width:760px; margin:0 0 30px!important; color:rgba(251,250,247,.77)!important; font:400 20px/1.6 Georgia,"Times New Roman",serif!important; }
.em-article-meta { display:flex; flex-wrap:wrap; gap:14px 25px; color:rgba(251,250,247,.58); font:700 8.5px/1.35 Arial,Helvetica,sans-serif; letter-spacing:.13em; text-transform:uppercase; }
.em-article-hero__visual { position:relative; min-height:620px; overflow:hidden; background:var(--ea-sage); }
.em-article-hero__visual img { position:absolute; inset:0; width:100%!important; height:100%!important; object-fit:cover; }
.em-article-hero__visual:after { position:absolute; inset:0; content:""; background:linear-gradient(90deg,rgba(45,50,45,.25),transparent 35%),linear-gradient(0deg,rgba(23,23,20,.22),transparent 45%); }
.em-article-hero__visual.is-fallback { display:grid; place-items:center; }
.em-article-hero__visual.is-fallback span { color:var(--ea-ink); font:400 clamp(72px,8vw,126px)/.88 Georgia,"Times New Roman",serif; letter-spacing:-.06em; text-align:center; }

.em-article-layout { width:min(calc(100% - 72px),1180px); margin:0 auto; padding:clamp(76px,8vw,124px) 0; display:grid; grid-template-columns:210px minmax(0,790px); gap:78px; justify-content:center; }
.em-article-rail { position:sticky; top:110px; align-self:start; display:flex; flex-direction:column; gap:20px; }
.em-article-rail > span { color:#77746d; font:700 9px/1.35 Arial,Helvetica,sans-serif; letter-spacing:.16em; }
.em-article-rail > a { color:var(--ea-ink)!important; font:700 9px/1.35 Arial,Helvetica,sans-serif!important; letter-spacing:.12em; text-decoration:none!important; }
.em-article-tags { padding-top:20px; display:flex; flex-direction:column; gap:10px; border-top:1px solid var(--ea-line); }
.em-article-tags a { color:var(--ea-muted)!important; font:400 12px/1.35 Arial,Helvetica,sans-serif!important; text-decoration:none!important; }
.em-article-context { margin:0 0 46px; padding:28px 30px; background:var(--ea-paper); border-left:3px solid var(--ea-brass); }
.em-article-context span { display:block; margin:0 0 12px; color:#6d6962; font:700 9px/1.35 Arial,Helvetica,sans-serif; letter-spacing:.15em; }
.em-article-context p { margin:0!important; color:var(--ea-muted)!important; font:400 16px/1.64 Georgia,"Times New Roman",serif!important; }

.em-article-content { color:var(--ea-ink); }
.em-article-content > :first-child { margin-top:0!important; }
.em-article-content p,
.em-article-content li { color:#393834!important; font:400 18.5px/1.78 Georgia,"Times New Roman",serif!important; }
.em-article-content p { margin:0 0 28px!important; }
.em-article-content h2 { margin:70px 0 22px!important; color:var(--ea-ink)!important; font:400 clamp(38px,3.8vw,55px)/1 Georgia,"Times New Roman",serif!important; letter-spacing:-.04em!important; text-align:left!important; text-transform:none!important; }
.em-article-content h3 { margin:50px 0 17px!important; color:var(--ea-ink)!important; font:400 31px/1.1 Georgia,"Times New Roman",serif!important; letter-spacing:-.025em!important; text-align:left!important; text-transform:none!important; }
.em-article-content ul,
.em-article-content ol { margin:0 0 32px!important; padding-left:24px!important; }
.em-article-content li { margin-bottom:12px!important; }
.em-article-content blockquote { margin:48px 0!important; padding:4px 0 4px 28px!important; border-left:2px solid var(--ea-brass)!important; }
.em-article-content blockquote p { color:var(--ea-ink)!important; font-size:26px!important; line-height:1.42!important; }
.em-article-content img { width:auto!important; max-width:100%!important; height:auto!important; margin:34px auto!important; display:block!important; }
.em-article-content figure { max-width:none!important; margin:42px 0!important; }
.em-article-content figcaption { color:#77746d!important; font:400 12px/1.5 Arial,Helvetica,sans-serif!important; }
.em-article-content a { color:var(--ea-ink)!important; text-decoration:underline!important; text-underline-offset:3px; text-decoration-thickness:1px; }

.em-article-author { margin-top:76px; padding:35px; display:grid; grid-template-columns:72px 1fr; gap:26px; background:var(--ea-paper); border:1px solid var(--ea-line); }
.em-article-author__mark { width:72px; height:72px; display:grid; place-items:center; color:var(--ea-ivory); background:var(--ea-dark); border-radius:50%; font:400 38px/1 Georgia,"Times New Roman",serif; }
.em-article-author span { color:#77746d; font:700 8px/1.3 Arial,Helvetica,sans-serif; letter-spacing:.15em; }
.em-article-author h2 { margin:9px 0 8px!important; font:400 30px/1 Georgia,"Times New Roman",serif!important; text-transform:none!important; }
.em-article-author p { margin:0 0 18px!important; color:var(--ea-muted)!important; font:400 15px/1.6 Georgia,"Times New Roman",serif!important; }
.em-article-author a { gap:16px; }

.em-article-related { padding:clamp(72px,8vw,112px) 0; background:var(--ea-paper); }
.em-article-related header { margin-bottom:40px; }
.em-article-related h2 { margin:16px 0 0!important; color:var(--ea-ink)!important; font:400 clamp(46px,4.6vw,68px)/.98 Georgia,"Times New Roman",serif!important; letter-spacing:-.045em!important; text-align:left!important; text-transform:none!important; }
.em-article-related__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid var(--ea-line); border-left:1px solid var(--ea-line); }
.em-article-related article { min-height:310px; padding:28px; display:flex; flex-direction:column; background:var(--ea-ivory); border-right:1px solid var(--ea-line); border-bottom:1px solid var(--ea-line); }
.em-article-related article > span { color:#77746d; font:700 8px/1.35 Arial,Helvetica,sans-serif; letter-spacing:.14em; }
.em-article-related h3 { margin:50px 0 14px!important; font:400 31px/1.05 Georgia,"Times New Roman",serif!important; letter-spacing:-.03em!important; text-align:left!important; text-transform:none!important; }
.em-article-related h3 a { color:var(--ea-ink)!important; text-decoration:none!important; }
.em-article-related p { margin:0 0 26px!important; color:var(--ea-muted)!important; font:400 15.5px/1.58 Georgia,"Times New Roman",serif!important; }
.em-article-related article > a { margin-top:auto; }

.em-article-cta { padding:clamp(76px,8vw,118px) 0; color:var(--ea-ivory); background:var(--ea-dark); }
.em-article-cta__grid { display:grid; grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr); gap:70px; align-items:end; }
.em-article-cta h2 { margin:17px 0 0!important; color:var(--ea-ivory)!important; font:400 clamp(47px,4.8vw,72px)/.98 Georgia,"Times New Roman",serif!important; letter-spacing:-.047em!important; text-align:left!important; text-transform:none!important; }
.em-article-cta nav { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid rgba(251,250,247,.2); border-left:1px solid rgba(251,250,247,.2); }
.em-article-cta nav a { min-height:190px; padding:24px; display:flex; flex-direction:column; color:var(--ea-ivory)!important; border-right:1px solid rgba(251,250,247,.2); border-bottom:1px solid rgba(251,250,247,.2); text-decoration:none!important; }
.em-article-cta nav span { color:rgba(251,250,247,.55); font:700 8px/1.35 Arial,Helvetica,sans-serif; letter-spacing:.14em; }
.em-article-cta nav strong { margin:auto 0 20px; font:400 24px/1.1 Georgia,"Times New Roman",serif; }
.em-article-cta nav b { font:400 18px/1 Arial,Helvetica,sans-serif; }



/* ------------------------------ Separate blog-install safeguards ------------------------------ */
body.elika-journal-modern,
body.elika-journal-article-modern {
  background: #fbfaf7 !important;
}

body.elika-journal-modern :is(.site-content,.site-content > .cs-container,.content-area,.site-main,#content,#primary,#main,.main-content,article.page,.entry-content,.wp-block-post-content,section.custom-content,section.custom-content > .container),
body.elika-journal-article-modern :is(.site-content,.site-content > .cs-container,.content-area,.site-main,#content,#primary,#main,.main-content,article.post,.entry-content,.wp-block-post-content,section.custom-content,section.custom-content > .container) {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.elika-journal-modern :is(main .sidebar,main #secondary,main .widget-area,main .cs-sidebar),
body.elika-journal-article-modern :is(main .sidebar,main #secondary,main .widget-area,main .cs-sidebar) {
  display: none !important;
}

body.elika-journal-modern :is(.navbar-dummy,.header-dummy,.header-placeholder,.header_placeholder),
body.elika-journal-article-modern :is(.navbar-dummy,.header-dummy,.header-placeholder,.header_placeholder) {
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.em-article-content :is(table,.wp-block-table table) {
  width: 100% !important;
  margin: 38px 0 !important;
  border-collapse: collapse !important;
  color: #393834 !important;
  font: 400 15px/1.55 Arial,Helvetica,sans-serif !important;
}
.em-article-content :is(th,td) {
  padding: 15px 16px !important;
  border: 1px solid var(--ea-line) !important;
  text-align: left !important;
  vertical-align: top !important;
}
.em-article-content th {
  background: var(--ea-paper) !important;
  font-weight: 700 !important;
}
.em-article-content :is(iframe,video,embed,object) {
  display: block !important;
  max-width: 100% !important;
  margin: 42px auto !important;
}
.em-article-content .wp-block-embed__wrapper {
  position: relative !important;
  width: 100% !important;
}
.em-article-content hr {
  margin: 56px 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--ea-line) !important;
}
.em-article-content pre {
  margin: 38px 0 !important;
  padding: 24px !important;
  overflow-x: auto !important;
  color: var(--ea-ivory) !important;
  background: var(--ea-dark) !important;
  font: 400 14px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace !important;
}

@media(max-width:620px) {
  .em-article-content .wp-block-table {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}


/* ------------------------------ Journal responsive layout ------------------------------ */
@media(max-width:1050px) {
  .em-journal-hero__grid,.em-journal-feature__grid,.em-article-hero__grid { grid-template-columns:1fr 1fr; }
  .em-journal-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .em-journal-resource-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .em-article-layout { grid-template-columns:160px minmax(0,740px); gap:48px; }
  .em-article-related__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .em-article-related article:last-child { grid-column:1/-1; }
}

@media(max-width:820px) {
  .em-journal-shell,.em-article-shell { width:min(calc(100% - 40px),1380px); }
  .em-journal-hero__grid,.em-journal-feature__grid,.em-article-hero__grid,.em-journal-section-head,.em-journal-cta__grid,.em-article-cta__grid { grid-template-columns:1fr; }
  .em-journal-hero__copy,.em-article-hero__copy { padding:60px 0; }
  .em-journal-hero__index { min-height:360px; border-top:1px solid rgba(251,250,247,.15); border-left:0; }
  .em-journal-mark { font-size:250px; }
  .em-journal-principles { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .em-journal-principles span:nth-child(2) { border-right:0; }
  .em-journal-tools__grid { grid-template-columns:1fr; gap:28px; }
  .em-journal-categories { justify-content:flex-start; }
  .em-journal-feature__media { min-height:460px; border-right:0; border-bottom:1px solid var(--ej-line); }
  .em-journal-section-head { gap:28px; }
  .em-article-hero__visual { min-height:430px; order:-1; }
  .em-article-layout { width:min(calc(100% - 40px),790px); grid-template-columns:1fr; gap:38px; }
  .em-article-rail { position:static; padding-bottom:25px; border-bottom:1px solid var(--ea-line); }
  .em-article-tags { flex-direction:row; flex-wrap:wrap; }
  .em-article-cta nav { margin-top:10px; }
}

@media(max-width:620px) {
  .em-journal-shell,.em-article-shell { width:calc(100% - 36px); }
  .em-journal-hero h1 { font-size:60px!important; }
  .em-journal-intro { font-size:17px!important; }
  .em-journal-hero__index { min-height:300px; padding:34px 26px; }
  .em-journal-mark { margin-top:-24px; font-size:210px; }
  .em-journal-principles { grid-template-columns:1fr; }
  .em-journal-principles span { min-height:72px; border-right:0; border-bottom:1px solid var(--ej-line); }
  .em-journal-tools { padding:34px 0; }
  .em-journal-search > div { grid-template-columns:1fr; }
  .em-journal-search button { width:100%; }
  .em-journal-feature,.em-journal-archive,.em-journal-resources,.em-journal-cta,.em-article-related,.em-article-cta { padding:66px 0; }
  .em-journal-feature__media { min-height:330px; }
  .em-journal-feature__copy { padding:38px 24px; }
  .em-journal-feature__copy h2,.em-journal-section-head h2,.em-journal-cta h2 { font-size:43px!important; }
  .em-journal-grid,.em-journal-resource-grid,.em-article-related__grid { grid-template-columns:1fr; }
  .em-journal-card__media { height:240px; }
  .em-journal-card__body { min-height:0; }
  .em-journal-resource-grid a { min-height:205px; }
  .em-article-hero h1 { font-size:46px!important; }
  .em-article-hero__copy { padding:46px 0 54px; }
  .em-article-hero__visual { min-height:300px; }
  .em-article-layout { width:calc(100% - 36px); padding:64px 0; }
  .em-article-content p,.em-article-content li { font-size:17px!important; line-height:1.7!important; }
  .em-article-content h2 { margin-top:58px!important; font-size:39px!important; }
  .em-article-author { padding:26px 22px; grid-template-columns:1fr; }
  .em-article-related__grid article:last-child { grid-column:auto; }
  .em-article-cta nav { grid-template-columns:1fr; }
  .em-article-cta nav a { min-height:155px; }
}

/* ========================================================================
   ELIKA JOURNAL MODERNIZER 2.0
   Self-contained header/footer, stronger article hierarchy and handbook CTA.
   ======================================================================== */

body.elika-journal-shell-v2 {
  --ejm-ink:#171714;
  --ejm-muted:#5a5852;
  --ejm-ivory:#fbfaf7;
  --ejm-paper:#f2eee6;
  --ejm-sage:#aeb7ad;
  --ejm-dark:#2d322d;
  --ejm-brass:#b79258;
  --ejm-line:rgba(23,23,20,.17);
  background:var(--ejm-ivory)!important;
}

/* Hide the legacy blog-install header/footer only on Journal-controlled views. */
body.elika-journal-shell-v2 :is(#masthead,#header,header#header,.site-header,header.site-header,.header-main,.header-area,.main-header,.header-wrap,.header-wrapper,.top-bar,.announcement-bar):not(#ejm-site-header),
body.elika-journal-shell-v2 :is(#colophon,#footer,footer#footer,.site-footer,footer.site-footer,.footer-area,.main-footer,.footer-wrap,.footer-wrapper):not(#ejm-site-footer) {
  display:none!important;
}
body.elika-journal-shell-v2 :is(.navbar-dummy,.header-dummy,.header-placeholder,.header_placeholder) {
  display:none!important;width:0!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;
}
body.elika-journal-shell-v2 #page,
body.elika-journal-shell-v2 .site,
body.elika-journal-shell-v2 .site-inner {
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:var(--ejm-ivory)!important;
}

body.elika-journal-shell-v2 .screen-reader-text{
  position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important
}
body.elika-journal-shell-v2 .em-article-content :is(h1,h2,h3,h4,h5,h6) *{
  color:inherit!important;font:inherit!important;font-style:inherit!important;font-weight:inherit!important;
  letter-spacing:inherit!important;line-height:inherit!important;text-transform:inherit!important;-webkit-text-fill-color:currentColor!important
}

/* ------------------------------ Header ------------------------------ */
.ejm-site-header,.ejm-site-header *{box-sizing:border-box}
.ejm-site-header{position:relative;z-index:100000;color:var(--ejm-ink);background:#fff;border-bottom:1px solid var(--ejm-line);font-family:Arial,Helvetica,sans-serif}
.ejm-announcement{min-height:26px;padding:4px 18px;display:flex;align-items:center;justify-content:center;gap:5px;color:#57554f;background:#f3f2ef;border-bottom:1px solid rgba(23,23,20,.08);font:400 13px/1.3 Arial,Helvetica,sans-serif;letter-spacing:.02em;text-align:center}
.ejm-announcement a{color:inherit!important;text-decoration:underline!important;text-underline-offset:3px}
.ejm-header-row{width:min(calc(100% - 64px),1450px);height:88px;margin:0 auto;display:grid;grid-template-columns:220px minmax(0,1fr) auto 44px;align-items:center;gap:28px}
.ejm-brand,.ejm-drawer-brand,.ejm-footer-brand>a{display:inline-flex;align-items:center;text-decoration:none!important}
.ejm-brand-logo{display:block!important;width:auto!important;max-width:170px!important;height:66px!important;max-height:66px!important;object-fit:contain!important}
.ejm-brand-fallback{color:var(--ejm-ink);font:500 27px/1 Arial,Helvetica,sans-serif;letter-spacing:.14em}
.ejm-desktop-nav{display:flex;align-items:center;justify-content:center;gap:clamp(22px,3vw,48px)}
.ejm-desktop-nav a{position:relative;color:#62605b!important;font:500 13px/1 Arial,Helvetica,sans-serif!important;letter-spacing:.025em;text-decoration:none!important}
.ejm-desktop-nav a:after{position:absolute;right:0;bottom:-12px;left:0;height:1px;content:"";transform:scaleX(0);background:var(--ejm-brass);transform-origin:left;transition:transform .2s ease}
.ejm-desktop-nav a:hover:after,.ejm-desktop-nav a.is-current:after{transform:scaleX(1)}
.ejm-header-cta{min-height:48px;padding:0 21px;display:inline-flex;align-items:center;gap:24px;color:var(--ejm-ivory)!important;background:var(--ejm-dark);font:700 9px/1 Arial,Helvetica,sans-serif!important;letter-spacing:.14em;text-decoration:none!important;white-space:nowrap}
.ejm-header-cta svg{width:24px;height:12px;fill:none;stroke:currentColor;stroke-width:1.3}
.ejm-header-icon{width:44px;height:44px;margin:0;padding:0;display:grid;place-items:center;color:var(--ejm-ink);background:transparent;border:0;cursor:pointer}
.ejm-header-icon svg,.ejm-drawer-close svg,.ejm-drawer-search svg,.ejm-search-close svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.ejm-menu-toggle{display:none}

.ejm-drawer-overlay{position:fixed;inset:0;z-index:100001;display:block;opacity:0;visibility:hidden;background:rgba(18,21,19,.55);border:0;transition:opacity .25s ease,visibility 0s linear .25s}
.ejm-drawer-overlay.is-open{opacity:1;visibility:visible;transition-delay:0s}
.ejm-mobile-drawer{position:fixed;top:0;bottom:0;left:0;z-index:100002;width:min(92vw,430px);height:100dvh;visibility:hidden;transform:translate3d(-103%,0,0);overflow:hidden;color:var(--ejm-ink);background:var(--ejm-ivory);box-shadow:22px 0 60px rgba(12,14,13,.2);transition:transform .34s cubic-bezier(.22,.72,.18,1),visibility 0s linear .34s}
.ejm-mobile-drawer.is-open{visibility:visible;transform:translate3d(0,0,0);transition-delay:0s}
.ejm-drawer-head{height:82px;padding:0 16px;display:grid;grid-template-columns:48px 1fr 48px;align-items:center;border-bottom:1px solid var(--ejm-line);background:#fff}
.ejm-drawer-head button{width:48px;height:48px;margin:0;padding:0;display:grid;place-items:center;color:var(--ejm-ink);background:transparent;border:0}
.ejm-drawer-brand{justify-self:center}
.ejm-drawer-logo{display:block!important;width:auto!important;max-width:145px!important;height:64px!important;max-height:64px!important;object-fit:contain!important}
.ejm-drawer-scroll{height:calc(100dvh - 82px);padding:26px 26px calc(36px + env(safe-area-inset-bottom));overflow:auto}
.ejm-drawer-kicker{margin:0 0 18px!important;color:#77746d!important;font:700 8px/1.4 Arial,Helvetica,sans-serif!important;letter-spacing:.17em!important}
.ejm-drawer-nav details,.ejm-drawer-single{display:block;border-top:1px solid var(--ejm-line)}
.ejm-drawer-nav details:last-of-type,.ejm-drawer-single{border-bottom:1px solid var(--ejm-line)}
.ejm-drawer-nav summary,.ejm-drawer-single{min-height:58px;padding:0 2px;display:flex;align-items:center;justify-content:space-between;color:var(--ejm-ink)!important;font:500 14px/1 Arial,Helvetica,sans-serif!important;letter-spacing:.06em;text-decoration:none!important;list-style:none;cursor:pointer}
.ejm-drawer-nav summary::-webkit-details-marker{display:none}
.ejm-drawer-nav summary span{font-size:18px;font-weight:300}
.ejm-drawer-nav details>div{margin:0 -26px;padding:8px 26px 16px;background:var(--ejm-paper)}
.ejm-drawer-nav details a{min-height:39px;padding:8px 2px;display:flex;align-items:center;color:#4f4d48!important;font:500 13px/1.3 Arial,Helvetica,sans-serif!important;text-decoration:none!important}
.ejm-drawer-cta{margin-top:34px;padding:30px;background:var(--ejm-dark);color:var(--ejm-ivory)}
.ejm-drawer-cta p{margin:0 0 13px!important;color:rgba(251,250,247,.58)!important;font:700 8px/1.3 Arial,Helvetica,sans-serif!important;letter-spacing:.15em!important}
.ejm-drawer-cta h2{margin:0 0 23px!important;color:var(--ejm-ivory)!important;font:400 35px/1 Georgia,"Times New Roman",serif!important;letter-spacing:-.035em!important;text-transform:none!important}
.ejm-drawer-cta a{min-height:52px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;color:var(--ejm-ink)!important;background:var(--ejm-ivory);font:700 8px/1 Arial,Helvetica,sans-serif!important;letter-spacing:.13em;text-decoration:none!important}
.ejm-drawer-cta svg{width:24px;height:12px;fill:none;stroke:currentColor;stroke-width:1.3}
.ejm-drawer-utility{margin-top:28px;display:flex;gap:22px;flex-wrap:wrap}
.ejm-drawer-utility a{color:var(--ejm-ink)!important;font:700 9px/1.3 Arial,Helvetica,sans-serif!important;letter-spacing:.12em;text-decoration:none!important}
html.ejm-menu-open,body.ejm-menu-open{overflow:hidden!important}

.ejm-search-panel{position:fixed;inset:0;z-index:100003;padding:clamp(30px,6vw,86px);display:grid;place-items:center;opacity:0;visibility:hidden;color:var(--ejm-ivory);background:rgba(45,50,45,.985);transition:opacity .25s ease,visibility 0s linear .25s}
.ejm-search-panel.is-open{opacity:1;visibility:visible;transition-delay:0s}
.ejm-search-panel__inner{position:relative;width:min(100%,980px)}
.ejm-search-close{position:absolute;top:-42px;right:0;width:48px;height:48px;display:grid;place-items:center;color:var(--ejm-ivory);background:transparent;border:1px solid rgba(251,250,247,.28)}
.ejm-search-panel p{margin:0 0 18px!important;color:rgba(251,250,247,.62)!important;font:700 9px/1.3 Arial,Helvetica,sans-serif!important;letter-spacing:.17em!important}
.ejm-search-panel h2{max-width:760px;margin:0 0 38px!important;color:var(--ejm-ivory)!important;font:400 clamp(46px,6vw,82px)/.96 Georgia,"Times New Roman",serif!important;letter-spacing:-.05em!important;text-transform:none!important}
.ejm-search-panel form{display:grid;grid-template-columns:1fr auto;border:1px solid rgba(251,250,247,.35)}
.ejm-search-panel input{height:68px;margin:0!important;padding:0 22px!important;color:var(--ejm-ivory)!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;font:400 16px/1 Arial,Helvetica,sans-serif!important}
.ejm-search-panel input::placeholder{color:rgba(251,250,247,.55)!important}
.ejm-search-panel form button{min-width:176px;margin:0!important;padding:0 24px!important;display:flex;align-items:center;justify-content:center;gap:22px;color:var(--ejm-ink)!important;background:var(--ejm-ivory)!important;border:0!important;font:700 9px/1 Arial,Helvetica,sans-serif!important;letter-spacing:.13em!important}
.ejm-search-panel form button svg{width:24px;height:12px;fill:none;stroke:currentColor;stroke-width:1.3}
html.ejm-search-open,body.ejm-search-open{overflow:hidden!important}

/* ------------------------------ Strong heading reset ------------------------------ */
body.elika-journal-shell-v2 :is(.em-journal,.em-article) :is(h1,h2,h3,h4,h5,h6){font-style:normal!important;font-variant:normal!important;text-decoration:none!important;text-shadow:none!important;text-transform:none!important}
body.elika-journal-shell-v2 .em-article-content h2{margin:72px 0 22px!important;padding:0!important;color:var(--ea-ink)!important;background:transparent!important;border:0!important;font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(42px,4.2vw,60px)!important;font-weight:400!important;line-height:.99!important;letter-spacing:-.045em!important;text-align:left!important}
body.elika-journal-shell-v2 .em-article-content h3{margin:54px 0 17px!important;padding:0!important;color:var(--ea-ink)!important;background:transparent!important;border:0!important;font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(31px,3vw,40px)!important;font-weight:400!important;line-height:1.06!important;letter-spacing:-.032em!important;text-align:left!important}
body.elika-journal-shell-v2 .em-article-content h4{margin:43px 0 14px!important;padding:0!important;color:var(--ea-ink)!important;background:transparent!important;border:0!important;font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(25px,2.3vw,31px)!important;font-weight:400!important;line-height:1.12!important;letter-spacing:-.022em!important;text-align:left!important}
body.elika-journal-shell-v2 .em-article-content h5{margin:35px 0 12px!important;padding:0!important;color:var(--ea-ink)!important;background:transparent!important;border:0!important;font-family:Arial,Helvetica,sans-serif!important;font-size:15px!important;font-weight:700!important;line-height:1.35!important;letter-spacing:.12em!important;text-align:left!important;text-transform:uppercase!important}
body.elika-journal-shell-v2 .em-article-content h6{margin:30px 0 10px!important;padding:0!important;color:#6d6962!important;background:transparent!important;border:0!important;font-family:Arial,Helvetica,sans-serif!important;font-size:11px!important;font-weight:700!important;line-height:1.35!important;letter-spacing:.15em!important;text-align:left!important;text-transform:uppercase!important}
body.elika-journal-shell-v2 .em-article-content :is(h2,h3,h4,h5,h6)::before,
body.elika-journal-shell-v2 .em-article-content :is(h2,h3,h4,h5,h6)::after{display:none!important;content:none!important}

/* ------------------------------ Handbook promotion ------------------------------ */
.ejm-handbook-promo,.ejm-handbook-promo *{box-sizing:border-box}
.ejm-handbook-promo{padding:clamp(74px,8vw,122px) 34px;background:var(--ejm-paper);border-top:1px solid var(--ejm-line);border-bottom:1px solid var(--ejm-line)}
.ejm-handbook-inner{width:min(100%,1320px);min-height:520px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.06fr) minmax(360px,.94fr);border:1px solid var(--ejm-line);background:var(--ejm-ivory)}
.ejm-handbook-copy{padding:clamp(50px,6vw,90px);display:flex;flex-direction:column;justify-content:center}
.ejm-handbook-kicker{margin:0 0 18px!important;color:#69665f!important;font:700 9px/1.35 Arial,Helvetica,sans-serif!important;letter-spacing:.17em!important}
.ejm-handbook-copy h2{max-width:760px;margin:0 0 24px!important;color:var(--ejm-ink)!important;font:400 clamp(48px,5vw,74px)/.96 Georgia,"Times New Roman",serif!important;letter-spacing:-.05em!important;text-transform:none!important}
.ejm-handbook-copy>p:not(.ejm-handbook-kicker){max-width:680px;margin:0 0 26px!important;color:var(--ejm-muted)!important;font:400 18px/1.66 Georgia,"Times New Roman",serif!important}
.ejm-handbook-topics{margin:0 0 34px;display:flex;gap:13px 20px;flex-wrap:wrap;color:#77746d;font:700 8px/1.3 Arial,Helvetica,sans-serif;letter-spacing:.15em}
.ejm-handbook-topics span:not(:last-child):after{margin-left:20px;color:var(--ejm-brass);content:"·"}
.ejm-handbook-copy>a{align-self:flex-start;min-height:58px;padding:0 22px;display:inline-flex;align-items:center;gap:36px;color:var(--ejm-ivory)!important;background:var(--ejm-dark);font:700 9px/1 Arial,Helvetica,sans-serif!important;letter-spacing:.13em;text-decoration:none!important}
.ejm-handbook-copy>a svg{width:25px;height:13px;fill:none;stroke:currentColor;stroke-width:1.3}
.ejm-handbook-visual{position:relative;min-height:520px;padding:54px;display:grid;place-items:center;overflow:hidden;background:#f7f2e9;border-left:1px solid var(--ejm-line);text-decoration:none!important}
.ejm-handbook-visual:before{position:absolute;top:42px;right:42px;width:54px;height:54px;display:grid;place-items:center;content:"↗";color:var(--ejm-ink);border:1px solid rgba(183,146,88,.7);border-radius:50%;font:400 22px/1 Arial,Helvetica,sans-serif}
.ejm-handbook-cover{display:block;width:min(100%,390px);filter:drop-shadow(0 18px 18px rgba(30,28,25,.15));transform:rotate(-2deg);transition:transform .45s ease}
.ejm-handbook-cover img{display:block!important;width:100%!important;height:auto!important;margin:0!important}
.ejm-handbook-visual:hover .ejm-handbook-cover{transform:rotate(-1deg) translateY(-5px)}

/* ------------------------------ Footer ------------------------------ */
.ejm-site-footer,.ejm-site-footer *{box-sizing:border-box}
.ejm-site-footer{color:var(--ejm-ink);background:#f7f4ee;border-top:1px solid var(--ejm-ink);font-family:Arial,Helvetica,sans-serif}
.ejm-footer-top{display:grid;grid-template-columns:1.15fr repeat(5,1fr);border-bottom:1px solid var(--ejm-ink)}
.ejm-footer-top>div{min-height:270px;padding:30px 28px;border-right:1px solid var(--ejm-ink)}
.ejm-footer-top>div:last-child{border-right:0}
.ejm-footer-brand{background:#f1ede4}
.ejm-footer-logo{display:block!important;width:auto!important;max-width:155px!important;height:68px!important;max-height:68px!important;object-fit:contain!important}
.ejm-footer-brand p{max-width:220px;margin:26px 0 0!important;color:#5b5953!important;font:400 15px/1.6 Georgia,"Times New Roman",serif!important}
.ejm-footer-top h2{margin:0 0 28px!important;color:var(--ejm-ink)!important;font:700 11px/1 Arial,Helvetica,sans-serif!important;letter-spacing:.13em!important;text-transform:uppercase!important}
.ejm-footer-top p,.ejm-footer-top a{display:block;margin:0 0 12px;color:#363532!important;font:400 12px/1.5 Arial,Helvetica,sans-serif!important;text-decoration:none!important}
.ejm-footer-top a:hover{text-decoration:underline!important;text-underline-offset:3px}
.ejm-footer-legal{min-height:62px;padding:18px 24px;display:flex;align-items:center;justify-content:center;gap:8px 15px;flex-wrap:wrap;border-bottom:1px solid var(--ejm-ink)}
.ejm-footer-legal a,.ejm-footer-legal span{color:#4e4c47!important;font:400 11px/1.3 Arial,Helvetica,sans-serif!important;text-decoration:none!important}
.ejm-footer-bottom{min-height:64px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.ejm-footer-bottom p{margin:0!important;color:#33322f!important;font:400 12px/1.4 Arial,Helvetica,sans-serif!important}
.ejm-footer-social{display:flex;align-items:stretch;border-left:1px solid var(--ejm-ink)}
.ejm-footer-social a{min-height:64px;padding:0 18px;display:flex;align-items:center;color:var(--ejm-ink)!important;border-right:1px solid var(--ejm-ink);font:700 9px/1 Arial,Helvetica,sans-serif!important;letter-spacing:.12em;text-decoration:none!important}

@media(max-width:1180px){
  .ejm-header-row{grid-template-columns:180px minmax(0,1fr) auto 44px;gap:18px}.ejm-desktop-nav{gap:22px}.ejm-desktop-nav a{font-size:11px}.ejm-header-cta{padding-inline:16px}
  .ejm-footer-top{grid-template-columns:repeat(3,1fr)}.ejm-footer-top>div{border-bottom:1px solid var(--ejm-ink)}
}
@media(max-width:1119px){
  .ejm-announcement{display:none}.ejm-header-row{width:100%;height:80px;padding:0 16px;grid-template-columns:48px 1fr 48px;gap:8px}.ejm-menu-toggle{display:grid}.ejm-brand{justify-self:center}.ejm-brand-logo{max-width:142px!important;height:68px!important;max-height:68px!important}.ejm-desktop-nav,.ejm-header-cta{display:none}.ejm-search-toggle{justify-self:end}
}
@media(max-width:820px){
  .ejm-handbook-promo{padding:0}.ejm-handbook-inner{width:100%;grid-template-columns:1fr;border-right:0;border-left:0}.ejm-handbook-copy{padding:58px 28px}.ejm-handbook-visual{min-height:420px;border-top:1px solid var(--ejm-line);border-left:0}.ejm-handbook-cover{width:min(68vw,310px)}
  .ejm-footer-top{grid-template-columns:repeat(2,1fr)}.ejm-footer-top>div:nth-child(even){border-right:0}.ejm-footer-bottom{padding:22px;align-items:flex-start;flex-direction:column}.ejm-footer-social{width:100%;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--ejm-ink);border-left:1px solid var(--ejm-ink)}.ejm-footer-social a{min-height:52px;justify-content:center;text-align:center}
}
@media(max-width:560px){
  .ejm-search-panel{padding:24px}.ejm-search-panel form{grid-template-columns:1fr}.ejm-search-panel form button{min-height:58px}.ejm-search-close{top:-58px}
  .ejm-handbook-copy h2{font-size:44px!important}.ejm-handbook-copy>a{width:100%;justify-content:space-between}.ejm-handbook-visual{min-height:350px;padding:44px 28px}.ejm-handbook-visual:before{top:22px;right:22px;width:46px;height:46px}
  .ejm-footer-top{grid-template-columns:1fr}.ejm-footer-top>div{min-height:0;border-right:0!important}.ejm-footer-social{grid-template-columns:1fr}.ejm-footer-social a{border-bottom:1px solid var(--ejm-ink)}
}
@media(prefers-reduced-motion:reduce){.ejm-site-header *,.ejm-handbook-promo *{transition:none!important;scroll-behavior:auto!important}}


/* ==========================================================================
   v2.2 — Use the approved main-site ELIKA / NEW YORK logo everywhere in the
   separate Journal header, open mobile drawer and footer.
   ========================================================================== */
.ejm-site-header .ejm-main-site-logo,
.ejm-mobile-drawer .ejm-main-site-logo,
.ejm-site-footer .ejm-main-site-logo {
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  margin:0 auto!important;
  object-fit:contain!important;
  mix-blend-mode:multiply!important;
  filter:none!important;
  opacity:1!important;
}
.ejm-site-header .ejm-brand-logo.ejm-main-site-logo {
  width:125px!important;
  max-width:125px!important;
  height:auto!important;
  max-height:none!important;
}
.ejm-mobile-drawer .ejm-drawer-logo.ejm-main-site-logo {
  width:121px!important;
  max-width:121px!important;
  height:auto!important;
  max-height:none!important;
}
.ejm-site-footer .ejm-footer-logo.ejm-main-site-logo {
  width:128px!important;
  max-width:128px!important;
  height:auto!important;
  max-height:none!important;
  margin:0!important;
}
@media(max-width:1119px){
  .ejm-site-header .ejm-brand-logo.ejm-main-site-logo {
    width:121px!important;
    max-width:121px!important;
    height:auto!important;
    max-height:none!important;
  }
}


/* ========================================================================== 
   v2.3 — duplicate announcement cleanup + floating handbook book
   ========================================================================== */

/* Legacy theme promo bars are removed by JS when they duplicate our controlled bar. */
body.elika-journal-shell-v2 [data-ejm-legacy-promo-hidden="1"]{
  display:none!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

.ejm-handbook-float{
  position:fixed!important;
  right:clamp(18px,2.1vw,34px)!important;
  bottom:clamp(22px,2.3vw,38px)!important;
  z-index:2147482500!important;
  width:88px!important;
  height:auto!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  text-decoration:none!important;
  opacity:1!important;
  visibility:visible!important;
  transform:rotate(-4deg) translateZ(0)!important;
  transform-origin:50% 80%!important;
  transition:transform .28s ease,opacity .22s ease,visibility .22s ease!important;
  pointer-events:auto!important;
  -webkit-tap-highlight-color:transparent!important;
}
.ejm-handbook-float picture,
.ejm-handbook-float img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  pointer-events:none!important;
}
.ejm-handbook-float img{filter:drop-shadow(0 10px 10px rgba(28,26,22,.16))!important}
.ejm-handbook-float:hover,
.ejm-handbook-float:focus-visible{transform:rotate(-2deg) translateY(-5px)!important}
.ejm-handbook-float.is-hidden{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transform:rotate(-4deg) translateY(14px)!important;
}
html.ejm-menu-open .ejm-handbook-float,
html.ejm-search-open .ejm-handbook-float,
body.ejm-menu-open .ejm-handbook-float,
body.ejm-search-open .ejm-handbook-float{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

@media(max-width:760px){
  .ejm-handbook-float{
    width:68px!important;
    right:16px!important;
    bottom:18px!important;
  }
}
@media(max-width:390px){.ejm-handbook-float{width:62px!important;right:13px!important;bottom:16px!important}}
@media(prefers-reduced-motion:reduce){.ejm-handbook-float{transition:none!important;transform:rotate(-3deg)!important}}
