/* Homepage blocks; local overrides survive Aspro template updates. */
#main .MIDDLE_ADV .banners-img-with-text-list > .maxwidth-theme > .grid-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
#main .MIDDLE_ADV .banners-img-with-text-list__wrapper.grid-list__item {
    flex: 1 1 calc((100% - 48px) / 3);
    min-width: 0;
    max-width: none;
}
@media (min-width: 768px) and (max-width: 1199px) {
    #main .MIDDLE_ADV .banners-img-with-text-list__wrapper.grid-list__item {
        flex-basis: calc((100% - 24px) / 2);
    }
    #main .MIDDLE_ADV .banners-img-with-text-list__item-image {
        height: clamp(320px, 42vw, 480px);
        padding-top: 0;
    }
}
@media (max-width: 767px) {
    #main .MIDDLE_ADV .banners-img-with-text-list > .maxwidth-theme > .grid-list {
        width: 100%;
        margin: 0;
        padding: 0;
        gap: 12px;
        overflow: visible;
    }
    #main .MIDDLE_ADV .banners-img-with-text-list__wrapper.grid-list__item {
        flex: 1 1 100%;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    #main .MIDDLE_ADV .banners-img-with-text-list__item {
        height: auto;
        min-height: 0;
    }
    #main .MIDDLE_ADV .banners-img-with-text-list__item-image {
        position: absolute;
        inset: 0;
        height: 100%;
        padding: 0;
        background-size: cover;
    }
    #main .MIDDLE_ADV .banners-img-with-text-list__item-text--absolute {
        position: relative;
        inset: auto;
        max-height: none;
        padding: 14px 16px;
        background: rgba(0, 0, 0, .48);
    }
    #main .MIDDLE_ADV .banners-img-with-text-list__item-text-scrollbar-wrapper {
        padding: 0;
        max-height: none;
        overflow: visible;
        backdrop-filter: none;
    }
    #main .MIDDLE_ADV .banners-img-with-text-list__item-top-text {
        font-size: 13px !important; /* Existing theme rule uses !important. */
        line-height: 18px;
        margin-bottom: 2px;
        opacity: .85;
    }
    #main .MIDDLE_ADV .banners-img-with-text-list__item-title {
        font-size: 18px;
        line-height: 24px;
    }
    #main .MIDDLE_ADV .banners-img-with-text-list__item-tags {
        gap: 6px;
        margin: 10px 0 0;
    }
    #main .MIDDLE_ADV .banners-img-with-text-list__item-tags-title {
        padding: 0;
        margin: 0;
    }
    #main .MIDDLE_ADV .banners-tags-title-stroke {
        font-size: 14px;
        line-height: 20px;
        padding: 3px 8px;
    }
    /* The large decorative logo overlaps the text when cards become compact. */
    #main .MIDDLE_ADV #bx_3335946690_794 > .banners-img-with-text-list__item-link {
        background-image: none;
    }
}
#main .TIZERS .tizers-list__items-wrapper.grid-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 260px));
    justify-content: center;
    gap: 24px;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
}
#main .TIZERS .tizers-list__item-wrapper.grid-list__item {
    width: 100%;
    min-width: 0;
    max-width: 260px;
    padding: 0;
    margin: 0;
}
@media (max-width: 1199px) {
    #main .TIZERS .tizers-list__items-wrapper.grid-list {
        grid-template-columns: repeat(2, minmax(0, 260px));
    }
}
@media (max-width: 767px) {
    #main .TIZERS .tizers-list__items-wrapper.grid-list { gap: 20px 12px; }
}

@media (max-width: 600px) {
    /* Neutralize Aspro's forced offsets for horizontal mobile strips. */
    #main .MIDDLE_ADV .grid-list.mobile-scrolled,
    #main .TIZERS .grid-list.mobile-scrolled {
        padding: 0 !important;
        margin: 0 !important;
    }
    #main .MIDDLE_ADV .grid-list__item,
    #main .TIZERS .grid-list__item { box-sizing: border-box; }
}
