/* ================================
   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;
    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: block;
    width: 180px;
    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);
    text-decoration: none;
}

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

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

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

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

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

.learning-track .hero-img-4 {
    width: 208px;
    height: 118px;
    bottom: 0;
    left: 24px;
}

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


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

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

.learning-track .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-track .learning-step-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
}

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

.learning-track .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-track .learning-step-products::-webkit-scrollbar {
    display: none;
}

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

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

.learning-track .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-track .learning-product-card:hover .product-thumb{
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

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

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

.learning-track .product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Play overlay container */
.learning-track .js-trailer-trigger .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 45px;
    height: 45px;

    transform: translate(-50%, -50%);

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

    background: rgba(255, 255, 255, 0.6); /* #FFFFFF4D */
    border-radius: 50%;

    font-size: 0; /* hide text ▶ */
}

/* Inner triangle */
.learning-track .js-trailer-trigger .play-icon::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 10.95px solid transparent;
    border-bottom: 10.95px solid transparent;
    border-left: 18px solid #000;

    margin-left: 2px; /* visual centering tweak */
}
/* Hide play button by default */
.learning-track .js-trailer-trigger .play-icon {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
    pointer-events: none;

    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Show on image hover */
.learning-track .js-trailer-trigger:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ================================
   Product Card – Info Frame 
================================ */
.learning-track .product-info {
    width: 100%;
    height: 100px;

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

    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer
}

.learning-track .product-title {
    width: 100%;

    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;
}

.learning-track .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-track .learning-step:not(:last-child) {
    padding-bottom: 8px;
}

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

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

.learning-track .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-track .learning-step .slider-arrow.next {
    padding: 2px 4px 2px 6px;
}
.learning-track .learning-step .slider-arrow:hover {
    background-color: #FFFFFF;
    border-color: #4B5563;
    color: #525252;
} 

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

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

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

.learning-track .learning-step .slider-dot.active {
    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;
}
.lt-sticky-cta:hover{
    background: #e53935;
    color: #ffffff;
    text-decoration: none;
}

/* ===== Step Number & Vertical Line ===== */
.learning-track .step-number-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}


.learning-track-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 43px;
    margin-bottom: 28px;

}
.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);
}

.pw-video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
}

/* Dark background overlay */
.pw-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

/* Video container */
.pw-video-wrapper {
    position: relative;
    width: 1140px;
    height: 644px;
    max-width: calc(100% - 40px);
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    background: #000;
    border-radius: 6px;
    overflow: hidden;

    /* Figma shadow */
    box-shadow:
        0px 10px 10px -5px rgba(0, 0, 0, 0.04),
        0px 20px 25px -5px rgba(0, 0, 0, 0.10);
}

/* Gradient overlay (from Figma) */
.pw-video-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0) 16.38%
    );
}

/* Video iframe */
.pw-video-wrapper iframe {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    border: none;
}

/* Close button */
.pw-video-close {
    position: absolute;
    top: 8px;
    right: 8px;

    width: 35px;
    height: 36px;

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

    padding: 10px 10px 10px 9px;

    background: transparent;
    color: #fff;

    font-size: 24px;
    line-height: 1;

    border: none;
    border-radius: 6px;
    cursor: pointer;
    z-index: 5;

    box-shadow:
        0px 4px 6px -2px rgba(0, 0, 0, 0.05),
        0px 10px 15px -3px rgba(0, 0, 0, 0.10);
}
.pw-video-close:hover{
    background: transparent;
}


/* Thumbnail trigger */
.learning-track .js-trailer-trigger {
    position: relative;
    cursor: pointer;
}

.learning-track .timeline-layout {
    position: relative;
    padding-left: 56px; /* space for spine + circles */
}
.learning-track .timeline-spine {
    position: absolute;
    top: 64px;
    left: 75px; /* aligns with center of number */
    height: 93%;
    width: 2px;

    background-image: repeating-linear-gradient(
        to bottom,
        #D4D4D4 0,
        #D4D4D4 6px,
        transparent 6px,
        transparent 12px
    );
}
.learning-track .learning-step-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.learning-track .step-number-wrapper {
    position: relative;
    z-index: 2;
}

.learning-track .step-number {
    width: 38px;
    height: 38px;
    background: #C9321A;
    border-radius: 50%;
    border: 2px solid #fff;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
    0px 1px 2px rgba(0, 0, 0, 0.06),
    0px 1px 3px rgba(0, 0, 0, 0.10);

}
.learning-track .step-number-wrapper::before {
    content: "";
    position: absolute;
    top: -22px; /* distance above circle */
    left: 50%;
    transform: translateX(-50%);

    width: 18px;
    height: 18px;

    border-left: 2px solid #D4D4D4;
    border-bottom: 2px solid #D4D4D4;

    transform: translateX(-50%) rotate(-45deg);
}

.learning-track .step-number-wrapper.step-1::before {
    display: none;
}


.learning-track .timeline-spine::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);

    width: 10px;
    height: 10px;

    background: #D4D4D4;
    border-radius: 50%;
}
/* 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 {
        width: 100%;
        height: auto;
        font-family: 'Open Sans', sans-serif;
        font-weight: 800;          /* ExtraBold */
        font-style: normal;        /* ExtraBold is NOT a font-style */
        font-size: 32px;
        line-height: 42px;
        letter-spacing: 0;
    }

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

    .learning-track-hero .hero-cta{
        width: 165px;
        height: 46px;
        font-size: 16px;
        line-height: 20px;
    }

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

    .learning-track-steps {
        margin: 0 16px;
    }
    .learning-step-header {
        margin-bottom: 16px;
    }
    .lt-sticky-title {
        display: none;
    }
    .lt-sticky-inner {
        justify-content: center;
    }
    .learning-track .timeline-spine {
        left: 18px;
    }
    .learning-track .timeline-layout {
        padding-left: 0;
    }
    .learning-track .learning-step-title { 
        font-size: 18px;
        line-height: 28px;
    }
    .learning-track .learning-step-controls {
        display: none;
    }
    .learning-track .learning-step-products{
        gap: 16px;
    }
    .learning-track .learning-product-card {
        /* width: 240px; */
        flex: 0 0 calc((100% - 60px) / 3);
        max-width: calc((100% - 60px) / 1);
    }
    .learning-track .step-number-wrapper {
        margin-right: 0;
    }
    .learning-track .product-info { 
        width: 100%;
        height: auto;
    }
    .learning-track .product-title{
        width: 216px;
        overflow: unset;
        -webkit-line-clamp: 3;
    }
}

/* ==================================== 
    Overview Section
   ==================================== */

    .preview-container {
      background: #ffffff;
      font-family: 'Open Sans', sans-serif;
      color: #1a1c22;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 70px 24px;
    }

    .section-wrapper {
      max-width: 1040px;
      width: 100%;
      box-sizing: border-box;
    }

    .section-wrapper *, 
    .section-wrapper *::before, 
    .section-wrapper *::after { 
      box-sizing: border-box; 
      margin: 0; 
      padding: 0; 
    }

    .section-wrapper {
      --primary:        #C9321A;
      --primary-light:  #e8452b;
      --primary-pale:   #fdf1ef;
      --primary-border: rgba(201,50,26,0.18);
      --white:          #ffffff;
      --text-dark:      #1a1c22;
      --text-mid:       #4a4f60;
      --shadow-card:    0 2px 12px rgba(201,50,26,0.06), 0 1px 3px rgba(0,0,0,0.05);
      --shadow-hover:   0 10px 36px rgba(201,50,26,0.14), 0 3px 10px rgba(0,0,0,0.07);
    }

    /* Header */
    .section-header {
      text-align: center;
      margin-bottom: 52px;
    }

    .section-title {
      font-size: clamp(30px, 5vw, 52px);
      font-weight: 800;
      color: var(--text-dark);
      line-height: 1.1;
      letter-spacing: -0.02em;
    }
    .section-title em {
      font-style: normal;
      color: var(--primary);
    }

    .section-sub {
      margin-top: 14px;
      font-size: 15px;
      font-weight: 400;
      color: var(--text-mid);
    }
    .cards-grid {
      display: grid;
      gap: 16px;
      grid-template-columns: repeat(var(--cols, 2), 1fr);
    }
.lt-card {
  background: var(--white);
  border: 1.5px solid #eaeaee;
  border-radius: 22px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
  box-shadow: var(--shadow-card);
  /* white-space: nowrap; */
}


.lt-card:hover {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.lt-card:hover::before { transform: scaleY(1); }

/* Check icon */
.lt-check-wrap {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary-pale);
  border: 1.5px solid rgba(201,50,26,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.28s ease, border-color 0.28s ease, transform 0.28s ease;
}

.lt-card:hover .lt-check-wrap {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
}

.lt-check-wrap svg {
  width: 15px;
  height: 15px;
}

.lt-card:hover .lt-check-wrap svg circle,
.lt-card:hover .lt-check-wrap svg path {
  stroke: #ffffff;
}

/* Text */
.lt-card-text p {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-mid);
  line-height: 1.5;
  transition: color 0.28s ease;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lt-card:hover .lt-card-text p {
  color: var(--text-dark);
}

/* Center last */
.cards-grid.center-last .lt-card:last-child {
  grid-column: 1 / -1;
  max-width: 480px;
  justify-self: center;
  width: 100%;
}

    @media (max-width: 720px) {
      .cards-grid { grid-template-columns: repeat(2, 1fr) !important; }
      .cards-grid.center-last .card:last-child { grid-column: auto; max-width: none; justify-self: auto; }
    }
    @media (max-width: 480px) {
      .cards-grid { grid-template-columns: 1fr !important; }
    }

/* ==================================== 
    Join Plus Section
   ==================================== */

.cta-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 140px 20px;
    background-color: #000000;
    position: relative;
    /* background-image: url("https://cwv.photowhoa.com/wp-content/uploads/2026/02/last-CTA-bg-image.jpg"); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

/* Content wrapper */
.cta-content {
    position: relative;
    max-width: 1015px;
    width: 100%;
    text-align: center;
    color: #ffffff;
}

/* ===== HEADING ===== */
.cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    line-height: 62px;
    margin-bottom: 20px;
    color: #FFFFFF;
}

/* ===== TEXT ===== */
.cta-content p {
    font-size: 18px;
    font-weight: 500;
    line-height: 36px;
    margin-bottom: 28px;
    color: #F2F2F2;
}

/* Strong text inside paragraph */
.cta-content p strong {
    font-weight: 700;
}

/* ===== BUTTON ===== */
.cta-button {
    display: inline-block;
    padding: 10px 12px;
    line-height: 21.6px;
    background-color: #C9321A;
    color: #F2F2F2;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Open Sans';
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    transition: 0.3s ease;
}

/* Button hover */
.cta-button:hover {
    background-color: #972615;
    color: #F2F2F2;
    text-decoration: none;
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
    .cta-section {
        padding: 120px 20px;
    }

    .cta-content h2 {
        font-size: 32px;
        line-height: 44px;
    }

    .cta-content p {
        font-size: 16px;
        line-height: 28px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .cta-section {
        padding: 80px 16px;
    }

    .cta-content h2 {
        font-size: 28px;
        line-height: 38px;
    }

    .cta-content p {
        font-size: 15px;
        line-height: 26px;
    }

    .cta-button {
        padding: 14px 20px;
        font-size: 15px;
    }
}