/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

.fusion-tb-header .fusion-image-element {
  --awb-max-width: min(420px, calc(100vw - 32px)) !important;
  text-align: left !important;
  overflow: visible !important;
}

.fusion-tb-header .fusion-image-element > div {
  width: min(420px, calc(100vw - 32px)) !important;
  max-width: 100%;
  overflow: visible !important;
}

.fusion-tb-header .fusion-imageframe.has-aspect-ratio,
.fusion-tb-header .fusion-imageframe.has-aspect-ratio > a {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 1 !important;
  overflow: visible !important;
}

.fusion-tb-header img[src*="perimex-artboard-4-2x.png"] {
  display: block;
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: left center !important;
  transform: none !important;
}

@media (max-width: 640px) {
  .fusion-tb-header .fusion-image-element {
    text-align: center;
  }

  .fusion-tb-header .fusion-image-element > div {
    width: min(360px, calc(100vw - 32px)) !important;
  }

  .fusion-tb-header img[src*="perimex-artboard-4-2x.png"] {
    margin: 0 auto;
    object-position: center center !important;
  }
}

.perimex-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.perimex-social-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  background: #222;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.22);
  transition: transform 160ms ease, background-color 160ms ease;
}

.perimex-social-icon[aria-label="Facebook"] {
  background: #1877f2;
}

.perimex-social-icon[aria-label="Instagram"] {
  background: #d62976;
}

.perimex-social-icon[aria-label="TikTok"] {
  background: #111;
}

.perimex-social-icon:hover,
.perimex-social-icon:focus-visible {
  background: #111;
  transform: translateY(-2px);
}

.perimex-social-icon img,
.perimex-whatsapp-float img {
  display: block;
  width: 23px;
  height: 23px;
  filter: brightness(0) invert(1);
}

.perimex-whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10010;
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
}

.perimex-whatsapp-float:hover,
.perimex-whatsapp-float:focus-visible {
  background: #128c4a;
  color: #fff !important;
}

.perimex-whatsapp-float img {
  width: 29px;
  height: 29px;
}

/* The local mirror's reCAPTCHA site key renders an unrelated floating badge. */
.grecaptcha-badge {
  visibility: hidden !important;
}

@media (max-width: 640px) {
  .perimex-whatsapp-float {
    right: 12px;
    bottom: 12px;
    width: 52px;
    height: 52px;
  }
}


/* Social media icons remain active while other image placeholders stay blank. */
.perimex-social-icon img,
.perimex-whatsapp-float img {
  visibility: visible !important;
}

/* Supplied Perimex Limited header logo; all other content images remain blank. */
.fusion-tb-header .fusion-image-element {
  --awb-max-width: min(105px, calc(100vw - 32px)) !important;
}
.fusion-tb-header .fusion-image-element > div {
  width: min(105px, calc(100vw - 32px)) !important;
}
.fusion-tb-header .fusion-imageframe.has-aspect-ratio,
.fusion-tb-header .fusion-imageframe.has-aspect-ratio > a {
  aspect-ratio: 1.86 / 1 !important;
  overflow: hidden !important;
}
.fusion-tb-header img.perimex-brand-logo {
  visibility: visible !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: scale(1.56) !important;
  transform-origin: center center !important;
}
@media (max-width: 640px) {
  .fusion-tb-header .fusion-image-element > div {
    width: min(90px, calc(100vw - 32px)) !important;
  }
}

/* Get a Quote forms never display the brand logo. */
form .perimex-brand-logo,
.gform_wrapper .perimex-brand-logo {
  display: none !important;
}


/* Quote sections never use the brand logo as a background. */
#quote,
[id="quote"] {
  background-image: none !important;
}


/* Homepage hero background supplied under the site folder. */
body.home .perimex-home-hero,
body.page-id-2202 .perimex-home-hero {
  background-color: #050505 !important;
  background-image: linear-gradient(rgba(5,5,5,.78), rgba(5,5,5,.84)), url("/wp-content/uploads/2026/07/perimex-about-us-background.webp") !important;
  background-position: center center, center center !important;
  background-repeat: no-repeat, no-repeat !important;
  background-size: 100% 100%, cover !important;
}
@media (max-width: 640px) {
  body.home .perimex-home-hero,
  body.page-id-2202 .perimex-home-hero {
    background-position: center center, center center !important;
  }
}


/* Visible Google review cards. */
.perimex-reviews{max-width:1240px;margin:0 auto;padding:12px 0 24px;color:#202124;font-family:Inter,Arial,sans-serif}.perimex-reviews-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px;padding:28px 32px;border:1px solid #eceff3;border-radius:18px;background:#fff;box-shadow:0 12px 34px rgba(15,23,42,.08)}.perimex-reviews-kicker{margin:0 0 5px;color:#f58220;font-size:12px;font-weight:800;letter-spacing:.16em}.perimex-reviews-summary h2{margin:0;font-size:34px;line-height:1.1;color:#171717}.perimex-reviews-summary p{margin:5px 0 0;color:#5f6368}.perimex-summary-stars,.perimex-review-stars{color:#fbbc04;letter-spacing:2px;text-shadow:0 1px 0 rgba(0,0,0,.05)}.perimex-summary-stars{font-size:24px;line-height:1.2}.perimex-google-reviews-badge{display:flex;align-items:center;gap:10px;white-space:nowrap;color:#3c4043}.perimex-google-reviews-badge span,.perimex-google-mark{display:inline-flex;align-items:center;justify-content:center;font-family:Arial,sans-serif;font-weight:800;background:conic-gradient(from -45deg,#4285f4 0 25%,#34a853 0 45%,#fbbc05 0 70%,#F68F30 0);color:#fff}.perimex-google-reviews-badge span{width:38px;height:38px;border-radius:50%;font-size:22px}.perimex-review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.perimex-review-card{display:flex;min-height:310px;flex-direction:column;padding:22px;border:1px solid #e6e9ee;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.07);transition:transform .18s ease,box-shadow .18s ease}.perimex-review-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(15,23,42,.12)}.perimex-review-header{display:flex;align-items:center;gap:12px}.perimex-review-avatar-wrap{position:relative;flex:0 0 48px;width:48px;height:48px;border-radius:50%;overflow:hidden;background:#fff1e6}.perimex-review-initials{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#c65f08;font-size:16px;font-weight:800}.perimex-review-avatar{position:relative;z-index:1;display:block!important;visibility:visible!important;width:48px!important;height:48px!important;border-radius:50%;object-fit:cover}.perimex-review-person{min-width:0;flex:1}.perimex-review-person h3{overflow:hidden;margin:0;color:#202124;font-size:16px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.perimex-review-person p{margin:4px 0 0;color:#80868b;font-size:12px}.perimex-google-mark{flex:0 0 24px;width:24px;height:24px;border-radius:50%;font-size:14px}.perimex-review-stars{margin:16px 0 10px;font-size:19px}.perimex-review-text{display:-webkit-box;overflow:hidden;margin:0;color:#444b55;font-size:14px;line-height:1.65;-webkit-box-orient:vertical;-webkit-line-clamp:5}.perimex-review-text.is-expanded{display:block;overflow:visible}.perimex-review-more{align-self:flex-start;margin:10px 0 0;padding:0;border:0;background:transparent;color:#d96d12;font:inherit;font-size:13px;font-weight:750;cursor:pointer}.perimex-review-more:hover,.perimex-review-more:focus-visible{text-decoration:underline}.perimex-review-verified{display:flex;align-items:center;gap:6px;margin-top:auto;padding-top:16px;color:#6b7280;font-size:12px}.perimex-review-verified span{display:inline-flex;width:17px;height:17px;align-items:center;justify-content:center;border-radius:50%;background:#e8f5e9;color:#188038;font-size:11px;font-weight:900}@media(max-width:980px){.perimex-review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.perimex-reviews-summary{align-items:flex-start;flex-direction:column;padding:22px}.perimex-review-grid{grid-template-columns:1fr}.perimex-review-card{min-height:0}.perimex-reviews-summary h2{font-size:30px}}


/* Natural Google review presentation. */
.perimex-reviews{max-width:1180px;padding:10px 0 20px;color:#3c4043;font-family:Arial,Helvetica,sans-serif}.perimex-reviews-summary{display:block;margin:0 0 18px;padding:0 0 18px;border:0;border-bottom:1px solid #e3e5e8;border-radius:0;background:transparent;box-shadow:none}.perimex-reviews-summary h2{margin:0 0 8px;color:#202124;font-size:24px;font-weight:600}.perimex-natural-rating{display:flex;align-items:center;gap:12px}.perimex-natural-rating strong{color:#202124;font-size:17px;font-weight:600}.perimex-reviews-summary p{margin:6px 0 0;color:#5f6368;font-size:14px}.perimex-summary-stars,.perimex-review-stars{color:#f9ab00;letter-spacing:1px;text-shadow:none}.perimex-summary-stars{font-size:20px}.perimex-review-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.perimex-review-card{min-height:278px;padding:20px;border:1px solid #dadce0;border-radius:8px;background:#fff;box-shadow:none;transition:none}.perimex-review-card:hover{transform:none;box-shadow:none}.perimex-review-header{gap:11px}.perimex-review-avatar-wrap{flex-basis:42px;width:42px;height:42px;background:#f1f3f4}.perimex-review-avatar{width:42px!important;height:42px!important}.perimex-review-initials{color:#5f6368;font-size:14px}.perimex-review-person h3{font-size:15px;font-weight:600}.perimex-review-person p{margin-top:3px;color:#70757a;font-size:12px}.perimex-google-mark{width:22px;height:22px;flex-basis:22px;border:0;background:#fff;color:#4285f4;font-size:17px}.perimex-review-stars{margin:14px 0 9px;font-size:17px}.perimex-review-text{color:#3c4043;font-size:14px;line-height:1.55;-webkit-line-clamp:6}.perimex-review-more{margin-top:8px;color:#1a73e8;font-size:13px;font-weight:500}.perimex-review-verified,.perimex-google-reviews-badge,.perimex-reviews-kicker{display:none!important}@media(max-width:980px){.perimex-review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.perimex-reviews-summary{padding:0 0 16px}.perimex-review-grid{grid-template-columns:1fr}.perimex-review-card{min-height:0;padding:18px}.perimex-reviews-summary h2{font-size:22px}}


/* Horizontal medium review carousel. */
.perimex-review-toolbar{display:flex;justify-content:flex-end;gap:8px;margin:-50px 0 16px}.perimex-review-nav{display:inline-flex;width:36px;height:36px;align-items:center;justify-content:center;padding:0;border:0;border-radius:50%;background:#f1f3f4;color:#3c4043;font:400 25px/1 Arial,sans-serif;cursor:pointer}.perimex-review-nav:hover,.perimex-review-nav:focus-visible{background:#e8eaed}.perimex-review-grid{display:flex!important;grid-template-columns:none!important;gap:16px;overflow-x:auto;overscroll-behavior-inline:contain;padding:2px 2px 12px;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-color:#c5c8cc transparent;scrollbar-width:thin}.perimex-review-card{flex:0 0 310px;width:310px;min-height:260px;padding:18px;border:0!important;border-radius:8px;background:#f8f9fa;box-shadow:none!important;scroll-snap-align:start}.perimex-review-card:hover{transform:none;box-shadow:none!important}@media(max-width:640px){.perimex-review-toolbar{margin:-48px 0 14px}.perimex-review-card{flex-basis:280px;width:280px;padding:17px}}

/* Complete Perimex About Us section. */
.perimex-about-us-label {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 0 88px;
  border: 0;
  border-radius: 0;
  outline: 0;
  background-color: #050505;
  background-image: url("/wp-content/uploads/2026/07/perimex-car-shade.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  color: var(--awb-color1, #fff);
  filter: none;
}
.perimex-about-us-label::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(rgba(8, 28, 48, .52), rgba(8, 28, 48, .62));
  pointer-events: none;
}
.perimex-about-us-label__inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 24px 48px;
  box-sizing: border-box;
  background: rgba(5, 22, 40, .78);
  box-shadow: 0 0 0 100vmax rgba(5, 22, 40, .78);
}
.perimex-about-us-heading-panel {
  width: 100vw;
  max-width: none;
  margin: 0 calc(50% - 50vw);
  padding: 24px 20px 28px;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: rgba(10, 37, 59, .94);
  box-shadow: none;
  box-sizing: border-box;
  text-align: center;
}
.perimex-about-us-eyebrow {
  margin: 0 0 12px;
  color: #F68F30;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  text-align: center !important;
}
.perimex-about-us-label h2 {
  margin: 0;
  color: var(--awb-color1, #fff);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -.03em;
  text-align: center;
}
.perimex-about-us-lead {
  position: relative !important;
  left: 0 !important;
  right: auto !important;
  transform: none !important;
  width: calc(100% - 40px);
  max-width: 900px;
  margin-top: 30px;
  margin-right: auto !important;
  margin-bottom: 0;
  margin-left: auto !important;
  color: #fff !important;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.75;
  text-align: center !important;
  box-sizing: border-box;
}
.perimex-about-us-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.perimex-about-us-card {
  padding: 30px;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}
.perimex-about-us-card h3,
.perimex-about-us-purpose h3 {
  margin: 0 0 14px;
  color: #F68F30;
  font-size: 23px;
  line-height: 1.2;
}
.perimex-about-us-card p,
.perimex-about-us-card li,
.perimex-about-us-purpose p {
  color: rgba(255,255,255,.76);
  font-size: 15px;
  line-height: 1.65;
}
.perimex-about-us-card p {
  margin: 0 0 15px;
}
.perimex-about-us-card ul,
.perimex-about-us-card ol {
  margin: 0;
  padding-left: 20px;
}
.perimex-about-us-card li + li {
  margin-top: 9px;
}
.perimex-about-us-card li::marker {
  color: #F68F30;
}
.perimex-about-us-purpose {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 28px;
  padding: 34px;
  border-left: 4px solid #F68F30;
  border-radius: 0 16px 16px 0;
  background: rgba(246,143,48,.09);
  text-align: left;
}
.perimex-about-us-purpose p {
  margin: 0;
}
.perimex-about-us-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}
.perimex-about-us-button {
  display: inline-flex;
  min-width: 160px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 2px solid #F68F30;
  border-radius: 7px;
  font-weight: 750;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.perimex-about-us-button:hover,
.perimex-about-us-button:focus-visible {
  transform: translateY(-2px);
}
.perimex-about-us-button--primary {
  background: #F68F30;
  color: #050505;
}
.perimex-about-us-button--secondary {
  background: transparent;
  color: #F68F30;
}
.perimex-about-us-button--primary:hover,
.perimex-about-us-button--primary:focus-visible {
  background: #fff;
  border-color: #fff;
  color: #050505;
}
.perimex-about-us-button--secondary:hover,
.perimex-about-us-button--secondary:focus-visible {
  background: #F68F30;
  color: #050505;
}
@media (max-width: 900px) {
  .perimex-about-us-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .perimex-about-us-label {
    padding: 0 0 58px;
  }
  .perimex-about-us-heading-panel {
    padding: 20px;
    border-radius: 0;
  }
  .perimex-about-us-label__inner {
    padding: 0 18px 36px;
  }
  .perimex-about-us-lead {
    width: calc(100% - 40px);
    max-width: 900px;
    margin-top: 24px;
    margin-right: auto;
    margin-left: auto;
    text-align: center !important;
    box-sizing: border-box;
  }
  .perimex-about-us-card,
  .perimex-about-us-purpose {
    padding: 24px;
  }
  .perimex-about-us-purpose {
    grid-template-columns: 1fr;
  }
  .perimex-about-us-button {
    width: 100%;
  }
}
/* Fence and gate type icons shown at the left of each menu item. */
.fusion-tb-header .fusion-image-element:has(img.perimex-fence-type-icon),
.fusion-tb-header .fusion-imageframe:has(img.perimex-fence-type-icon),
.fusion-tb-header .fusion-imageframe:has(img.perimex-fence-type-icon):hover {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}
.fusion-tb-header img.perimex-fence-type-icon,
.fusion-tb-header img.perimex-fence-type-icon:hover {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
  margin: 0 auto !important;
  padding: 4px !important;
  box-sizing: border-box !important;
  background: #fff !important;
  object-fit: contain !important;
  filter: none !important;
  transform: none !important;
  transition: none !important;
  position: relative !important;
  z-index: 3 !important;
}
@media (max-width: 640px) {
  .fusion-tb-header img.perimex-fence-type-icon {
    width: 54px !important;
    height: 54px !important;
    max-width: 54px !important;
    max-height: 54px !important;
  }
}
/* Permanent fence icons on the Security Fencing page. */
.post-content .fusion-image-element:has(img.perimex-fence-page-icon),
.post-content .fusion-imageframe:has(img.perimex-fence-page-icon),
.post-content .fusion-imageframe:has(img.perimex-fence-page-icon):hover {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}
.post-content img.perimex-fence-page-icon,
.post-content img.perimex-fence-page-icon:hover {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 84px !important;
  height: 84px !important;
  max-width: 84px !important;
  max-height: 84px !important;
  margin: 0 auto !important;
  padding: 5px !important;
  box-sizing: border-box !important;
  background: #fff !important;
  object-fit: contain !important;
  filter: none !important;
  transform: none !important;
  transition: none !important;
  position: relative !important;
  z-index: 3 !important;
}
@media (max-width: 640px) {
  .post-content img.perimex-fence-page-icon,
  .post-content img.perimex-fence-page-icon:hover {
    width: 68px !important;
    height: 68px !important;
    max-width: 68px !important;
    max-height: 68px !important;
  }
}
/* Real fence gallery images inserted into numbered placeholders. */
.post-content .fusion-image-element:has(img.perimex-fence-gallery-image),
.post-content .fusion-imageframe:has(img.perimex-fence-gallery-image),
.post-content .awb-image-hotspots-wrapper:has(img.perimex-fence-gallery-image) {
  visibility: visible !important;
  opacity: 1 !important;
  filter: none !important;
}
.post-content img.perimex-fence-gallery-image,
.post-content img.perimex-fence-gallery-image:hover {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  object-fit: cover !important;
  filter: none !important;
  transform: none !important;
}
.post-content .has-aspect-ratio img.perimex-fence-gallery-image {
  height: 100% !important;
}
/* iLightbox must display clicked gallery images despite global blank placeholders. */
body .ilightbox-holder img,
body .ilightbox-container img,
body img.ilightbox-image,
body .ilightbox-holder picture,
body .ilightbox-container picture,
body .ilightbox-holder svg,
body .ilightbox-container svg {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
body .ilightbox-holder,
body .ilightbox-container,
body .ilightbox-wrapper {
  visibility: visible !important;
  opacity: 1 !important;
}
/* Perimex profiles replace the native iLightbox sharing controls. */
body .ilightbox-holder .ilightbox-container .ilightbox-social.perimex-lightbox-social-host {
  display: block !important;
  width: auto !important;
  height: auto !important;
  padding: 5px !important;
  background: rgba(5,5,5,.78) !important;
  border-radius: 8px !important;
}
.perimex-lightbox-socials {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.perimex-lightbox-socials a {
  display: inline-flex !important;
  float: none !important;
  width: 30px !important;
  height: 30px !important;
  margin: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px !important;
  background: #F68F30 !important;
  color: #050505 !important;
  text-decoration: none !important;
}
.perimex-lightbox-socials a:hover,
.perimex-lightbox-socials a:focus-visible {
  background: #fff !important;
}
.perimex-lightbox-socials img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  margin: 0 !important;
  filter: none !important;
}
/* Readable text over softly visible homepage backgrounds. */
.perimex-home-hero .fusion-title-heading,
.perimex-about-us-label h2,
.perimex-about-us-label h3,
.perimex-about-us-label p,
.perimex-about-us-label li {
  text-shadow: 0 2px 10px rgba(0,0,0,.72);
}
.perimex-home-hero .fusion-builder-row,
.perimex-about-us-label__inner {
  position: relative;
  z-index: 1;
}
/* Perimex orange for all About Us headings and step labels. */
.perimex-about-us-label h2,
.perimex-about-us-label h3,
.perimex-about-us-label strong {
  color: #F68F30 !important;
}
/* Defer layout and painting for homepage sections below the hero. */
body.home .post-content > .fusion-fullwidth:not(.perimex-home-hero),
body.page-id-2202 .post-content > .fusion-fullwidth:not(.perimex-home-hero) {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

/* Lightweight restored homepage layout. */
.perimex-home-hero{width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);min-height:calc(100vh - 130px);display:grid;place-items:center;padding:90px 24px;text-align:center;color:#fff}.perimex-home-hero__inner,.perimex-home-section__inner{width:min(1180px,100%);margin:0 auto}.perimex-home-hero h1{max-width:980px;margin:10px auto 22px;color:#fff!important;font-size:clamp(42px,6vw,78px);line-height:1.05;text-shadow:0 3px 14px rgba(0,0,0,.8)}.perimex-home-hero p:not(.perimex-section-eyebrow){max-width:760px;margin:0 auto;color:rgba(255,255,255,.9);font-size:clamp(17px,2vw,21px);line-height:1.7}.perimex-section-eyebrow{margin:0 0 12px;color:#F68F30;font-size:13px;font-weight:800;letter-spacing:.18em}.perimex-home-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:14px;margin-top:30px}.perimex-home-button{display:inline-flex;min-height:48px;align-items:center;justify-content:center;padding:12px 24px;border:2px solid #F68F30;border-radius:7px;font-weight:750;text-decoration:none}.perimex-home-button--primary{background:#F68F30;color:#050505}.perimex-home-button--secondary{background:transparent;color:#fff}.perimex-home-button:hover{background:#fff;border-color:#fff;color:#050505}.perimex-home-intro,.perimex-home-services,.perimex-home-cta,.perimex-reviews-section{padding:84px 24px}.perimex-home-intro{text-align:center;background:#fff}.perimex-home-intro h2,.perimex-home-services h2,.perimex-home-cta h2{max-width:900px;margin:0 auto 22px;color:#171717;font-size:clamp(34px,4vw,56px);line-height:1.12}.perimex-home-intro p:last-child,.perimex-home-cta p{max-width:880px;margin:0 auto;color:#565656;font-size:18px;line-height:1.75}.perimex-home-services{background:#f5f5f5;text-align:center}.perimex-services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:42px;text-align:left}.perimex-service-card{padding:32px;border-radius:14px;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.06)}.perimex-service-number{display:block;margin-bottom:16px;color:#F68F30;font-size:14px;font-weight:800;letter-spacing:.12em}.perimex-service-card h3{margin:0 0 14px;color:#171717;font-size:24px}.perimex-service-card p{margin:0;color:#606060;line-height:1.7}.perimex-home-cta{background:#171717;text-align:center}.perimex-home-cta h2{color:#F68F30}.perimex-home-cta p{color:rgba(255,255,255,.82);margin-bottom:26px}.perimex-reviews-section{background:#fff}.perimex-reviews{margin:0 auto}.perimex-review-text.is-expanded{-webkit-line-clamp:unset}body.home .post-content>section:not(.perimex-home-hero):not(.perimex-about-us-label){content-visibility:auto;contain-intrinsic-size:auto 650px}@media(max-width:800px){.perimex-services-grid{grid-template-columns:1fr}.perimex-home-hero{min-height:70vh;padding:70px 18px}.perimex-home-intro,.perimex-home-services,.perimex-home-cta,.perimex-reviews-section{padding:58px 18px}}

/* Homepage category gallery reuses the fencing-page Fusion gallery treatment. */
.post-content > .perimex-home-intro {
  content-visibility: visible !important;
  contain: none !important;
}
.perimex-home-fence-gallery {
  margin-top: 42px;
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  position: static !important;
}
.post-content .perimex-home-fence-gallery .fusion-gallery {
  display: flex !important;
  flex-wrap: nowrap;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  position: static !important;
  width: 100% !important;
}
.post-content .perimex-home-fence-gallery .fusion-gallery-column {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  transform: none !important;
  float: none !important;
  flex: 0 0 20%;
  width: 20% !important;
}
.post-content .perimex-fencing-categories .fusion-gallery-image {
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  overflow: hidden !important;
}
.post-content .perimex-fencing-categories .fusion-gallery-image > a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}
.post-content .perimex-fencing-categories img.perimex-fence-gallery-image {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.post-content .perimex-home-fence-gallery .fusion-title-heading {
  margin: 14px 0 4px;
  color: #171717;
  font-size: 16px;
  font-family: var(--h3_typography-font-family);
  font-weight: var(--h3_typography-font-weight);
  line-height: var(--h3_typography-line-height);
  text-align: center;
}
@media (max-width: 900px) {
  .post-content .perimex-home-fence-gallery .fusion-gallery {
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .post-content .perimex-home-fence-gallery .fusion-gallery-column {
    flex: 0 0 min(72vw, 300px);
    width: min(72vw, 300px) !important;
    scroll-snap-align: start;
  }
  .post-content .perimex-home-fence-gallery .fusion-title-heading {
    font-size: 15px;
  }
}

/* Blue About Us label and main heading. */
.perimex-about-us-eyebrow,
.perimex-about-us-label > .perimex-about-us-label__inner > h2 {
  color: #1E73BE !important;
}

.perimex-about-us-label .perimex-who-we-are-heading {
  color: #fff !important;
  font-weight: 800 !important;
}

/* Unified bold white About Us headings. */
.perimex-about-us-eyebrow,
.perimex-about-us-label > .perimex-about-us-label__inner > h2,
.perimex-about-us-card h3 {
  color: #fff !important;
  font-weight: 800 !important;
}

/* Privacy Policy and Terms of Use pages. */
.perimex-legal-main {
  padding: 72px 24px 90px;
  background: #f5f7fa;
}
.perimex-legal-page {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 48px 54px;
  border: 1px solid #e1e6ec;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(15, 23, 42, .07);
  color: #303943;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}
.perimex-legal-header {
  margin-bottom: 42px;
  padding-bottom: 30px;
  border-bottom: 1px solid #dfe5eb;
}
.perimex-legal-kicker {
  margin: 0 0 10px;
  color: #1E73BE;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
}
.perimex-legal-page h1 {
  margin: 0 0 22px;
  color: #171717;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.perimex-legal-page h2 {
  margin: 0 0 14px;
  color: #1E73BE;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 23px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -.015em;
}
.perimex-legal-page > section {
  padding: 30px 0;
  border-bottom: 1px solid #e7ebef;
}
.perimex-legal-page > section:first-of-type {
  padding-top: 0;
}
.perimex-legal-page > section:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}
.perimex-legal-header p,
.perimex-legal-page p,
.perimex-legal-page li {
  color: #46515c;
  font-size: 16px;
  line-height: 1.75;
}
.perimex-legal-page p {
  margin: 0 0 14px;
}
.perimex-legal-page p:last-child {
  margin-bottom: 0;
}
.perimex-legal-page strong {
  color: #25313c;
  font-weight: 700;
}
.perimex-legal-header p {
  margin: 5px 0;
}
.perimex-legal-page ul {
  margin: 16px 0 0;
  padding-left: 24px;
}
.perimex-legal-page li + li {
  margin-top: 10px;
}
.perimex-legal-page li::marker {
  color: #F68F30;
}
.perimex-legal-page a {
  color: #1E73BE;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.perimex-legal-contact {
  margin-top: 36px;
  padding: 24px 28px;
  border-left: 4px solid #F68F30;
  border-radius: 0 8px 8px 0;
  background: #f4f7fa;
}
.perimex-legal-contact h2 {
  margin-top: 0;
}

/* Application-page image slots requested without the native four-image gallery row. */
.perimex-hidden-gallery-row {
  display: none !important;
}
.perimex-application-sixth-image {
  width: min(1180px, calc(100% - 40px));
  margin: 34px auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.perimex-application-sixth-image img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Remove floating image-hotspot links while preserving their underlying images. */
.post-content .awb-image-hotspots-hotspot {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Force the Solutions-page center-column icons to render without Avada lazy-load state. */
body.page-id-2203 .post-content .fusion-image-element:has(img.perimex-fence-type-icon),
body.page-id-2203 .post-content .fusion-imageframe:has(img.perimex-fence-type-icon),
body.page-id-2203 .post-content .fusion-imageframe:has(img.perimex-fence-type-icon) > a {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  filter: none !important;
  transform: none !important;
}
body.page-id-2203 .post-content img.perimex-fence-type-icon,
body.page-id-2203 .post-content img.perimex-fence-type-icon:hover {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 84px !important;
  height: 84px !important;
  min-width: 84px !important;
  min-height: 84px !important;
  max-width: 84px !important;
  max-height: 84px !important;
  margin: 0 auto !important;
  padding: 4px !important;
  box-sizing: border-box !important;
  background: #fff !important;
  object-fit: cover !important;
  filter: none !important;
  transform: none !important;
  position: relative !important;
  z-index: 5 !important;
}
@media (max-width: 640px) {
  body.page-id-2203 .post-content img.perimex-fence-type-icon {
    width: 68px !important;
    height: 68px !important;
    min-width: 68px !important;
    min-height: 68px !important;
    max-width: 68px !important;
    max-height: 68px !important;
  }
}
@media (max-width: 640px) {
  .perimex-legal-main {
    padding: 40px 16px 58px;
  }
  .perimex-legal-page {
    padding: 32px 22px;
    border-radius: 10px;
  }
  .perimex-legal-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
  }
  .perimex-legal-page > section {
    padding: 25px 0;
  }
  .perimex-legal-page h2 {
    font-size: 21px;
  }
  .perimex-legal-contact {
    padding: 20px;
  }
}

/* Anonymous Kenyan customer avatars. */
.perimex-review-avatar-wrap {
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #1E73BE, #F68F30) !important;
}
.perimex-review-initials {
  display: grid !important;
  width: 100% !important;
  height: 100% !important;
  place-items: center !important;
  color: #fff !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

/* Illustrative review portraits; the page visibly discloses they are not customer photos. */
.perimex-review-initials[class*='perimex-avatar-'] {
  font-size: 0 !important;
  background-image: url('/wp-content/uploads/2026/07/perimex-review-avatar-sprite.jpg') !important;
  background-repeat: no-repeat !important;
  background-size: 400% auto !important;
}
.perimex-avatar-1 { background-position: 33.333% 5% !important; }
.perimex-avatar-2 { background-position: 100% 5% !important; }
.perimex-avatar-3 { background-position: 33.333% 71% !important; }
.perimex-avatar-4 { background-position: 0% 5% !important; }
.perimex-avatar-5 { background-position: 66.667% 5% !important; }
.perimex-avatar-6 { background-position: 66.667% 71% !important; }
.perimex-avatar-7 { background-position: 0% 71% !important; }
.perimex-avatar-disclosure { color: #70757a; font-size: 12px; }
/* Keep the shared header quote button pure orange without a dark outline. */
.fusion-body a.fusion-button.button-1[href="#quote"],
.fusion-body a.fusion-button.button-1[href="#quote"]:hover,
.fusion-body a.fusion-button.button-1[href="#quote"]:focus,
.fusion-body a.fusion-button.button-1[href="#quote"]:focus-visible {
  background: #F68F30 !important;
  background-image: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  --button_gradient_top_color: #F68F30;
  --button_gradient_bottom_color: #F68F30;
  --button_gradient_top_color_hover: #F68F30;
  --button_gradient_bottom_color_hover: #F68F30;
  --button_border_width-top: 0px;
  --button_border_width-right: 0px;
  --button_border_width-bottom: 0px;
  --button_border_width-left: 0px;
}
/* Make the heading above every quote form solid orange with no text outline. */
.fusion-title.textborder,
.fusion-title.textborder .fusion-title-heading {
  color: #F68F30 !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 transparent !important;
  -webkit-text-fill-color: #F68F30 !important;
  --awb-text-color: #F68F30 !important;
  --awb-text-stroke-color: transparent !important;
}
/* Uniform landscape frames for every four-image fence gallery. */
.post-content .fusion-gallery.fusion-grid-4 .fusion-gallery-image {
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  overflow: hidden !important;
}
.post-content .fusion-gallery.fusion-grid-4 .fusion-gallery-image > a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}
.post-content .fusion-gallery.fusion-grid-4 .fusion-gallery-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center !important;
}
@media (min-width: 1025px) {
  .post-content .fusion-gallery.fusion-grid-4 .fusion-gallery-column {
    width: 25% !important;
  }
}

/* Keep the mobile/tablet header controls together in one row. */
@media (max-width: 1024px) {
  .fusion-tb-header > .fusion-fullwidth > .fusion-builder-row {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  .fusion-tb-header > .fusion-fullwidth > .fusion-builder-row > .fusion-layout-column {
    min-width: 0 !important;
    margin: 0 !important;
  }
  .fusion-tb-header > .fusion-fullwidth > .fusion-builder-row > .fusion-layout-column:nth-child(1) {
    order: 1 !important;
    flex: 1 1 auto !important;
    width: auto !important;
  }
  .fusion-tb-header > .fusion-fullwidth > .fusion-builder-row > .fusion-layout-column:nth-child(2) {
    order: 3 !important;
    flex: 0 0 auto !important;
    width: auto !important;
  }
  .fusion-tb-header > .fusion-fullwidth > .fusion-builder-row > .fusion-layout-column:nth-child(3) {
    order: 2 !important;
    flex: 0 0 auto !important;
    width: auto !important;
  }
  .fusion-tb-header .fusion-image-element { text-align: left !important; }
  .fusion-tb-header .fusion-image-element > div {
    width: 102px !important;
    max-width: 100% !important;
  }
  .fusion-tb-header .awb-menu,
  .fusion-tb-header .awb-menu__m-toggle,
  .fusion-tb-header a.fusion-button[href="#quote"] {
    width: auto !important;
    min-width: 0 !important;
  }
  .fusion-tb-header .awb-menu__m-toggle {
    padding: 9px 11px !important;
    white-space: nowrap !important;
  }
  .fusion-tb-header a.fusion-button[href="#quote"] {
    display: inline-flex !important;
    padding: 8px 10px !important;
    white-space: nowrap !important;
  }
}
@media (max-width: 420px) {
  .fusion-tb-header > .fusion-fullwidth {
    --awb-padding-right: 10px !important;
    --awb-padding-left: 10px !important;
  }
  .fusion-tb-header > .fusion-fullwidth > .fusion-builder-row { gap: 6px !important; }
  .fusion-tb-header .fusion-image-element > div { width: 86px !important; }
  .fusion-tb-header a.fusion-button[href="#quote"] {
    padding: 7px 8px !important;
    font-size: 13px !important;
  }
  .fusion-tb-header .awb-menu__m-toggle {
    padding: 8px !important;
    font-size: 14px !important;
  }
}
/* Force the Commercial Office gallery to render without Avada gallery JavaScript. */
body.page-id-20 .post-content .fusion-builder-row-3,
body.page-id-20 .post-content .fusion-builder-row-3 .fusion-builder-row,
body.page-id-20 .post-content .fusion-builder-row-3 .fusion-layout-column,
body.page-id-20 .post-content .fusion-builder-row-3 .fusion-column-wrapper,
body.page-id-20 .post-content .fusion-builder-row-3 .awb-gallery-wrapper {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: 0 !important;
  position: static !important;
  transform: none !important;
}
body.page-id-20 .post-content .fusion-builder-row-3 .fusion-gallery {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: auto !important;
  position: static !important;
  transform: none !important;
  flex-wrap: wrap !important;
}
body.page-id-20 .post-content .fusion-builder-row-3 .fusion-gallery-column {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  transform: none !important;
  float: none !important;
  flex: 0 0 25% !important;
  width: 25% !important;
  box-sizing: border-box !important;
}
body.page-id-20 .post-content .fusion-builder-row-3 .fusion-gallery-image,
body.page-id-20 .post-content .fusion-builder-row-3 .fusion-gallery-image > a {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: 100% !important;
  position: static !important;
}
body.page-id-20 .post-content .fusion-builder-row-3 img.perimex-fence-gallery-image {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  position: static !important;
  transform: none !important;
}
@media (max-width: 900px) {
  body.page-id-20 .post-content .fusion-builder-row-3 .awb-gallery-wrapper {
    overflow-x: auto !important;
    overscroll-behavior-inline: contain;
  }
  body.page-id-20 .post-content .fusion-builder-row-3 .fusion-gallery {
    width: max-content !important;
    min-width: 100% !important;
    flex-wrap: nowrap !important;
  }
  body.page-id-20 .post-content .fusion-builder-row-3 .fusion-gallery-column {
    flex: 0 0 min(78vw, 340px) !important;
    width: min(78vw, 340px) !important;
  }
}
/* Hide the Commercial native gallery; Office images use the two following static slots. */
body.page-id-20 .post-content .fusion-builder-row-3.perimex-hidden-gallery-row {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
body.page-id-20 .post-content .awb-image-hotspots-wrapper:has(img[src*="office2.png"]),
body.page-id-20 .post-content .awb-image-hotspots-wrapper:has(img[src*="office3.png"]) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  overflow: hidden !important;
  position: static !important;
}
body.page-id-20 .post-content img[src*="office2.png"],
body.page-id-20 .post-content img[src*="office3.png"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  position: static !important;
  transform: none !important;
}
/* Let the shared seventh-position image fully cover its available frame. */
.post-content .fusion-image-element:has(img[src*="general-optimized.jpg"]),
.post-content .fusion-imageframe:has(img[src*="general-optimized.jpg"]),
.post-content .awb-image-hotspots-wrapper:has(img[src*="general-optimized.jpg"]) {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 3 / 4 !important;
  overflow: hidden !important;
}
.post-content img[src*="general-optimized.jpg"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
}