.cdp-listing-shell {
  margin: 0;
  width: 100%;
  max-width: none;
  padding: 14px 0 8px;
  border: 1px solid #d7dde7;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(247, 250, 255, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: 0 24px 48px rgba(23, 37, 84, 0.08);
}

.cdp-listing-shell--spacious {
  padding: 18px 0 14px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(245, 248, 255, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: 0 20px 44px rgba(23, 37, 84, 0.07);
}

.cdp-listing-shell__inner {
  width: 100%;
}

.cdp-listing-shell__inner--panel {
  padding: 22px 24px 18px;
  border: 1px solid #d7dde7;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.cdp-listing-grid {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid #d7dde7;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(31, 36, 93, 0.08);
}

.cdp-listing-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}

.cdp-listing-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.cdp-listing-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.cdp-listing-grid__item {
  min-width: 0;
  position: relative;
}

.cdp-document-list {
  display: grid;
  gap: 18px;
}

.cdp-document-list__item {
  display: grid;
  gap: 10px;
  padding: 22px 24px;
  border: 1px solid #d6dfef;
  border-radius: 24px;
  background: #ffffff;
}

.cdp-document-list__title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #1f355c;
}

.cdp-document-list__title a {
  color: inherit;
  text-decoration: none;
}

.cdp-document-list__title a:hover,
.cdp-document-list__title a:focus-visible {
  text-decoration: underline;
}

.cdp-document-list__summary {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #334866;
}

.cdp-view-toggle__panels {
  width: 100%;
}

.cdp-view-toggle {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.cdp-view-toggle__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #c8d3e8;
  border-radius: 999px;
  background: #ffffff;
  color: #233b72;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.cdp-view-toggle__button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.cdp-view-toggle__button svg path {
  fill: currentColor;
}

.cdp-view-toggle__button.is-active {
  border-color: #233b72;
  background: #233b72;
  color: #ffffff;
}

.cdp-view-toggle__pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.cdp-view-toggle__page-button {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #c8d3e8;
  border-radius: 999px;
  background: #ffffff;
  color: #233b72;
  font-size: 14px;
  font-weight: 700;
}

.cdp-view-toggle__page-button.is-active {
  border-color: #233b72;
  background: #233b72;
  color: #ffffff;
}

@media (max-width: 991px) {
  .cdp-listing-grid {
    gap: 20px;
  }

  .cdp-listing-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cdp-document-list__title {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .cdp-listing-shell {
    padding: 14px 0 8px;
  }

  .cdp-listing-grid {
    padding: 18px 14px;
  }

  .cdp-listing-shell--spacious {
    padding: 14px 0 12px;
    border-radius: 24px;
  }

  .cdp-listing-shell__inner--panel {
    padding: 18px;
    border-radius: 20px;
  }

  .cdp-listing-grid--4,
  .cdp-listing-grid--3,
  .cdp-listing-grid--2 {
    grid-template-columns: 1fr;
  }
}
