/* ==========================================================================
   THEME-CHALLENGES  ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â  Two-column rows: text + key-terms-style card
   ========================================================================== */

.theme-challenges {
   position: relative;
  padding: 0 0 150px;
  background: var(--brand);
  overflow: hidden;
}
.theme-challenges__lines {
  margin: 0 0 100px;
}

.theme-challenges__lines img {
  display: block;
  width: 100%;
  height: auto;
}

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

.theme-challenges__title {
  font-family: var(--serif);
  font-size: var(--h1);
  font-weight: 600;
  color: #fff;
  margin: 0 0 30px;
  line-height: 1.2;
}

.theme-challenges__rows {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.theme-challenges__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.theme-challenges__left {
  font-family: var(--sans);
  font-size: var(--body-lg);
  line-height: 1.5;
  color: #fff;
}
.theme-challenges__left p,
.theme-challenges__left h3 { 
  color: #fff;
  margin: 0 0 16px;
}
.theme-challenges__left p:last-child,
.theme-challenges__left h3:last-child{ margin-bottom: 0; }
.theme-challenges__left p span {
  background-image: url(../../../assets/img/challenges-line.svg);
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: contain;
  padding-bottom: 5px;
}

.theme-challenges__right  .theme-challenges__card {
  margin: 0;
  background: #F4F3B8;
  padding: 30px;
  color: #000;
  line-height: 150%;
}
.theme-challenges__right .theme-challenges__card:before {
  background: #F4F3B8;
  left: unset;
  bottom: unset;
  right: 100%;
  margin-right: -1px;
  top: 0;
  width: 70px;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.theme-challenges__right .theme-challenges__card:after {
    background-image: url(../../../assets/img/chalenges-lines.svg);
    width: calc(100% + 20px);
    height: calc(100% + 20px);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1400px) {
  .theme-challenges__right .theme-challenges__card { font-size: 25px }
}
@media (max-width: 768px) {
  .theme-challenges__title { font-size: 42px }
  .theme-challenges__right .theme-challenges__card { font-size: 20px }
  .theme-challenges {padding: 0 0 48px;}
  .theme-challenges__rows { gap: 48px; }
  .theme-challenges__row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 520px) {
  .theme-challenges__right .theme-challenges__card { font-size: 18px }
  .theme-challenges {padding: 0 0 36px;}
  .theme-challenges__title { font-size: 36px; }
}