/* 1280px */
@media (width <= 80rem) {
  nav#main-nav #main-nav-content ul {
    z-index: 100;
    position: absolute;
    top: 100%;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 24rem;
    height: auto;
    min-height: 0;
    border-bottom-right-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    overflow: hidden;
  }
  nav#main-nav #main-nav-content[data-expanded="true"] ul {
    display: flex;
  }
  nav#main-nav #main-nav-content[data-expanded="false"] ul {
    display: none;
  }

  nav#main-nav #main-nav-content ul li {
    padding: 0;
    background-color: white;
    border-top: 1px solid var(--cyf-text-200);
  }
  nav#main-nav #main-nav-content ul li a {
    display: flex;
    gap: 1rem;
    padding: 2rem;
    outline-offset: -1rem;
  }
  nav#main-nav #main-nav-content ul li a span {
    display: inline;
  }
  nav#main-nav #main-nav-content-wrapper #main-nav-content button {
    display: flex;
  }
  nav#main-nav
    #main-nav-content-wrapper
    #main-nav-content[data-expanded="false"]
    button
    i::before {
    --fa: "\f0c9"; /* bars */
  }
  nav#main-nav
    #main-nav-content-wrapper
    #main-nav-content[data-expanded="true"]
    button
    i::before {
    --fa: "\f00d"; /* xmark */
  }

  .sidebar-layout {
    grid-template-columns: 1fr;
  }
  #sidebar #related-posts ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  ul.posts-homepage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-video {
    flex-direction: column-reverse;
    gap: 1rem;
  }

  footer #sitemap-content-wrapper {
    flex-direction: column;
  }
  footer #sitemap-content-wrapper #sitemap-contact {
    align-items: center;
  }
  footer #sitemap-content-wrapper #sitemap-contact p {
    text-align: center;
  }

  #return-to-top {
    bottom: 1rem;
  }

  footer #main-footer-content-wrapper {
    flex-direction: column;
  }
  footer #main-footer-content-wrapper nav ul {
    flex-direction: column;
    align-items: center;
  }

  .cyf-hero #upcoming-event {
    display: none;
  }

  .cyf-achievements ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cyf-opinions ul {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .cyf-opinions ul li {
    grid-column: span 1 / span 1 !important;
  }

  .cyf-about-us ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
