/* Reseller Banner Slider */
.image-slider-wrapper {
    border-radius: 18px;
    overflow: hidden;
}
.image-slider-wrapper.slick-initialized.slick-slider {
    width: 100%;
    height: 100%;
}
.image-slider-wrapper img {
    max-height: 100%;
}
.image-slider-wrapper .slick-arrow {
    height: 48px;
    width: 48px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s all;
    border: 1px solid #e0e0e0;
    outline: 0;
    font-size: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}
.image-slider-wrapper .slick-arrow:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}
.image-slider-wrapper .slick-arrow.slick-prev {
    left: 16px;
    background-image: url(../img/pro-slider-left-arrow.svg);
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: center;
}
.image-slider-wrapper .slick-arrow.slick-prev:hover {
    background-image: url(../img/pro-slider-left-arrow-white.svg);
}
.image-slider-wrapper .slick-arrow.slick-next {
    right: 16px;
    background-image: url(../img/pro-slider-right-arrow.svg);
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: center;
}
.image-slider-wrapper .slick-arrow.slick-next:hover {
    background-image: url(../img/pro-slider-right-arrow-white.svg);
}

/* Client Hero Slider - Full Width */
.client-hero-section {
    width: 100%;
    overflow: hidden;
    margin-top: 180px;
}
.client-hero-section .slider-wrapper-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.client-hero-section .homepage_slider {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}
.client-hero-section .slide-item {
    min-width: 100%;
    flex-shrink: 0;
}
.client-hero-section .slide-item img {
    width: 100%;
    height: auto;
    display: block;
}
.client-hero-section .slider-arrows {
    position: absolute;
    top: 50%;
    display: flex;
    justify-content: space-between;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
    padding: 0 16px;
    box-sizing: border-box;
    left: 0;
}
.client-hero-section .slider-arrows span {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    transition: 0.3s all;
    border: 1px solid #e0e0e0;
}
.client-hero-section .slider-arrows span:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}
.client-hero-section .slider-arrows span:hover svg path {
    stroke: #fff;
}

/* Reseller Hero Layout */
.hero-section {
    padding: 0;
    margin: 40px 0 24px;
}
.hero-section-main {
    display: flex;
    gap: 20px;
    align-items: stretch;
}
.reseller-slider-block {
    width: calc(100% - 300px);
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 10px 50px 0 rgba(61, 66, 69, .18);
}
.partners-block {
    width: 280px;
    background-color: #fff;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 0 20px 0 rgba(61, 66, 69, .12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.partners-block .partners-img {
    flex: 1;
    align-content: start;
}
.partners-block .title-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
body .partners-block h2.title {
    font-size: 26px;
}
.partners-img {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    row-gap: 6px;
}
.partners-img img {
    width: auto;
    height: auto;
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
}

/* Brand Subtitle */
.brand-subtitle {
    font-size: 16px;
    line-height: 28px;
    color: #51575E;
    font-weight: 500;
    margin: 4px 0 0;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section-main {
        flex-direction: column;
    }
    .reseller-slider-block {
        width: 100%;
    }
    .partners-block {
        width: 100%;
        padding: 16px;
    }
    body .partners-block h2.title {
        font-size: 22px;
    }
    .partners-img {
        grid-template-columns: repeat(3, calc(33.33% - 8px));
    }
    .client-hero-section {
        margin-top: 120px;
    }
    .image-slider-wrapper {
        border-radius: 12px;
    }
    .image-slider-wrapper .slick-arrow {
        width: 40px;
        height: 40px;
        background-size: 16px;
    }
    .image-slider-wrapper .slick-arrow.slick-prev {
        left: 10px;
    }
    .image-slider-wrapper .slick-arrow.slick-next {
        right: 10px;
    }
}
@media (max-width: 767px) {
    .image-slider-wrapper {
        border-radius: 8px;
    }
    .image-slider-wrapper .slick-arrow {
        width: 32px;
        height: 32px;
        background-size: 14px;
    }
    .image-slider-wrapper .slick-arrow.slick-prev {
        left: 8px;
    }
    .image-slider-wrapper .slick-arrow.slick-next {
        right: 8px;
    }
    .client-hero-section {
        margin-top: 80px;
    }
    .client-hero-section .slider-arrows span {
        width: 36px;
        height: 36px;
    }
    .client-hero-section .slider-arrows span svg {
        width: 18px;
        height: 18px;
    }
}
@media (max-width: 480px) {
    .image-slider-wrapper {
        border-radius: 6px;
    }
    .image-slider-wrapper .slick-arrow {
        width: 28px;
        height: 28px;
        background-size: 12px;
    }
    .client-hero-section .slider-arrows span {
        width: 30px;
        height: 30px;
    }
    .client-hero-section .slider-arrows span svg {
        width: 16px;
        height: 16px;
    }
}

/* ---------------------------------------------------------------------------
   Reseller page hero (views/generic/_reseller-hero.php)

   Rendered from the structured `hero` block in a company's web parameters. The
   per-company knobs arrive as custom properties set inline on .rs-hero-banner
   (--rs-hero-ratio, --rs-hero-focal); everything else is shared so every
   partner gets the same tested layout instead of hand-written HTML/CSS in a
   content blob.

   The ratio matters: a 3:2 illustration in a ~5:1 box crops its own subject
   out of frame. 2.4/1 with a focal point below centre keeps it. max-height is
   only a guard — the container caps at 1780px, where 2.4/1 is 717px.
   --------------------------------------------------------------------------- */
/* Matches the spacing the per-company .rf-hero wrapper used to provide, so the
   migration is visually identical rather than merely similar. */
.rs-home { padding: 20px 0; }
.rs-hero-title {
    font-size: 34px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
    color: #17181A; margin: 0 0 12px;
}
.rs-hero-banner {
    position: relative;
    width: 100%;
    aspect-ratio: var(--rs-hero-ratio, 2.4/1);
    max-height: 680px;
    border-radius: 14px;
    overflow: hidden;
    line-height: 0;
    box-shadow: 0 10px 40px rgba(61, 66, 69, .16);
}
.rs-hero-banner img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: var(--rs-hero-focal, center center);
    display: block;
}
.rs-hero-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 20px;
}
.rs-hero-quote {
    max-width: 600px; background: rgba(255, 255, 255, .85);
    border-radius: 14px; padding: 20px 26px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
}
.rs-hero-quote blockquote {
    font-size: 20px; line-height: 30px; font-weight: 700; font-style: italic;
    color: #17181A; margin: 0 0 8px;
}
.rs-hero-quote cite {
    font-size: 14px; font-style: normal; font-weight: 600; color: var(--primary, #2AA466);
}
@media (max-width: 767px) {
    /* 2.4/1 at 375px would be a 156px sliver — give small screens a taller box */
    .rs-hero-banner { aspect-ratio: 1.6/1; max-height: none; }
    .rs-hero-title { font-size: 24px; }
    .rs-hero-quote { padding: 14px 16px; }
    .rs-hero-quote blockquote { font-size: 15px; line-height: 23px; }
}
