@media only screen and (max-width: 1084px) {
  .three-col {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
  }
  .show-highlight .newsitem:first-child {
    grid-column: 1 / 3;
  }
}

@media only screen and (max-width: 640px) {
  /* SPACING */
  main,
  .header-inner,
  footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 1rem;
    padding-top: 1rem;
  }

  main {
    margin: calc(54px + 1.5rem) auto;
    padding-top: 0;
  }

  main figure {
    margin: 0;
  }

  .searchform input[type="search"] {
    width: calc(100% - 70px);
  }

  .searchform input[type="submit"] {
    width: 70px;
  }

  /* GRIDS */
  .three-col {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .show-highlight .newsitem:first-child {
    grid-column: 1 / 2;
  }

  .sidebargrid {
    gap: 0;
    grid-template-columns: minmax(0, 3fr) minmax(0, 0);
  }

  .inner {
    padding-top: 0;
  }

  /* HEADER */
  header.header {
    width: 100%;
    height: auto;
    top: 0;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--black);
  }

  nav.mainmenu li {
    display: block;
    padding: 0;
    margin: 0.5rem 0;
  }

  .extramenu {
    float: none;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: white;
    width: calc(100vw - 3rem);
    padding: 1.5rem;
    overflow: hidden;
    border-top: 1px solid var(--black);
  }

  .extramenu-mobile-collapsed {
    display: none;
  }

  .special-btn {
    margin-right: 0;
  }

  /* SECOND MENU */

  /* MOBILE MENU BURGER */
  .mobile-menu-burger {
    display: block;
    position: fixed;
    right: 1.5rem;
    top: 0;
    height: 4rem;
    width: 4rem;
    background-image: url("../icons/burger-icon.svg");
    background-repeat: no-repeat;
    background-size: 2rem;
    background-position: right;
  }

  .mobile-menu-collapsed {
    height: 4rem !important;
  }

  /* CAROUSEL */
  #fullscreen-carousel {
    top: 53px;
    height: auto;
  }

  #fullscreen-carousel .carousel-cell img {
    height: auto;
  }

  #fullscreen-carousel .carousel-caption {
    position: relative;
    padding: 0.75rem 1.5rem;
    color: var(--black);
    background-color: var(--white);
  }

  #fullscreen-carousel .carousel-caption p {
    right: auto;
    bottom: auto;
    position: relative;
    padding: 0;
    margin: 0;
  }

  #fullscreen-carousel .carousel-caption:hover {
    text-shadow: none;
  }

  .carousel-caption,
  figcaption {
    font-size: 0.75rem;
  }

  .carousel-caption h2 {
    display: none;
  }

  .carousel-caption p {
    margin-top: 0;
  }

  #fullscreen-carousel + .sidebargrid {
    margin-top: calc(53px + 35px + ((100vw / 3) * 2));
  }

  #fullscreen-carousel + .inner {
    padding-top: 1.5rem;
  }

  /* NOTIFICATION */
  .notification + header.header {
    margin-top: 0;
  }

  .notification + header + main {
    margin-top: calc(54px + 4.5rem);
  }

  .notification {
    margin-top: 54px;
    position: absolute;
    height: 3rem;
    overflow: hidden;
  }

  .notification-inner {
    padding: 1rem;
    -moz-animation: marquee 10s linear infinite;
    -webkit-animation: marquee 10s linear infinite;
    animation: marquee 10s linear infinite;
    white-space: nowrap;
  }

  @-moz-keyframes marquee {
    0% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(-130%);
    }
  }
  @-webkit-keyframes marquee {
    0% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(-130%);
    }
  }
  @keyframes marquee {
    0% {
      -moz-transform: translateX(100%);
      -webkit-transform: translateX(100%);
      transform: translateX(100%);
    }
    100% {
      -moz-transform: translateX(-130%);
      -webkit-transform: translateX(-130%);
      transform: translateX(-130%);
    }
  }
}
