/* Adaptive Solution — layout fixes on top of WordPress export */

.as-product-card {
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.as-product-card__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  width: 100%;
  padding: 28px 20px;
  border-radius: 12px;
  box-sizing: border-box;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.12);
}

.as-product-card__inner h2 {
  color: #fff !important;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.as-product-card__inner p {
  color: rgba(255, 255, 255, 0.95) !important;
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.45;
}

.as-product-card--funzy .as-product-card__inner {
  background: linear-gradient(135deg, #046bd2, #1c9ae1);
}

.as-product-card--itjr .as-product-card__inner {
  background: linear-gradient(135deg, #111827, #334155);
}

.as-product-card--golf .as-product-card__inner {
  background: linear-gradient(135deg, #40b93c, #2d8a2a);
}

.as-portfolio-subtitle {
  text-align: center;
  color: #475569;
  margin: 8px auto 0;
  max-width: 560px;
  font-size: 1rem;
}

.as-services-more {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.as-services-grid-wrap {
  width: 100% !important;
  flex: 0 0 100% !important;
  max-width: 100% !important;
  padding: 0 20px;
  box-sizing: border-box;
}

.as-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.as-service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  padding: 0 8px;
}

.as-service-card img {
  width: 100%;
  max-width: 280px;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(17, 24, 39, 0.1);
}

.as-service-card h3 {
  margin: 0 0 10px;
  color: #16154e;
  font-family: "Montserrat", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.as-service-card p {
  margin: 0;
  color: #5f5f5f;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
}

.as-service-card:hover h3 {
  color: #40b93c;
}

@media (max-width: 767px) {
  .as-services-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .as-service-card img {
    max-width: 100%;
    height: 200px;
  }
}

.as-employers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 48px;
}

.as-employer-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.06);
}

.as-employer-card img {
  max-height: 72px;
  width: auto;
  margin: 0 auto 12px;
  object-fit: contain;
}

.as-employer-card h3 {
  margin: 0;
  font-size: 1rem;
  color: #1e293b;
}

.as-section-heading {
  text-align: center;
  margin: 48px 0 24px;
}

.as-section-heading h2 {
  margin: 0 0 8px;
  color: #1e293b;
}

.as-section-heading p {
  margin: 0;
  color: #475569;
}

/* Consulting services hero — replaces broken Prime Slider on static Pages */
.as-consulting-hero {
  position: relative;
  width: 100%;
  min-height: 440px;
  display: flex;
  align-items: center;
  background: url("/wp-content/uploads/2024/09/1061-min.jpg") center center / cover no-repeat;
}

.as-consulting-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 53, 105, 0.62);
}

.as-consulting-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px;
  color: #fff;
}

.as-consulting-hero__inner h1 {
  margin: 0 0 16px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  max-width: 720px;
}

.as-consulting-hero__inner p {
  margin: 0 0 24px;
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}

.as-consulting-hero__cta {
  display: inline-block;
  background: #046bd2;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.as-consulting-hero__cta:hover {
  background: #40b93c;
}

.as-diagrams {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
}

.as-diagrams h3 {
  margin: 0 0 8px;
  text-align: center;
  color: #16154e;
  font-family: "Montserrat", sans-serif;
}

.as-diagrams > p {
  text-align: center;
  color: #5f5f5f;
  margin: 0 0 24px;
  font-size: 0.95rem;
}

.as-diagrams__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.as-diagrams__item {
  margin: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.06);
}

.as-diagrams__item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.as-diagrams__item figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 0.9rem;
  color: #475569;
}

.as-product-showcase {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
}

.as-product-showcase h3 {
  margin: 0 0 8px;
  text-align: center;
  color: #16154e;
  font-family: "Montserrat", sans-serif;
}

.as-product-showcase > p {
  text-align: center;
  color: #5f5f5f;
  margin: 0 0 24px;
  font-size: 0.95rem;
}

.as-product-showcase__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.as-product-showcase__card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.as-product-showcase__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.12);
}

.as-product-showcase__shot {
  height: 180px;
  overflow: hidden;
  background: #f0f5fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.as-product-showcase__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.as-product-showcase__shot--golf.as-product-showcase__shot--branded {
  background: linear-gradient(135deg, #40b93c, #2d8a2a);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.as-product-showcase__shot--branded span {
  text-align: center;
  padding: 0 16px;
}

  object-fit: contain;
  padding: 12px;
  background: #0f172a;
}

.as-product-showcase__card h4 {
  margin: 14px 16px 6px;
  color: #16154e;
  font-family: "Montserrat", sans-serif;
}

.as-product-showcase__card p {
  margin: 0 16px 16px;
  font-size: 0.9rem;
  color: #5f5f5f;
}

@media (max-width: 767px) {
  .as-consulting-hero {
    min-height: 360px;
  }

  .as-consulting-hero__inner {
    padding: 48px 20px;
  }
}

/* Elementor lazy-load strips hero backgrounds on static Pages — exempt sliders */
.e-con.e-parent.e-no-lazyload .bdt-ps-slide-img,
.bdt-prime-slider-dragon .bdt-ps-slide-img {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.elementor-2044 .bdt-ps-slide-img {
  background-image: url("/wp-content/uploads/2024/09/1061-min.jpg") !important;
}

.bdt-prime-slider-dragon .bdt-ps-dragon-bg .bdt-ps-slide-img,
.bdt-prime-slider-dragon .bdt-ps-dragon-slide-image .bdt-ps-slide-img {
  min-height: 440px;
}

@media (max-width: 767px) {
  .bdt-prime-slider-dragon .bdt-ps-dragon-bg .bdt-ps-slide-img,
  .bdt-prime-slider-dragon .bdt-ps-dragon-slide-image .bdt-ps-slide-img {
    min-height: 320px;
  }
}

/* Consulting services — simplified tabs */
.as-consulting-services {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 20px 32px;
}

.as-svc-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}

.as-svc-tabs__btn {
  border: 2px solid #e5e7eb;
  background: #fff;
  color: #16154e;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.as-svc-tabs__btn.is-active,
.as-svc-tabs__btn:hover {
  background: #046bd2;
  border-color: #046bd2;
  color: #fff;
}

.as-svc-tabs__panel {
  display: none;
}

.as-svc-tabs__panel.is-active {
  display: block;
}

.as-svc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.as-svc-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.as-svc-card:hover {
  border-color: #40b93c;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.1);
}

.as-svc-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
}

.as-svc-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #16154e;
  font-family: "Montserrat", sans-serif;
}

.as-svc-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #5f5f5f;
}

.as-trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 40px auto 0;
  text-align: center;
}

.as-trust-stats__item strong {
  display: block;
  font-size: 1.75rem;
  color: #046bd2;
  font-family: "Montserrat", sans-serif;
}

.as-trust-stats__item span {
  font-size: 0.85rem;
  color: #475569;
}

.as-consulting-services .as-employers-grid {
  margin-top: 40px;
  padding-bottom: 0;
}

@media (max-width: 767px) {
  .as-trust-stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .as-svc-tabs__btn {
    width: 100%;
    text-align: center;
  }
}
