/* ================================
   Learning Track – Hero Section
================================ */

.archive .site-main.learning-track#primary{
    padding: 0;
    background-color: #ffffff;
}
.learning-track-hero-section-outer-container{
    width: 100%;
    /* height: 651px; */
    height: 95%;
    background: #0e0e0e;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
}

.learning-track-hero {
    max-width: 50%;
    padding-left: 160px;
    padding-top: 100px;
}

/* Eyebrow */
.learning-track-hero .hero-eyebrow {
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.3em; /* 30% */
}

/* Title */
.learning-track-hero .hero-title {
    width: 479px;
    height: auto;
    opacity: 1;
    margin: 0 0 16px;
    color:#ffffff;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 40px;
    line-height: 50px;
    letter-spacing: 0;
}

/* Description */
.learning-track-hero .hero-description {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    color: #ffffff;
    max-width: 479px;
    margin-bottom: 20px;
    line-height: 24px;
    letter-spacing: 0;
}

/* Stats row */
.learning-track-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 28px;
    font-size: 14px;
    color: #cccccc;
}

.learning-track-meta span {
    position: relative;
}

.learning-track-meta span:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -14px;
    opacity: 0.5;
}

/* CTA */
.learning-track-hero .hero-cta {
    /* display: inline-block;
    padding: 12px 20px;
    background: #ff4d2d;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s ease, transform 0.15s ease; */
    display: block;
    width: 170px;
    height: 56px;
    padding: 14px 18px;
    border-radius: 6px;
    background-color: var(--red-text, #C9321A);
    opacity: 1;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0;
    color: #ffffff;
}

.learning-track-hero .hero-cta:hover {
    background: #ff3a17;
    transform: translateY(-1px);
}

/* Hero Images */
.learning-track-hero-images {
    position: relative;
    width: 720px;
    height: 573px;
    margin-top: 33px;
    margin-right: 38px;
    margin-bottom: 45px;
    /* display: none; */
}

.hero-img {
    position: absolute;
    border-radius: 12px;
    overflow: hidden;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-img-1 {
    width: 466px;
    height: 304px;
    bottom: 28px;
    right: 0;
}

.hero-img-2 {
    width: 274px;
    height: 179px;
    top: 35px;
    left: 254px;
}

.hero-img-3 {
    width: 230px;
    height: 289px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.hero-img-4 {
    width: 205px;
    height: 115px;
    bottom: 0;
    left: 24px;
}

.hero-img-5 {
    width: 166px;
    height: 217px;
    top: 0;
    right: 0;
}


/* ================================
   Learning Track – Steps
================================ */
.learning-track-steps {
    display: flex;
    flex-direction: column;
    gap: 64px;
    padding: 64px 0;
    margin: 0 160px;
}

.learning-step-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

.step-index {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e53935;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4px;
}

.learning-step-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
}

.learning-step-description {
    margin-top: 4px;
    font-size: 14px;
    color: #666;
    max-width: 720px;
}

.learning-step-products {
    display: flex;
    gap: 30px;

    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    padding-bottom: 8px;
    margin-left: 52px;

    scrollbar-width: none;
}

.learning-step-products::-webkit-scrollbar {
    display: none;
}

/* Exactly 3 cards visible */
.learning-product-card {
    flex: 0 0 calc((100% - 60px) / 3);
    scroll-snap-align: start;
}

.learning-product-card {
    border-radius: 6px;
    background: #ffffff;
    transition: box-shadow 0.2s ease;
}

.learning-product-card:hover {
    box-shadow:
        0px 2px 4px -1px rgba(0, 0, 0, 0.06),
        0px 4px 6px -1px rgba(0, 0, 0, 0.10);
}
.learning-product-card:hover .product-thumb{
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.learning-product-card a {
    text-decoration: none;
    color: inherit;
}

.product-thumb {
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f2f2f2;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* ================================
   Product Card – Info Frame 
================================ */
.product-info {
    width: 343px;
    height: 100px;

    padding: 14px 12px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    gap: 4px;

}

.product-title {
    width: 319px;

    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600; /* SemiBold */
    line-height: 24px;
    letter-spacing: 0;

    color: #262626;
    opacity: 1;

    margin: 0;

    /* Allow wrapping */
    white-space: normal;

    /* Max 2 lines */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;
}

.product-vendor {
    width: 95px;
    height: 20px;

    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0;

    color: #525252;
    opacity: 1;

    white-space: nowrap;
}

.learning-step:not(:last-child) {
    padding-bottom: 8px;
}

/* ================================
   Slider Wrapper
================================ */
.learning-step-products-wrapper {
    position: relative;
}

/* ================================
   Top-right Controls
================================ */
 .learning-step-controls {
    position: absolute;
    top: -59px;
    right: 0;
    display: flex;
    gap: 10px;
}

.learning-step .slider-arrow {
    width: 30px;
    height: 30px;
    padding: 2px 6px 2px 4px;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #9CA3AF; /* Tailwind gray-300/400 range */
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s ease,
                border-color 0.2s ease,
                color 0.2s ease;
}

.learning-step .slider-arrow.next {
    padding: 2px 4px 2px 6px;
}
.learning-step .slider-arrow:hover {
    background-color: #FFFFFF;
    border-color: #4B5563;
    color: #525252;
} 

.learning-step .slider-arrow path {
    fill: #A3A3A3;
}
.learning-step .slider-arrow:hover path {
    fill: #525252;
}

/* .slider-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: transparent;
    color: #9ca3af;
    border-color: #e5e7eb;
} */


/* ================================
   Pagination Dots
================================ */
.learning-step .slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.learning-step .slider-dot {
    width   : 8px;
    height: 8px;
    padding: 8px;
    border-radius: 500px;
    background: #D2D2D2;
    cursor: pointer;
    transition: all 0.25s ease;
}

.learning-step .slider-dot.active {
    width: 18px;
    border-radius: 999px;
    background: var(--color-primary-cta);
} 

/* ================================
   Learning Track – Sticky Bottom Bar
================================ */

.lt-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1e1e1e;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.lt-sticky-bar.is-visible {
    transform: translateY(0);
}

.lt-sticky-inner {
    max-width: 1460px;
    height: 61px;
    margin: 0 auto;
    padding: 12px 160px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* Sticky bar title */
.lt-sticky-title {
    width: 948px;
    height: 24px;

    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0;

    color: #ffffff;
    opacity: 1;

    display: flex;
    align-items: center;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sticky CTA */
.lt-sticky-cta {
    width: 160px;
    height: 36px;

    padding-left: 28px;
    padding-right: 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 6px;

    background: #e53935;
    color: #ffffff;

    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0;
    text-align: center;

    text-decoration: none;
    white-space: nowrap;

    opacity: 1;
}

/* ===== Step Number & Vertical Line ===== */
.step-number-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 16px; /* space between number and title */
    position: relative;
}

.step-number {
    width: 38px;
    height: 38px;
    background: #C9321A;
    border-radius: 50%;
    border: 2px solid #fff;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.step-line {
    width: 2px;
    flex-grow: 1;
    background: none;
    border-left: 2px dashed #D4D4D4;
    margin-top: 4px; /* small gap from circle */
}
/* .learning-track-meta {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 43px;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 33px;
}
.meta-value {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1; 
    letter-spacing: 0;
    color: #ffffff;
}
.meta-label {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    color: #ffffff;
}
.meta-divider {
    width: 43px;
    height: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
} */

/* Responsive */
@media (max-width: 768px) {
    .learning-track-hero-section-outer-container {
        height: auto;
    }

    .learning-track-hero {
        max-width: 100%;
        padding: 60px 16px;
    }

    .learning-track-hero .hero-title {
        font-size: 36px;
        width: 100%;
        height: auto;
    }

    .learning-track-meta {
        flex-wrap: wrap;
        gap: 12px;
    }

    .learning-track-hero-images{
        display: none;
    }

    .learning-track-steps {
        margin: 0 16px;
    }
}