/**
 * VikPrint footer — brand styling.
 * Brand: #FFCB05 yellow, #0056A4 blue, dark navy shell
 */

body.vikprint-has-brand-footer footer.ct-footer {
  --vp-ft-bg: #0b1f36;
  --vp-ft-bg-soft: #122a46;
  --vp-ft-text: #d7dee8;
  --vp-ft-muted: #9aa8ba;
  --vp-ft-heading: #ffffff;
  --vp-ft-brand: #ffcb05;
  --vp-ft-line: rgba(255, 255, 255, 0.1);
}

body.vikprint-has-brand-footer footer.ct-footer,
body.vikprint-has-brand-footer footer.ct-footer .ct-footer-container,
body.vikprint-has-brand-footer footer.ct-footer [data-row] {
  background: var(--vp-ft-bg) !important;
  background-color: var(--vp-ft-bg) !important;
  color: var(--vp-ft-text) !important;
}

body.vikprint-has-brand-footer footer.ct-footer [data-row="middle"] {
  border-bottom: 1px solid var(--vp-ft-line);
}

body.vikprint-has-brand-footer footer.ct-footer [data-row="bottom"] {
  background: #08182b !important;
}

body.vikprint-has-brand-footer footer.ct-footer .widget,
body.vikprint-has-brand-footer footer.ct-footer .widget-title,
body.vikprint-has-brand-footer footer.ct-footer p,
body.vikprint-has-brand-footer footer.ct-footer li,
body.vikprint-has-brand-footer footer.ct-footer a,
body.vikprint-has-brand-footer footer.ct-footer .ct-footer-copyright {
  color: var(--vp-ft-text) !important;
}

body.vikprint-has-brand-footer footer.ct-footer a:hover {
  color: var(--vp-ft-brand) !important;
}

/* Columns */
.vikprint-footer-col {
  max-width: 280px;
}

.vikprint-footer-brand {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.vikprint-footer-brand__vik {
  color: var(--vp-ft-brand) !important;
}

.vikprint-footer-brand__print {
  color: #fff !important;
}

.vikprint-footer-heading {
  margin: 0 0 16px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--vp-ft-heading) !important;
  position: relative;
  padding-bottom: 10px;
}

.vikprint-footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: var(--vp-ft-brand);
}

.vikprint-footer-text {
  margin: 0 0 14px !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: var(--vp-ft-muted) !important;
}

.vikprint-footer-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.vikprint-footer-list li {
  margin: 0 0 8px !important;
  padding: 0 !important;
}

.vikprint-footer-list a {
  text-decoration: none !important;
  font-size: 14px !important;
  color: var(--vp-ft-text) !important;
  transition: color 0.15s ease;
}

.vikprint-footer-list a:hover {
  color: var(--vp-ft-brand) !important;
}

.vikprint-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vikprint-footer-chip {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--vp-ft-bg-soft) !important;
  border: 1px solid var(--vp-ft-line);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.vikprint-footer-chip:hover {
  border-color: var(--vp-ft-brand) !important;
  background: #173552 !important;
  color: var(--vp-ft-brand) !important;
}

body.vikprint-has-brand-footer footer.ct-footer .ct-footer-copyright {
  font-size: 13px !important;
  color: var(--vp-ft-muted) !important;
}

/* Hide leftover Justice social icons if any */
body.vikprint-has-brand-footer footer.ct-footer .ct-button-group,
body.vikprint-has-brand-footer footer.ct-footer .ct-icon-container {
  display: none !important;
}

@media (max-width: 980px) {
  .vikprint-footer-col {
    max-width: none;
  }

  body.vikprint-has-brand-footer footer.ct-footer [data-row="middle"] {
    text-align: left;
  }
}
