/**
 * Frontend styles for the cta block.
 */
:root {
  --bg-dark: #000;
  --cyan: #13b8ea;
  --text: #e8f0fa;
  --line: #ebf2fa;
}

.cta .container {
  padding: 2rem 1rem 0;
  color: var(--text);
  display: flex;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-headline {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 2rem;
}

.cta-left {
  border-right: 1px solid var(--line);
  padding-right: 20%;
}

.cta-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-action {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: bold;
}

.cta-action .icon {
  width: 50px;
  margin-right: 0.5rem;
  height: auto;
  font-size: 1.5rem;
}

.cta-headline span {
  color: var(--cyan);
}

.cta-sub {
  font-size: 0.9rem;
  margin: 1rem 0;
  font-weight: bold;
}

.footer {
  font-size: 0.8rem;
  color: var(--text);
}

.footer .container {
  display: flex;
  padding: 0 1rem 2rem;
  justify-content: center;
  align-items: center;
  color: var(--text);
}

.footer img {
  height: 40px;
  margin-right: 1rem;
}

.cta-logo {
  width: 100px;
  text-align: left;
}

.cta-brand {
  width: 40%;
  text-align: left;
}

.cta-copy {
  width: calc(60% - 100px);
  text-align: right;
}

/* Responsive */
@media (max-width: 992px) {
  .cta-left {
    padding-right: 8%;
  }
}
@media (max-width: 768px) {
  .cta .container {
    flex-direction: column;
    gap: 1.5rem;
  }
  .cta-left {
    border-right: none;
    padding-right: 0;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(235, 242, 250, 0.3);
  }
  .footer {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .cta-logo {
    width: auto;
  }
  .cta-brand {
    width: auto;
    flex: 1;
  }
  .cta-copy {
    width: 100%;
    text-align: left;
  }
}
@media (max-width: 576px) {
  .cta-headline {
    font-size: 1.2rem;
  }
  .cta-sub {
    font-size: 0.85rem;
  }
  .cta-action {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding-bottom: 2rem;
  }
  .cta-logo,
  .cta-brand,
  .cta-copy {
    width: 100%;
    text-align: left;
  }
}
