/* ==========================================================================
   THEME-RESOURCES  â€”  Resource links
   ========================================================================== */

.theme-resources {
  padding: var(--section-pad-y) 0;
  background: var(--blue-light);
}

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

.theme-resources__title {
  font-family: var(--sans-condensed);
  font-size: var(--h3);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3.68px;
  line-height: 1.2;
  color: var(--brand);
  margin: 0 0 40px;
}

.theme-resources__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.theme-resources__card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--brand-green-light);
  color: #fff;
  padding: 24px 28px;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
  clip-path: polygon(100% 0, 100% 65%, 92% 100%, 0 100%, 0 0);
}

.theme-resources__card:hover {
  background: var(--brand-green-accent);
  transform: translateY(-2px);
}
.theme-resources__card svg path {
  transition: all .3s ease;
}
.theme-resources__card:hover svg path {
  fill: #eae856
}

.theme-resources__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-resources__icon img {
  width: auto;
  height: 63px;
  width: 63px;
}

.theme-resources__label {
  flex: 1;
  font-family: var(--sans-condensed);
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3em; /* 176.667% */
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.theme-resources__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: #fff;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1400px) {
  .theme-resources__label {
    font-size: 25px;
  }
}
@media (max-width: 768px) {
  .theme-resources__title {
    margin-bottom: 28px;
  }

  .theme-resources__grid {
    grid-template-columns: 1fr;
  }

  .theme-resources__label {
    font-size: 20px;
  }
}

@media (max-width: 520px) {
  .theme-resources__title {
    font-size: 28px;
  }

  .theme-resources__card {
    padding: 18px 20px;
  }

  .theme-resources__label {
    font-size: 18px;
  }
}
