.gallery-row {
      display: flex;
      gap: 2rem;
      justify-content: center;
      align-items: flex-start;
      flex-wrap: wrap;
    }
    .gallery-box {
      flex: 1 1 300px;
      max-width: 350px;
      min-width: 220px;
      border-radius: 16px;
      box-shadow: 0 2px 16px rgba(0,0,0,0.08);
      padding: 1.5rem 1rem;
      margin-bottom: 2rem;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    
    .clickable-gallery {
      cursor: pointer;
      transition: transform 0.2s, box-shadow 0.2s;
    }
    
    .clickable-gallery:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    }
    
    .gallery-preview {
      position: relative;
      width: 100%;
      overflow: hidden;
      border-radius: 8px;
    }
    
    .preview-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
      border-radius: 8px;
    }
    
    .gallery-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.6);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.3s;
      border-radius: 8px;
    }
    
    .gallery-preview:hover .gallery-overlay {
      opacity: 1;
    }
    
    .gallery-overlay-content {
      text-align: center;
      color: white;
    }
    
    .gallery-icon {
      width: 48px;
      height: 48px;
      margin-bottom: 8px;
    }
    
    .gallery-text {
      font-size: 1rem;
      font-weight: 500;
      margin: 0;
    }
    .gallery-grid {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      width: 100%;
    }
    .gallery-box img {
      width: 100%;
      border-radius: 8px;
      object-fit: cover;
    }
    .gallery-title {
      display: inline-block;
      background: rgba(255,255,255,0.7);
      color: #363636;
      font-size: 1.3rem;
      font-weight: 700;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
      padding: 0.7rem 2.2rem;
      margin-bottom: 1.2rem;
      text-align: center;
      letter-spacing: 0.01em;
      border: none;
      transition: background 0.2s;
      font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    }