/* =============================================
   Journey List Pro — Frontend
   ============================================= */

.jlp-journey {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 36px 16px;
    font-family: var(--jlp-body-font, 'Montserrat', sans-serif);
    box-sizing: border-box;
}

/* ── Heading ── */
.jlp-heading {
    text-align: center;
    margin-bottom: 36px;
}

.jlp-heading h2 {
    font-family: var(--jlp-heading-font, serif);
    font-weight: 400;
    font-style: italic;
    font-size: 30px;
    color: var(--jlp-title, #2c1f0e);
    letter-spacing: 0.3px;
    margin: 0 0 8px;
    line-height: 1.2;
}

.jlp-heading p {
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--jlp-accent-text, #b08d5c);
    margin: 0;
}

/* ── List ── */
.jlp-list {
    display: flex;
    flex-direction: column;
}

/* ── Row ── */
.jlp-row {
    display: flex;
    align-items: stretch;
    gap: 20px;
}

/* ── Spine ── */
.jlp-spine {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: var(--jlp-dot-size, 48px);
}

.jlp-num {
    width:  var(--jlp-dot-size, 48px);
    height: var(--jlp-dot-size, 48px);
    border-radius: 50%;
    background: var(--jlp-dot-bg, #f7f0e6);
    border: 1.5px solid var(--jlp-dot-border, #c9a97a);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: var(--jlp-heading-font, serif);
    font-style: italic;
    font-size: 17px;
    font-weight: 400;
    color: var(--jlp-dot-text, #9a7040);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jlp-row:hover .jlp-num {
    transform: scale(1.09);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.jlp-line {
    flex: 1;
    width: 1px;
    background: var(--jlp-line, #d9c9ae);
    margin: 5px 0;
    min-height: 10px;
}

/* ── Card wrap ── */
.jlp-card-wrap {
    flex: 1;
    padding-bottom: 22px;
    padding-top: 2px;
    min-width: 0;
}

.jlp-row:last-child .jlp-card-wrap {
    padding-bottom: 0;
}

/* ── Day label ── */
.jlp-day-label {
    font-family: var(--jlp-body-font, sans-serif);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: var(--jlp-day-label, #b08d5c);
    margin: 0 0 7px;
}

/* ── Card ── */
.jlp-card {
    background: var(--jlp-card-bg, #ffffff);
    border: 0.5px solid var(--jlp-card-border, #dfd3be);
    border-radius: var(--jlp-radius, 12px);
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.jlp-row:hover .jlp-card {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    transform: translateY(-1px);
}

/* ── Event row ── */
.jlp-event {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
}

.jlp-divider {
    height: 0.5px;
    background: var(--jlp-card-border, #dfd3be);
    margin: 0 16px;
}

/* ── Icon circle ── */
.jlp-evt-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--jlp-icon-bg, #f5ede0);
    border: 0.5px solid var(--jlp-icon-border, #d9c8ae);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--jlp-icon-color, #9a7040);
}

.jlp-evt-icon svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

/* ── Event text ── */
.jlp-evt-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.jlp-evt-name {
    font-family: var(--jlp-heading-font, serif);
    font-size: 16px;
    font-weight: 400;
    color: var(--jlp-title, #2c1f0e);
    letter-spacing: 0.2px;
    line-height: 1.3;
}

.jlp-evt-note {
    font-family: var(--jlp-body-font, sans-serif);
    font-size: 10.5px;
    font-weight: 300;
    font-style: italic;
    color: var(--jlp-note, #b09070);
    letter-spacing: 0.2px;
    line-height: 1.4;
}

/* ── Animations ── */
[data-animation="fade-up"]    .jlp-anim { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
[data-animation="fade-in"]    .jlp-anim { opacity: 0;                               transition: opacity 0.55s ease; }
[data-animation="slide-right"].jlp-anim { opacity: 0; transform: translateX(-20px); transition: opacity 0.5s ease, transform 0.5s ease; }

.jlp-anim.jlp-visible {
    opacity: 1 !important;
    transform: none !important;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .jlp-num       { font-size: 15px; }
    .jlp-evt-name  { font-size: 15px; }
    .jlp-heading h2{ font-size: 24px; }
    .jlp-row       { gap: 14px; }
}
