/* Customization pages share the home page's full-bleed editorial layout. */
.p1-customization-page .p1-header {
  box-shadow: 0 1px 12px rgba(23, 45, 56, .035);
}

.p1-customization-page .p1-header-inner {
  min-height: 82px;
}

.p1-customization-page .p1-desktop-nav a {
  position: relative;
  font-weight: 500;
}

.p1-customization-page .p1-desktop-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -28px;
  left: 0;
  height: 2px;
  background: var(--p1-brand);
  content: "";
}

.p1-customization-page .p1-main {
  padding-bottom: 0;
}

.p1-customization-page .p1-customization-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100vw;
  min-height: calc(100svh - 82px);
  max-height: 960px;
  margin: 0 calc(50% - 50vw);
  padding: clamp(72px, 9vw, 128px) max(24px, calc((100vw - var(--p1-width)) / 2 + 24px));
  border: 0;
  border-radius: 0;
  background-color: #f2f4f0;
  background-image: linear-gradient(90deg, rgba(247, 249, 247, .98) 0%, rgba(247, 249, 247, .94) 33%, rgba(247, 249, 247, .56) 49%, rgba(247, 249, 247, 0) 68%), var(--customization-hero-image);
  background-size: cover;
  background-position: center;
}

.p1-customization-customization { --customization-hero-image: url("/assets/images/customization-hero-customization.webp"); }
.p1-customization-software { --customization-hero-image: url("/assets/images/customization-hero-software.webp"); }
.p1-customization-pcb { --customization-hero-image: url("/assets/images/customization-hero-pcb.webp"); }
.p1-customization-components { --customization-hero-image: url("/assets/images/customization-hero-components.webp"); }
.p1-customization-device { --customization-hero-image: url("/assets/images/customization-hero-device.webp"); }
.p1-customization-thinking-ai { --customization-hero-image: url("/assets/images/customization-hero-thinking-ai.webp"); }

.p1-customization-page .p1-customization-hero .p1-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  font-size: 13px;
  letter-spacing: .14em;
}

.p1-customization-page .p1-customization-hero .p1-eyebrow::before {
  width: 28px;
  height: 1px;
  flex: none;
  background: var(--p1-brand);
  content: "";
}

.p1-customization-page .p1-customization-hero h1 {
  max-width: min(920px, 52vw);
  margin-bottom: 28px;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.28;
  letter-spacing: -.035em;
  font-weight: 650;
}

.p1-customization-page .p1-customization-hero .p1-lead {
  max-width: min(850px, 52vw);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.92;
}

.p1-customization-page .p1-customization-hero .p1-actions {
  margin-top: 34px;
}

.p1-customization-page .p1-customization-hero .p1-button {
  min-height: 48px;
  padding: 11px 23px;
}

.p1-customization-page .p1-breadcrumbs {
  position: absolute;
  top: 0;
  left: max(24px, calc((100vw - var(--p1-width)) / 2 + 24px));
  right: max(24px, calc((100vw - var(--p1-width)) / 2 + 24px));
  padding-top: 26px;
  color: #4c626d;
}

.p1-customization-page .p1-customization-hero .p1-breadcrumbs a {
  color: #4c626d;
}

.p1-customization-page .p1-section {
  position: relative;
  padding: clamp(76px, 8.5vw, 112px) 8px;
  border-bottom: 0;
  isolation: isolate;
}

.p1-customization-page .p1-section + .p1-section {
  border-top: 1px solid var(--p1-line);
}

.p1-customization-page .p1-section-head {
  display: block;
  max-width: none;
  margin-bottom: 42px;
}

.p1-customization-page .p1-section-head .p1-eyebrow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 25px;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: .06em;
}

.p1-customization-page .p1-section-head .p1-eyebrow::before {
  width: 30px;
  height: 1px;
  background: var(--p1-brand);
  content: "";
}

.p1-customization-page .p1-section h2 {
  max-width: 1024px;
  font-size: clamp(28px, 3.1vw, 40px);
  line-height: 1.42;
  letter-spacing: -.025em;
  font-weight: 620;
}

.p1-customization-page .p1-grid {
  gap: 28px;
}

.p1-customization-page .p1-card {
  min-height: 220px;
  padding: 27px 12px 8px 0;
  border: 0;
  border-top: 1px solid var(--p1-line);
  border-radius: 0;
  background: transparent;
}

.p1-customization-page .p1-card h3 {
  margin-bottom: 15px;
  font-size: 21px;
  line-height: 1.42;
}

.p1-customization-page .p1-card p {
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.88;
}

.p1-customization-page .p1-card .text-link {
  align-self: flex-start;
  font-size: 14px;
  text-decoration-color: var(--p1-line);
  text-underline-offset: 5px;
}

.p1-customization-page .p1-card .text-link:hover {
  text-decoration-color: currentColor;
}

.p1-customization-customization .p1-section:nth-of-type(2) .p1-grid,
.p1-customization-customization .p1-section:nth-of-type(3) .p1-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.p1-customization-customization .p1-section:nth-of-type(2) .p1-card {
  min-height: 270px;
  padding: 27px 22px 23px;
  border: 1px solid var(--p1-line);
  border-top: 2px solid var(--p1-brand);
  background: var(--p1-bg);
}

.p1-customization-customization .p1-section:nth-of-type(3)::before {
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  background: #fff;
  content: "";
}

.p1-customization-customization .p1-section:nth-of-type(3) .p1-card {
  position: relative;
  min-height: 190px;
  padding-top: 32px;
}

.p1-customization-customization .p1-section:nth-of-type(3) .p1-card::before {
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--p1-brand);
  content: "";
}

.p1-customization-page .p1-cta {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: 72px 8px 80px;
  border-radius: 0;
}

.p1-customization-page .p1-cta::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  right: calc(50% - 50vw);
  left: calc(50% - 50vw);
  background: var(--p1-brand);
  content: "";
}

.p1-customization-page .p1-cta h2 {
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.4;
}

.p1-customization-page .p1-cta p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.85;
}

.p1-customization-page .p1-cta .p1-button {
  flex: none;
  min-height: 49px;
  padding-inline: 28px;
}

@media (max-width: 1000px) {
  .p1-customization-page .p1-header-inner { min-height: 76px; }
  .p1-customization-page .p1-customization-hero { min-height: calc(100svh - 76px); }
  .p1-customization-customization .p1-section:nth-of-type(2) .p1-grid,
  .p1-customization-customization .p1-section:nth-of-type(3) .p1-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .p1-customization-page .p1-customization-hero {
    max-height: none;
    padding: 112px 40px 82px;
    background-image: linear-gradient(90deg, rgba(247, 249, 247, .97) 0%, rgba(247, 249, 247, .9) 52%, rgba(247, 249, 247, .45) 100%), var(--customization-hero-image);
    background-position: 68% center;
  }
  .p1-customization-page .p1-customization-hero h1,
  .p1-customization-page .p1-customization-hero .p1-lead { max-width: min(100%, 560px); }
  .p1-customization-page .p1-customization-hero .p1-breadcrumbs { left: 40px; right: 40px; }
  .p1-customization-page .p1-section { padding-top: 72px; padding-bottom: 72px; }
  .p1-customization-page .p1-section-head { margin-bottom: 36px; }
}

@media (max-width: 640px) {
  .p1-customization-page .p1-header-inner { min-height: 64px; }
  .p1-customization-page .p1-customization-hero {
    min-height: calc(100svh - 64px);
    padding: 118px 23px 70px;
    background-image: linear-gradient(180deg, rgba(247, 249, 247, .79), rgba(247, 249, 247, .93) 65%, rgba(247, 249, 247, .98)), var(--customization-hero-image);
    background-position: 67% center;
  }
  .p1-customization-page .p1-customization-hero h1,
  .p1-customization-page .p1-customization-hero .p1-lead { max-width: 100%; }
  .p1-customization-page .p1-customization-hero .p1-breadcrumbs { left: 23px; right: 23px; padding-top: 20px; }
  .p1-customization-page .p1-customization-hero .p1-eyebrow { gap: 10px; font-size: 11px; }
  .p1-customization-page .p1-customization-hero .p1-eyebrow::before { width: 18px; }
  .p1-customization-page .p1-customization-hero h1 { font-size: clamp(34px, 8vw, 42px); line-height: 1.34; }
  .p1-customization-page .p1-customization-hero .p1-lead { font-size: 15px; line-height: 1.82; }
  .p1-customization-page .p1-section { padding: 62px 2px; }
  .p1-customization-page .p1-section-head { margin-bottom: 31px; }
  .p1-customization-page .p1-section-head .p1-eyebrow { gap: 12px; margin-bottom: 24px; }
  .p1-customization-page .p1-section h2 { font-size: 28px; }
  .p1-customization-page .p1-grid,
  .p1-customization-customization .p1-section:nth-of-type(2) .p1-grid,
  .p1-customization-customization .p1-section:nth-of-type(3) .p1-grid { grid-template-columns: 1fr; gap: 22px; }
  .p1-customization-page .p1-card { min-height: 0; padding: 23px 0 3px; }
  .p1-customization-page .p1-card h3 { font-size: 19px; }
  .p1-customization-customization .p1-section:nth-of-type(2) .p1-card { min-height: 0; }
  .p1-customization-page .p1-cta { padding: 60px 2px 66px; }
}
