.mefs {
  --mefs-blue: #166886;
  --mefs-lime: #c7d300;
  --mefs-text: #243443;
  --mefs-pale: #ebebeb;
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  overflow: hidden;
  padding: 52px 60px 68px;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 24% 12%, rgba(255, 255, 255, .98) 0%, rgba(248, 251, 252, .96) 34%, rgba(232, 240, 243, .9) 100%),
    #edf3f5;
  box-shadow: 0 8px 24px rgba(22, 104, 134, .11);
  color: var(--mefs-text);
  font-family: "DIN 2014", Arial, sans-serif;
}

.mefs *, .mefs *::before, .mefs *::after { box-sizing: border-box; }
.mefs__inner { position: relative; z-index: 1; width: 100%; max-width: 1320px; margin: 0 auto; }
.mefs__header { display: flex; align-items: center; margin-bottom: 52px; }
.mefs__heading-wrap { flex: 0 1 34%; }
.mefs__heading { margin: 0; color: var(--mefs-blue); font-family: inherit; font-size: clamp(2rem, 3.1vw, 3.3rem); font-weight: 700; line-height: .98; letter-spacing: -.02em; }
.mefs__line-one, .mefs__line-two { display: block; }
.mefs__line-two { margin-top: 5px; }
.mefs--heading-inline .mefs__line-one, .mefs--heading-inline .mefs__line-two { display: inline; }
.mefs--heading-inline .mefs__line-one::after { content: " "; }
.mefs__line-one, .mefs__line-two-primary { color: var(--mefs-blue); }
.mefs__line-two-highlight { color: var(--mefs-lime); }
.mefs__heading-marker { display: block; width: 64px; height: 4px; margin-top: 20px; border-radius: 4px; background: var(--mefs-lime); }
.mefs__header-divider { display: none; flex: 0 0 1px; width: 1px; height: 80px; margin-inline: 32px; background: var(--mefs-pale); }
.mefs--header-divider .mefs__header-divider { display: block; }
.mefs__intro { max-width: 560px; color: var(--mefs-text); font-size: 1.05rem; line-height: 1.6; }

.mefs__features { display: grid; grid-template-columns: repeat(var(--mefs-columns, 4), minmax(0, 1fr)); gap: 24px; }
.mefs__feature { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 0 20px; border-radius: 12px; color: inherit; text-align: center; text-decoration: none; transition: transform var(--mefs-hover-duration, 220ms) ease, background-color var(--mefs-hover-duration, 220ms) ease, box-shadow var(--mefs-hover-duration, 220ms) ease; }
.mefs--equal-height .mefs__feature { height: 100%; }
.mefs__feature:hover { transform: translateY(calc(var(--mefs-hover-lift, 0px) * -1)); }
.mefs__feature:focus-visible, .mefs__feature a:focus-visible { outline: 3px solid var(--mefs-lime); outline-offset: 4px; }
.mefs__feature-title { max-width: 100%; margin: 20px auto 0; overflow-wrap: anywhere; color: var(--mefs-blue); font-family: inherit; font-size: 1.25rem; font-weight: 700; line-height: 1.18; text-wrap: balance; }
.mefs__feature-title a { color: inherit; text-decoration: none; }
.mefs__feature-title a:hover { text-decoration: underline; }
.mefs__feature-description { max-width: 100%; margin: 14px auto 0; overflow-wrap: anywhere; color: var(--mefs-text); font-size: .94rem; line-height: 1.6; text-wrap: pretty; }
.mefs__feature-marker { display: block; width: 28px; height: 4px; margin-top: 18px; border-radius: 4px; background: var(--mefs-lime); }

.mefs__icon-graphic { --mefs-icon-graphic-size: 145px; --mefs-mobile-icon-reduction: 15%; position: relative; display: flex; width: var(--mefs-icon-graphic-size); height: auto; justify-content: center; flex: 0 0 auto; }
.mefs__icon-scale { position: relative; display: grid; width: 100%; aspect-ratio: 1; place-items: center; }
.mefs__icon-platform { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; transform: none !important; }
.mefs__icon-disc { --mefs-icon-offset-x: 0; --mefs-icon-offset-y: -1.5px; position: relative; z-index: 1; display: grid; width: 100px; height: 100px; place-items: center; background: transparent !important; box-shadow: none !important; transform: translate(var(--mefs-icon-offset-x), var(--mefs-icon-offset-y)); }
.mefs__icon-disc i, .mefs__icon-disc svg { width: 40px; height: 40px; color: var(--mefs-blue); fill: currentColor; font-size: 40px; }
.mefs__icon-image { display: block; width: 40px; height: 40px; object-fit: contain; }
.mefs__feature:nth-child(1) .mefs__icon-disc { --mefs-icon-offset-y: -4px; }
.mefs__feature:nth-child(4) .mefs__icon-disc { --mefs-icon-offset-x: -4px; --mefs-icon-offset-y: -6px; }
.mefs__feature--has-accent .mefs__feature-marker { background: var(--mefs-item-accent) !important; }

.mefs__feature::after { position: absolute; top: 10px; left: 100%; display: none; width: 1px; height: 100px; min-height: calc(100% - 20px); content: ""; background: var(--mefs-pale); transform: translateX(-50%); }
.mefs--dividers .mefs__feature::after { display: block; }
.mefs--cols-d-1 .mefs__feature::after, .mefs--cols-d-2 .mefs__feature:nth-child(2n)::after, .mefs--cols-d-3 .mefs__feature:nth-child(3n)::after, .mefs--cols-d-4 .mefs__feature:nth-child(4n)::after, .mefs--cols-d-5 .mefs__feature:nth-child(5n)::after, .mefs--cols-d-6 .mefs__feature:nth-child(6n)::after, .mefs__feature:last-child::after { display: none; }

.mefs__decoration { position: absolute; z-index: 0; width: 470px; height: 280px; pointer-events: none; }
.mefs__decoration--top { top: -110px; right: -130px; display: none; border: 46px solid rgba(255, 255, 255, .92); border-radius: 50%; filter: brightness(1.075); transform: translateX(-280px) rotate(-10deg) scale(2.15, 1.65); transform-origin: center; }
.mefs__decoration--bottom { right: -130px; bottom: -110px; display: none; border-radius: 55% 0 0 0; background: linear-gradient(135deg, rgba(233, 241, 149, .78), var(--mefs-lime)); clip-path: ellipse(76% 78% at 100% 100%); transform: translate(42px, 26px) rotate(-8deg) scale(1.55); transform-origin: 100% 100%; }
.mefs--top-decoration .mefs__decoration--top, .mefs--bottom-decoration .mefs__decoration--bottom { display: block; }
.mefs__bottom-strip { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; height: 28px; background: linear-gradient(90deg, #166886, #009881, #c7d300); pointer-events: none; }
.mefs--strip-inside .mefs__bottom-strip { right: 20px; bottom: 20px; left: 20px; }

@media (max-width: 1024px) {
  .mefs__decoration--top { transform: translateX(-190px) rotate(-10deg) scale(1.8, 1.45); }
  .mefs__decoration--bottom { transform: translate(24px, 18px) rotate(-8deg) scale(1.35); }
  .mefs--cols-t-1 .mefs__feature::after, .mefs--cols-t-2 .mefs__feature:nth-child(2n)::after, .mefs--cols-t-3 .mefs__feature:nth-child(3n)::after, .mefs--cols-t-4 .mefs__feature:nth-child(4n)::after, .mefs--cols-t-5 .mefs__feature:nth-child(5n)::after, .mefs--cols-t-6 .mefs__feature:nth-child(6n)::after { display: none; }
  .mefs--cols-t-2 .mefs__feature:nth-child(2n+1)::after, .mefs--cols-t-3 .mefs__feature:nth-child(3n+1)::after, .mefs--cols-t-3 .mefs__feature:nth-child(3n+2)::after, .mefs--cols-t-4 .mefs__feature:nth-child(4n+1)::after, .mefs--cols-t-4 .mefs__feature:nth-child(4n+2)::after, .mefs--cols-t-4 .mefs__feature:nth-child(4n+3)::after, .mefs--cols-t-5 .mefs__feature:nth-child(5n+1)::after, .mefs--cols-t-5 .mefs__feature:nth-child(5n+2)::after, .mefs--cols-t-5 .mefs__feature:nth-child(5n+3)::after, .mefs--cols-t-5 .mefs__feature:nth-child(5n+4)::after, .mefs--cols-t-6 .mefs__feature:nth-child(6n+1)::after, .mefs--cols-t-6 .mefs__feature:nth-child(6n+2)::after, .mefs--cols-t-6 .mefs__feature:nth-child(6n+3)::after, .mefs--cols-t-6 .mefs__feature:nth-child(6n+4)::after, .mefs--cols-t-6 .mefs__feature:nth-child(6n+5)::after { display: block; }
}

@media (max-width: 767px) {
  .mefs { padding: 36px 12px 52px; }
  .mefs__header { flex-direction: column !important; align-items: center; }
  .mefs__header-divider { display: none !important; }
  .mefs__heading-wrap { width: 100%; flex-basis: auto; margin-inline: auto; text-align: center !important; }
  .mefs__heading-marker { margin: 18px auto 0 !important; }
  .mefs__intro { max-width: none; margin: 18px auto 0; text-align: center !important; }
  .mefs__features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .mefs__feature { padding-inline: 4px; }
  .mefs__feature-title, .mefs__feature-description { width: 100%; }
  .mefs__icon-scale { width: calc(100% - var(--mefs-mobile-icon-reduction, 15%)); }
  .mefs__icon-disc { transform: translate(var(--mefs-icon-offset-x), var(--mefs-icon-offset-y)) scale(calc(100% - var(--mefs-mobile-icon-reduction, 15%))); }
  .mefs__decoration--top { transform: translateX(-110px) rotate(-12deg) scale(1.25, 1.05); }
  .mefs__decoration--bottom { transform: translate(18px, 12px) rotate(-8deg) scale(1.1); }
  .mefs__feature::after { display: none !important; content: none; }
  .mefs__decoration { max-width: 120vw; }
}

@media (prefers-reduced-motion: reduce) {
  .mefs__feature { transition: none; }
  .mefs__feature:hover { transform: none; }
}
