:root {
  --mec-blue-950: #102532;
  --mec-blue-800: #0f5775;
  --mec-blue-700: #0b6f9a;
  --mec-blue-100: #eef7fb;
  --mec-blue-050: #f7fbfd;
  --mec-orange-700: #a94f20;
  --mec-orange-100: #fff4eb;
  --mec-green-700: #22663f;
  --mec-green-100: #eef8f1;
  --mec-ink: #17313e;
  --mec-muted: #385462;
  --mec-line: #d8e5eb;
  --mec-shadow: 0 18px 45px rgba(16, 37, 50, 0.10);
  --mec-radius: 20px;
}

body.page-id-26623,
body.page-id-26753,
body.page-id-26627,
body.page-id-27050,
body.page-id-26745,
body.page-id-13307,
body.page-id-13313 {
  background: var(--mec-blue-050);
  color: var(--mec-ink);
}

body.page-id-26623 .entry-header,
body.page-id-26753 .entry-header,
body.page-id-26627 .entry-header,
body.page-id-27050 .entry-header,
body.page-id-26745 .entry-header {
  display: none;
}

body.page-id-26623 .site-content,
body.page-id-26753 .site-content,
body.page-id-26627 .site-content,
body.page-id-27050 .site-content,
body.page-id-26745 .site-content,
body.page-id-13307 .site-content,
body.page-id-13313 .site-content {
  display: block;
  max-width: 1280px;
  padding: 54px 32px 76px;
}

body.page-id-26623 .content-area#primary,
body.page-id-26753 .content-area#primary,
body.page-id-26627 .content-area#primary,
body.page-id-27050 .content-area#primary,
body.page-id-26745 .content-area#primary,
body.page-id-26623 main#main.site-main,
body.page-id-26753 main#main.site-main,
body.page-id-26627 main#main.site-main,
body.page-id-27050 main#main.site-main,
body.page-id-26745 main#main.site-main,
body.page-id-13307 .content-area#primary,
body.page-id-13313 .content-area#primary,
body.page-id-13307 main#main.site-main,
body.page-id-13313 main#main.site-main {
  box-sizing: border-box;
  float: none;
  width: 100%;
  max-width: none;
}

body.page-id-26623 #right-sidebar,
body.page-id-26753 #right-sidebar,
body.page-id-26627 #right-sidebar,
body.page-id-27050 #right-sidebar,
body.page-id-26745 #right-sidebar,
body.page-id-13307 #right-sidebar,
body.page-id-13313 #right-sidebar {
  display: none !important;
}

.mec-commercial-page {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--mec-ink);
}

.mec-commercial-page,
.mec-commercial-page * {
  box-sizing: border-box;
}

.mec-commercial-page p,
.mec-commercial-page li {
  color: var(--mec-muted);
  line-height: 1.72;
}

.mec-commercial-page h1,
.mec-commercial-page h2,
.mec-commercial-page h3 {
  color: var(--mec-blue-950);
  line-height: 1.14;
}

.mec-commercial-page h1 {
  margin: 0 0 18px;
  font-size: clamp(2.35rem, 5vw, 4.15rem);
  letter-spacing: -0.035em;
}

.mec-commercial-page h2 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  letter-spacing: -0.02em;
}

.mec-commercial-page h3 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.mec-commercial-page > .mec-hero,
.mec-commercial-page > div:first-of-type {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin: 0 0 52px;
  padding: clamp(28px, 5vw, 62px);
  border: 1px solid #cfe3ed;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.96), transparent 38%),
    linear-gradient(135deg, #e8f6fb 0%, #f8fcfd 62%, #fff4eb 100%);
  box-shadow: var(--mec-shadow);
}

.mec-commercial-page > .mec-hero--single,
.mec-commercial-page > div.mec-hero--single {
  display: block;
}

.mec-commercial-page > .mec-hero--single > div:first-of-type,
.mec-commercial-page > div.mec-hero--single > div:first-of-type {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 24px 0 22px;
}

.mec-commercial-page > .mec-hero--single > div:last-of-type,
.mec-commercial-page > div.mec-hero--single > div:last-of-type {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.mec-commercial-page > .mec-hero > div:first-child,
.mec-commercial-page > div:first-of-type > div:first-child {
  min-width: 0;
}

.mec-commercial-page > .mec-hero > div:last-child,
.mec-commercial-page > div:first-of-type > div:last-child {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(15, 87, 117, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(16, 37, 50, 0.12);
}

.mec-commercial-page > .mec-hero img,
.mec-commercial-page > div:first-of-type img,
.mec-product-shot {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  border-radius: 14px;
}

.mec-commercial-page > .mec-hero p:first-child,
.mec-commercial-page > div:first-of-type p:first-child {
  display: inline-block;
  margin: 0 0 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #d4edf6;
  color: var(--mec-blue-800);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.mec-commercial-page > .mec-hero > div:first-child > div:first-of-type,
.mec-commercial-page > div:first-of-type > div:first-child > div:first-of-type {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 24px 0 22px;
}

.mec-commercial-page a {
  color: var(--mec-blue-700);
}

.mec-commercial-page > .mec-hero a[href*="apps.microsoft.com"],
.mec-commercial-page > div:first-of-type a[href*="apps.microsoft.com"],
.mec-commercial-page > .mec-hero a[href="#software-tools"],
.mec-commercial-page > div:first-of-type a[href="#software-tools"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 2px solid var(--mec-orange-700);
  border-radius: 12px;
  background: var(--mec-orange-700);
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.mec-commercial-page > .mec-hero a[href*="contact-us"],
.mec-commercial-page > .mec-hero a[href="/software/"],
.mec-commercial-page > div:first-of-type a[href*="contact-us"],
.mec-commercial-page > div:first-of-type a[href="/software/"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 2px solid var(--mec-blue-700);
  border-radius: 12px;
  background: #fff;
  color: var(--mec-blue-800);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.mec-commercial-page > .mec-hero > div:first-child > div:last-of-type,
.mec-commercial-page > div:first-of-type > div:first-child > div:last-of-type {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.mec-commercial-page > .mec-hero > div:first-child > div:last-of-type span,
.mec-commercial-page > div:first-of-type > div:first-child > div:last-of-type span {
  display: inline-block;
  padding: 8px 11px;
  border: 1px solid #c9e1eb;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--mec-blue-800);
  font-size: 0.86rem;
  line-height: 1.3;
}

.mec-commercial-page > div:has(> section),
.mec-commercial-page > section > div:has(> section),
.mec-benefit-grid,
.mec-split-grid {
  display: grid;
  gap: 20px;
  margin: 0 0 28px;
}

.mec-commercial-page > div:has(> section:nth-child(3)),
.mec-commercial-page > section > div:has(> section:nth-child(3)),
.mec-benefit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mec-commercial-page > div:has(> section:nth-child(2)):not(:has(> section:nth-child(3))),
.mec-commercial-page > section > div:has(> section:nth-child(2)):not(:has(> section:nth-child(3))),
.mec-split-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mec-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 28px;
}

.mec-product-grid > .mec-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--mec-line);
  border-radius: var(--mec-radius);
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 37, 50, 0.06);
}

.mec-product-card .mec-card-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 0 18px;
  border: 1px solid rgba(15, 87, 117, 0.14);
  border-radius: 14px;
}

.mec-product-card h3 {
  margin-top: 0;
}

.mec-commercial-page > div > section,
.mec-commercial-page > section > div > section {
  padding: 26px;
  border: 1px solid var(--mec-line);
  border-radius: var(--mec-radius);
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 37, 50, 0.06);
}

.mec-commercial-page > section {
  margin: 0 0 28px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--mec-line);
  border-radius: var(--mec-radius);
  background: #fff;
}

.mec-commercial-page > section:last-child {
  border-color: #c6e0ce;
  background: var(--mec-green-100);
}

.mec-commercial-page ul {
  margin: 0;
  padding-left: 1.2rem;
}

.mec-commercial-page li + li {
  margin-top: 7px;
}

.mec-commercial-page a:focus-visible,
.mec-commercial-page button:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 4px;
}

@media (max-width: 960px) {
  body.page-id-26623 .site-content,
  body.page-id-26753 .site-content,
  body.page-id-26627 .site-content,
  body.page-id-27050 .site-content,
  body.page-id-26745 .site-content {
    padding: 36px 22px 56px;
  }

  .mec-commercial-page > .mec-hero,
  .mec-commercial-page > div:first-of-type {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 34px;
  }

  .mec-commercial-page > .mec-hero > div:last-child,
  .mec-commercial-page > div:first-of-type > div:last-child {
    max-width: 720px;
    margin: 0 auto;
  }
}

@media (max-width: 700px) {
  body.page-id-26623 .site-content,
  body.page-id-26753 .site-content,
  body.page-id-26627 .site-content,
  body.page-id-27050 .site-content,
  body.page-id-26745 .site-content {
    padding: 22px 14px 42px;
  }

  .mec-commercial-page > .mec-hero,
  .mec-commercial-page > div:first-of-type {
    gap: 22px;
    margin-bottom: 30px;
    padding: 24px 18px;
    border-radius: 20px;
  }

  .mec-commercial-page > div:has(> section),
  .mec-commercial-page > section > div:has(> section),
  .mec-benefit-grid,
  .mec-split-grid,
  .mec-product-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mec-commercial-page > div > section,
  .mec-commercial-page > section > div > section,
  .mec-commercial-page > section {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .mec-commercial-page > .mec-hero > div:first-child > div:first-of-type,
  .mec-commercial-page > div:first-of-type > div:first-child > div:first-of-type {
    align-items: stretch;
    flex-direction: column;
  }

  .mec-commercial-page > .mec-hero a,
  .mec-commercial-page > div:first-of-type a {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mec-commercial-page *,
  .mec-commercial-page *::before,
  .mec-commercial-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

body.page-id-13766 .elementor-element-homefunheroimage img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(15, 87, 117, 0.16);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(16, 37, 50, 0.16);
}

@media (max-width: 700px) {
  body.page-id-13766 .elementor-element-homefunheroimage {
    margin-top: 18px;
  }
}

/* About and contact pages use the same visual system with lighter, information-first cards. */
.mec-info-page .mec-hero__copy,
.mec-info-page .mec-hero__visual {
  min-width: 0;
}

.mec-info-page .mec-hero__visual {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 42px);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(145deg, #d9f0f7 0%, #f8fcfd 58%, #fff0e5 100%);
}

.mec-info-page .mec-info-hero-card {
  border-color: #c6e0e9;
}

.mec-info-page .mec-info-kicker {
  margin: 0 0 14px;
  color: var(--mec-blue-800);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.mec-info-page .mec-info-statement {
  margin: 0 0 26px;
  color: var(--mec-blue-950);
  font-size: clamp(1.8rem, 3.3vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.mec-info-page .mec-info-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mec-info-page .mec-info-stat-grid > div,
.mec-info-page .mec-contact-steps > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
  padding: 13px;
  border: 1px solid rgba(15, 87, 117, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.mec-info-page .mec-info-stat-grid strong,
.mec-info-page .mec-contact-steps strong {
  color: var(--mec-blue-800);
  font-size: 0.88rem;
}

.mec-info-page .mec-info-stat-grid span,
.mec-info-page .mec-contact-steps span {
  color: var(--mec-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.mec-info-page .mec-info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.mec-info-page .mec-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.mec-info-page .mec-button--primary {
  border: 2px solid var(--mec-orange-700);
  background: var(--mec-orange-700);
  color: #fff;
}

.mec-info-page .mec-button--secondary {
  border: 2px solid var(--mec-blue-700);
  background: #fff;
  color: var(--mec-blue-800);
}

.mec-info-page .mec-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 28px;
}

.mec-info-page .mec-info-grid > section {
  min-width: 0;
}

.mec-info-page .mec-info-number {
  margin: 0 0 12px;
  color: var(--mec-orange-700);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.mec-info-page .mec-info-section,
.mec-info-page .mec-info-cta {
  margin-bottom: 28px;
}

.mec-info-page .mec-info-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.mec-info-page .mec-info-split > div,
.mec-info-page .mec-info-split > section {
  min-width: 0;
}

.mec-info-page .mec-info-split > div {
  padding: 22px;
  border: 1px solid var(--mec-line);
  border-radius: 16px;
  background: var(--mec-blue-050);
}

.mec-info-page .mec-info-cta {
  border-color: #c6e0ce;
  background: linear-gradient(135deg, #eef8f1 0%, #fff8f2 100%);
}

.mec-info-page .mec-info-cta h2 {
  max-width: 720px;
}

.mec-info-page .mec-contact-steps {
  display: grid;
  gap: 12px;
}

.mec-info-page .mec-contact-steps > div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.mec-info-page .mec-contact-steps strong {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--mec-blue-800);
  color: #fff;
  font-size: 0.75rem;
}

.mec-info-page .mec-info-note {
  margin: 20px 0 0;
  color: var(--mec-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.mec-info-page .mec-contact-details > section {
  min-width: 0;
}

@media (max-width: 700px) {
  .mec-info-page .mec-hero__visual {
    padding: 22px 18px;
  }

  .mec-commercial-page.mec-info-page .mec-info-stat-grid,
  .mec-commercial-page.mec-info-page .mec-info-grid,
  .mec-commercial-page.mec-info-page .mec-info-split,
  .mec-commercial-page.mec-info-page .mec-contact-details {
    grid-template-columns: 1fr !important;
  }

  .mec-info-page .mec-info-actions,
  .mec-info-page .mec-info-actions .mec-button {
    width: 100%;
  }
}
