/* В духе about.css / styles.css */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    margin-top: 70px;
    border-bottom: 1px solid #e5e5e5;
  }
  
  .breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
  }
  
  .breadcrumb-nav a {
    color: #6a6a6a;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .breadcrumb-nav a:hover { color: #1a1a1a; }
  
  .current {
    color: #1a1a1a;
    font-weight: 500;
  }
  
  .gallery-hero {
    background: white;
    padding: 3.25rem 0 2.5rem;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
  }
  
  .gallery-hero-inner h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
  }
  
  .gallery-hero-inner p {
    font-size: 1.125rem;
    color: #6a6a6a;
  }
  
  .gallery-content {
    padding: 2rem 0 3rem;
    background: #fafafa;
  }
  
  /* Адаптивная сетка */
  .gallery-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
  
  /* Карточка */
  .gallery-card {
    display: block;
    text-decoration: none;
    color: inherit;
  
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    overflow: hidden;
  
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
  
  @media (hover:hover) and (pointer:fine){
    .gallery-card:hover{
      transform: translateY(-4px);
      border-color: #dcdcdc;
      box-shadow: 0 14px 34px rgba(0,0,0,0.12);
    }
  }
  
  .gallery-card__img{
    width: 100%;
    aspect-ratio: 4 / 3;   /* одинаковая “высота” карточек */
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .gallery-card__img img{
    width: 100%;
    height: 100%;
    object-fit: cover;     /* красиво заполняем карточку */
    display: block;
  }
  
  .gallery-card__caption{
    padding: 12px 14px;
    font-weight: 700;
    color: #1a1a1a;
    border-top: 1px solid #f0f0f0;
    background: #fff;
  }
  
  /* Пустое состояние */
  .gallery-empty{
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    color: #6a6a6a;
  }
  
  /* Чуть плотнее на мобилке */
  @media (max-width: 480px){
    .gallery-grid{ gap: 12px; }
    .gallery-hero-inner h1{ font-size: 2rem; }
  }
  