/* Catalog of completed supply projects. Header, project cards, chips and icons come from styles.css. */
.medc-next-scope .sr-only{ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.medc-next-scope.medc-projects-preview .page-title{ max-width: none; }
.medc-next-scope .projects-page{
  background: transparent;
}
.medc-next-scope .project-filters{ margin-top: 39px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px 24px; }
.medc-next-scope .project-filter{ min-height: 77px; padding: 6px 18px 6px 7px; border: 1px solid var(--line); border-radius: 4px; background: #fff; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; column-gap: 14px; text-align: left; cursor: pointer; }
.medc-next-scope .project-filter.is-active{ background: var(--subtle); }
.medc-next-scope .project-filter picture,.medc-next-scope .project-filter img{ display: block; width: 64px; height: 64px; }
.medc-next-scope .project-filter img{ object-fit: cover; }
.medc-next-scope .project-filter__name{ font-size: 16px; line-height: 1.18; font-weight: 600; }
.medc-next-scope .project-filter__count{ min-width: 27px; padding-left: 13px; border-left: 1px solid var(--line); color: var(--blue); font-size: 18px; line-height: 24px; font-weight: 600; text-align: right; }
.medc-next-scope .projects-list{ margin-top: 84px; padding-bottom: 80px; }
.medc-next-scope .projects-toolbar{ min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.medc-next-scope .projects-toolbar h2{ margin: 0; font-size: 28px; line-height: 36px; font-weight: 500; }
.medc-next-scope .projects-heading__compact{ display: none; }
.medc-next-scope .projects-sort{ display: flex; align-items: center; gap: 31px; }
.medc-next-scope .projects-sort__label{ color: var(--secondary); font-size: 14px; line-height: 19px; }
.medc-next-scope .projects-select{ position: relative; width: 190px; height: 40px; }
.medc-next-scope .projects-select select{ width: 100%; height: 40px; padding: 0 38px 0 13px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); font-family: Manrope, Arial, sans-serif; font-size: 14px; outline: 0; appearance: none; cursor: pointer; }
.medc-next-scope .projects-select svg{ position: absolute; right: 12px; top: 50%; width: 10px; height: 6px; transform: translateY(-50%) rotate(90deg); pointer-events: none; color: #191d20; }
.medc-next-scope .projects-grid{ margin-top: 43px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.medc-next-scope .projects-card--supplemental{ display: none !important; }
.medc-next-scope .projects-card[hidden]{ display: none !important; }
.medc-next-scope .projects-more{ width: 100%; height: 46px; margin-top: 40px; padding: 0; border: 1px solid var(--blue); border-radius: 4px; background: #fff; color: var(--blue); font-size: 16px; font-weight: 500; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.medc-next-scope .projects-pagination{ height: 36px; margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.medc-next-scope .projects-pagination button,.medc-next-scope .projects-pagination a{ width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); font-size: 14px; cursor: pointer; display: grid; place-items: center; }
.medc-next-scope .projects-pagination button.is-active,.medc-next-scope .projects-pagination a.is-active{ border-color: var(--blue); background: var(--blue); color: #fff; }
.medc-next-scope .projects-empty{ display: none; grid-column: 1 / -1; min-height: 160px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 4px; color: var(--secondary); }
@media (min-width: 900px) and (max-width: 1199px) {
  .medc-next-scope .project-filters{ margin-top: 31px; }
  .medc-next-scope .projects-list{ margin-top: 65px; }
  .medc-next-scope .projects-heading__desktop{ display: none; }
  .medc-next-scope .projects-heading__compact{ display: inline; }
  .medc-next-scope .projects-grid{ margin-top: 24px; }
  .medc-next-scope .projects-card{ min-height: 587px; grid-template-rows: 300px 1fr 46px; }
  .medc-next-scope .projects-card--desktop-extra{ display: none !important; }
  .medc-next-scope .projects-more{ margin-top: 24px; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .medc-next-scope .project-filters{ margin-top: 31px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .medc-next-scope .projects-list{ margin-top: 60px; padding-bottom: 60px; }
  .medc-next-scope .projects-heading__desktop{ display: none; }
  .medc-next-scope .projects-heading__compact{ display: inline; }
  .medc-next-scope .projects-sort{ gap: 0; }
  .medc-next-scope .projects-sort__label{ display: none; }
  .medc-next-scope .projects-select{ width: 148px; }
  .medc-next-scope .projects-grid{ margin-top: 40px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .medc-next-scope .projects-grid .projects-card{ display: grid; min-height: 587px; grid-template-rows: 300px 1fr 46px; }
  .medc-next-scope .projects-card--desktop-extra{ display: none !important; }
  .medc-next-scope .projects-more{ margin-top: 24px; }
}
@media (max-width: 599px) {
  .medc-next-scope.medc-projects-preview .catalog-button{ background: var(--blue); color: #fff; border: 0; }
  .medc-next-scope.medc-projects-preview .breadcrumbs{ margin-top: 17px; }
  .medc-next-scope.medc-projects-preview .page-title{ margin-top: 12px; font-size: 28px; line-height: 36px; }
  .medc-next-scope .project-filters{ margin-top: 33px; grid-template-columns: 1fr; gap: 13px; }
  .medc-next-scope .project-filter{ min-height: 77px; }
  .medc-next-scope .projects-list{ margin-top: 60px; padding-bottom: 60px; }
  .medc-next-scope .projects-toolbar{ display: block; }
  .medc-next-scope .projects-toolbar h2{ font-size: 24px; line-height: 31px; }
  .medc-next-scope .projects-heading__desktop{ display: none; }
  .medc-next-scope .projects-heading__compact{ display: inline; }
  .medc-next-scope .projects-sort{ margin-top: 13px; justify-content: space-between; gap: 18px; }
  .medc-next-scope .projects-select{ width: 148px; flex: 0 0 148px; }
  .medc-next-scope .projects-grid{ margin-top: 40px; grid-template-columns: 1fr; gap: 20px; }
  .medc-next-scope .projects-grid .projects-card{ display: grid; min-height: 564px; grid-template-rows: 300px 1fr 46px; }
  .medc-next-scope .projects-grid .projects-card:first-child{ min-height: 600px; }
  .medc-next-scope .projects-card--desktop-extra{ display: none !important; }
  .medc-next-scope .projects-more{ margin-top: 40px; }
}
@media (max-width: 374px) {
  .medc-next-scope.medc-projects-preview .page-title{ max-width: 260px; }
  .medc-next-scope .projects-sort__label{ display: none; }
  .medc-next-scope .projects-select{ width: 100%; flex: 1 1 auto; }
  .medc-next-scope .projects-grid{ margin-top: 30px; }
  .medc-next-scope .projects-grid .projects-card,.medc-next-scope .projects-grid .projects-card:first-child{ min-height: 620px; }
  .medc-next-scope .projects-more{ margin-top: 40px; }
}
@media (hover: hover) {
  .medc-next-scope .project-filter:hover{ border-color: #9ed8fa; }
  .medc-next-scope .projects-more:hover{ background: var(--subtle); }
  .medc-next-scope .projects-pagination button:hover,.medc-next-scope .projects-pagination a:hover{ border-color: var(--blue); color: var(--blue); }
  .medc-next-scope .projects-pagination button.is-active:hover,.medc-next-scope .projects-pagination a.is-active:hover{ color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  .medc-next-scope .project-filter,.medc-next-scope .projects-more,.medc-next-scope .projects-pagination button,.medc-next-scope .projects-pagination a{ transition: none; }
}

/* Dynamic catalog labels must shrink and wrap inside their grid tracks. */
.medc-next-scope .project-filter,.medc-next-scope .project-filter__name,.medc-next-scope .project-filter__count,.medc-next-scope .projects-toolbar,.medc-next-scope .projects-sort,.medc-next-scope .projects-card{
  min-width: 0;
}
.medc-next-scope .project-filter__count{
  min-width: 27px;
}
.medc-next-scope .project-filter__name,.medc-next-scope .projects-card h3{
  overflow-wrap: anywhere;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.medc-next-scope .related-card{
  grid-template-columns: minmax(0, 1fr);
}
/* Server-rendered project cards use the same visual contract as the static reference. */
.medc-next-scope .projects-card .related-photo{
  position: relative;
  min-width: 0;
  height: 300px;
  display: block;
  overflow: hidden;
  background: #eef1f3;
}
.medc-next-scope .projects-card .related-photo picture,.medc-next-scope .projects-card .related-photo img,.medc-next-scope .project-card-placeholder{
  display: block;
  width: 100%;
  height: 100%;
}
.medc-next-scope .projects-card .related-photo img{
  object-fit: cover;
}
.medc-next-scope .project-card-placeholder{
  background: linear-gradient(135deg, #eff9ff, #e8edf1);
}
.medc-next-scope .projects-card .related-badge{
  position: absolute;
  top: 12px;
  left: 12px;
  bottom: auto;
}
.medc-next-scope .projects-card .related-meta{
  min-width: 0;
}
.medc-next-scope .projects-card .related-meta span{
  min-width: 0;
  overflow-wrap: anywhere;
}
.medc-next-scope .projects-card .related-link{
  text-transform: uppercase;
}
.medc-next-scope .projects-card .related-link svg{
  width: 18px;
  height: 18px;
}
.medc-next-scope .projects-card--desktop-extra.is-revealed,.medc-next-scope .projects-card--supplemental.is-revealed{
  display: grid !important;
}
@media (min-width: 1200px) {
  .medc-next-scope .projects-more[data-responsive-only]{
    display: none;
  }
}
@media (max-width: 599px) {
  .medc-next-scope .project-filters{
    scroll-margin-top: 82px;
  }
}
