/* About Three Pillars Block - Frontend Styles */
.synpact-about-three-pillars {
  width: calc(100% + 5vw);
  margin: 2vh 0 5vh -5vw;
  padding: 0;
}

.synpact-about-three-pillars .pillars-container {
  display: flex;
  flex-direction: column;
  gap: 3vh;
}

.synpact-about-three-pillars .pillar-item {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  padding: 3vh 3vw;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  width: 100%;
  max-width: 500px;
}

/* Left alignment for pillars 1 and 3 */
.synpact-about-three-pillars .pillar-left {
  align-self: flex-start;
  /* margin-left: 5vw; */
}

/* Right alignment for pillar 2 */
.synpact-about-three-pillars .pillar-right {
  align-self: flex-end;
}

.synpact-about-three-pillars .pillar-content {
  position: relative;
  z-index: 1;
}

.synpact-about-three-pillars .pillar-title {
  font-family: "PT Serif", Georgia, "Times New Roman", serif;
  font-size: 24px;
  color: #f1f2eb;
  margin: 0 0 0.5em 0;
  line-height: 1.3;
  font-weight: 400;
}

.synpact-about-three-pillars .pillar-text {
  font-family: "Arial", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 16px;
  color: #f1f2eb;
  margin: 0 0 1em 0;
  line-height: 1.4;
  font-weight: 400;
}

.synpact-about-three-pillars .pillar-text:last-child {
  margin-bottom: 0;
}

.synpact-about-three-pillars .pillar-text:empty {
  display: none;
}

@media (max-width: 768px) {
  .synpact-about-three-pillars {
    width: 100%;
    margin: 2vh 0 5vh 0;
  }

  .synpact-about-three-pillars .pillar-item {
    max-width: 100%;
    align-self: stretch !important;
    padding: 2vh 4vw;
    min-height: auto;
  }

  .synpact-about-three-pillars .pillar-left {
    margin-left: 0;
  }

  .synpact-about-three-pillars .pillar-title {
    font-size: 20px;
  }

  .synpact-about-three-pillars .pillar-text {
    font-size: 14px;
  }
}
