section {
  text-align: left !important;
}

.casestudy-top-breadcrumb {
  display: inline-block;
}

.account-payable-banner {
  height: 852px;
  background-color: #1565C0;
  background-image: url('https://assets.tristatetechnology.com/account-payable/banner-bg.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right center;
}

.ap-banner-content {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.ap-banner-content .casestudy-tag {
  padding-left: 12px;
  color: #fff;
  font-size: 24px;
  line-height: 30px;
}

.ap-banner-content h1 {
  color: #fff;
  font-size: 46px;
  font-weight: bold;
  line-height: normal;
}

.ap-banner-content p {
  margin: 20px 0;
  font-size: 24px;
  color: #fff;
  line-height: 1.25;
}

.ap-about-info {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding: 32px;
  border-radius: 16px;
  margin-top: -90px;
}

.ap-about-info li {
  flex: 1;
}

.ap-about-info li h4 {
  font-size: 36px;
  font-weight: bold;
  color: #1565C0;
}

.ap-about-info li span {
  font-size: 24px;
  font-weight: 500;
  margin: 8px 0;
  display: inline-block;
  line-height: 1.25;
}

.ap-about-info li p {
  font-size: 20px;
  margin: 0px;
}

.casestudy-page-title {
  color: #1565C0;
  line-height: 1.25;
  margin-bottom: 34px;
}

.img-text-section p {
  font-size: 20px;
}

.img-text-section img {
  border-radius: 16px;
}

.account-payable-card {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-payable-card li {
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #F3F3FB;
  box-shadow: 0px 4px 6px 0px rgba(236, 236, 236, 0.5);
}

.account-payable-card li img {
  width: 54px;
  aspect-ratio: 1;
}

.account-payable-card h3 {
  font-size: 22px;
  font-weight: 500;
  margin-top: 20px;
  margin-bottom: 12px;
}

.account-payable-card p {
  font-size: 16px;
  line-height: normal;
}

.reference-tech-stack {
  display: grid;
  row-gap: 48px;
  column-gap: 60px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reference-tech-stack li h3 {
  font-size: 28px;
  font-weight: 600;
}

.reference-tech-stack .tech-list {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.reference-tech-stack .tech-list span {
  display: inline-block;
  min-width: 100px;
  font-size: 20px;
  padding: 8px 24px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #CFCFCF;
  height: 45px;
  line-height: normal;
  text-align: center;
  box-shadow: 0px 4px 18px 0px rgba(215, 215, 215, 0.4);
}

.conclusion-list {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.conclusion-list li {
  padding: 20px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #F3F3FB;
  box-shadow: 0px 4px 6px 0px rgba(236, 236, 236, 0.5);
}

.conclusion-list li span {
  font-size: 20px;
  display: inline-block;
}

.conclusion-list li h4 {
  margin: 4px 0;
  font-size: 32px;
  color: #1565C0;
  font-weight: 600;
  line-height: normal;
}

.conclusion-list li p {
  font-size: 16px;
  margin: 0px;
  line-height: normal;
}

.posted-message {
  background: linear-gradient(135deg, #1565C0 0%, #1ECDAB 100%);
  background-position: right center;
  border-radius: 16px;
}

.posted-message .posted-message-info {
  padding: 60px;
  background: url('https://assets.tristatetechnology.com/account-payable/posted.svg') no-repeat;
  background-position: right 60px center;
  position: relative;
}

.posted-message .posted-message-info::after {
  content: "";
  position: absolute;
  left: 0px;
  top: 24px;
  width: 100%;
  height: 100%;
  z-index: -1;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(21, 101, 192, 60%) 0%, rgba(30, 205, 171, 60%) 100%);
  filter: blur(54px);
}

.posted-message-info span {
  font-size: 38px;
  color: #ffffff;
  font-style: italic;
  line-height: normal;
}

.posted-message-info h5 {
  font-size: 36px;
  font-weight: 500;
  color: #ffffff;
  margin-top: 32px;
  line-height: normal;
}

.posted-message-info p {
  font-size: 28px;
  color: #ffffff;
  margin: 0px;
  line-height: normal;
}

@media (max-width: 1639px) {
  .reference-tech-stack {
    gap: 40px;
  }

  .reference-tech-stack .tech-list {
    gap: 10px;
  }

  .reference-tech-stack .tech-list span {
    min-width: inherit;
    height: auto;
    font-size: 16px;
    padding: 6px 20px;
  }

  .posted-message-info span {
    font-size: 28px;
  }

  .posted-message-info h5 {
    font-size: 30px;
  }

  .posted-message-info p {
    font-size: 24px;
  }

  .img-text-section p {
    font-size: 18px;
  }

  .ap-banner-content h1 {
    font-size: 40px;
  }

  .ap-banner-content p,
  .ap-banner-content .casestudy-tag {
    font-size: 20px;
  }

  .account-payable-banner {
    height: 700px;
  }
}

@media (max-width: 1199px) {
  .account-payable-banner {
    height: 600px;
  }

  .ap-banner-content {
    padding-bottom: 85px;
  }

  .ap-about-info li h4,
  .conclusion-list li h4 {
    font-size: 30px;
  }

  .ap-about-info li span {
    font-size: 20px;
  }

  .ap-about-info {
    gap: 20px;
    padding: 20px;
    margin-top: -85px;
  }

  .ap-about-info li p {
    font-size: 18px;
  }

  .casestudy-page-title {
    margin-bottom: 20px;
  }

  .account-payable-card h3 {
    font-size: 18px;
  }

  .account-payable-card p,
  .img-text-section p,
  .conclusion-list li p {
    font-size: 14px;
    line-height: normal;
  }

  .reference-tech-stack .tech-list span {
    padding: 6px 12px;
  }

  .reference-tech-stack li h3 {
    font-size: 20px;
  }

  .posted-message .posted-message-info::after {
    filter: blur(20px);
  }
}

@media (max-width: 991px) {
  .account-payable-banner {
    height: 450px;
  }

  .ap-banner-content {
    padding-bottom: 0px;
  }

  .ap-banner-content h1 {
    font-size: 30px;
  }

  .ap-banner-content p {
    font-size: 18px;
  }

  .ap-about-info {
    margin-top: 40px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .subTitle br {
    display: none;
  }

  .account-payable-card li {
    padding: 16px;
  }

  .account-payable-card h3 {
    font-size: 16px;
  }

  .reference-tech-stack .tech-list {
    flex-wrap: wrap;
  }

  .conclusion-list {
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .posted-message .posted-message-info {
    padding: 40px;
    background-size: 200px;
    background-position: right 40px center;
  }

  .posted-message-info span,
  .posted-message-info h5 {
    font-size: 24px;
  }

  .posted-message-info p {
    font-size: 20px;
  }
}

@media (max-width: 767px) {

  .ap-banner-content h1 br,
  .ap-banner-content p br {
    display: none;
  }

  .ap-banner-content h1 {
    font-size: 24px;
  }

  .account-payable-banner {
    height: auto;
    padding: 40px 0;
  }

  .ap-banner-content p,
  .ap-banner-content .casestudy-tag {
    font-size: 18px;
    line-height: normal;
  }

  .account-payable-banner {
    background-size: cover;
    background-position: left center;
  }

  .ap-about-info,
  .account-payable-card,
  .reference-tech-stack,
  .conclusion-list {
    grid-template-columns: auto;
  }

  .ap-about-info li h4,
  .conclusion-list li h4 {
    font-size: 24px;
  }

  .ap-about-info li span {
    font-size: 18px;
  }

  .casestudy-page-title,
  .account-payable-card li {
    text-align: center;
  }

  .img-text-section .row {
    gap: 20px;
  }

  .reference-tech-stack .tech-list {
    margin-top: 10px;
  }

  .reference-tech-stack .tech-list span {
    font-size: 15px;
  }

  .reference-tech-stack li h3,
  .posted-message-info p {
    font-size: 18px;
  }

  .posted-message .posted-message-info {
    padding: 20px;
    background-size: 160px;
    background-position: right 20px center;
  }

  .posted-message-info span,
  .posted-message-info h5 {
    font-size: 20px;
  }

  .posted-message .posted-message-info::after {
    filter: blur(10px);
    top: 10px;
  }
}