/* Airco Accreditation / Certification template.
   Intentionally scoped to .airco-accreds so existing pages are unaffected. */
.airco-accreds {
  --airco-cert-green: #009639;
  --airco-cert-dark: #11401f;
  --airco-cert-text: #212c27;
  --airco-cert-muted: #68756d;
  color: var(--airco-cert-text);
  background: #fff;
  padding-bottom: 90px;
}

.airco-accreds .airco-accreds__top.page-hero {
  height: auto;
  min-height: 385px;
  padding: 175px 0 76px;
  background-color: #0c5c31;
  background-image: linear-gradient(115deg, #104c2c, #008b38);
  background-position: center 45%;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: flex-end;
}
/* Draw the theme's existing hero-lines graphic across the ENTIRE header.
   The parent theme positions it on .page-hero .container::after, which only
   covers the height of the title container and creates a short horizontal strip.
   Keep the photo and green overlay underneath; this layer is purely decorative. */
.airco-accreds .airco-accreds__top.page-hero::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  -webkit-clip-path: none;
  clip-path: none;
  background: transparent;
  background-image: var(--airco-cert-lines);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: .2;
  z-index: 2;
  pointer-events: none;
}
/* Prevent the same graphic from appearing again as a smaller strip over the title. */
.airco-accreds .airco-accreds__top.page-hero > .container::after {
  content: none;
  display: none;
}
.airco-accreds .airco-accreds__top.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Similar green photo treatment to the parent Insurance page. */
  background: linear-gradient(95deg, rgba(0, 83, 37, .83), rgba(0, 104, 44, .61) 55%, rgba(0, 59, 29, .73));
  z-index: 1;
}
.airco-accreds .airco-accreds__top > .container { position: relative; z-index: 4; }
.airco-accreds__top .airco-accreds__eyebrow { color: rgba(255,255,255,.88); }
.airco-accreds__page-title {
  color: #fff;
  font-family: Avenir, Roboto, sans-serif;
  font-size: clamp(35px, 4.2vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  max-width: 900px;
  margin: 9px 0 0;
}
.airco-accreds__eyebrow {
  margin: 0 0 11px;
  color: var(--airco-cert-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.5;
  text-transform: uppercase;
}

.airco-accreds__feature-section {
  position: relative;
  z-index: 3;
  padding: 65px 0 32px;
  background: #fff;
}
.airco-accreds__feature-section::before {
  content: "";
  position: absolute;
  width: 58%;
  height: 345px;
  right: 0;
  bottom: -30px;
  pointer-events: none;
  opacity: .10;
  background-image: var(--airco-cert-lines);
  background-position: left center;
  background-size: cover;
}
.airco-accreds__feature {
  position: relative;
  isolation: isolate;
  background: #fff;
  border: 1px solid #e1e9e2;
  box-shadow: 0 12px 36px rgba(17,64,31,.11);
  display: grid;
  grid-template-columns: minmax(0,1.18fr) minmax(310px,.82fr);
  gap: clamp(30px,4vw,64px);
  padding: clamp(26px,4vw,62px);
  max-width: 1300px;
  margin: 0 auto;
}
.airco-accreds__feature::before {
  content: "";
  position: absolute;
  width: 116px;
  height: 75px;
  left: -8px;
  top: -8px;
  border-top: 8px solid var(--airco-cert-green);
  border-left: 8px solid var(--airco-cert-green);
  pointer-events: none;
}
.airco-accreds__feature-heading {
  margin: 0 0 25px;
  font-family: Avenir, Roboto, sans-serif;
  font-weight: 800;
  color: var(--airco-cert-green);
  font-size: clamp(24px,2.6vw,32px);
  line-height: 1.2;
}
.airco-accreds__facts { margin: 0 0 30px; }
.airco-accreds__fact {
  display: grid;
  grid-template-columns: minmax(140px, 185px) 1fr;
  gap: 14px;
  border-bottom: 1px solid #e6eae6;
  padding: 12px 0;
}
.airco-accreds__fact dt { font-size: 15px; font-weight: 700; color: var(--airco-cert-dark); }
.airco-accreds__fact dd { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.airco-accreds__intro { font-size: 17px; line-height: 1.75; }
.airco-accreds__intro p { margin: 0 0 18px; }
.airco-accreds__intro p:last-child { margin-bottom: 0; }
.airco-accreds__website { margin: 28px 0 0; font-size: 15px; font-weight: 700; }
.airco-accreds__website a { color: var(--airco-cert-green); text-decoration: none; }
.airco-accreds__website a:hover, .airco-accreds__website a:focus-visible { text-decoration: underline; }

.airco-accreds__document {
  padding: clamp(20px,2.5vw,32px);
  background: #f6faf6;
  border: 1px solid #e0eadf;
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: flex-start;
  min-width: 0;
}
.airco-accreds__logo { min-height: 72px; display: flex; justify-content: center; align-items: center; background: transparent; }
.airco-accreds__logo img { display: block; width: auto; max-width: min(235px,100%); max-height: 118px; object-fit: contain; background: transparent; }
/* The image fills the inside of a fixed-width frame so the white padding is
   identical on its top, right, bottom and left, even with portrait PDFs. */
.airco-accreds__preview {
  box-sizing: border-box;
  width: 100%;
  max-width: 340px;
  align-self: center;
  background: #fff;
  border: 1px solid #dce4dd;
  padding: 13px;
  display: block;
  box-shadow: 0 3px 10px rgba(0,0,0,.045);
}
.airco-accreds__preview > a { display: block; width: 100%; }
.airco-accreds__preview img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  margin: 0;
}
.airco-accreds__preview--placeholder { min-height: 250px; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; }
.airco-accreds__preview--placeholder img { width: 55px; height: 70px; }
.airco-accreds__preview--placeholder span { color: #66746b; font-size: 15px; font-weight: 700; }
/* Match the complete outside width of the framed PDF preview above it. */
.airco-accreds a.airco-accreds__button {
  box-sizing: border-box;
  width: 100%;
  max-width: 340px;
  align-self: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  background: var(--airco-cert-green);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 20px;
  min-height: 53px;
  text-align: left;
  text-decoration: none;
  transition: background .18s ease;
}
.airco-accreds a.airco-accreds__button:hover,
.airco-accreds a.airco-accreds__button:focus-visible { background: var(--airco-cert-dark); color: #fff; }

.airco-accreds__more { padding: 28px 0 32px; }
.airco-accreds__more-card { max-width: 1300px; margin: 0 auto; padding: clamp(25px,3.6vw,48px); background: #f8faf8; border-left: 4px solid #d0e4d1; }
.airco-accreds__more-card h2 { color: var(--airco-cert-green); font-family: Avenir, Roboto, sans-serif; font-size: 27px; font-weight: 800; margin: 0 0 18px; }
.airco-accreds__richtext { max-width: 960px; line-height: 1.7; }
.airco-accreds__richtext > :last-child { margin-bottom: 0; }

.airco-accreds__related { padding: 60px 0 52px; background: #f7faf7; }
.airco-accreds__related .sec-title { text-align: left; line-height: 1.24; margin: 0; }
.airco-accreds__section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 31px; }
.airco-accreds__arrows { display: flex; gap: 10px; }
.airco-accreds__arrows button {
  background: #fff;
  border: 1px solid #bfd8c7;
  color: var(--airco-cert-dark);
  cursor: pointer;
  width: 43px;
  height: 43px;
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .18s, color .18s;
}
.airco-accreds__arrows button:hover,
.airco-accreds__arrows button:focus-visible { background: var(--airco-cert-green); color: #fff; }
.airco-accreds__arrows button.swiper-button-disabled { opacity: .33; cursor: default; }
.airco-accreds__slider { width: 100%; overflow: hidden; }
/* Allow each card to stretch to the tallest slide, but calculate its size
   including its padding and border (previous content-box min-height of 218px
   plus 35px padding and borders rendered as ~255px). */
.airco-accreds__related .swiper-slide { height: auto; display: flex; }
.airco-accreds__related-card {
  background: #fff;
  border: 1px solid #e3eae3;
  color: var(--airco-cert-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  box-sizing: border-box;
  width: 100%;
  padding: 13px 16px 13px;
  min-height: 188px;
  box-shadow: 0 4px 14px rgba(0,0,0,.045);
  transition: transform .18s ease, box-shadow .18s ease;
}
.airco-accreds__related-card:hover,
.airco-accreds__related-card:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(17,64,31,.11); text-decoration: none; }
.airco-accreds__related-logo { display: flex; align-items: center; justify-content: center; height: 75px; width: 100%; margin-bottom: 8px; flex-shrink: 0; }
.airco-accreds__related-logo img { display: block; max-height: 70px; max-width: 90%; height: auto; width: auto; object-fit: contain; }
.airco-accreds__fallback-logo { font-size: 30px; color: var(--airco-cert-green); }
.airco-accreds__related-title { display: block; color: var(--airco-cert-dark); font-family: Avenir, Roboto, sans-serif; font-size: 17px; font-weight: 800; line-height: 1.35; text-align: center; margin-bottom: 0; }
.airco-accreds__related-link { color: var(--airco-cert-green); margin-top: auto; padding-top: 9px; font-size: 13px; font-weight: 700; }
.airco-accreds__no-swiper .swiper-wrapper { display: flex; overflow-x: auto; gap: 18px; scroll-snap-type: x mandatory; padding-bottom: 15px; }
.airco-accreds__no-swiper .swiper-slide { flex: 0 0 260px; scroll-snap-align: start; }
.airco-accreds__no-swiper .airco-accreds__arrows { display: none; }

.airco-accreds__services-wrapper { padding: 40px 0 0; }
.airco-accreds__services.serives-sec { margin-top: 10px; }
.airco-accreds__services .sec-title { line-height: 1.3; }
.airco-accreds__services .items { position: relative; z-index: 2; }
.airco-accreds__services .items .item { display: flex; }
.airco-accreds__services .items .item .title { color: #fff; }

@media (max-width: 991px) {
  .airco-accreds__feature { grid-template-columns: minmax(0,1fr) minmax(275px,.85fr); gap: 28px; }
  .airco-accreds__fact { grid-template-columns: 1fr; gap: 3px; }
}
@media (max-width: 767px) {
  .airco-accreds { padding-bottom: 55px; }
  .airco-accreds .airco-accreds__top.page-hero { min-height: 320px; padding: 155px 0 45px; }
  .airco-accreds__feature-section { padding: 40px 0 20px; }
  .airco-accreds__feature { grid-template-columns: 1fr; gap: 23px; padding: 28px 20px 24px; }
  .airco-accreds__feature::before { width: 70px; height: 54px; }
  .airco-accreds__document { padding: 20px; }
  .airco-accreds__section-heading { align-items: flex-start; }
  .airco-accreds__section-heading h2 { font-size: 24px; }
  .airco-accreds__related { padding: 46px 0 42px; }
  .airco-accreds__services-wrapper { padding-top: 28px; }
}
@media (max-width: 480px) {
  .airco-accreds__arrows { gap: 5px; }
  .airco-accreds__arrows button { width: 36px; height: 36px; }
  .airco-accreds__fact { gap: 2px; }
  .airco-accreds__intro { font-size: 16px; }
}
