:root {
  --wmg-violet: #5b4dff;
  --wmg-violet-dark: #4233ed;
  --wmg-coral: #ff6e5d;
  --wmg-sky: #12bfe6;
  --wmg-ink: #20263a;
  --wmg-muted: #616a7f;
  --wmg-line: #e6e8f0;
  --wmg-soft: #f6f7fb;
  --wmg-pale-violet: #eeecff;
  --wmg-white: #fff;
  --wmg-wide: 1480px;
  --wmg-content: 820px;
  --wmg-radius-sm: 14px;
  --wmg-radius: 24px;
  --wmg-radius-lg: 34px;
  --wmg-shadow: 0 22px 70px rgba(32, 38, 58, .12);
  --wmg-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--wmg-ink);
  background: var(--wmg-white);
  font-family: var(--wmg-font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.wmg-menu-is-open {
  overflow: hidden;
}

body.wmg-form-modal-is-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: .16em;
}

button,
input,
textarea,
select {
  font: inherit;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: fixed !important;
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  color: var(--wmg-white);
  background: var(--wmg-ink);
  border-radius: 10px;
}

.wmg-site-main,
.wmg-page,
.wmg-front-page {
  width: 100%;
  min-height: 1px;
}

.wmg-content-shell {
  width: min(calc(100% - 48px), var(--wmg-wide));
  margin-inline: auto;
  padding-block: clamp(72px, 9vw, 140px);
}

.wmg-site-header {
  position: sticky;
  z-index: 9990;
  top: 0;
  width: 100%;
  border-bottom: 1px solid rgba(230, 232, 240, .88);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 30px rgba(32, 38, 58, .04);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.admin-bar .wmg-site-header {
  top: 32px;
}

.wmg-mobile-toolbar,
.wmg-mobile-menu-intro {
  display: none;
}

.wmg-form-modal[hidden] {
  display: none !important;
}

.wmg-form-modal {
  position: fixed;
  z-index: 100100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .2s ease;
}

.wmg-form-modal.is-open {
  opacity: 1;
}

.wmg-form-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 45, .66);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.wmg-form-modal-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 720px);
  max-height: calc(100vh - 40px);
  max-height: min(860px, calc(100dvh - 40px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 30px;
  background: var(--wmg-white);
  box-shadow: 0 32px 100px rgba(18, 21, 42, .3);
  opacity: 0;
  outline: 0;
  transform: translateY(18px) scale(.985);
  transition: opacity .2s ease, transform .24s cubic-bezier(.2, .78, .28, 1);
}

.wmg-form-modal.is-open .wmg-form-modal-panel {
  opacity: 1;
  transform: none;
}

.wmg-form-modal-handle {
  display: none;
}

.wmg-form-modal-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex: 0 0 auto;
  padding: 30px 32px 26px;
  gap: 22px;
  border-bottom: 1px solid rgba(91, 77, 255, .12);
  background:
    radial-gradient(circle at 93% 0%, rgba(18, 191, 230, .22), transparent 34%),
    linear-gradient(135deg, #f5f3ff 0%, #fff 58%, #effbff 100%);
}

.wmg-form-modal-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--wmg-violet);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.wmg-form-modal-header h2 {
  margin: 0;
  color: var(--wmg-ink);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: 1.05;
}

.wmg-form-modal-header p {
  max-width: 540px;
  margin: 10px 0 0;
  color: var(--wmg-muted);
  font-size: 15px;
  line-height: 1.52;
}

.wmg-form-modal-close {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(32, 38, 58, .1);
  border-radius: 15px;
  color: var(--wmg-ink);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 26px rgba(32, 38, 58, .08);
  cursor: pointer;
  transition: color .18s ease, transform .18s ease, border-color .18s ease;
}

.wmg-form-modal-close:hover,
.wmg-form-modal-close:focus-visible {
  border-color: rgba(91, 77, 255, .38);
  color: var(--wmg-violet);
  outline: 3px solid rgba(91, 77, 255, .16);
  outline-offset: 2px;
  transform: rotate(3deg);
}

.wmg-form-modal-body {
  flex: 1 1 auto;
  padding: 28px 32px 18px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.wmg-form-modal-note {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 13px 32px 15px;
  gap: 9px;
  border-top: 1px solid var(--wmg-line);
  color: var(--wmg-muted);
  background: #fbfbfe;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.wmg-form-modal-note svg {
  flex: 0 0 auto;
  color: var(--wmg-violet);
}

.wmg-form-modal-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  gap: 12px;
  color: var(--wmg-muted);
  font-size: 14px;
  font-weight: 750;
}

.wmg-form-modal-loading[hidden] {
  display: none !important;
}

.wmg-form-modal-loading > span {
  width: 23px;
  height: 23px;
  border: 3px solid var(--wmg-pale-violet);
  border-top-color: var(--wmg-violet);
  border-radius: 50%;
  animation: wmg-form-spinner .72s linear infinite;
}

.wmg-form-modal-fallback {
  padding: 28px;
  border: 1px solid rgba(91, 77, 255, .16);
  border-radius: 20px;
  background: linear-gradient(135deg, var(--wmg-pale-violet), #f2fbff);
}

.wmg-form-modal-fallback[hidden] {
  display: none !important;
}

.wmg-form-modal-fallback strong {
  display: block;
  font-size: 20px;
  line-height: 1.25;
}

.wmg-form-modal-fallback p {
  margin: 8px 0 18px;
  color: var(--wmg-muted);
  font-size: 15px;
}

.wmg-form-modal-fallback a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 18px;
  gap: 8px;
  border-radius: 14px;
  color: var(--wmg-white);
  background: linear-gradient(135deg, var(--wmg-violet), var(--wmg-violet-dark));
  box-shadow: 0 12px 28px rgba(91, 77, 255, .22);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

/* WPForms 25, scoped to the modal so the Contact page keeps its own design. */
.wmg-form-modal .wpforms-container,
.wmg-form-modal .wpforms-container-full {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.wmg-form-modal .wpforms-form {
  margin: 0 !important;
}

.wmg-form-modal .wpforms-field {
  padding: 0 0 18px !important;
}

.wmg-form-modal .wpforms-field-label,
.wmg-form-modal .wpforms-field-label-inline {
  display: block;
  margin: 0 0 8px !important;
  color: var(--wmg-ink) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

.wmg-form-modal .wpforms-required-label {
  color: var(--wmg-coral) !important;
}

.wmg-form-modal .wpforms-field-sublabel {
  margin-top: 5px !important;
  color: var(--wmg-muted) !important;
  font-size: 12px !important;
}

.wmg-form-modal .wpforms-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.wmg-form-modal .wpforms-form select,
.wmg-form-modal .wpforms-form textarea {
  width: 100% !important;
  max-width: none !important;
  border: 1px solid #dfe2ec !important;
  border-radius: 13px !important;
  color: var(--wmg-ink) !important;
  background: #fff !important;
  box-shadow: 0 1px 0 rgba(32, 38, 58, .02) !important;
  font-size: 16px !important;
  transition: border-color .18s ease, box-shadow .18s ease !important;
}

.wmg-form-modal .wpforms-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.wmg-form-modal .wpforms-form select {
  min-height: 52px !important;
  padding: 11px 14px !important;
}

.wmg-form-modal .wpforms-form textarea {
  min-height: 132px !important;
  padding: 13px 14px !important;
  resize: vertical;
}

.wmg-form-modal .wpforms-form input:focus,
.wmg-form-modal .wpforms-form select:focus,
.wmg-form-modal .wpforms-form textarea:focus {
  border-color: var(--wmg-violet) !important;
  box-shadow: 0 0 0 4px rgba(91, 77, 255, .13) !important;
  outline: 0 !important;
}

.wmg-form-modal .wpforms-error {
  color: #c83d31 !important;
}

.wmg-form-modal .wpforms-field-row {
  max-width: none !important;
}

.wmg-form-modal .wpforms-submit-container {
  padding: 4px 0 0 !important;
}

.wmg-form-modal .wpforms-submit,
.wmg-form-modal button[type="submit"] {
  width: 100% !important;
  min-height: 54px !important;
  padding: 13px 22px !important;
  border: 0 !important;
  border-radius: 15px !important;
  color: var(--wmg-white) !important;
  background: linear-gradient(135deg, var(--wmg-violet), var(--wmg-violet-dark)) !important;
  box-shadow: 0 14px 30px rgba(91, 77, 255, .25) !important;
  font-size: 16px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
  cursor: pointer;
  transition: filter .18s ease, transform .18s ease !important;
}

.wmg-form-modal .wpforms-submit:hover,
.wmg-form-modal .wpforms-submit:focus-visible,
.wmg-form-modal button[type="submit"]:hover,
.wmg-form-modal button[type="submit"]:focus-visible {
  filter: brightness(1.07);
  outline: 3px solid rgba(91, 77, 255, .18) !important;
  outline-offset: 3px;
  transform: translateY(-1px);
}

.wmg-form-modal .wpforms-confirmation-container-full,
.wmg-form-modal .wpforms-confirmation-container {
  padding: 24px !important;
  border: 1px solid rgba(18, 191, 230, .3) !important;
  border-radius: 18px !important;
  color: var(--wmg-ink) !important;
  background: #effcff !important;
}

@keyframes wmg-form-spinner {
  to {
    transform: rotate(360deg);
  }
}

.wmg-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--wmg-wide));
  min-height: 88px;
  margin-inline: auto;
  gap: 28px;
}

.wmg-header-brand,
.wmg-header-brand .custom-logo-link,
.wmg-brand-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.wmg-header-brand .custom-logo,
.wmg-header-brand .wmg-brand-logo {
  display: block;
  width: 248px;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.wmg-nav-shell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-left: auto;
}

.wmg-nav-link,
.wmg-nav-group > summary {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 46px;
  padding: 10px 13px;
  border-radius: 12px;
  color: #343b50;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
  transition: color .2s ease, background-color .2s ease;
}

.wmg-nav-group > summary::-webkit-details-marker {
  display: none;
}

.wmg-nav-link:hover,
.wmg-nav-link:focus-visible,
.wmg-nav-group > summary:hover,
.wmg-nav-group > summary:focus-visible,
.wmg-nav-group[open] > summary {
  color: var(--wmg-violet);
  background: var(--wmg-pale-violet);
  outline: none;
}

.wmg-nav-group > summary span {
  transition: transform .2s ease;
}

.wmg-nav-group[open] > summary span {
  transform: rotate(180deg);
}

.wmg-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-left: 9px;
  padding: 12px 18px;
  gap: 10px;
  color: var(--wmg-white);
  background: var(--wmg-violet);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(91, 77, 255, .22);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.wmg-nav-cta:hover,
.wmg-nav-cta:focus-visible {
  color: var(--wmg-white);
  background: var(--wmg-violet-dark);
  box-shadow: 0 14px 30px rgba(91, 77, 255, .3);
  transform: translateY(-2px);
  outline: none;
}

.wmg-nav-group {
  position: static;
}

.wmg-nav-group:not([open]) > .wmg-mega-panel {
  display: none;
}

.wmg-mega-panel {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  display: grid;
  grid-template-columns: minmax(290px, .8fr) minmax(560px, 1.7fr);
  width: min(940px, calc(100vw - 48px));
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(230, 232, 240, .96);
  border-radius: 0 0 var(--wmg-radius) var(--wmg-radius);
  background: var(--wmg-white);
  box-shadow: var(--wmg-shadow);
  transform: translateX(-50%);
}

.wmg-mega-intro {
  padding: 32px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 95% 0%, rgba(18, 191, 230, .28), transparent 40%),
    linear-gradient(145deg, #2b225e, #5b4dff);
  color: var(--wmg-white);
}

.wmg-mega-intro-coral {
  background:
    radial-gradient(circle at 95% 0%, rgba(255, 255, 255, .28), transparent 38%),
    linear-gradient(145deg, #d84661, var(--wmg-coral));
}

.wmg-mega-intro strong {
  display: block;
  margin-top: 15px;
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.14;
  letter-spacing: -.035em;
}

.wmg-mega-intro p {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  line-height: 1.55;
}

.wmg-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--wmg-violet);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.wmg-mega-intro .wmg-kicker,
.wmg-footer-cta .wmg-kicker {
  color: rgba(255, 255, 255, .72);
}

.wmg-kicker::before {
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: currentColor;
}

.wmg-mega-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 9px;
  gap: 5px;
}

.wmg-mega-links > a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 98px;
  padding: 20px 22px;
  border-radius: 16px;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}

.wmg-mega-links > a::after {
  position: absolute;
  top: 20px;
  right: 18px;
  color: var(--wmg-violet);
  content: "→";
  font-weight: 900;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity .2s ease, transform .2s ease;
}

.wmg-mega-links > a:hover,
.wmg-mega-links > a:focus-visible {
  background: var(--wmg-soft);
  transform: translateY(-2px);
  outline: none;
}

.wmg-mega-links > a:hover::after,
.wmg-mega-links > a:focus-visible::after {
  opacity: 1;
  transform: none;
}

.wmg-mega-links span {
  color: var(--wmg-ink);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.25;
}

.wmg-mega-links small {
  margin-top: 7px;
  padding-right: 18px;
  color: var(--wmg-muted);
  font-size: 12px;
  line-height: 1.45;
}

.wmg-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  font-weight: 800;
  text-decoration: none;
}

.wmg-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  color: var(--wmg-ink);
  background: var(--wmg-soft);
  cursor: pointer;
}

.wmg-menu-toggle-lines {
  display: grid;
  width: 21px;
  gap: 4px;
}

.wmg-menu-toggle-lines span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.wmg-menu-toggle[aria-expanded="true"] .wmg-menu-toggle-lines span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.wmg-menu-toggle[aria-expanded="true"] .wmg-menu-toggle-lines span:nth-child(2) {
  opacity: 0;
}

.wmg-menu-toggle[aria-expanded="true"] .wmg-menu-toggle-lines span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.wmg-site-footer {
  position: relative;
  overflow: hidden;
  color: var(--wmg-white);
  background:
    radial-gradient(circle at 15% 12%, rgba(91, 77, 255, .27), transparent 32%),
    radial-gradient(circle at 90% 75%, rgba(18, 191, 230, .16), transparent 30%),
    #171b2b;
}

.wmg-site-footer::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 380px;
  height: 380px;
  content: "";
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
  transform: translate(36%, -52%);
}

.wmg-footer-wrap {
  position: relative;
  width: min(calc(100% - 48px), var(--wmg-wide));
  margin-inline: auto;
  padding: 78px 0 26px;
}

.wmg-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(28px, 4vw, 55px);
  gap: 32px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--wmg-radius-lg);
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 110, 93, .42), transparent 32%),
    linear-gradient(128deg, rgba(91, 77, 255, .88), rgba(63, 51, 199, .78));
  box-shadow: 0 26px 80px rgba(0, 0, 0, .18);
}

.wmg-footer-cta h2 {
  max-width: 830px;
  margin: 13px 0 0;
  color: var(--wmg-white);
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.wmg-footer-cta-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 23px;
  gap: 16px;
  color: var(--wmg-ink);
  background: var(--wmg-white);
  border-radius: 999px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, .18);
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.wmg-footer-cta-button:hover,
.wmg-footer-cta-button:focus-visible {
  color: var(--wmg-ink);
  box-shadow: 0 19px 40px rgba(0, 0, 0, .24);
  transform: translateY(-3px);
  outline: none;
}

.wmg-footer-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.8fr) repeat(3, minmax(155px, .7fr));
  padding: 72px 8px 54px;
  gap: clamp(34px, 5vw, 80px);
}

.wmg-footer-brand .custom-logo,
.wmg-footer-brand .wmg-brand-logo {
  width: 245px;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.wmg-footer-brand p {
  max-width: 450px;
  margin: 24px 0 19px;
  color: rgba(255, 255, 255, .63);
  font-size: 15px;
  line-height: 1.65;
}

.wmg-service-area {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .74);
  font-size: 13px;
  font-weight: 700;
}

.wmg-service-area > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--wmg-sky);
  box-shadow: 0 0 0 6px rgba(18, 191, 230, .12);
}

.wmg-footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.wmg-footer-column strong {
  margin-bottom: 8px;
  color: var(--wmg-white);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.wmg-footer-column a {
  color: rgba(255, 255, 255, .64);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.wmg-footer-column a:hover,
.wmg-footer-column a:focus-visible {
  color: var(--wmg-white);
  transform: translateX(3px);
  outline: none;
}

.wmg-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 8px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  gap: 24px;
  color: rgba(255, 255, 255, .5);
  font-size: 12px;
}

.wmg-footer-bottom p {
  margin: 0;
}

.wmg-footer-bottom a {
  color: rgba(255, 255, 255, .68);
  font-weight: 750;
  text-decoration: none;
}

.wmg-page-heading {
  max-width: 920px;
  margin-bottom: 52px;
}

.wmg-page-heading h1,
.wmg-error-page h1 {
  margin: 16px 0;
  color: var(--wmg-ink);
  font-size: clamp(42px, 7vw, 86px);
  line-height: .98;
  letter-spacing: -.055em;
}

.wmg-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.wmg-post-card {
  overflow: hidden;
  border: 1px solid var(--wmg-line);
  border-radius: var(--wmg-radius);
  background: var(--wmg-white);
  transition: box-shadow .25s ease, transform .25s ease;
}

.wmg-post-card:hover {
  box-shadow: var(--wmg-shadow);
  transform: translateY(-5px);
}

.wmg-post-card-link {
  display: block;
  height: 100%;
  padding: 25px;
  text-decoration: none;
}

.wmg-post-card-image {
  margin: -25px -25px 22px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--wmg-soft);
}

.wmg-post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wmg-post-card time,
.wmg-single time {
  color: var(--wmg-muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.wmg-post-card h2 {
  margin: 10px 0;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -.03em;
}

.wmg-post-card p {
  color: var(--wmg-muted);
  font-size: 14px;
}

.wmg-single {
  max-width: 1040px;
}

.wmg-single-image {
  margin-bottom: 50px;
  overflow: hidden;
  border-radius: var(--wmg-radius-lg);
}

.wmg-prose {
  max-width: var(--wmg-content);
  margin-inline: auto;
}

.wmg-prose h2,
.wmg-prose h3 {
  line-height: 1.15;
  letter-spacing: -.035em;
}

.wmg-error-page {
  min-height: 64vh;
}

.wmg-error-page p {
  max-width: 600px;
  color: var(--wmg-muted);
  font-size: 19px;
}

.wmg-error-actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 32px;
  gap: 12px;
}

.wmg-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.wmg-button-primary {
  color: var(--wmg-white);
  background: var(--wmg-violet);
}

.wmg-button-secondary {
  color: var(--wmg-ink);
  border: 1px solid var(--wmg-line);
  background: var(--wmg-white);
}

/* Full-width HTML/WPBakery compatibility. */
.wmg-page > .vc_row,
.wmg-page > .wpb-content-wrapper > .vc_row {
  margin-right: 0;
  margin-left: 0;
}

.wmg-page .vc_row[data-vc-full-width] {
  overflow: visible;
}

.wmg-page .wpb_content_element:last-child,
.wmg-page .wpb_text_column:last-child {
  margin-bottom: 0;
}

@media (max-width: 1120px) {
  .wmg-site-header {
    background: var(--wmg-white);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .wmg-header-inner {
    min-height: 78px;
  }

  .wmg-menu-toggle {
    display: inline-flex;
  }

  .wmg-nav-shell {
    position: fixed;
    z-index: 9991;
    top: 78px;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: calc(100vh - 78px);
    height: calc(100dvh - 78px);
    min-height: 320px;
    display: none;
    align-items: stretch;
    justify-content: flex-start;
    padding: 18px 24px 44px;
    overflow-y: auto;
    background:
      radial-gradient(circle at 8% 0%, rgba(18, 191, 230, .12), transparent 28%),
      radial-gradient(circle at 92% 3%, rgba(91, 77, 255, .12), transparent 30%),
      #f7f8fc;
    flex-direction: column;
    gap: 9px;
    overscroll-behavior: contain;
  }

  .admin-bar .wmg-nav-shell {
    top: 110px;
    height: calc(100vh - 110px);
    height: calc(100dvh - 110px);
  }

  .wmg-nav-shell.is-open {
    display: flex;
    animation: wmg-mobile-menu-in .22s ease both;
  }

  .wmg-nav-shell > * {
    flex: 0 0 auto;
    min-width: 0;
  }

  .wmg-mobile-menu-intro {
    display: grid;
    padding: 7px 5px 12px;
    gap: 3px;
  }

  .wmg-mobile-menu-intro > span {
    color: var(--wmg-violet);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
  }

  .wmg-mobile-menu-intro > p {
    margin: 2px 0 0;
    color: var(--wmg-muted);
    font-size: 13px;
    line-height: 1.45;
  }

  .wmg-mobile-menu-intro > p strong {
    color: var(--wmg-ink);
    font-weight: 850;
  }

  .wmg-nav-link,
  .wmg-nav-group > summary {
    min-height: 56px;
    padding: 14px 17px;
    border: 1px solid rgba(230, 232, 240, .96);
    border-radius: 17px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 24px rgba(32, 38, 58, .045);
    font-size: 16px;
  }

  .wmg-nav-group > summary {
    justify-content: space-between;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .wmg-nav-group {
    position: relative;
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid rgba(230, 232, 240, .98);
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 9px 26px rgba(32, 38, 58, .05);
  }

  .wmg-nav-group[open] > summary {
    border-bottom: 1px solid var(--wmg-line);
    border-radius: 0;
    background: linear-gradient(90deg, var(--wmg-pale-violet), rgba(238, 236, 255, .42));
  }

  .wmg-nav-group[open] > .wmg-mega-panel {
    display: grid;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .wmg-mega-panel {
    position: static;
    display: grid;
    grid-template-columns: minmax(230px, .78fr) minmax(0, 1.22fr);
    width: auto;
    padding: 10px;
    gap: 10px;
    border: 0;
    border-radius: 0;
    background: var(--wmg-white);
    box-shadow: none;
    transform: none;
  }

  .wmg-mega-intro {
    display: block;
    padding: 24px;
    border-radius: 14px;
  }

  .wmg-mega-intro strong {
    margin-top: 12px;
    font-size: 21px;
  }

  .wmg-mega-intro p {
    margin-top: 11px;
    font-size: 13px;
  }

  .wmg-mega-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
    gap: 7px;
  }

  .wmg-mega-links > a {
    min-height: 92px;
    padding: 17px 18px;
    border: 1px solid #eceef5;
    border-radius: 14px;
    background: #fafbfe;
  }

  .wmg-mega-links > a::after {
    top: 17px;
    right: 15px;
    opacity: 1;
    transform: none;
  }

  .wmg-nav-cta {
    align-self: stretch;
    min-height: 54px;
    margin: 14px 0 0;
  }

  .wmg-footer-grid {
    grid-template-columns: 1.6fr repeat(2, 1fr);
  }

  .wmg-footer-grid .wmg-footer-column:last-child {
    grid-column: 2;
  }
}

@keyframes wmg-mobile-menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 782px) {
  .admin-bar .wmg-site-header {
    top: 46px;
  }

  .admin-bar .wmg-nav-shell {
    top: 124px;
    height: calc(100vh - 124px);
    height: calc(100dvh - 124px);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .wmg-header-inner {
    min-height: 72px;
  }

  .wmg-mobile-toolbar {
    display: block;
    color: var(--wmg-white);
    background:
      radial-gradient(circle at 12% 0%, rgba(18, 191, 230, .22), transparent 34%),
      linear-gradient(110deg, #20263a, #302a62);
  }

  .wmg-mobile-toolbar-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(calc(100% - 24px), var(--wmg-wide));
    min-height: 58px;
    margin-inline: auto;
    padding-block: 8px;
    gap: 8px;
  }

  .wmg-mobile-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 42px;
    padding: 8px 14px;
    gap: 9px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 14px;
    color: var(--wmg-white);
    box-shadow: 0 8px 20px rgba(18, 21, 42, .18);
    font-size: 14px;
    font-weight: 850;
    font-family: inherit;
    line-height: 1;
    text-decoration: none;
    appearance: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .wmg-mobile-action svg {
    flex: 0 0 auto;
  }

  .wmg-mobile-action-call {
    background: linear-gradient(135deg, var(--wmg-sky), var(--wmg-violet));
  }

  .wmg-mobile-action-form {
    background: linear-gradient(135deg, #ff806f, var(--wmg-coral));
  }

  .wmg-mobile-action:hover,
  .wmg-mobile-action:focus-visible {
    color: var(--wmg-white);
    filter: brightness(1.04);
    outline: 3px solid rgba(255, 255, 255, .72);
    outline-offset: -3px;
  }

  .wmg-content-shell,
  .wmg-header-inner,
  .wmg-footer-wrap {
    width: min(calc(100% - 32px), var(--wmg-wide));
  }

  .wmg-header-brand .custom-logo,
  .wmg-header-brand .wmg-brand-logo {
    width: 202px;
  }

  .wmg-nav-shell {
    top: 72px;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
    padding: 15px 16px calc(38px + env(safe-area-inset-bottom));
  }

  .admin-bar .wmg-nav-shell {
    top: 118px;
    height: calc(100vh - 118px);
    height: calc(100dvh - 118px);
  }

  .wmg-mobile-menu-intro {
    padding: 5px 4px 10px;
  }

  .wmg-mobile-menu-intro > p {
    max-width: 42ch;
  }

  .wmg-nav-group[open] {
    overflow: visible;
  }

  .wmg-nav-group > summary span {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--wmg-violet);
    background: var(--wmg-pale-violet);
    font-size: 0;
    transform: none;
  }

  .wmg-nav-group > summary span::before {
    content: "+";
    font-size: 23px;
    font-weight: 650;
    line-height: 1;
  }

  .wmg-nav-group[open] > summary span {
    color: var(--wmg-white);
    background: var(--wmg-violet);
    transform: none;
  }

  .wmg-nav-group[open] > summary span::before {
    content: "−";
  }

  .wmg-nav-group[open] > .wmg-mega-panel {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 8px;
    overflow: visible;
  }

  .wmg-mega-intro {
    display: none;
  }

  .wmg-mega-links {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    height: auto;
    max-height: none;
    padding: 0;
    overflow: visible;
    gap: 8px;
  }

  .wmg-mega-links > a {
    min-height: 74px;
    padding: 15px 52px 15px 17px;
    border: 1px solid #e5e7f0;
    border-radius: 14px;
    background: var(--wmg-white);
    box-shadow: 0 6px 18px rgba(32, 38, 58, .045);
  }

  .wmg-mega-links > a::after {
    top: 50%;
    right: 18px;
    opacity: 1;
    transform: translateY(-50%);
  }

  .wmg-mega-links > a:hover::after,
  .wmg-mega-links > a:focus-visible::after {
    transform: translateY(-50%) translateX(2px);
  }

  .wmg-mega-links span {
    font-size: 16px;
  }

  .wmg-mega-links small {
    margin-top: 5px;
    padding-right: 0;
    font-size: 13px;
  }

  .wmg-footer-wrap {
    padding-top: 40px;
  }

  .wmg-footer-cta {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 25px;
  }

  .wmg-footer-cta-button {
    align-self: stretch;
  }

  .wmg-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-block: 54px 42px;
    gap: 38px 24px;
  }

  .wmg-footer-brand {
    grid-column: 1 / -1;
  }

  .wmg-footer-grid .wmg-footer-column:last-child {
    grid-column: auto;
  }

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

  .wmg-post-grid {
    grid-template-columns: 1fr;
  }

  .wmg-form-modal {
    place-items: end center;
    padding: 0;
  }

  .wmg-form-modal-panel {
    width: 100%;
    max-height: calc(100vh - 10px);
    max-height: calc(100dvh - 10px);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 28px 28px 0 0;
    transform: translateY(32px);
  }

  .wmg-form-modal-handle {
    display: block;
    flex: 0 0 auto;
    width: 46px;
    height: 5px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: #d9dce7;
  }

  .wmg-form-modal-header {
    padding: 18px 20px 20px;
    gap: 14px;
  }

  .wmg-form-modal-header h2 {
    font-size: clamp(27px, 8vw, 34px);
  }

  .wmg-form-modal-header p {
    margin-top: 8px;
    font-size: 14px;
  }

  .wmg-form-modal-close {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .wmg-form-modal-body {
    padding: 22px 20px 16px;
  }

  .wmg-form-modal-note {
    padding: 12px 20px max(14px, env(safe-area-inset-bottom));
  }

  .wmg-form-modal .wpforms-field-row .wpforms-one-half,
  .wmg-form-modal .wpforms-field-row .wpforms-one-third,
  .wmg-form-modal .wpforms-field-row .wpforms-two-thirds {
    width: 100% !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 480px) {
  .wmg-header-inner {
    min-height: 72px;
  }

  .wmg-header-brand .custom-logo,
  .wmg-header-brand .wmg-brand-logo {
    width: 180px;
  }

  .wmg-nav-shell {
    top: 72px;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
  }

  .admin-bar .wmg-nav-shell {
    top: 118px;
    height: calc(100vh - 118px);
    height: calc(100dvh - 118px);
  }

  .wmg-mobile-action {
    padding-inline: 10px;
    font-size: 13px;
  }

  .wmg-form-modal-kicker {
    font-size: 11px;
  }

  .wmg-form-modal-header {
    padding-inline: 17px;
  }

  .wmg-form-modal-body {
    padding-inline: 17px;
  }

  .wmg-form-modal-note {
    padding-inline: 17px;
  }

  .wmg-footer-grid {
    grid-template-columns: 1fr;
  }

  .wmg-footer-grid .wmg-footer-column:last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
