/*
Theme Name: AP Fencing Child Theme
Theme URI: https://www.apfencing.com/
Description: Independent industrial perimeter-fencing theme for AP Fencing, a brand of Anping Biaopu Wire Mesh Co., Ltd.
Author: AP Fencing
Template: astra
Version: 4.13.0
Text Domain: apfencing
*/

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/montserrat-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/montserrat-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ap-primary-blue: #0b132b;
  --ap-secondary-dark: #1e293b;
  --ap-accent-amber: #b45309;
  --ap-accent-amber-hover: #92400e;
  --ap-bg-light: #f8fafc;
  --ap-bg-muted: #eef2f7;
  --ap-border-color: #e2e8f0;
  --ap-text-muted: #5b6779;
  --ap-white: #ffffff;
  --ap-success: #166534;
  --ap-error: #b42318;
  --ap-shadow-glass: 0 20px 40px rgba(11, 19, 43, 0.08);
  --ap-radius-md: 8px;
  --ap-font-heading: "Montserrat", sans-serif;
  --ap-font-body: "Inter", sans-serif;
  --ap-type-display: 56px;
  --ap-type-page-title: 48px;
  --ap-type-article-title: 44px;
  --ap-type-section-title: 34px;
  --ap-type-subsection-title: 28px;
  --ap-type-card-title: 20px;
  --ap-type-body: 16px;
  --ap-type-article: 17px;
  --ap-type-compact: 15px;
  --ap-type-data: 14px;
  --ap-type-label: 12px;
  --ap-leading-body: 1.65;
  --ap-leading-reading: 1.75;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ap-secondary-dark);
  background: var(--ap-white);
  font-family: var(--ap-font-body);
  font-size: var(--ap-type-body);
  line-height: var(--ap-leading-body);
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: var(--ap-font-body);
}

h1,
h2,
h3,
h4,
.ap-title {
  margin-top: 0;
  color: var(--ap-primary-blue);
  font-family: var(--ap-font-heading) !important;
  font-weight: 700 !important;
  line-height: 1.16;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  font-size: var(--ap-type-page-title);
}

h2 {
  font-size: var(--ap-type-section-title);
}

h3 {
  font-size: 22px;
}

p {
  margin-top: 0;
}

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

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

button,
a,
input,
select,
textarea {
  outline-offset: 3px;
}

:focus-visible {
  outline: 3px solid #f59e0b;
}

.ap-wrap {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

.ap-section {
  padding: 88px 0;
}

.ap-bg-light {
  background: var(--ap-bg-light);
}

.ap-site-main {
  width: 100%;
  min-width: 0;
}

body.page .site-content > .ast-container,
body.single-ap-product .site-content > .ast-container,
body.single-post .site-content > .ast-container {
  display: block;
  width: 100%;
  max-width: none;
  padding: 0;
}

body.page .content-area,
body.single-ap-product .content-area,
body.single-post .content-area {
  width: 100%;
  margin: 0;
}

body.page .widget-area,
body.single-ap-product .widget-area,
body.single-post .widget-area {
  display: none;
}

.ap-eyebrow {
  margin: 0 0 12px;
  color: var(--ap-accent-amber);
  font-family: var(--ap-font-heading);
  font-size: var(--ap-type-label);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ap-eyebrow-light {
  color: #fbbf24;
}

.apfencing-brand-link {
  display: inline-flex;
  align-items: center;
}

.apfencing-brand-logo {
  width: 210px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.site-header .ast-primary-header-bar {
  border-bottom: 1px solid var(--ap-border-color);
  background: rgba(255, 255, 255, 0.98);
}

.site-header .main-header-menu > .menu-item > .menu-link {
  min-height: 74px;
  color: var(--ap-secondary-dark);
  font-size: var(--ap-type-compact);
  font-weight: 700;
}

.site-header .main-header-menu > .menu-item > .menu-link:hover,
.site-header .main-header-menu > .current-menu-item > .menu-link {
  color: var(--ap-accent-amber);
}

.site-header .main-header-menu > .menu-item:last-child > .menu-link {
  min-height: 44px;
  margin-left: 12px;
  padding: 0 20px;
  border-radius: var(--ap-radius-md);
  color: var(--ap-white);
  background: var(--ap-accent-amber);
}

.site-header .main-header-menu > .menu-item:last-child > .menu-link:hover {
  color: var(--ap-white);
  background: var(--ap-accent-amber-hover);
}

.ap-btn-primary,
.ap-btn-secondary {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--ap-radius-md);
  font-family: var(--ap-font-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.ap-btn-primary {
  color: var(--ap-white) !important;
  background: var(--ap-accent-amber) !important;
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.28);
}

.ap-btn-primary:hover {
  color: var(--ap-white) !important;
  background: var(--ap-accent-amber-hover) !important;
  box-shadow: 0 8px 22px rgba(180, 83, 9, 0.34);
  transform: translateY(-2px);
}

.ap-btn-secondary {
  border-color: var(--ap-primary-blue);
  color: var(--ap-primary-blue) !important;
  background: transparent;
}

.ap-btn-secondary:hover {
  color: var(--ap-white) !important;
  background: var(--ap-primary-blue);
}

.ap-btn-on-dark {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--ap-white) !important;
}

.ap-btn-on-dark:hover {
  border-color: var(--ap-white);
  color: var(--ap-primary-blue) !important;
  background: var(--ap-white);
}

.ap-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ap-text-link,
.ap-card-action,
.ap-related-links a,
.ap-resource-card a {
  color: var(--ap-accent-amber);
  font-weight: 700;
}

.ap-text-link:hover,
.ap-card-action:hover,
.ap-related-links a:hover,
.ap-resource-card a:hover {
  color: var(--ap-accent-amber-hover);
}

.ap-text-link-light {
  color: #fbbf24;
}

.ap-home-hero {
  position: relative;
  display: flex;
  height: min(650px, calc(100svh - 140px));
  min-height: 560px;
  align-items: center;
  overflow: hidden;
  background: var(--ap-primary-blue);
}

.ap-home-hero-image,
.ap-home-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ap-home-hero-image {
  object-fit: cover;
  object-position: center;
}

.ap-home-hero-overlay {
  background: linear-gradient(90deg, rgba(6, 12, 31, 0.96) 0%, rgba(6, 12, 31, 0.82) 42%, rgba(6, 12, 31, 0.2) 78%, rgba(6, 12, 31, 0.08) 100%);
}

.ap-home-hero-inner {
  position: relative;
  z-index: 1;
  padding: 54px 0;
}

.ap-home-hero h1 {
  max-width: 770px;
  margin-bottom: 22px;
  color: var(--ap-white);
  font-size: var(--ap-type-display);
}

.ap-home-hero-copy {
  max-width: 690px;
  margin-bottom: 30px;
  color: #dce3ed;
  font-size: 19px;
  line-height: 1.7;
}

.ap-hero-facts {
  display: flex;
  max-width: 700px;
  margin: 42px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--ap-white);
}

.ap-hero-facts div {
  display: grid;
  min-width: 0;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding-right: 28px;
}

.ap-hero-facts div + div {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.ap-hero-facts dt {
  color: #fbbf24;
  font-family: var(--ap-font-heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.ap-hero-facts dd {
  max-width: 150px;
  margin: 0;
  color: #dce3ed;
  font-size: var(--ap-type-data);
  line-height: 1.35;
}

.ap-intro-band {
  padding: 54px 0;
  border-bottom: 1px solid var(--ap-border-color);
  background: var(--ap-white);
}

.ap-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: center;
}

.ap-intro-grid h2 {
  margin-bottom: 0;
  font-size: 34px;
}

.ap-intro-copy p {
  margin-bottom: 12px;
  color: var(--ap-text-muted);
  font-size: 17px;
}

.ap-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  gap: 40px;
  align-items: end;
  margin-bottom: 38px;
}

.ap-section-heading h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.ap-section-heading > p {
  margin-bottom: 4px;
  color: var(--ap-text-muted);
}

.ap-section-heading > .ap-btn-secondary,
.ap-section-heading > .ap-text-link {
  justify-self: end;
}

.ap-section-heading-light h2 {
  color: var(--ap-white);
}

.ap-product-grid {
  display: grid;
  gap: 24px;
}

.ap-product-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ap-product-card {
  display: flex !important;
  height: 100% !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border: 1px solid var(--ap-border-color) !important;
  border-radius: var(--ap-radius-md) !important;
  background: var(--ap-white) !important;
  box-shadow: var(--ap-shadow-glass) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.ap-product-card:hover {
  box-shadow: 0 24px 48px rgba(11, 19, 43, 0.12) !important;
  transform: translateY(-6px) !important;
}

.ap-card-media {
  position: relative;
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  overflow: hidden !important;
  background: var(--ap-bg-muted);
}

.ap-card-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform 0.45s ease !important;
}

.ap-product-card:hover .ap-card-media img {
  transform: scale(1.04) !important;
}

.ap-card-body {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  padding: 22px !important;
}

.ap-card-category {
  margin-bottom: 8px;
  color: var(--ap-accent-amber);
  font-size: var(--ap-type-label);
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.ap-card-body h2,
.ap-card-body h3,
.ap-card-body h4 {
  display: -webkit-box !important;
  min-height: 2.6em !important;
  margin: 0 0 10px !important;
  overflow: hidden !important;
  color: var(--ap-primary-blue) !important;
  font-size: 20px !important;
  line-height: 1.3 !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

.ap-card-body p {
  display: -webkit-box;
  min-height: 4.8em;
  margin-bottom: 16px;
  overflow: hidden;
  color: var(--ap-text-muted);
  font-size: var(--ap-type-compact);
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.ap-card-specs {
  margin: 0 0 20px;
  border-top: 1px solid var(--ap-border-color);
}

.ap-card-specs div {
  display: grid;
  grid-template-columns: minmax(90px, 0.8fr) minmax(0, 1.2fr);
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--ap-border-color);
  font-size: var(--ap-type-data);
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

.ap-card-specs dt {
  color: var(--ap-text-muted);
}

.ap-card-specs dd {
  margin: 0;
  color: var(--ap-primary-blue);
  font-weight: 700;
}

.ap-card-action {
  margin-top: auto;
  font-size: var(--ap-type-compact);
}

.ap-solutions-band,
.ap-compact-cta {
  color: var(--ap-white);
  background: var(--ap-primary-blue);
}

.ap-solution-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: repeat(2, 240px);
  gap: 20px;
}

.ap-solution-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--ap-radius-md);
  background: #17203a;
}

.ap-solution-card-large {
  grid-row: 1 / 3;
}

.ap-solution-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(3, 8, 22, 0.9) 0%, rgba(3, 8, 22, 0.06) 65%);
}

.ap-solution-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.ap-solution-card:hover img {
  transform: scale(1.04);
}

.ap-solution-card > span {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: grid;
  color: var(--ap-white);
}

.ap-solution-card strong {
  font-family: var(--ap-font-heading);
  font-size: 22px;
}

.ap-solution-card small {
  color: #dce3ed;
  font-size: var(--ap-type-data);
}

.ap-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.ap-process-item {
  min-width: 0;
}

.ap-process-item img {
  width: 100%;
  margin-bottom: 18px;
  aspect-ratio: 4 / 3;
  border-radius: var(--ap-radius-md);
  object-fit: cover;
}

.ap-process-item > span,
.ap-quality-card > div > span,
.ap-resource-card > span {
  color: var(--ap-accent-amber);
  font-family: var(--ap-font-heading);
  font-size: 13px;
  font-weight: 700;
}

.ap-process-item h3 {
  margin: 6px 0 8px;
}

.ap-process-item p {
  margin-bottom: 0;
  color: var(--ap-text-muted);
  font-size: var(--ap-type-compact);
}

.ap-page-hero {
  position: relative;
  display: flex;
  min-height: 380px;
  align-items: center;
  overflow: hidden;
  background: var(--ap-primary-blue);
}

.ap-page-hero-image > img,
.ap-page-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ap-page-hero-image > img {
  object-fit: cover;
}

.ap-page-hero-shade {
  background: linear-gradient(90deg, rgba(6, 12, 31, 0.94), rgba(6, 12, 31, 0.44));
}

.ap-page-hero-inner {
  position: relative;
  z-index: 1;
  padding: 70px 0;
}

.ap-page-hero h1 {
  max-width: 880px;
  margin-bottom: 18px;
  color: var(--ap-white);
  font-size: var(--ap-type-page-title);
}

.ap-page-hero p:not(.ap-eyebrow) {
  max-width: 780px;
  margin-bottom: 0;
  color: #dce3ed;
  font-size: 18px;
}

.ap-category-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--ap-border-color);
  background: rgba(255, 255, 255, 0.97);
}

.admin-bar .ap-category-nav {
  top: 32px;
}

.ap-category-nav .ap-wrap {
  display: flex;
  overflow-x: auto;
  scrollbar-width: thin;
}

.ap-category-nav a {
  flex: 0 0 auto;
  padding: 17px 20px;
  border-bottom: 2px solid transparent;
  color: var(--ap-text-muted);
  font-size: var(--ap-type-data);
  font-weight: 700;
  white-space: nowrap;
}

.ap-category-nav a:hover {
  border-color: var(--ap-accent-amber);
  color: var(--ap-primary-blue);
}

.ap-catalog-sections > .ap-section:nth-child(even) {
  background: var(--ap-bg-light);
}

.ap-compact-cta {
  padding: 52px 0;
}

.ap-compact-cta .ap-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.ap-compact-cta h2 {
  margin-bottom: 0;
  color: var(--ap-white);
  font-size: 32px;
}

.ap-solution-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 64px;
  align-items: center;
}

.ap-solution-detail:nth-child(even) .ap-solution-detail-media {
  order: 2;
}

.ap-solution-detail-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--ap-radius-md);
  object-fit: cover;
  box-shadow: var(--ap-shadow-glass);
}

.ap-solution-detail-copy > p:not(.ap-eyebrow) {
  color: var(--ap-text-muted);
  font-size: 17px;
}

.ap-check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.ap-check-list li {
  position: relative;
  padding-left: 27px;
}

.ap-check-list li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 12px;
  height: 2px;
  content: "";
  background: var(--ap-accent-amber);
}

.ap-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 18px;
  border-top: 1px solid var(--ap-border-color);
}

.ap-related-links a {
  font-size: 14px;
}

.ap-quality-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.ap-quality-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--ap-border-color);
  border-radius: var(--ap-radius-md);
  background: var(--ap-white);
}

.ap-quality-card > img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
}

.ap-quality-card > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.ap-quality-card h2 {
  margin: 8px 0 12px;
  font-size: 25px;
}

.ap-quality-card p {
  margin-bottom: 0;
  color: var(--ap-text-muted);
  font-size: 14px;
}

.ap-document-grid,
.ap-checklist-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 70px;
  align-items: center;
}

.ap-document-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--ap-radius-md);
  object-fit: cover;
}

.ap-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ap-border-color);
  border-left: 1px solid var(--ap-border-color);
}

.ap-resource-card {
  min-height: 310px;
  padding: 32px;
  border-right: 1px solid var(--ap-border-color);
  border-bottom: 1px solid var(--ap-border-color);
  background: var(--ap-white);
}

.ap-resource-card h2 {
  margin: 32px 0 12px;
  font-size: 26px;
}

.ap-resource-card p {
  color: var(--ap-text-muted);
}

.ap-resource-card a {
  font-size: 14px;
}

.ap-number-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ap-border-color);
}

.ap-number-list li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ap-border-color);
}

.ap-number-list li > span {
  color: var(--ap-accent-amber);
  font-family: var(--ap-font-heading);
  font-weight: 700;
}

.ap-number-list strong {
  color: var(--ap-primary-blue);
}

.ap-number-list p {
  margin-bottom: 0;
  color: var(--ap-text-muted);
  font-size: 14px;
}

.ap-breadcrumb {
  border-bottom: 1px solid var(--ap-border-color);
  background: var(--ap-bg-light);
}

.ap-breadcrumb .ap-wrap {
  display: flex;
  gap: 9px;
  overflow: hidden;
  padding-top: 14px;
  padding-bottom: 14px;
  color: var(--ap-text-muted);
  font-size: 13px;
  white-space: nowrap;
}

.ap-breadcrumb span:last-child {
  overflow: hidden;
  color: var(--ap-primary-blue);
  text-overflow: ellipsis;
}

.ap-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: 64px;
  align-items: start;
}

.ap-product-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--ap-radius-md);
  background: var(--ap-bg-muted);
  box-shadow: var(--ap-shadow-glass);
}

.ap-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ap-product-intro {
  padding-top: 8px;
}

.ap-product-intro h1 {
  margin-bottom: 20px;
  font-size: var(--ap-type-article-title);
}

.ap-product-summary {
  color: var(--ap-text-muted);
  font-size: 18px;
}

.ap-application-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0;
}

.ap-application-tags span {
  padding: 7px 10px;
  border: 1px solid var(--ap-border-color);
  border-radius: 4px;
  color: #46556a;
  background: var(--ap-bg-light);
  font-size: 13px;
  font-weight: 700;
}

.ap-microcopy {
  margin: 16px 0 0;
  color: var(--ap-text-muted);
  font-size: 13px;
}

.ap-spec-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.36fr) minmax(0, 0.64fr);
  gap: 55px;
}

.ap-spec-layout > div:first-child > p:not(.ap-eyebrow) {
  color: var(--ap-text-muted);
}

.ap-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ap-border-color);
  background: var(--ap-white);
}

.ap-spec-table {
  width: 100%;
  min-width: 670px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  background: var(--ap-white);
  font-variant-numeric: tabular-nums;
}

.ap-spec-table th,
.ap-spec-table td {
  padding: 16px;
  border: 0;
  border-right: 1px solid var(--ap-border-color);
  border-bottom: 1px solid var(--ap-border-color);
  text-align: left;
  vertical-align: top;
}

.ap-spec-table tr > *:last-child {
  border-right: 0;
}

.ap-spec-table tbody tr:last-child > * {
  border-bottom: 0;
}

.ap-spec-table thead th {
  color: var(--ap-white);
  background: var(--ap-primary-blue);
  font-family: var(--ap-font-heading);
  font-size: var(--ap-type-data);
}

.ap-spec-table tbody th {
  width: 24%;
  color: var(--ap-primary-blue);
  font-size: 14px;
}

.ap-spec-table td {
  color: var(--ap-text-muted);
  font-size: 14px;
}

.ap-detail-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.ap-detail-evidence {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  border: 1px solid var(--ap-border-color);
  border-radius: var(--ap-radius-md);
}

.ap-detail-evidence img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.ap-detail-evidence > div {
  padding: 30px;
}

.ap-detail-evidence h2 {
  font-size: 26px;
}

.ap-detail-evidence p:not(.ap-eyebrow) {
  margin-bottom: 0;
  color: var(--ap-text-muted);
  font-size: var(--ap-type-compact);
}

.ap-rfq-band {
  border-top: 1px solid var(--ap-border-color);
  background: var(--ap-bg-light);
}

.ap-rfq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.38fr) minmax(0, 0.62fr);
  gap: 70px;
  align-items: start;
}

.ap-rfq-intro {
  position: sticky;
  top: 100px;
}

.ap-rfq-intro > p:not(.ap-eyebrow) {
  color: var(--ap-text-muted);
}

.ap-rfq-panel {
  padding: 34px;
  border: 1px solid var(--ap-border-color);
  border-radius: var(--ap-radius-md);
  background: var(--ap-white);
  box-shadow: var(--ap-shadow-glass);
}

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

.ap-form-grid > label:not(.ap-form-consent) {
  display: grid;
  gap: 7px;
}

.ap-form-grid label > span {
  color: var(--ap-primary-blue);
  font-size: var(--ap-type-data);
  font-weight: 700;
}

.ap-form-grid input:not([type="checkbox"]),
.ap-form-grid select,
.ap-form-grid textarea {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: var(--ap-secondary-dark);
  background: var(--ap-white);
  font-size: var(--ap-type-body);
}

.ap-form-grid textarea {
  min-height: 126px;
  resize: vertical;
}

.ap-form-grid input:focus,
.ap-form-grid select:focus,
.ap-form-grid textarea:focus {
  border-color: var(--ap-accent-amber);
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.13);
}

.ap-form-wide {
  grid-column: 1 / -1;
}

.ap-form-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}

.ap-form-consent input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--ap-accent-amber);
}

.ap-form-consent span {
  color: var(--ap-text-muted) !important;
  font-weight: 400 !important;
}

.ap-form-consent a {
  color: var(--ap-accent-amber);
  text-decoration: underline;
}

.ap-form-submit {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 18px;
  align-items: center;
}

.ap-form-status {
  margin: 0;
  color: var(--ap-text-muted);
  font-size: var(--ap-type-data);
}

.ap-form-status.is-success {
  color: var(--ap-success);
}

.ap-form-status.is-error {
  color: var(--ap-error);
}

.ap-rfq-form.is-submitting {
  opacity: 0.72;
  pointer-events: none;
}

.ap-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.ap-contact-list {
  margin: 30px 0 0;
}

.ap-contact-list div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--ap-border-color);
}

.ap-contact-list dt {
  color: var(--ap-text-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.ap-contact-list dd {
  margin: 0;
  color: var(--ap-primary-blue);
  font-weight: 700;
}

.ap-contact-list a:hover {
  color: var(--ap-accent-amber);
}

.ap-contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.38fr) minmax(0, 0.62fr);
  gap: 70px;
  align-items: start;
}

.ap-contact-aside {
  padding: 34px;
  border-radius: var(--ap-radius-md);
  color: var(--ap-white);
  background: var(--ap-primary-blue);
}

.ap-contact-aside h2,
.ap-contact-list-dark dd {
  color: var(--ap-white);
}

.ap-contact-list-dark div {
  grid-template-columns: 115px 1fr;
  border-color: rgba(255, 255, 255, 0.14);
}

.ap-contact-list-dark dt {
  color: #aeb9c9;
}

.ap-contact-note {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.ap-contact-note p {
  margin: 8px 0 0;
  color: #cbd5e1;
  font-size: 13px;
}

.ap-contact-form-wrap > p:not(.ap-eyebrow) {
  color: var(--ap-text-muted);
}

.ap-legal-copy {
  max-width: 820px;
}

.ap-legal-copy h2 {
  margin-top: 36px;
  font-size: 26px;
}

.ap-legal-copy h2:first-child {
  margin-top: 0;
}

.ap-legal-copy p {
  color: var(--ap-text-muted);
}

.ap-cookie-settings-inline {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ap-primary-blue);
  border-radius: 6px;
  color: var(--ap-primary-blue);
  background: var(--ap-white);
  box-shadow: none;
  font-family: var(--ap-font-heading);
  font-size: 14px;
  font-weight: 700;
}

.ap-cookie-settings-inline:hover,
.ap-cookie-settings-inline:focus-visible {
  border-color: var(--ap-accent-amber);
  color: var(--ap-white);
  background: var(--ap-accent-amber);
}

.ap-policy-date {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--ap-border-color);
  font-weight: 700;
}

.ap-footer {
  padding-top: 64px;
  color: #cbd5e1;
  background: #070d20;
}

.ap-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 50px;
}

.ap-footer-grid > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
}

.ap-footer-grid strong {
  margin-bottom: 8px;
  color: var(--ap-white);
  font-family: var(--ap-font-heading);
  font-size: 15px;
}

.ap-footer-grid a,
.ap-footer-grid span {
  color: #aeb9c9;
  font-size: var(--ap-type-data);
}

.ap-footer-grid a:hover {
  color: #fbbf24;
}

.ap-footer-cookie-button {
  width: fit-content;
  min-height: 0;
  padding: 0;
  border: 0;
  color: #aeb9c9;
  background: transparent;
  box-shadow: none;
  font-family: var(--ap-font-body);
  font-size: var(--ap-type-data);
  font-weight: 400;
  line-height: inherit;
  text-align: left;
}

.ap-footer-cookie-button:hover,
.ap-footer-cookie-button:focus-visible {
  color: #fbbf24;
  background: transparent;
}

.ap-footer-brand img {
  width: 226px;
  height: 60px;
  margin-bottom: 12px;
  padding: 6px 8px;
  border-radius: 4px;
  background: var(--ap-white);
  object-fit: contain;
  object-position: center;
}

.ap-footer-brand p {
  max-width: 410px;
  margin: 0;
  color: #aeb9c9;
  font-size: var(--ap-type-data);
}

.ap-footer-bottom {
  margin-top: 52px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #7f8ba0;
  font-size: 12px;
}

.ap-cookie-layer[hidden],
.ap-cookie-banner[hidden],
.ap-cookie-dialog-backdrop[hidden] {
  display: none !important;
}

.ap-cookie-layer {
  position: relative;
  z-index: 1200;
}

.ap-cookie-banner {
  position: fixed;
  z-index: 1200;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 24px;
  border: 1px solid var(--ap-border-color);
  border-radius: var(--ap-radius-md);
  color: var(--ap-secondary-dark);
  background: var(--ap-white);
  box-shadow: 0 18px 54px rgba(11, 19, 43, 0.22);
}

.ap-cookie-banner-copy strong {
  display: block;
  color: var(--ap-primary-blue);
  font-family: var(--ap-font-heading);
  font-size: 19px;
}

.ap-cookie-banner-copy p {
  max-width: 660px;
  margin: 7px 0 0;
  color: var(--ap-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.ap-cookie-banner-actions,
.ap-cookie-dialog-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.ap-cookie-button {
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid var(--ap-border-color);
  border-radius: 6px;
  box-shadow: none;
  font-family: var(--ap-font-heading);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.ap-cookie-button-primary,
.ap-cookie-button-primary:hover,
.ap-cookie-button-primary:focus-visible {
  border-color: var(--ap-accent-amber);
  color: var(--ap-white);
  background: var(--ap-accent-amber);
}

.ap-cookie-button-primary:hover {
  background: var(--ap-accent-amber-hover);
}

.ap-cookie-button-secondary {
  color: var(--ap-primary-blue);
  background: var(--ap-white);
}

.ap-cookie-button-secondary:hover,
.ap-cookie-button-secondary:focus-visible {
  border-color: var(--ap-secondary-dark);
  color: var(--ap-primary-blue);
  background: var(--ap-bg-light);
}

.ap-cookie-dialog-backdrop {
  position: fixed;
  z-index: 1300;
  inset: 0;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 24px;
  background: rgba(7, 13, 32, 0.72);
}

.ap-cookie-dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 30px;
  border: 1px solid var(--ap-border-color);
  border-radius: var(--ap-radius-md);
  color: var(--ap-secondary-dark);
  background: var(--ap-white);
  box-shadow: 0 24px 70px rgba(7, 13, 32, 0.32);
  outline: 0;
}

.ap-cookie-dialog h2 {
  margin: 6px 48px 10px 0;
  color: var(--ap-primary-blue);
  font-size: 28px;
}

.ap-cookie-dialog-intro {
  margin: 0 0 24px;
  color: var(--ap-text-muted);
  font-size: 15px;
}

.ap-cookie-dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--ap-border-color);
  border-radius: 50%;
  color: var(--ap-primary-blue);
  background: var(--ap-white);
  box-shadow: none;
  font-size: 25px;
  line-height: 1;
}

.ap-cookie-dialog-close:hover,
.ap-cookie-dialog-close:focus-visible {
  border-color: var(--ap-secondary-dark);
  color: var(--ap-primary-blue);
  background: var(--ap-bg-light);
}

.ap-cookie-preference-row {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--ap-border-color);
}

.ap-cookie-preference-row strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ap-primary-blue);
  font-family: var(--ap-font-heading);
  font-size: 15px;
}

.ap-cookie-preference-row span span,
.ap-cookie-preference-row > div > span {
  display: block;
  max-width: 430px;
  color: var(--ap-text-muted);
  font-size: 13px;
  line-height: 1.55;
}

.ap-cookie-required {
  flex: 0 0 auto;
  color: var(--ap-text-muted);
  font-size: 13px;
  font-weight: 700;
}

.ap-cookie-toggle-row {
  cursor: pointer;
}

.ap-cookie-toggle-row input {
  position: relative;
  width: 48px !important;
  min-width: 48px;
  height: 28px !important;
  margin: 0;
  padding: 0 !important;
  appearance: none;
  border: 0 !important;
  border-radius: 14px !important;
  background: #94a3b8;
  box-shadow: inset 0 0 0 1px rgba(11, 19, 43, 0.18) !important;
  cursor: pointer;
  transition: background 160ms ease;
}

.ap-cookie-toggle-row input::before {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ap-white);
  box-shadow: 0 1px 4px rgba(11, 19, 43, 0.28);
  content: "";
  transition: transform 160ms ease;
}

.ap-cookie-toggle-row input:checked {
  background: var(--ap-accent-amber);
}

.ap-cookie-toggle-row input:checked::before {
  transform: translateX(20px);
}

.ap-cookie-toggle-row input:focus-visible {
  outline: 3px solid rgba(217, 119, 6, 0.3);
  outline-offset: 3px;
}

.ap-cookie-dialog-actions {
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--ap-border-color);
}

.ap-cookie-dialog-actions a {
  color: var(--ap-accent-amber-hover);
  font-size: 13px;
  font-weight: 700;
}

body.ap-cookie-dialog-open {
  overflow: hidden;
}

.ap-mobile-cta {
  display: none;
}

.ap-article-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.ap-article-card {
  overflow: hidden;
  border: 1px solid var(--ap-border-color);
  border-radius: var(--ap-radius-md);
  background: var(--ap-white);
}

.ap-article-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ap-bg-muted);
}

.ap-article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.ap-article-card:hover .ap-article-card-media img {
  transform: scale(1.025);
}

.ap-article-card > div {
  padding: 25px;
}

.ap-article-card h3 {
  margin: 8px 0 12px;
  font-size: 22px;
  line-height: 1.25;
}

.ap-article-card h3 a {
  color: var(--ap-primary-blue);
}

.ap-article-card > div > p:not(.ap-eyebrow) {
  color: var(--ap-text-muted);
  font-size: var(--ap-type-body);
}

.ap-article-hero {
  padding: 66px 0;
  color: var(--ap-white);
  background: var(--ap-primary-blue);
}

.ap-article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 58px;
  align-items: center;
}

.ap-article-hero h1 {
  max-width: 820px;
  margin: 12px 0 20px;
  color: var(--ap-white);
  font-size: var(--ap-type-article-title);
  line-height: 1.12;
}

.ap-article-deck {
  max-width: 720px;
  color: #dbe5f1;
  font-size: 18px;
}

.ap-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 28px;
  color: #b8c6d8;
  font-size: 13px;
}

.ap-article-hero-media {
  margin: 0;
}

.ap-article-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--ap-radius-md);
  object-fit: cover;
}

.ap-article-hero-media figcaption {
  margin-top: 10px;
  color: #b8c6d8;
  font-size: 13px;
  line-height: 1.5;
}

.ap-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 72ch) 320px;
  gap: 72px;
  align-items: start;
  justify-content: space-between;
  padding-top: 72px;
  padding-bottom: 82px;
}

.ap-article-content {
  min-width: 0;
  max-width: 72ch;
  font-size: var(--ap-type-article);
  line-height: var(--ap-leading-reading);
}

.ap-article-content > p:first-child {
  color: var(--ap-secondary-dark);
  font-size: 20px;
  line-height: 1.65;
}

.ap-article-content h2 {
  margin: 50px 0 16px;
  font-size: var(--ap-type-section-title);
}

.ap-article-content h3 {
  margin: 32px 0 10px;
  font-size: 22px;
}

.ap-article-content ul,
.ap-article-content ol {
  margin: 0 0 26px;
  padding-left: 24px;
}

.ap-article-content li {
  margin-bottom: 9px;
}

.ap-article-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin: 26px 0 34px;
  border: 1px solid var(--ap-border-color);
  border-radius: var(--ap-radius-md);
}

.ap-article-table {
  width: 100%;
  min-width: 660px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.ap-article-table th,
.ap-article-table td {
  padding: 15px 17px;
  border: 0;
  border-bottom: 1px solid var(--ap-border-color);
  text-align: left;
  vertical-align: top;
}

.ap-article-table th {
  color: var(--ap-white);
  background: var(--ap-primary-blue);
  font-size: var(--ap-type-data);
}

.ap-article-table tr:last-child td {
  border-bottom: 0;
}

.ap-article-note {
  margin: 30px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--ap-accent-amber);
  background: var(--ap-bg-light);
}

.ap-article-note strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ap-primary-blue);
}

.ap-article-note p:last-child {
  margin-bottom: 0;
}

.ap-article-sources {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--ap-border-color);
  color: var(--ap-text-muted);
  font-size: 14px;
}

.ap-article-aside {
  position: sticky;
  top: 110px;
  padding: 28px;
  border: 1px solid var(--ap-border-color);
  border-radius: var(--ap-radius-md);
  background: var(--ap-bg-light);
}

.ap-article-aside h2 {
  margin: 9px 0 13px;
  font-size: 25px;
}

.ap-article-aside > p:not(.ap-eyebrow) {
  color: var(--ap-text-muted);
  font-size: var(--ap-type-compact);
}

.ap-article-aside .ap-btn-primary,
.ap-article-aside .ap-btn-secondary {
  width: 100%;
  margin-top: 10px;
  padding-right: 14px;
  padding-left: 14px;
}

@media (max-width: 1120px) {
  h1 {
    font-size: 42px;
  }

  .ap-home-hero h1 {
    font-size: 44px;
  }

  .ap-page-hero h1 {
    font-size: 42px;
  }

  .ap-product-intro h1,
  .ap-article-hero h1 {
    font-size: 40px;
  }

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

  .ap-quality-card,
  .ap-detail-evidence {
    grid-template-columns: 1fr;
  }

  .ap-quality-card > img,
  .ap-detail-evidence img {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}

@media (max-width: 921px) {
  .ap-article-hero-grid,
  .ap-article-layout {
    grid-template-columns: 1fr;
  }

  .ap-article-hero-grid {
    gap: 36px;
  }

  .ap-article-layout {
    gap: 44px;
  }

  .ap-article-aside {
    position: static;
  }

  .ap-article-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ap-article-hero h1 {
    font-size: 40px;
  }

  .ast-mobile-header-wrap .ast-primary-header-bar,
  .ast-primary-header-bar .site-primary-header-wrap {
    min-height: 70px;
  }

  .apfencing-brand-logo {
    width: 178px;
    height: 42px;
  }

  .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link {
    min-height: 48px;
    color: var(--ap-secondary-dark);
    font-weight: 700;
  }

  .ast-builder-menu-mobile .main-navigation .main-header-menu {
    overflow-x: hidden;
  }

  .ast-builder-menu-mobile .main-navigation .main-header-menu > .menu-item:last-child > .menu-link {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    min-height: 48px;
    margin: 8px 12px;
    box-sizing: border-box;
    justify-content: center;
    color: var(--ap-white);
  }

  .ap-home-hero {
    height: auto;
    min-height: 590px;
  }

  .ap-home-hero-overlay {
    background: linear-gradient(90deg, rgba(6, 12, 31, 0.94), rgba(6, 12, 31, 0.54));
  }

  .ap-home-hero h1 {
    max-width: 650px;
  }

  .ap-product-layout,
  .ap-spec-layout,
  .ap-rfq-layout,
  .ap-contact-layout,
  .ap-document-grid,
  .ap-checklist-layout,
  .ap-solution-detail-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .ap-product-layout {
    max-width: 760px;
  }

  .ap-product-intro h1 {
    font-size: 40px;
  }

  .ap-rfq-intro {
    position: static;
  }

  .ap-solution-detail:nth-child(even) .ap-solution-detail-media {
    order: 0;
  }

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

@media (max-width: 768px) {
  .ap-article-card-grid {
    grid-template-columns: 1fr;
  }

  .ap-article-hero {
    padding: 48px 0;
  }

  .ap-article-hero h1 {
    font-size: 40px;
  }

  .ap-article-layout {
    padding-top: 52px;
    padding-bottom: 62px;
  }

  .ap-article-content h2 {
    font-size: 28px;
  }
  body {
    padding-bottom: 62px;
  }

  h1,
  .ap-home-hero h1,
  .ap-page-hero h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .ap-wrap {
    width: min(100% - 30px, 660px);
  }

  .ap-section {
    padding: 60px 0;
  }

  .ap-home-hero {
    min-height: 610px;
  }

  .ap-home-hero-image {
    object-position: 62% center;
  }

  .ap-home-hero-overlay {
    background: linear-gradient(90deg, rgba(6, 12, 31, 0.96), rgba(6, 12, 31, 0.69));
  }

  .ap-home-hero-inner {
    padding: 48px 0;
  }

  .ap-home-hero-copy,
  .ap-page-hero p:not(.ap-eyebrow) {
    font-size: 16px;
  }

  .ap-hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 34px;
  }

  .ap-hero-facts div {
    display: block;
    padding-right: 12px;
  }

  .ap-hero-facts div + div {
    padding-left: 12px;
  }

  .ap-hero-facts dt {
    margin-bottom: 7px;
    font-size: 26px;
  }

  .ap-hero-facts dd {
    font-size: var(--ap-type-label);
  }

  .ap-intro-band {
    padding: 44px 0;
  }

  .ap-intro-grid,
  .ap-section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ap-section-heading > .ap-btn-secondary,
  .ap-section-heading > .ap-text-link {
    justify-self: start;
  }

  .ap-product-grid-three,
  .ap-process-grid,
  .ap-quality-grid,
  .ap-resource-grid,
  .ap-detail-evidence-grid {
    grid-template-columns: 1fr;
  }

  .ap-card-media {
    max-height: 440px !important;
    aspect-ratio: 4 / 3 !important;
  }

  .ap-solution-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 280px);
  }

  .ap-solution-card-large {
    grid-row: auto;
  }

  .ap-page-hero {
    min-height: 330px;
  }

  .ap-page-hero-inner {
    padding: 56px 0;
  }

  .ap-category-nav {
    position: relative;
  }

  .ap-category-nav .ap-wrap {
    width: 100%;
    padding: 0 15px;
  }

  .ap-category-nav a {
    padding: 14px;
  }

  .ap-compact-cta .ap-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .ap-product-intro h1 {
    font-size: 34px;
  }

  .ap-rfq-panel,
  .ap-contact-aside {
    padding: 24px;
  }

  .ap-form-grid {
    grid-template-columns: 1fr;
  }

  .ap-form-wide {
    grid-column: auto;
  }

  .ap-form-submit {
    grid-template-columns: 1fr;
  }

  .ap-form-submit .ap-btn-primary {
    width: 100%;
  }

  .ap-footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ap-footer-bottom {
    margin-top: 36px;
  }

  .ap-mobile-cta {
    position: fixed;
    z-index: 1000;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: 62px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    background: var(--ap-primary-blue);
    box-shadow: 0 -8px 24px rgba(11, 19, 43, 0.2);
  }

  .ap-mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ap-white);
    font-size: 14px;
    font-weight: 700;
  }

  .ap-mobile-cta a:first-child {
    background: var(--ap-accent-amber);
  }
}

@media (max-width: 480px) {
  h1,
  .ap-home-hero h1,
  .ap-page-hero h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .ap-article-hero h1 {
    font-size: 34px;
  }

  .ap-button-row {
    display: grid;
  }

  .ap-btn-primary,
  .ap-btn-secondary {
    width: 100%;
    padding: 0 18px;
  }

  .ap-home-hero {
    min-height: 660px;
  }

  .ap-hero-facts {
    margin-top: 30px;
  }

  .ap-product-media {
    aspect-ratio: 4 / 3;
  }

  .ap-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .ap-spec-table {
    min-width: 0;
    border: 0;
    background: transparent;
  }

  .ap-spec-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .ap-spec-table tbody,
  .ap-spec-table tr,
  .ap-spec-table th,
  .ap-spec-table td {
    display: block;
    width: 100%;
  }

  .ap-spec-table tbody {
    display: grid;
    gap: 14px;
  }

  .ap-spec-table tbody tr {
    overflow: hidden;
    border: 1px solid var(--ap-border-color);
    border-radius: 6px;
    background: var(--ap-white);
  }

  .ap-spec-table tbody th,
  .ap-spec-table tbody td {
    padding: 13px 14px;
    border: 0;
    border-bottom: 1px solid var(--ap-border-color);
  }

  .ap-spec-table tbody tr > *:last-child {
    border-bottom: 0;
  }

  .ap-spec-table tbody th {
    width: 100%;
    color: var(--ap-white);
    background: var(--ap-primary-blue);
    overflow-wrap: anywhere;
  }

  .ap-spec-table tbody td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--ap-accent-amber);
    content: attr(data-label);
    font-size: var(--ap-type-label);
    font-weight: 800;
    text-transform: uppercase;
  }

  .ap-solution-card > span {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .ap-quality-card > div,
  .ap-detail-evidence > div,
  .ap-resource-card {
    padding: 24px;
  }

  .ap-contact-list div,
  .ap-contact-list-dark div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* AP 358 sample candidate: quote scope and buyer-safe media labels. */
.ap-download-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 44px;
}

.ap-quote-scope {
  display: grid;
  grid-template-columns: minmax(250px, 0.36fr) minmax(0, 0.64fr);
  gap: 55px;
  align-items: start;
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid var(--ap-border-color);
}

.ap-quote-scope h3 {
  margin: 8px 0 14px;
  font-size: 28px;
}

.ap-quote-scope > div > p:not(.ap-eyebrow) {
  color: var(--ap-text-muted);
  font-size: var(--ap-type-compact);
}

.ap-quote-scope-list {
  margin: 0;
  border-top: 1px solid var(--ap-border-color);
}

.ap-quote-scope-list > div {
  display: grid;
  grid-template-columns: minmax(145px, 0.32fr) minmax(0, 0.68fr);
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--ap-border-color);
}

.ap-quote-scope-list dt {
  color: var(--ap-primary-blue);
  font-size: var(--ap-type-data);
  font-weight: 700;
}

.ap-quote-scope-list dd {
  margin: 0;
  color: var(--ap-text-muted);
  font-size: 14px;
}

.ap-selection-answer {
  display: grid;
  grid-template-columns: minmax(250px, 0.46fr) minmax(0, 0.54fr);
  gap: 55px;
  align-items: start;
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid var(--ap-border-color);
}

.ap-selection-answer h2 {
  margin: 8px 0 14px;
}

.ap-selection-answer > div > p:not(.ap-eyebrow) {
  max-width: 68ch;
  color: var(--ap-text-muted);
}

.ap-selection-comparisons {
  margin: 0;
  border-top: 1px solid var(--ap-border-color);
}

.ap-selection-comparisons > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--ap-border-color);
}

.ap-selection-comparisons dt {
  margin-bottom: 6px;
  font-weight: 700;
}

.ap-selection-comparisons dt a {
  color: var(--ap-primary-blue);
}

.ap-selection-comparisons dd {
  margin: 0;
  color: var(--ap-text-muted);
  font-size: var(--ap-type-compact);
}

.ap-product-gallery-section-scoped .ap-section-heading > p {
  max-width: 560px;
  margin: 0;
  color: var(--ap-text-muted);
}

.ap-product-gallery-section-scoped .ap-product-gallery figcaption {
  display: grid;
  gap: 5px;
  text-transform: none;
}

.ap-product-gallery-section-scoped .ap-product-gallery figcaption strong {
  color: var(--ap-primary-blue);
  font-size: 13px;
  text-transform: uppercase;
}

.ap-product-gallery-section-scoped .ap-product-gallery figcaption span {
  color: var(--ap-text-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .ap-quote-scope {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 38px;
    padding-top: 28px;
  }

  .ap-selection-answer {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 38px;
    padding-top: 28px;
  }

  .ap-quote-scope-list > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* AP Fencing 4.2.0: company identity, solution detail and product RFQ. */
.ap-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.ap-form-section-label {
  margin: 8px 0 -4px;
  padding-top: 16px;
  border-top: 1px solid var(--ap-border-color);
  color: var(--ap-accent-amber);
  font-family: var(--ap-font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.ap-detail-evidence-text {
  display: flex;
  background: var(--ap-bg-light);
}

.ap-detail-evidence-text > div {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
}

.ap-detail-evidence-text p + p {
  margin-top: 12px;
}

.ap-quality-card-text {
  display: block;
  border-top: 3px solid var(--ap-accent-amber);
}

.ap-quality-card-text > div {
  min-height: 230px;
}

.ap-company-media-grid,
.ap-quality-media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ap-company-media-grid article,
.ap-quality-media-grid article {
  overflow: hidden;
  border: 1px solid var(--ap-border-color);
  border-radius: var(--ap-radius-md);
  background: var(--ap-white);
  box-shadow: var(--ap-shadow-glass);
}

.ap-company-media-grid img,
.ap-quality-media-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ap-company-media-grid article > div,
.ap-quality-media-grid article > div {
  padding: 20px;
}

.ap-company-media-grid span {
  color: var(--ap-accent-amber);
  font-family: var(--ap-font-heading);
  font-size: 12px;
  font-weight: 700;
}

.ap-company-media-grid h3,
.ap-quality-media-grid h3 {
  margin: 6px 0 8px;
  font-size: 19px;
}

.ap-company-media-grid p,
.ap-quality-media-grid p {
  margin: 0;
  color: var(--ap-text-muted);
  font-size: var(--ap-type-data);
}

.ap-document-grid-text {
  align-items: stretch;
}

.ap-input-panel,
.ap-address-panel {
  padding: 34px;
  border: 1px solid var(--ap-border-color);
  border-radius: var(--ap-radius-md);
  background: var(--ap-bg-light);
}

.ap-input-panel h2 {
  font-size: 28px;
}

.ap-company-facts {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
}

.ap-company-facts > div {
  display: grid;
  gap: 5px;
  padding: 6px 28px;
  border-left: 1px solid var(--ap-border-color);
}

.ap-company-facts > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.ap-company-facts span {
  color: var(--ap-text-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.ap-company-facts strong {
  color: var(--ap-primary-blue);
  font-family: var(--ap-font-heading);
  font-size: 16px;
}

.ap-company-layout,
.ap-verification-layout,
.ap-solution-planning-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px;
  align-items: start;
}

.ap-company-layout > div > p:not(.ap-eyebrow),
.ap-verification-layout > div > p:not(.ap-eyebrow) {
  color: var(--ap-text-muted);
}

.ap-address-panel {
  color: var(--ap-white);
  background: var(--ap-primary-blue);
}

.ap-address-panel address {
  margin: 14px 0 28px;
  color: var(--ap-white);
  font-size: 18px;
  font-style: normal;
  line-height: 1.6;
}

.ap-address-panel .ap-text-link {
  color: #fbbf24;
}

@media (max-width: 1120px) {
  .ap-company-media-grid,
  .ap-quality-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 921px) {
  .ap-company-layout,
  .ap-verification-layout,
  .ap-solution-planning-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .ap-company-facts {
    grid-template-columns: 1fr;
  }

  .ap-company-facts > div,
  .ap-company-facts > div:first-child {
    padding: 15px 0;
    border-top: 1px solid var(--ap-border-color);
    border-left: 0;
  }

  .ap-company-facts > div:first-child {
    border-top: 0;
  }
}

@media (max-width: 768px) {
  .ap-company-media-grid,
  .ap-quality-media-grid {
    grid-template-columns: 1fr;
  }
}

/* 4.3 buyer decision, document and evidence layers */
.ap-product-definition {
  color: var(--ap-text-muted);
  font-size: 18px;
}

.ap-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.ap-decision-grid,
.ap-system-layout,
.ap-evidence-layout,
.ap-faq-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.36fr) minmax(0, 0.64fr);
  gap: 55px;
  align-items: start;
}

.ap-system-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--ap-border-color);
  border-left: 1px solid var(--ap-border-color);
}

.ap-system-list > div {
  min-width: 0;
  padding: 24px;
  border-right: 1px solid var(--ap-border-color);
  border-bottom: 1px solid var(--ap-border-color);
  background: var(--ap-white);
}

.ap-system-list dt {
  margin-bottom: 7px;
  color: var(--ap-accent-amber);
  font-family: var(--ap-font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.ap-system-list dd {
  margin: 0;
  color: var(--ap-secondary-dark);
  font-size: 14px;
}

.ap-product-gallery-section {
  border-top: 1px solid var(--ap-border-color);
  border-bottom: 1px solid var(--ap-border-color);
}

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

.ap-product-gallery figure {
  min-width: 0;
  margin: 0;
}

.ap-product-gallery-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--ap-border-color);
  border-radius: var(--ap-radius-md);
  background: var(--ap-bg-muted);
}

.ap-product-gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ap-product-gallery figcaption {
  padding: 10px 2px 0;
  color: var(--ap-text-muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.ap-home-buyer-paths {
  border-bottom: 1px solid var(--ap-border-color);
}

.ap-home-family-band,
.ap-product-family-index {
  border-bottom: 1px solid var(--ap-border-color);
}

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

.ap-family-card {
  display: flex;
  min-width: 0;
  min-height: 240px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--ap-border-color);
  border-radius: var(--ap-radius-md);
  color: var(--ap-primary-blue);
  background: var(--ap-white);
  box-shadow: 0 10px 28px rgba(11, 19, 43, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ap-family-card:hover {
  border-color: var(--ap-accent-amber);
  color: var(--ap-primary-blue);
  box-shadow: var(--ap-shadow-glass);
  transform: translateY(-3px);
}

.ap-family-card strong {
  font-family: var(--ap-font-heading);
  font-size: 21px;
  line-height: 1.3;
}

.ap-family-card span {
  margin-top: 14px;
  color: var(--ap-text-muted);
  font-size: var(--ap-type-compact);
  line-height: 1.65;
}

.ap-family-card b {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 22px;
  color: var(--ap-accent-amber-hover);
  font-size: 13px;
  text-transform: uppercase;
}

.ap-family-card i {
  font-style: normal;
}

.ap-family-answer,
.ap-family-resource-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}

.ap-family-answer > p {
  margin: 0;
  color: var(--ap-secondary-dark);
  font-size: 19px;
  line-height: 1.7;
}

.ap-family-resource-grid .ap-related-links {
  display: grid;
  margin: 22px 0 0;
}

.ap-product-family-link {
  margin: -4px 0 18px;
  color: var(--ap-text-muted);
  font-size: 14px;
}

.ap-product-family-link a {
  color: var(--ap-accent-amber-hover);
  font-weight: 700;
}

.ap-procurement-note {
  margin: 0 0 20px;
  padding: 13px 15px;
  border-left: 3px solid var(--ap-accent-amber);
  color: var(--ap-text-muted);
  background: var(--ap-bg-light);
  font-size: 14px;
  line-height: 1.55;
}

.ap-procurement-note strong {
  color: var(--ap-primary-blue);
}

.ap-standard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--ap-border-color);
  background: var(--ap-white);
}

.ap-standard-grid article {
  min-width: 0;
  padding: 28px;
  border-right: 1px solid var(--ap-border-color);
  border-bottom: 1px solid var(--ap-border-color);
}

.ap-standard-grid article:nth-child(2n) {
  border-right: 0;
}

.ap-standard-grid article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.ap-standard-grid h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.ap-standard-grid p,
.ap-standard-note {
  color: var(--ap-text-muted);
}

.ap-standard-note {
  max-width: 900px;
  margin: 24px 0 0;
  font-size: 14px;
}

@media (max-width: 768px) {
  .ap-standard-grid {
    grid-template-columns: 1fr;
  }

  .ap-standard-grid article,
  .ap-standard-grid article:nth-child(2n),
  .ap-standard-grid article:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--ap-border-color);
  }

  .ap-standard-grid article:last-child {
    border-bottom: 0;
  }
}

.ap-buyer-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--ap-border-color);
  background: var(--ap-white);
}

.ap-buyer-path-grid a {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  padding: 28px;
  color: var(--ap-primary-blue);
}

.ap-buyer-path-grid a + a {
  border-left: 1px solid var(--ap-border-color);
}

.ap-buyer-path-grid strong {
  font-family: var(--ap-font-heading);
  font-size: 24px;
}

.ap-buyer-path-grid span {
  margin-top: 14px;
  color: var(--ap-text-muted);
  line-height: 1.65;
}

.ap-buyer-path-grid b {
  margin-top: auto;
  padding-top: 24px;
  color: var(--ap-accent-amber-hover);
  font-size: 13px;
  text-transform: uppercase;
}

.ap-buyer-path-grid a:hover {
  background: var(--ap-bg-muted);
}

.ap-compact-cta-inline {
  margin: 0;
}

.ap-faq-list {
  border-top: 1px solid var(--ap-border-color);
}

.ap-faq-list details {
  border-bottom: 1px solid var(--ap-border-color);
}

.ap-faq-list summary {
  position: relative;
  padding: 22px 44px 22px 0;
  color: var(--ap-primary-blue);
  cursor: pointer;
  font-family: var(--ap-font-heading);
  font-weight: 700;
  list-style: none;
}

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

.ap-faq-list summary::after {
  position: absolute;
  top: 20px;
  right: 4px;
  color: var(--ap-accent-amber);
  content: "+";
  font-size: 24px;
  line-height: 1;
}

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

.ap-faq-list details p {
  max-width: 780px;
  margin: -4px 0 22px;
  color: var(--ap-text-muted);
}

.ap-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.ap-related-links a {
  display: inline-flex;
  gap: 16px;
  justify-content: space-between;
  min-width: min(100%, 280px);
  padding: 13px 16px;
  border: 1px solid var(--ap-border-color);
  color: var(--ap-primary-blue);
  background: var(--ap-white);
  font-weight: 700;
}

.ap-related-links a:hover {
  border-color: var(--ap-accent-amber);
  color: var(--ap-accent-amber-hover);
}

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

.ap-document-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--ap-border-color);
  border-radius: var(--ap-radius-md);
  background: var(--ap-white);
}

.ap-document-card h2,
.ap-document-card h3 {
  margin: 8px 0 12px;
  font-size: 21px;
}

.ap-document-card p:not(.ap-eyebrow) {
  color: var(--ap-text-muted);
  font-size: var(--ap-type-compact);
}

.ap-document-card .ap-text-link {
  margin-top: auto;
}

@media (max-width: 921px) {
  .ap-decision-grid,
  .ap-system-layout,
  .ap-evidence-layout,
  .ap-faq-layout,
  .ap-family-answer,
  .ap-family-resource-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

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

  .ap-technical-document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  #ast-scroll-top {
    display: none !important;
  }

  .ap-product-actions,
  .ap-product-actions .ap-btn-primary,
  .ap-product-actions .ap-btn-secondary {
    width: 100%;
  }

  .ap-system-list,
  .ap-product-gallery,
  .ap-technical-document-grid,
  .ap-buyer-path-grid,
  .ap-family-grid {
    grid-template-columns: 1fr;
  }

  .ap-family-card {
    min-height: 0;
  }

  .ap-buyer-path-grid a + a {
    border-top: 1px solid var(--ap-border-color);
    border-left: 0;
  }

  .ap-document-card {
    min-height: 0;
  }
}

@media (max-width: 921px) {
  .ap-cookie-banner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ap-cookie-banner-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  .ap-cookie-banner {
    right: 12px;
    bottom: 76px;
    left: 12px;
    width: calc(100% - 24px);
    padding: 18px;
  }

  .ap-cookie-banner-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ap-cookie-banner-actions .ap-cookie-button {
    width: 100%;
    min-width: 0;
    padding: 0 10px;
    white-space: normal;
  }

  .ap-cookie-banner-actions .ap-cookie-button-primary {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .ap-cookie-dialog-backdrop {
    align-items: end;
    padding: 12px 12px 76px;
  }

  .ap-cookie-dialog {
    max-height: calc(100vh - 100px);
    padding: 24px 20px;
  }

  .ap-cookie-dialog h2 {
    font-size: 25px;
  }

  .ap-cookie-preference-row {
    gap: 16px;
    align-items: flex-start;
  }

  .ap-cookie-required {
    text-align: right;
  }

  .ap-cookie-dialog-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ap-cookie-dialog-actions .ap-cookie-button {
    width: 100%;
  }
}

/* AP Fencing 4.13.0: engineering procurement interface visual system. */
:root {
  --ap-primary-blue: #07111f;
  --ap-secondary-dark: #182334;
  --ap-accent-amber: #c65f06;
  --ap-accent-amber-hover: #984808;
  --ap-bg-light: #f4f7fb;
  --ap-bg-muted: #e8eef5;
  --ap-border-color: #d6e0eb;
  --ap-text-muted: #607085;
  --ap-panel: #ffffff;
  --ap-rail: #101b2d;
  --ap-line-strong: #aebccd;
  --ap-shadow-glass: 0 18px 42px rgba(7, 17, 31, 0.09);
  --ap-shadow-tight: 0 10px 26px rgba(7, 17, 31, 0.075);
}

body {
  background:
    linear-gradient(180deg, #ffffff 0, #ffffff 220px, var(--ap-bg-light) 220px, var(--ap-bg-light) 100%);
}

.ap-wrap {
  width: min(1320px, calc(100% - 56px));
}

.ap-section {
  padding: 96px 0;
}

.site-header .ast-primary-header-bar {
  border-bottom: 1px solid rgba(214, 224, 235, 0.86);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 rgba(7, 17, 31, 0.04);
  backdrop-filter: blur(16px);
}

.site-header .main-header-menu > .menu-item > .menu-link {
  min-height: 78px;
  color: #243247;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.site-header .main-header-menu > .menu-item:last-child > .menu-link {
  min-height: 42px;
  border-radius: 3px;
  background: linear-gradient(180deg, #d16b0a, var(--ap-accent-amber));
  box-shadow: 0 8px 18px rgba(198, 95, 6, 0.24);
}

.ap-btn-primary,
.ap-btn-secondary {
  min-height: 50px;
  border-radius: 4px;
  letter-spacing: 0.01em;
}

.ap-btn-primary {
  background: linear-gradient(180deg, #d46d0a, var(--ap-accent-amber)) !important;
  box-shadow: 0 9px 20px rgba(198, 95, 6, 0.25);
}

.ap-btn-primary:hover {
  background: linear-gradient(180deg, #b65507, var(--ap-accent-amber-hover)) !important;
  box-shadow: 0 12px 26px rgba(198, 95, 6, 0.32);
}

.ap-btn-secondary {
  border-color: #9cacbd;
  color: #101b2d !important;
  background: rgba(255, 255, 255, 0.76);
}

.ap-btn-secondary:hover {
  border-color: var(--ap-primary-blue);
  background: var(--ap-primary-blue);
}

.ap-home-hero {
  height: auto;
  min-height: 720px;
  padding: 76px 0 54px;
  align-items: stretch;
  background: #07111f;
}

.ap-home-hero::before,
.ap-page-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.75), transparent 72%);
  pointer-events: none;
}

.ap-home-hero-image {
  opacity: 0.54;
  filter: saturate(0.92) contrast(1.04);
}

.ap-home-hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.98) 0%, rgba(7, 17, 31, 0.9) 42%, rgba(7, 17, 31, 0.46) 74%, rgba(7, 17, 31, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 17, 31, 0.25), rgba(7, 17, 31, 0.78));
}

.ap-home-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: 72px;
  align-items: center;
  padding: 24px 0 0;
}

.ap-home-hero-copyblock {
  min-width: 0;
}

.ap-home-hero h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: 58px;
  line-height: 1.04;
}

.ap-home-hero-copy {
  max-width: 710px;
  color: #e4ebf5;
  font-size: 18px;
}

.ap-hero-facts {
  width: min(760px, 100%);
  max-width: none;
  margin-top: 46px;
  padding: 0;
  border: 1px solid rgba(214, 224, 235, 0.28);
  background: rgba(7, 17, 31, 0.5);
  backdrop-filter: blur(12px);
}

.ap-hero-facts div {
  display: block;
  padding: 19px 22px;
}

.ap-hero-facts div + div {
  padding-left: 22px;
}

.ap-hero-facts dt {
  margin-bottom: 7px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.ap-hero-facts dd {
  max-width: 185px;
  color: #d7e0ec;
}

.ap-hero-procurement-panel {
  position: relative;
  z-index: 1;
  padding: 30px;
  border: 1px solid rgba(214, 224, 235, 0.36);
  border-radius: 6px;
  color: #e9eff7;
  background: rgba(8, 18, 33, 0.76);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.ap-hero-procurement-panel::before {
  display: block;
  width: 54px;
  height: 3px;
  margin-bottom: 22px;
  content: "";
  background: var(--ap-accent-amber);
}

.ap-panel-kicker {
  display: block;
  margin-bottom: 9px;
  color: #f4b35d;
  font-family: var(--ap-font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ap-hero-procurement-panel h2 {
  margin: 0 0 13px;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.12;
}

.ap-hero-procurement-panel p {
  margin: 0 0 22px;
  color: #c8d4e3;
  font-size: 14px;
  line-height: 1.65;
}

.ap-hero-procurement-panel dl {
  display: grid;
  gap: 0;
  margin: 0 0 26px;
  border-top: 1px solid rgba(214, 224, 235, 0.18);
}

.ap-hero-procurement-panel dl div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(214, 224, 235, 0.18);
}

.ap-hero-procurement-panel dt {
  color: #f4b35d;
  font-family: var(--ap-font-heading);
  font-size: 12px;
  font-weight: 700;
}

.ap-hero-procurement-panel dd {
  margin: 0;
  color: #edf3fa;
  font-size: 14px;
  line-height: 1.45;
}

.ap-panel-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: #f4b35d;
  font-family: var(--ap-font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.ap-intro-band {
  border-top: 1px solid rgba(214, 224, 235, 0.72);
  background: #ffffff;
}

.ap-intro-grid {
  gap: 92px;
}

.ap-section-heading {
  position: relative;
  margin-bottom: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--ap-border-color);
}

.ap-section-heading::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 86px;
  height: 2px;
  content: "";
  background: var(--ap-accent-amber);
}

.ap-section-heading h2 {
  line-height: 1.08;
}

.ap-product-card,
.ap-family-card,
.ap-document-card,
.ap-article-card,
.ap-company-media-grid article,
.ap-quality-media-grid article,
.ap-input-panel,
.ap-rfq-panel {
  border-radius: 6px !important;
  box-shadow: none !important;
}

.ap-product-card {
  position: relative;
  border-color: #d7e1ec !important;
  background: #ffffff !important;
}

.ap-product-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--ap-accent-amber), rgba(198, 95, 6, 0));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.ap-product-card:hover {
  border-color: #b9c7d8 !important;
  box-shadow: var(--ap-shadow-tight) !important;
  transform: translateY(-4px) !important;
}

.ap-product-card:hover::before {
  opacity: 1;
}

.ap-card-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  content: "";
  background: linear-gradient(0deg, rgba(7, 17, 31, 0.22), rgba(7, 17, 31, 0));
  pointer-events: none;
}

.ap-card-body {
  padding: 20px !important;
}

.ap-card-category {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 8px;
  border: 1px solid #f0c997;
  color: #984808;
  background: #fff7ed;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.ap-card-body h2,
.ap-card-body h3,
.ap-card-body h4 {
  min-height: 2.5em !important;
  font-size: 19px !important;
}

.ap-card-body p {
  min-height: 4.5em;
  margin-bottom: 14px;
}

.ap-card-specs {
  margin-bottom: 14px;
  border-color: #dce5ef;
}

.ap-card-specs div {
  grid-template-columns: minmax(88px, 0.68fr) minmax(0, 1.32fr);
  border-color: #e1e9f2;
}

.ap-card-meta-row {
  display: flex;
  min-width: 0;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #e1e9f2;
  color: var(--ap-text-muted);
  font-size: 12px;
  line-height: 1.35;
}

.ap-card-meta-row span:first-child {
  color: var(--ap-primary-blue);
  font-family: var(--ap-font-heading);
  font-weight: 700;
  text-transform: uppercase;
}

.ap-card-meta-row span:last-child {
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ap-card-action {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid transparent;
  color: #984808;
  font-size: 13px;
  text-transform: uppercase;
}

.ap-family-card,
.ap-buyer-path-grid a,
.ap-resource-card,
.ap-document-card {
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.ap-family-card:hover,
.ap-buyer-path-grid a:hover,
.ap-document-card:hover,
.ap-article-card:hover {
  border-color: #b9c7d8;
  box-shadow: var(--ap-shadow-tight) !important;
}

.ap-buyer-path-grid,
.ap-resource-grid,
.ap-system-list,
.ap-standard-grid {
  border-color: #d7e1ec;
  box-shadow: 0 1px 0 rgba(7, 17, 31, 0.03);
}

.ap-solutions-band,
.ap-compact-cta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    #07111f;
}

.ap-solutions-band::before,
.ap-compact-cta::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.6;
  pointer-events: none;
}

.ap-solutions-band > .ap-wrap,
.ap-compact-cta > .ap-wrap {
  position: relative;
  z-index: 1;
}

.ap-solution-card {
  border: 1px solid rgba(214, 224, 235, 0.22);
  border-radius: 6px;
}

.ap-solution-card > span {
  right: 22px;
  bottom: 20px;
  left: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.ap-page-hero {
  min-height: 340px;
  background: #07111f;
}

.ap-page-hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.96), rgba(7, 17, 31, 0.7) 54%, rgba(7, 17, 31, 0.36)),
    linear-gradient(180deg, rgba(7, 17, 31, 0.12), rgba(7, 17, 31, 0.8));
}

.ap-page-hero-inner {
  padding: 64px 0;
}

.ap-page-hero h1 {
  font-size: 46px;
  line-height: 1.06;
}

.ap-category-nav {
  top: 0;
  border-color: #d7e1ec;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 22px rgba(7, 17, 31, 0.04);
  backdrop-filter: blur(14px);
}

.ap-category-nav a {
  padding: 15px 18px;
  color: #506176;
  font-size: 13px;
}

.ap-product-overview {
  padding: 74px 0 86px;
  background:
    linear-gradient(180deg, #eef4fa, #f7f9fc 54%, #ffffff);
  border-bottom: 1px solid var(--ap-border-color);
}

.ap-product-layout {
  align-items: center;
}

.ap-product-media {
  border: 1px solid #ccd8e5;
  border-radius: 6px;
  box-shadow: var(--ap-shadow-tight);
}

.ap-product-intro {
  position: relative;
  padding: 34px;
  border: 1px solid #d7e1ec;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--ap-shadow-tight);
}

.ap-product-intro::before {
  position: absolute;
  top: -1px;
  right: 28px;
  left: 28px;
  height: 3px;
  content: "";
  background: var(--ap-accent-amber);
}

.ap-product-intro h1 {
  font-size: 42px;
  line-height: 1.08;
}

.ap-product-definition {
  color: #42536b;
  font-size: 17px;
}

.ap-procurement-note {
  border: 1px solid #d7e1ec;
  border-left: 4px solid var(--ap-accent-amber);
  border-radius: 4px;
  background: #fbfdff;
}

.ap-product-key-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 22px 0 24px;
  border: 1px solid #d7e1ec;
  background: #ffffff;
}

.ap-product-key-specs div {
  min-width: 0;
  padding: 14px 15px;
}

.ap-product-key-specs div + div {
  border-left: 1px solid #d7e1ec;
}

.ap-product-key-specs dt {
  margin-bottom: 5px;
  color: var(--ap-text-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.ap-product-key-specs dd {
  margin: 0;
  color: var(--ap-primary-blue);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.38;
}

.ap-application-tags {
  margin: 22px 0;
}

.ap-application-tags span {
  border-color: #cfdbe8;
  border-radius: 3px;
  background: #f8fafc;
}

.ap-table-wrap {
  overflow: hidden;
  border-color: #cfdbe8;
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(7, 17, 31, 0.03);
}

.ap-spec-table {
  min-width: 700px;
}

.ap-spec-table thead th {
  background: #101b2d;
}

.ap-spec-table th,
.ap-spec-table td {
  padding: 15px 17px;
  border-color: #dfe8f1;
}

.ap-spec-table tbody tr:nth-child(even) td,
.ap-spec-table tbody tr:nth-child(even) th {
  background: #fbfdff;
}

.ap-quote-scope,
.ap-selection-answer {
  border-top-color: #cfdbe8;
}

.ap-rfq-band {
  border-top: 1px solid #d7e1ec;
  background:
    linear-gradient(180deg, #ffffff, #f4f7fb);
}

.ap-rfq-panel {
  position: relative;
  padding: 32px;
  border-color: #cfdbe8;
  background: #ffffff;
}

.ap-rfq-panel::before {
  position: absolute;
  top: -1px;
  right: 26px;
  left: 26px;
  height: 3px;
  content: "";
  background: var(--ap-accent-amber);
}

.ap-form-grid input:not([type="checkbox"]),
.ap-form-grid select,
.ap-form-grid textarea {
  border-color: #b9c7d8;
  border-radius: 4px;
  background: #fbfdff;
}

.ap-form-grid input:focus,
.ap-form-grid select:focus,
.ap-form-grid textarea:focus {
  background: #ffffff;
}

.ap-quality-media-grid article,
.ap-process-item img,
.ap-product-gallery-media,
.ap-article-card {
  border-radius: 6px;
}

.ap-quality-media-grid article {
  border-color: #d7e1ec;
}

.ap-quality-card-text {
  border-top-width: 0;
  border-left: 4px solid var(--ap-accent-amber);
}

.ap-standard-grid article {
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.ap-standard-note {
  padding: 17px 20px;
  border: 1px solid #d7e1ec;
  border-left: 4px solid var(--ap-accent-amber);
  background: #ffffff;
}

.ap-footer {
  background: #060c18;
}

@media (max-width: 1120px) {
  .ap-home-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 370px);
    gap: 46px;
  }

  .ap-home-hero h1 {
    font-size: 48px;
  }

  .ap-hero-procurement-panel h2 {
    font-size: 27px;
  }
}

@media (max-width: 921px) {
  .ap-wrap {
    width: min(100% - 40px, 780px);
  }

  .ap-home-hero {
    min-height: 0;
    padding: 62px 0 48px;
  }

  .ap-home-hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ap-home-hero h1 {
    font-size: 42px;
  }

  .ap-hero-procurement-panel {
    max-width: 620px;
    padding: 25px;
  }

  .ap-product-intro {
    padding: 28px;
  }

  .ap-product-layout {
    max-width: none;
  }
}

@media (max-width: 768px) {
  body {
    background: #ffffff;
  }

  .ap-wrap {
    width: min(100% - 30px, 660px);
  }

  .ap-section {
    padding: 62px 0;
  }

  .site-header .main-header-menu > .menu-item > .menu-link {
    min-height: 52px;
  }

  .ap-home-hero {
    padding: 46px 0 38px;
  }

  .ap-home-hero h1,
  .ap-page-hero h1 {
    font-size: 34px;
    line-height: 1.1;
  }

  .ap-home-hero-copy {
    font-size: 16px;
  }

  .ap-hero-facts {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .ap-hero-facts div {
    padding: 16px 18px;
  }

  .ap-hero-facts div + div {
    padding-left: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .ap-hero-facts dt {
    font-size: 12px;
  }

  .ap-hero-facts dd {
    max-width: none;
    font-size: 13px;
  }

  .ap-hero-procurement-panel {
    padding: 22px;
  }

  .ap-hero-procurement-panel h2 {
    font-size: 25px;
  }

  .ap-section-heading {
    padding-top: 18px;
  }

  .ap-product-overview {
    padding: 46px 0 58px;
  }

  .ap-product-intro {
    padding: 24px 20px;
  }

  .ap-product-intro::before,
  .ap-rfq-panel::before {
    right: 18px;
    left: 18px;
  }

  .ap-product-intro h1 {
    font-size: 32px;
  }

  .ap-product-key-specs {
    grid-template-columns: 1fr;
  }

  .ap-product-key-specs div + div {
    border-top: 1px solid #d7e1ec;
    border-left: 0;
  }

  .ap-card-meta-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .ap-card-meta-row span:last-child {
    max-width: 100%;
    text-align: left;
  }

  .ap-table-wrap {
    overflow: visible;
    border: 0;
    box-shadow: none;
  }

  .ap-spec-table {
    min-width: 0;
  }

  .ap-spec-table tbody tr {
    border-color: #d7e1ec;
    border-radius: 6px;
  }

  .ap-rfq-panel {
    padding: 24px 18px;
  }

  .ap-cookie-banner {
    border-radius: 6px;
  }
}
