/* Ana sayfa sol/sağ blok + slider yerleşimi */
.home-page-layout,
.home-hero-layout.row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
}

.home-page-layout.row {
    --bs-gutter-y: 0.75rem;
}

.home-page .home-hero-layout {
    margin-bottom: 0.5rem;
}

.home-page .home-right-blocks {
    margin-top: 0.5rem;
}

.home-page .home-slider-center > .falconapi-store-content,
.home-page .home-slider-center > section.falconapi-store-content {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.home-page .home-slider-center > .falconapi-store-content:last-child,
.home-page .home-slider-center > section.falconapi-store-content:last-child {
    margin-bottom: 0;
}

.home-page .topic-html-content {
    margin-top: 0.5rem !important;
    margin-bottom: 1rem !important;
}

.home-page .home-side-col--left > .falconapi-store-content:first-child,
.home-page .home-side-col--left > section.falconapi-store-content:first-child {
    margin-top: 0;
}

.home-page .home-slider-center {
    padding-top: 0;
}

.home-page .home-slider-layout.row {
    --bs-gutter-y: 0;
}

.home-page-layout .home-main-col,
.home-hero-layout.row > .home-main-col {
    min-width: 0;
    flex: 1 1 auto;
}

.home-page-layout .home-side-col--left,
.home-hero-layout.row > .home-side-col--left {
    flex: 0 0 25%;
    max-width: 25%;
}

.home-page-layout .home-main-col,
.home-hero-layout.row > .home-main-col {
    flex: 0 0 75%;
    max-width: 75%;
}

.home-hero-layout .home-side-col--left > :empty,
.home-slider-side:empty,
.home-right-blocks:empty {
    display: none;
}

.home-side-col--left .falconapi-store-content,
.home-slider-side .falconapi-store-content,
.home-right-blocks .falconapi-store-content {
    margin-bottom: 0.75rem;
}

.home-side-col--left img,
.home-slider-side img,
.home-side-col--left .falconapi-store-content,
.home-side-col--left iframe,
.home-side-col--left p {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
}

.home-side-col--left img {
    display: block;
    border-radius: 8px;
}

@media (max-width: 991.98px) {
    .home-page-layout,
    .home-hero-layout.row {
        display: block;
    }

    .home-page-layout .home-side-col--left,
    .home-hero-layout.row > .home-side-col--left,
    .home-page-layout .home-main-col,
    .home-hero-layout.row > .home-main-col {
        flex: none;
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .home-page-layout:not(:has(.home-side-col--left .falconapi-store-content)):not(:has(.home-side-col--left > section)) .home-side-col--left,
    .home-hero-layout.row:not(:has(.home-side-col--left .falconapi-store-content)):not(:has(.home-side-col--left > section)) .home-side-col--left {
        display: none !important;
    }

    .home-page-layout:not(:has(.home-side-col--left .falconapi-store-content)) .home-main-col,
    .home-page-layout:not(:has(.home-side-col--left > section)) .home-main-col,
    .home-hero-layout.row:not(:has(.home-side-col--left .falconapi-store-content)) > .home-main-col,
    .home-hero-layout.row:not(:has(.home-side-col--left > section)) > .home-main-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .home-page-layout:has(.home-side-col--left .falconapi-store-content) .home-side-col--left,
    .home-page-layout:has(.home-side-col--left > section) .home-side-col--left,
    .home-hero-layout.row:has(.home-side-col--left .falconapi-store-content) > .home-side-col--left,
    .home-hero-layout.row:has(.home-side-col--left > section) > .home-side-col--left {
        position: sticky;
        top: 1rem;
        align-self: flex-start;
    }

    .home-slider-layout:not(:has(.home-slider-side--left > *)):not(:has(.home-slider-side--right > *)) .home-slider-center {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .home-slider-layout:has(.home-slider-side--left > *):not(:has(.home-slider-side--right > *)) .home-slider-center {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .home-slider-layout:not(:has(.home-slider-side--left > *)):has(.home-slider-side--right > *) .home-slider-center {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }
}
