/* Projects index: scoped to the page body; Bricks header/footer keep their styles. */
#brx-content.eden-projects-index {
  --epi-ink: #18283f;
  --epi-muted: #68758a;
  --epi-navy: #0c2c58;
  --epi-border: #dce2eb;
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 24px 0 48px;
  background: #f5f7fa;
  color: var(--epi-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

#brx-content.eden-projects-index *,
#brx-content.eden-projects-index *::before,
#brx-content.eden-projects-index *::after {
  box-sizing: border-box;
}

#brx-content.eden-projects-index [hidden] {
  display: none !important;
}

#brx-content.eden-projects-index .epi-container {
  width: calc(100% - 64px);
  max-width: 1600px;
  min-width: 0;
  margin: 0 auto;
  padding: 0;
}

#brx-content.eden-projects-index .epi-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 18px;
  padding: 0;
}

#brx-content.eden-projects-index .epi-intro-copy {
  min-width: 0;
}

#brx-content.eden-projects-index .epi-intro h1 {
  margin: 0;
  padding: 0;
  color: var(--epi-ink);
  font-family: inherit;
  font-size: clamp(32px, 2.65vw, 38px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.45px;
  text-transform: none;
}

#brx-content.eden-projects-index .epi-intro-copy p {
  margin: 6px 0 0;
  padding: 0;
  color: var(--epi-muted);
  font-size: 15px;
  line-height: 21px;
}

#brx-content.eden-projects-index .epi-note {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  margin: 0 0 2px;
  color: var(--epi-muted);
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}

#brx-content.eden-projects-index .epi-note::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: #7a9985;
}

#brx-content.eden-projects-index .epi-browser {
  width: 100%;
  min-width: 0;
  margin: 0;
}

#brx-content.eden-projects-index .epi-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  margin: 0;
  padding: 0;
}

#brx-content.eden-projects-index .epi-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  min-width: 0;
  margin: 0;
  padding: 0;
}

#brx-content.eden-projects-index .epi-filter {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: auto;
  min-height: 40px;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
  color: #59677c;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 140ms ease, background-color 140ms ease;
}

#brx-content.eden-projects-index .epi-filter:hover {
  background: #e7ecf3;
  color: var(--epi-navy);
}

#brx-content.eden-projects-index .epi-filter.is-active,
#brx-content.eden-projects-index .epi-filter[aria-pressed="true"] {
  background: var(--epi-navy);
  color: #fff;
}

#brx-content.eden-projects-index .epi-total {
  color: inherit;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  opacity: 0.74;
}

#brx-content.eden-projects-index .epi-search {
  display: flex;
  flex: 0 0 264px;
  align-items: center;
  gap: 8px;
  width: 264px;
  min-width: 0;
  height: 40px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #d3dce9;
  border-radius: 6px;
  background: #fff;
  color: #8190a6;
  font-weight: 400;
  cursor: text;
}

#brx-content.eden-projects-index .epi-search > svg {
  display: block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
}

#brx-content.eden-projects-index .epi-search input[type="search"] {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: var(--epi-ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
}

#brx-content.eden-projects-index .epi-search input::placeholder {
  color: #8190a6;
  opacity: 1;
}

#brx-content.eden-projects-index .epi-search:focus-within {
  border-color: #6b85a9;
  outline: 2px solid #6b85a9;
  outline-offset: 2px;
}

#brx-content.eden-projects-index .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

#brx-content.eden-projects-index .epi-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 10px 0 12px;
  padding: 0;
  color: var(--epi-muted);
  font-size: 11px;
  line-height: 16px;
}

#brx-content.eden-projects-index .epi-status p {
  margin: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

#brx-content.eden-projects-index .epi-hint {
  display: flex;
  align-items: center;
  gap: 8px;
}

#brx-content.eden-projects-index .epi-hint svg {
  display: block;
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
}

#brx-content.eden-projects-index .epi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

#brx-content.eden-projects-index .epi-card {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--epi-border);
  border-radius: 7px;
  background: #fff;
  box-shadow: none;
  color: var(--epi-ink);
  font-family: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

#brx-content.eden-projects-index .epi-card-image {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  aspect-ratio: 2.2 / 1;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #e8edf2;
}

#brx-content.eden-projects-index .epi-card-image img {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: 2.2 / 1;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  vertical-align: middle;
}

#brx-content.eden-projects-index .epi-card-copy {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 82px;
  margin: 0;
  padding: 12px 14px 14px;
}

#brx-content.eden-projects-index .epi-card-category {
  margin: 0 0 5px;
  padding: 0;
  color: #657e9f;
  font-size: 10px;
  font-weight: 600;
  line-height: 12px;
  letter-spacing: 1.15px;
  text-transform: uppercase;
}

#brx-content.eden-projects-index .epi-card-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14px;
  align-items: start;
  gap: 10px;
  margin: 0;
  padding: 0;
}

#brx-content.eden-projects-index .epi-card-title-row h2 {
  min-width: 0;
  margin: 0;
  padding: 0;
  color: var(--epi-ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: anywhere;
}

#brx-content.eden-projects-index .epi-arrow {
  display: block;
  width: 14px;
  height: 14px;
  margin: 3px 0 0;
  color: #6e829c;
}

#brx-content.eden-projects-index .epi-card:hover {
  border-color: #99acc5;
  box-shadow: 0 2px 12px rgba(18, 43, 77, 0.07);
  color: var(--epi-ink);
  text-decoration: none;
}

#brx-content.eden-projects-index .epi-card:focus-visible,
#brx-content.eden-projects-index .epi-filter:focus-visible {
  outline: 3px solid #496f9e;
  outline-offset: 3px;
}

#brx-content.eden-projects-index .epi-empty {
  margin: 0;
  padding: 48px 24px;
  border: 1px dashed #bcc9da;
  border-radius: 7px;
  background: #fff;
  color: var(--epi-muted);
  text-align: center;
}

#brx-content.eden-projects-index .epi-empty h2 {
  margin: 0 0 8px;
  color: var(--epi-ink);
  font-family: inherit;
  font-size: 22px;
  line-height: 1.3;
}

#brx-content.eden-projects-index .epi-empty p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 1099px) {
  #brx-content.eden-projects-index .epi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  #brx-content.eden-projects-index .epi-toolbar {
    gap: 12px;
  }

  #brx-content.eden-projects-index .epi-filter {
    padding-right: 9px;
    padding-left: 9px;
  }

  #brx-content.eden-projects-index .epi-search {
    flex-basis: 240px;
    width: 240px;
  }
}

@media (max-width: 900px) {
  #brx-content.eden-projects-index .epi-note {
    display: none;
  }

  #brx-content.eden-projects-index .epi-toolbar {
    flex-wrap: wrap;
  }

  #brx-content.eden-projects-index .epi-filters {
    flex: 1 1 100%;
  }

  #brx-content.eden-projects-index .epi-search {
    flex: 1 1 100%;
    width: 100%;
  }
}

@media (max-width: 849px) {
  #brx-content.eden-projects-index .epi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  #brx-content.eden-projects-index {
    padding-top: 22px;
    padding-bottom: 32px;
  }

  #brx-content.eden-projects-index .epi-container {
    width: calc(100% - 32px);
  }

  #brx-content.eden-projects-index .epi-intro {
    margin-bottom: 18px;
  }

  #brx-content.eden-projects-index .epi-intro h1 {
    font-size: 32px;
  }

  #brx-content.eden-projects-index .epi-intro-copy p {
    font-size: 14px;
    line-height: 21px;
  }

  #brx-content.eden-projects-index .epi-filter {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 20px;
  }

  #brx-content.eden-projects-index .epi-search input[type="search"] {
    font-size: 16px;
  }

  #brx-content.eden-projects-index .epi-hint {
    display: none;
  }

  #brx-content.eden-projects-index .epi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  #brx-content.eden-projects-index .epi-card-image,
  #brx-content.eden-projects-index .epi-card-image img {
    aspect-ratio: 3 / 2;
  }

  #brx-content.eden-projects-index .epi-card-copy {
    padding: 10px;
  }

  #brx-content.eden-projects-index .epi-card-category {
    font-size: 9px;
    letter-spacing: .65px;
  }

  #brx-content.eden-projects-index .epi-card-title-row {
    grid-template-columns: minmax(0, 1fr) 12px;
    gap: 5px;
  }

  #brx-content.eden-projects-index .epi-card-title-row h2 {
    font-size: 13px;
  }

  #brx-content.eden-projects-index .epi-card-title-row .epi-arrow {
    width: 12px;
    height: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #brx-content.eden-projects-index .epi-card,
  #brx-content.eden-projects-index .epi-filter {
    transition: none;
  }
}
