
    .table-container {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      padding: 20px;
    }

    @media (max-width: 600px) {
      .table-container {
        grid-template-columns: 1fr;
      }
    }

    .table-item {
      position: relative;
      background-size: cover;
      background-position: center;
      height: 250px;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      cursor: pointer;
    }

    /* Short overlay (default text) */
    .short-overlay {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: rgba(0,0,0,0.7);
      color: #fff;
      padding: 10px 20px;
      border-radius: 5px;
      font-size: 1.5em;
      font-weight: 300;
      text-align: center;
      z-index: 2;
    }

    /* Long overlay (hidden initially) */
    .long-overlay {
      position: absolute;
      bottom: -100%;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.8); /* 80% translucent */
      color: #fff;
      padding: 20px;
      font-size: 0.9em;
      line-height: 1.4em;
      text-align: left;
      transition: bottom 0.4s ease;
      z-index: 3;
      box-sizing: border-box;
    }

    /* Hover state: slide up long overlay */
    .table-item.hover .long-overlay {
      bottom: 0;
    }

    /* When active, hide short overlay completely */
    .table-item.hide-short .short-overlay {
      display: none;
    }

    .table-link {
      text-decoration: none;
      color: inherit;
    }

    .table-link:hover {
      text-decoration: none;
    }

