/* About focus pills: their server-rendered colors, icons and styles ship together.
   Scoped specificity also wins over older child-theme CSS loaded after this file. */
.em-home .em-about .ema .ema-checks { gap: 12px !important; }
.em-home .em-about .ema .ema-checks > li {
  border-radius: 12px !important;
  padding: 12px 14px !important;
  gap: 10px !important;
  transition:
    transform .5s cubic-bezier(.3,1.7,.5,1) calc(1.1s + var(--i, 0) * .15s),
    translate .32s cubic-bezier(.3,1.7,.5,1),
    scale .32s cubic-bezier(.3,1.7,.5,1),
    box-shadow .25s ease;
}
.em-home .em-about .ema .ema-checks .ema-tick.has-focus-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50% !important;
  background-color: var(--about-focus-color, var(--ea-mint, #CDE8D8)) !important;
}
.em-home .em-about .ema .ema-checks .ema-tick.has-focus-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--ea-ink, #14291d);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.em-home .em-about .ema .ema-checks .ema-tick.has-focus-icon path {
  stroke-dasharray: none !important;
  stroke-dashoffset: 0 !important;
  transition: none;
}
@media (min-width: 760px) {
  .em-home .em-about .ema .ema-checks { gap: 16px !important; }
}
@media (hover: hover) and (pointer: fine) {
  .em-home .em-about .ema.ema-in .ema-checks > li:hover {
    transform: rotate(var(--r, 0deg));
    translate: 0 -4px;
    scale: 1.02;
    box-shadow: 0 6px 0 rgba(20,41,29,.13);
    transition-delay: 0s;
  }
}
.em-home .em-about .ema .ema-checks > li.em-about-pill-bounce {
  animation: em-about-pill-click-bounce .46s cubic-bezier(.2,1.4,.4,1);
}
@keyframes em-about-pill-click-bounce {
  0%, 100% { translate: 0 0; }
  45% { translate: 0 -5px; }
  72% { translate: 0 -1px; }
}
@media (prefers-reduced-motion: reduce) {
  .em-home .em-about .ema .ema-checks > li {
    animation: none !important;
    transition: none !important;
    translate: none !important;
    scale: none !important;
  }
}

/* Homepage Our Work in Action section. Kept in the plugin so the component and behavior ship together. */
.em-home .em-impact-work,
.em-home .em-impact-work * { box-sizing: border-box; }
.em-home .em-impact-work { color: var(--forest, #14291d); }
.em-home .em-impact-work .em-section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; margin-bottom: 30px; }
.em-home .em-impact-work .em-section-heading h2 { margin: 0; color: var(--forest, #14291d); font: 500 clamp(34px, 5vw, 50px)/1.06 var(--em-font-heading, "Newsreader", Georgia, serif); letter-spacing: -.02em; }
.em-home .em-impact-work .em-eyebrow { margin: 0 0 14px; color: var(--green, #2a7f3e); }
.em-home .em-impact-work .em-section-summary { max-width: 480px; margin: 0; color: var(--muted, #5c6b61); font: 400 17px/1.6 var(--em-font-body, Geist, system-ui, sans-serif); }

.em-home .em-impact-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 8px; }
.em-home .em-impact-tab {
  --em-focus-color: #F5DC9F;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--em-focus-color) !important;
  color: #14291d !important;
  font: 600 15px/1.25 var(--em-font-body, Geist, system-ui, sans-serif) !important;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .35s cubic-bezier(.3,1.8,.5,1), box-shadow .3s, opacity .4s;
}
.em-home .em-impact-tab:hover { transform: translateY(-3px) rotate(-1deg); }
.em-home .em-impact-tab[aria-selected="true"] { transform: translateY(-4px) rotate(-1.5deg); box-shadow: 0 6px 0 rgba(20,41,29,.2), inset 0 0 0 2.5px #14291d; }
.em-home .em-impact-tab:focus-visible { outline: 3px solid var(--green, #2a7f3e); outline-offset: 3px; }
.em-home .em-impact-tab-icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.65); }
.em-home .em-impact-tab-icon svg { width: 18px; height: 18px; fill: none; stroke: #14291d; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.em-home .em-impact-tab-name { min-width: 0; }
.em-home .em-impact-tab-check { display: grid; width: 20px; height: 20px; flex: 0 0 20px; place-items: center; margin-left: auto; border-radius: 50%; background: #14291d; transform: scale(0); transition: transform .35s cubic-bezier(.3,2.4,.5,1); }
.em-home .em-impact-tab-check svg { width: 11px; height: 11px; fill: none; stroke: #fff; stroke-width: 2.6; }
.em-home .em-impact-tab[aria-selected="true"] .em-impact-tab-check { transform: scale(1); }
.em-home .em-impact-work.em-impact-ready .em-impact-tab { opacity: 0; transform: translateY(24px) scale(.94); }
.em-home .em-impact-work.em-impact-entered .em-impact-tab { opacity: 1; transform: none; transition: transform .35s cubic-bezier(.3,1.8,.5,1), box-shadow .3s, opacity .4s calc(var(--em-tab-index, 0) * .1s); }
.em-home .em-impact-work.em-impact-entered .em-impact-tab[aria-selected="true"] { transform: translateY(-4px) rotate(-1.5deg); }
@keyframes em-impact-tab-wiggle { 30% { transform: rotate(-16deg) scale(1.12); } 65% { transform: rotate(12deg) scale(1.12); } }
.em-home .em-impact-tab:hover .em-impact-tab-icon { animation: em-impact-tab-wiggle .5s ease-in-out; }

.em-home .em-impact-bubble {
  --em-focus-color: #F5DC9F;
  --em-tail: 60px;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin: 22px 0 28px;
  padding: 18px 22px;
  border-radius: 14px;
  background: var(--em-focus-color) !important;
  transition: background-color .45s, --em-tail .5s cubic-bezier(.3,1.5,.5,1);
}
.em-home .em-impact-bubble::before { position: absolute; top: -9px; left: calc(var(--em-tail) - 10px); width: 20px; height: 20px; border-radius: 3px; background: var(--em-focus-color); content: ""; transform: rotate(45deg); transition: background-color .45s, left .5s cubic-bezier(.3,1.5,.5,1); }
.em-home .em-impact-bubble-copy { position: relative; z-index: 1; max-width: 640px; margin: 0; color: #14291d; font: 500 clamp(17px,2.2vw,20px)/1.4 var(--em-font-body, Geist, system-ui, sans-serif); }
.em-home .em-impact-focus-link { position: relative; z-index: 1; flex: 0 0 auto; }




.em-home .em-impact-panels [hidden] { display: none !important; }
.em-home .em-impact-panel:not([hidden]) { display: block; }
.em-home .em-impact-cards { display: grid; grid-template-columns: 1fr; gap: 18px; }
.em-home .em-impact-card {
  --em-card-color: #F5DC9F;
  --em-card-soft: #FBEBC6;
  display: grid;
  min-width: 0;
  grid-template-columns: clamp(116px,36%,210px) minmax(0,1fr);
  overflow: hidden;
  border: 1px solid #E1E6DD;
  border-radius: 16px;
  background: #fff;
  transition: transform .3s cubic-bezier(.3,1.6,.5,1), box-shadow .3s;
}
.em-home .em-impact-card:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 10px 0 var(--em-card-soft); }
.em-home .em-impact-poster { display: grid; min-width: 0; align-content: start; justify-items: center; padding: 14px 12px; background: var(--em-card-color); }
.em-home .em-impact-image,
.em-home .em-impact-image-placeholder { display: grid; width: 100%; max-width: 176px; aspect-ratio: .85; place-items: center; border: 5px solid #fff; border-radius: 3px; background: var(--em-card-soft); box-shadow: 0 8px 16px rgba(20,41,29,.2); object-fit: cover; rotate: -3deg; transition: rotate .35s cubic-bezier(.3,1.8,.5,1), scale .35s; }
.em-home .em-impact-image-placeholder svg { width: 42%; height: 42%; fill: none; stroke: #14291d; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
.em-home .em-impact-card:hover .em-impact-image,
.em-home .em-impact-card:hover .em-impact-image-placeholder { rotate: 0deg; scale: 1.05; }
.em-home .em-impact-card-body { display: flex; min-width: 0; flex-direction: column; gap: 10px; padding: 16px 16px 18px; }
.em-home .em-impact-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.em-home .em-impact-tag { padding: 4px 9px; border-radius: 8px; background: #E8EBE4; color: #44564A; font: 700 10.5px/1.35 var(--em-font-body, Geist, system-ui, sans-serif); letter-spacing: .07em; text-transform: uppercase; }
.em-home .em-impact-tag.is-focus { background: var(--em-tag-color, var(--em-card-color)); color: #14291d; }
.em-home .em-impact-card-body h3 { margin: 0; color: #14291d; font: 600 clamp(20px,2.4vw,24px)/1.12 var(--em-font-heading, "Newsreader", Georgia, serif); letter-spacing: -.01em; }
.em-home .em-impact-card-description { display: -webkit-box; overflow: hidden; margin: 0; color: #5C6B61; font: 400 15px/1.5 var(--em-font-body, Geist, system-ui, sans-serif); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.em-home .em-impact-result { display: grid; gap: 3px; margin-top: auto; padding-top: 3px; color: #5C6B61; font: 400 13px/1.45 var(--em-font-body, Geist, system-ui, sans-serif); }
.em-home .em-impact-result strong { color: #14291d; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.em-home .em-impact-empty { margin: 0; padding: 15px 18px; border-left: 3px solid var(--green,#2a7f3e); background: #fff; color: #5C6B61; font-size: 14px; }
.em-home .em-impact-work .em-work-cta { display: flex; justify-content: flex-start; margin-top: 30px; }
.em-home .em-impact-work .em-work-cta .elementor-widget-button { margin: 0; }
/* Shared actions own button appearance; this component owns placement. */
.em-home .em-section.em-work.em-impact-work-replaced { display: none !important; }

@media (min-width: 760px) {
  .em-home .em-impact-tabs { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
}
@media (min-width: 1000px) {
  .em-home .em-impact-cards { grid-template-columns: 1fr 1fr; gap: 22px; }
}
@media (min-width: 640px) {
  .em-home .em-impact-card-body { padding: 20px 22px 22px; }
}
@media (max-width: 799px) {
  .em-home .em-impact-work .em-section-heading { grid-template-columns: 1fr; gap: 14px; }
  .em-home .em-impact-work .em-section-summary { max-width: 100%; }
}
@media (max-width: 639px) {
  .em-home .em-impact-bubble { align-items: flex-start; flex-direction: column; gap: 10px; padding: 16px 17px; }
  .em-home .em-impact-card { grid-template-columns: clamp(100px,34%,150px) minmax(0,1fr); border-radius: 12px; }
  .em-home .em-impact-poster { padding: 10px 7px; }
  .em-home .em-impact-image, .em-home .em-impact-image-placeholder { border-width: 4px; }
  .em-home .em-impact-card-body { gap: 7px; padding: 12px 11px 13px; }
  .em-home .em-impact-tag { padding: 4px 7px; font-size: 9px; }
  .em-home .em-impact-card-body h3 { font-size: 19px; }
  .em-home .em-impact-card-description { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .em-home .em-impact-work *, .em-home .em-impact-work *::before, .em-home .em-impact-work *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .em-home .em-impact-work .em-impact-tab { opacity: 1 !important; transform: none !important; }
}
