.ps-section {
  --ps-site-header-height: 69px;
  position: relative;
  width: 100%;
}

.ps-scroll-wrapper {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding-top: 16px;
  padding-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-spacer:has(.ps-scroll-wrapper),
.ps-section,
.ps-scroll-wrapper {
  transition: none !important;
  animation: none !important;
}

.ps-sticky {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.ps-section.is-active {
  z-index: 2;
}

.ps-section.is-active .ps-scroll-wrapper {
  z-index: 2;
}

.ps-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  position: relative;
  z-index: 3;
  isolation: isolate;
}

/* Logo grids */
.ps-logos {
  flex: 1;
  position: relative;
  z-index: 1;
/*   opacity: 0; */
}

.ps-logos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
  border: 3px solid #00B1E1;
  border-radius: 16px;
  position: relative;
  z-index: 1;
  /* background: #fff; */
}

.ps-logos__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 6px;
  min-height: 64px;
  overflow: hidden;
  background-color: #ffffff;
  padding: 8px;
  width: 100%;
  height: 80px;
  border-radius: 20px;
  border: 1px solid #D8D8D8;
  box-shadow: 2.094px 2.094px 10.468px 0 rgba(216, 216, 216, 0.60);
}

.ps-logos__grid .ps-logos__cell img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* Center */
.ps-center {
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  justify-content: center;
/*   opacity: 0; */
  position: relative;
  z-index: 4;
}

.ps-center__inner {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
}

.ps-center__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.ps-center__img.webpexpress-processed {
  border-radius: 50%;
}

.ps-shine {
  --ps-shine-cycle: 4s;
  position: absolute;
  z-index: 1;
  inset: -50%;
  width: 200%;
  height: 200%;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  transform: rotate(25deg) translate3d(-160%, 0, 0);
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 42%,
    rgba(255, 255, 255, 0.7) 50%,
    transparent 58%,
    transparent 100%
  );
  animation: ps-center-shine var(--ps-shine-cycle) linear infinite;
}

@keyframes ps-center-shine {
  0%,
  100% {
    opacity: 0;
    transform: rotate(25deg) translate3d(-160%, 0, 0);
  }

  4% {
    opacity: 1;
    transform: rotate(25deg) translate3d(-160%, 0, 0);
  }

  31% {
    opacity: 1;
    transform: rotate(25deg) translate3d(160%, 0, 0);
  }

  34.783% {
    opacity: 0;
    transform: rotate(25deg) translate3d(160%, 0, 0);
  }

  34.784% {
    opacity: 0;
    transform: rotate(25deg) translate3d(-160%, 0, 0);
  }
}

/* SVG lines */
.ps-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}

.ps-line-h-left__path,
.ps-line-h-right__path,
.ps-line-v__path,
.ps-line-border-left__path,
.ps-line-border-right__path {
  vector-effect: non-scaling-stroke;
}

/* Cards wrapper */
.ps-cards-wrapper {
  position: relative;
  border-radius: 24px;
  padding: 20px;
  margin-top: 40px;
  z-index: 3;
}

.ps-cards {
  display: flex;
  gap: 24px;
}

/* Cards */
.ps-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
/*   opacity: 0;
  transform: translateY(30px); */
  background: #fff;
  border: 2px solid #00B1E1;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.25s ease, box-shadow 0.25s ease;
}

a.ps-card:hover {
  opacity: 0.85;
  box-shadow: 0 8px 24px rgb(35 70 79 / 35%);
}

.ps-section.is-active .ps-card {
  transition: box-shadow 0.25s ease !important;
}

.ps-section.is-active a.ps-card:hover {
  opacity: 1;
}

.ps-card--highlight {
  background: #f0ebf8;
  border-color: #d4c4f0;
}

.ps-card__body {
  padding: 24px 18px 0;
  text-align: center;
}

.ps-card__title {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  color: #00647F;
}

.ps-card__desc {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  color: #00647F;
}

.ps-card__media {
  padding: 24px 18px;
  margin-top: auto;
}

.ps-card__media img {
  width: 100%;
  height: auto;
  display: block;
}

/* Locked state */
.ps-section.is-locked {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  transform: none !important;
  z-index: auto;
}

.ps-section.is-locked .ps-center,
.ps-section.is-locked .ps-logos,
.ps-section.is-locked .ps-card {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto;
}

.ps-section.is-locked .ps-line-h-left__path,
.ps-section.is-locked .ps-line-h-right__path,
.ps-section.is-locked .ps-line-v__path,
.ps-section.is-locked .ps-line-border-left__path,
.ps-section.is-locked .ps-line-border-right__path {
  stroke-dashoffset: 0 !important;
}

/* =============================================================================
   RESPONSIVE DESIGN (Less than 990px)
   ============================================================================= */
@media (max-width: 990px) {
  .ps-top {
    gap: 32px;
  }

  .ps-logos__grid {
    display: block;
    width: 100%;
    height: 80px;
    padding: 0;
    border-width: 1.5px;
    border-radius: 8px;
    background: #fff;
  }

  .ps-logos__cell {
    position: absolute;
    inset: 0;
    min-height: 0;
    height: unset;
    opacity: 0;
    background: #fff;
    height: unset;
    box-shadow: none;
    border: none;
  }

  .ps-line-h-left__path,
  .ps-line-h-right__path {
    stroke-width: 1.7px;
  }

  .ps-line-v__path,
  .ps-line-border-left__path,
  .ps-line-border-right__path {
    stroke-width: 1.5px;
  }

  .ps-cards-wrapper {
    border-radius: 8px;
    padding: 12px;
  }

  .ps-cards {
    flex-wrap: wrap;
    gap: 8px;
  }

  .ps-card {
    flex: 0 0 calc(50% - 4px);
    width: calc(50% - 4px);
    border-radius: 8px;
    border-width: 1.5px;
  }
	
	.ps-sticky {
		padding: 0;
	}
	
	.ps-card__body {
		padding: 16px 8px 0;
	}
	
	.ps-card__media {
		padding: 16px 8px;
	}

  .ps-card__title {
    font-size: 14px;
  }

  .ps-center {
    flex: 0 0 90px;
  }
  
  .ps-center__inner {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
  }

  .ps-section.is-locked .ps-logos__cell:not(:last-child) {
    opacity: 0 !important;
  }

  .ps-section.is-locked .ps-logos__cell:last-child {
    opacity: 1 !important;
  }
}

@media (max-width: 320px) {
  .ps-card {
    flex: 0 0 100%;
    width: 100%;
  }
}
