/* ===========================================================================
   [candidate-app-cta-slim] — slim, image-less "download the app" CTA
   ---------------------------------------------------------------------------
   Space-constrained variant of the full [candidate-app-cta]. Copy on the left,
   the two app-store badges STACKED vertically on the right, no image. Built for
   the /jobs page so the CTA doesn't push the live job listings below the fold.

   Self-contained + enqueued globally at priority 999 (see inc/enqueue.php) so
   it wins the cascade over the broad `.tc-lp *{margin:0;padding:0}` reset used
   on the landing templates, and renders correctly on Elementor pages too.
   =========================================================================== */

.tc-cta-slim {
  padding: 32px 0;
  font-family: 'Oakes Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
}

.tc-cta-slim * {
  box-sizing: border-box;
}

.tc-cta-slim__card {
  width: 100%;
  margin: 0;
  background: #0065E4;
  border-radius: 8px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Text column ----------------------------------------------------------- */
.tc-cta-slim__content {
  min-width: 0;
}

.tc-cta-slim__eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.tc-cta-slim__heading {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.tc-cta-slim__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  max-width: 60ch;
}

/* Inline "Learn more" link at the end of the paragraph ------------------- */
.tc-cta-slim__learn {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.tc-cta-slim__learn:hover {
  opacity: 0.8;
}

.tc-cta-slim__learn-text {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tc-cta-slim__learn-icon {
  display: inline-block;
  vertical-align: -1px;
  margin-left: 3px;
}

/* Stacked app-store badges (right) -------------------------------------- */
.tc-cta-slim__badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  flex-shrink: 0;
}

.tc-cta-slim__badge-link {
  display: inline-block;
  transition: opacity 0.2s, transform 0.2s;
}

.tc-cta-slim__badge-link:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.tc-cta-slim__badge-link img {
  display: block;
  height: 48px;
  width: auto;
}

/* Responsive ------------------------------------------------------------ */
@media (max-width: 782px) {
  .tc-cta-slim__card {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 28px 24px;
  }
  .tc-cta-slim__heading {
    font-size: 24px;
  }
  .tc-cta-slim__badges {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .tc-cta-slim {
    padding: 20px 0;
  }
  .tc-cta-slim__text {
    font-size: 16px;
  }
  .tc-cta-slim__badge-link img {
    height: 44px;
  }
}
