/* Static gallery pages — use with /blog/blog-static.css for shared theme */

.static-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0;
}

.static-gallery-card {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
  transition:
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.static-gallery-card:hover {
  box-shadow: 0 14px 36px rgba(14, 42, 83, 0.12);
  transform: translateY(-2px);
}

.static-gallery-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.static-gallery-card a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.static-gallery-thumb {
  aspect-ratio: 4 / 3;
  background: var(--border);
}

.static-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.static-gallery-empty {
  margin: 1.5rem 0;
  padding: 1.25rem 1rem;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 12px;
}

.static-gallery-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.static-gallery-hub-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.static-gallery-hub-card a {
  display: block;
  padding: 1.25rem 1.35rem;
  text-decoration: none;
  color: inherit;
}

.static-gallery-hub-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--text);
}

.static-gallery-hub-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.static-gallery-hub-card .read-more {
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}
