/* ==========================================================================
   THEME-KEY-TERMS  â€”  Term definition cards
   ========================================================================== */

.theme-key-terms {
  padding: clamp(64px, 6vw, 100px) 0;
  background: #fff;
}

.theme-key-terms--yellow {
  background: var(--highlight-light);
}

.theme-key-terms .container {
  max-width: var(--container);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.theme-key-terms__title {
  font-family: var(--serif);
  font-size: var(--h1);
  font-weight: 600;
  line-height: 1.26;
  letter-spacing: -0.01em;
  color: var(--brand);
  margin: 0 0 32px;
}

.theme-key-terms__grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.theme-key-terms__card {
  position: relative;
  padding: 40px 60px;
  background: #fff;
  margin: 60px 0 50px;
}
.theme-key-terms__card:before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 100%;
  display: block;
  width: 50px;
  height: 60px;
  background: #fff;
  clip-path: polygon(0 0, 0% 100%, 100% 100%);
}
.theme-key-terms__card:after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  display: block;
  width: calc(100% + 30px);
  height: calc(100% + 30px);
  background: url(../../../assets/img/key-lines.png);
  /* background-size: cover; */
  background-position-y: bottom;
}
.theme-key-terms__card a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
.theme-key-terms__card .cnm-icon.icon-arrow-right-orange {
  font-size: 70px;
  margin: 20px 0 0;
  text-decoration: none;
}
.theme-key-terms__card ul {
  display: flex;
  flex-direction: column;
  gap: 20px
}

.theme-key-terms__term {
  display: inline;
  font-family: var(--sans);
  font-size: clamp(18px, 2vw, 36px);
  font-weight: 600;
  color: #037ABF;
  margin: 0 0 8px;
}

.theme-key-terms__def {
  display: inline;
  font-family: var(--sans);
  font-size: clamp(16px, 2vw, 36px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--brand);
  margin: 0;
}

.theme-key-terms__note {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #666;
  font-style: italic;
  margin: 0;
}

@media (max-width: 768px) {
  .theme-key-terms {
    padding: 48px 0;
  }
  .theme-key-terms__title {
    font-size: 46px;
  }
}

@media (max-width: 520px) {
  .theme-key-terms {
    padding: 36px 0;
  }
  .theme-key-terms__title {
    font-size: 36px;
  }
  .theme-key-terms__card {
    padding: 24px 28px;
  }
}
