.mgf-product-index,
.mgf-products-category,
.mgf-product-detail {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 72px) 20px;
  color: #142033;
}

.mgf-product-index h1,
.mgf-products-category h1,
.mgf-product-detail h1 {
  margin: 0 0 14px;
  color: #082c63;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
}

.mgf-product-index h2,
.mgf-products-category h2,
.mgf-product-detail h2 {
  color: #082c63;
  line-height: 1.2;
}

.mgf-product-index__families,
.mgf-product-index__application-list,
.mgf-products-category__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.mgf-product-index__families a,
.mgf-product-index__application-list a,
.mgf-products-category__filters label {
  border: 1px solid #cbd8e7;
  border-radius: 999px;
  padding: 10px 15px;
  background: #f7faff;
  color: #0a3979;
  font-weight: 600;
  text-decoration: none;
}

.mgf-products-category__filters label {
  display: grid;
  gap: 5px;
  border-radius: 10px;
  background: #fff;
}

.mgf-products-category__filters select {
  min-width: 170px;
  border: 0;
  color: #142033;
  font: inherit;
}

.mgf-product-index__family-grid,
.mgf-products-category__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.mgf-product-family-card,
.mgf-product-card,
.mgf-products-category__footer {
  border: 1px solid #d9e2ed;
  border-radius: 14px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(8, 44, 99, .07);
}

.mgf-product-family-card__visual--source-required,
.mgf-product-card__image--source-required {
  min-height: 100px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #e8f0fa, #f8fbff);
  color: #60758e;
  font-size: 13px;
}

.mgf-product-card__image {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: 10px;
  background: #f7faff;
}

.mgf-product-card[hidden] {
  display: none;
}

.mgf-product-card a,
.mgf-product-family-card a,
.mgf-products-category__footer a,
.mgf-product-detail a {
  color: #0a4f9e;
  font-weight: 700;
}

.mgf-product-detail {
  display: grid;
  gap: 26px;
}

.mgf-product-detail > nav[aria-label="Breadcrumb"] {
  margin: 0;
  color: #60758e;
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.mgf-product-detail > nav[aria-label="Breadcrumb"] a {
  color: #0a4f9e;
  font-weight: 700;
}

.mgf-product-detail > header,
.mgf-product-detail > section,
.mgf-product-detail > footer {
  border: 1px solid #d9e2ed;
  border-radius: 14px;
  padding: clamp(20px, 3vw, 34px);
  background: #fff;
  box-shadow: 0 10px 28px rgba(8, 44, 99, .07);
}

.mgf-product-detail > header {
  background: linear-gradient(135deg, #f3f8ff, #fff);
}

.mgf-product-detail table {
  width: 100%;
  border-collapse: collapse;
}

.mgf-product-detail th,
.mgf-product-detail td {
  border-bottom: 1px solid #d9e2ed;
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.mgf-product-detail th {
  width: 32%;
  color: #082c63;
}

.mgf-product-detail [data-mgf-source-required="image"] {
  max-width: 420px;
  min-height: 180px;
  margin: 18px 0;
}

.mgf-product-evidence {
  padding: clamp(36px, 5vw, 68px) 20px;
  background: #f4f7fb;
  color: #142033;
}

.mgf-product-evidence__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.mgf-product-evidence h2,
.mgf-product-evidence h3 {
  color: #082c63;
}

.mgf-product-evidence h2 {
  margin: 0 0 24px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
}

.mgf-product-evidence__features,
.mgf-product-evidence__table {
  margin-top: 20px;
  border: 1px solid #d9e2ed;
  border-radius: 14px;
  padding: clamp(20px, 3vw, 30px);
  background: #fff;
}

.mgf-product-evidence__features ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.mgf-product-evidence table {
  width: 100%;
  border-collapse: collapse;
}

.mgf-product-evidence th,
.mgf-product-evidence td {
  border-bottom: 1px solid #d9e2ed;
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

.mgf-product-evidence th {
  width: 30%;
  color: #082c63;
}

/* Approved product-content typography; scoped to the reviewed supplement. */
.mgf-product-evidence.mgf-product-evidence--readable {
  padding: 72px 20px;
  background: #fff;
  color: #333;
  font: 400 14px/1.6 Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.mgf-product-evidence.mgf-product-evidence--readable .mgf-product-evidence__inner { max-width: 1280px; }
/* The legacy low-voltage offsets assume 24px theme padding which these pages
   no longer have. Restore the container alignment before nesting the supplement. */
body.page-id-8084 .mgf-original-product-detail,
body.page-id-8103 .mgf-original-product-detail { width: 100%; margin-left: 0 !important; }
.mgf-product-evidence.mgf-product-evidence--readable h2 {
  text-align: left !important;
  color: #0d1525;
  font: 700 48px/1.1 Montserrat, Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 0 0 20px;
}
.mgf-product-evidence.mgf-product-evidence--readable h3,
.mgf-product-evidence.mgf-product-evidence--readable summary {
  text-align: left !important;
  color: #0d1525;
  font: 600 18px/20px Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 0 0 16px;
}
.mgf-product-evidence.mgf-product-evidence--readable p,
.mgf-product-evidence.mgf-product-evidence--readable li,
.mgf-product-evidence.mgf-product-evidence--readable th,
.mgf-product-evidence.mgf-product-evidence--readable td,
.mgf-product-evidence.mgf-product-evidence--readable caption {
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 22.4px;
}
.mgf-product-evidence.mgf-product-evidence--readable .mgf-product-evidence__intro { font-size: 18px; line-height: 28.8px; max-width: 820px; }
.mgf-product-evidence.mgf-product-evidence--readable .mgf-product-evidence__features { background: #f7f7f7; border: 0; border-radius: 8px; margin: 28px 0 36px; padding: 24px; }
.mgf-product-evidence.mgf-product-evidence--readable .mgf-product-evidence__features ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 40px; row-gap: 12px; }
.mgf-product-evidence.mgf-product-evidence--readable table { display: table; table-layout: fixed; width: 100%; overflow: visible; }
.mgf-product-evidence.mgf-product-evidence--readable caption { text-align: left !important; color: #666; padding: 8px 0 12px; }
.mgf-product-evidence.mgf-product-evidence--readable th,
.mgf-product-evidence.mgf-product-evidence--readable td { color: #333; background: transparent; overflow-wrap: anywhere; width: auto; padding: 16px 12px; border-color: #e5e7eb; }
.mgf-product-evidence.mgf-product-evidence--readable th { font-weight: 600; }
.mgf-product-evidence.mgf-product-evidence--readable th:first-child { width: 28%; }
.mgf-product-evidence.mgf-product-evidence--readable thead { background: #f7f7f7; }
.mgf-product-evidence.mgf-product-evidence--readable .mgf-product-evidence__note { color: #666; margin-top: 16px; }
.mgf-product-evidence.mgf-product-evidence--readable .mgf-product-evidence__configuration { border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; padding: 22px 0; margin-top: 32px; }
.mgf-product-evidence.mgf-product-evidence--readable summary { margin: 0; cursor: pointer; padding: 4px 0; }
.mgf-product-evidence.mgf-product-evidence--readable summary:focus-visible { outline: 2px solid #111827; outline-offset: 6px; }
@media (max-width: 820px) {
  .mgf-product-evidence.mgf-product-evidence--readable { padding: 48px 20px; }
  .mgf-product-evidence.mgf-product-evidence--readable h2 { font-size: 32px; line-height: 1.1; }
  .mgf-product-evidence.mgf-product-evidence--readable .mgf-product-evidence__features ul { grid-template-columns: 1fr; }
  .mgf-product-evidence.mgf-product-evidence--readable .mgf-product-evidence__comparison,
  .mgf-product-evidence.mgf-product-evidence--readable .mgf-product-evidence__comparison tbody { display: block; }
  .mgf-product-evidence.mgf-product-evidence--readable .mgf-product-evidence__comparison thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .mgf-product-evidence.mgf-product-evidence--readable .mgf-product-evidence__comparison caption { display: block; }
  .mgf-product-evidence.mgf-product-evidence--readable .mgf-product-evidence__comparison tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border: 1px solid #e5e7eb; border-radius: 8px; padding: 8px 16px; margin-bottom: 16px; }
  .mgf-product-evidence.mgf-product-evidence--readable .mgf-product-evidence__comparison th { display: block; grid-column: 1/-1; width: auto; padding: 14px 0; font-size: 18px; line-height: 20px; }
  .mgf-product-evidence.mgf-product-evidence--readable .mgf-product-evidence__comparison td { display: block; padding: 12px 8px 12px 0; border: 0; }
  .mgf-product-evidence.mgf-product-evidence--readable .mgf-product-evidence__comparison td::before { content: attr(data-label); display: block; color: #666; }
}

@media (max-width: 820px) {
  .mgf-product-index__family-grid,
  .mgf-products-category__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .mgf-product-index,
  .mgf-products-category,
  .mgf-product-detail {
    padding-inline: 16px;
  }

  .mgf-product-index__family-grid,
  .mgf-products-category__grid {
    grid-template-columns: 1fr;
  }

  .mgf-product-detail table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }

  .mgf-product-evidence {
    padding-inline: 16px;
  }

  .mgf-product-evidence table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }

  .mgf-product-detail th,
  .mgf-product-detail td {
    min-width: 120px;
  }

  .mgf-products-category__filters label,
  .mgf-products-category__filters select {
    width: 100%;
  }
}
