#gin-sidebar-draggable {
  cursor: ew-resize;
  z-index: 104;
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  padding: 0;
  display: block;
  width: 2px;
  height: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  #gin-sidebar-draggable {
    transition: var(--gin-transition-fast);
  }
}

#gin-sidebar-draggable:hover {
  background-color: var(--gin-border-color-table);
}

#gin-sidebar-draggable:active {
  background-color: var(--gin-border-color);
}

@media (prefers-reduced-motion: no-preference) {
  .layout-region--secondary {
    transition: transform var(--gin-transition-fast);
  }
}

@media (max-width: 60.99em) {
  .layout-region--secondary {
    --gin-sidebar-width: var(--gin-sidebar-small-width);
  }
}

@media (max-width: 63.99em) {
  .layout-region--secondary {
    opacity: 0;
    visibility: hidden;
  }
}

body[data-meta-sidebar=closed] {
  --gin-sidebar-offset: 0px;
}

body[data-meta-sidebar=closed] .layout-region--secondary {
  transform: translateX(var(--gin-sidebar-width));
  visibility: hidden;
}

[dir=rtl] body[data-meta-sidebar=closed] .layout-region--secondary {
  transform: translateX(calc(var(--gin-sidebar-width) * -1));
}

@media (max-width: 63.99em) {
  body[data-meta-sidebar=open] .layout-region--secondary {
    opacity: 1;
    visibility: visible;
  }
}

.meta-sidebar__close {
  cursor: pointer;
  background: transparent;
  height: 32px;
  width: 32px;
  border-radius: var(--gin-border-m);
}

@media (prefers-reduced-motion: no-preference) {
  .meta-sidebar__close {
    transition: background var(--gin-transition-fast);
  }
}

.meta-sidebar__close::before {
  content: "";
  display: inline-block;
  width: 100%;
  height: 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center center;
          mask-position: center center;
  background-color: var(--gin-icon-color);
}

.meta-sidebar__close:hover, .meta-sidebar__close:focus {
  background-color: var(--gin-color-primary-light);
}

.meta-sidebar__close:hover::before, .meta-sidebar__close:focus::before {
  background-color: var(--gin-color-primary);
}

.meta-sidebar__close.is-active {
  background-color: var(--gin-color-primary-light-hover);
}

.meta-sidebar__close.is-active::before {
  background-color: var(--gin-color-primary-active);
}

.meta-sidebar__trigger {
  cursor: pointer;
  background: transparent;
  display: block;
  width: 32px;
  height: 32px;
  border-radius: var(--gin-border-m);
}

@media (prefers-reduced-motion: no-preference) {
  .meta-sidebar__trigger {
    transition: background var(--gin-transition-fast);
  }
}

.meta-sidebar__trigger::before {
  display: inline-block;
  width: 100%;
  height: 100%;
  content: "";
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center center;
          mask-position: center center;
  background-color: var(--gin-icon-color);
  -webkit-mask-image: url("../../media/sprite.svg#sidebar-view");
          mask-image: url("../../media/sprite.svg#sidebar-view");
  -webkit-mask-size: var(--gin-icon-size-sidebar-toggle) var(--gin-icon-size-sidebar-toggle);
          mask-size: var(--gin-icon-size-sidebar-toggle) var(--gin-icon-size-sidebar-toggle);
  border-radius: 50%;
}

.meta-sidebar__trigger:hover, .meta-sidebar__trigger:focus, .meta-sidebar__trigger.is-active, .meta-sidebar__trigger.is-active:hover {
  background-color: var(--gin-color-primary-light);
}

.meta-sidebar__trigger:hover::before, .meta-sidebar__trigger:focus::before, .meta-sidebar__trigger.is-active::before, .meta-sidebar__trigger.is-active:hover::before {
  background-color: var(--gin-color-primary);
}

.meta-sidebar__trigger.is-active {
  background-color: var(--gin-bg-item-hover);
}

.meta-sidebar__close {
  z-index: 104;
  position: absolute;
  inset-block-start: 18px;
  inset-inline-end: var(--gin-spacing-m);
}

@media (min-width: 64em) {
  .meta-sidebar__close {
    display: none;
  }
}

.meta-sidebar__close::before {
  -webkit-mask-image: url("../../media/sprite.svg#close-view");
          mask-image: url("../../media/sprite.svg#close-view");
  -webkit-mask-size: 16px 16px;
          mask-size: 16px 16px;
}

.meta-sidebar__overlay {
  z-index: 102;
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  background: var(--gin-bg-layer2);
}

body[data-meta-sidebar=open] .meta-sidebar__overlay {
  opacity: .9;
  visibility: visible;
}

@media (min-width: 64em) {
  .meta-sidebar__overlay {
    display: none;
  }
}

