/*
Theme Name: Apex Drone Supply Showcase
Theme URI: https://apexdronesupply.com/
Author: Apex Drone Supply
Description: WordPress showcase theme converted from the Apex Drone Supply Shopify homepage structure. Built as a static display site without Shopify cart dependencies.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: apex-showcase
*/

:root {
  --apex-blue: #1a66ff;
  --apex-navy: #0a1f44;
  --apex-deep: #071a38;
  --apex-text: #5c6b82;
  --apex-muted: #f5f8fc;
  --apex-line: #e7edf6;
  --apex-white: #ffffff;
  --apex-gold: #ffb800;
  --apex-red: #ff4d4f;
  --apex-radius: 18px;
  --apex-shadow: 0 18px 45px rgba(10, 31, 68, 0.08);
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--apex-navy);
  background: var(--apex-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}

body.admin-bar .apex-header {
  top: 32px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.apex-container {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}

.apex-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--apex-line);
  backdrop-filter: blur(14px);
}

.apex-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
  width: min(1220px, calc(100% - 40px));
}

.apex-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  gap: 12px;
  max-width: 100%;
  font-weight: 900;
  letter-spacing: 0;
}

.apex-logo__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--apex-blue);
  border-radius: 12px;
  font-weight: 900;
}

.apex-logo__image {
  width: 64px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
}

.apex-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--apex-text);
  font-size: 14px;
  font-weight: 700;
}

.apex-nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.apex-nav li {
  margin: 0;
}

.apex-nav a:hover,
.apex-footer a:hover {
  color: var(--apex-blue);
}

.apex-nav a.is-active {
  color: var(--apex-navy);
  text-decoration: underline;
  text-decoration-color: var(--apex-blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.apex-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: #fff;
  background: var(--apex-blue);
  border: 2px solid #fff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(7, 26, 56, 0.22);
}

.apex-skip-link:focus,
.apex-skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid #ffcf33;
  outline-offset: 2px;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid #ffcf33;
  outline-offset: 3px;
}

.apex-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.apex-button--primary {
  color: #fff;
  background: var(--apex-blue);
}

.apex-button--dark {
  color: #fff;
  background: var(--apex-navy);
}

.apex-button--light {
  color: var(--apex-navy);
  background: #fff;
}

.apex-button--outline {
  color: var(--apex-navy);
  background: #fff;
  border-color: var(--apex-line);
}

.apex-hero {
  position: relative;
  min-height: clamp(620px, 72vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--apex-deep);
}

.apex-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.58;
  filter: saturate(0.92) brightness(0.72);
  object-fit: cover;
  object-position: center center;
}

.apex-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(6, 22, 46, 0.88) 0, rgba(6, 22, 46, 0.76) 34%, rgba(6, 22, 46, 0.48) 68%),
    linear-gradient(180deg, rgba(6, 22, 46, 0.84), rgba(6, 22, 46, 0.66), rgba(6, 22, 46, 0.58));
}

.apex-hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 0;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.apex-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 30px;
  width: 100%;
}

.apex-hero--carousel {
  min-height: clamp(720px, 82vh, 860px);
  align-items: stretch;
}

.apex-hero--carousel::after {
  background:
    linear-gradient(90deg, rgba(5, 18, 39, 0.95), rgba(5, 18, 39, 0.76) 44%, rgba(5, 18, 39, 0.48)),
    linear-gradient(180deg, rgba(5, 18, 39, 0.28), rgba(5, 18, 39, 0.82));
}

.apex-hero--carousel .apex-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.apex-hero--carousel .apex-hero__layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  align-items: center;
}

.apex-hero--carousel .apex-hero__content {
  max-width: 620px;
  margin: 0;
  padding: 64px 0;
  text-align: left;
}

.apex-hero--carousel .apex-hero__content p {
  margin-left: 0;
}

.apex-hero--carousel .apex-actions {
  justify-content: flex-start;
}

.apex-hero-carousel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(5, 18, 39, 0.72);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.apex-hero-carousel__track,
.apex-hero-carousel__slide {
  position: absolute;
  inset: 0;
}

.apex-hero-carousel__slide {
  margin: 0;
  opacity: 0;
  transition: opacity 420ms ease;
}

.apex-hero-carousel__slide.is-active {
  opacity: 1;
}

.apex-hero-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #071629;
}

.apex-hero-carousel__controls {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 6px;
  background: rgba(5, 18, 39, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  backdrop-filter: blur(10px);
}

.apex-hero-carousel__controls button {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #fff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: 18px;
  font-weight: 900;
}

.apex-hero-carousel__dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.apex-hero-carousel__dots button {
  display: block;
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: rgba(255, 255, 255, 0.42);
}

.apex-hero-carousel__dots button.is-active {
  width: 20px;
  min-width: 20px;
  background: #fff;
}

.apex-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  margin: 0 0 16px;
  color: var(--apex-blue);
  background: #eaf2ff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.apex-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(44px, 7vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

.apex-hero p {
  max-width: 560px;
  margin: 0 auto 28px;
  color: #e8effa;
  font-size: 18px;
  line-height: 1.65;
}

.apex-hero .apex-eyebrow {
  color: var(--apex-navy);
  background: rgba(255, 255, 255, 0.92);
}

.apex-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 100%;
}

.apex-hero-products {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  max-width: 860px;
  margin: 34px auto 0;
  text-shadow: none;
}

.apex-hero--carousel .apex-hero-products {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 900px);
  margin-top: 0;
}

.apex-hero-products a {
  display: grid;
  gap: 8px;
  padding: 10px;
  overflow: hidden;
  color: var(--apex-navy);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(5, 18, 39, 0.24);
}

.apex-hero-products img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}

.apex-hero-products span {
  display: -webkit-box;
  min-height: 34px;
  overflow: hidden;
  color: var(--apex-navy);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.apex-trust {
  padding: 0 0 56px;
  background: var(--apex-muted);
}

.apex-trust__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  transform: translateY(-48px);
  margin-bottom: -48px;
}

.apex-trust-card,
.apex-product-card,
.apex-series-card,
.apex-component-card,
.apex-coverage-card,
.apex-parts-panel,
.apex-payload-card,
.apex-custom-card,
.apex-review-card,
.apex-faq details,
.apex-newsletter__box {
  background: #fff;
  border: 1px solid var(--apex-line);
  box-shadow: var(--apex-shadow);
}

.apex-trust-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 88px;
  padding: 18px 22px;
  border-radius: 18px;
}

.apex-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--apex-blue);
  background: #eaf2ff;
  border-radius: 14px;
  font-weight: 900;
}

.apex-trust-card h3,
.apex-component-card h3,
.apex-series-card h3,
.apex-product-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.2;
}

.apex-trust-card p,
.apex-component-card p,
.apex-series-card p,
.apex-product-card p,
.apex-section-head p,
.apex-reviews__intro p,
.apex-newsletter p,
.apex-faq p {
  margin: 0;
  color: var(--apex-text);
  line-height: 1.6;
}

.apex-section {
  padding: 72px 0;
}

.apex-section--soft {
  background: var(--apex-muted);
}

.apex-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.apex-section-head__copy {
  max-width: 760px;
}

.apex-section h2,
.apex-coverage h2,
.apex-payload h2,
.apex-reviews h2,
.apex-newsletter h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 38px);
  line-height: 1.08;
  letter-spacing: 0;
}

.apex-product-grid,
.apex-series-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.apex-product-card,
.apex-series-card {
  overflow: hidden;
  border-radius: 18px;
}

.apex-product-card__media,
.apex-series-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 22px;
  background: #f3f6fb;
}

.apex-product-card__media img,
.apex-series-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.apex-product-card__body,
.apex-series-card__body {
  padding: 18px;
}

.apex-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  margin-bottom: 12px;
  color: #fff;
  background: var(--apex-red);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.apex-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  color: #6b7890;
  font-size: 12px;
}

.apex-rating strong {
  color: var(--apex-gold);
}

.apex-price {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 900;
}

.apex-series-card {
  text-align: center;
}

.apex-series-card--link {
  display: block;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.apex-series-card--link:hover,
.apex-series-card--link:focus-visible {
  border-color: rgba(26, 102, 255, 0.34);
  box-shadow: 0 20px 48px rgba(26, 102, 255, 0.13);
  transform: translateY(-3px);
  outline: 3px solid #ffcf33;
  outline-offset: 3px;
}

.apex-series-card h3 {
  font-size: 20px;
}

.apex-series-card__count {
  color: var(--apex-blue);
  font-weight: 900;
}

.apex-series-card__link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--apex-blue);
  font-size: 14px;
  font-weight: 900;
}

.apex-parts-catalog {
  display: grid;
  gap: 18px;
}

.apex-parts-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr) auto;
  gap: 22px;
  align-items: start;
  padding: 24px;
  border-radius: 18px;
  scroll-margin-top: 106px;
}

.apex-parts-panel h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.apex-parts-panel p:not(.apex-eyebrow) {
  margin: 0;
  color: var(--apex-text);
  line-height: 1.65;
}

.apex-parts-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  padding: 0;
  margin: 0;
  color: var(--apex-navy);
  list-style: none;
}

.apex-parts-list li {
  position: relative;
  padding-left: 18px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.apex-parts-list li::before {
  content: "";
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--apex-blue);
  border-radius: 999px;
}

.apex-parts-panel .apex-button {
  align-self: center;
  white-space: nowrap;
}

.apex-component-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.apex-component-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 112px;
  padding: 18px 20px;
  border-radius: 18px;
}

.apex-component-card__image {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  padding: 10px;
  background: #f0f5fc;
  border-radius: 14px;
}

.apex-component-card__image .apex-real-asset-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.apex-coverage {
  background: #fff;
}

.apex-coverage__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.apex-coverage-card {
  padding: 24px;
  border-radius: 18px;
}

.apex-coverage-card h3 {
  margin: 0 0 12px;
  color: var(--apex-navy);
  font-size: 22px;
  line-height: 1.2;
}

.apex-coverage-card p:not(.apex-eyebrow),
.apex-payload-card p,
.apex-custom-rfq p,
.apex-custom-card p {
  margin: 0;
  color: var(--apex-text);
  line-height: 1.65;
}

.apex-payload__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.apex-payload-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 22px;
  border-radius: 18px;
}

.apex-payload-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.apex-custom-rfq {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 26px;
  padding: 28px;
  color: #fff;
  background: linear-gradient(135deg, #071a38, #174ea6);
  border-radius: 22px;
}

.apex-custom-rfq .apex-eyebrow {
  color: var(--apex-navy);
  background: rgba(255, 255, 255, 0.94);
}

.apex-custom-rfq h3 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.16;
}

.apex-custom-rfq p {
  max-width: 780px;
  color: #e8effa;
}

.apex-custom-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.apex-custom-card {
  padding: 20px;
  border-radius: 18px;
  box-shadow: none;
}

.apex-custom-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.25;
}

.apex-reviews {
  padding: 76px 0;
  background: #fff;
}

.apex-reviews__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.apex-reviews__media {
  position: relative;
}

.apex-reviews__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--apex-shadow);
}

.apex-floating-stat {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 18px 22px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--apex-shadow);
}

.apex-floating-stat strong {
  display: block;
  font-size: 28px;
}

.apex-floating-stat span {
  color: var(--apex-text);
  font-size: 12px;
  font-weight: 800;
}

.apex-feature-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.apex-feature {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
}

.apex-feature h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.apex-review-box {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--apex-line);
  border-radius: 24px;
  box-shadow: var(--apex-shadow);
}

.apex-score {
  display: grid;
  gap: 4px;
  padding: 18px;
  margin-bottom: 16px;
  background: #f3f6fb;
  border-radius: 16px;
}

.apex-score strong {
  font-size: 42px;
}

.apex-review-card {
  padding: 16px;
  margin-top: 12px;
  border-radius: 16px;
  box-shadow: none;
}

.apex-review-card p {
  margin: 8px 0 14px;
  color: #334155;
  font-size: 14px;
  line-height: 1.6;
}

.apex-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.apex-author__avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--apex-blue);
  background: #eaf2ff;
  border-radius: 999px;
  font-weight: 900;
}

.apex-author span {
  display: block;
  color: var(--apex-text);
  font-size: 12px;
}

.apex-promo {
  padding: 72px 0;
  background: var(--apex-muted);
}

.apex-promo__box {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
  align-items: center;
  min-height: 380px;
  overflow: hidden;
  padding: 54px 60px;
  color: #fff;
  background: linear-gradient(135deg, #071a38, #0f3a78);
  border-radius: 28px;
}

.apex-promo__box::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -80px;
  top: -110px;
  border-radius: 999px;
  background: rgba(75, 140, 255, 0.2);
}

.apex-promo h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.08;
}

.apex-promo p {
  max-width: 620px;
  margin: 0 0 24px;
  color: #dce8f8;
  line-height: 1.65;
}

.apex-promo__media {
  position: relative;
  z-index: 1;
}

.apex-faq {
  padding: 72px 0;
  background: #fff;
}

.apex-faq__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.apex-faq details {
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(10, 31, 68, 0.05);
}

.apex-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 900;
}

.apex-faq summary::-webkit-details-marker {
  display: none;
}

.apex-faq summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--apex-blue);
  background: #eaf2ff;
  border-radius: 999px;
  flex: 0 0 auto;
  margin-left: 16px;
}

.apex-faq details[open] summary::after {
  content: "-";
}

.apex-faq__answer {
  padding: 0 22px 20px;
}

.apex-newsletter {
  padding: 0 0 40px;
  background: #fff;
}

.apex-newsletter__box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 42px 48px;
  background: #f3f6fb;
  border-radius: 24px;
}

.apex-newsletter form {
  display: flex;
  gap: 10px;
  padding: 6px;
  background: #fff;
  border: 1px solid #dde6f3;
  border-radius: 14px;
}

.apex-newsletter input[type="email"] {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 0 14px;
  color: var(--apex-navy);
  font: inherit;
}

.apex-newsletter__note {
  margin-top: 10px;
  font-size: 12px;
}

.apex-footer {
  padding: 42px 0;
  color: #c9d6e8;
  background: var(--apex-deep);
}

.apex-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
}

.apex-footer h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
}

.apex-footer p,
.apex-footer li {
  color: #c9d6e8;
  line-height: 1.65;
}

.apex-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.apex-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 22px;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #c9d6e8;
  font-size: 13px;
  font-weight: 700;
}

.apex-copyright {
  padding-top: 24px;
  margin-top: 0;
  color: #9fb0c8;
  font-size: 13px;
}

@media (max-width: 920px) {
  body.admin-bar .apex-header {
    top: 46px;
  }

  .apex-header__inner {
    align-items: center;
    flex-direction: column;
    padding: 16px 0;
    gap: 14px;
  }

  .apex-nav {
    justify-content: center;
    width: 100%;
    gap: 16px;
    text-align: center;
  }

  .apex-hero {
    min-height: auto;
    align-items: flex-start;
    padding: 84px 0 112px;
  }

  .apex-hero__content {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
  }

  .apex-hero--carousel {
    min-height: 0;
    padding: 58px 0 96px;
  }

  .apex-hero--carousel .apex-container {
    align-items: flex-start;
  }

  .apex-hero--carousel .apex-hero__layout {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin: 0 auto;
  }

  .apex-hero--carousel .apex-hero__content {
    max-width: 620px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
  }

  .apex-hero--carousel .apex-hero__content p {
    margin-left: auto;
  }

  .apex-hero--carousel .apex-actions {
    justify-content: center;
  }

  .apex-hero-carousel {
    min-height: 420px;
  }

  .apex-hero .apex-eyebrow {
    margin-right: auto;
    margin-left: auto;
  }

  .apex-hero p {
    margin-right: auto;
    margin-left: auto;
  }

  .apex-actions {
    justify-content: center;
  }

  .apex-hero-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 620px;
  }

  .apex-trust__grid,
  .apex-product-grid,
  .apex-series-grid,
  .apex-component-grid,
  .apex-coverage__grid,
  .apex-payload__grid,
  .apex-custom-rfq,
  .apex-custom-grid,
  .apex-faq__grid,
  .apex-reviews__grid,
	  .apex-promo__box,
	  .apex-newsletter__box,
	  .apex-footer__grid {
	    grid-template-columns: 1fr;
	  }

	  .apex-parts-panel {
	    grid-template-columns: 1fr;
	  }

	  .apex-parts-panel .apex-button {
	    justify-self: start;
	  }

  .apex-trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apex-product-grid,
  .apex-series-grid,
  .apex-payload__grid,
  .apex-custom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apex-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .apex-promo__box {
    padding: 32px 24px;
  }
}

@media (max-width: 560px) {
  .apex-container,
  .apex-header__inner {
    width: min(100% - 28px, 1220px);
  }

  .apex-header__inner {
    min-height: 0;
    padding: 12px 0;
  }

  .apex-logo {
    justify-content: center;
    font-size: 15px;
    text-align: center;
  }

	  .apex-logo__mark {
	    width: 38px;
	    height: 38px;
	  }

	  .apex-logo__image {
	    width: 58px;
	    height: 38px;
	  }

  .apex-nav {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    justify-content: center;
    justify-items: center;
    gap: 10px 14px;
    max-width: 100%;
    font-size: 13px;
    line-height: 1.25;
  }

  .apex-hero {
    min-height: 0;
    padding: 56px 0 88px;
  }

  .apex-hero--carousel {
    padding: 40px 0 72px;
  }

  .apex-hero-carousel {
    min-height: 420px;
  }

  .apex-hero-carousel__controls {
    right: 50%;
    bottom: 12px;
    transform: translateX(50%);
  }

  .apex-hero::after {
    background: linear-gradient(180deg, rgba(6, 22, 46, 0.94), rgba(6, 22, 46, 0.72), rgba(6, 22, 46, 0.36));
  }

  .apex-hero__image {
    object-position: 58% center;
  }

  .apex-hero__content {
    max-width: 100%;
  }

  .apex-button {
    width: 100%;
    max-width: 300px;
  }

  .apex-section,
  .apex-reviews,
  .apex-promo,
  .apex-faq {
    padding: 48px 0;
  }

  .apex-trust {
    padding-bottom: 36px;
  }

  .apex-trust__grid,
  .apex-product-grid,
  .apex-series-grid,
  .apex-payload__grid,
  .apex-custom-grid {
    grid-template-columns: 1fr;
  }

  .apex-trust__grid {
    transform: translateY(-40px);
    margin-bottom: -40px;
  }

  .apex-trust-card,
  .apex-component-card {
    grid-template-columns: 42px 1fr;
    padding: 16px;
  }

  .apex-icon {
    width: 42px;
    height: 42px;
  }

  .apex-section-head {
    gap: 16px;
    margin-bottom: 24px;
  }

  .apex-section h2,
  .apex-coverage h2,
  .apex-payload h2,
  .apex-reviews h2,
  .apex-newsletter h2 {
    font-size: 28px;
  }

  .apex-newsletter form {
    flex-direction: column;
  }

  .apex-hero h1 {
    max-width: 320px;
    margin-right: auto;
    margin-left: auto;
    font-size: 32px;
    line-height: 1.05;
  }

  .apex-hero p {
    max-width: 320px;
    margin-right: auto;
    margin-left: auto;
    font-size: 15px;
  }

  .apex-hero-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 320px;
  }

	  .apex-product-card__body,
	  .apex-series-card__body,
	  .apex-coverage-card,
	  .apex-parts-panel,
	  .apex-payload-card,
	  .apex-custom-card {
	    padding: 16px;
	  }

	  .apex-parts-list {
	    grid-template-columns: 1fr;
	  }

	  .apex-parts-panel .apex-button {
	    justify-self: stretch;
	  }

  .apex-custom-rfq {
    padding: 22px 18px;
  }

  .apex-custom-rfq h3 {
    font-size: 24px;
  }

  .apex-coverage-card h3 {
    font-size: 18px;
  }

  .apex-component-card__image {
    width: 42px;
    height: 42px;
    padding: 6px;
  }

  .apex-reviews__media img {
    border-radius: 18px;
  }

  .apex-floating-stat {
    left: 14px;
    bottom: 14px;
    padding: 14px 16px;
  }

  .apex-review-box,
  .apex-newsletter__box {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .apex-promo__box {
    min-height: 0;
    padding: 28px 18px;
    border-radius: 20px;
  }

  .apex-promo h2 {
    font-size: 30px;
  }

  .apex-faq summary {
    align-items: flex-start;
    padding: 16px;
    line-height: 1.35;
  }

  .apex-faq__answer {
    padding: 0 16px 18px;
  }

  .apex-newsletter input[type="email"] {
    min-height: 44px;
  }

  .apex-footer__grid {
    gap: 20px;
  }
}

@media (max-width: 380px) {
  .apex-container,
  .apex-header__inner {
    width: min(100% - 22px, 1220px);
  }

  .apex-nav {
    gap: 8px 10px;
    font-size: 12px;
  }

  .apex-hero h1 {
    max-width: 292px;
    font-size: 30px;
  }

  .apex-hero p {
    max-width: 292px;
    font-size: 14px;
  }

  .apex-button {
    max-width: 100%;
  }
}

/* Phase 2.7E homepage and header refinement. */
.apex-logo span {
  color: var(--apex-navy);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.apex-nav {
  gap: 18px;
}

.apex-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  white-space: nowrap;
}

.apex-nav a.apex-nav__quote {
  padding: 0 16px;
  color: #fff;
  background: var(--apex-blue);
  border-radius: 6px;
}

.apex-nav a.apex-nav__quote:hover {
  color: #fff;
  background: #0d52d9;
}

.apex-home-kicker {
  margin: 0 0 14px;
  color: #1a66ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: uppercase;
}

.apex-home-hero {
  min-height: min(760px, calc(100vh - 76px));
  padding: 54px 0;
  color: #fff;
  background: #071a38;
}

.apex-home-hero::after {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(5, 18, 39, 0.96) 0%, rgba(5, 18, 39, 0.82) 48%, rgba(5, 18, 39, 0.36) 100%),
    linear-gradient(180deg, rgba(5, 18, 39, 0.18), rgba(5, 18, 39, 0.74));
}

.apex-home-hero.apex-hero--carousel .apex-home-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(500px, 1.14fr);
  gap: 48px;
  align-items: center;
}

.apex-home-hero__copy {
  max-width: 620px;
}

.apex-home-hero__copy .apex-home-kicker {
  color: #94b8ff;
}

.apex-home-hero h1 {
  max-width: 620px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(44px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: 0;
}

.apex-home-hero p {
  max-width: 560px;
  margin: 0 0 30px;
  color: #d9e6f7;
  font-size: 17px;
  line-height: 1.68;
}

.apex-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.apex-home-hero__visual {
  min-width: 0;
  width: 100%;
}

.apex-home-hero .apex-hero-carousel {
  min-height: clamp(470px, 58vh, 650px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: #0c1f3d;
  box-shadow: none;
}

.apex-home-hero .apex-hero-carousel__slide img {
  object-fit: cover;
  object-position: center;
  background: #0c1f3d;
}

.apex-home-hero .apex-hero-carousel__controls {
  right: 18px;
  bottom: 18px;
  gap: 7px;
  padding: 6px;
  background: rgba(7, 26, 56, 0.72);
  border-radius: 6px;
  box-shadow: none;
}

.apex-home-hero .apex-hero-carousel__controls button {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 4px;
}

.apex-home-hero .apex-hero-carousel__dots button {
  width: 8px;
  height: 8px;
  min-width: 8px;
}

.apex-home-hero .apex-hero-carousel__dots button.is-active {
  width: 20px;
  min-width: 20px;
}

.apex-home-section {
  padding: 76px 0;
  background: #fff;
}

.apex-home-section--soft {
  background: #f6f8fb;
}

.apex-home-section__head {
  max-width: 720px;
  margin-bottom: 30px;
}

.apex-home-section__head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.apex-home-section__head h2 {
  margin: 0;
  color: var(--apex-navy);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

.apex-home-section__head p:last-child {
  margin: 14px 0 0;
  color: var(--apex-text);
  font-size: 16px;
  line-height: 1.65;
}

.apex-home-platform-grid,
.apex-home-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.apex-home-category-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.apex-home-platform-card,
.apex-home-category-card {
  display: grid;
  overflow: hidden;
  color: var(--apex-navy);
  background: #fff;
  border: 1px solid var(--apex-line);
  border-radius: 6px;
}

.apex-home-platform-card:hover,
.apex-home-category-card:hover {
  border-color: #b9c9e6;
}

.apex-home-platform-card__media,
.apex-home-category-card__media {
  display: block;
  overflow: hidden;
  background: #e9eef6;
}

.apex-home-platform-card__media {
  aspect-ratio: 16 / 9;
}

.apex-home-category-card__media {
  aspect-ratio: 4 / 3;
}

.apex-home-platform-card__media img,
.apex-home-category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.apex-home-category-card__media img {
  object-fit: contain;
  padding: 10px;
  background: #fff;
}

.apex-home-platform-card__body,
.apex-home-category-card__body {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.apex-home-platform-card__body strong,
.apex-home-category-card__body strong {
  color: var(--apex-navy);
  font-size: 18px;
  line-height: 1.22;
}

.apex-home-platform-card__body span,
.apex-home-category-card__body span {
  color: var(--apex-text);
  font-size: 14px;
  line-height: 1.5;
}

.apex-home-featured-grid {
  margin-top: 0;
}

.apex-home-support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.apex-home-support-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--apex-line);
  border-radius: 6px;
}

.apex-home-support-card h3 {
  margin: 0 0 10px;
  color: var(--apex-navy);
  font-size: 18px;
}

.apex-home-support-card p {
  margin: 0;
  color: var(--apex-text);
  line-height: 1.62;
}

.apex-internal-catalog-preview {
  padding: 58px 0;
  background: #f3f6fb;
  border-top: 1px solid #d8e3f2;
  border-bottom: 1px solid #d8e3f2;
}

.apex-catalog .apex-internal-catalog-preview {
  margin: 0 0 24px;
  padding: 0;
  background: transparent;
  border: 0;
}

.apex-catalog .apex-internal-catalog-preview .apex-container {
  max-width: none;
  padding: 0;
}

.apex-internal-preview__head {
  max-width: 840px;
  margin-bottom: 24px;
}

.apex-internal-preview__head h2 {
  margin: 0;
  color: var(--apex-navy);
  font-size: 32px;
  line-height: 1.16;
}

.apex-internal-preview__head p:last-child {
  margin: 12px 0 0;
  color: var(--apex-text);
  line-height: 1.65;
}

.apex-internal-brand-grid,
.apex-internal-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.apex-internal-two-column {
  margin-top: 18px;
}

.apex-internal-brand,
.apex-internal-panel {
  min-width: 0;
  padding: 22px;
  background: #fff;
  border: 1px solid #d8e3f2;
  border-radius: 6px;
}

.apex-internal-brand header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e4ebf5;
}

.apex-internal-brand h3,
.apex-internal-panel h3 {
  margin: 0;
  color: var(--apex-navy);
  font-size: 22px;
  line-height: 1.2;
}

.apex-internal-brand header p {
  margin: 5px 0 0;
  color: #607086;
  font-size: 13px;
}

.apex-internal-counts,
.apex-internal-term__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.apex-internal-counts span,
.apex-internal-term__meta span,
.apex-internal-model-chip small {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  color: #334155;
  background: #eef3f9;
  border: 1px solid #d8e3f2;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.apex-internal-counts .apex-internal-status--verified,
.apex-internal-term__meta .apex-internal-status--verified,
.apex-internal-model-chip .apex-internal-status--verified {
  color: #0f5132;
  background: #e7f6ee;
  border-color: #b7e1c9;
}

.apex-internal-counts .apex-internal-status--needs_verification,
.apex-internal-term__meta .apex-internal-status--needs_verification,
.apex-internal-model-chip .apex-internal-status--needs_verification {
  color: #7c4a03;
  background: #fff4d6;
  border-color: #f4ce73;
}

.apex-internal-counts .apex-internal-status--draft,
.apex-internal-term__meta .apex-internal-status--draft,
.apex-internal-model-chip .apex-internal-status--draft {
  color: #4b5563;
  background: #f3f4f6;
  border-color: #d1d5db;
}

.apex-internal-series-list {
  display: grid;
  gap: 10px;
}

.apex-internal-series {
  padding: 12px;
  border: 1px solid #e0e8f3;
  border-radius: 6px;
  background: #fbfdff;
}

.apex-internal-series summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  color: var(--apex-navy);
  font-weight: 800;
}

.apex-internal-term-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.apex-internal-term {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid #e4ebf5;
  border-radius: 5px;
  background: #fff;
}

.apex-internal-term strong,
.apex-internal-model-chip span {
  color: var(--apex-navy);
  line-height: 1.3;
}

.apex-internal-term a,
.apex-internal-model-chip {
  color: var(--apex-navy);
  text-decoration: none;
}

.apex-internal-term div > span:first-of-type {
  display: block;
  margin-top: 4px;
  color: #607086;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.apex-internal-model-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.apex-internal-model-chip {
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  min-width: 150px;
  max-width: 100%;
  padding: 9px;
  background: #fff;
  border: 1px solid #d8e3f2;
  border-radius: 5px;
}

.apex-platform-overview {
  padding: 54px 0 72px;
  background: #f7f9fc;
}

.apex-platform-overview--compact {
  padding: 76px 0;
  background: #fff;
}

.apex-platforms-page .apex-platform-overview {
  padding-top: 22px;
}

.apex-platform-overview__head {
  max-width: 820px;
  margin-bottom: 24px;
}

.apex-platform-overview--compact .apex-platform-overview__head {
  max-width: 760px;
}

.apex-platform-overview__head h2,
.apex-platform-brand-section__head h2 {
  margin: 0;
  color: var(--apex-navy);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.1;
  letter-spacing: 0;
}

.apex-platform-overview__head p:last-child,
.apex-platform-brand-section__head p:last-child {
  margin: 12px 0 0;
  color: var(--apex-text);
  line-height: 1.65;
}

.apex-platform-entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.apex-platform-entry-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  min-height: 170px;
  padding: 24px;
  color: var(--apex-navy);
  background: #fff;
  border: 1px solid #d8e3f2;
  border-top: 5px solid var(--apex-blue);
  border-radius: 6px;
  text-decoration: none;
}

.apex-platform-entry-card:hover,
.apex-catalog-series-card:hover {
  border-color: #aac1df;
}

.apex-platform-entry-card strong {
  font-size: 24px;
  line-height: 1.14;
}

.apex-platform-entry-card span {
  color: var(--apex-text);
  line-height: 1.6;
}

.apex-platform-entry-card em {
  align-self: end;
  color: var(--apex-blue);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.apex-platform-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.apex-platform-action-card {
  display: grid;
  grid-template-rows: auto auto;
  gap: 14px;
  min-height: 176px;
  padding: 20px;
  color: var(--apex-navy);
  background: #fff;
  border: 1px solid #d8e3f2;
  border-top: 4px solid var(--apex-blue);
  border-radius: 5px;
  text-decoration: none;
}

.apex-platform-action-card:hover {
  border-color: #aac1df;
}

.apex-platform-action-card__icon {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--apex-blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.apex-platform-action-card__body {
  display: grid;
  align-content: start;
  gap: 7px;
}

.apex-platform-action-card__body strong {
  font-size: 17px;
  line-height: 1.25;
}

.apex-platform-action-card__body span {
  color: var(--apex-text);
  font-size: 13px;
  line-height: 1.55;
}

.apex-platform-finder {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  padding: 18px;
  background: #fff;
  border: 1px solid #d8e3f2;
  border-radius: 6px;
}

.apex-platform-finder__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.apex-platform-finder label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--apex-navy);
  font-size: 13px;
  font-weight: 900;
}

.apex-platform-finder input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--apex-navy);
  background: #fff;
  border: 1px solid #cfd9e7;
  border-radius: 6px;
  font: inherit;
}

.apex-platform-finder__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.apex-platform-finder__chips button {
  min-height: 34px;
  padding: 0 12px;
  color: var(--apex-navy);
  background: #f3f6fa;
  border: 1px solid #d8e3f2;
  border-radius: 5px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.apex-platform-finder__chips button.is-active {
  color: #fff;
  background: var(--apex-blue);
  border-color: var(--apex-blue);
}

.apex-platform-finder__status,
.apex-platform-finder__empty {
  margin: 0;
  color: var(--apex-text);
  font-size: 13px;
  line-height: 1.5;
}

.apex-platform-finder__empty {
  padding: 12px;
  background: #f8fbff;
  border: 1px solid #d8e3f2;
  border-radius: 5px;
}

.apex-fpv-catalog {
  display: grid;
  gap: 22px;
}

.apex-fpv-finder {
  margin-top: 0;
}

.apex-fpv-category-grid .apex-platform-entry-card {
  min-height: 150px;
  padding: 20px;
}

.apex-fpv-category-grid .apex-platform-entry-card strong {
  font-size: 20px;
}

.apex-fpv-product-entry {
  min-width: 0;
}

.apex-fpv-product-entry .apex-product-card {
  height: 100%;
}

.apex-fpv-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.apex-fpv-catalog [hidden] {
  display: none;
}

.apex-platform-brand-section {
  margin-top: 42px;
}

.apex-platform-brand-section__head,
.apex-platform-group__head {
  margin-bottom: 18px;
}

.apex-platform-group {
  margin-top: 24px;
  padding: 22px;
  background: #fff;
  border: 1px solid #d8e3f2;
  border-radius: 8px;
}

.apex-platform-group__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  padding-bottom: 12px;
  border-bottom: 1px solid #d8e3f2;
}

.apex-platform-group__head h3 {
  margin: 0;
  color: var(--apex-navy);
  font-size: 24px;
  line-height: 1.18;
}

.apex-platform-group__head p {
  max-width: 760px;
  margin: 7px 0 0;
  color: var(--apex-text);
  line-height: 1.6;
}

.apex-platform-group__head > span {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 28px;
  align-items: center;
  padding: 4px 10px;
  color: var(--apex-navy);
  background: #fff;
  border: 1px solid #d8e3f2;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
}

.apex-platform-series-grid,
.apex-application-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.apex-catalog-series-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: 18px;
  background: #fbfdff;
  border: 1px solid #d8e3f2;
  border-radius: 6px;
}

.apex-catalog-series-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  margin: 0 0 14px;
  overflow: hidden;
  background: #f3f6fa;
  border: 1px solid #d8e3f2;
  border-radius: 5px;
  flex: 0 0 auto;
}

.apex-catalog-series-card__media .apex-term-image,
.apex-catalog-series-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 10px;
  background: #fff;
}

.apex-catalog-series-card > .apex-term-media--placeholder {
  min-height: 0;
  aspect-ratio: 4 / 3;
  margin: 0 0 14px;
}

.apex-catalog-series-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 196px;
}

.apex-catalog-card-kicker {
  margin: 0;
  color: var(--apex-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.apex-catalog-series-card h3 {
  min-height: 3.6em;
  margin: 0;
  color: var(--apex-navy);
  font-size: 20px;
  line-height: 1.2;
}

.apex-catalog-series-card p {
  margin: 0;
  color: var(--apex-text);
  font-size: 14px;
  line-height: 1.55;
}

.apex-catalog-series-card__description {
  display: -webkit-box;
  min-height: 6.2em;
  max-height: 6.2em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.apex-catalog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0;
  min-height: 26px;
  align-content: flex-start;
}

.apex-catalog-card-meta span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 4px 8px;
  color: #334155;
  background: #eef3f9;
  border: 1px solid #d8e3f2;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

.apex-catalog-series-card .apex-button {
  width: 100%;
  margin-top: auto;
  min-height: 40px;
}

.apex-application-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.apex-application-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 7px;
  min-width: 0;
  min-height: 118px;
  padding: 15px;
  color: var(--apex-navy);
  background: #fff;
  border: 1px solid #d8e3f2;
  border-radius: 6px;
  text-decoration: none;
}

.apex-application-card strong {
  line-height: 1.25;
}

.apex-application-card span {
  color: #607086;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.apex-platforms-hero {
  margin-bottom: 0;
  padding-bottom: 24px;
}

.apex-archive-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 14px;
}

.apex-archive-meta {
  margin: 0;
  color: var(--apex-text);
  font-size: 14px;
  line-height: 1.4;
}

.apex-archive-meta a {
  color: var(--apex-navy);
  font-weight: 800;
}

.apex-archive-description {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.apex-archive-description p {
  margin: 0;
}

.apex-archive-rfq {
  border-left: 5px solid var(--apex-blue);
}

.apex-archive-rfq .apex-button {
  width: fit-content;
}

.apex-procurement-empty {
  gap: 14px;
  background: #f8fbff;
}

.apex-procurement-empty h2,
.apex-procurement-empty p,
.apex-procurement-empty ul {
  margin: 0;
}

.apex-procurement-empty p {
  max-width: 760px;
  color: var(--apex-text);
  line-height: 1.65;
}

.apex-procurement-empty ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  list-style: none;
}

.apex-procurement-empty li {
  min-width: 0;
  padding: 9px 10px;
  color: var(--apex-navy);
  background: #fff;
  border: 1px solid #d8e3f2;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.apex-common-rfq {
  background: #fff;
}

.apex-common-rfq__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.apex-common-rfq__card {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 16px;
  color: var(--apex-navy);
  background: #f8fbff;
  border: 1px solid #d8e3f2;
  border-radius: 6px;
  text-decoration: none;
}

.apex-common-rfq__card span {
  color: var(--apex-blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.apex-common-rfq__card strong {
  line-height: 1.25;
}

.apex-common-rfq__card em {
  color: var(--apex-text);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.apex-home-rfq {
  padding: 0 0 72px;
  background: #fff;
}

.apex-home-rfq__box {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: 38px;
  align-items: start;
  padding: 34px;
  color: #fff;
  background: #071a38;
  border-radius: 6px;
}

.apex-home-rfq__box .apex-home-kicker {
  color: #94b8ff;
}

.apex-home-rfq__box h2 {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-size: 32px;
  line-height: 1.1;
}

.apex-home-rfq__box p {
  margin: 14px 0 0;
  color: #d9e6f7;
  line-height: 1.65;
}

.apex-home-rfq__actions {
  display: grid;
  gap: 12px;
}

.apex-home-rfq__actions h3 {
  margin: 0;
  color: #fff;
  font-size: 20px;
}

.apex-home-rfq__steps {
  margin: 18px 0 0;
  padding-left: 20px;
  color: #d9e6f7;
  line-height: 1.65;
}

.apex-home-rfq__contacts,
.apex-insights-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.apex-home-rfq__contacts a {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .apex-home-hero__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
    gap: 30px;
  }

  .apex-home-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .apex-platform-series-grid,
  .apex-application-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .apex-procurement-empty ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apex-common-rfq__grid,
  .apex-catalog-empty ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .apex-header__inner {
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    padding: 14px 0;
  }

  .apex-nav {
    justify-content: center;
    gap: 10px 16px;
  }

  .apex-home-hero {
    min-height: 0;
    padding: 44px 0 58px;
  }

  .apex-home-hero.apex-hero--carousel .apex-home-hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .apex-home-hero__copy {
    max-width: 720px;
    text-align: left;
  }

  .apex-home-hero p {
    max-width: 680px;
  }

  .apex-home-hero .apex-hero-carousel {
    min-height: 440px;
  }

  .apex-home-platform-grid,
  .apex-home-category-grid,
  .apex-home-support-grid,
  .apex-internal-brand-grid,
  .apex-internal-two-column,
  .apex-platform-entry-grid,
  .apex-platform-series-grid,
  .apex-application-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apex-home-section__head--split,
  .apex-home-rfq__box {
    grid-template-columns: 1fr;
  }

  .apex-home-section__head--split {
    display: grid;
  }
}

@media (max-width: 560px) {
  .apex-header__inner {
    align-items: flex-start;
    padding: 12px 0;
  }

  .apex-logo {
    justify-content: flex-start;
    font-size: 14px;
  }

  .apex-logo__image {
    width: 52px;
    height: 34px;
  }

  .apex-nav {
    display: flex;
    justify-content: flex-start;
    gap: 8px 12px;
    font-size: 12px;
    text-align: left;
  }

  .apex-nav a {
    min-height: 32px;
  }

  .apex-nav a.apex-nav__quote {
    padding: 0 12px;
  }

  .apex-home-hero {
    padding: 34px 0 44px;
  }

  .apex-home-hero h1 {
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    font-size: 34px;
    line-height: 1.05;
  }

  .apex-home-hero p {
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    font-size: 15px;
  }

  .apex-home-actions .apex-button,
  .apex-home-rfq__actions .apex-button {
    width: 100%;
    max-width: none;
  }

  .apex-home-hero .apex-hero-carousel {
    min-height: 360px;
  }

  .apex-home-hero .apex-hero-carousel__controls {
    right: 10px;
    bottom: 10px;
    transform: none;
    flex-wrap: nowrap;
    max-width: calc(100% - 20px);
  }

  .apex-home-section {
    padding: 48px 0;
  }

  .apex-home-section__head h2,
  .apex-home-rfq__box h2 {
    font-size: 28px;
  }

  .apex-home-platform-grid,
  .apex-home-category-grid,
  .apex-home-support-grid,
  .apex-internal-brand-grid,
  .apex-internal-two-column,
  .apex-platform-entry-grid,
  .apex-platform-series-grid,
  .apex-application-grid {
    grid-template-columns: 1fr;
  }

  .apex-home-platform-card__body,
  .apex-home-category-card__body,
  .apex-home-support-card,
  .apex-internal-brand,
  .apex-internal-panel {
    padding: 16px;
  }

  .apex-internal-catalog-preview {
    padding: 42px 0;
  }

  .apex-internal-brand header,
  .apex-internal-term {
    grid-template-columns: 1fr;
  }

  .apex-internal-brand header {
    display: grid;
  }

  .apex-internal-counts,
  .apex-internal-term__meta {
    justify-content: flex-start;
  }

  .apex-internal-series summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .apex-platform-overview,
  .apex-platform-overview--compact {
    padding: 46px 0;
  }

  .apex-platform-entry-card {
    min-height: 0;
    padding: 18px;
  }

  .apex-platform-group__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .apex-platform-group {
    padding: 18px;
  }

  .apex-procurement-empty ul {
    grid-template-columns: 1fr;
  }

  .apex-platform-action-grid {
    grid-template-columns: 1fr;
  }

  .apex-platform-action-card {
    min-height: 0;
  }

  .apex-platform-finder__grid,
  .apex-common-rfq__grid,
  .apex-catalog-empty ul {
    grid-template-columns: 1fr;
  }

  .apex-fpv-empty__actions .apex-button {
    width: 100%;
  }

  .apex-archive-rfq .apex-button {
    width: 100%;
  }

  .apex-not-found-search .apex-button,
  .apex-not-found__actions .apex-button {
    width: 100%;
  }

  .apex-home-rfq {
    padding-bottom: 48px;
  }

  .apex-home-rfq__box {
    padding: 24px 18px;
  }

}

/* V2 catalog presentation */
.apex-catalog,
.apex-archive {
  background: #f7f9fc;
}

.apex-product-detail {
  background: #f3f6fa;
}

.apex-catalog {
  padding: 48px 0 72px;
}

.apex-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 20px;
  color: var(--apex-text);
  font-size: 13px;
  font-weight: 700;
}

/* Keep breadcrumbs clear of the existing logged-in sticky header offset. */
body.admin-bar .apex-breadcrumb {
  margin-top: 60px;
}

@media (max-width: 920px) {
  body.admin-bar .apex-breadcrumb {
    margin-top: 66px;
  }
}

.apex-breadcrumb a {
  color: var(--apex-navy);
}

.apex-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: 34px;
  align-items: start;
  padding: 34px 0 42px;
}

.apex-product-hero__summary {
  position: sticky;
  top: 98px;
  padding: 24px;
  border: 1px solid #d8e3f2;
  border-top: 5px solid var(--apex-blue);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(10, 31, 68, 0.08);
}

.apex-product-hero h1,
.apex-archive-hero h1 {
  margin: 0 0 18px;
  color: var(--apex-navy);
  font-size: clamp(34px, 3.35vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
}

.apex-product-short {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--apex-line);
  color: var(--apex-text);
  font-size: 17px;
  line-height: 1.7;
}

.apex-gallery {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid #d8e3f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(10, 31, 68, 0.07);
}

.apex-gallery__item,
.apex-product-media,
.apex-term-media,
.apex-image-placeholder {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--apex-line);
  border-radius: 6px;
  background: #fff;
}

.apex-gallery__item:first-child {
  min-height: 420px;
  aspect-ratio: 4 / 3;
}

.apex-gallery__item:not(:first-child) {
  max-width: 180px;
  aspect-ratio: 1 / 1;
  border-color: #cbd8ea;
}

.apex-gallery__image,
.apex-product-image,
.apex-term-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.apex-image-placeholder {
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: 28px;
  color: var(--apex-text);
  text-align: center;
}

.apex-image-placeholder--silent {
  min-height: 150px;
  padding: 18px;
  background: #f8fbff;
}

.apex-image-placeholder--silent span {
  display: block;
  width: 38px;
  height: 28px;
  border: 2px solid #c8d6e8;
  border-radius: 4px;
  opacity: 0.72;
}

.apex-image-placeholder strong,
.apex-image-placeholder span {
  display: block;
}

.apex-term-media figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  max-width: calc(100% - 24px);
  padding: 5px 8px;
  color: var(--apex-navy);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #d8e3f2;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.apex-term-media--placeholder {
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: 18px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef4fb 100%);
}

.apex-platform-placeholder {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 1px solid #cbd8ea;
  border-radius: 50%;
  background: #fff;
}

.apex-platform-placeholder span {
  display: block;
  width: 42px;
  height: 18px;
  border: 3px solid var(--apex-blue);
  border-top: 0;
  border-radius: 0 0 26px 26px;
}

.apex-term-media--placeholder figcaption {
  position: static;
  display: grid;
  gap: 4px;
  max-width: 100%;
  margin-top: 14px;
  text-align: center;
  background: transparent;
  border: 0;
}

.apex-term-media--placeholder figcaption strong {
  color: var(--apex-navy);
  font-size: 14px;
}

.apex-term-media--placeholder figcaption span {
  color: var(--apex-text);
  font-size: 12px;
}

.apex-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid #d8e2f0;
  border-radius: 6px;
  background: #fff;
  color: var(--apex-text);
  font-size: 12px;
  font-weight: 800;
}

.apex-status--verified {
  border-color: #9ad7b1;
  color: #116b35;
  background: #edf9f1;
}

.apex-status--needs_verification {
  border-color: #f3c663;
  color: #875800;
  background: #fff8e8;
}

.apex-status--draft {
  border-color: #d8e2f0;
  color: #506179;
  background: #f5f8fc;
}

.apex-product-media .apex-status,
.apex-gallery__item .apex-status,
.apex-term-media .apex-status {
  position: absolute;
  left: 12px;
  bottom: 12px;
}

.apex-product-facts {
  display: grid;
  gap: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d8e3f2;
  border-radius: 8px;
  background: #fff;
}

.apex-product-facts div {
  display: grid;
  grid-template-columns: minmax(128px, 0.34fr) minmax(0, 0.66fr);
  gap: 18px;
  align-items: start;
  padding: 13px 16px;
  border-bottom: 1px solid #e2eaf5;
}

.apex-product-facts div:last-child {
  border-bottom: 0;
}

.apex-product-facts dt {
  color: var(--apex-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.apex-product-facts dd {
  margin: 0;
  color: var(--apex-navy);
  font-weight: 700;
  line-height: 1.5;
}

.apex-product-facts a {
  color: var(--apex-navy);
  text-decoration: underline;
  text-decoration-color: #c7d5e8;
  text-underline-offset: 3px;
}

.apex-product-facts__row--status {
  background: #f8fbff;
}

.apex-product-facts dd p {
  margin: 0 0 8px;
}

.apex-product-facts dd p:last-child {
  margin-bottom: 0;
}

.apex-model-association {
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid #cfe0f6;
  border-left: 5px solid var(--apex-blue);
  border-radius: 6px;
  background: #f1f7ff;
  color: var(--apex-navy);
  font-weight: 700;
}

.apex-model-association a {
  color: var(--apex-navy);
}

.apex-model-association ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
  padding-left: 0;
  list-style: none;
}

.apex-model-association li {
  min-width: 0;
  padding: 5px 9px;
  border: 1px solid #cfe0f6;
  border-radius: 5px;
  background: #fff;
  font-size: 13px;
}

.apex-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  padding: 12px;
  border: 1px solid #d8e3f2;
  border-radius: 8px;
  background: #f8fbff;
}

.apex-product-actions .apex-button {
  min-height: 48px;
  padding: 0 26px;
  border-radius: 7px;
  font-size: 15px;
}

.apex-product-actions .apex-button--primary {
  box-shadow: 0 12px 24px rgba(26, 102, 255, 0.22);
}

.apex-product-actions .apex-button--outline {
  border-color: #b7c8dd;
}

.apex-dev-note,
.apex-empty-state {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid #f3c663;
  border-radius: 6px;
  background: #fff8e8;
  color: #875800;
  font-weight: 700;
}

.apex-product-sections,
.apex-archive-section {
  display: grid;
  gap: 18px;
}

.apex-product-section {
  margin: 0 0 20px;
  padding: 30px;
  border: 1px solid #d8e3f2;
  border-radius: 8px;
  background: #fff;
}

.apex-archive-section {
  margin: 0 0 22px;
  padding: 28px;
  border: 1px solid var(--apex-line);
  border-radius: 8px;
  background: #fff;
}

.apex-product-section--muted {
  background: #eef4fb;
}

.apex-product-section h2 {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--apex-navy);
  font-size: 24px;
  line-height: 1.2;
}

.apex-archive-section h2 {
  margin: 0 0 14px;
  color: var(--apex-navy);
  font-size: 24px;
  line-height: 1.2;
}

.apex-product-section h2::before {
  display: block;
  width: 4px;
  height: 22px;
  border-radius: 999px;
  background: var(--apex-blue);
  content: "";
}

.apex-product-section p,
.apex-archive-section p {
  color: var(--apex-text);
  line-height: 1.7;
}

.apex-product-section details,
.apex-archive-section details {
  padding: 14px 0;
  border-bottom: 1px solid var(--apex-line);
}

.apex-product-section details:last-child,
.apex-archive-section details:last-child {
  border-bottom: 0;
}

.apex-product-section summary,
.apex-archive-section summary {
  cursor: pointer;
  color: var(--apex-navy);
  font-weight: 800;
}

.apex-spec-table {
  width: 100%;
  overflow: hidden;
  border: 1px solid #d8e3f2;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 6px;
  background: #fff;
}

.apex-spec-table th,
.apex-spec-table td {
  padding: 15px 16px;
  border-bottom: 1px solid #e2eaf5;
  text-align: left;
  vertical-align: top;
}

.apex-spec-table tr:nth-child(even) {
  background: #f8fbff;
}

.apex-spec-table th {
  width: 34%;
  background: #f8fbff;
  color: var(--apex-text);
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.apex-spec-table td {
  color: var(--apex-navy);
  line-height: 1.6;
  word-break: break-word;
}

.apex-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.apex-product-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--apex-line);
  border-radius: 8px;
  background: #fff;
}

.apex-product-card__media {
  display: block;
  min-height: 240px;
  border-bottom: 1px solid var(--apex-line);
  background: #fff;
}

.apex-product-card__media .apex-product-media,
.apex-product-card__media .apex-image-placeholder {
  height: 100%;
  border: 0;
  border-radius: 0;
}

.apex-product-card__body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.apex-product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--apex-text);
  font-size: 12px;
  font-weight: 800;
}

.apex-product-card h3 {
  margin: 0;
  color: var(--apex-navy);
  font-size: 20px;
  line-height: 1.25;
}

.apex-product-card__sku,
.apex-product-card__compatibility,
.apex-product-card__excerpt {
  margin: 0;
  color: var(--apex-text);
  font-size: 14px;
  line-height: 1.6;
}

.apex-product-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}

.apex-product-card__actions .apex-button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 13px;
}

.apex-catalog .apex-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.apex-catalog .apex-product-card--compact {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 6px;
}

.apex-catalog .apex-product-card--compact .apex-product-card__media {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 4 / 3;
  background: #f7f9fc;
}

.apex-catalog .apex-product-card--compact .apex-product-card__image,
.apex-catalog .apex-product-card--compact .apex-product-card__media .apex-image-placeholder {
  width: 100%;
  height: 100%;
}

.apex-catalog .apex-product-card--compact .apex-product-card__image {
  position: absolute;
  inset: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  max-width: none;
  object-fit: contain;
}

.apex-catalog .apex-product-card--compact .apex-product-card__media .apex-image-placeholder {
  display: grid;
  place-items: center;
  min-height: 0;
  border: 0;
  border-radius: 0;
}

.apex-catalog .apex-product-card--compact .apex-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  padding: 14px;
}

.apex-catalog .apex-product-card--compact h3 {
  display: -webkit-box;
  min-height: 3.75em;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.apex-catalog .apex-product-card--compact .apex-product-card__sku,
.apex-catalog .apex-product-card--compact .apex-product-card__compatibility {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.apex-catalog .apex-product-card--compact .apex-product-card__actions {
  grid-template-columns: 1fr;
  margin-top: auto;
}

.apex-catalog .apex-product-card--compact .apex-product-card__actions .apex-button {
  min-height: 44px;
  padding: 0 12px;
  font-size: 12px;
}

.apex-archive {
  padding: 1px 0 72px;
}

.apex-archive-hero {
  margin-bottom: 26px;
  padding: 42px 0 20px;
}

.apex-archive-hero--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 32px;
  align-items: center;
}

.apex-term-media {
  min-height: 260px;
}

.apex-archive-hero--split .apex-term-media {
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.apex-archive-hero--split .apex-term-image {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: 100%;
  padding: 10px;
}

.apex-real-asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid #d8e3f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(10, 31, 68, 0.07);
}

.apex-real-asset-tile {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.apex-real-asset-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--apex-line);
  border-radius: 6px;
}

.apex-real-asset-tile span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--apex-navy);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.apex-series-card__media .apex-real-asset-grid {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.apex-series-card__media .apex-real-asset-tile span {
  display: none;
}

.apex-series-card__media .apex-real-asset-tile img {
  aspect-ratio: 1;
  border: 0;
}

.apex-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.apex-chip-list a,
.apex-filter-placeholder {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid var(--apex-line);
  border-radius: 6px;
  background: #fff;
  color: var(--apex-navy);
  font-size: 13px;
  font-weight: 800;
}

.apex-section-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.apex-section-heading h2,
.apex-section-heading p {
  margin-top: 0;
}

.apex-catalog-filters {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid #d8e3f2;
  border-radius: 8px;
  background: #f8fbff;
}

.apex-catalog-filters__head {
  display: grid;
  gap: 6px;
}

.apex-catalog-filters__head h2,
.apex-catalog-filters__head p {
  margin: 0;
}

.apex-catalog-filters__head h2 {
  color: var(--apex-navy);
  font-size: 22px;
}

.apex-catalog-filters__head p {
  color: var(--apex-text);
  font-size: 13px;
  line-height: 1.55;
}

.apex-catalog-filters__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(4, minmax(150px, 1fr));
  gap: 12px;
  align-items: end;
}

.apex-catalog-filters label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--apex-navy);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.apex-catalog-filters input,
.apex-catalog-filters select {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #cad7e8;
  border-radius: 6px;
  color: var(--apex-navy);
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
}

.apex-catalog-filters__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.apex-catalog-filters__actions .apex-button {
  min-height: 40px;
  border-radius: 6px;
}

.apex-catalog-results {
  display: grid;
  gap: 20px;
}

.apex-catalog-empty {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid #d8e3f2;
  border-radius: 8px;
  background: #fff;
}

.apex-catalog-empty h2,
.apex-catalog-empty p,
.apex-catalog-empty ul {
  margin: 0;
}

.apex-catalog-empty p {
  max-width: 720px;
  color: var(--apex-text);
  line-height: 1.65;
}

.apex-catalog-empty__query {
  width: fit-content;
  padding: 6px 9px;
  color: var(--apex-navy);
  background: #eef3f9;
  border: 1px solid #d8e3f2;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
}

.apex-catalog-empty ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  list-style: none;
}

.apex-catalog-empty li {
  min-width: 0;
  padding: 8px 10px;
  color: var(--apex-navy);
  background: #f8fbff;
  border: 1px solid #d8e3f2;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
}

.apex-not-found__recovery {
  display: grid;
  gap: 18px;
}

.apex-not-found-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  background: #f8fbff;
  border: 1px solid #d8e3f2;
  border-radius: 6px;
}

.apex-not-found-search label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--apex-navy);
  font-size: 13px;
  font-weight: 900;
}

.apex-not-found-search input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--apex-navy);
  background: #fff;
  border: 1px solid #cfd9e7;
  border-radius: 6px;
  font: inherit;
}

.apex-not-found__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.woocommerce div.product div.images,
.woocommerce-page div.product div.images,
.woocommerce div.product div.summary,
.woocommerce-page div.product div.summary {
  float: none;
  width: auto;
}

@media (max-width: 1024px) {
  .apex-product-hero,
  .apex-archive-hero--split {
    grid-template-columns: 1fr;
  }

  .apex-product-hero__summary {
    position: static;
    order: -1;
    padding: 24px;
  }

  .apex-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apex-catalog-filters__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apex-not-found-search {
    grid-template-columns: 1fr;
  }

  .apex-catalog-filters__search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .apex-product-hero h1,
  .apex-archive-hero h1 {
    font-size: 36px;
  }

  .apex-gallery__item:first-child {
    min-height: 0;
  }

  .apex-product-facts div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .apex-product-grid {
    grid-template-columns: 1fr;
  }

  .apex-catalog-filters__grid {
    grid-template-columns: 1fr;
  }

  .apex-catalog-filters__search {
    grid-column: auto;
  }

  .apex-product-section,
  .apex-archive-section {
    padding: 22px;
  }
}

@media (max-width: 560px) {
  .apex-header {
    overflow: hidden;
  }

  .apex-header__inner {
    align-items: flex-start;
  }

  .apex-nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding-bottom: 2px;
  }

  .apex-nav a {
    flex: 0 0 auto;
  }

  .apex-newsletter input,
  .apex-newsletter button,
  .apex-button {
    max-width: 100%;
  }

  .apex-product-hero {
    gap: 24px;
    padding-top: 24px;
  }

  .apex-product-hero__summary,
  .apex-gallery {
    padding: 16px;
  }

  .apex-product-hero h1,
  .apex-archive-hero h1 {
    font-size: 29px;
  }

  .apex-gallery__item:first-child {
    aspect-ratio: 4 / 3;
  }

  .apex-gallery__item:not(:first-child) {
    max-width: 112px;
  }

  .apex-product-actions,
  .apex-product-card__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .apex-product-actions {
    padding: 12px;
  }

  .apex-spec-table {
    display: block;
    overflow-x: auto;
  }
}

/* Phase 2.7F homepage corrections and Insights foundation. */
.apex-home-hero .apex-hero-carousel {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    #0b1c36;
}

.apex-home-hero .apex-hero-carousel__slide {
  display: grid;
  place-items: center;
  padding: 18px;
}

.apex-home-hero .apex-hero-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.apex-home-platform-card--rotate-clockwise .apex-home-platform-card__media,
.apex-term-media--rotate-clockwise {
  position: relative;
  display: block;
  overflow: hidden;
}

.apex-home-platform-card--rotate-clockwise .apex-home-card__image--rotate-clockwise,
.apex-term-image--rotate-clockwise {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  max-width: none;
  height: 100%;
  max-height: none;
  transform: translate(-50%, -50%) rotate(90deg) scale(1.74);
  transform-origin: center;
  object-fit: contain;
}

.apex-home-featured-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.apex-home-featured-grid .apex-product-card {
  border-radius: 6px;
}

.apex-home-featured-grid .apex-product-card__media {
  min-height: 0;
  aspect-ratio: 5 / 4;
}

.apex-home-featured-grid .apex-product-card__media .apex-product-media {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  height: 100%;
}

.apex-home-featured-grid .apex-product-card__media .apex-product-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 10px;
  object-fit: contain;
}

.apex-home-featured-grid .apex-product-card__media .apex-status {
  position: static;
  justify-self: start;
  min-height: 24px;
  margin: 0 10px 8px;
  padding: 3px 7px;
  font-size: 11px;
}

.apex-home-featured-grid .apex-product-card__body {
  gap: 8px;
  padding: 14px;
}

.apex-home-featured-grid .apex-product-card__meta {
  gap: 6px;
  font-size: 11px;
}

.apex-home-featured-grid .apex-product-card h3 {
  font-size: 15px;
  line-height: 1.28;
}

.apex-home-featured-grid .apex-product-card__sku,
.apex-home-featured-grid .apex-product-card__compatibility,
.apex-home-featured-grid .apex-product-card__excerpt {
  font-size: 12px;
  line-height: 1.5;
}

.apex-home-featured-grid .apex-product-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.apex-home-featured-grid .apex-product-card__actions {
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 2px;
}

.apex-home-featured-grid .apex-product-card__actions .apex-button {
  min-height: 36px;
  padding: 0 10px;
  font-size: 11px;
}

.apex-home-product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
}

.apex-home-product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--apex-line);
  border-radius: 6px;
  background: #fff;
}

.apex-home-product-card__media {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--apex-line);
  background: #f7f9fc;
}

.apex-home-product-card__image,
.apex-home-product-card__media .apex-image-placeholder {
  width: 100%;
  height: 100%;
}

.apex-home-product-card__image {
  position: absolute;
  inset: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  max-width: none;
  object-fit: contain;
}

.apex-home-product-card__media .apex-image-placeholder {
  display: grid;
  place-items: center;
  min-height: 0;
  border: 0;
  border-radius: 0;
}

.apex-home-product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 14px;
}

.apex-home-product-card--no-image .apex-home-product-card__body {
  gap: 12px;
  padding: 18px;
}

.apex-home-product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  color: var(--apex-text);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

.apex-home-product-card__meta span {
  display: inline-flex;
  min-width: 0;
  padding: 4px 7px;
  background: #f3f6fb;
  border: 1px solid var(--apex-line);
  border-radius: 4px;
}

.apex-home-product-card__meta a {
  color: inherit;
  text-decoration: none;
}

.apex-home-product-card h3 {
  display: -webkit-box;
  min-height: 3.75em;
  margin: 0;
  overflow: hidden;
  color: var(--apex-navy);
  font-size: 16px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.apex-home-product-card--no-image h3 {
  min-height: auto;
  -webkit-line-clamp: 4;
}

.apex-home-product-card h3 a {
  color: inherit;
  text-decoration: none;
}

.apex-home-product-card__for {
  display: -webkit-box;
  min-height: 3em;
  margin: 0;
  overflow: hidden;
  color: var(--apex-text);
  font-size: 13px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.apex-home-product-card--no-image .apex-home-product-card__for {
  min-height: auto;
  -webkit-line-clamp: 3;
}

.apex-home-product-card__for strong {
  color: var(--apex-navy);
}

.apex-home-product-card__for a {
  color: inherit;
  text-decoration: none;
}

.apex-home-product-card .apex-button {
  width: 100%;
  margin-top: auto;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 12px;
}

@media (max-width: 1100px) {
  .apex-home-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .apex-home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.apex-insights-archive,
.apex-insight-single {
  padding: 1px 0 76px;
  background: #fff;
}

.apex-insights-hero,
.apex-insight-single__header {
  max-width: 840px;
  padding: 54px 0 30px;
}

.apex-insights-hero h1,
.apex-insight-single__header h1 {
  margin: 0;
  color: var(--apex-navy);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: 0;
}

.apex-insights-hero p,
.apex-insight-single__header > p:not(.apex-home-kicker) {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--apex-text);
  font-size: 17px;
  line-height: 1.68;
}

.apex-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.apex-insight-card {
  display: grid;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--apex-line);
  border-radius: 6px;
}

.apex-insight-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #edf2f8;
  border-bottom: 1px solid var(--apex-line);
}

.apex-insight-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apex-insight-card__body {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.apex-insight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0;
  color: var(--apex-text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.apex-insight-card h2,
.apex-insight-card h3 {
  margin: 0;
  color: var(--apex-navy);
  font-size: 22px;
  line-height: 1.22;
}

.apex-insight-card p {
  margin: 0;
  color: var(--apex-text);
  line-height: 1.62;
}

.apex-insight-card__link {
  justify-self: start;
  margin-top: 4px;
  color: var(--apex-blue);
  font-size: 13px;
  font-weight: 900;
}

.apex-insights-empty {
  max-width: 720px;
  padding: 34px;
  background: #f6f8fb;
  border: 1px solid var(--apex-line);
  border-radius: 6px;
}

.apex-insights-empty h2 {
  margin: 0 0 10px;
  color: var(--apex-navy);
  font-size: 28px;
}

.apex-insights-empty p {
  margin: 0 0 20px;
  color: var(--apex-text);
  line-height: 1.65;
}

.apex-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.apex-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0 12px;
  color: var(--apex-navy);
  background: #fff;
  border: 1px solid var(--apex-line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.apex-pagination .current {
  color: #fff;
  background: var(--apex-blue);
  border-color: var(--apex-blue);
}

.apex-insight-single__media {
  max-width: 960px;
  margin: 0 0 34px;
  overflow: hidden;
  background: #edf2f8;
  border: 1px solid var(--apex-line);
  border-radius: 6px;
}

.apex-insight-single__media img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.apex-insight-content {
  max-width: 800px;
  color: var(--apex-navy);
  font-size: 18px;
  line-height: 1.78;
}

.apex-insight-content h2,
.apex-insight-content h3 {
  margin: 34px 0 12px;
  color: var(--apex-navy);
  line-height: 1.18;
}

.apex-insight-content p,
.apex-insight-content ul,
.apex-insight-content ol {
  margin: 0 0 18px;
}

.apex-insight-content a {
  color: var(--apex-blue);
  font-weight: 800;
}

.apex-insight-rfq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  max-width: 960px;
  margin-top: 44px;
  padding: 30px;
  color: #fff;
  background: #071a38;
  border-radius: 6px;
}

.apex-insight-rfq .apex-home-kicker {
  color: #94b8ff;
}

.apex-insight-rfq h2 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  line-height: 1.15;
}

.apex-insight-rfq p:not(.apex-home-kicker) {
  margin: 12px 0 0;
  color: #d9e6f7;
  line-height: 1.65;
}

@media (max-width: 1100px) {
  .apex-home-featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .apex-insights-grid,
  .apex-home-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apex-insight-rfq {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .apex-header {
    overflow: visible;
  }

  .apex-nav {
    flex-wrap: wrap;
    overflow-x: visible;
    white-space: normal;
  }

  .apex-home-hero .apex-hero-carousel__slide {
    padding: 10px;
  }

  .apex-home-featured-grid,
  .apex-insights-grid {
    grid-template-columns: 1fr;
  }

  .apex-home-product-grid {
    grid-template-columns: 1fr;
  }

  .apex-home-featured-grid .apex-product-card__media {
    aspect-ratio: 5 / 4;
  }

  .apex-catalog-series-card__body,
  .apex-catalog-series-card h3,
  .apex-catalog-series-card__description {
    min-height: 0;
  }

  .apex-catalog-series-card__description {
    max-height: none;
    -webkit-line-clamp: initial;
  }

  .apex-home-featured-grid .apex-product-card__body,
  .apex-insight-card__body {
    padding: 16px;
  }

  .apex-insights-hero,
  .apex-insight-single__header {
    padding: 38px 0 24px;
  }

  .apex-insights-hero h1,
  .apex-insight-single__header h1 {
    font-size: 34px;
  }

  .apex-insights-empty,
  .apex-insight-rfq {
    padding: 22px 18px;
  }

  .apex-insight-content {
    font-size: 16px;
  }
}

/* Phase 2.7G visible corrections. */
.apex-home-hero .apex-hero-carousel {
  aspect-ratio: 1284 / 1688;
  min-height: 0;
  overflow: visible;
}

.apex-home-hero .apex-hero-carousel__track {
  overflow: visible;
}

.apex-home-hero .apex-hero-carousel__slide {
  align-items: center;
  justify-content: center;
  padding: 22px;
  overflow: visible;
}

.apex-home-hero .apex-hero-carousel__slide img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.apex-home-platform-card--rotate-clockwise .apex-home-card__image--rotate-clockwise,
.apex-term-image--rotate-clockwise {
  transform: translate(-50%, -50%) rotate(-90deg) scale(1.72);
}

.apex-archive-hero--split .apex-term-image.apex-term-image--rotate-clockwise {
  inset: auto;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  width: auto;
  max-width: none;
  height: 100%;
  max-height: none;
  transform: translate(-50%, -50%) rotate(-90deg) scale(1.72);
}

.apex-home-insights-empty {
  max-width: 760px;
  padding: 22px 24px;
  background: #f6f8fb;
  border: 1px solid var(--apex-line);
  border-radius: 6px;
}

.apex-home-insights-empty p {
  margin: 0;
  color: var(--apex-text);
  line-height: 1.62;
}

@media (max-width: 920px) {
  .apex-home-hero .apex-hero-carousel {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .apex-home-hero .apex-hero-carousel {
    min-height: 0;
  }

  .apex-home-hero .apex-hero-carousel__slide {
    padding: 12px;
  }

  .apex-home-insights-empty {
    padding: 18px;
  }
}

@media (max-width: 1100px) {
  .apex-home-platform-grid,
  .apex-catalog .apex-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .apex-home-platform-grid,
  .apex-catalog .apex-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .apex-home-platform-grid,
  .apex-catalog .apex-product-grid {
    grid-template-columns: 1fr;
  }
}

/* Phase page repair: stable navigation, homepage hero, applications, and catalog cards. */
.apex-menu-toggle {
  display: none;
}

.apex-home-hero__inner {
  position: relative;
  z-index: 2;
}

.apex-home-hero .apex-home-kicker,
.apex-home-hero h1,
.apex-home-hero p {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.apex-home-hero .apex-button--light {
  color: #071a38;
  border-color: rgba(255, 255, 255, 0.72);
}

.apex-home-hero .apex-button--primary {
  box-shadow: 0 16px 32px rgba(26, 102, 255, 0.26);
}

.apex-product-brandline {
  margin: 0 0 12px;
  color: var(--apex-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.apex-product-short--lead {
  margin: 0 0 18px;
  padding: 0 0 18px;
}

.apex-product-verification-note {
  margin: 0 0 18px;
  padding: 14px 16px;
  color: #44546a;
  background: #f8fbff;
  border: 1px solid #d8e3f2;
  border-left: 5px solid var(--apex-blue);
  border-radius: 6px;
  line-height: 1.62;
}

.apex-catalog .apex-product-card--compact .apex-product-card__meta span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 4px 7px;
  border: 1px solid #d8e3f2;
  border-radius: 4px;
  background: #f5f8fc;
}

.apex-catalog .apex-product-card--compact .apex-product-card__meta a {
  color: inherit;
}

.apex-application-archive .apex-archive-hero h1 {
  max-width: 860px;
}

.apex-application-archive .apex-procurement-empty {
  border-left: 5px solid var(--apex-blue);
}

.apex-rfq-panel {
  width: 100%;
}

.apex-rfq-process {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  padding: 16px;
  color: var(--apex-navy);
  background: #f8fbff;
  border: 1px solid #d8e3f2;
  border-radius: 6px;
}

.apex-rfq-process__eyebrow {
  margin: 0 0 5px;
  color: var(--apex-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.apex-rfq-process h3,
.apex-rfq-process p,
.apex-rfq-process ol {
  margin: 0;
}

.apex-rfq-process h3 {
  color: var(--apex-navy);
  font-size: 20px;
  line-height: 1.2;
}

.apex-rfq-process p,
.apex-rfq-process li {
  color: var(--apex-text);
  line-height: 1.55;
}

.apex-rfq-process__steps {
  display: grid;
  gap: 7px;
  padding-left: 19px;
}

.apex-rfq-process__steps li::marker {
  color: var(--apex-blue);
  font-weight: 900;
}

.apex-rfq-process__note {
  padding-top: 12px;
  border-top: 1px solid #d8e3f2;
  font-size: 13px;
}

.apex-rfq-process__note a {
  display: inline-flex;
  margin-left: 10px;
  color: var(--apex-blue);
  font-weight: 900;
}

.apex-rfq-form {
  display: grid;
  gap: 18px;
  width: 100%;
}

.apex-rfq-field--website {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.apex-rfq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.apex-rfq-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--apex-navy);
  font-size: 13px;
  font-weight: 800;
}

.apex-rfq-form input,
.apex-rfq-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #cfd9e7;
  border-radius: 6px;
  background: #fff;
  color: var(--apex-navy);
  font: inherit;
}

.apex-rfq-form [aria-invalid="true"] {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.apex-rfq-form input {
  min-height: 44px;
  padding: 10px 12px;
}

.apex-rfq-form textarea {
  min-height: 130px;
  padding: 12px;
  resize: vertical;
}

.apex-rfq-message {
  grid-column: 1 / -1;
}

.apex-rfq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.apex-rfq-field-error {
  color: #b42318;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
}

.apex-rfq-alert {
  margin: 0 0 16px;
  padding: 13px 15px;
  border: 1px solid #cfd9e7;
  border-radius: 6px;
  font-weight: 800;
}

.apex-rfq-alert--success {
  color: #0f5132;
  background: #edf8f1;
  border-color: #badbcc;
}

.apex-rfq-alert--error {
  color: #842029;
  background: #f8d7da;
  border-color: #f5c2c7;
}

.apex-home-rfq__actions .apex-rfq-panel {
  padding: 18px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(7, 26, 56, 0.14);
}

.apex-home-rfq__actions .apex-rfq-form {
  gap: 12px;
}

.apex-home-rfq__actions .apex-rfq-form input,
.apex-home-rfq__actions .apex-rfq-form textarea {
  border-color: #d7e1ef;
}

.apex-home-rfq__actions .apex-rfq-form input {
  min-height: 40px;
}

.apex-home-rfq__actions .apex-rfq-form textarea {
  min-height: 104px;
}

.apex-home-rfq__actions .apex-rfq-grid {
  gap: 12px;
}

.apex-home-rfq__actions .apex-rfq-actions .apex-button {
  width: 100%;
}

@media (min-width: 761px) {
  .apex-nav {
    display: flex;
  }
}

@media (max-width: 760px) {
  .apex-header__inner {
    position: relative;
    min-height: 68px;
    align-items: center;
    gap: 14px;
  }

  .apex-logo {
    max-width: calc(100% - 58px);
  }

  .apex-logo span {
    font-size: 13px;
    line-height: 1.15;
  }

  .apex-menu-toggle {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 8px;
    cursor: pointer;
    background: #fff;
    border: 1px solid #d8e3f2;
    border-radius: 6px;
  }

  .apex-menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--apex-navy);
    border-radius: 999px;
  }

  .apex-menu-toggle[aria-expanded="true"] {
    border-color: var(--apex-blue);
  }

  .apex-nav {
    display: none;
    width: 100%;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 0 0 14px;
    overflow: visible;
    white-space: normal;
  }

  .apex-nav.is-open {
    display: flex;
  }

  .apex-nav a,
  .apex-nav li a {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    padding: 9px 12px;
    border: 1px solid #d8e3f2;
    border-radius: 6px;
    background: #fff;
  }

  .apex-nav a.is-active {
    text-decoration: none;
    border-color: var(--apex-blue);
  }

  .apex-nav a.apex-nav__quote {
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .apex-home-hero.apex-hero--carousel .apex-home-hero__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .apex-home-hero__copy {
    max-width: 760px;
  }

  .apex-home-hero .apex-hero-carousel {
    width: min(620px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .apex-home-hero {
    min-height: 0;
    padding: 42px 0 46px;
  }

  .apex-home-hero.apex-hero--carousel .apex-home-hero__inner {
    gap: 24px;
  }

  .apex-home-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .apex-home-actions .apex-button {
    width: 100%;
  }

  .apex-product-short--lead,
  .apex-product-verification-note {
    font-size: 15px;
  }

  .apex-rfq-grid {
    grid-template-columns: 1fr;
  }

  .apex-rfq-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .apex-rfq-actions .apex-button {
    width: 100%;
  }
}
