/* Knowledge archive: buyer-question discovery and editorial conversion path. */

.pdl-knowledge-archive {
  color: #17364f;
  background: #fff;
}

.pdl-knowledge-archive-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(420px, 39vw, 520px);
  overflow: hidden;
  background: #0b2b47;
}

.pdl-knowledge-archive-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 26, 45, .94) 0%, rgba(6, 38, 65, .8) 52%, rgba(6, 42, 71, .52) 100%),
    linear-gradient(180deg, rgba(5, 25, 43, .12) 0%, rgba(5, 25, 43, .42) 100%);
}

.pdl-knowledge-archive-hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  margin: 0;
}

.pdl-knowledge-archive-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pdl-knowledge-archive-hero-inner {
  padding-top: clamp(54px, 6vw, 78px);
  padding-bottom: clamp(54px, 6vw, 78px);
}

.pdl-knowledge-archive-hero .pdl-eyebrow {
  margin-bottom: 14px;
  color: #8fd5ff;
}

.pdl-knowledge-archive-hero h1 {
  max-width: 12em;
  margin: 0;
  color: #fff;
  font-size: clamp(2.45rem, 4.3vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.pdl-knowledge-archive-lead {
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.75;
}

.pdl-knowledge-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  width: min(780px, 100%);
  min-height: 62px;
  margin-top: 28px;
  padding: 6px 6px 6px 18px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 7px;
  box-shadow: 0 22px 52px rgba(1, 17, 31, .22);
}

.pdl-knowledge-search > span {
  display: grid;
  place-items: center;
  color: #3f6e92;
}

.pdl-knowledge-search svg {
  width: 21px;
  height: 21px;
}

.pdl-knowledge-search input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  color: #17364f;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: .98rem;
}

.pdl-knowledge-search input::placeholder {
  color: #8293a3;
}

.pdl-knowledge-search:focus-within {
  border-color: #8fd5ff;
  box-shadow: 0 0 0 3px rgba(143, 213, 255, .22), 0 22px 52px rgba(1, 17, 31, .22);
}

.pdl-knowledge-search button {
  min-height: 48px;
  padding: 0 24px;
  color: #fff;
  background: #075bc7;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 800;
  transition: background-color 180ms ease, transform 180ms ease;
}

.pdl-knowledge-search button:hover,
.pdl-knowledge-search button:focus-visible {
  background: #064aa3;
  transform: translateY(-1px);
}

.pdl-knowledge-hero-support {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin-top: 16px;
  color: rgba(255, 255, 255, .62);
  font-size: .86rem;
}

.pdl-knowledge-hero-support a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #fff;
  font-weight: 750;
}

.pdl-knowledge-hero-support svg {
  width: 16px;
  height: 16px;
}

.pdl-knowledge-task-section {
  padding: clamp(54px, 6vw, 76px) 0;
  background: #fff;
}

.pdl-knowledge-task-heading,
.pdl-knowledge-library-heading {
  display: flex;
  gap: 36px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 30px;
}

.pdl-knowledge-task-heading h2,
.pdl-knowledge-library-heading h2,
.pdl-knowledge-conversion-grid h2 {
  margin: 0;
  color: #102941;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.16;
  letter-spacing: 0;
  text-wrap: balance;
}

.pdl-knowledge-task-heading > p,
.pdl-knowledge-library-heading > p {
  max-width: 450px;
  margin: 0;
  color: #63788a;
  line-height: 1.7;
}

.pdl-knowledge-task-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(19, 61, 96, .14);
  border-bottom: 1px solid rgba(19, 61, 96, .14);
}

.pdl-knowledge-task-grid > a {
  position: relative;
  display: grid;
  align-content: start;
  min-width: 0;
  min-height: 230px;
  padding: 28px 28px 32px;
  transition: background-color 220ms ease, transform 220ms ease;
}

.pdl-knowledge-task-grid > a + a {
  border-left: 1px solid rgba(19, 61, 96, .14);
}

.pdl-knowledge-task-grid > a:hover,
.pdl-knowledge-task-grid > a:focus-visible {
  background: #f1f7fc;
  transform: translateY(-2px);
}

.pdl-knowledge-task-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  color: #075bc7;
  background: #e8f3fc;
  border-radius: 6px;
}

.pdl-knowledge-task-icon svg {
  width: 22px;
  height: 22px;
}

.pdl-knowledge-task-grid small {
  color: #075bc7;
  font-size: .75rem;
  font-weight: 850;
}

.pdl-knowledge-task-grid strong {
  max-width: 13em;
  margin-top: 6px;
  color: #17364f;
  font-size: 1.08rem;
  line-height: 1.42;
}

.pdl-knowledge-task-grid p {
  margin: 10px 0 0;
  color: #687c8d;
  font-size: .88rem;
  line-height: 1.65;
}

.pdl-knowledge-task-arrow {
  position: absolute;
  right: 24px;
  bottom: 25px;
  display: grid;
  place-items: center;
  color: #075bc7;
  opacity: .56;
  transition: opacity 180ms ease, transform 180ms ease;
}

.pdl-knowledge-task-grid > a:hover .pdl-knowledge-task-arrow,
.pdl-knowledge-task-grid > a:focus-visible .pdl-knowledge-task-arrow {
  opacity: 1;
  transform: translateX(3px);
}

.pdl-knowledge-editor-pick {
  padding: clamp(58px, 7vw, 88px) 0;
  background: #eef5fa;
  border-top: 1px solid rgba(19, 61, 96, .08);
  border-bottom: 1px solid rgba(19, 61, 96, .1);
}

.pdl-knowledge-editor-pick-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: clamp(42px, 6vw, 78px);
  align-items: center;
}

.pdl-knowledge-editor-pick-media {
  display: block;
  min-height: 390px;
  overflow: hidden;
  background: #dce8f1;
  border-radius: 7px;
  box-shadow: 0 24px 58px rgba(20, 55, 84, .14);
}

.pdl-knowledge-editor-pick-media img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  transition: transform 480ms cubic-bezier(.22, .8, .25, 1);
}

.pdl-knowledge-editor-pick-media:hover img {
  transform: scale(1.025);
}

.pdl-knowledge-editor-pick-copy {
  max-width: 520px;
}

.pdl-knowledge-editor-pick-copy .pdl-eyebrow {
  margin-bottom: 12px;
}

.pdl-knowledge-editor-pick-copy h2 {
  margin: 14px 0 16px;
  color: #102941;
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  line-height: 1.14;
  letter-spacing: 0;
  text-wrap: balance;
}

.pdl-knowledge-editor-pick-copy > p:not(.pdl-eyebrow) {
  margin: 0 0 26px;
  color: #5d7284;
  font-size: 1rem;
  line-height: 1.8;
}

.pdl-knowledge-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  align-items: center;
  color: #7a8b99;
  font-size: .75rem;
  font-weight: 650;
}

.pdl-knowledge-article-meta span:first-child {
  color: #075bc7;
  font-weight: 850;
}

.pdl-knowledge-library-section {
  padding: clamp(68px, 8vw, 100px) 0;
  background: #fff;
}

.pdl-knowledge-library-heading > p span {
  display: inline-block;
  margin-left: 10px;
  color: #075bc7;
  font-weight: 800;
}

.pdl-knowledge-topic-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 28px;
}

.pdl-knowledge-topic-filter a {
  min-height: 36px;
  padding: 6px 13px;
  color: #47677f;
  background: #f1f6fa;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: .82rem;
  font-weight: 700;
}

.pdl-knowledge-topic-filter a:hover,
.pdl-knowledge-topic-filter a:focus-visible,
.pdl-knowledge-topic-filter a.is-active {
  color: #075bc7;
  background: #fff;
  border-color: rgba(7, 91, 199, .28);
}

.pdl-knowledge-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 52px 28px;
}

.pdl-knowledge-article-card {
  min-width: 0;
}

.pdl-knowledge-article-card > a {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}

.pdl-knowledge-article-card figure {
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  background: #e8f0f6;
  border-radius: 6px;
}

.pdl-knowledge-article-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(.22, .8, .25, 1);
}

.pdl-knowledge-article-card > a:hover img,
.pdl-knowledge-article-card > a:focus-visible img {
  transform: scale(1.025);
}

.pdl-knowledge-article-card > a > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 2px 0;
}

.pdl-knowledge-article-card h3 {
  margin: 10px 0 10px;
  color: #17364f;
  font-size: 1.18rem;
  line-height: 1.42;
  text-wrap: balance;
}

.pdl-knowledge-article-card p {
  margin: 0;
  color: #65798a;
  font-size: .9rem;
  line-height: 1.7;
}

.pdl-knowledge-read-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
  color: #075bc7;
  font-size: .84rem;
  font-weight: 800;
}

.pdl-knowledge-read-link svg {
  width: 15px;
  height: 15px;
  transition: transform 180ms ease;
}

.pdl-knowledge-article-card > a:hover .pdl-knowledge-read-link svg,
.pdl-knowledge-article-card > a:focus-visible .pdl-knowledge-read-link svg {
  transform: translateX(3px);
}

.pdl-knowledge-empty-state {
  padding: 44px;
  text-align: center;
  background: #f3f8fb;
  border-radius: 7px;
}

.pdl-knowledge-empty-state h3 {
  margin: 0 0 8px;
  color: #17364f;
}

.pdl-knowledge-empty-state p {
  margin: 0;
  color: #667b8d;
}

.pdl-knowledge-empty-state > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}

.pdl-knowledge-pagination {
  margin-top: 48px;
}

.pdl-knowledge-conversion-section {
  padding: clamp(62px, 7vw, 88px) 0;
  color: #fff;
  background: #075bc7;
}

.pdl-knowledge-conversion-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .8fr);
  gap: clamp(44px, 7vw, 92px);
  align-items: center;
}

.pdl-knowledge-conversion-grid .pdl-eyebrow {
  color: #b9e4ff;
}

.pdl-knowledge-conversion-grid h2 {
  color: #fff;
}

.pdl-knowledge-conversion-grid > div:first-child > p:last-child {
  max-width: 690px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.78;
}

.pdl-knowledge-conversion-actions ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.pdl-knowledge-conversion-actions li {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, .84);
  font-size: .82rem;
  line-height: 1.45;
}

.pdl-knowledge-conversion-actions li svg {
  width: 22px;
  height: 22px;
  color: #b9e4ff;
}

.pdl-knowledge-conversion-actions > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pdl-knowledge-conversion-section .pdl-button-primary {
  color: #075bc7;
  background: #fff;
  border-color: #fff;
}

.pdl-knowledge-conversion-section .pdl-button-primary:hover,
.pdl-knowledge-conversion-section .pdl-button-primary:focus-visible {
  color: #064aa3;
  background: #edf7ff;
}

.pdl-knowledge-conversion-section .pdl-button-secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, .5);
}

.pdl-knowledge-conversion-section .pdl-button-secondary:hover,
.pdl-knowledge-conversion-section .pdl-button-secondary:focus-visible {
  background: rgba(255, 255, 255, .1);
  border-color: #fff;
}

@media (max-width: 980px) {
  .pdl-knowledge-task-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pdl-knowledge-task-grid > a:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(19, 61, 96, .14);
  }

  .pdl-knowledge-task-grid > a:nth-child(4) {
    border-top: 1px solid rgba(19, 61, 96, .14);
  }

  .pdl-knowledge-editor-pick-grid,
  .pdl-knowledge-conversion-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr);
    gap: 40px;
  }

  .pdl-knowledge-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .pdl-knowledge-archive-hero {
    min-height: 470px;
  }

  .pdl-knowledge-archive-hero::after {
    background:
      linear-gradient(90deg, rgba(5, 26, 45, .92), rgba(6, 38, 65, .76)),
      linear-gradient(180deg, rgba(5, 25, 43, .16), rgba(5, 25, 43, .5));
  }

  .pdl-knowledge-archive-hero-inner {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .pdl-knowledge-archive-hero h1 {
    font-size: 2.25rem;
  }

  .pdl-knowledge-archive-lead {
    margin-top: 15px;
    font-size: .95rem;
    line-height: 1.68;
  }

  .pdl-knowledge-search {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0;
    margin-top: 22px;
    padding: 7px;
  }

  .pdl-knowledge-search > span {
    padding-left: 8px;
  }

  .pdl-knowledge-search input {
    padding-right: 8px;
    font-size: .9rem;
  }

  .pdl-knowledge-search button {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 5px;
  }

  .pdl-knowledge-hero-support {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 12px;
    font-size: .78rem;
  }

  .pdl-knowledge-task-heading,
  .pdl-knowledge-library-heading {
    display: block;
    margin-bottom: 24px;
  }

  .pdl-knowledge-task-heading > p,
  .pdl-knowledge-library-heading > p {
    margin-top: 10px;
    font-size: .88rem;
  }

  .pdl-knowledge-task-grid > a {
    min-height: 178px;
    padding: 22px 18px 24px;
  }

  .pdl-knowledge-task-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
  }

  .pdl-knowledge-task-grid strong {
    font-size: .96rem;
  }

  .pdl-knowledge-task-grid p {
    display: none;
  }

  .pdl-knowledge-task-arrow {
    right: 16px;
    bottom: 18px;
  }

  .pdl-knowledge-editor-pick-grid,
  .pdl-knowledge-conversion-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pdl-knowledge-editor-pick-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .pdl-knowledge-editor-pick-media img {
    min-height: 0;
  }

  .pdl-knowledge-editor-pick-copy h2 {
    font-size: 1.85rem;
  }

  .pdl-knowledge-topic-filter {
    flex-wrap: nowrap;
    margin-inline: -14px;
    padding: 0 14px 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .pdl-knowledge-topic-filter::-webkit-scrollbar {
    display: none;
  }

  .pdl-knowledge-topic-filter a {
    flex: 0 0 auto;
  }

  .pdl-knowledge-article-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .pdl-knowledge-article-card {
    padding: 18px 0;
    border-top: 1px solid rgba(19, 61, 96, .12);
  }

  .pdl-knowledge-article-card:last-child {
    border-bottom: 1px solid rgba(19, 61, 96, .12);
  }

  .pdl-knowledge-article-card > a {
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-rows: none;
    gap: 16px;
    align-items: center;
  }

  .pdl-knowledge-article-card figure {
    width: 112px;
    height: 112px;
    aspect-ratio: auto;
  }

  .pdl-knowledge-article-card > a > div {
    min-width: 0;
    padding: 0;
  }

  .pdl-knowledge-article-card h3 {
    margin: 7px 0 0;
    font-size: 1rem;
    line-height: 1.42;
  }

  .pdl-knowledge-article-card p,
  .pdl-knowledge-read-link,
  .pdl-knowledge-article-meta time {
    display: none;
  }

  .pdl-knowledge-conversion-actions ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pdl-knowledge-conversion-actions > div {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pdl-knowledge-conversion-actions .pdl-button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .pdl-knowledge-task-grid > a {
    min-height: 188px;
    padding-inline: 15px;
  }

  .pdl-knowledge-task-grid strong {
    font-size: .9rem;
  }

  .pdl-knowledge-article-card > a {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 13px;
  }

  .pdl-knowledge-article-card figure {
    width: 96px;
    height: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pdl-knowledge-archive * {
    scroll-behavior: auto !important;
  }

  .pdl-knowledge-task-grid > a,
  .pdl-knowledge-editor-pick-media img,
  .pdl-knowledge-article-card img,
  .pdl-knowledge-read-link svg {
    transition: none !important;
  }
}
