.ai-content-hero-section .hero-title {
    text-align: center;
    margin-bottom: 24px;
}

.ai-content-hero-section .hero-title.after::after {
    margin: 0 auto;
}

/*ai-content-section*/
.ai-content-page,
.ai-content-page .ai-content-block {
    padding-top: 0;
}

.asym-grid-wrapper-second .tall-card {
    grid-column: span 3;
    grid-row: span 2;
}

.asym-grid-wrapper-second .wide-card {
    grid-column: span 3;
}

.asym-grid-wrapper-second .narrow-card {
    grid-column: span 6;
}

.fancybox__container{
    z-index: 2000 !important;
}
@media (max-width: 1024px) {
    .asym-grid-wrapper-second .asym-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        /* На планшетах просто 2 колонки */
    }

    .asym-grid-wrapper-second .tall-card,
    .asym-grid-wrapper-second .wide-card,
    .asym-grid-wrapper-second .narrow-card {
        grid-column: span 1;
        /* Все блоки становятся одинаковыми */
    }

    .asym-grid-wrapper-second .narrow-card,
    .asym-grid-wrapper-second .wide-card {
        grid-row: span 2;
    }

    .asym-grid-wrapper-second .tall-card {
        grid-column: span 2;
        /* Высокий блок на всю ширину для баланса */
        grid-row: span 1;
        aspect-ratio: 16/9;
    }
}