.pl-srt-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    /* Removing default padding to allow user control */
    box-sizing: border-box;
    z-index: 10;
}

.pl-srt-content {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.pl-srt-heading {
    margin: 0 0 20px 0;
    line-height: 1.2;
    width: 100%;
}

.pl-srt-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: inherit;
    gap: 0.15em 0.35em;
    line-height: inherit;
}

.pl-srt-item {
    display: inline-block;
    transition: color 0.4s ease, filter 0.4s ease, transform 0.4s ease, opacity 0.4s ease;
    will-change: color, filter, opacity;
    -webkit-background-clip: text;
    background-clip: text;
}

.pl-scroll-reveal-text {
    position: relative;
    width: 100%;
}

.pl-srt-item.is-revealed {
    position: relative;
    z-index: 1;
}

.pl-srt-item.is-revealed:hover {
    z-index: 10;
}

/* Character mode tweak */
.pl-srt-item.reveal-char {
    gap: 0;
    margin-right: -0.05em;
}

@media (max-width: 767px) {
    .pl-srt-sticky {
        padding: 40px 20px;
    }

    .pl-srt-container {
        gap: 0.1em 0.25em;
        /* Tighter gap on mobile */
    }
}
