* {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: Arial, Helvetica, sans-serif;
      background: #ffffff;
      color: #111;
    }

    body.menu-open {
      overflow: hidden;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      height: 76px;
      background: #ffffff;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      padding: 0 54px;
      border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .hamburger {
      justify-self: start;
      width: 32px;
      height: 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      background: none;
      border: none;
      cursor: pointer;
      z-index: 1100;
      transition: transform 0.22s ease;
    }

    .hamburger:hover {
      transform: scale(1.15);
    }

    .hamburger span {
      width: 100%;
      height: 4px;
      background: #111;
      border-radius: 999px;
      transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .hamburger.active span:nth-child(1) {
      transform: translateY(10px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
      transform: translateY(-10px) rotate(-45deg);
    }

    .logo {
      justify-self: center;
      height: 60px;
      display: block;
      transition: transform 0.22s ease;
    }

    .logo:hover {
      transform: scale(1.05);
    }

    .search-area {
      justify-self: end;
      position: relative;
    }

    .search-area input {
      width: 220px;
      height: 40px;
      border: 1px solid #ddd;
      border-radius: 999px;
      padding: 0 42px 0 16px;
      font-size: 15px;
      outline: none;
      transition: border-color 0.22s ease, box-shadow 0.22s ease;
    }

    .search-area input:hover,
    .search-area input:focus {
      border-color: #aaa;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    }

    .search-icon {
      position: absolute;
      right: 14px;
      top: 50%;
      transform: translateY(-50%);
      width: 18px;
      height: 18px;
      pointer-events: none;
    }

    .mobile-search-button {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      transition: transform 0.22s ease;
    }

    .mobile-search-button:hover {
      transform: scale(1.08);
    }

    .menu-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.35);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.25s ease, visibility 0.25s ease;
      z-index: 1001;
    }

    .menu-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .side-menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 320px;
      max-width: 86%;
      height: 100vh;
      background: #ffffff;
      z-index: 1002;
      transform: translateX(-100%);
      transition: transform 0.3s ease;
      padding: 110px 28px 28px;
      box-shadow: 8px 0 30px rgba(0, 0, 0, 0.12);
    }

    .side-menu.active {
      transform: translateX(0);
    }

    .side-menu nav {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .side-menu a {
      color: #111;
      text-decoration: none;
      font-size: 28px;
      font-weight: 700;
      letter-spacing: -0.03em;
      padding: 14px 0;
      border-bottom: 1px solid rgba(0, 0, 0, 0.08);
      transition: transform 0.22s ease, opacity 0.22s ease;
    }

    .side-menu a:hover {
      transform: translateX(6px);
      opacity: 0.65;
    }

    .menu-close {
      position: absolute;
      top: 22px;
      right: 22px;
      width: 40px;
      height: 40px;
      border: none;
      background: none;
      cursor: pointer;
      color: #111;
      transition: transform 0.22s ease, opacity 0.22s ease;
    }

    .menu-close:hover {
      transform: scale(1.08);
      opacity: 0.7;
    }

    .main-grid {
      max-width: 1400px;
      margin: 0 auto;
      padding: 24px;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }

    .card {
      position: relative;
      aspect-ratio: 9 / 14;
      border-radius: 14px;
      overflow: hidden;
      background: #eee;
      cursor: pointer;
      transition: transform 0.28s ease, box-shadow 0.28s ease;
    }

    .card:hover {
      transform: translateY(-6px);
      box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
    }

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.card:hover img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

    .card::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.38) 28%,
        rgba(0, 0, 0, 0) 58%
      );
      transition: background 0.28s ease;
    }



.card-title {
  position: absolute;
  margin: 0;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  color: #ffffff;
  font-size: 26px;
  font-weight: bolder;
  line-height: 1.12;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  transition: transform 0.28s ease;
}
    
    .card:hover .card-title {
      transform: translateY(-6px);
    }

/* Keep the existing title appearance */
.card-heading {
  margin: 0;
  font: inherit;
  color: inherit;
}

/* Date beneath the title */
.card-date {
  display: block;
  margin-top: 8px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.85);
}


    @media (max-width: 1024px) {

      .site-header {
        height: 68px;
        padding: 0 24px;
      }

      .main-grid {
        grid-template-columns: repeat(3, 1fr);
      }

      .search-area {
        display: none;
      }

      .mobile-search-button {
        display: block;
        justify-self: end;
      }

      .card-title {
        font-size: 40px;
        left: 13px;
        right: 13px;
        bottom: 13px;
      }
    }

    @media (max-width: 768px) {
      .site-header {
        height: 68px;
        padding: 0 18px;
      }

      .logo {
        height: 38px;
      }

.hamburger {
  width: 26px;
  height: 20px;
}

.hamburger span {
  height: 3px;
}

      .side-menu {
        padding-top: 96px;
      }

      .side-menu a {
        font-size: 25px;
      }

      .main-grid {
        padding: 8px;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
      }

      .card {
        border-radius: 12px;
      }

      .card:hover {
        transform: none;
        box-shadow: none;
      }

      .card:hover img {
        transform: none;
      }

      .card:hover .card-title {
        transform: none;
      }

      .card-title {
        font-size: 24px;
        left: 13px;
        right: 13px;
        bottom: 13px;
      }
    }


