#thinkagile-hx .resources-section {
  padding: 4rem 2rem;
}

#thinkagile-hx .resources-section--white {
  background-color: #fff;
}

#thinkagile-hx .resources-section--gray {
  background-color: #eaeef5;
}

#thinkagile-hx .resources-section .container {
  max-width: var(--container-max-width);
  margin: 0 auto;
}

#thinkagile-hx .resources-section h2 {
  font-family: var(--font-gotham-bold);
  font-size: clamp(1.875rem, 3.5vw, 2.25rem);
  line-height: 120%;
  color: var(--color-black);
  text-align: center;
  margin-bottom: 3rem;
}

#thinkagile-hx .resources-section .resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

#thinkagile-hx .resources-section .resource-card {
  display: flex;
  flex-direction: column;
}

#thinkagile-hx .resources-section .resource-card .image {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.5rem;
}

#thinkagile-hx .resources-section .resource-card .image img {
  width: 100%;
  height: auto;
  display: block;
}

#thinkagile-hx .resources-section .resource-card .content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

#thinkagile-hx .resources-section .resource-card h3 {
  font-family: var(--font-gotham-bold);
  font-size: 1.25rem;
  line-height: 130%;
  color: var(--color-black);
  margin: 0;
  text-align: center;
}

#thinkagile-hx .resources-section .resource-card p {
  font-family: var(--font-gotham-book);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text-gray);
  margin: 0;
  flex: 1;
  text-align: center;
}

#thinkagile-hx .resources-section .resource-card .button {
  display: inline-block;
  background-color: var(--color-primary-red);
  color: var(--color-white);
  font-family: var(--font-gotham-bold);
  font-size: 1rem;
  padding: 0.875rem 2rem;
  text-decoration: none;
  border-radius: 4px;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

#thinkagile-hx .resources-section .resource-card .button:hover {
  background-color: var(--color-primary-red-alt);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

#thinkagile-hx .resources-section .resource-card .button:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
}

@media (max-width: 767px) {
  #thinkagile-hx .resources-section {
    padding: 3rem 1.5rem;
  }

  #thinkagile-hx .resources-section .resources-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  #thinkagile-hx .resources-section h2 {
    margin-bottom: 2rem;
  }

  #thinkagile-hx .resources-section .resource-card .button {
    display: inline-flex;
    width: auto;
    height: auto;
    max-width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    line-height: 1.25;
    white-space: normal;
  }
}

