.ebp-custom-about-1-inner {
  align-items: flex-start;
  margin-block-start: 0;
  gap: var(--spacing-2);
  padding-block-start: 4rem;
  padding-block-end: 8rem;
}

.page-id-24 .ebp-custom-about-1-inner {
  padding-block-end: 4rem;
}

.ebp-custom-about-1 {
  position: relative;
}

.ebp-custom-about-1:before,
.ebp-custom-about-1:after {
  content: '';
  position: absolute;
  top: -4rem;
  width: calc(100% + 4rem);
  height: calc(100% + 4.1rem);
  background-color: var(--slate);
}

.ebp-custom-about-1:before {
  left: -100%;
}

.ebp-custom-about-1:after {
  right: -100%;
}

.border {
  border-bottom: 0.5px solid var(--gold);
  margin-inline: auto;
  max-width: calc(100% - 2rem);
  /* margin-block-end: var(--spacing-6); */
  padding-inline: 1rem;
}

/* .ebp-custom-about-1-right,
.ebp-custom-about-1-header-right {
  flex: 2 !important;
} */

.ebp-custom-about-1-content p {
  margin-block-end: 0 !important;
  font-weight: 400 !important;
}

.ebp-custom-about-1-left--max-289 {
  max-width: 289px;
}

.ebp-custom-about-1-left--max-356 {
  max-width: 356px;
}

.ebp-custom-about-1-left--max-390 {
  max-width: 390px;
}

.ebp-custom-about-1-left--max-530 {
  max-width: 530px;
}

.ebp-custom-about-1-right {
  width: 100%;
}

.ebp-custom-about-1-right--max-837 {
  max-width: 837px;
}

.page-id-24 .ebp-custom-about-1-right--max-837 {
  max-width: calc(100% - 450px);
}

.ebp-custom-about-1-right--max-959 {
  max-width: calc(100% - 360px);
}

/* .ebp-custom-about-1-header-left {
  padding-block-start: 9rem;
  background-image: url(/wp-content/uploads/2026/02/prince-architects-graphic.svg);
  background-repeat: no-repeat;
  background-position: center;
  margin-block-end: 1rem;
  background-size: contain;
} */

.ebp-custom-about-1-header {
  position: relative;
  overflow: hidden;
}

/* Applied when Style → "Header margin block end (spacing-4)" is enabled */
.ebp-custom-about-1-header--margin-block-end {
  margin-block-end: var(--spacing-4);
}

/* Logos repeater – flex row with gap */
.ebp-custom-about-1-logos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-2, 0.5rem);
  align-items: center;
}

.ebp-custom-about-1-logo-img {
  display: block;
  max-height: 3rem;
  width: auto;
  object-fit: contain;
}

.ebp-custom-about-1-img {
  min-height: 276px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
}

/* Continuous scrolling background pattern – animates so the pattern appears to move */
/* .ebp-custom-about-1-img img {
  animation: ebp-about-1-scroll 40s linear infinite;
  min-width: 100%;
  width: auto;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes ebp-about-1-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
} */

.ebp-custom-about-1-header-left {
  background-color: var(--slate);
  padding-block-start: var(--spacing-4);
  /* padding-inline-end: var(--spacing-2);
  margin-block-start: var(--spacing-6); */
  width: 100%;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
  z-index: 9;
  /* padding-block-end: 6rem; */
}

.ebp-custom-about-1-logos p {
  margin-block-end: 0 !important;
}

.ebp-custom-about-1-header-left--display-block {
  display: block;
  padding-block-end: 2rem;
}

.ebp-custom-about-1-header-left--display-flex {
  display: flex;
}

.ebp-custom-about-1-header-left--max-289 {
  max-width: 289px;
}

.ebp-custom-about-1-header-left--max-390 {
  max-width: 388px;
}

.ebp-custom-about-1-header-left--max-530 {
  max-width: 530px;
}

.ebp-custom-about-1-header-left--max-960 {
  max-width: 960px;
}

/* .ebp-custom-about-1-accordion {
  margin-block-start: var(--spacing-4);
} */

.ebp-custom-about-1-heading {
  font-size: var(--fs-large);
  /* max-width: 300px; */
}

/* Applied when Style → "Heading margin bottom (spacing-4)" is enabled */
.ebp-custom-about-1-heading--margin-bottom {
  margin-block-end: var(--spacing-4) !important;
}

/* Applied when Style → "Header content margin top (3rem)" is enabled */
.ebp-custom-about-1-header-content--margin-top {
  margin-block-start: 3rem;
}

.ebp-custom-about-1-accordion-trigger {
  background-color: transparent;
  border: none;
  color: var(--white);
  padding-inline-start: var(--spacing-2);
  font-size: 1.5rem;
  margin-block-end: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.ebp-custom-about-1-accordion-panel-inner {
  color: var(--sage);
  padding-inline: var(--spacing-2);
  font-size: 1rem;
}

.ebp-custom-about-1-accordion-panel-inner p {
  margin-block-end: 0 !important;
}

.ebp-custom-about-1-accordion-item {
  padding-block: var(--spacing-3);
  border-top: 0.5px solid var(--gold);
}

.ebp-custom-about-1-accordion-item:last-of-type {
  border-bottom: 0.5px solid var(--gold);
}

.close-toggle {
  display: flex;
  position: relative;
  height: 1rem;
  width: 1rem;
}

.close-toggle span {
  width: 1rem;
  height: 0.5px;
  display: inline-block;
  background-color: var(--gold);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center center;
}

[aria-expanded='true'] .close-toggle span:first-of-type {
  display: none;
}

[aria-expanded='false'] .close-toggle span:first-of-type {
  transform: translate(-50%, -50%) rotate(90deg);
}

[aria-expanded='true'] .close-toggle span:last-of-type {
  transform: translate(-50%, -50%) rotate(0deg);
}

.ebp-custom-about-1-content,
.ebp-custom-about-1-header-content {
  font-size: var(--fs-medium);
  /* color: var(--gold); */
  font-family: var(--font-secondary);
  /* max-width: 500px; */
  line-height: 1.21;
  font-weight: 300;
}

/* .single-project .ebp-custom-about-1 .wrapper:before {
  content: '';
  position: absolute;
  top: -5.3rem;
  left: 1rem;
  width: calc(100% - 2rem);
  height: 100%;
  background-image: url(/wp-content/uploads/2026/02/prince-architects-graphic-2.svg);
  background-repeat: no-repeat;
  background-size: contain;
} */

/* .home .ebp-custom-about-1 .wrapper {
  background-image: url(/wp-content/uploads/2026/02/prince-icon-map.svg);
  background-repeat: repeat;
  background-size: 80px 80px; 
  background-position: top left;
} */

/* .page-id-492 .ebp-custom-about-1 .wrapper {
  background-image: url(/wp-content/uploads/2026/02/prince-graphic-sq.svg);
  background-repeat: repeat;
  background-size: 80px 80px;
  background-position: top left;
} */

.ebp-custom-about-1-inner {
  background-color: var(--slate);
}

@media (max-width: 1024px) {
  .ebp-custom-about-1-heading--margin-bottom {
    margin-block-end: var(--spacing-2) !important;
  }

  .ebp-custom-about-1-inner {
    flex-direction: column;
  }

  .ebp-custom-about-1-accordion-trigger {
    text-align: left;
  }

  .ebp-custom-about-1-header-left {
    margin-block-start: 0;
    /* padding-block-start: 0; */
  }

  .ebp-custom-about-1-header-right {
    display: none;
  }

  .ebp-custom-about-1:before,
  .ebp-custom-about-1:after {
    content: none;
  }

  .ebp-custom-about-1 {
    background-color: var(--slate);
  }

  .ebp-custom-about-1-left--max-289,
  .ebp-custom-about-1-right--max-959,
  .ebp-custom-about-1-left--max-356,
  .page-id-24 .ebp-custom-about-1-right--max-837 {
    max-width: 100%;
  }

  .triangle--pattern-block {
    display: none;
  }

  .ebp-custom-about-1-inner {
    padding-block-start: 0;
  }

  .ebp-custom-text-block-2--border:before {
    max-width: calc(100% - 2rem);
    left: 1rem;
  }

  .ebp-custom-about-1-right {
    margin-block-start: 2rem;
  }

  .ebp-custom-about-1-accordion-trigger {
    font-size: 1.25rem;
    padding-inline-start: 0;
    text-wrap: balance;
  }

  .ebp-custom-about-1-accordion-panel-inner {
    padding-inline-start: 0;
  }

  .ebp-custom-about-1-inner {
    padding-block-end: 0;
  }

  .page-id-22 .border {
    display: none;
  }

  .page-id-24 .ebp-custom-about-1-inner {
    padding-block-end: 0 !important;
  }

  .page-id-24 .ebp-custom-full-width-image-1 {
    padding-block-start: 0 !important;
  }

  .page-id-22 .ebp-custom-about-1 {
    padding-block-start: 0;
  }
}
