/* ==========================================================================
   CTE — MFGAxis Companies Section (Footer) — V2
   Generated: 2026-01-26T01:38:20Z
   ========================================================================== */

.cte-mfgaxisCompanies .cte-wrap {
  max-width: var(--cte-site-width, 1120px);
}

.cte-mfgaxisCompanies__stack {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.cte-mfgaxisCompanies__card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  text-decoration: none !important;
}

.cte-mfgaxisCompanies__logo {
  width: 160px;
  height: 70px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(0,0,0,.03);
}

.cte-mfgaxisCompanies__logo img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.cte-mfgaxisCompanies__logoFallback {
  font-weight: 900;
  opacity: .25;
}

.cte-mfgaxisCompanies__main {
  min-width: 0;
}

.cte-mfgaxisCompanies__type {
  display: inline-flex;
  align-items: center;
  margin-bottom: 6px;
}

.cte-mfgaxisCompanies__name {
  font-weight: 900;
  font-size: 20px;
  line-height: 1.1;
}

.cte-mfgaxisCompanies__addr {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.25;
}

.cte-mfgaxisCompanies__cta {
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .cte-mfgaxisCompanies__card {
    grid-template-columns: 140px minmax(0, 1fr);
  }
  .cte-mfgaxisCompanies__cta {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 6px;
  }
}

@media (max-width: 520px) {
  .cte-mfgaxisCompanies__card {
    grid-template-columns: 1fr;
  }
  .cte-mfgaxisCompanies__logo {
    width: 100%;
  }
}

/* CTE_MFGAXIS_VENDOR_CARDS_SECTION_V2 */
/* Full-width stacked section: vendor contact cards */
.cte-company-contact__vendors{
  display:block;
  width:100%;
  margin: 14px 0 0;
}

.cte-company-contact__vendors .cte-company-contact__vendor{
  width:100%;
  display:block;
  margin: 0 0 12px;
}

.cte-company-contact__vendors .cte-company-contact__vendor:last-child{
  margin-bottom: 0;
}

/* If any old grid styles existed, neutralize them */
.cte-company-contact__vendorsGrid,
.cte-company-contact__vendors-grid{
  display:block !important;
}

/* CTE_MFGAXIS_COMPANY_CARDS_PLATE_PILL_V1 */

/* Ensure card variables exist (fallbacks) */
.cte-mfgaxisCompanies__card{
  --vt-color: var(--vt-color, #D7E6FF);
  --vt-rgb: var(--vt-rgb, 215 230 255);
  --vt-text: var(--vt-text, #0B3A86);
  --vt-text-rgb: var(--vt-text-rgb, 11 58 134);
}

/* Vendor-type pill: match MFGAxis “rest” pill vibe */
.cte-mfgaxisCompanies__typePill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.34rem .85rem;
  border-radius:999px;
  font-weight:800;
  font-size:13px;
  line-height:1.1;
  white-space:nowrap;

  background: rgb(var(--vt-rgb) / .22);
  color: var(--vt-text);
  border: 1px solid rgb(var(--vt-text-rgb) / .26);
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
}

/* Logo “plate”: recreate the MFGAxis band + glows */
.cte-mfgaxisCompanies__logo{
  position:relative;
  overflow:hidden;
  border-radius:18px;
  padding:10px 12px;
  min-height:74px;

  display:flex;
  align-items:center;
  justify-content:center;

  /* band / plate base */
  background:
    linear-gradient(90deg, rgba(0,0,0,.035) 0%, transparent 58%, transparent 100%),
    linear-gradient(90deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.18) 60%, transparent 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 10px 26px rgba(0,0,0,.06),
    inset 0 1px 0 rgba(255,255,255,.70);
}

/* Left VT-text glow */
.cte-mfgaxisCompanies__logo::before{
  content:"";
  position:absolute;
  left:-46px;
  top:50%;
  width:190px;
  height:150px;
  transform:translateY(-50%);
  pointer-events:none;
  z-index:0;
  background: radial-gradient(circle at 62% 50%,
    rgb(var(--vt-text-rgb) / .20) 0%,
    rgb(var(--vt-text-rgb) / .10) 40%,
    rgb(var(--vt-text-rgb) / 0) 74%);
  filter: blur(18px);
}

/* White plate + VT wash */
.cte-mfgaxisCompanies__logo::after{
  content:"";
  position:absolute;
  left:10px;
  top:50%;
  transform:translateY(-50%);
  height:66px;
  width: min(520px, calc(100% - 20px));
  max-width:520px;
  border-radius:16px;
  z-index:1;
  pointer-events:none;

  background:
    radial-gradient(120% 140% at 35% 50%,
      rgba(255,255,255,.98) 0%,
      rgba(255,255,255,.92) 54%,
      transparent 100%),
    radial-gradient(150% 180% at 18% 50%,
      rgb(var(--vt-rgb) / .22) 0%,
      rgb(var(--vt-rgb) / .10) 44%,
      rgb(var(--vt-rgb) / 0) 78%),
    radial-gradient(140% 160% at 12% 50%,
      rgb(var(--vt-text-rgb) / .10) 0%,
      rgb(var(--vt-text-rgb) / 0) 60%);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),
    inset 0 -1px 0 rgba(0,0,0,.04);
}

/* Ensure logo image sits above plate */
.cte-mfgaxisCompanies__logo img,
.cte-mfgaxisCompanies__logoFallback{
  position:relative;
  z-index:2;
}

.cte-mfgaxisCompanies__logo img{
  display:block;
  height:54px;
  max-height:54px;
  width:auto;
  max-width:calc(100% - 32px);
  object-fit:contain;
  object-position:center center;
  margin:0 auto;
}

/* CTE_MFGAXIS_COMPANY_CARDS_PLATE_PILL_V2 */

/* Vendor type pill coloring uses VT tokens */
.cte-mfgaxisCompanies__card {
  --vt-color: var(--vt-color, #D7E6FF);
  --vt-rgb: var(--vt-rgb, 215 230 255);
  --vt-text: var(--vt-text, #0B3A86);
  --vt-text-rgb: var(--vt-text-rgb, 11 58 134);
}

/* Make company name BLACK (no orange drift) */
.cte-mfgaxisCompanies__name {
  color: var(--mfg-text, #0F172A) !important;
}
.cte-mfgaxisCompanies__card:hover .cte-mfgaxisCompanies__name {
  color: var(--mfg-text, #0F172A) !important;
}

/* Logo plate look (soft panel behind logo) */
.cte-mfgaxisCompanies__logo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  padding: 10px 12px;
  background:
    radial-gradient(140% 180% at 18% 50%,
      rgb(var(--vt-rgb) / .18) 0%,
      rgb(var(--vt-rgb) / .08) 44%,
      rgb(var(--vt-rgb) / 0) 78%),
    radial-gradient(120% 140% at 35% 50%,
      rgba(255,255,255,.95) 0%,
      rgba(255,255,255,.72) 54%,
      rgba(255,255,255,0) 100%);
  box-shadow:
    0 10px 26px rgba(15,23,42,.06),
    inset 0 1px 0 rgba(255,255,255,.70);
}

.cte-mfgaxisCompanies__logo img {
  display: block;
  height: 54px;
  max-height: 54px;
  width: auto;
  max-width: calc(100% - 20px);
  object-fit: contain;
  margin: 0 auto;
}

/* Vendor type pill styling (VT colored) */
.cte-mfgaxisCompanies__typePill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .28rem .75rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.15;
  background: rgb(var(--vt-rgb) / .42);
  color: var(--vt-text);
  border: 1px solid rgb(var(--vt-text-rgb) / .28);
  box-shadow: 0 6px 14px rgba(15,23,42,.06);
}

/* "MFG" fallback circle */
.cte-mfgaxisCompanies__logoFallback {
  display:flex;
  align-items:center;
  justify-content:center;
  height:54px;
}
.cte-mfgaxisCompanies__logoFallbackCircle {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:52px;
  height:52px;
  border-radius:999px;
  background: rgb(var(--vt-rgb) / .22);
  border: 1px solid rgb(var(--vt-text-rgb) / .18);
  color: rgba(15,23,42,.82);
  font-weight: 900;
  letter-spacing: .06em;
}


/* ============================================================
   CTE_HP_COMPANY_SPOTLIGHT_POLISH_V1
   Homepage-only polish for the Company Spotlight row-card.
   (Does NOT change CPT singles layout; only targets the HP wrapper.)
   ============================================================ */
.cte-hp__companySpotlight .cte-mfgaxisCompanies__card{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  box-shadow: 0 10px 34px rgba(15,23,42,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

@media (hover:hover){
  .cte-hp__companySpotlight .cte-mfgaxisCompanies__card:hover{
    transform: translateY(-2px);
    box-shadow: 0 18px 48px rgba(15,23,42,.10);
    border-color: rgba(230,77,0,.22);
  }
}

/* Slightly tighter plate + keep logo centered */
.cte-hp__companySpotlight .cte-mfgaxisCompanies__logo{
  height: 74px;
  border-radius: 18px;
}

/* Name: a touch tighter + consistent */
.cte-hp__companySpotlight .cte-mfgaxisCompanies__name{
  letter-spacing: -0.01em;
}

/* CTA: make it feel interactive, keep your orange */
.cte-hp__companySpotlight .cte-mfgaxisCompanies__cta{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--cte-brand-orange, #E64D00);
}

/* Axis mark: smaller + intentional */
.cte-hp__companySpotlight .cte-mfgaxisCompanies__axisMark{
  display: inline-flex;
  width: 14px;
  height: 14px;
  opacity: .55;
  color: color-mix(in srgb, var(--cte-brand-orange, #E64D00) 55%, rgba(15,23,42,.40));
  transform: translateY(1px);
}
.cte-hp__companySpotlight .cte-mfgaxisCompanies__axisMark svg{
  width: 14px;
  height: 14px;
  display: block;
}
.cte-hp__companySpotlight .cte-mfgaxisCompanies__axisMark svg *{
  fill: currentColor !important;
  stroke: currentColor !important;
}

/* On hover: bump axis mark + CTA a bit */
@media (hover:hover){
  .cte-hp__companySpotlight .cte-mfgaxisCompanies__card:hover .cte-mfgaxisCompanies__axisMark{
    opacity: .85;
  }
  .cte-hp__companySpotlight .cte-mfgaxisCompanies__card:hover .cte-mfgaxisCompanies__cta{
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}
