

@media (max-width: 1024px) {

 section.image {
    height: 60vh;
  }

}

@media (max-width:640px) {

  body {
    font-size: 13px;
  }

  h1 {
    font-size: 18px;
  }

    #logo-animation {
    height: auto;
    width: 34px;
  }

  .site-branding {
    height: 70px;
  }

  .menu-toggle {
    z-index: 1000;
    position: fixed;
    top: 15px;
    left: 15px;
    border: 1px solid black;
    background-color: white;
    padding: 4px 3px 0px 3px;
    box-sizing: border-box;
    height: 34px;
  }

  .site-branding {
    top: 15px;
    left: 50%;
    right: unset;
    bottom: unset;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
  }

  #masthead {
    font-family: 'Helvetica Neue Medium', Arial, Helvetica, sans-serif;
    line-height: 1;
    position: fixed;
    top: 0;
    left: 0;
  }

  #site-navigation {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #C54824;
    padding: 80px 20px 20px;
    box-sizing: border-box;
    display: none;
    overflow: scroll;
  }

  #primary-menu {
    flex-direction: column;
    gap: 15px;
  }
  
  .sub-menu {
      position: relative;
      padding: 15px !important;
  }

  .sub-menu a {
    transform: none;
  }
  
  .sub-menu li {
          padding: 10px 0 0 !important;
  }

  #primary-menu > li.menu-item-has-children:last-of-type > a {
    border-right: 0;
  }

  /* Show nav when checkbox is checked */
  .menu-toggle-checkbox:checked ~ #site-navigation {
    display: block;
  }

  /* Style the toggle button */
  .menu-toggle {
    cursor: pointer;
    display: inline-block;
  }

  #searchdrop {
    none;
  }

  #searchdrop input {
    min-width: unset;
  }
  
  #searchdrop-mobile form {
    width: 100%;
    padding: 10px;
    background-color: white;
    height: fit-content;
    display: flex;
    justify-content: space-between;
    border: 1px solid;
}
  
  #searchdrop-mobile {
    width: calc(100%);
    border: 1px solid;
    box-sizing: border-box;
    padding: 60px 15px;
    background-color: white;
    z-index: 100;
    position: fixed;
    margin: 0;
    z-index: 1000;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    display: none;
    align-items: center;
  }

  .home section.first,
  .home section.second,
  .home section.third {
    display: flex;
    flex-direction: column;
  }

  .home section.third {
    padding: 15px;
    box-sizing: border-box;
  }

  .home section.first {
    border-bottom: 0px solid;
  }

  .home .posts,
  .home .entry-featured,
  .home section.second .news,
  .home section.second .extra-posts {
    width: 100%;
    max-width: 100%;
    position: relative;
  }

  .home .entry-featured {
    border: 1px solid black;
    /* margin: 15px; */
    position: relative;
    height: 70vh;
    order: 1;
    /* flex: 0; */
  }

  .home .entry-featured .content {
    max-width: unset;
    width: calc(100% - 30px);
    padding-top: 20px;
    bottom: 15px;
    left: 15px;
  }

  .home .posts {
    order: 2;
    margin-top: 0;
  }

  .home .news-post a {
    max-width: 35%;
  }

  .extra-posts-list {
    display: flex;
    flex-wrap: wrap;
  }

  .extra-posts {
    /* margin-top: 0; */
    padding-top: 0;
  }

  .extra-posts-list .entry-home,
  .category-section .entry-home {
    width: calc(50% - 10px) !important;
  }

  .home .info {
    gap: 15px;
    flex-direction: column;
  }

  .home .info .spotify,
  .home .info .seo {
    width: 100%;
  }

  #primary > section.second > div.extra-posts > div > div:nth-child(3) {
    width: 100% !important;
  }

  .home .news-posts article:nth-child(n+5) {
    display: none;
  }

  .extra-posts-two.container .entry-home {
    width: calc(50% - 14px);
  }

  .category-section {
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 15px;
  }

  .category-info {
    width: 100%;
    margin: 0;
  }

  .category-section .entry-home:nth-child(3) {
    display: none;
  }

  .category-section .entry-home {
    margin: 0;
  }

  .entry-home .entry-category, .entry-featured .entry-category {
    font-size: 10px;
  }

  /* SINGLE */
  
  .single .site-main .entry-meta {
    display: block;
     position: relative;
     top: unset; 
     right: unset; 
    transform: unset;
    width: 100%;
    border-bottom: 0;
    text-align: right;
}

  .related-posts-grid .entry-home {
    width: calc(50% - 15px);
  }

  .single .wp-block-gallery {
    width: 100% !important;
  }

  .single .site-main .entry-meta {
    transform: none;
  }

  .single .site-main .entry-title
   {
    transform: none;
    top: 0;
    max-width: 100%;
    position: relative;
    border-bottom: none;
    border-top: none;
    width: 100%;
  }

  .single .entry-content {
    padding: 15px;
    box-sizing: border-box;
    margin-bottom: 30px;
  }

  .single .entry-excerpt {
    position: relative;
    transform: none;
    top: unset;
    left: unset;
  }

  .single .entry-header {
    margin: 90px 0 0;
  }

  .single .entry-header .content {
    display: flex;
    flex-wrap: wrap;
  }

  .single .entry-header .content .post-thumbnail {
    width: 100%;
  }

  .slide-caption {
    all: unset !important;
    padding: 5px !important;
  }

  /* FOOTER */

  footer.site-footer {
    flex-wrap: wrap;
    padding: 30px 15px 30px;
  }

  footer.site-footer span {
    max-width: 100%;
    margin: 0;
  }

  .site-info {
    padding-bottom: 30px;
  }

  footer img {
    filter:invert();
    margin-bottom: 15px;
  }

  .archive .posts {
    display: flex;
    flex-wrap: wrap;
  }

  .archive .posts .entry-home {
    width: calc(50% - 10px);
  }

  .archive .posts .entry-home:nth-child(4) {
    width: 100%;
  }

  .icons {
    gap: 10px;
  }

  section.about,
  section.collaborations,
  section.media,
  section.projects {
    padding: 15px;
    min-height: unset;
  }

  section.about {
    overflow: hidden;
  }

  section.team {
    padding: 40px 0;
  }

  section.about .hero {
    max-width: 100vw;
  }

  .text_content {
    position: relative !important;
    top: unset !important;
    left: unset !important;
    transform: unset !important;
    right: unset !important;
    margin: 0 !important;
  }

  section.team .text_content {
    margin: 15px !important;
  }

  .text_content h3 {
    transform: unset !important;
  }

  .text_content h2:first-of-type {
    left: -1px !important;
    right: 0px !important;
    top: -52px !important;
    width: 100%;
  }
  
  section.projects .text_content h2:first-of-type,
  section.projects .text_content h2:first-of-type {
      top: -52px !important;
  }

  section.projects #media-projects {
    padding: 15px 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
  }

  section.projects #media-projects a {
    width: calc(50% - 7px);
  }

  section.projects #media-projects .project-inner {
    width: 100%;
  }

  #media-projects > div:nth-child(4) {
    display: block;
  }

  .project-inner h4 {
    font-size: 11px;
  }

  section.collaborations {
    padding-top: 40px;
  }

  section.media {
    padding-top: 140px;
  }

  section.projects {
    padding-top: 80px;
  }

  /* MEDIA PROJECTS */

  .media-projects-marquee {
    transform: unset;
  }

  .media-project-item {
    flex: 0 0 70%;
  }

  .media-project-overlay {
    top: 50%;
    left: 0;
    right: unset;
  }
  
  /* SEARCH*/
  
  .search .page-header {
      width: 100%;
  }
  
  .search .entry-home {
    width: calc(50% - 10px);
  }

}