/* =====================================================
   Advanced Recruiters Section Layouts 1 to 5
   File: public/assets/frontend/css/home-sections/recruiters.css
   ===================================================== */

.hs-recruiter-pro,
.hs-recruiter-pro * {
    box-sizing: border-box;
}

.hs-recruiter-pro {
    --rec-primary: var(--theme-color, #0f3d5e);
    --rec-secondary: var(--theme-color2, #0b7285);
    --rec-dark: #101828;
    --rec-text: #172033;
    --rec-muted: #667085;
    --rec-soft: #f6f9fc;
    --rec-white: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 86px 0;
    isolation: isolate;
}

.hs-recruiter-pro a {
    text-decoration: none;
}

.hs-recruiter-pro img {
    max-width: 100%;
    object-fit: contain;
}

.hs-rec-container {
    position: relative;
    z-index: 2;
}

.hs-rec-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--rec-primary) 10%, #ffffff);
    color: var(--rec-primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.9px;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.hs-rec-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--rec-secondary);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--rec-secondary) 18%, transparent);
}

.hs-recruiter-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.72s ease, transform 0.72s ease;
    transition-delay: var(--delay, 0ms);
}

.hs-recruiter-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hs-rec-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(color-mix(in srgb, var(--rec-primary) 8%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--rec-primary) 8%, transparent) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.42;
    z-index: -3;
}

/* =====================================================
   Layout 1: Premium Momentum Marquee
   ===================================================== */
.hs-rec-l1 {
    background:
        radial-gradient(circle at 12% 10%, color-mix(in srgb, var(--rec-secondary) 20%, transparent), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f4f8fb 58%, color-mix(in srgb, var(--rec-secondary) 11%, #ffffff) 100%);
}

.hs-rec-l1-orb {
    position: absolute;
    border-radius: 50%;
    z-index: -2;
    pointer-events: none;
}

.hs-rec-l1-orb-one {
    width: 330px;
    height: 330px;
    left: -130px;
    bottom: -150px;
    background: color-mix(in srgb, var(--rec-primary) 13%, transparent);
}

.hs-rec-l1-orb-two {
    width: 220px;
    height: 220px;
    right: 5%;
    top: 45px;
    border: 42px solid color-mix(in srgb, var(--rec-secondary) 16%, transparent);
}

.hs-rec-l1-shell {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 34px;
    align-items: center;
}

.hs-rec-l1-content h2,
.hs-rec-l2-header h2,
.hs-rec-l3-top h2,
.hs-rec-l4-panel h2,
.hs-rec-l5-intro h2 {
    font-size: clamp(28px, 3.2vw, 48px);
    line-height: 1.08;
    letter-spacing: -1.1px;
    margin: 0 0 16px;
    color: var(--rec-text);
    font-weight: 900;
}

.hs-rec-l1-content p,
.hs-rec-l2-header p,
.hs-rec-l3-top p,
.hs-rec-l4-panel p,
.hs-rec-l5-intro p {
    color: var(--rec-muted);
    line-height: 1.8;
    font-size: 16px;
    margin: 0;
}

.hs-rec-l1-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.hs-rec-l1-stats div {
    min-height: 106px;
    padding: 20px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid color-mix(in srgb, var(--rec-primary) 12%, transparent);
    box-shadow: 0 22px 56px rgba(16, 24, 40, 0.08);
}

.hs-rec-l1-stats strong {
    display: block;
    color: var(--rec-primary);
    font-size: 34px;
    line-height: 1;
    font-weight: 950;
}

.hs-rec-l1-stats span {
    display: block;
    color: var(--rec-muted);
    font-size: 13px;
    font-weight: 800;
    margin-top: 9px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.hs-rec-l1-board {
    position: relative;
    padding: 24px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.74);
    box-shadow: 0 36px 80px rgba(16, 24, 40, 0.13);
    overflow: hidden;
}

.hs-rec-l1-board::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--rec-primary) 8%, transparent), transparent 38%);
    pointer-events: none;
}

.hs-rec-l1-board-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    color: var(--rec-text);
    font-weight: 900;
}

.hs-rec-l1-board-head span {
    font-size: 18px;
}

.hs-rec-l1-board-head i {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--rec-primary), var(--rec-secondary));
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hs-rec-marquee {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 9px 0;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.hs-rec-marquee-track {
    display: flex;
    width: max-content;
    gap: 16px;
    animation: hsRecMarquee 28s linear infinite;
}

.hs-rec-marquee-reverse .hs-rec-marquee-track {
    animation-direction: reverse;
    animation-duration: 34s;
}

.hs-rec-marquee:hover .hs-rec-marquee-track,
.hs-rec-l3-slider:hover .hs-rec-l3-track {
    animation-play-state: paused;
}

.hs-rec-logo-pill {
    min-width: 190px;
    height: 98px;
    padding: 20px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid color-mix(in srgb, var(--rec-primary) 10%, transparent);
    box-shadow: 0 16px 36px rgba(16, 24, 40, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.hs-rec-logo-pill:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 50px rgba(16, 24, 40, 0.14);
}

.hs-rec-logo-pill img {
    max-height: 68px;
    width: auto;
}

@keyframes hsRecMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* =====================================================
   Layout 2: Particles + Infinite Scrolling Recruiter Logos
   Primary Background | No Gradient | No Blank Space
===================================================== */

.hs-rec-l2 {
    position: relative;
    overflow: hidden;
    background: var(--rec-primary, #0f3d5e) !important;
    padding: 76px 0;
    isolation: isolate;
}

/* Solid background */
.hs-rec-l2-bg {
    position: absolute;
    inset: 0;
    background: var(--rec-primary, #0f3d5e) !important;
    z-index: -5;
}

/* Particles layer */
.hs-rec-l2-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -4;
    pointer-events: none;
}

.hs-rec-l2-particles canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* Decorative solid shapes */
.hs-rec-l2-shape {
    position: absolute;
    pointer-events: none;
    z-index: -3;
    opacity: 0.14;
}

.hs-rec-l2-shape-one {
    width: 260px;
    height: 260px;
    left: -120px;
    top: 70px;
    border-radius: 50%;
    background: var(--rec-secondary, #0b7285);
}

.hs-rec-l2-shape-two {
    width: 190px;
    height: 190px;
    right: -70px;
    bottom: 55px;
    border-radius: 42px;
    transform: rotate(18deg);
    background: var(--rec-secondary, #0b7285);
}

/* Content must stay above particles */
.hs-rec-l2 .hs-rec-container {
    position: relative;
    z-index: 2;
}

/* Heading */
.hs-rec-l2-heading {
    margin-bottom: 34px;
    text-align: center;
}

.hs-rec-l2 .site-heading,
.hs-rec-l2 .section-heading,
.hs-rec-l2 .hs-rec-l2-heading {
    text-align: center;
}

.hs-rec-l2 .site-title,
.hs-rec-l2 .section-title,
.hs-rec-l2 .hs-rec-l2-heading h2,
.hs-rec-l2 h2 {
    color: #ffffff !important;
}

.hs-rec-l2 .site-heading p,
.hs-rec-l2 .section-heading p,
.hs-rec-l2 .hs-rec-l2-heading p {
    color: rgba(255, 255, 255, 0.82) !important;
}

.hs-rec-l2 .site-heading img,
.hs-rec-l2 .section-heading img {
    filter: brightness(0) invert(1);
}

/* Outer frame */
.hs-rec-l2-scroll-wrap {
    position: relative;
    padding: 24px;
    border-radius: 30px;
    background: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.32);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

/* Scroller */
.hs-rec-l2-scroll {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 6px 0;
}

/* Main track */
.hs-rec-l2-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: hsRecL2InfiniteScroll 28s linear infinite;
    will-change: transform;
}

/* Each repeated group */
.hs-rec-l2-group {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 0 0 auto;
    padding-right: 18px;
}

/* Pause on hover */
.hs-rec-l2-scroll:hover .hs-rec-l2-track {
    animation-play-state: paused;
}

/* Recruiter card */
.hs-rec-l2-card {
    position: relative;
    width: 210px;
    min-width: 210px;
    height: 122px;
    padding: 24px;
    border-radius: 22px;
    background: #ffffff !important;
    border: 1px solid rgba(15, 61, 94, 0.14);
    box-shadow: 0 14px 36px rgba(16, 24, 40, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

/* Solid hover background */
.hs-rec-l2-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 61, 94, 0.05);
    opacity: 0;
    transition: opacity 0.28s ease;
}

/* Bottom accent */
.hs-rec-l2-card::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 4px;
    border-radius: 999px 999px 0 0;
    background: var(--rec-secondary, #0b7285);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s ease;
}

.hs-rec-l2-card img {
    position: relative;
    z-index: 1;
    max-height: 68px;
    width: auto;
    object-fit: contain;
    filter: grayscale(15%);
    transition: transform 0.28s ease, filter 0.28s ease;
}

.hs-rec-l2-card:hover {
    transform: translateY(-5px);
    border-color: var(--rec-secondary, #0b7285);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.15);
}

.hs-rec-l2-card:hover::before {
    opacity: 1;
}

.hs-rec-l2-card:hover::after {
    transform: scaleX(1);
}

.hs-rec-l2-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Infinite loop animation
   8 groups used in Blade, so move by 12.5% = 1 group width */
@keyframes hsRecL2InfiniteScroll {
    from {
        transform: translateX(0);
    }

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

/* Tablet */
@media (max-width: 1199.98px) {
    .hs-rec-l2 {
        padding: 68px 0;
    }

    .hs-rec-l2-track {
        animation-duration: 26s;
    }

    .hs-rec-l2-card {
        width: 190px;
        min-width: 190px;
        height: 116px;
        padding: 22px;
    }

    .hs-rec-l2-card img {
        max-height: 62px;
    }
}

/* Mobile */
@media (max-width: 991.98px) {
    .hs-rec-l2 {
        padding: 60px 0;
    }

    .hs-rec-l2-heading {
        margin-bottom: 28px;
    }

    .hs-rec-l2-scroll-wrap {
        padding: 18px;
        border-radius: 24px;
    }

    .hs-rec-l2-track {
        animation-duration: 22s;
    }

    .hs-rec-l2-group {
        gap: 14px;
        padding-right: 14px;
    }

    .hs-rec-l2-card {
        width: 170px;
        min-width: 170px;
        height: 104px;
        padding: 18px;
        border-radius: 18px;
    }

    .hs-rec-l2-card img {
        max-height: 56px;
    }
}

/* Small Mobile */
@media (max-width: 575.98px) {
    .hs-rec-l2 {
        padding: 48px 0;
    }

    .hs-rec-l2-heading {
        margin-bottom: 24px;
    }

    .hs-rec-l2-scroll-wrap {
        padding: 14px;
        border-radius: 20px;
    }

    .hs-rec-l2-track {
        animation-duration: 20s;
    }

    .hs-rec-l2-group {
        gap: 12px;
        padding-right: 12px;
    }

    .hs-rec-l2-card {
        width: 150px;
        min-width: 150px;
        height: 92px;
        padding: 15px;
        border-radius: 16px;
    }

    .hs-rec-l2-card img {
        max-height: 50px;
    }
}

/* Very Small Mobile */
@media (max-width: 390px) {
    .hs-rec-l2 {
        padding: 42px 0;
    }

    .hs-rec-l2-scroll-wrap {
        padding: 12px;
    }

    .hs-rec-l2-card {
        width: 138px;
        min-width: 138px;
        height: 86px;
        padding: 13px;
    }

    .hs-rec-l2-card img {
        max-height: 46px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .hs-rec-l2-track {
        animation: none;
    }

    .hs-rec-l2-particles {
        display: none;
    }
}
/* =====================================================
   Layout 3: Dark Spotlight Wall
   ===================================================== */
.hs-rec-l3 {
    background:
        radial-gradient(circle at 20% 18%, color-mix(in srgb, var(--rec-secondary) 24%, transparent), transparent 30%),
        linear-gradient(135deg, #0b1220 0%, #111827 55%, color-mix(in srgb, var(--rec-primary) 55%, #111827) 100%);
    color: #ffffff;
}

.hs-rec-l3-grid-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.18;
    z-index: -2;
}

.hs-rec-l3-spot {
    position: absolute;
    border-radius: 50%;
    filter: blur(4px);
    z-index: -1;
}

.hs-rec-l3-spot-one {
    width: 340px;
    height: 340px;
    left: -130px;
    top: -150px;
    background: color-mix(in srgb, var(--rec-secondary) 18%, transparent);
}

.hs-rec-l3-spot-two {
    width: 280px;
    height: 280px;
    right: -80px;
    bottom: -120px;
    background: color-mix(in srgb, var(--rec-primary) 24%, transparent);
}

.hs-rec-l3 .hs-rec-kicker {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.hs-rec-l3-top {
    max-width: 840px;
    text-align: center;
    margin: 0 auto 28px;
}

.hs-rec-l3-top h2,
.hs-rec-l3-top p {
    color: #ffffff;
}

.hs-rec-l3-top p {
    color: rgba(255, 255, 255, 0.78);
}

.hs-rec-l3-info-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto 34px;
}

.hs-rec-l3-info-row div {
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    text-align: center;
}

.hs-rec-l3-info-row strong {
    display: block;
    color: #ffffff;
    font-size: 30px;
    font-weight: 950;
    line-height: 1;
}

.hs-rec-l3-info-row span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 800;
    margin-top: 9px;
}

.hs-rec-l3-slider {
    overflow: hidden;
    padding: 22px 0;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.hs-rec-l3-track {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: hsRecMarquee 30s linear infinite;
}

.hs-rec-l3-logo {
    width: 210px;
    height: 120px;
    flex: 0 0 auto;
    padding: 24px;
    border-radius: 26px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
    transition: transform 0.28s ease;
}

.hs-rec-l3-logo:hover {
    transform: translateY(-7px) scale(1.02);
}

.hs-rec-l3-logo img {
    max-height: 78px;
    width: auto;
}

/* =====================================================
   Layout 4: Academic Partner Mosaic
   ===================================================== */
.hs-rec-l4 {
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--rec-primary) 8%, #ffffff) 0 38%, #ffffff 38% 100%);
}

.hs-rec-l4::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 42%;
    height: 100%;
    background: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--rec-secondary) 16%, transparent), transparent 44%);
    z-index: 0;
}

.hs-rec-l4-shell {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 34px;
    align-items: center;
}

.hs-rec-l4-panel {
    padding: 34px;
    border-radius: 32px;
    background: #ffffff;
    box-shadow: 0 28px 75px rgba(16, 24, 40, 0.12);
    border: 1px solid color-mix(in srgb, var(--rec-primary) 10%, transparent);
}

.hs-rec-l4-mini-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-top: 26px;
}

.hs-rec-l4-mini-stats div {
    padding: 18px;
    border-radius: 22px;
    background: color-mix(in srgb, var(--rec-primary) 6%, #ffffff);
    border: 1px solid color-mix(in srgb, var(--rec-primary) 10%, transparent);
}

.hs-rec-l4-mini-stats i {
    width: 40px;
    height: 40px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--rec-primary), var(--rec-secondary));
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.hs-rec-l4-mini-stats strong {
    display: block;
    color: var(--rec-text);
    font-size: 24px;
    font-weight: 950;
    line-height: 1;
}

.hs-rec-l4-mini-stats span {
    display: block;
    color: var(--rec-muted);
    font-size: 12px;
    font-weight: 800;
    margin-top: 7px;
}

.hs-rec-l4-mosaic {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 92px;
    gap: 15px;
}

.hs-rec-l4-tile {
    padding: 18px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid color-mix(in srgb, var(--rec-primary) 11%, transparent);
    box-shadow: 0 20px 48px rgba(16, 24, 40, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.hs-rec-l4-tile::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: linear-gradient(90deg, var(--rec-primary), var(--rec-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s ease;
}

.hs-rec-l4-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(16, 24, 40, 0.14);
}

.hs-rec-l4-tile:hover::after {
    transform: scaleX(1);
}

.hs-rec-l4-tile img {
    max-height: 68px;
    width: auto;
}

.hs-rec-l4-tile-1 { grid-column: span 2; grid-row: span 2; }
.hs-rec-l4-tile-2 { grid-column: span 2; }
.hs-rec-l4-tile-3 { grid-column: span 2; }
.hs-rec-l4-tile-4 { grid-column: span 3; }
.hs-rec-l4-tile-5 { grid-column: span 3; }

/* =====================================================
   Layout 5: Continuous Scrolling Placement Command Center
   Solid Primary Background | Infinite Logo Loop
===================================================== */

.hs-rec-l5 {
    position: relative;
    overflow: hidden;
    background: var(--rec-primary, #0f3d5e) !important;
    padding: 78px 0;
    isolation: isolate;
}

.hs-rec-l5-bg {
    position: absolute;
    inset: 0;
    background: var(--rec-primary, #0f3d5e) !important;
    z-index: -4;
}

.hs-rec-l5-orb {
    position: absolute;
    pointer-events: none;
    z-index: -3;
    opacity: 0.16;
}

.hs-rec-l5-orb-one {
    width: 280px;
    height: 280px;
    left: -110px;
    top: 45px;
    border-radius: 50%;
    background: var(--rec-secondary, #0b7285);
}

.hs-rec-l5-orb-two {
    width: 220px;
    height: 220px;
    right: -90px;
    bottom: 35px;
    border-radius: 44px;
    background: var(--rec-secondary, #0b7285);
    transform: rotate(18deg);
}

/* Main console */
.hs-rec-l5-console {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.32);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.22);
}

/* Top bar */
.hs-rec-l5-topbar {
    min-height: 58px;
    padding: 14px 22px;
    background: var(--rec-secondary, #0b7285);
    color: #ffffff;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
}

.hs-rec-l5-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hs-rec-l5-dots span {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.70);
}

.hs-rec-l5-topbar strong {
    justify-self: center;
    color: #ffffff;
    font-size: 15px;
    font-weight: 950;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    line-height: 1.1;
}

.hs-rec-l5-topbar-end {
    justify-self: end;
}

/* Body */
.hs-rec-l5-body {
    padding: 28px;
    background: #ffffff;
}

/* Continuous scroller */
.hs-rec-l5-scroll {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 6px 0;
}

.hs-rec-l5-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: hsRecL5Scroll 28s linear infinite;
    will-change: transform;
}

.hs-rec-l5-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
    padding-right: 16px;
}

.hs-rec-l5-scroll:hover .hs-rec-l5-track {
    animation-play-state: paused;
}

/* Card */
.hs-rec-l5-card {
    position: relative;
    width: 210px;
    min-width: 210px;
    height: 124px;
    padding: 24px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(15, 61, 94, 0.14);
    box-shadow: 0 16px 42px rgba(16, 24, 40, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.hs-rec-l5-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 61, 94, 0.045);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.hs-rec-l5-card::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    height: 4px;
    border-radius: 999px 999px 0 0;
    background: var(--rec-secondary, #0b7285);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s ease;
}

.hs-rec-l5-card img {
    position: relative;
    z-index: 1;
    max-height: 72px;
    width: auto;
    object-fit: contain;
    filter: grayscale(12%);
    transition: transform 0.28s ease, filter 0.28s ease;
}

.hs-rec-l5-card:hover {
    transform: translateY(-6px);
    border-color: var(--rec-secondary, #0b7285);
    box-shadow: 0 26px 62px rgba(16, 24, 40, 0.16);
}

.hs-rec-l5-card:hover::before {
    opacity: 1;
}

.hs-rec-l5-card:hover::after {
    transform: scaleX(1);
}

.hs-rec-l5-card:hover img {
    transform: scale(1.06);
    filter: grayscale(0%);
}

/* Infinite loop animation */
@keyframes hsRecL5Scroll {
    from {
        transform: translateX(0);
    }

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

/* Tablet */
@media (max-width: 1199.98px) {
    .hs-rec-l5 {
        padding: 68px 0;
    }

    .hs-rec-l5-card {
        width: 190px;
        min-width: 190px;
        height: 116px;
        padding: 22px;
    }

    .hs-rec-l5-card img {
        max-height: 64px;
    }
}

/* Mobile */
@media (max-width: 991.98px) {
    .hs-rec-l5 {
        padding: 58px 0;
    }

    .hs-rec-l5-console {
        border-radius: 26px;
    }

    .hs-rec-l5-topbar {
        min-height: 54px;
        padding: 13px 18px;
        grid-template-columns: auto 1fr auto;
        gap: 10px;
    }

    .hs-rec-l5-dots {
        gap: 6px;
    }

    .hs-rec-l5-dots span {
        width: 10px;
        height: 10px;
    }

    .hs-rec-l5-topbar strong {
        font-size: 13px;
        text-align: center;
    }

    .hs-rec-l5-body {
        padding: 20px;
    }

    .hs-rec-l5-track {
        animation-duration: 22s;
    }

    .hs-rec-l5-group {
        gap: 14px;
        padding-right: 14px;
    }

    .hs-rec-l5-card {
        width: 170px;
        min-width: 170px;
        height: 104px;
        padding: 18px;
        border-radius: 20px;
    }

    .hs-rec-l5-card img {
        max-height: 56px;
    }
}

/* Small Mobile */
@media (max-width: 575.98px) {
    .hs-rec-l5 {
        padding: 46px 0;
    }

    .hs-rec-l5-console {
        border-radius: 22px;
    }

    .hs-rec-l5-topbar {
        min-height: 50px;
        padding: 12px 14px;
    }

    .hs-rec-l5-topbar strong {
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .hs-rec-l5-body {
        padding: 14px;
    }

    .hs-rec-l5-track {
        animation-duration: 20s;
    }

    .hs-rec-l5-group {
        gap: 12px;
        padding-right: 12px;
    }

    .hs-rec-l5-card {
        width: 150px;
        min-width: 150px;
        height: 92px;
        padding: 15px;
        border-radius: 16px;
    }

    .hs-rec-l5-card img {
        max-height: 50px;
    }
}

/* Very Small Mobile */
@media (max-width: 390px) {
    .hs-rec-l5 {
        padding: 40px 0;
    }

    .hs-rec-l5-body {
        padding: 12px;
    }

    .hs-rec-l5-card {
        width: 138px;
        min-width: 138px;
        height: 86px;
        padding: 13px;
    }

    .hs-rec-l5-card img {
        max-height: 46px;
    }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .hs-rec-l5-track {
        animation: none;
    }
}