.aas-block {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 42px;
    align-items: center;
    padding: 48px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 18px 50px rgba(20, 20, 20, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.35);
}

.aas-has-glass {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.aas-image-left .aas-content {
    order: 2;
}

.aas-image-left .aas-media {
    order: 1;
}

.aas-image-right .aas-content {
    order: 1;
}

.aas-image-right .aas-media {
    order: 2;
}

.aas-content {
    position: relative;
    z-index: 1;
}

.aas-title {
    margin: 0 0 16px;
    line-height: 1.15;
}

.aas-subtitle {
    margin: 0 0 18px;
    line-height: 1.5;
}

.aas-text {
    margin: 0 0 24px;
    line-height: 1.8;
}

.aas-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    box-shadow: 0 12px 24px rgba(0,0,0,0.10);
}

.aas-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 30px rgba(0,0,0,0.15);
}

.aas-media {
    position: relative;
}

.aas-image {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    border-radius: 22px;
    display: block;
}

.aas-image-placeholder {
    width: 100%;
    min-height: 420px;
    border-radius: 22px;
    border: 1px dashed rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.35);
    color: #666;
    font-size: 16px;
}

@media (max-width: 991px) {
    .aas-block {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 28px;
    }

    .aas-image-left .aas-content,
    .aas-image-left .aas-media,
    .aas-image-right .aas-content,
    .aas-image-right .aas-media {
        order: initial;
    }

    .aas-image {
        min-height: 300px;
    }

    .aas-image-placeholder {
        min-height: 300px;
    }
}