.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.activity-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.activity-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-card:hover .activity-image img {
    transform: scale(1.05);
}

.activity-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(231, 111, 81, 0.9));
    padding: 2rem 1.5rem 1.5rem;
    color: white;
    text-align: center;
}

.activity-overlay h3 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Блок статистики Биеннале */
.biennale-stats {
    background-image: linear-gradient(
        rgba(0, 0, 0, 0.6), /* Затемнение поверх фото (можно регулировать прозрачность) */
        rgba(0, 0, 0, 0.6)
    ), 
    url("/assets/images/zastavka-na-glavnaya.jpg");
    background-repeat: no-repeat;
	background-size: cover;
	display: center;
    border-radius: 20px;
    margin: 2rem auto;
    max-width: 1200px;
	height: 700px;
}

.biennale-header {
    text-align: center;
    margin-bottom: 3rem;
	margin-top: 90px;
}

.biennale-header h2 {
    color: #FFF;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.biennale-header p {
    font-size: 1.1rem;
    line-height: 1.6;
    color:#FFF;
    max-width: 1000px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #E9C46A;
}

.stat-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #E76F51;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    color: #2A9D8F;
    font-weight: 600;
}

.stat-description {
    font-size: 1.1rem;
    color: #555;
    margin-top: 1rem;
    line-height: 1.4;
}

/* Блок отзывов */
.testimonials {
    background: #f8f9fa;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-author {
    display: grid;
	grid-template-columns: 200px 1fr;
  gap: 30px;
    align-items: center;
    margin-bottom: 1.5rem;
}

.author-photo {
    width: 200px;
    height: 200px;

    overflow: hidden;
    margin-right: 1rem;
    border: 1px solid #E9C46A;
}

.author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h3 {
    color: #E76F51;
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.author-info p {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

.testimonial-content {
    line-height: 1.6;
    color: #555;
    font-size: 1.05rem;
}

.testimonial-content p {
    margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .biennale-header h2 {
        font-size: 1.5rem;
    }
    
    .stat-icon {
        width: 100px;
        height: 100px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .activity-card {
        height: 200px;
    }
    
    .activity-overlay h3 {
        font-size: 1.2rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-photo {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}