/* ----------------------------------------
   1. Base Layout (shared)
   ---------------------------------------- */
.blox-pth-body {
    position: relative;
    overflow: visible;
}

.blox-pth-body *,
.blox-pth-body *::before,
.blox-pth-body *::after {
    box-sizing: border-box;
}

/* ----------------------------------------
   2. Columns Layout
   ---------------------------------------- */
.blox-pth-container {
    display: flex;
    flex-direction: row;
    gap: 60px;
    margin: 0 auto;
    padding: 0 30px;
    align-items: center;
}

.blox-pth-content {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 1;
}

.blox-pth-ticker {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.blox-pth-content h6 {
    margin: 0 0 24px 0;
}

.blox-pth-content h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 16px 0;
}

.blox-pth-content p {
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    max-width: 480px;
    color: #666;
}

.blox-pth-ctas {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* Ticker Grid - Columns */
.blox-pth-ticker-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--blox-pth-gap, 20px);
    height: 100%;
    position: relative;
}

.blox-pth-ticker-col {
    overflow: hidden;
    position: relative;
}

.blox-pth-ticker-strip {
    display: flex;
    flex-direction: column;
    gap: var(--blox-pth-gap, 20px);
}

.blox-pth-ticker-item {
    border-radius: var(--blox-pth-radius, 16px);
    overflow: hidden;
    flex-shrink: 0;
}

.blox-pth-ticker-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 3/4;
}

/* ----------------------------------------
   3. Marquee Layout (overrides via class)
   ---------------------------------------- */
.blox-pth-mq-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    overflow: hidden;
}

.blox-pth-mq-strip {
    display: flex;
    gap: 16px;
    will-change: transform;
}

.blox-pth-mq-item {
    flex-shrink: 0;
    overflow: hidden;
}

.blox-pth-mq-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* ----------------------------------------
   4. Hover Pause
   ---------------------------------------- */
.blox-pth-ticker:hover .blox-pth-ticker-strip {
    animation-play-state: paused;
}

.blox-pth-mq-wrap:hover .blox-pth-mq-strip {
    animation-play-state: paused;
}

/* ----------------------------------------
   5. Accessibility
   ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .blox-pth-ticker-strip,
    .blox-pth-mq-strip {
        animation-play-state: paused !important;
    }
}

/* ----------------------------------------
   5b. Static fallback (reduce_motion)
   ---------------------------------------- */
.blox-pth-no-motion .blox-pth-ticker-strip {
    animation: none !important;
    -webkit-animation: none !important;
}

.blox-pth-no-motion .blox-pth-mq-strip {
    animation: none !important;
    -webkit-animation: none !important;
}

.blox-pth-no-motion .blox-pth-ticker-col {
    overflow: hidden;
    max-height: 100%;
}

/* ----------------------------------------
   6. Responsive - Columns Layout (<993px)
   ---------------------------------------- */
@media (max-width: 992px) {
    .blox-pth-container {
        flex-direction: column;
        gap: 32px;
        padding: 0 20px;
    }

    .blox-pth-content {
        flex: none;
        width: 100%;
    }

    .blox-pth-content h1 {
        font-size: 36px;
    }

    .blox-pth-content p {
        font-size: 16px;
        max-width: none;
    }

    .blox-pth-ticker {
        width: 100%;
        height: auto !important;
        overflow: hidden;
    }

    .blox-pth-ticker-grid {
        display: flex;
        flex-direction: column;
        gap: 10px;
        height: auto;
    }

    .blox-pth-ticker-col {
        overflow: hidden;
        width: 100%;
        height: 130px;
    }

    .blox-pth-ticker-strip {
        flex-direction: row !important;
        gap: 10px !important;
    }

    .blox-pth-ticker-item {
        width: 110px;
        height: 130px;
        flex-shrink: 0;
        border-radius: var(--blox-pth-radius, 12px);
    }

    .blox-pth-ticker-item img {
        width: 110px;
        height: 130px;
        aspect-ratio: auto;
        object-fit: cover;
    }
}

/* ----------------------------------------
   7. Responsive - Mobile (<576px)
   ---------------------------------------- */
@media (max-width: 575px) {
    .blox-pth-container {
        gap: 24px;
        padding: 0 16px;
    }

    .blox-pth-content {
        gap: 16px;
    }

    .blox-pth-content h1 {
        font-size: 28px;
    }

    .blox-pth-content p {
        font-size: 15px;
    }

    .blox-pth-ctas {
        gap: 16px;
    }

    .blox-pth-ticker-col {
        height: 110px;
    }

    .blox-pth-ticker-item {
        width: 90px;
        height: 110px;
    }

    .blox-pth-ticker-item img {
        width: 90px;
        height: 110px;
    }
}

/* Section Dividers */
.blox-pth-divider {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  pointer-events: none;
}

.blox-pth-divider-top {
  bottom: 100%;
}

.blox-pth-divider-bottom {
  top: 100%;
}

.blox-pth-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
}
