/**
 * Cycle-Jobs Global Footer — canonical presentation owner.
 *
 * Astra, TranslatePress, menu 16210 and snippets 247/273/276/298/364 retain
 * markup, content, translation, link and behavior ownership.
 */
:root {
  --cj-footer-line: var(--cj-color-gray-200, #ddd);
  --cj-footer-muted: var(--cj-color-gray-900, #333);
  --cj-footer-paper: var(--cj-color-white, #fff);
  --cj-footer-width: 1200px;
}

/* Feedback #1411 retains the appearance recorded for snippet #354. */
.cj-feedback__widget {
  position: fixed;
  bottom: 90px;
  right: 30px;
  background: #ff6600;
  color: var(--cj-color-white);
  font-size: 22px;
  padding: 14px 16px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,.25);
  z-index: 999;
}

.cj-feedback__widget[hidden] { display: none; }

dialog.cj-feedback__modal {
  box-sizing: border-box;
  background: var(--cj-footer-paper);
  color: var(--cj-color-text, #111);
  padding: 24px 28px;
  border: 0;
  border-radius: 14px;
  width: 90%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  font-family: var(--cj-font-family-system);
}

.cj-feedback__modal::backdrop { background: rgba(0,0,0,.45); }
.cj-feedback__modal h3 {
  color: var(--cj-color-black);
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
  padding-right: 24px;
}
.cj-feedback__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: var(--cj-footer-paper);
  color: var(--cj-color-black);
  border: 0;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.cj-feedback__modal textarea,
.cj-feedback__modal input[type="email"] {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid var(--cj-footer-line);
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 12px;
  background: #fafafa;
}
.cj-feedback__modal .grunion-radio-options {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cj-feedback__modal button[type="submit"] {
  margin: 16px 0 14px;
}
.cj-feedback__alt {
  font-size: 13px;
  margin-top: 18px;
  line-height: 1.45;
}
.cj-feedback__alt a {
  color: var(--cj-color-info-text, #064b76);
  display: inline-block;
  margin-top: 6px;
}
.cj-feedback__widget:focus-visible,
.cj-feedback__modal :focus-visible {
  outline: 3px solid var(--cj-color-focus, #111);
  outline-offset: 3px;
}

.cj-cta-wrapper,
.cj-nobs-newsletter,
#colophon.site-footer .site-below-footer-wrap {
  box-sizing: border-box;
  overflow-wrap: anywhere;
  font-family: var(--cj-font-family-system);
}

.cj-cta-wrapper,
.cj-nobs-newsletter {
  width: min(100%, var(--cj-footer-width));
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.cj-cta-wrapper .cj-cta-card,
.cj-nobs-newsletter {
  min-width: 0;
}

#colophon.site-footer {
  color: var(--cj-footer-muted);
  background: var(--cj-footer-paper);
  border-block-start: 1px solid var(--cj-footer-line);
}

#colophon.site-footer .site-below-footer-inner-wrap {
  box-sizing: border-box;
  width: min(100%, var(--cj-footer-width));
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

#colophon.site-footer .site-footer-section,
#colophon.site-footer .ast-footer-copyright {
  min-width: 0;
}

#colophon.site-footer .ast-footer-copyright {
  font-size: var(--cj-font-size-small, .875rem);
  line-height: 1.6;
}

.cj-cta-wrapper a:focus-visible,
.cj-nobs-newsletter a:focus-visible,
#colophon.site-footer a:focus-visible {
  outline: 3px solid var(--cj-color-focus, #111);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .cj-cta-wrapper .cj-cta-card,
  .cj-nobs-newsletter,
  #colophon.site-footer .site-below-footer-inner-wrap,
  #colophon.site-footer .site-footer-section {
    min-width: 0;
    max-width: 100%;
  }

  #colophon.site-footer .site-below-footer-inner-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media (max-width: 320px) {
  .cj-cta-wrapper,
  .cj-nobs-newsletter,
  #colophon.site-footer .site-below-footer-inner-wrap {
    padding-inline: 1rem;
  }

  #colophon.site-footer .site-footer-section {
    flex: 1 1 100%;
  }
}

@media (max-width: 390px) {
  .cj-mini-cta,
  #cj-feedback-widget:not([data-cj-feedback="jetpack"]) {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cj-cta-wrapper *,
  .cj-nobs-newsletter *,
  #colophon.site-footer * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
