    .archive-container {
      max-width: 1200px;
      margin: 40px auto;
      padding: 20px;
    }

    /* Columns layout */
    .year-columns {
      display: flex;
      gap: 35px;
      justify-content: center;
      align-items: flex-start;
    }

    .year-column {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    /* Year blocks */
    .year-item {
      position: relative;
      background: #f8f8f8;
      padding: 15px;
      border-radius: 8px;
      text-align: center;
      cursor: pointer;
      font-size: 1.3rem;
      font-weight: bold;
      transition: background 0.25s, transform 0.25s;
      z-index: 10;
    }

    .year-item:hover {
      background: #e6e6e6;
      transform: translateX(3px);
    }

    /* Hidden month menu (internal placeholder — content is copied to floating menu) */
    .month-menu {
      display: none;
    }

    /* FLOATING MONTH MENU */
    #floatingMenu {
      position: fixed;
      top: 0;
      left: 0;

      opacity: 0;
      pointer-events: none;

      background: white;
      border: 1px solid #ccc;
      border-radius: 6px;
      padding: 12px;
      z-index: 99999;

      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;

      min-width: 260px;

      box-shadow: 0 4px 12px rgba(0,0,0,0.18);
      transition: opacity 0.2s ease;
    }

    #floatingMenu a {
      padding: 8px;
      background: #fafafa;
      border-radius: 4px;
      text-decoration: none;
      color: #333;
      text-align: center;
      font-size: 0.95rem;
    }

    #floatingMenu a:hover {
      background: #ececec;
    }

    /* MOBILE */


@media (max-width: 700px) {

  .year-columns {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /* 💥 Critical: remove ANY hidden padding */
    width: 100vw;
    margin: 0;
    padding: 0;
  }

  .year-column {
    display: flex;
    flex-direction: column;
    width: 100vw;   /* ensure full stretch */
    padding: 0;
    margin: 0 auto;
    align-items: center;
  }

  .year-item {
    width: 100%;
    max-width: 90vw;     /* 🔥 instead of fixed 300px */
    margin: 0 auto;
    text-align: center;
  }


  #floatingMenu {
    position: static;
    opacity: 1 !important;
    pointer-events: auto;
    display: none;
    margin-top: 10px;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    max-width: 350px;
    position: fixed !important;
    left: -9999px !important;
  }

  .year-item.open + #floatingMenu,
  .year-item.open .mobile-menu { 
    display: grid !important; 
  }

  /* EXISTING month-menu (desktop content inside year item) */
  .month-menu {
    display: none;
    background: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 12px;
    margin-top: 10px;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  }

  .month-menu a {
    padding: 8px;
    background: #fafafa;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    text-align: center;
  }

  /* ⭐ NEW — This is the MENU that expands on mobile */
  .mobile-menu {
    display: none;
    background: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 12px;
    margin-top: 10px;

    /* 2-column grid layout */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    width: 100%;
    box-sizing: border-box;
  }

  .mobile-menu a {
    padding: 8px;
    background: #fafafa;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    font-size: clamp(13px, 10vw, 16px);
  }
}

@media (max-width: 700px) {
  .year-columns {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
  }

  .year-column {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  .year-item {
    width: 100%;
    box-sizing: border-box;
  }
}



