/* Examples Gallery Styles - Clean, Data-First Design */

.examples-gallery-page {
  min-height: 100vh;
  background-color: #f5f1e8; /* Beige background */
}

/* Header */
.gallery-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e0ddd4;
  padding: 2rem 0;
}

.gallery-header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.gallery-logo-link {
  display: flex;
  align-items: center;
}

.gallery-logo {
  height: 48px;
  width: auto;
}

.gallery-header-text {
  flex: 1;
}

.gallery-title {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
}

.gallery-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin: 0;
  font-weight: 400;
}

/* Main content */
.gallery-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem;
}

/* Category sections */
.gallery-category {
  margin-bottom: 4rem;
}

.gallery-category:last-child {
  margin-bottom: 2rem;
}

.gallery-category-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e0ddd4;
}

/* Grid layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* Example cards */
.example-card {
  display: block;
  background-color: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.example-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Thumbnail */
.example-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #fafaf8;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f0f0f0;
}

.example-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Card content */
.example-card-content {
  padding: 1.25rem 1.5rem;
}

.example-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.example-card-description {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .gallery-content {
    padding: 2rem;
  }

  .gallery-header-content {
    padding: 0 2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .gallery-header {
    padding: 1.5rem 0;
  }

  .gallery-header-content {
    padding: 0 1.5rem;
    gap: 1.5rem;
  }

  .gallery-logo {
    height: 36px;
  }

  .gallery-title {
    font-size: 1.5rem;
  }

  .gallery-subtitle {
    font-size: 1rem;
  }

  .gallery-content {
    padding: 2rem 1.5rem;
  }

  .gallery-category {
    margin-bottom: 3rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .example-card-content {
    padding: 1rem 1.25rem;
  }

  .example-card-title {
    font-size: 1rem;
  }

  .example-card-description {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .gallery-header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .gallery-header-text {
    width: 100%;
  }
}
