.lpath {
    background: #f4f8f9;
    padding-bottom: 64px;
    color: #243036;
}

.lpath-wrap {
    padding-bottom: 12px;
}

.lpath-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin: 8px 0 24px;
    padding: 18px;
    overflow: hidden;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(36, 48, 54, 0.06);
}

/* Soft brand glow so a hero without an image still has some colour. */
.lpath-hero::before {
    content: "";
    position: absolute;
    top: -90px;
    left: -90px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 0, 76, 0.10), rgba(255, 0, 76, 0) 70%);
    pointer-events: none;
}

.lpath-hero-body {
    position: relative;
    min-width: 0;
}

.lpath-hero-media {
    order: -1;
    position: relative;
    aspect-ratio: 16 / 9;
    max-height: 220px;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: #f3e8eb;
}

.lpath-hero-img,
.lpath-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lpath-kicker {
    margin: 0 0 4px;
    color: #ff004c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

.lpath-hero h1 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.5;
    color: #1c2428;
}

.lpath-excerpt {
    margin: 0 0 14px;
    max-width: 70ch;
    color: #4d5960;
    font-size: 15px;
    line-height: 1.95;
}

.lpath-facts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 0;
    margin: 0 0 14px;
    padding: 0;
}

.lpath-facts > div {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 0 12px;
    border-right: 1px solid #eceef1;
}

.lpath-facts > div:first-child {
    padding-right: 0;
    border-right: 0;
}

.lpath-facts dt {
    order: 2;
    color: #6d787f;
    font-size: 13px;
    font-weight: 500;
}

.lpath-facts dd {
    order: 1;
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #1c2428;
}

.lpath-facts .is-rate dd {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lpath-chips,
.lpath-place-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.lpath-place-chips li,
.lpath-chips a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff0f4;
    color: #9d1840;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
}

.lpath-chips a {
    padding: 4px 6px 4px 12px;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease;
}

.lpath-chips a:hover {
    background: #ff004c;
    color: #fff;
}

.lpath-chip-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    color: #ff004c;
    font-size: 11px;
}

.lpath-contributors {
    margin: 0 0 22px;
    padding: 16px 18px 8px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(36, 48, 54, 0.06);
}

.lpath-contributors-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}

.lpath-contributors-head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.6;
}

.lpath-contributors-head p {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
}

.lpath-contributors ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lpath-contributor {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
    padding: 8px 12px 8px 8px;
    border: 1px solid #eef0f3;
    border-radius: 999px;
    background: #fbfcfd;
    color: inherit;
    text-decoration: none;
}

.lpath-contributor:hover strong {
    color: #ff004c;
}

.lpath-contributor-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 auto;
    background: #fff0f4;
    color: #ff004c;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.lpath-contributor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lpath-contributor strong,
.lpath-contributor em {
    display: block;
    font-style: normal;
}

.lpath-contributor-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.lpath-contributor-rate {
    flex: 0 0 auto;
    color: #b8860b;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.lpath-contributor strong {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.lpath-contributor em {
    color: #6b7280;
    font-size: 12px;
}

.lpath-branches {
    margin: 0 0 22px;
    padding: 16px 18px 18px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(36, 48, 54, 0.06);
    scroll-margin-top: 90px;
}

.lpath-branches-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px 24px;
    margin-bottom: 4px;
}

.lpath-branches-head h2 {
    margin: 0;
    flex: 0 0 auto;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.6;
}

.lpath-branches-head p,
.lpath-branch-label {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.8;
}

.lpath-branch-group + .lpath-branch-group {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #eef0f3;
}

.lpath-branch-label {
    margin-bottom: 2px;
    color: #1c2428;
    font-weight: 800;
}

.lpath-branch-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.lpath-branch-grid > li {
    margin: 0;
    min-width: 0;
}

.lpath-branch {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid #eef0f3;
    border-radius: 16px;
    background: #fbfcfd;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lpath-branch:hover {
    transform: translateY(-2px);
    border-color: transparent;
    box-shadow: 0 14px 30px rgba(36, 48, 54, 0.09);
}

.lpath-branch:focus-visible {
    outline: 2px solid #ff004c;
    outline-offset: 3px;
}

.lpath-branch-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1c2428;
}

.lpath-branch-media.is-empty {
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.28), transparent 34%),
        linear-gradient(145deg, #3a121c 0%, #ff004c 78%);
}

.lpath-branch.is-related .lpath-branch-media.is-empty {
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.16), transparent 34%),
        linear-gradient(145deg, #1c2428 0%, #3d4a52 78%);
}

.lpath-branch-img,
.lpath-branch-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lpath-branch-letter {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.92);
    font-size: 42px;
    font-weight: 800;
}

.lpath-branch-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    padding: 2px 9px;
    border-radius: 999px;
    background: #fff;
    color: #ff004c;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.7;
}

.lpath-branch.is-related .lpath-branch-badge {
    background: #1c2428;
    color: #fff;
}

.lpath-branch-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    padding: 12px 14px 14px;
}

.lpath-branch-title {
    margin: 0;
    color: #1c2428;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.7;
}

.lpath-branch-text {
    margin: 0;
    color: #5c6770;
    font-size: 13px;
    line-height: 1.85;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lpath-branch-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 4px;
}

.lpath-branch-meta span {
    padding: 2px 8px;
    border: 1px solid #eef0f3;
    border-radius: 999px;
    background: #fff;
    color: #3d484e;
    font-size: 11px;
    line-height: 1.7;
}

.lpath-branch-go {
    color: #ff004c;
    font-size: 12px;
    font-weight: 800;
}

.lpath-branch-go::after {
    content: " ←";
}

.lpath-topics-head {
    margin: 0 0 16px;
}

.lpath-topics-head h2 {
    margin: 0;
    padding-right: 10px;
    border-right: 3px solid #ff004c;
    font-size: 19px;
    line-height: 1.5;
}

.lpath-level[hidden] {
    display: none;
}

.lpath-find {
    margin: 0 0 18px;
    padding: 14px 16px 12px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(36, 48, 54, 0.06);
}

.lpath-find-label {
    display: block;
    margin: 0 0 8px;
    color: #ff004c;
    font-size: 12px;
    font-weight: 800;
}

.lpath-find-field {
    position: relative;
}

.lpath-find-field::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    width: 16px;
    height: 16px;
    border: 2px solid #9aa3a9;
    border-radius: 50%;
    transform: translateY(-58%);
    pointer-events: none;
}

.lpath-find-field::after {
    content: "";
    position: absolute;
    top: 58%;
    right: 12px;
    width: 7px;
    height: 2px;
    background: #9aa3a9;
    border-radius: 2px;
    transform: rotate(45deg);
    pointer-events: none;
}

.lpath-find-input {
    width: 100%;
    border: 1px solid #e7ecef;
    border-radius: 12px;
    background: #f6f8f9;
    padding: 11px 42px 11px 14px;
    font: inherit;
    font-size: 14px;
    color: #1c2428;
}

.lpath-find-input:focus {
    outline: none;
    border-color: #ff004c;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 0, 76, 0.12);
}

.lpath-find-status,
.lpath-stream-more {
    margin: 8px 0 0;
    color: #6d787f;
    font-size: 13px;
}

.lpath-stream-more {
    text-align: center;
}

.lpath-stream-spacer {
    width: 100%;
}

.lpath-hero-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
}

.lpath-hero-cta .lpath-progress {
    flex: 1 1 200px;
    max-width: 320px;
    padding: 0;
    background: none;
    box-shadow: none;
}

.lpath-hero-cta .lpath-progress-text {
    margin: 0 0 6px;
    font-size: 13px;
    color: #4d5960;
}

.lpath-start {
    appearance: none;
    border: 0;
    cursor: pointer;
    background: #ff004c;
    color: #fff !important;
    border-radius: 999px;
    padding: 12px 22px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(255, 0, 76, 0.22);
}

.lpath-start.is-member {
    background: #ff004c;
}

span.lpath-start {
    cursor: default;
    box-shadow: none;
    background: #1c2428;
}

.lpath-start[disabled] {
    opacity: 0.7;
    cursor: progress;
}

.lpath-join-error {
    color: #9d1840;
    margin: 8px 0 0;
    font-size: 13px;
}

.lpath-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
    align-items: start;
}

.lpath-layout.is-wide {
    grid-template-columns: minmax(0, 1fr);
}

.lpath-level {
    margin: 0 0 26px;
    scroll-margin-top: 90px;
}

.lpath-level-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
}

.lpath-level h2 {
    margin: 0;
    font-size: 19px;
    line-height: 1.5;
    padding-right: 10px;
    border-right: 3px solid #ff004c;
}

.lpath-level-count {
    color: #6d787f;
    font-size: 13px;
}

.lpath-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.lpath-card-article {
    margin: 0;
    min-width: 0;
}

.lpath-card {
    display: grid;
    grid-template-columns: 1fr;
    height: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 24px rgba(36, 48, 54, 0.05);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.lpath-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(36, 48, 54, 0.09);
}

.lpath-card.is-here {
    box-shadow: 0 0 0 2px #ff004c, 0 10px 28px rgba(255, 0, 76, 0.12);
}

.lpath-card-media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 0, 76, 0.30), transparent 45%),
        linear-gradient(160deg, #2b3439, #5a3140);
}

.lpath-card-media img,
.lpath-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    display: block;
}

.lpath-no,
.lpath-step-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 7px;
    border-radius: 999px;
    background: #ff004c;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.lpath-no {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.lpath-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 14px 16px 14px;
}

.lpath-card-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.75;
    color: #1c2428;
}

.lpath-card-text {
    margin: 0;
    color: #5c6870;
    font-size: 14px;
    line-height: 1.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lpath-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    align-items: center;
    color: #6d787f;
    font-size: 12.5px;
    margin-top: auto;
    padding-top: 4px;
}

.lpath-here-label {
    color: #ff004c;
    font-weight: 700;
}

.lpath-stars {
    position: relative;
    display: inline-block;
    direction: ltr;
    unicode-bidi: isolate;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 1px;
}

.lpath-stars-base { color: #e6e8ea; }

.lpath-stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--lpath-star);
    overflow: hidden;
    color: #e0a100;
    white-space: nowrap;
}

.lpath-sidebar {
    position: sticky;
    top: 16px;
}

.lpath-products {
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 10px 28px rgba(36, 48, 54, 0.05);
}

.lpath-side-title {
    margin: 0 0 8px;
    font-weight: 700;
}

.lpath-bar {
    height: 6px;
    background: #f3e8eb;
    border-radius: 999px;
    overflow: hidden;
}

.lpath-bar span {
    display: block;
    height: 100%;
    background: #ff004c;
    border-radius: inherit;
}

.lpath-card.is-here .lpath-no,
.lpath-step.is-current .lpath-step-no {
    background: #1c2428;
}

.lpath-products {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lpath-product {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.lpath-product-img,
.lpath-product img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
}

.lpath-product-title {
    display: block;
    font-weight: 700;
    line-height: 1.6;
}

.lpath-product-price {
    color: #5c6870;
    font-size: 13px;
}

.lpath-empty {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
}

/* ---------- Long category description (end of category / path pages) ---------- */
.lpath-about {
    margin-top: 32px;
    background: #fff;
    border-radius: 20px;
    padding: 22px 22px 18px;
    box-shadow: 0 10px 28px rgba(36, 48, 54, 0.05);
}

.lpath-about-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f0f1f4;
}

.lpath-about-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff0f4;
    color: #ff004c;
}

.lpath-about-title {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: #1c2428;
}

.lpath-about-body {
    position: relative;
}

/* JS adds is-clamped only when the text is really long; without JS the full text shows. */
.lpath-about.is-clamped .lpath-about-body {
    max-height: 340px;
    overflow: hidden;
}

.lpath-about.is-clamped .lpath-about-body::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(rgba(255, 255, 255, 0), #fff 85%);
    pointer-events: none;
}

.lpath-about-more {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 12px;
    padding: 10px 14px;
    border: 0;
    border-radius: 12px;
    background: #f7f8fa;
    color: #1c2428;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.lpath-about-more:hover {
    background: #fff0f4;
    color: #9d1840;
}

.lpath-about-more svg { transition: transform 0.2s ease; }
.lpath-about-more[aria-expanded="true"] svg { transform: rotate(180deg); }

.lpath-prose {
    line-height: 2.05;
    color: #243036;
    font-size: 15.5px;
}

.lpath-prose > *:first-child { margin-top: 0; }
.lpath-prose > *:last-child { margin-bottom: 0; }

.lpath-prose h2,
.lpath-prose h3,
.lpath-prose h4 {
    line-height: 1.6;
    margin: 1.4em 0 0.5em;
    color: #1c2428;
}

.lpath-prose h2 { font-size: 21px; }
.lpath-prose h3 { font-size: 18px; }
.lpath-prose h4 { font-size: 16px; }

.lpath-prose p { margin: 0 0 1em; }

.lpath-prose img,
.lpath-prose figure img,
.lpath-prose .wp-caption img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    display: block;
}

.lpath-prose figure,
.lpath-prose .wp-caption {
    max-width: 100%;
    margin: 18px auto;
}

.lpath-prose figcaption,
.lpath-prose .wp-caption-text {
    margin-top: 6px;
    color: #6d787f;
    font-size: 13px;
    text-align: center;
}

.lpath-prose .aligncenter { margin-right: auto; margin-left: auto; }
.lpath-prose ul,
.lpath-prose ol { padding-right: 1.2em; margin: 0 0 1em; }
.lpath-prose li { margin-bottom: 0.3em; }
.lpath-prose a { color: #ff004c; }

.lpath-prose blockquote {
    margin: 16px 0;
    padding: 12px 16px;
    border-right: 3px solid #ff004c;
    background: #fff7f9;
    border-radius: 0 12px 12px 0;
}

.lpath-prose table {
    width: 100%;
    border-collapse: collapse;
    display: block;
    overflow-x: auto;
}

.lpath-prose th,
.lpath-prose td {
    border: 1px solid #eceef1;
    padding: 8px 10px;
}

/* ---------- Path box on single posts ---------- */
.lpath-strips {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
}

.lpath-strip {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 1px 2px rgba(28, 29, 33, 0.04), 0 10px 30px rgba(28, 29, 33, 0.05);
    overflow: hidden;
}

/* style.min.css gives every details/summary a border, grey fill and list-item display; reset it. */
.lpath-strip-box > .lpath-strip-sum {
    display: flex !important;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.lpath-strip-box > .lpath-strip-body {
    margin: 0;
    border: 0;
    border-radius: 0;
}

.lpath-strip-sum {
    align-items: center;
    gap: 12px;
    padding: 14px 16px 10px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.lpath-strip-sum::-webkit-details-marker { display: none; }
.lpath-strip-sum::marker { content: ""; }

.lpath-strip-sum:focus-visible {
    outline: 2px solid #ff004c;
    outline-offset: -2px;
}

.lpath-strip-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #ff004c, #c2003a);
    color: #fff;
    box-shadow: 0 6px 14px rgba(255, 0, 76, 0.22);
}

.lpath-strip-copy {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.55;
}

.lpath-strip-kicker {
    color: #ff004c;
    font-size: 11.5px;
    font-weight: 700;
}

.lpath-strip-path {
    color: #1c2428;
    font-size: 15.5px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lpath-strip-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin-top: 2px;
    color: #6d787f;
    font-size: 12.5px;
}

.lpath-strip-level {
    background: #fff0f4;
    color: #9d1840;
    border-radius: 999px;
    padding: 1px 9px;
    font-weight: 700;
}

.lpath-strip-chevron {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f7f8fa;
    color: #4d5560;
    transition: transform 0.25s ease, background 0.2s ease;
}

.lpath-strip-sum:hover .lpath-strip-chevron { background: #fff0f4; color: #ff004c; }
.lpath-strip-box[open] .lpath-strip-chevron { transform: rotate(180deg); }

.lpath-strip-body {
    padding: 4px 16px 6px;
    animation: lpath-open 0.22s ease both;
}

@keyframes lpath-open {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: none; }
}

.lpath-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Thin vertical rail that joins the numbers. */
.lpath-steps::before {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    right: 25px;
    width: 2px;
    background: #f0e3e7;
}

.lpath-steps li { position: relative; }

.lpath-step {
    display: flex;
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding: 8px 10px;
    border-radius: 12px;
    text-decoration: none;
    color: #1c2428 !important;
    transition: background 0.2s ease;
}

a.lpath-step:hover { background: #f7f8fa; }

.lpath-step.is-current {
    background: #fff0f4;
}

.lpath-step-no {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    background: #fff;
    color: #4d5560;
    box-shadow: inset 0 0 0 2px #e6e8ee;
}

.lpath-step.is-current .lpath-step-no {
    background: #ff004c;
    color: #fff;
    box-shadow: 0 4px 10px rgba(255, 0, 76, 0.25);
}

.lpath-step-copy {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.lpath-step-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #1c2428 !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
}

.lpath-step-level {
    color: #8b949a;
    font-size: 12px;
}

.lpath-step-tag {
    flex: 0 0 auto;
    color: #ff004c;
    font-size: 11.5px;
    font-weight: 700;
}

.lpath-strip-all {
    display: inline-block;
    margin: 8px 10px 4px;
    color: #ff004c !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.lpath-strip-foot {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 16px 14px;
}

.lpath-strip-track {
    flex: 1 1 auto;
    display: flex;
    gap: 3px;
    min-width: 0;
    height: 6px;
}

.lpath-strip-track i {
    flex: 1 1 0;
    border-radius: 999px;
    background: #eceef1;
}

.lpath-strip-track i.is-before { background: #ffc2d3; }
.lpath-strip-track i.is-now { background: #ff004c; }

.lpath-strip-track.is-dense {
    border-radius: 999px;
    /* RTL: fill from the right edge. */
    background: linear-gradient(270deg, #ff004c var(--lpath-at), #eceef1 var(--lpath-at));
}

.lpath-strip-foot .lpath-actions { flex: 0 0 auto; }

.lpath-strip-foot .lpath-start {
    padding: 9px 18px;
    font-size: 13.5px;
    white-space: nowrap;
}

.lpath-strip-foot .lpath-join-error { max-width: 220px; }

.post-content-article .lpath-strip a.lpath-step,
.post-content-article .lpath-strip .lpath-step-title,
.post-content-article .lpath-sticky a:not(.lpath-start) {
    color: #1c2428 !important;
}

.post-content-article a.lpath-start,
.post-content-article .lpath-start {
    color: #fff !important;
}

/* ---------- Account: my paths ---------- */
.lpath-account-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 16px;
    margin-bottom: 16px;
}

.lpath-account-head h2 { margin: 0; font-size: 20px; }

.lpath-account-head p {
    margin: 0;
    color: #6d787f;
    font-size: 13px;
}

.lpath-account-empty {
    text-align: center;
    padding: 34px 20px;
    background: #fff;
    border: 1px dashed #f0d4dc;
    border-radius: 18px;
}

.lpath-account-empty p { margin: 0 0 4px; font-weight: 700; color: #1c2428; }
.lpath-account-empty .lpath-account-hint { font-weight: 400; color: #6d787f; font-size: 14px; }

.lpath-account-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 10px;
    border-radius: 16px;
    background: #fff0f4;
    color: #ff004c;
}

.lpath-account-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.lpath-acard {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(36, 48, 54, 0.06);
    border: 1px solid #f2f3f5;
}

.lpath-acard-media {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 0, 76, 0.35), transparent 45%),
        linear-gradient(160deg, #2b3439, #5a3140);
}

.lpath-acard-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lpath-acard-letter {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 36px;
    font-weight: 800;
}

.lpath-acard-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.lpath-acard-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.lpath-acard-top h3 {
    margin: 0;
    font-size: 16.5px;
    line-height: 1.6;
}

.lpath-acard-top h3 a { color: #1c2428; text-decoration: none; }

.lpath-acard-badge {
    flex: 0 0 auto;
    padding: 2px 10px;
    border-radius: 999px;
    background: #fff0f4;
    color: #9d1840;
    font-size: 12px;
    font-weight: 700;
}

.lpath-acard.is-done .lpath-acard-badge {
    background: #e8f7ef;
    color: #19764a;
}

.lpath-acard-progress {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lpath-acard-progress .lpath-bar { flex: 1 1 auto; height: 8px; }
.lpath-acard.is-done .lpath-bar span { background: #22a06b; }

.lpath-acard-percent {
    min-width: 40px;
    font-weight: 800;
    color: #1c2428;
    font-size: 14px;
}

.lpath-acard-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #6d787f;
    font-size: 12.5px;
}

.lpath-acard-facts li { padding: 0 10px; border-right: 1px solid #eceef1; }
.lpath-acard-facts li:first-child { padding-right: 0; border-right: 0; }

.lpath-acard-last {
    margin: 0;
    color: #4d5560;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lpath-acard-last a { color: #1c2428; font-weight: 700; text-decoration: none; }

.lpath-account-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-top: 2px;
}

.lpath-account-actions form { margin: 0; }

.lpath-account-actions .lpath-start {
    padding: 9px 20px;
    font-size: 13.5px;
}

.lpath-leave {
    background: none;
    border: 0;
    color: #8b949a;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    padding: 0;
}

.lpath-leave:hover { color: #9d1840; }

@media (max-width: 600px) {
    .lpath-acard {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .lpath-acard-top { flex-direction: column; gap: 4px; }
    .lpath-account-actions .lpath-start { flex: 1 1 auto; }
}

.lpath .lpath-pager {
    display: flex;
    justify-content: center;
    margin: 28px 0 12px;
}

.lpath .lpath-pager ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.lpath .lpath-pager ul.page-numbers li {
    display: flex;
    margin: 0;
    padding: 0;
    float: none;
}

.lpath .lpath-pager a.page-numbers,
.lpath .lpath-pager span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 40px;
    height: 40px;
    margin: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: #243036;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(36, 48, 54, 0.08);
}

.lpath .lpath-pager a.page-numbers:hover {
    background: #fff;
    color: #ff004c;
}

.lpath .lpath-pager span.page-numbers.current,
.lpath .lpath-pager span.page-numbers.current:hover {
    background: #ff004c;
    color: #fff;
}

.lpath .lpath-pager span.page-numbers.dots {
    min-width: 28px;
    background: transparent;
    box-shadow: none;
}

.lpath [hidden] { display: none !important; }


/* Path bar inside the site bottom sticky bar (.sticky-bar). */
.lpath-sticky {
    display: none;
}

.lpath-sticky.is-on {
    display: block;
    animation: lpath-sticky-in 0.28s ease both;
}

.lpath-sticky [hidden] { display: none !important; }

.lpath-sticky-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
}

.lpath-sticky-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff0f4;
    color: #ff004c;
}

.lpath-sticky-copy {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #1c2428 !important;
    line-height: 1.5;
}

.lpath-sticky-kicker {
    color: #ff004c;
    font-size: 11px;
    font-weight: 700;
}

.lpath-sticky-title,
.lpath-sticky-progress {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lpath-sticky-title {
    font-size: 14px;
    font-weight: 800;
}

.lpath-sticky-progress {
    color: #6d787f;
    font-size: 11.5px;
}

.lpath-sticky-progress:empty { display: none; }

.lpath-sticky .lpath-actions { flex: 0 0 auto; }

.lpath-sticky .lpath-start {
    padding: 8px 16px;
    font-size: 13px;
    box-shadow: none;
    white-space: nowrap;
}

.lpath-sticky .lpath-join-error { display: none; }

.lpath-sticky-bar {
    display: block;
    height: 3px;
    background: #f3e8eb;
}

.lpath-sticky-bar span {
    display: block;
    height: 100%;
    background: #ff004c;
}

@keyframes lpath-sticky-in {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Phones: full width, sits on top of the chat / call icons like the product add-to-cart bar. */
@media (max-width: 767px) {
    .sticky-bar .lpath-sticky {
        background: #fff;
        border-top: 1px solid #f0e3e7;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -8px 24px rgba(36, 48, 54, 0.10);
        overflow: hidden;
    }
}

/* Wider screens: the site sticky bar is a small icon group on the right, so the path bar floats on the left. */
@media (min-width: 768px) {
    .sticky-bar .lpath-sticky {
        position: fixed;
        left: 16px;
        bottom: 17px;
        width: min(460px, calc(100vw - 320px));
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 12px 32px rgba(36, 48, 54, 0.16);
        overflow: hidden;
    }
}

@media (min-width: 640px) {
    .lpath-card {
        grid-template-columns: 200px minmax(0, 1fr);
        align-items: stretch;
    }

    .lpath-card-media {
        /* aspect-ratio: auto; */
        min-height: 140px;
        height: 100%;
    }
}

@media (min-width: 760px) {
    .lpath-hero {
        padding: 24px 28px;
        gap: 28px;
        align-items: center;
    }

    .lpath-hero.has-media {
        grid-template-columns: minmax(0, 1fr) minmax(240px, 34%);
    }

    .lpath-hero-media {
        order: 0;
        max-height: none;
    }

    .lpath-hero h1 { font-size: 30px; }

    .lpath-hero.is-compact h1 { font-size: 28px; }

}

@media (min-width: 1100px) {
    .lpath-layout.is-wide .lpath-cards,
    .lpath-cards.is-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lpath-layout.is-wide .lpath-card,
    .lpath-cards.is-grid .lpath-card {
        grid-template-columns: 180px minmax(0, 1fr);
    }
}

@media (max-width: 900px) {
    .lpath-branch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .lpath-layout { grid-template-columns: minmax(0, 1fr); }

    .lpath-sidebar { position: static; }

    .lpath-products {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .lpath-products .lpath-side-title { flex: 0 0 100%; }
    .lpath-product { flex: 1 1 240px; }
}

@media (max-width: 759px) {
    .lpath-contributors ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .lpath-contributors li {
        min-width: 0;
    }

    .lpath-contributor {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
        gap: 8px;
        padding: 6px 8px 6px 6px;
    }

    .lpath-contributor > span:last-child {
        min-width: 0;
    }

    .lpath-contributor strong,
    .lpath-contributor em {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .lpath-contributor-avatar {
        width: 36px;
        height: 36px;
    }

    .lpath-branches-head { flex-direction: column; align-items: stretch; }
    .lpath-branch-grid { grid-template-columns: minmax(0, 1fr); }

    .lpath-hero-cta .lpath-actions { width: 100%; }
    .lpath-hero .lpath-start { width: 100%; }
    .lpath-strip-sum { padding: 12px 12px 8px; gap: 10px; }
    .lpath-strip-icon { flex-basis: 36px; width: 36px; height: 36px; }
    .lpath-strip-body { padding: 2px 8px 4px; }
    .lpath-strip-foot { padding: 4px 12px 12px; gap: 10px; }
    .lpath-strip-foot .lpath-start { padding: 8px 14px; }
    .lpath-about { padding: 18px 16px 14px; margin-top: 24px; }
    .lpath-about.is-clamped .lpath-about-body { max-height: 260px; }
    .lpath-hero-cta .lpath-progress { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
    .lpath-sticky.is-on { animation: none; }
    .lpath-card,
    .lpath-branch { transition: none; }
    .lpath-strip-body { animation: none; }
}
