/* ===========================================================================
   MTE shared design system for NON-homepage routes (articles + machine pages).
   Loaded AFTER /_mte/mte.css so it wins the cascade for .mte-* classes. Tokens are
   pulled from the captured Elementor kit (navy #001D42, primary blue #051B5B, body
   #4B5563, Roboto / Roboto Slab). The homepage is untouched — it renders the captured
   markup and never uses these classes.
   =========================================================================== */

:root {
  --mte-navy: #001d42;
  --mte-blue: #051b5b;
  --mte-blue-bright: #2143a5;
  --mte-ink: #1f2937;
  --mte-body: #4b5563;
  --mte-muted: #7a7a7a;
  --mte-blue-50: #eff6ff;
  --mte-border: #e3e3e3;
  --mte-white: #ffffff;
  --mte-maxw: 1160px;
  --mte-font: "Roboto", -apple-system, "Segoe UI", Arial, sans-serif;
  --mte-font-head: "Roboto Slab", Georgia, serif;
}

.mte-page {
  font-family: var(--mte-font);
  color: var(--mte-body);
  background: var(--mte-white);
}

.mte-container {
  width: 100%;
  max-width: var(--mte-maxw);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* --- Hero band -------------------------------------------------------------- */
.mte-hero {
  background: linear-gradient(160deg, #001d42 0%, #051b5b 100%);
  color: #fff;
  padding: 44px 0 52px;
}
.mte-hero__title {
  font-family: var(--mte-font-head);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
  font-weight: 600;
  margin: 10px 0 22px;
  /* !important beats the captured Elementor `.elementor-page h1` color (which would
     otherwise render this dark navy-on-navy). This class only ever sits on the navy hero. */
  color: #fff !important;
  max-width: 20ch;
}
.mte-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: #9fb4dd;
}
.mte-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* --- Buttons ---------------------------------------------------------------- */
.mte-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mte-font);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 14px 26px;
  border-radius: 6px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}
.mte-btn--gold {
  background: var(--mte-blue-bright);
  color: #fff;
  box-shadow: 0 6px 18px rgba(3, 15, 45, 0.28);
}
.mte-btn--gold:hover {
  background: #17337e;
}
.mte-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.mte-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}
.mte-btn--white {
  background: #fff;
  color: var(--mte-navy);
}
.mte-btn--white:hover {
  background: #eef2fb;
}

/* --- Breadcrumbs ------------------------------------------------------------ */
.mte-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  font-size: 0.82rem;
}
.mte-breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mte-breadcrumbs a {
  color: #b9c7e6;
  text-decoration: none;
}
.mte-breadcrumbs a:hover {
  color: #fff;
  text-decoration: underline;
}
.mte-breadcrumbs [aria-current="page"] {
  color: #7f92b8;
}
.mte-breadcrumbs__sep {
  color: #5b6a90;
}
/* On light backgrounds (machine specs breadcrumb reuse) keep readable defaults. */

/* --- Article body ----------------------------------------------------------- */
.mte-article {
  padding: 48px 20px 8px;
}
.mte-prose {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--mte-body);
}
.mte-prose > *:first-child {
  margin-top: 0;
}
.mte-prose h2 {
  font-family: var(--mte-font-head);
  color: var(--mte-navy);
  font-size: 1.7rem;
  line-height: 1.25;
  font-weight: 600;
  margin: 2.2em 0 0.6em;
}
.mte-prose h3 {
  font-family: var(--mte-font);
  color: var(--mte-ink);
  font-size: 1.28rem;
  font-weight: 600;
  margin: 1.6em 0 0.5em;
}
.mte-prose p {
  margin: 0 0 1.1em;
}
.mte-prose a {
  color: var(--mte-blue-bright);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mte-prose a:hover {
  color: var(--mte-blue);
}
.mte-prose strong {
  color: var(--mte-ink);
  font-weight: 600;
}
.mte-prose ul,
.mte-prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}
.mte-prose li {
  margin: 0 0 0.5em;
}
.mte-prose blockquote {
  margin: 1.6em 0;
  padding: 14px 22px;
  border-left: 4px solid var(--mte-blue-bright);
  background: var(--mte-blue-50);
  color: var(--mte-ink);
  font-style: italic;
}
.mte-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 0.98rem;
}
.mte-prose th,
.mte-prose td {
  border: 1px solid var(--mte-border);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.mte-prose thead th {
  background: var(--mte-navy);
  color: #fff;
  font-weight: 600;
}
.mte-prose tbody tr:nth-child(even) {
  background: #f7f9fc;
}
.mte-prose hr {
  border: 0;
  border-top: 1px solid var(--mte-border);
  margin: 2em 0;
}

/* --- Closing CTA band ------------------------------------------------------- */
.mte-cta-band {
  background: var(--mte-navy);
  color: #fff;
  margin-top: 56px;
  padding: 44px 0;
}
.mte-cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.mte-cta-band h2 {
  font-family: var(--mte-font-head);
  font-size: 1.7rem;
  margin: 0 0 6px;
  color: #fff;
}
.mte-cta-band p {
  margin: 0;
  color: #c4d0e8;
  max-width: 52ch;
}
.mte-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* --- Machine detail --------------------------------------------------------- */
.mte-machine {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  padding: 44px 20px 8px;
  align-items: start;
}
.mte-machine__media img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--mte-border);
}
.mte-machine__noimg {
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mte-blue-50);
  color: var(--mte-muted);
  border-radius: 10px;
}
.mte-attrs {
  border: 1px solid var(--mte-border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 22px;
}
.mte-attrs__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--mte-border);
}
.mte-attrs__row:last-child {
  border-bottom: 0;
}
.mte-attrs__row:nth-child(even) {
  background: #f7f9fc;
}
.mte-attrs__k {
  color: var(--mte-muted);
  font-weight: 500;
}
.mte-attrs__v {
  color: var(--mte-ink);
  font-weight: 600;
}
.mte-machine__desc {
  color: var(--mte-body);
  line-height: 1.7;
  margin: 0 0 20px;
}
.mte-specs,
.mte-related {
  max-width: var(--mte-maxw);
  padding: 32px 20px 8px;
}
.mte-specs h2,
.mte-related h2 {
  font-family: var(--mte-font-head);
  color: var(--mte-navy);
  font-size: 1.5rem;
  margin: 0 0 16px;
}
.mte-specs table {
  width: 100%;
  border-collapse: collapse;
}
.mte-specs th[scope="row"] {
  text-align: left;
  width: 40%;
  color: var(--mte-muted);
  font-weight: 500;
}
.mte-specs th,
.mte-specs td {
  border: 1px solid var(--mte-border);
  padding: 11px 16px;
  color: var(--mte-ink);
}
.mte-specs tr:nth-child(even) {
  background: #f7f9fc;
}
.mte-related ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.mte-related a {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--mte-border);
  border-radius: 6px;
  color: var(--mte-blue);
  text-decoration: none;
  text-transform: capitalize;
  font-weight: 500;
}
.mte-related a:hover {
  border-color: var(--mte-blue-bright);
  background: var(--mte-blue-50);
}

/* --- Responsive ------------------------------------------------------------- */
@media (max-width: 860px) {
  .mte-machine {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .mte-cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Machine browse/listing (added 2026-07-06 with the pagination scaffolding) ── */
.mte-listing { padding: 32px 0 56px; }
.mte-listing .mte-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.mte-listing h1 { color: #001D42; font-family: "Roboto Slab", Georgia, serif; margin: 8px 0 4px; }
.mte-listing-intro { color: #4B5563; max-width: 720px; }
.mte-listing-count { color: #6b7280; font-size: 0.9rem; margin: 4px 0 20px; }
.mte-machine-grid { list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.mte-machine-card a { display: flex; flex-direction: column; text-decoration: none;
  border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; background: #fff;
  transition: box-shadow .15s, border-color .15s; height: 100%; }
.mte-machine-card a:hover { border-color: #051B5B; box-shadow: 0 4px 14px rgba(0,29,66,.12); }
.mte-machine-card img { width: 100%; height: 160px; object-fit: cover; background: #f3f4f6; }
.mte-machine-card-title { font-weight: 600; color: #001D42; padding: 12px 14px 2px; }
.mte-machine-card-meta { color: #6b7280; font-size: 0.85rem; padding: 0 14px 14px; }
.mte-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: 32px; font-size: 0.95rem; }
.mte-pagination a, .mte-pagination span { padding: 6px 12px; border-radius: 6px;
  border: 1px solid #e5e7eb; color: #051B5B; text-decoration: none; }
.mte-pagination a:hover { background: #f3f4f6; }
.mte-page-current { background: #001D42; color: #fff !important; border-color: #001D42 !important; }
.mte-page-gap { border: none !important; padding: 6px 4px !important; color: #9ca3af; }
.mte-page-prev, .mte-page-next { font-weight: 600; }

/* --- "Do you have a <machine> to sell?" band (matches WP element 36119bc6 / 4afb2baf) --- */
.mte-sell {
  background: var(--mte-blue-50);       /* #eff6ff */
  padding: 70px 15px 80px;
}
.mte-sell__inner {
  width: 100%;
  max-width: var(--mte-maxw);
  margin: 0 auto;
}
.mte-sell__title {
  font-family: "Space Grotesk", var(--mte-font);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  line-height: 1.2;
  color: var(--mte-ink);                /* #1f2937 */
  margin: 0 0 18px;
}
.mte-sell__body p {
  font-family: "Inter", var(--mte-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  color: var(--mte-body);               /* #4b5563 */
  margin: 0 0 18px;
}
.mte-sell__body p:last-child { margin-bottom: 0; }
@media (max-width: 1024px) {
  .mte-sell { padding: 40px 15px 40px; }
}
@media (max-width: 767px) {
  .mte-sell { padding: 32px 15px; }
}

/* --- "Sell your <machine> today." subhead above the attribute box (WP h1.subhead) --- */
.mte-machine__subhead {
  font-size: 16px;
  color: #b7b5b5;
  font-weight: 400;
  margin: 0 0 12px;
}

/* --- Homepage "Popular Brands" card: make the brand NAME a link to the brand's
       machine list, matching the logo link above it. Inherit type/color so the
       captured Elementor look is unchanged; underline only on hover/focus. --- */
.mte-brand-name {
  color: inherit;
  text-decoration: none;
}
.mte-brand-name:hover,
.mte-brand-name:focus-visible {
  text-decoration: underline;
}

/* --- Industry card grid (/industries/, /sell-your-cnc-machine/).
       The WP->markdown capture (markdownify) dropped the Elementor card layout, leaving
       full-width stacked photos + underlined heading links. This restores the 2-up card.
       Selectors are scoped under .mte-prose so they outrank .mte-prose a / h3 / p. --- */
.mte-prose .mte-ind-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 2em 0;
}
.mte-prose a.mte-ind-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--mte-white);
  border: 1px solid var(--mte-border);
  border-radius: 10px;
  padding: 16px;
  color: inherit;
  font-weight: 400;
  text-decoration: none;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.mte-prose a.mte-ind-card:hover,
.mte-prose a.mte-ind-card:focus-visible {
  color: inherit;
  box-shadow: 0 8px 22px rgba(0, 29, 66, 0.1);
  transform: translateY(-2px);
}
.mte-prose .mte-ind-card__img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.mte-prose .mte-ind-card__body { display: block; }
.mte-prose .mte-ind-card__title {
  display: block;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--mte-navy);
  margin: 0 0 0.4em;
}
.mte-prose .mte-ind-card__desc {
  display: block;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--mte-body);
  margin: 0 0 0.6em;
}
.mte-prose .mte-ind-card__arrow {
  width: 20px;
  height: 20px;
  display: block;
  margin-left: auto;
}
@media (max-width: 860px) {
  .mte-prose .mte-ind-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .mte-prose a.mte-ind-card { grid-template-columns: 1fr; }
  .mte-prose .mte-ind-card__img { width: 100%; height: 170px; }
}

/* --- Footer contact email: the captured Elementor bundle sets a global a{color:#c36},
       which turned the restored mailto pink against the navy footer. --- */
.mte-footer-email { color: inherit; text-decoration: none; }
.mte-footer-email:hover,
.mte-footer-email:focus-visible { text-decoration: underline; }

/* --- Testimonial card (about-us, aerospace-defense, brands, categories, industries,
       sell-your-cnc-machine). markdownify flattened the Elementor card, stranding the
       CTA as plain text on the end of the role line; this restores card + button. --- */
.mte-prose .mte-quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 28px;
  align-items: center;
  margin: 2.2em 0;
  padding: 26px 28px;
  background: var(--mte-white);
  border: 1px solid var(--mte-border);
  border-radius: 10px;
}
.mte-prose .mte-quote__text {
  grid-column: 1;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--mte-ink);
}
.mte-prose .mte-quote__by {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mte-prose .mte-quote__name {
  font-weight: 600;
  color: var(--mte-ink);
}
.mte-prose .mte-quote__role {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--mte-muted);
}
.mte-prose a.mte-quote__cta {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 26px;
  border-radius: 6px;
  background: var(--mte-blue-bright);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(3, 15, 45, 0.28);
}
.mte-prose a.mte-quote__cta:hover,
.mte-prose a.mte-quote__cta:focus-visible {
  background: #17337e;
  color: #fff;
}
@media (max-width: 720px) {
  .mte-prose .mte-quote { grid-template-columns: 1fr; }
  .mte-prose .mte-quote__text,
  .mte-prose .mte-quote__by,
  .mte-prose a.mte-quote__cta { grid-column: 1; }
  .mte-prose a.mte-quote__cta { grid-row: auto; justify-self: start; }
}

/* ===========================================================================
   Author / profile page (/author/<slug>/). Added 2026-08-28.
   Uses the same tokens as the rest of this file. Scoped under .mte-author so it
   cannot leak into the captured Elementor homepage markup.
   =========================================================================== */

.mte-author__head {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 36px 0 8px;
}
.mte-author__photo {
  width: 200px;
  height: 200px;
  flex: 0 0 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--mte-white);
  box-shadow: 0 6px 24px rgba(0, 29, 66, 0.18);
  background: var(--mte-blue-50);
}
.mte-author__ident { flex: 1 1 320px; min-width: 260px; }
.mte-author__name {
  font-family: var(--mte-font-head);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.15;
  color: var(--mte-navy);
  margin: 0 0 6px;
}
.mte-author__role {
  font-size: 1.05rem;
  color: var(--mte-blue-bright);
  font-weight: 600;
  margin: 0 0 14px;
}
.mte-author__social { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 4px; }
.mte-author__social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--mte-border);
  border-radius: 999px;
  color: var(--mte-blue);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
.mte-author__social a:hover { border-color: var(--mte-blue-bright); background: var(--mte-blue-50); }
.mte-author__social svg { width: 16px; height: 16px; fill: currentColor; }

.mte-author__section { padding: 8px 0 4px; }
.mte-author__section h2 {
  font-family: var(--mte-font-head);
  font-size: 1.3rem;
  color: var(--mte-navy);
  margin: 26px 0 12px;
}
.mte-author__expertise { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mte-author__expertise li {
  position: relative;
  padding-left: 26px;
  line-height: 1.55;
}
.mte-author__expertise li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--mte-blue-bright);
}

@media (max-width: 640px) {
  .mte-author__head { gap: 18px; padding-top: 24px; }
  .mte-author__photo { width: 132px; height: 132px; flex-basis: 132px; }
}

/* Person feature block (About Us). Added 2026-08-28 so the site's named expert has a visible
   presence: he appeared in all 117 article META blocks but those are stripped before render. */
.mte-person {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 22px 0 26px;
  padding: 22px;
  border: 1px solid var(--mte-border);
  border-left: 4px solid var(--mte-blue-bright);
  border-radius: 8px;
  background: var(--mte-blue-50);
}
.mte-person__photo {
  width: 120px;
  height: 120px;
  flex: 0 0 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--mte-white);
}
.mte-person__body { display: block; }
.mte-person__name {
  display: block;
  font-family: var(--mte-font-head);
  font-size: 1.2rem;
  color: var(--mte-navy);
  font-weight: 700;
}
.mte-person__role {
  display: block;
  color: var(--mte-blue-bright);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.mte-person__bio { display: block; line-height: 1.6; }
@media (max-width: 560px) {
  .mte-person { flex-direction: column; }
  .mte-person__photo { width: 96px; height: 96px; flex-basis: 96px; }
}

/* Model pages (/models/<slug>/). Added 2026-08-28 with the seller-side model prototype. */
.mte-model__lede { max-width: 62ch; font-size: 1.05rem; opacity: .92; margin: 6px 0 20px; }
.mte-model__market { margin: 6px 0 12px; }
.mte-model__stats {
  display: flex; gap: 14px; flex-wrap: wrap; margin: 14px 0 16px;
}
.mte-model__stats > div {
  flex: 1 1 150px; background: var(--mte-blue-50); border: 1px solid var(--mte-border);
  border-radius: 8px; padding: 16px 18px;
}
.mte-model__stats b {
  display: block; font-family: var(--mte-font-head); font-size: 1.7rem;
  color: var(--mte-navy); line-height: 1.1;
}
.mte-model__stats span { display: block; font-size: .87rem; color: var(--mte-muted); margin-top: 4px; }
.mte-model__note { font-size: .94rem; color: var(--mte-muted); max-width: 74ch; margin-bottom: 14px; }
.mte-model__count { color: var(--mte-muted); font-size: .86rem; white-space: nowrap; }
.mte-model__drivers { padding-left: 0; list-style: none; display: grid; gap: 12px; }
.mte-model__drivers li { position: relative; padding-left: 26px; line-height: 1.6; }
.mte-model__drivers li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px;
  border-radius: 2px; background: var(--mte-blue-bright);
}
.mte-model__examples { columns: 2; gap: 24px; padding-left: 18px; }
@media (max-width: 640px) { .mte-model__examples { columns: 1; } }

/* Model directory, cohort 1 (2026-09-17). The provenance strip is not decoration: Matt's ruling on
   sourcing (2026-09-03) is that a model whose specs did not come from the manufacturer publishes
   with its weaker tier DISCLOSED, so --weak has to read as a caveat at a glance, not as a badge. */
.mte-prov {
  border-left: 3px solid var(--mte-blue-bright); background: var(--mte-tint, rgba(0, 0, 0, .03));
  padding: 12px 16px; margin: 6px 0 18px; font-size: .95rem; line-height: 1.6; max-width: 78ch;
}
.mte-prov--weak { border-left-color: #b26a00; background: rgba(178, 106, 0, .07); }
/* The manufacturer's own wording for a spec row, under our normalized label. It is where the
   disambiguation lives ("Second Spindle | Chuck Size"), so it is shown rather than summarised. */
.mte-attrs__oem { display: block; font-size: .8rem; color: var(--mte-muted); font-weight: 400; margin-top: 2px; }
/* A clause qualifying a figure's applicability ("BTH-130.R24 configuration"). It is published, and
   published as a caveat rather than as part of the number — it was rendering inside the hero stat in
   2rem bold, which kept its words and stripped its force. */
.mte-attrs__qual { display: block; font-size: .8rem; color: var(--mte-muted); font-weight: 400; font-style: italic; margin-top: 3px; max-width: 46ch; }
.mte-compare { display: grid; gap: 16px; margin: 10px 0 18px; }
@media (min-width: 760px) { .mte-compare { grid-template-columns: repeat(3, 1fr); } }
.mte-compare__item { border: 1px solid var(--mte-border); border-radius: 6px; padding: 14px 16px; }
.mte-compare__item h3 { margin: 0 0 8px; font-size: 1rem; }
.mte-compare__item dl { margin: 0; display: grid; gap: 6px; }
.mte-compare__item dt { font-size: .8rem; color: var(--mte-muted); }
.mte-compare__item dd { margin: 0; font-weight: 600; }
.mte-tooling { display: grid; gap: 18px; margin-top: 8px; }
.mte-tooling__item {
  border: 1px solid var(--mte-border); border-radius: 6px; padding: 16px 18px;
}
.mte-tooling__item h3 { margin: 0 0 6px; font-size: 1.05rem; }
.mte-tooling__item p { margin: 0 0 6px; line-height: 1.65; }
@media (min-width: 900px) { .mte-tooling { grid-template-columns: 1fr 1fr; } }

/* Taxonomy landing pages (two-zone PLP). Added 2026-08-28. */
.mte-listing-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 14px 0 18px; }
.mte-listing-content {
  margin: 40px 0 8px; padding-top: 28px; border-top: 1px solid var(--mte-border);
  max-width: 78ch;
}
.mte-listing-content h2 {
  font-family: var(--mte-font-head); font-size: 1.35rem; color: var(--mte-navy); margin: 26px 0 10px;
}
.mte-listing-content p { line-height: 1.65; margin: 0 0 14px; }
.mte-listing-faq h3 {
  font-size: 1.03rem; color: var(--mte-ink); font-weight: 600; margin: 18px 0 6px;
}
.mte-listing-close {
  margin-top: 30px; padding: 22px; border-radius: 8px;
  background: var(--mte-blue-50); border: 1px solid var(--mte-border);
}
.mte-listing-close h2 { margin-top: 0; }
/* Curated related-hub links under a brand hub's grid (src/lib/related-brands.ts). Added 2026-09-17:
   on content pages the same nav is styled by .mte-prose, but a listing page has no such wrapper, so
   without these rules the heading rendered at the browser's 48px default with unstyled bullet links. */
.mte-listing-related { margin: 28px 0 8px; }
.mte-listing-related h2 {
  font-family: var(--mte-font-head); font-size: 1.35rem; color: var(--mte-navy); margin: 0 0 12px;
}
.mte-listing-related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.mte-listing-related a {
  display: inline-block; padding: 10px 16px; border: 1px solid var(--mte-border); border-radius: 6px;
  color: var(--mte-blue); text-decoration: none; font-weight: 500;
}
.mte-listing-related a:hover { border-color: var(--mte-blue-bright); background: var(--mte-blue-50); }
