/* Resources CTA Block Styles */

.resources-cta {
  /* Layout - section container */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 112px 0;
}

.resources-cta .content-box {
  /* Content container - matches Figma sections */
  background-color: var(--color-green-100, var(--color-green-200));
  width: 720px;
  max-width: calc(100% - 56px);
  padding: var(--spacing-16, 5rem); /* 80px */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-6, 2.5rem); /* 40px */
  border-radius: 0; /* Sharp corners as per Figma */
}

.resources-cta .text-content {
  /* Text wrapper */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-4, 1.75rem); /* 28px */
  text-align: center;
  width: 520px;
  max-width: 100%;
}

.resources-cta .block-heading {
  /* Figma: H1 - Sora 800 48px */
  color: var(var(--color-green-950), #373A19) !important;
  font-family: var(--font-heading, "Sora") !important;
  font-size: var(--font-size-5xl, 48px) !important;
  font-weight: var(--font-weight-extrabold, 800) !important;
  line-height: 0.9166666666666666em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.resources-cta .block-body {
  /* Figma: Body text - Azo Sans 400 16px */
  color: var(var(--color-green-950), #373A19) !important;
  font-family: var(--font-body, "Azo Sans") !important;
  font-size: var(--font-size-base, 16px) !important;
  font-weight: var(--font-weight-normal, 400) !important;
  line-height: 1.5em !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.resources-cta .button-wrapper {
  /* Button container */
  display: flex;
  justify-content: center;
  align-items: center;
}

.resources-cta .block-button {
  /* Button Primary - Figma exact specs */
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 24px;
  width: 348px;
  height: 72px;
  background-color: var(--color-yellow-200, #FBEB8F);
  border: 1px solid var(--color-gray-border, #D4D2C4);
  text-decoration: none;
  transition: all 0.3s ease;
}

.resources-cta .button-text {
  /* Button text - Azo Sans 500 14px */
  color: var(--color-green-950) !important;
  font-family: var(--font-body, "Azo Sans") !important;
  font-size: var(--font-size-sm, 14px) !important;
  font-weight: var(--font-weight-medium, 500) !important;
  line-height: 1.1428571428571428em !important;
  letter-spacing: 0.05714286em !important; /* 5.714286% */
  text-transform: uppercase !important;
  text-align: center !important;
}

.resources-cta .button-icon {
  /* Arrow icon */
  width: 24px;
  height: 24px;
  color: var(--color-green-950);
  transition: transform 0.3s ease;
}

/* Hover state */
.resources-cta .block-button:hover {
  background-color: var(--color-yellow-300, #F9E57A);
  border-color: var(--color-gray-border-dark, #B8B6A8);
  transform: translateY(-2px);
}

.resources-cta .block-button:hover .button-icon {
  transform: translate(2px, -2px);
}

/* Progressive enhancement animations */
.resources-cta .content-box {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.resources-cta.will-animate:not(.animate-in) .content-box {
  opacity: 0;
  transform: translateY(40px);
}

.resources-cta.animate-in .content-box {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Mobile responsive - matches Figma mobile design */
@media (max-width: 768px) {
  .resources-cta {
    padding: 80px 28px;
    min-height: auto;
  }
  
  .resources-cta .content-box {
    width: 100%;
    max-width: 100%;
    padding: var(--spacing-16, 5rem) var(--spacing-4, 1.75rem); /* 80px 28px */
  }
  
  .resources-cta .text-content {
    width: 100%;
  }
  
  .resources-cta .block-heading {
    font-size: var(--font-size-4xl, 36px) !important;
    line-height: 0.8888888888888888em !important;
  }
  
  .resources-cta .block-button {
    width: 100%;
    padding: 16px;
    height: auto;
    min-height: 56px;
  }
} 