/* Отзывы */
.benefits-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #c1d1e9;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.5;
}

.collage-container {
    margin-bottom: 2rem;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(15px, 3vw, 20px);
}

.post {
    background: rgba(9, 16, 26, 0.6);
    border: 1px solid rgba(31, 165, 253, 0.15);
    border-radius: 12px;
    padding: clamp(16px, 4vw, 24px);
    box-shadow: 0 8px 32px rgba(31, 165, 253, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    min-height: 120px;
}

.post:hover {
    transform: translateY(-5px);
    border-color: rgba(31, 165, 253, 0.4);
    background: rgba(31, 165, 253, 0.1);
    box-shadow: 0 12px 40px rgba(31, 165, 253, 0.15);
}

.post p {
    margin: 0;
    line-height: 1.6;
    color: #c1d1e9;
    flex-grow: 1;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.post-author {
    margin-top: 15px;
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
    color: #1fa5fd;
    text-align: right;
    font-style: italic;
    background: linear-gradient(90deg, #1fa5fd 0%, #0dcaf0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Grid Span Rules for Desktop */
.post-1 { grid-column: span 2; }
.post-2 { grid-row: span 2; }
.post-3 { grid-column: span 1; }
.post-4 { grid-row: span 1; }
.post-5 { grid-column: span 2; }
.post-6 { grid-column: span 1; }

/* Tablet Breakpoint */
@media (max-width: 1024px) {
    .benefits-header {
        margin-bottom: 50px;
    }
    
    .grid-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(12px, 2.5vw, 18px);
    }
    
    .post {
        padding: clamp(14px, 3.5vw, 20px);
    }
    
    /* Adjust grid spans for 2-column layout */
    .post-1 { grid-column: span 2; }
    .post-2 { grid-row: span 1; grid-column: span 1; }
    .post-3 { grid-column: span 1; }
    .post-4 { grid-column: span 1; }
    .post-5 { grid-column: span 2; }
    .post-6 { grid-column: span 1; }
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
    .benefits-header {
        margin-bottom: 40px;
    }
    
    .grid-layout {
        grid-template-columns: 1fr;
        gap: clamp(10px, 2vw, 15px);
    }
    
    .post {
        padding: clamp(12px, 3vw, 18px);
        min-height: 100px;
    }
    
    .post-author {
        margin-top: 12px;
    }
    
    /* Reset all grid spans for single column */
    .post-1,
    .post-2,
    .post-3,
    .post-4,
    .post-5,
    .post-6 {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Small Mobile Breakpoint */
@media (max-width: 480px) {
    .benefits-header {
        margin-bottom: 30px;
    }
    
    .collage-container {
        margin-bottom: 1.5rem;
    }
    
    .grid-layout {
        gap: clamp(8px, 1.5vw, 12px);
    }
    
    .post {
        padding: clamp(10px, 2.5vw, 16px);
        border-radius: 10px;
        min-height: 80px;
    }
    
    .post p {
        line-height: 1.5;
    }
    
    .post-author {
        margin-top: 10px;
    }
}
    
