footer.footer-sx {
  background: var(--navy-dark, #0f1c2a);
  padding: 52px 0 24px;
  color: var(--text-on-dark, #e0e8f0) !important;
}

footer.footer-sx h4 { color: var(--text-on-dark-muted, #8fa3b8) !important; }
footer.footer-sx .footer-brand p { color: var(--text-on-dark-muted, #8fa3b8) !important; }
footer.footer-sx .footer-col a { color: var(--text-on-dark-muted, #8fa3b8) !important; }
footer.footer-sx .footer-col a:hover { color: #fff !important; }
footer.footer-sx .footer-bottom p { color: var(--text-on-dark-muted, #8fa3b8) !important; }
footer.footer-sx .footer-socials a { color: var(--text-on-dark-muted, #8fa3b8) !important; }

footer.footer-sx .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 40px;
}

footer.footer-sx .footer-grid > * {
  min-width: 0;
}

footer.footer-sx .footer-brand img {
  height: 26px;
  width: auto;
  margin-bottom: 12px;
}

footer.footer-sx .footer-brand p {
  font-size: 14px;
  color: var(--text-on-dark-muted, #8fa3b8);
  line-height: 1.7;
  max-width: 260px;
}

footer.footer-sx .footer-col h4 {
  font-family: var(--font-heading, system-ui, sans-serif);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-on-dark-muted, #8fa3b8);
  margin-bottom: 14px;
}

footer.footer-sx .footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-on-dark-muted, #8fa3b8);
  padding: 4px 0;
  transition: color 0.2s;
}

footer.footer-sx .footer-col .footer-freetrial-form {
  margin: 0;
}

footer.footer-sx .footer-col .footer-link-button {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 14px;
  color: var(--text-on-dark-muted, #8fa3b8);
  padding: 4px 0;
  transition: color 0.2s;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

footer.footer-sx .footer-col .footer-link-button:hover {
  color: #fff;
}

footer.footer-sx .footer-col a:hover {
  color: #fff;
}

footer.footer-sx .footer-trust-row {
  padding: 24px 0;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

footer.footer-sx .footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer.footer-sx .footer-bottom p {
  font-size: 12px;
  color: var(--text-on-dark-muted, #8fa3b8);
  opacity: 0.5;
}

footer.footer-sx .footer-socials {
  display: flex;
  gap: 10px;
}

footer.footer-sx .footer-socials a {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark-muted, #8fa3b8);
  transition: all 0.2s;
}

footer.footer-sx .footer-socials a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

@media (max-width: 1024px) {
  footer.footer-sx .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  footer.footer-sx {
    padding: 40px 0 20px;
  }

  footer.footer-sx .container {
    padding: 0 20px;
  }

  footer.footer-sx .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 24px;
  }

  footer.footer-sx .footer-brand p {
    max-width: none;
  }

  footer.footer-sx .footer-col a {
    padding: 8px 0;
  }

  footer.footer-sx .footer-trust-row {
    padding: 18px 0;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
  }

  footer.footer-sx .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  footer.footer-sx .footer-socials {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  footer.footer-sx .container {
    padding: 0 16px;
  }
}

/* Footer + homepage/article newsletter blocks (data-sc-newsletter-form) */
.sc-newsletter-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.sc-newsletter-success p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: rgb(42, 157, 143);
  margin: 0;
}
.sc-footer-newsletter {
  max-width: 240px;
}
.sc-footer-newsletter-text {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  color: rgba(224, 232, 240, 0.6);
  margin: 0 0 14px 0;
}
.sc-footer-newsletter-form {
  margin: 0;
}
.sc-footer-newsletter-row {
  display: flex;
  border: 1px solid rgba(224, 232, 240, 0.15);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.sc-footer-newsletter-row:focus-within {
  border-color: rgb(42, 157, 143);
}
.sc-footer-newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  outline: none;
  padding: 10px 12px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  color: rgb(224, 232, 240);
  min-width: 0;
}
.sc-footer-newsletter-input::placeholder {
  color: rgba(224, 232, 240, 0.35);
}
.sc-footer-newsletter-btn {
  background: rgb(42, 157, 143);
  color: #ffffff;
  border: none;
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}
.sc-footer-newsletter-btn:hover {
  background: rgb(36, 138, 126);
}
.sc-footer-newsletter-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.sc-newsletter-error {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #c0392b;
  margin: 8px 0 0 0;
  line-height: 1.4;
}
.sc-newsletter-error.sc-newsletter-notice {
  color: rgb(36, 120, 110);
  font-weight: 600;
}
.sc-footer-newsletter-error {
  color: #f0a8a8;
  margin: 0 0 8px 0;
}
.sc-footer-newsletter-error.sc-newsletter-notice {
  color: #7fd4c8;
}

