/* ==========================================================================
   VYLOX DIGITAL — COMPONENTS
   Header, navigation, mobile drawer, footer, CTA band, FAQ, process steps
   and breadcrumbs.
   ========================================================================== */

/* --------------------------------------------------------------------------
   HEADER
   -------------------------------------------------------------------------- */

.vxd-header-sentinel {
  position: absolute;
  top: 0;
  height: 1px;
  width: 100%;
  pointer-events: none;
}

.vxd-header {
  position: sticky;
  top: 0;
  z-index: var(--vxd-z-header);
  background: var(--vxd-white);
  border-bottom: 1px solid var(--vxd-border);
  transition: box-shadow var(--vxd-speed) var(--vxd-ease);
}

.vxd-header.is-stuck {
  box-shadow: 0 1px 0 var(--vxd-border), 0 6px 24px rgba(11, 34, 51, 0.07);
}

/* WordPress pushes the page down for the admin bar; match it. */
.admin-bar .vxd-header { top: 32px; }

@media screen and (max-width: 782px) {
  .admin-bar .vxd-header { top: 46px; }
}

.vxd-header__inner {
  display: flex;
  align-items: center;
  gap: var(--vxd-space-6);
  min-height: var(--vxd-header-height);
}

/* ---------- Logo ---------- */

.vxd-header__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
  text-decoration: none;
  line-height: 0;
}

/* Scoped to .vxd-header so this sits at 0-2-0 and cannot be beaten by a
   generic `img { height: auto }` rule from the theme or the reset. */
.vxd-header .vxd-header__logo {
  height: var(--vxd-logo-h, 52px);
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

@media (max-width: 480px) {
  .vxd-header .vxd-header__logo {
    height: calc(var(--vxd-logo-h, 52px) * 0.82);
    max-width: 160px;
  }
}

.vxd-header__wordmark {
  font-family: var(--vxd-font-heading);
  font-size: 1.3rem;
  font-weight: var(--vxd-weight-bold);
  letter-spacing: var(--vxd-track-tight);
  color: var(--vxd-navy);
  line-height: 1.2;
}

/* ---------- Desktop navigation ---------- */

.vxd-nav { display: none; }

@media (min-width: 1024px) {
  .vxd-nav { display: block; }
}

.vxd-nav__list {
  display: flex;
  align-items: center;
  gap: var(--vxd-space-1);
  margin: 0;
  padding: 0;
  list-style: none;
}

.vxd-nav__item {
  position: relative;
  display: flex;
  align-items: center;
}

.vxd-nav__link {
  display: inline-flex;
  align-items: center;
  padding: var(--vxd-space-2) var(--vxd-space-3);
  border-radius: var(--vxd-radius-sm);
  font-size: var(--vxd-small);
  font-weight: var(--vxd-weight-medium);
  color: var(--vxd-ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--vxd-speed-fast) var(--vxd-ease),
              background-color var(--vxd-speed-fast) var(--vxd-ease);
}

.vxd-nav__link:hover {
  color: var(--vxd-blue-btn);
  background: var(--vxd-surface-alt);
}

.vxd-nav__item.is-active > .vxd-nav__link {
  color: var(--vxd-blue-btn);
  font-weight: var(--vxd-weight-semi);
}

/* Underline marking the active item */
.vxd-nav__item.is-active > .vxd-nav__link::after {
  content: '';
  position: absolute;
  left: var(--vxd-space-3);
  right: var(--vxd-space-3);
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--vxd-gradient-accent);
}

.vxd-nav__item--has-children.is-active > .vxd-nav__link::after {
  right: calc(var(--vxd-space-3) + 20px);
}

/* Dropdown toggle button, separate from the link */
.vxd-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: -6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--vxd-slate);
  cursor: pointer;
  border-radius: 4px;
}

.vxd-nav__chev {
  transition: transform var(--vxd-speed) var(--vxd-ease);
}

.vxd-nav__item:hover .vxd-nav__chev,
.vxd-nav__item.is-open .vxd-nav__chev,
.vxd-nav__item:focus-within .vxd-nav__chev {
  transform: rotate(180deg);
}

/* ---------- Dropdown panel ---------- */

.vxd-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: var(--vxd-z-dropdown);
  width: 380px;
  padding: var(--vxd-space-3);
  background: var(--vxd-white);
  border: 1px solid var(--vxd-border);
  border-radius: var(--vxd-radius);
  box-shadow: var(--vxd-shadow-lg);

  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition:
    opacity    var(--vxd-speed) var(--vxd-ease),
    transform  var(--vxd-speed) var(--vxd-ease),
    visibility var(--vxd-speed) var(--vxd-ease);
}

/* An invisible bridge, so the pointer can travel from the menu item to
   the panel across the 10px gap without the panel closing underneath it. */
.vxd-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.vxd-nav__item--has-children:hover > .vxd-dropdown,
.vxd-nav__item--has-children:focus-within > .vxd-dropdown,
.vxd-nav__item--has-children.is-open > .vxd-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.vxd-dropdown__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vxd-dropdown__link {
  display: flex;
  align-items: flex-start;
  gap: var(--vxd-space-3);
  padding: var(--vxd-space-3);
  border-radius: var(--vxd-radius-sm);
  text-decoration: none;
  transition: background-color var(--vxd-speed-fast) var(--vxd-ease);
}

.vxd-dropdown__link:hover,
.vxd-dropdown__link:focus-visible,
.vxd-dropdown__link.is-current {
  background: var(--vxd-surface-alt);
}

.vxd-dropdown__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: var(--vxd-radius-sm);
  background: var(--vxd-surface-alt);
  color: var(--vxd-blue);
  transition: background-color var(--vxd-speed) var(--vxd-ease),
              color var(--vxd-speed) var(--vxd-ease);
}

.vxd-dropdown__link:hover .vxd-dropdown__icon {
  background: var(--vxd-gradient-accent);
  color: var(--vxd-white);
}

.vxd-dropdown__body { display: block; }

.vxd-dropdown__title {
  display: block;
  font-family: var(--vxd-font-heading);
  font-size: var(--vxd-small);
  font-weight: var(--vxd-weight-semi);
  color: var(--vxd-ink);
  line-height: 1.3;
}

.vxd-dropdown__desc {
  display: block;
  margin-top: 2px;
  font-size: var(--vxd-tiny);
  color: var(--vxd-text-muted);
  line-height: 1.45;
}

/* ---------- Header CTA ---------- */

.vxd-header__actions { display: none; }

@media (min-width: 1024px) {
  .vxd-header__actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
}

/* ---------- Burger ---------- */

.vxd-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid var(--vxd-border);
  border-radius: var(--vxd-radius-sm);
  background: var(--vxd-white);
  color: var(--vxd-navy);
  cursor: pointer;
  transition: background-color var(--vxd-speed-fast) var(--vxd-ease);
}

.vxd-burger:hover { background: var(--vxd-surface-alt); }

@media (min-width: 1024px) {
  .vxd-burger { display: none; }
}

.vxd-burger__bars {
  display: block;
  position: relative;
  width: 20px;
  height: 14px;
}

.vxd-burger__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--vxd-speed) var(--vxd-ease),
              opacity   var(--vxd-speed-fast) var(--vxd-ease);
}

.vxd-burger__bars span:nth-child(1) { top: 0; }
.vxd-burger__bars span:nth-child(2) { top: 6px; }
.vxd-burger__bars span:nth-child(3) { top: 12px; }

.vxd-burger[aria-expanded="true"] .vxd-burger__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.vxd-burger[aria-expanded="true"] .vxd-burger__bars span:nth-child(2) {
  opacity: 0;
}
.vxd-burger[aria-expanded="true"] .vxd-burger__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Skip-link landing point */
.vxd-main-anchor {
  height: 0;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   MOBILE DRAWER
   -------------------------------------------------------------------------- */

.vxd-no-scroll { overflow: hidden; }

.vxd-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--vxd-z-overlay);
  background: rgba(4, 36, 60, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity var(--vxd-speed) var(--vxd-ease);
}

.vxd-drawer-overlay.is-open { opacity: 1; }

.vxd-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: var(--vxd-z-drawer);
  width: min(360px, 88vw);
  display: flex;
  flex-direction: column;
  background: var(--vxd-white);
  box-shadow: -8px 0 40px rgba(11, 34, 51, 0.18);
  transform: translateX(100%);
  transition: transform var(--vxd-speed-slow) var(--vxd-ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.vxd-drawer.is-open { transform: translateX(0); }

.vxd-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--vxd-space-5);
  border-bottom: 1px solid var(--vxd-border);
  position: sticky;
  top: 0;
  background: var(--vxd-white);
  z-index: 1;
}

.vxd-drawer__title {
  font-family: var(--vxd-font-heading);
  font-size: var(--vxd-tiny);
  font-weight: var(--vxd-weight-semi);
  letter-spacing: var(--vxd-track-wide);
  text-transform: uppercase;
  color: var(--vxd-slate);
}

.vxd-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--vxd-border);
  border-radius: var(--vxd-radius-sm);
  background: var(--vxd-white);
  color: var(--vxd-navy);
  cursor: pointer;
}

.vxd-drawer__close:hover { background: var(--vxd-surface-alt); }

.vxd-drawer__nav { padding: var(--vxd-space-3) var(--vxd-space-5); flex: 1; }

.vxd-drawer__list,
.vxd-drawer__sub {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vxd-drawer__item { border-bottom: 1px solid var(--vxd-border); }
.vxd-drawer__item:last-child { border-bottom: 0; }

.vxd-drawer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--vxd-space-2);
}

.vxd-drawer__link {
  flex: 1;
  display: block;
  padding: var(--vxd-space-4) 0;
  font-family: var(--vxd-font-heading);
  font-size: 1.0625rem;
  font-weight: var(--vxd-weight-medium);
  color: var(--vxd-ink);
  text-decoration: none;
}

.vxd-drawer__link.is-current { color: var(--vxd-blue-btn); }

.vxd-drawer__expand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: var(--vxd-radius-sm);
  background: var(--vxd-surface-alt);
  color: var(--vxd-navy);
  cursor: pointer;
  flex-shrink: 0;
}

.vxd-drawer__expand .vxd-icon {
  transition: transform var(--vxd-speed) var(--vxd-ease);
}

.vxd-drawer__expand[aria-expanded="true"] .vxd-icon {
  transform: rotate(180deg);
}

.vxd-drawer__sub {
  padding: 0 0 var(--vxd-space-3) var(--vxd-space-4);
  border-left: 2px solid var(--vxd-border);
  margin-left: var(--vxd-space-1);
}

.vxd-drawer__sublink {
  display: block;
  padding: var(--vxd-space-3) 0;
  font-size: var(--vxd-small);
  color: var(--vxd-text-muted);
  text-decoration: none;
}

.vxd-drawer__sublink:hover,
.vxd-drawer__sublink.is-current {
  color: var(--vxd-blue-btn);
}

.vxd-drawer__foot {
  padding: var(--vxd-space-5);
  border-top: 1px solid var(--vxd-border);
  background: var(--vxd-surface-alt);
}

.vxd-drawer__contact {
  margin: var(--vxd-space-5) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--vxd-space-3);
}

.vxd-drawer__contact a {
  display: flex;
  align-items: center;
  gap: var(--vxd-space-3);
  font-size: var(--vxd-small);
  color: var(--vxd-text-muted);
  text-decoration: none;
}

.vxd-drawer__contact a:hover { color: var(--vxd-blue-btn); }
.vxd-drawer__contact .vxd-icon { color: var(--vxd-blue); flex-shrink: 0; }

/* --------------------------------------------------------------------------
   BREADCRUMBS
   -------------------------------------------------------------------------- */

.vxd-breadcrumbs { padding-block: var(--vxd-space-4); }

.vxd-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--vxd-space-2);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--vxd-tiny);
}

.vxd-breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: var(--vxd-space-2);
  color: var(--vxd-text-muted);
}

.vxd-breadcrumbs__item a {
  color: var(--vxd-text-muted);
  text-decoration: none;
}

.vxd-breadcrumbs__item a:hover {
  color: var(--vxd-blue-btn);
  text-decoration: underline;
}

.vxd-breadcrumbs__item [aria-current="page"] {
  color: var(--vxd-ink);
  font-weight: var(--vxd-weight-medium);
}

.vxd-breadcrumbs__sep { color: var(--vxd-border); }

/* --------------------------------------------------------------------------
   PROCESS STEPS
   -------------------------------------------------------------------------- */

.vxd-process {
  display: grid;
  gap: var(--vxd-space-6);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: vxd-step;
}

@media (min-width: 768px) {
  .vxd-process--horizontal { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .vxd-process--horizontal { grid-template-columns: repeat(4, 1fr); }
}

.vxd-process__step {
  position: relative;
  padding: var(--vxd-space-6);
  background: var(--vxd-white);
  border: 1px solid var(--vxd-border);
  border-radius: var(--vxd-radius);
  box-shadow: var(--vxd-shadow-sm);
}

/* The connecting line between steps on desktop */
@media (min-width: 1024px) {
  .vxd-process--horizontal .vxd-process__step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    right: calc(var(--vxd-space-6) * -1);
    width: var(--vxd-space-6);
    height: 2px;
    background: linear-gradient(90deg, var(--vxd-border), transparent);
  }
}

.vxd-process__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--vxd-space-4);
  border-radius: var(--vxd-radius-sm);
  background: var(--vxd-gradient-accent);
  color: var(--vxd-white);
  font-family: var(--vxd-font-heading);
  font-size: 0.9375rem;
  font-weight: var(--vxd-weight-bold);
  letter-spacing: 0;
}

.vxd-process__title {
  font-size: var(--vxd-h4);
  margin-bottom: var(--vxd-space-2);
}

.vxd-process__text {
  font-size: var(--vxd-small);
  color: var(--vxd-text-muted);
  margin: 0;
}

.vxd-process--vertical .vxd-process__step {
  display: flex;
  gap: var(--vxd-space-5);
  align-items: flex-start;
}

.vxd-process--vertical .vxd-process__num { margin-bottom: 0; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.vxd-faq {
  border: 1px solid var(--vxd-border);
  border-radius: var(--vxd-radius);
  overflow: hidden;
  background: var(--vxd-white);
}

.vxd-faq__item { border-bottom: 1px solid var(--vxd-border); }
.vxd-faq__item:last-child { border-bottom: 0; }

.vxd-faq__q { margin: 0; font-size: inherit; }

.vxd-faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--vxd-space-4);
  width: 100%;
  padding: var(--vxd-space-5) var(--vxd-space-6);
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--vxd-speed-fast) var(--vxd-ease);
}

.vxd-faq__trigger:hover { background: var(--vxd-surface-alt); }

.vxd-faq__label {
  font-family: var(--vxd-font-heading);
  font-size: var(--vxd-h4);
  font-weight: var(--vxd-weight-medium);
  line-height: var(--vxd-lh-snug);
  color: var(--vxd-ink);
}

.vxd-faq__item.is-open .vxd-faq__label { color: var(--vxd-navy); }

/* Plus sign that becomes a minus, drawn in CSS */
.vxd-faq__sign {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--vxd-surface-alt);
  transition: background-color var(--vxd-speed) var(--vxd-ease);
}

.vxd-faq__sign::before,
.vxd-faq__sign::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--vxd-blue-btn);
  border-radius: 1px;
  transform: translate(-50%, -50%);
  transition: transform var(--vxd-speed) var(--vxd-ease),
              opacity   var(--vxd-speed) var(--vxd-ease);
}

.vxd-faq__sign::before { width: 12px; height: 2px; }
.vxd-faq__sign::after  { width: 2px;  height: 12px; }

.vxd-faq__item.is-open .vxd-faq__sign { background: var(--vxd-navy); }
.vxd-faq__item.is-open .vxd-faq__sign::before { background: var(--vxd-white); }
.vxd-faq__item.is-open .vxd-faq__sign::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.vxd-faq__a {
  padding: 0 var(--vxd-space-6) var(--vxd-space-6);
}

.vxd-faq__a p {
  color: var(--vxd-text-muted);
  font-size: var(--vxd-small);
  max-width: 62ch;
}

/* --------------------------------------------------------------------------
   CTA BAND
   -------------------------------------------------------------------------- */

.vxd-cta {
  position: relative;
  overflow: hidden;
  padding-block: var(--vxd-section-y);
}

@media (min-width: 768px) {
  .vxd-cta { padding-block: var(--vxd-section-y-tablet); }
}

@media (min-width: 1024px) {
  .vxd-cta { padding-block: var(--vxd-section-y-desktop); }
}

.vxd-cta--dark {
  background: var(--vxd-gradient-cta);
  color: var(--vxd-text-on-dark);
}

.vxd-cta--light {
  background: var(--vxd-surface-alt);
  border-block: 1px solid var(--vxd-border);
}

.vxd-cta__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--vxd-space-8);
  align-items: flex-start;
}

@media (min-width: 900px) {
  .vxd-cta__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--vxd-space-12);
  }
}

.vxd-cta__heading {
  font-size: var(--vxd-h2);
  margin-bottom: var(--vxd-space-3);
}

.vxd-cta--dark .vxd-cta__heading { color: var(--vxd-white); }

.vxd-cta__text {
  margin: 0;
  max-width: 56ch;
  font-size: var(--vxd-small);
}

.vxd-cta--dark .vxd-cta__text { color: var(--vxd-text-on-dark-mu); }
.vxd-cta--light .vxd-cta__text { color: var(--vxd-text-muted); }

.vxd-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--vxd-space-3);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */

.vxd-footer {
  position: relative;
  overflow: hidden;
  background: var(--vxd-gradient-cta);
  color: var(--vxd-text-on-dark-mu);
  padding-top: var(--vxd-section-y);
  padding-bottom: var(--vxd-space-6);
  font-size: var(--vxd-small);
}

@media (min-width: 1024px) {
  .vxd-footer { padding-top: var(--vxd-section-y-desktop); }
}

.vxd-footer .vxd-container { position: relative; }

.vxd-footer__cols {
  display: grid;
  gap: var(--vxd-space-10);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .vxd-footer__cols { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .vxd-footer__cols {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: var(--vxd-space-8);
  }
}

.vxd-footer .vxd-footer__logo {
  height: 48px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  margin-bottom: var(--vxd-space-5);
  display: block;
}

/* Used when no light version of the logo has been supplied. The original
   artwork is untouched; it simply sits on a light panel so it stays
   legible against the navy. */
.vxd-footer__logo-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--vxd-space-3) var(--vxd-space-4);
  margin-bottom: var(--vxd-space-5);
  background: var(--vxd-white);
  border-radius: var(--vxd-radius-sm);
}

.vxd-footer .vxd-footer__logo-plate img {
  height: 42px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
}

.vxd-footer__wordmark {
  display: block;
  margin-bottom: var(--vxd-space-5);
  font-family: var(--vxd-font-heading);
  font-size: 1.4rem;
  font-weight: var(--vxd-weight-bold);
  color: var(--vxd-white);
}

.vxd-footer__tagline {
  font-family: var(--vxd-font-heading);
  font-size: var(--vxd-h4);
  font-weight: var(--vxd-weight-semi);
  color: var(--vxd-white);
  margin-bottom: var(--vxd-space-2);
  max-width: 24ch;
}

.vxd-footer__support {
  color: var(--vxd-text-on-dark-mu);
  margin-bottom: var(--vxd-space-6);
  max-width: 34ch;
}

.vxd-footer__head {
  font-family: var(--vxd-font-heading);
  font-size: var(--vxd-tiny);
  font-weight: var(--vxd-weight-semi);
  letter-spacing: var(--vxd-track-wide);
  text-transform: uppercase;
  color: var(--vxd-cyan);
  margin-bottom: var(--vxd-space-5);
}

.vxd-footer__links,
.vxd-footer__contact {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--vxd-space-3);
}

.vxd-footer__links a {
  color: var(--vxd-text-on-dark-mu);
  text-decoration: none;
  transition: color var(--vxd-speed-fast) var(--vxd-ease);
}

.vxd-footer__links a:hover,
.vxd-footer__links a:focus-visible {
  color: var(--vxd-white);
  text-decoration: underline;
}

.vxd-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--vxd-space-3);
}

.vxd-footer__contact .vxd-icon {
  color: var(--vxd-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.vxd-footer__contact a {
  color: var(--vxd-text-on-dark-mu);
  text-decoration: none;
}

.vxd-footer__contact a:hover { color: var(--vxd-white); text-decoration: underline; }

.vxd-footer__address address {
  font-style: normal;
  line-height: 1.6;
  color: var(--vxd-text-on-dark-mu);
}

/* ---------- Social links ---------- */

.vxd-social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--vxd-space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.vxd-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 var(--vxd-space-4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--vxd-radius-pill);
  background: rgba(255, 255, 255, 0.05);
  color: var(--vxd-text-on-dark);
  font-size: var(--vxd-tiny);
  font-weight: var(--vxd-weight-medium);
  text-decoration: none;
  transition: background-color var(--vxd-speed-fast) var(--vxd-ease),
              border-color     var(--vxd-speed-fast) var(--vxd-ease);
}

.vxd-social__link:hover,
.vxd-social__link:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--vxd-cyan);
  color: var(--vxd-white);
}

/* When an icon is available the pill becomes a round icon button. */
.vxd-social__link--icon {
  width: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 50%;
}

.vxd-social__glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
}

/* WordPress core's social icons are solid-fill paths with no fill
   attribute of their own, so they inherit from here. currentColor means
   one rule covers the resting and hover states together. */
.vxd-social__glyph svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

/* ---------- Bottom bar ---------- */

.vxd-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--vxd-space-4);
  margin-top: var(--vxd-space-12);
  padding-top: var(--vxd-space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 768px) {
  .vxd-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.vxd-footer__copy {
  margin: 0;
  font-size: var(--vxd-tiny);
  color: rgba(255, 255, 255, 0.6);
}

.vxd-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--vxd-space-2) var(--vxd-space-5);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--vxd-tiny);
}

.vxd-footer__legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.vxd-footer__legal a:hover,
.vxd-footer__legal a:focus-visible {
  color: var(--vxd-white);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   CARD VARIANTS used by the shortcodes
   -------------------------------------------------------------------------- */

.vxd-card--compact { padding: var(--vxd-space-6); }

.vxd-card__icon--sm {
  width: 42px;
  height: 42px;
  margin-bottom: var(--vxd-space-4);
}

.vxd-card__title--sm { font-size: 1.0625rem; }

.vxd-card__more--plain {
  color: inherit;
  text-decoration: none;
}

.vxd-card__more--plain:hover { color: var(--vxd-blue-btn); }

.vxd-card--help {
  background: var(--vxd-surface-alt);
  border-style: dashed;
}

.vxd-address {
  font-style: normal;
  line-height: 1.6;
}
