/**
 * KS Telecomserv — Custom Mobile Drawer
 * Uses the homepage design variables; visibility is set in Divi.
 */
/*-- Drawer Offset --*/
:root {
  --ks-drawer-top: 0px;
}

/*-- Menu Button --*/
.ks-burger {
  display: grid;
  width: 46px;
  height: 46px;
  border: 1px solid var(--hair-2, rgba(201,218,233,.3));
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
  border-radius: 2px;
  color: var(--navy, #0A2A4E);
}

.ks-burger span {
  display: block;
  width: 19px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
  transition: background .2s;
}

.ks-burger span::before,.ks-burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px;
  height: 1.5px;
  background: currentColor;
  transition: transform .28s cubic-bezier(.22,1,.36,1),top .28s cubic-bezier(.22,1,.36,1);
}

.ks-burger span::before {
  top: -6px;
}

.ks-burger span::after {
  top: 6px;
}

.ks-burger.open span {
  background: transparent;
}

.ks-burger.open span::before {
  top: 0;
  transform: rotate(45deg);
}

.ks-burger.open span::after {
  top: 0;
  transform: rotate(-45deg);
}

/*-- Drawer Overlay and Panel --*/
.ks-drawer {
  position: fixed;
  top: var(--ks-drawer-top);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  visibility: hidden;
  pointer-events: none;
}

.ks-drawer.open {
  visibility: visible;
  pointer-events: auto;
}

.ks-drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(5,10,18,.62);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .45s cubic-bezier(.22,1,.36,1);
  border: 0;
  padding: 0;
  width: 100%;
  cursor: pointer;
}

.ks-drawer.open .ks-drawer-scrim {
  opacity: 1;
}

.ks-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px,100%);
  display: flex;
  flex-direction: column;
  background: var(--navy-deep, #071F3A);
  border-left: 1px solid var(--hair-2, rgba(201,218,233,.3));
  box-shadow: -30px 0 70px -30px rgba(0,0,0,.7);
  transform: translateX(101%);
  will-change: transform;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.ks-drawer.open .ks-drawer-panel {
  transform: translateX(0);
}

.ks-drawer-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--hair, rgba(201,218,233,.16));
}

.ks-drawer-top img {
  height: 34px;
  width: auto;
  flex: none;
}

.ks-drawer-eyebrow {
  font-family: Manrope,sans-serif;
  font-weight: 700;
  font-size: var(--fs-micro, .8125rem);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--azure-glow, #4FB4E8);
}

.ks-drawer-x {
  margin-left: auto;
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--hair-2, rgba(201,218,233,.3));
  border-radius: 2px;
  color: var(--fog-2, #C9DAE9);
  cursor: pointer;
  transition: border-color .25s,color .25s,background .25s;
}

.ks-drawer-x:hover {
  border-color: var(--orange, #EE7A2B);
  color: var(--orange, #EE7A2B);
  background: rgba(238,122,43,.1);
}

.ks-drawer-x::before,
.ks-drawer-x::after {
  content: "";
  grid-area: 1 / 1;
  width: 18px;
  height: 1.6px;
  background: currentColor;
}

.ks-drawer-x::before {
  transform: rotate(45deg);
}

.ks-drawer-x::after {
  transform: rotate(-45deg);
}

/*-- Menu Links --*/
.ks-drawer-panel ul {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
  display: grid;
}

.ks-drawer-panel li {
  opacity: 0;
  transform: translateX(22px);
  transition: opacity .4s cubic-bezier(.22,1,.36,1),transform .5s cubic-bezier(.22,1,.36,1);
}

.ks-drawer.open li {
  opacity: 1;
  transform: none;
}

.ks-drawer.open li:nth-child(1) {
  transition-delay: .1s;
}

.ks-drawer.open li:nth-child(2) {
  transition-delay: .15s;
}

.ks-drawer.open li:nth-child(3) {
  transition-delay: .2s;
}

.ks-drawer.open li:nth-child(4) {
  transition-delay: .25s;
}

.ks-drawer.open li:nth-child(5) {
  transition-delay: .3s;
}

.ks-drawer-panel li a {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid var(--hair, rgba(201,218,233,.16));
  color: var(--fog-2, #C9DAE9);
  text-decoration: none;
  transition: background .3s,padding .3s cubic-bezier(.22,1,.36,1),color .3s;
}

.ks-drawer-panel li a:hover,.ks-drawer-panel li a:focus-visible {
  background: rgba(46,155,214,.08);
  padding-left: 32px;
  color: var(--fog, #F2F7FB);
  outline: none;
}

.ks-drawer-panel li em {
  font-style: normal;
  font-family: Manrope,sans-serif;
  font-weight: 700;
  font-size: var(--fs-micro, .8125rem);
  letter-spacing: .1em;
  color: var(--fog-4, #8195AD);
  transition: color .3s;
}

.ks-drawer-panel li a:hover em,.ks-drawer-panel li a:focus-visible em {
  color: var(--orange, #EE7A2B);
}

.ks-drawer-panel li b {
  font-family: Manrope,sans-serif;
  font-weight: 600;
  font-size: var(--fs-h3, 1.4375rem);
  letter-spacing: -.02em;
}

.ks-drawer-arrow {
  position: relative;
  display: block;
  width: 17px;
  height: 9px;
  color: var(--fog-4, #8195AD);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .3s,transform .3s cubic-bezier(.22,1,.36,1),color .3s;
}

.ks-drawer-arrow::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 15px;
  height: 1.5px;
  background: currentColor;
}

.ks-drawer-arrow::after {
  content: "";
  position: absolute;
  top: 1.5px;
  right: 2px;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.ks-drawer-panel li a:hover .ks-drawer-arrow,
.ks-drawer-panel li a:focus-visible .ks-drawer-arrow {
  opacity: 1;
  transform: none;
  color: var(--orange, #EE7A2B);
}

/*-- Contact and Footer --*/
.ks-drawer-foot {
  margin-top: auto;
  padding: 26px 24px 30px;
  border-top: 1px solid var(--hair, rgba(201,218,233,.16));
  display: grid;
  gap: 14px;
  opacity: 0;
  transition: opacity .45s cubic-bezier(.22,1,.36,1) .3s;
}

.ks-drawer.open .ks-drawer-foot {
  opacity: 1;
}

.ks-drawer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 2px;
  background: var(--orange, #EE7A2B);
  color: #0B0F14;
  font-family: Manrope,sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: background .3s,transform .3s cubic-bezier(.22,1,.36,1);
}

.ks-drawer-cta:hover {
  background: var(--orange-lt, #F5A34C);
  color: #0B0F14;
  transform: translateY(-2px);
}

.ks-drawer-foot dl {
  margin: 0;
  display: grid;
  gap: 3px;
}

.ks-drawer-foot dt {
  font-family: Manrope,sans-serif;
  font-weight: 600;
  font-size: var(--fs-micro, .8125rem);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fog-4, #8195AD);
}

.ks-drawer-foot dd {
  margin: 0;
  font-size: var(--fs-micro, .8125rem);
}

.ks-drawer-foot dd a {
  color: var(--fog, #F2F7FB);
  text-decoration: none;
  word-break: break-word;
}

.ks-drawer-foot dd a:hover {
  color: var(--orange-lt, #F5A34C);
}