@media only screen and (max-width: 1100px) {
  /* Home page: remove top margin on the two-columns section when desk disappears */
  .two-columns.below-desk {
    margin-top: 0 !important;
  }

  .top.simple-hero{
    padding: 0px;
  }

  .top{
    padding: 0px;
  }

  :root {
    --max-width: 800px;
    --padding: 40px;
    /* Proportional heading sizes at 1100px - reduced by ~17% from base */
    --font-size-h1: calc(8px * 10);
    --font-size-h2: calc(8px * 6.5);
    --font-size-h3: calc(8px * 3.75);
    --font-size-h4: calc(8px * 2.5);
    --font-size-h5: calc(8px * 2);
    --font-size-h6: calc(8px * 1.75);
  }

  h1 {
    font-size: var(--font-size-h1);
  }

  h2 {
    font-size: var(--font-size-h2);
  }

  h3 {
    font-size: var(--font-size-h3);
  }

  h4 {
    font-size: var(--font-size-h4);
  }

  h5 {
    font-size: var(--font-size-h5);
  }

  h6 {
    font-size: var(--font-size-h6);
  }

  section{
    margin-top: 60px !important;
  }
.quote-of-month{
    margin-top: 80px !important;
  }
  
  /* .menu-bar {
    display: none;
  }
  .menu-bar.menu-mobile {
    display: flex;
  } */

  .site-header {
    max-width: var(--max-width);
    left: 50%;
    transform: translateX(-50%);
    padding: 0 var(--padding);
  }



  .menu-bar .sub-menu li {
    margin: -1px !important;
  }

  .single-column {
    max-width: var(--max-width);
  }

  .two-columns .wrapper {
    grid-template-columns: 1fr;
    gap: 0px;
  }

    /* Text content always comes first */
  .two-columns .left-column:has(.content),
  .two-columns .right-column:has(.content) {
    order: 1;
  }

  /* Images and videos always come second (below text) */
  .two-columns .left-column:has(.image),
  .two-columns .right-column:has(.image),
  .two-columns .left-column:has(.video),
  .two-columns .right-column:has(.video),
  .two-columns .left-column:has(.quiz-wrapper),
  .two-columns .right-column:has(.quiz-wrapper) {
    order: 2;
  }

  .two-columns .left-column,
  .two-columns .right-column {
    width: 100%;
  }

  /* Featured card responsive */
  .featured-card.two-columns .wrapper {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .featured-card.two-columns .left-column {
    order: 1;
  }

  .featured-card.two-columns .right-column {
    order: 2;
  }

  .featured-card.two-columns .right-column .content {
    padding: calc(var(--padding) / 2);
  }

  .filled-section {
    padding-left: 0;
    padding-right: 0;
  }

  .top,
  .home-hero {
    padding: 0px 0px 0px 0px;

    /* Stack hero content vertically at tablet size */
    .content {
      flex-direction: column;
      gap: var(--padding);
      padding: 0 var(--padding);
    }

    .hero-left {
      width: 100%;
      text-align: center;
      align-items: center;
    }

    .hero-left h1 {
      font-size: calc(8px * 12);
    }

    .hero-right {
      width: 100%;
      justify-content: center;
    }

    .hero-image-wrapper {
      width: 100%;
      max-width: 500px;
      height: auto;
      aspect-ratio: 1 / 1;
    }

    .hero-image-wrapper.has-frame {
      width: 100%;
      max-width: 500px;
      height: auto;
      aspect-ratio: 1 / 1;
      padding: 50px;
    }
  }

  /* Flexible frame at tablet size */
  .flexible-image-wrapper.has-frame {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  /* Content sections carousel only - not favorites */
  .carousel-section:not(.favorites-carousel) .carousel-image-wrapper {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .carousel-section:not(.favorites-carousel) .carousel-image-wrapper.has-frame {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .cards-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-section:has(.news-card) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Responsive Filters */

  .filters-grid-container:has(.filter-column:nth-child(3)) {
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-column .tape-title .tape-text,
  .filter-section .tape-title .tape-text {
    font-size: var(--font-size-h4);
    padding: 15px 40px;
  }

  .filters-wrapper.corkboard-background {
    padding: 60px 0;
  }

  /* Polaroid Grid */
    .polaroid-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 30px;
  }
  
  .corkboard-background {
    padding: 60px 0;
  }
  
  .tape-title .tape-text {
    font-size: var(--font-size-h3);
    padding: 12px 30px;
  }

  /* Favorite Books - hide bookshelf when wrapping to 3 columns */
  .favorite-books.bookshelf-background {
    background-image: none;
    padding-bottom: var(--spacing-lg);
    transform: translateY(0px);
  }

  .favorite-books .books-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    transform: translateY(0);
  }

  /* Show 6th book at 1100px and below */
  .favorite-books .book-item:nth-child(6) {
    display: flex;
  }

  /* Vinyl carousel responsive sizing */
  .favorites-carousel .carousel-image-wrapper {
    width: 400px;
    height: 400px;
  }

    .two-column-grid {
    gap: var(--padding);
  }

  .column-left {
    padding-right: calc(var(--padding) / 2);
  }

  .footer-three-columns {
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--padding) * 2);
  }

  .footer-column {
    text-align: left;
    align-items: flex-start;
  }

  .footer-menu-column {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    text-align: left;
  }

  .footer-contact-column {
    grid-column: 2;
    grid-row: 1;
  }

  .footer-newsletter-column {
    grid-column: 1 / -1;
    grid-row: 2;
    align-items: center;
    text-align: center;
  }

  .footer-newsletter-column .newsletter-text {
    text-align: center;
  }

  .footer-menu-vertical {
    align-items: flex-start;
  }

  .social-icons {
    justify-content: flex-start;
  }


  .favorite-books-wrapper .section-title {
    margin-bottom: unset;
  }

  /* Hide desk and desk items at 1100px and below */
  .desk-section,
  .desk,
  .desk-img,
  .desk img:not(.desk-img),
  .desk-item,
  .desk-instructions-wrapper, .centered-text-with-arrow .desk-instructions-arrow {
    display: none !important;
  }

  /* Contact envelope - stack vertically, center envelope */
  .contact-envelope-wrapper {
    flex-direction: column;
    align-items: center;
    /* padding-top: 2rem; */
  }

  .envelope-label-container {
    align-items: center;
    text-align: center;
    transform: none;
    margin-top: 10px;
  }

  .home .envelope-label-container {
    transform: none;
  }

  .envelope-arrow {
    /* content: url('../images/arrow-2-cropped.png');
    width: 100px !important;
    transform: scale(-.5) scaleX(-1) rotate(123deg) translate(-190px, -320px); */
    display: none;
  }
    .envelope-label {
    transform: none;
  }

  .archive-count-arrow{
    transform: scaleX(-0.8) rotate(-30deg) translateY(60%) translateX(30%);
  }

  .contact-envelope-wrapper{
    gap: 0px;
    margin:0px;
  }
 .envelope-label-container{
  gap: 0px;
 }

 .filters-grid-container{
    gap: 30px;
}
.filter-column{
    /* gap: 0px; */
}
.tape-title{
  /* padding: 0px; */
  margin-bottom: 0px;
}

.button-style-book-binding .button-text{
  top: -5%;
}

/* Date filter - center when cards are 2 columns */
.date-filter-section {
  justify-content: center;
}

.date-filter-section .date-filter-item {
  min-width: 120px;
}
}


@media only screen and (max-width: 1199px) {
.button-style-ipod .button-text{
  /* padding: 4px 12px; */
}
}

@media only screen and (max-width: 1174px) {
.menu-bar {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    /* width: calc(var(--max-width) - var(--padding) * 2); */
    padding: 0;
    /* border-bottom: 1px solid var(--color-white); */

    & li {
      margin: 0.3em 0;
    }

    .site-branding {
      grid-column: 1 / span 2;
      /* border-top: 1px solid var(--color-white); */
      /* border-bottom: 1px solid var(--color-white); */
    }

    .menu-left-menu-container {
      grid-column: 1;
      grid-row: 2;
      margin-top: 0;
    }
    .menu-right-menu-container {
      grid-column: 2;
      grid-row: 2;
      margin-top: 0;
    }

  }
}