/* =============================================
   CTA Download Section
   ============================================= */

.cd-section {
  width: 100%;
  background: #2E5B66;
  font-family: 'Amorim Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  box-sizing: border-box;
}

.cd-section__inner { 
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 60px 8%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  width: 100%;
  max-height: 250px;
}

/* ----- Left: text ----- */
.cd-section__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 50%;
  margin-top: 14px;
  margin-bottom: 14px;
}

.cd-section__heading {
  color: #FFF;
  font-family: "Amorim Sans";
  font-size: 26px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.52px;
  margin: 0;
}

.cd-section__text {
  font-family: 'Amorim Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
  margin: 0;
}

/* ----- Right: download block ----- */
.cd-section__link {
  position: relative;
  display: flex;
  flex-shrink: 0;
  text-decoration: none;
  color: #fff;
  height: 274px;
  transition: opacity 0.25s ease;
  aspect-ratio: 217 / 274;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 106px;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 55px;
  border-radius: 4px;
  overflow: clip;
}

.cd-section__link:hover {
  text-decoration: none;
}

.cd-section__link::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0);
  transition: background-color 0.3s ease;
  pointer-events: none;
}

.cd-section__link:hover::after {
  background-color: rgba(255, 255, 255, 0.1);
}

.cd-section__link-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 15px 16px;
  align-items: center;
  gap: 10px;
  background: rgba(17, 37, 42, 0.85);
  width: 100%;
 }

.cd-section__link:hover .cd-section__link-inner {
  color: #ffffff;
  text-decoration: none;
  font-weight: 400;
}

.cd-section__link-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: color 0.25s ease;
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
  @media (max-width: 900px) {
    .cd-section__inner {
        max-height: none;
        display: flex;
        padding: 244px 20px 60px 20px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        align-self: stretch;
        position: relative;
  }

  .cd-section__heading {
    font-size: 26px;
  }

  .cd-section__content {
    max-width: 100%;
  }
  a.cd-section__link {
    position: absolute;
    right: inherit;
    top: -50px;
  }
}