/* Contact shortcuts outside the homepage. */
body.xmtx-contact-ready .xmtx-contact-shortcuts {
  box-sizing: border-box;
  position: fixed;
  z-index: 65;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 84px;
  padding: 7px;
  border: 1px solid #cbdff7;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 14px 38px #143d7030;
  font-family: 'Be Vietnam Pro', Arial, sans-serif;
}
body.xmtx-contact-ready .xmtx-contact-shortcuts-title {
  padding: 5px 2px 3px;
  color: #496889;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}
body.xmtx-contact-ready .xmtx-contact-shortcuts a {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 55px;
  margin: 0;
  padding: 6px 2px;
  border: 0;
  border-radius: 9px;
  background: #eef5ff;
  color: #145097;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
}
body.xmtx-contact-ready .xmtx-contact-shortcuts a:hover {
  background: #dcecff;
  color: #0757bd;
}
body.xmtx-contact-ready .xmtx-contact-shortcuts .xmtx-contact-shortcuts-form {
  background: #0868e8;
  color: #fff;
}
body.xmtx-contact-ready .xmtx-contact-shortcuts .xmtx-contact-shortcuts-form:hover {
  background: #0757bd;
  color: #fff;
}
body.xmtx-contact-ready .xmtx-contact-shortcuts a:focus-visible {
  outline: 3px solid #5da3ff;
  outline-offset: 2px;
}
body.xmtx-contact-ready .xmtx-contact-shortcuts svg {
  flex: none;
  width: 19px;
  height: 19px;
}
body.xmtx-contact-ready .xmtx-contact-shortcuts-zalo-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 19px;
  height: 19px;
  border: 1.7px solid currentColor;
  border-radius: 6px;
  font: 800 13px/1 Arial, sans-serif;
}

/* Keep the article and archive content clear of the rail on compact desktops. */
@media (min-width: 1024px) and (max-width: 1431px) {
  body.xmtx-contact-ready .xmtx-hub .xmtx-hub-wrap {
    width: calc(100% - 96px);
    margin-left: 0;
    margin-right: 96px;
  }
}
@media (min-width: 1024px) and (max-width: 1311px) {
  body.xmtx-contact-ready .xmtx-editorial-main .xmtx-article-wide {
    width: calc(100% - 96px);
    margin-left: 0;
    margin-right: 96px;
  }
}

@media (max-width: 1023px) {
  body.xmtx-contact-ready .xmtx-mobile-cta { display: none !important; }
  body.xmtx-contact-ready #wrapper { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  body.xmtx-contact-ready .xmtx-contact-shortcuts {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    transform: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
    padding: 8px max(10px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    border-width: 1px 0 0;
    border-radius: 0;
    box-shadow: 0 -8px 28px #143d7024;
  }
  body.xmtx-contact-ready .xmtx-contact-shortcuts-title { display: none; }
  body.xmtx-contact-ready .xmtx-contact-shortcuts a {
    flex-direction: row;
    gap: 6px;
    min-height: 48px;
    padding: 8px 5px;
    font-size: 11px;
  }
}

@media (max-width: 359px) {
  body.xmtx-contact-ready .xmtx-contact-shortcuts { gap: 5px; padding-inline: 7px; }
  body.xmtx-contact-ready .xmtx-contact-shortcuts a { gap: 4px; font-size: 10px; }
  body.xmtx-contact-ready .xmtx-contact-shortcuts svg,
  body.xmtx-contact-ready .xmtx-contact-shortcuts-zalo-icon { width: 17px; height: 17px; }
}
