.gallery-title {
    margin: 0 0 20px;
    font-size: clamp(3rem, 7vw, 7rem);
    letter-spacing: 0.04em;
    font-weight: 900;
}

.gallery-section {
    width: 100%;
    margin: 0;
    padding: 40px 0;
}

.gallery-intro {
    margin-top: 0;
    color: var(--muted);
    font-family: monospace;
    font-size: 0.85rem;
    text-transform: none;
    max-width: 60ch;
    margin-bottom: 40px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 0 5vw;
}

.gallery-album-card {
    position: relative;
    border: 1px solid var(--line);
    background: var(--bg);
    transition: filter 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.album-link {
    display: block;
    text-decoration: none;
    position: relative;
    flex-grow: 1;
}

.album-cover {
    width: 100%;
    /* Если фотки не загрузились, чтобы они все равно держали форму */
    min-height: 250px;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: none !important;
    transition: transform 0.5s ease;
}

.album-link:hover .album-cover {
    transform: scale(1.02);
}

.album-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    color: #fff;
    pointer-events: none;
}

.album-info h3 {
    margin: 5px 0 0;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
}

.album-info span {
    font-family: monospace;
    font-weight: 700;
    font-size: 0.85rem;
    color: #ddd;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 900px) {
    .photo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
