@media (max-width: 1023px) {
  .primary-menu-wrapper {
    width: 90%;
    max-width: 320px;
    height: 100%;
    overflow-y: auto;
  }
  .menu-item-has-children::before {
    position: absolute;
    content: '+';
    color: var(--color-primary);
    right: 0;
    top: 0.6rem;
  }
}
/* mobile */
@media (max-width: 767px) {

}
/* tablet */
@media (min-width: 768px) {
  html {
    font-size: 18px;
  }
  .site-brand img {
    max-height: 40px;
  }
  /* Node */
  .node-meta {
    font-size: 1rem;
  }
  /* page layout */
  .sidebar-left .main-container {
    grid-template-columns: 1fr 3fr;
  }
  .sidebar-right .main-container {
    grid-template-columns: 3fr 1fr;
  }
  .two-sidebar .main-container {
    grid-template-columns: 1fr 2fr 1fr;
  }
  #sidebar-left {
    order: 1;
  }
  #main {
    order: 2;
  }
  #sidebar-right {
    order: 3;
  }
  /* Footer */
  .region-footer-bottom .block {
    flex: 1 0 40%;
  }
  /* Content width */
  .width30 {
    width: 30%;
  }
  .width40 {
    width: 40%;
  }
  .width50 {
    width: 50%;
  }
  .width60 {
    width: 60%;
  }
  .width70 {
    width: 70%;
  }
  .width80 {
    width: 80%;
  }
  .width90 {
    width: 90%;
  }
  .w10 {
    flex-basis: calc(10% - 1rem);
  }
  .w20 {
    flex-basis: calc(20% - 1rem);
  }
  .w30 {
    flex-basis: calc(30% - 1rem);
  }
  .w40 {
    flex-basis: calc(40% - 1rem);
  }
  .w50 {
    flex-basis: calc(50% - 1rem);
  }
  .w60 {
    flex-basis: calc(60% - 1rem);
  }
  .w70 {
    flex-basis: calc(70% - 1rem);
  }
  .w80 {
    flex-basis: calc(80% - 1rem);
  }
  .w90 {
    flex-basis: calc(90% - 1rem);
  }
/* Responsive view
------------------------- */
.view-in-mobile {
  display: none;
}
.view-in-desktop {
  display: block;
}
}
/* desktop */
@media (min-width: 1024px) {
  .site-brand img {
    max-height: 60px;
  }
  /* Header main menu */
  .region-primary-menu {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
  }
  .primary-menu-wrapper {
    position: relative;
    background-color: transparent;
    padding: 0;
    transform: translateX(0);
    z-index: 2;
  }
  .region-primary-menu .menu {
    color: var(--color-dark);
    flex-direction: row;
    gap: 1rem;
  }
  .region-primary-menu .menu a {
    color: var(--color-dark);
  }
  .region-primary-menu .menu > li {
    position: relative;
    padding: 0;
    border: 0;
  }
  .menu-item-has-children > a {
    position: relative;
  }
  .menu-item-has-children > a::after {
    content: '+';
  }
  .region-primary-menu .menu > li:hover::after {
    width: calc(100% - 12px);
  }
  .region-primary-menu .submenu {
    position: absolute;
    background-color: var(--color-dark);
    top: calc(100% - 1px);
    min-width: 200px;
    padding: 0 0.8rem;
    border-radius: 0 0 6px 6px;
    opacity: 0;
    visibility: hidden;
  }
  .region-primary-menu .submenu a {
    color: #ffffff;
  }
  .region-primary-menu .submenu li {
    padding: 0;
    transition: all 0.5s linear;
  }
  .region-primary-menu .submenu li:hover {
    border-bottom: 1px solid var(--color-primary);
  }
  .region-primary-menu .submenu li:first-child {
    border-top: none;
  }
  .region-primary-menu .submenu a {
   padding: 0.5rem 0;
  }
  .menu-item-has-children:hover > .submenu {
    visibility: visible;
    animation: slideUp 0.5s forwards;
  }
  .region-primary-menu .submenu a:hover {
    color: var(--color-primary);
  }
  /* third level menu */
  .region-primary-menu .submenu .submenu {
    left: 100%;
    top: 0;
  }
  .submenu .menu-item-has-children::before {
    right: 0;
    color: #ffffff;
  }
  .mobile-menu-icon,
  .close-mobile-menu {
    display: none;
  }
  /* Footer */
  .footer {
    margin-top: 60px;
  }
  .footer::before {
    position: absolute;
    content: '';
    left: 0;
    bottom: calc(100% - 2px);
    background-color: var(--color-dark);
    width: 100px;
    height: 60px;
    clip-path: polygon(0 0, 0% 100%, 100% 100%);
  }
}
/* widescreen */
@media (min-width: 1260px) {
  
}