/*
 * Homepage-only customization layer.
 *
 * Move homepage hero, featured sections, home blog, brand carousel, and other
 * front-page-specific tweaks here over time.
 */

.home-blog .post-item .post-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.home-blog .post-item .post-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
}

.home-blog .post-item .is-divider {
    display: none;
}

.home-blog .post-item .box,
.home-blog .post-item .blog-post-inner,
.home-blog .post-item .box-image {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.home-blog .post-item .box-image {
    background: var(--sicomp-page);
    overflow: hidden;
}

.home-blog .post-item .image-cover {
    background: var(--sicomp-page);
    overflow: hidden;
}

.home-blog .post-item .box-image img,
.home-blog .post-item .image-cover img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

.home-blog .post-item .box-text,
.home-blog .post-item .box-text-inner {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.home-blog .post-item .box-text {
    padding: 16px;
}

.home-blog .post-item .overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 18%, rgba(0, 0, 0, 0.68) 100%);
    background-color: transparent !important;
}

.home-blog .post-item .box {
    border-radius: 10px;
    overflow: hidden;
}

.home-blog .post-item .post-title a {
    color: var(--sicomp-text-inverse);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}

.home-blog .post-item .post-title a:hover {
    color: var(--sicomp-text-inverse);
    opacity: 0.92;
}

.camap-featured-cats-wrap {
    margin-bottom: 40px;
}

.camap-home-rail .product-panel.camap-featured-cats {
    --camap-featured-cat-title: var(--sicomp-category, #004b9b);
    --camap-featured-cat-text: var(--sicomp-text, #0f172a);
    --camap-featured-cat-text-hover: var(--sicomp-primary, #0068c9);
    --camap-featured-cat-icon-bg: #eaeef4;
    margin: 32px 0 0;
    padding: 24px;
    border-radius: 22px;
}

.camap-featured-cats .product-head {
    margin-bottom: 20px;
}

.camap-featured-cats .camap-featured-cats__title {
    margin: 0;
    color: var(--camap-featured-cat-title);
    font-size: 28px;
    font-weight: 600;
    line-height: 36px;
}

.camap-home-rail .product-shell.camap-featured-cats__shell {
    min-height: 0;
    padding: 0;
    background: transparent;
}

.camap-featured-cats__scroller {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 24px;
}

.camap-featured-cats__item {
    display: grid;
    justify-items: center;
    min-width: 0;
    color: var(--camap-featured-cat-text);
    text-align: center;
    text-decoration: none;
}

.camap-featured-cats__item:hover,
.camap-featured-cats__item:focus-visible {
    color: var(--camap-featured-cat-text-hover);
}

.camap-featured-cats__icon {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    margin-bottom: 12px;
    border-radius: 8px;
    background: var(--camap-featured-cat-icon-bg);
}

.camap-featured-cats__icon img {
    display: block;
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.camap-featured-cats__fallback {
    color: var(--camap-featured-cat-title);
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.camap-featured-cats__label {
    display: -webkit-box;
    width: 100%;
    max-width: 112px;
    height: 36px;
    overflow: hidden;
    color: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 18px;
    text-transform: uppercase;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.camap-featured-cats__empty {
    margin: 0;
    color: var(--sicomp-text-muted, #667085);
    font-size: 13px;
    line-height: 1.5;
}

.camap-home-news-card {
    min-width: 0;
}

.camap-home-news-card--lead {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    background: var(--sicomp-card);
}

.camap-home-news-card--compact {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 86px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.camap-home-news-card--compact:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.camap-home-news-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--sicomp-page);
    text-decoration: none;
}

.camap-home-news-card--lead .camap-home-news-card__media {
    aspect-ratio: 16 / 10;
}

.camap-home-news-card--compact .camap-home-news-card__media {
    aspect-ratio: 1 / 0.78;
    border-radius: 9px;
}

.camap-home-news-card__image,
.camap-home-news-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

.camap-home-news-card__image {
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

.camap-home-news-card__placeholder {
    background: var(--sicomp-page);
}

.camap-home-news-card__body {
    min-width: 0;
}

.camap-home-news-card--lead .camap-home-news-card__body {
    padding: 12px;
}

.camap-home-news-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin-bottom: 6px;
    color: #515b66;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
}

.camap-home-news-card__category {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 21px;
    padding: 3px 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(var(--camap-home-news-accent-rgb), 0.10);
    color: var(--camap-home-news-accent);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.camap-home-news-card__title {
    margin: 0;
    color: var(--sicomp-text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.34;
}

.camap-home-news-card--lead .camap-home-news-card__title {
    font-size: 20px;
    line-height: 1.3;
}

.camap-home-news-card__title a {
    display: -webkit-box;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.camap-home-news-card__title a:hover,
.camap-home-news-card__title a:focus-visible {
    color: var(--camap-home-news-accent);
}

.camap-home-news-card__excerpt {
    display: -webkit-box;
    margin: 8px 0 0;
    overflow: hidden;
    color: #515b66;
    font-size: 13px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.camap-home-news-rail .product-panel {
    padding: 16px;
}

.camap-home-news-combo {
    --camap-rail-panel-radius: 16px;
    --camap-rail-surface: var(--sicomp-card);
    --camap-rail-heading: var(--sicomp-category);
    --camap-rail-link: var(--sicomp-link);
    --camap-rail-panel-border: rgba(15, 23, 42, 0.08);
    --camap-rail-panel-shadow: 0 18px 46px rgba(var(--sicomp-primary-rgb), 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
    display: block;
    margin: 32px 0;
    padding: 24px;
    border: 1px solid var(--camap-rail-panel-border);
    border-radius: var(--camap-rail-panel-radius);
    background: var(--camap-rail-surface);
    box-shadow: var(--camap-rail-panel-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.72);
    content-visibility: auto;
    contain-intrinsic-size: 760px;
}

.camap-home-news-combo .camap-home-news-rail {
    --camap-rail-heading: var(--sicomp-category);
    --camap-rail-link: var(--sicomp-link);
    margin-bottom: 0;
}

.camap-home-news-combo .camap-home-news-rail + .camap-home-news-rail {
    margin-top: 20px;
}

.camap-home-news-combo .camap-home-news-rail .product-panel {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.camap-home-news-combo .camap-home-news-rail .product-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.camap-home-news-combo .camap-home-news-rail .camap-home-news-title {
    margin: 0;
    color: var(--camap-rail-heading);
    font-size: 28px;
    font-weight: 600;
    line-height: 36px;
}

.camap-home-news-combo .camap-home-news-rail--promo .camap-home-news-title::before,
.camap-home-news-combo .camap-home-news-rail--latest .camap-home-news-title::before {
    display: none;
    width: 0;
    height: 0;
    margin-right: 0;
    border-radius: 0;
    vertical-align: 0;
    content: "";
}

.camap-home-news-combo .camap-home-news-rail--latest .camap-home-news-title::before {
    background: transparent;
}

.camap-home-news-combo .camap-home-news-rail .section-link {
    color: var(--camap-rail-link);
    font-size: 16px;
    font-weight: 600;
    line-height: 30px;
}

.camap-home-news-combo .camap-home-news-rail .section-link:hover,
.camap-home-news-combo .camap-home-news-rail .section-link:focus-visible {
    color: var(--camap-rail-heading);
}

.camap-home-news-rail .product-shell {
    min-height: 200px;
    padding: 0;
    background: transparent;
}

.camap-home-news-rail .swiper-slide {
    width: calc((100% - (24px * (var(--camap-home-news-columns, 4) - 1))) / var(--camap-home-news-columns, 4));
    min-width: calc((100% - (24px * (var(--camap-home-news-columns, 4) - 1))) / var(--camap-home-news-columns, 4));
}

.camap-home-news-rail .swiper.swiper-initialized .swiper-slide {
    min-width: 0;
}

.camap-home-news-rail--promo .swiper-slide {
    width: calc((100% - (24px * (var(--camap-home-news-columns, 4) - 1))) / var(--camap-home-news-columns, 4));
    min-width: calc((100% - (24px * (var(--camap-home-news-columns, 4) - 1))) / var(--camap-home-news-columns, 4));
}

.camap-home-news-rail .camap-home-news-card {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    width: 100%;
    height: 100%;
    min-height: 228px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: var(--sicomp-card);
}

.camap-home-news-rail .camap-home-news-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, var(--sicomp-border), transparent);
}

.camap-home-news-rail .camap-home-news-card--compact {
    grid-template-columns: none;
    gap: 0;
    align-items: stretch;
    padding-bottom: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.camap-home-news-rail .camap-home-news-card--promo {
    min-height: 228px;
}

.camap-home-news-rail .camap-home-news-card--latest {
    min-height: 289px;
}

.camap-home-news-rail .camap-home-news-card__media,
.camap-home-news-rail .camap-home-news-card--compact .camap-home-news-card__media,
.camap-home-news-rail .camap-home-news-card--lead .camap-home-news-card__media,
.camap-home-news-rail .camap-home-news-card--latest .camap-home-news-card__media,
.camap-home-news-rail .camap-home-news-card--promo .camap-home-news-card__media {
    aspect-ratio: 16 / 9;
    border-radius: 10px;
}

.camap-home-news-rail .camap-home-news-card__body,
.camap-home-news-rail .camap-home-news-card--lead .camap-home-news-card__body,
.camap-home-news-rail .camap-home-news-card--latest .camap-home-news-card__body,
.camap-home-news-rail .camap-home-news-card--promo .camap-home-news-card__body {
    padding: 12px;
}

.camap-home-news-rail .camap-home-news-card__meta {
    margin-top: 8px;
    margin-bottom: 0;
    color: #667085;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
}

.camap-home-news-rail .camap-home-news-card__title,
.camap-home-news-rail .camap-home-news-card--lead .camap-home-news-card__title,
.camap-home-news-rail .camap-home-news-card--latest .camap-home-news-card__title,
.camap-home-news-rail .camap-home-news-card--promo .camap-home-news-card__title {
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
}

.camap-home-news-rail .camap-home-news-card__excerpt {
    margin-top: 8px;
    color: #475467;
    font-size: 13px;
    line-height: 19px;
}

.camap-home-news-combo .camap-product-slider-nav {
    display: none !important;
}

@media (max-width: 1100px) {
    .camap-featured-cats__scroller {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        row-gap: 24px;
    }

    .camap-home-news-rail .swiper-slide {
        width: calc((100% - 32px) / 3);
        min-width: calc((100% - 32px) / 3);
    }

    .camap-home-news-rail--promo .swiper-slide {
        width: calc((100% - 32px) / 3);
        min-width: calc((100% - 32px) / 3);
    }
}

@media (min-width: 641px) and (max-width: 849px) {
    .camap-home-rail .product-panel.camap-featured-cats {
        padding: 20px 0 20px 20px;
        border-radius: 18px;
    }

    .camap-featured-cats .product-head {
        margin-right: 20px;
        margin-bottom: 18px;
    }

    .camap-featured-cats .camap-featured-cats__title {
        font-size: 24px;
        line-height: 32px;
    }

    .camap-home-rail .product-shell.camap-featured-cats__shell {
        min-height: 0;
        padding-right: 0;
        padding-left: 0;
    }

    .camap-featured-cats__scroller {
        display: flex;
        gap: 18px;
        padding-right: 20px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-padding-left: 20px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .camap-featured-cats__scroller::-webkit-scrollbar {
        display: none;
    }

    .camap-featured-cats__item {
        flex: 0 0 calc((100% - 90px) / 5.35);
        scroll-snap-align: start;
    }

    .camap-featured-cats__icon {
        width: 78px;
        height: 78px;
        margin-bottom: 10px;
    }

    .camap-featured-cats__icon img {
        width: 52px;
        height: 52px;
    }

    .camap-featured-cats__label {
        max-width: 92px;
        font-size: 12px;
        line-height: 16px;
    }
}

@media (max-width: 640px) {
    .camap-featured-cats-wrap {
        margin-bottom: 20px;
    }

    .camap-home-rail .product-panel.camap-featured-cats {
        --camap-rail-mobile-panel-padding-y: 14px;
        --camap-rail-mobile-panel-padding-x: 12px;
        padding: 16px 0 12px 14px;
        border-radius: 16px;
    }

    .camap-featured-cats .product-head {
        margin-right: 14px;
        margin-bottom: 14px;
    }

    .camap-featured-cats .camap-featured-cats__title {
        font-size: 16px;
        font-weight: 700;
        line-height: 22px;
    }

    .camap-home-rail .product-shell.camap-featured-cats__shell {
        min-height: 0;
        padding-right: 0;
        padding-left: 0;
        padding-bottom: 0;
    }

    .camap-featured-cats__scroller {
        display: flex;
        gap: 10px;
        padding-right: 14px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-padding-left: 12px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .camap-featured-cats__scroller::-webkit-scrollbar {
        display: none;
    }

    .camap-featured-cats__item {
        flex: 0 0 calc((100% - 20px) / 3.2);
        scroll-snap-align: start;
    }

    .camap-featured-cats__icon {
        width: min(64px, 100%);
        height: 64px;
        margin-bottom: 8px;
    }

    .camap-featured-cats__icon img {
        width: 42px;
        height: 42px;
    }

    .camap-featured-cats__label {
        max-width: 78px;
        height: 30px;
        font-size: 9px;
        line-height: 15px;
    }

    .camap-home-news-combo {
        margin: 22px 0;
        padding: 16px;
        border-radius: 18px;
    }

    .camap-home-news-combo .camap-home-news-rail + .camap-home-news-rail {
        margin-top: 12px;
    }

    .camap-home-news-combo .camap-home-news-rail .product-head {
        gap: 12px;
        margin-bottom: 12px;
    }

    .camap-home-news-combo .camap-home-news-rail .camap-home-news-title {
        font-size: 20px;
    }

    .camap-home-news-card--compact {
        grid-template-columns: 92px minmax(0, 1fr);
        min-height: 78px;
    }

    .camap-home-news-card--lead .camap-home-news-card__title {
        font-size: 16px;
    }

    .camap-home-news-rail .camap-home-news-card__title,
    .camap-home-news-rail .camap-home-news-card--latest .camap-home-news-card__title,
    .camap-home-news-rail .camap-home-news-card--promo .camap-home-news-card__title {
        font-size: 14px;
        line-height: 19px;
    }

    .camap-home-news-rail .product-shell {
        padding: 8px 0 10px;
    }

    .camap-home-news-rail .swiper-slide,
    .camap-home-news-rail--promo .swiper-slide {
        width: calc((100% - (12px * (var(--camap-home-news-mobile-columns, 2) - 1))) / var(--camap-home-news-mobile-columns, 2));
        min-width: calc((100% - (12px * (var(--camap-home-news-mobile-columns, 2) - 1))) / var(--camap-home-news-mobile-columns, 2));
    }

    .camap-home-news-rail .camap-home-news-card {
        min-height: 220px;
    }

    .camap-home-news-card__meta {
        flex-wrap: wrap;
        gap: 4px 8px;
        font-size: 10px;
    }
}

.home .home-brand-carousel {
    padding: 6px 32px 18px;
}

.home .home-brand-carousel .flickity-viewport {
    overflow: hidden;
}

.home .home-brand-carousel .flickity-slider > * {
    width: 16.6667% !important;
    max-width: 16.6667% !important;
    padding: 0 7px;
}

.home .home-brand-carousel .img {
    width: 100%;
}

.home .home-brand-carousel .img-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 6px;
    background: var(--sicomp-card);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 0 0 1px rgba(255, 255, 255, 0.45),
        0 10px 24px rgba(15, 23, 42, 0.08);
}

.home .home-brand-carousel img {
    width: auto;
    max-width: 100%;
    max-height: 122px;
    object-fit: contain;
    filter: drop-shadow(0 6px 10px rgba(15, 23, 42, 0.10));
}

.home .home-brand-carousel .flickity-prev-next-button {
    top: 50%;
    width: 38px;
    height: 38px;
    background: var(--sicomp-card);
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
    transform: translateY(-50%);
}

.home .home-brand-carousel .flickity-prev-next-button.previous {
    left: -6px;
}

.home .home-brand-carousel .flickity-prev-next-button.next {
    right: -6px;
}

.home .brand-logo-marquee__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    max-width: 640px;
    margin: 0 auto 16px;
    color: var(--sicomp-category);
    font-size: 26px;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
}

.home .brand-logo-marquee__title::before,
.home .brand-logo-marquee__title::after {
    display: block;
    flex: 1 1 80px;
    max-width: 132px;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, rgba(var(--sicomp-secondary-rgb), 0), rgba(var(--sicomp-secondary-rgb), 0.68));
}

.home .brand-logo-marquee__title::after {
    background: linear-gradient(90deg, rgba(var(--sicomp-secondary-rgb), 0.68), rgba(var(--sicomp-secondary-rgb), 0));
}

.home .brand-logo-marquee {
    --brand-logo-marquee-bg: var(--sicomp-page);
    --brand-logo-marquee-gap: 22px;
    --brand-logo-marquee-duration: 56s;
    --brand-logo-marquee-item-size: 176px;
    --brand-logo-marquee-logo-max-width: 152px;
    --brand-logo-marquee-logo-max-height: 152px;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-bottom: 32px;
    padding: 12px 0 20px;
    background: transparent;
}

.home .brand-logo-marquee::before,
.home .brand-logo-marquee::after {
    position: absolute;
    top: 0;
    z-index: 2;
    width: 72px;
    height: 100%;
    pointer-events: none;
    content: "";
}

.home .brand-logo-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--brand-logo-marquee-bg) 0%, rgba(245, 247, 251, 0) 100%);
}

.home .brand-logo-marquee::after {
    right: 0;
    background: linear-gradient(270deg, var(--brand-logo-marquee-bg) 0%, rgba(245, 247, 251, 0) 100%);
}

.home .brand-logo-marquee__track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: brand-logo-marquee-scroll var(--brand-logo-marquee-duration) linear infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.home .brand-logo-marquee__group {
    display: flex;
    gap: var(--brand-logo-marquee-gap);
    padding-right: var(--brand-logo-marquee-gap);
}

.home .brand-logo-marquee:hover .brand-logo-marquee__track,
.home .brand-logo-marquee:focus-within .brand-logo-marquee__track {
    animation-play-state: paused;
}

.home .brand-logo-marquee__item {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: var(--brand-logo-marquee-item-size);
    height: var(--brand-logo-marquee-item-size);
    padding: 4px;
    background: var(--sicomp-card);
    border: 1px solid var(--sicomp-border);
    border-radius: 8px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 10px 24px rgba(16, 24, 40, 0.10),
        0 2px 8px rgba(var(--sicomp-secondary-rgb), 0.05);
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.home .brand-logo-marquee__item::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 42%),
        radial-gradient(circle at 50% 0%, rgba(var(--sicomp-secondary-rgb), 0.10), rgba(var(--sicomp-secondary-rgb), 0) 48%);
    opacity: 0.72;
    transition: opacity 0.18s ease;
}

.home .brand-logo-marquee__item:hover {
    border-color: rgba(var(--sicomp-secondary-rgb), 0.24);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.98) inset,
        0 16px 34px rgba(16, 24, 40, 0.16),
        0 6px 16px rgba(var(--sicomp-secondary-rgb), 0.12);
    transform: translateY(-2px);
}

.home .brand-logo-marquee__item:hover::before {
    opacity: 1;
}

.home .brand-logo-marquee__item img {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    height: auto;
    max-width: var(--brand-logo-marquee-logo-max-width);
    max-height: var(--brand-logo-marquee-logo-max-height);
    object-fit: contain;
    opacity: 0.96;
    transform: scale(1.18);
    transition: filter 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.home .brand-logo-marquee__item:hover img {
    opacity: 1;
    transform: scale(1.22);
}

@keyframes brand-logo-marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 991px) {
    .home .home-brand-carousel {
        padding: 6px 26px 16px;
    }

    .home .home-brand-carousel .flickity-slider > * {
        width: 25% !important;
        max-width: 25% !important;
        padding: 0 6px;
    }

    .home .home-brand-carousel .img-inner {
        padding: 6px;
    }

    .home .home-brand-carousel img {
        max-height: 104px;
        filter: drop-shadow(0 5px 9px rgba(15, 23, 42, 0.09));
    }
}

@media (max-width: 849px) {
    .home .brand-logo-marquee__title {
        gap: 10px;
        margin-bottom: 12px;
        font-size: 20px;
    }

    .home .brand-logo-marquee__title::before,
    .home .brand-logo-marquee__title::after {
        flex-basis: 42px;
        max-width: 64px;
    }

    .home .brand-logo-marquee {
        --brand-logo-marquee-gap: 12px;
        --brand-logo-marquee-item-size: 136px;
        --brand-logo-marquee-logo-max-width: 116px;
        --brand-logo-marquee-logo-max-height: 116px;
        padding: 8px 0 16px;
    }

    .home .brand-logo-marquee::before,
    .home .brand-logo-marquee::after {
        width: 40px;
    }

    .home .brand-logo-marquee__track {
        animation-duration: calc(var(--brand-logo-marquee-duration) * 0.85);
    }

    .home .brand-logo-marquee__item {
        padding: 4px;
    }
}

@media (max-width: 767px) {
    .home .home-brand-carousel {
        padding: 0 12px 8px;
    }

    .home .home-brand-carousel .flickity-slider > * {
        width: 50% !important;
        max-width: 50% !important;
        padding: 0 5px;
    }

    .home .home-brand-carousel .img-inner {
        padding: 4px;
        border-radius: 8px;
        aspect-ratio: 16 / 9;
    }

    .home .home-brand-carousel img {
        max-height: 56px;
        filter: drop-shadow(0 4px 8px rgba(15, 23, 42, 0.08));
    }
}

@media (prefers-reduced-motion: reduce) {
    .home .brand-logo-marquee__track {
        width: auto;
        animation: none;
    }

    .home .brand-logo-marquee__group {
        flex-wrap: wrap;
        justify-content: center;
        padding-right: 0;
    }

    .home .brand-logo-marquee__group[aria-hidden="true"] {
        display: none;
    }
}
