@import url('https://fonts.googleapis.com/css?family=IBM+Plex+Sans:400,700&display=swap');

@media (min-width: 1200px) {
  .custom-mega-menu {
    background: var(--color-white);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    display: none;
    left: 0;
    margin-top: -20px;
    max-width: 100vw;
    min-width: 0;
    padding: 0;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 100;
  }

  .custom-mega-menu .menu-item.menu-item-depth-2 {
    color: var(--color-canvas-text);
    font-family: 'IBM Plex Sans', Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    padding-bottom: 16px;
  }

  .custom-mega-menu .menu-section-title {
    color: var(--color-canvas-text);
    font-family: 'IBM Plex Sans', Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    position: relative;
  }

  .custom-mega-menu .menu-section-title::after {
    border-bottom: 2px solid var(--color-grey-border);
    bottom: 0;
    content: "";
    display: block;
    left: 0;
    position: absolute;
    width: 100%;
  }

  .custom-mega-menu-columns {
    align-items: flex-start;
    box-sizing: border-box;
    display: flex;
    flex: 1 1 50%;
    flex-direction: row;
    gap: 32px;
    padding: 32px 24px;
  }

  .custom-mega-menu-column {
    flex: 1 1 0;
    min-width: 0;
  }

  .custom-mega-menu-inner {
    display: flex;
    flex-direction: row;
    min-height: 300px;
    width: 100%;
  }

  .custom-mega-menu-latest {
    align-items: flex-start;
    background: var(--color-light-grey);
    border-left: 1px solid var(--color-grey-border);
    box-sizing: border-box;
    display: flex;
    flex: 1 1 50%;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    padding: 32px 24px;
  }

  .custom-mega-menu-latest .latest-posts {
    width: 100%;
  }

  .custom-mega-menu-latest .latest-posts .post-list a {
    display: flex;
  }

  .navbar-nav > li.menu-item:hover > .custom-mega-menu,
  .navbar-nav > li.menu-item:focus-within > .custom-mega-menu {
    display: block;
  }

  .site-header .header-top .container .navbar-nav > li.menu-item {
    position: static;
  }

  .site-header .header-top .container .navbar-nav > li.menu-item > .sub-menu {
    border-left: none;
    border-right: none;
    left: 0;
    max-width: 100%;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
    position: absolute;
    right: 0;
    transform: none;
    width: 100%;
  }
}