/*
 * Learneva - Course detail page "Learning Journey" (Nov 2026). Scoped to .cj.
 * Palette: navy #185079, deep #0b1f35, blue #2563eb, green #22c55e, ink #0f172a.
 */
.cj {
    --j-navy: #185079;
    --j-deep: #0b1f35;
    --j-blue: #2563eb;
    --j-green: #16a34a;
    --j-ink: #0f172a;
    --j-text: #334155;
    --j-muted: #64748b;
    --j-line: #e6ebf2;
    --j-bg: #f6f8fc;
    background: var(--j-bg);
    font-family: 'Inter', sans-serif;
    color: var(--j-text);
}
.cj a { text-decoration: none; }

/* ============================ HERO ============================ */
.cj-hero { position: relative; overflow: hidden; padding: 28px 0 64px; color: #fff; background: var(--j-deep); }
.cj-hero__bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(34px) saturate(130%); transform: scale(1.1); opacity: .55; }
.cj-hero__veil {
    position: absolute; inset: 0;
    background:
        radial-gradient(700px 360px at 90% 0%, rgba(34, 197, 94, .25), transparent 60%),
        linear-gradient(100deg, rgba(11, 31, 53, .97) 0%, rgba(11, 31, 53, .88) 45%, rgba(24, 80, 121, .72) 100%);
}
.cj-crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; font-size: 13px; color: rgba(255, 255, 255, .5); }
.cj-crumbs a { color: rgba(255, 255, 255, .8); }
.cj-crumbs a:hover { color: #fff; }

.cj-hero__grid { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.cj-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cj-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.cj-badge i { color: #fcd34d; }
.cj-badge--level { text-transform: uppercase; letter-spacing: .06em; }
.cj-badge--free { background: rgba(34, 197, 94, .2); border-color: rgba(134, 239, 172, .45); }
.cj-badge--free i { color: #86efac; }

.cj .cj-title { margin: 0 0 14px; padding: 0; font-size: 42px; line-height: 1.12; font-weight: 800; letter-spacing: -.025em; color: #fff; text-wrap: balance; }
.cj-lead { margin: 0 0 22px; max-width: 640px; font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, .82); }

.cj-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-bottom: 24px; font-size: 14px; color: rgba(255, 255, 255, .82); }
.cj-meta i { color: #7dd3fc; margin-right: 4px; }
.cj-meta__rating { display: inline-flex; align-items: center; gap: 8px; }
.cj-meta__rating b { font-size: 16px; color: #fcd34d; }
.cj-meta__rating small { color: rgba(255, 255, 255, .6); }
.cj-stars i { color: rgba(255, 255, 255, .25) !important; margin: 0 !important; font-size: 13px; }
.cj-stars i.on { color: #fbbf24 !important; }

.cj-author { display: inline-flex; align-items: center; gap: 12px; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff; transition: background .2s; }
.cj-author:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.cj-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .7); }
.cj-author small { display: block; font-size: 11.5px; color: rgba(255, 255, 255, .6); }
.cj-author b { font-size: 14.5px; }

/* Trailer */
.cj-trailer__frame {
    position: relative; display: block; width: 100%;
    padding: 0; border: 0; border-radius: 22px; overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #0f2a44;
    box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .14);
    cursor: pointer;
}
.cj-trailer__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cj-trailer__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 31, 53, .05), rgba(11, 31, 53, .55)); }
.cj-trailer__frame:hover img { transform: scale(1.05); }
.cj-trailer__play {
    position: absolute; left: 50%; top: 50%; z-index: 2;
    width: 78px; height: 78px; margin: -39px 0 0 -39px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: #fff; color: var(--j-navy); font-size: 26px;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .5);
    animation: cj-ring 2.2s infinite;
    transition: transform .2s;
}
.cj-trailer__play i { margin-left: 5px; }
.cj-trailer__frame:hover .cj-trailer__play { transform: scale(1.08); }
@keyframes cj-ring { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); } 70% { box-shadow: 0 0 0 22px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.cj-trailer__label { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(11, 31, 53, .72); backdrop-filter: blur(6px); color: #fff; font-size: 13px; font-weight: 700; }
.cj-trailer__frame:focus-visible { outline: 3px solid #7dd3fc; outline-offset: 4px; }

/* ============================ SECTION NAV ============================ */
.cj-nav { position: sticky; top: 74px; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--j-line); box-shadow: 0 10px 24px -22px rgba(15, 42, 80, .6); }
.cj-nav__list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.cj-nav__list::-webkit-scrollbar { display: none; }
.cj-nav__list a { position: relative; display: block; padding: 16px 14px; white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--j-muted); transition: color .15s; }
.cj-nav__list a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--j-blue); transform: scaleX(0); transition: transform .2s; }
.cj-nav__list a:hover { color: var(--j-ink); }
.cj-nav__list a.is-active { color: var(--j-ink); }
.cj-nav__list a.is-active::after { transform: scaleX(1); }

/* ============================ BODY LAYOUT ============================ */
.cj-body { padding: 32px 0 40px; }
.cj-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 32px; align-items: start; }
.cj-side { position: relative; margin-top: -150px; z-index: 31; }

.cj-block { scroll-margin-top: 150px; margin-bottom: 22px; padding: 28px 30px; background: #fff; border: 1px solid var(--j-line); border-radius: 22px; box-shadow: 0 14px 34px -30px rgba(15, 42, 80, .6); }
.cj .cj-h { margin: 0 0 16px; padding: 0; font-size: 22px; font-weight: 800; letter-spacing: -.01em; color: var(--j-ink); line-height: 1.3; }
.cj-h-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 16px; }
.cj-h-row .cj-h { margin: 0; }
.cj-h-meta { font-size: 13.5px; font-weight: 600; color: var(--j-muted); }
.cj-h-meta i { color: #f59e0b; }

/* Glance */
.cj-glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin-bottom: 22px; }
.cj-glance__item { display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--j-line); box-shadow: 0 14px 30px -28px rgba(15, 42, 80, .6); }
.cj-glance__item i { width: 36px; height: 36px; margin-bottom: 8px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; background: linear-gradient(135deg, #e0e9ff, #dcfce7); color: var(--j-navy); font-size: 15px; }
.cj-glance__item b { font-size: 18px; font-weight: 800; color: var(--j-ink); line-height: 1.2; }
.cj-glance__item span { font-size: 12.5px; color: var(--j-muted); }

/* Prose */
.cj-prose { font-size: 15px; line-height: 1.75; color: var(--j-text); }
.cj-prose h2, .cj-prose h3, .cj-prose h4 { margin: 20px 0 10px; font-size: 18px; font-weight: 700; color: var(--j-ink); }
.cj-prose p { margin: 0 0 12px; }
.cj-prose ul, .cj-prose ol { padding-left: 20px; margin: 0 0 12px; }
.cj-prose li { margin-bottom: 6px; }
.cj-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.cj-collapsible { position: relative; max-height: 380px; overflow: hidden; }
.cj-collapsible::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.cj-collapsible.is-open { max-height: none; }
.cj-collapsible.is-open::after { display: none; }
.cj-more { margin-top: 10px; padding: 8px 16px; border: 1px solid var(--j-line); border-radius: 10px; background: #fff; color: var(--j-blue); font-weight: 700; font-size: 13.5px; cursor: pointer; }
.cj-more:hover { background: #f5f8ff; }

/* Outcomes */
.cj-block--learn { background: linear-gradient(135deg, #f0f7ff, #f0fdf4); }
.cj-outcomes { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 0; padding: 0; }
.cj-outcomes li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; color: var(--j-text); }
.cj-outcomes i { flex: 0 0 24px; width: 24px; height: 24px; margin-top: 1px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--j-green); color: #fff; font-size: 11px; }

.cj-reqs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cj-reqs li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.55; }
.cj-reqs i { margin-top: 5px; color: var(--j-blue); font-size: 10px; }

/* ---------- Curriculum as a journey (restyles course_page_curriculum.php) ---------- */
.cj-journey { counter-reset: cjstep; }
.cj-journey .curriculum-accordion { margin: 0 !important; border: 0; }
.cj-journey .accordion-item { position: relative; margin: 0 0 14px 52px !important; border: 1px solid var(--j-line) !important; border-radius: 16px !important; overflow: visible; background: #fff; box-shadow: none; }
.cj-journey .accordion-item::before {
    counter-increment: cjstep; content: counter(cjstep);
    position: absolute; left: -52px; top: 14px;
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: linear-gradient(135deg, var(--j-navy), var(--j-blue));
    color: #fff; font-size: 14px; font-weight: 800;
    box-shadow: 0 0 0 5px #e8f0ff;
}
.cj-journey .accordion-item:not(:last-child)::after { content: ""; position: absolute; left: -35px; top: 56px; bottom: -16px; width: 2px; background: repeating-linear-gradient(to bottom, #c7d2fe 0 6px, transparent 6px 12px); }
.cj-journey h3.accordion-header { margin: 0 !important; font-size: inherit !important; }
.cj-journey .accordion-button { padding: 16px 18px; border-radius: 16px !important; background: #fff; box-shadow: none !important; font-size: 15px; font-weight: 700; color: var(--j-ink); }
.cj-journey .accordion-button:not(.collapsed) { background: #f5f8ff; color: var(--j-navy); border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.cj-journey .accordion-button .row { --bs-gutter-x: 0; align-items: center; }
.cj-journey .accordion-button .text-muted { font-size: 12.5px !important; }
.cj-journey .accordion-body { padding: 4px 8px 10px !important; }
.cj-journey .ac-lecture { margin: 0; padding: 0; list-style: none; }
.cj-journey .ac-lecture li { margin: 0; padding: 0; border: 0; }
.cj-journey .ac-lecture li a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; color: var(--j-text); font-size: 14px; }
.cj-journey .ac-lecture li a:hover { background: #f5f8ff; color: var(--j-ink); }
.cj-journey .ac-lecture li a i.fa-circle-play { color: var(--j-blue); margin-right: 8px; }
.cj-journey .ac-lecture .lecture-info { font-size: 12.5px; color: var(--j-muted); white-space: nowrap; }
.cj-journey .ac-lecture .badge { border-radius: 999px; background: #dcfce7 !important; color: #15803d !important; font-weight: 700 !important; }

/* Instructor (restyles course_page_instructor.php) */
.cj-instructor .instructor { margin: 0; padding: 0; box-shadow: none; border: 0; }
.cj-instructor .row { align-items: center; }
.cj-instructor .instructor-img img { width: 100%; max-width: 150px; aspect-ratio: 1; object-fit: cover; border-radius: 20px; box-shadow: 0 16px 30px -18px rgba(15, 42, 80, .6); }
.cj-instructor .instructor-text h3 { font-size: 19px !important; font-weight: 800 !important; color: var(--j-ink) !important; margin: 0 0 4px !important; }
.cj-instructor .instructor-text p { color: var(--j-blue) !important; font-weight: 600; margin: 0 0 8px !important; }
.cj-instructor .instructor-text div { color: var(--j-muted); line-height: 1.6; }
.cj-instructor .instructor-icon a { margin-right: 6px; }
.cj-instructor .instructor-icon .btn { border-radius: 10px; background: var(--j-ink); border: 0; padding: 8px 16px !important; font-weight: 700; }
.cj-instructor .instructor-icon .btn:hover { background: var(--j-navy); }

/* Reviews */
.cj-reviews { margin: 0; padding: 0; }
.cj-reviews .ritt { margin-top: 0 !important; padding-top: 0 !important; font-size: 18px !important; text-align: left !important; }
.cj-reviews .reviews-border { padding: 16px 0; }
.cj-empty-reviews { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 14px; background: #f8fafc; border: 1px dashed #cbd5e1; color: var(--j-muted); }
.cj-empty-reviews i { font-size: 24px; color: var(--j-blue); }
.cj-empty-reviews p { margin: 0; }

/* FAQ */
.cj-faq { display: grid; gap: 10px; }
.cj-faq__item { border: 1px solid var(--j-line); border-radius: 14px; background: #fff; overflow: hidden; }
.cj-faq__item > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; cursor: pointer; }
.cj-faq__item > summary::-webkit-details-marker { display: none; }
.cj .cj-faq__q { margin: 0; padding: 0; font-size: 15px; font-weight: 700; color: var(--j-ink); line-height: 1.4; }
.cj-faq__item > summary i { flex: 0 0 auto; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #eef3ff; color: var(--j-blue); font-size: 12px; transition: transform .2s; }
.cj-faq__item[open] > summary { background: #f8faff; }
.cj-faq__item[open] > summary i { transform: rotate(45deg); }
.cj-faq__a { padding: 2px 18px 18px; font-size: 14.5px; line-height: 1.7; color: var(--j-text); }

/* ============================ PURCHASE CARD ============================ */
.cj-buy {
    position: sticky; top: 140px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--j-line);
    border-radius: 24px;
    box-shadow: 0 34px 70px -36px rgba(15, 42, 80, .55);
}
.cj-buy__price { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.cj-buy__price b { font-size: 34px; font-weight: 800; letter-spacing: -.02em; color: var(--j-ink); line-height: 1; }
.cj-buy__price b.is-free { color: var(--j-green); }
.cj-buy__price del { font-size: 16px; color: #94a3b8; }
.cj-buy__off { padding: 3px 9px; border-radius: 999px; background: #ffe4e6; color: #e11d48; font-size: 12px; font-weight: 800; }
.cj-buy__wish { margin-left: auto; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--j-line); border-radius: 12px; background: #fff; color: #94a3b8; font-size: 16px; cursor: pointer; transition: all .15s; }
.cj-buy__wish:hover { border-color: #fecdd3; color: #e11d48; }
.cj-buy__wish.red-heart { color: #e11d48; background: #fff1f2; border-color: #fecdd3; }

.cj-buy__actions { display: grid; gap: 10px; }
.cj-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 50px; padding: 0 18px; border-radius: 14px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all .2s; }
.cj-btn--primary { background: linear-gradient(135deg, var(--j-navy) 0%, var(--j-blue) 100%); color: #fff; box-shadow: 0 14px 26px -12px rgba(37, 99, 235, .7); }
.cj-btn--primary:hover { color: #fff; filter: brightness(1.07); transform: translateY(-1px); }
.cj-btn--ghost { background: #fff; color: var(--j-ink); border: 1.5px solid var(--j-line); }
.cj-btn--ghost:hover { border-color: #c7d2fe; color: var(--j-blue); background: #f5f8ff; }
.cj-btn.d-hidden { display: none !important; }
.cj-buy__note { margin: 12px 0 0; text-align: center; font-size: 12.5px; color: var(--j-muted); }
.cj-buy__note i { color: var(--j-green); }

.cj-includes { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--j-line); }
.cj-includes__title { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--j-ink); }
.cj-includes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.cj-includes li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--j-text); }
.cj-includes li i { width: 18px; text-align: center; color: var(--j-blue); }

.cj-buy__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--j-line); }
.cj-compare { font-size: 13px; font-weight: 600; color: var(--j-muted); }
.cj-compare:hover { color: var(--j-blue); }
.cj-share { display: flex; gap: 6px; }
.cj-share a { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; background: #f1f5f9; color: var(--j-muted); font-size: 13px; transition: all .15s; }
.cj-share a:hover { background: var(--j-ink); color: #fff; }

/* Level meter */
.cj-meter { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.cj-meter b { display: block; width: 4px; border-radius: 2px; background: rgba(255, 255, 255, .3); }
.cj-meter b:nth-child(1) { height: 5px; } .cj-meter b:nth-child(2) { height: 8px; } .cj-meter b:nth-child(3) { height: 12px; }
.cj-meter--1 b:nth-child(-n+1), .cj-meter--2 b:nth-child(-n+2), .cj-meter--3 b { background: #86efac; }

/* ============================ RELATED ============================ */
.cj-related { padding: 10px 0 70px; }
.cj-related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.cj-rcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--j-line); border-radius: 18px; overflow: hidden; color: var(--j-ink); transition: transform .2s, box-shadow .2s; }
.cj-rcard:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -28px rgba(15, 42, 80, .6); color: var(--j-ink); }
.cj-rcard__img { aspect-ratio: 16 / 10; overflow: hidden; background: #e8eef6; }
.cj-rcard__img img { width: 100%; height: 100%; object-fit: cover; }
.cj-rcard__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.cj-rcard__level { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--j-navy); }
.cj-rcard__title { font-size: 15px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cj-rcard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.cj-rcard__foot b { font-size: 16px; }
.cj-rcard__foot b.is-free { color: var(--j-green); }
.cj-rcard__foot small { color: var(--j-muted); }

/* ============================ MOBILE BUY BAR ============================ */
.cj-mbar { display: none; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1199px) {
    .cj .cj-title { font-size: 36px; }
    .cj-layout { grid-template-columns: minmax(0, 1fr) 330px; }
}
@media (max-width: 991px) {
    .cj-hero { padding: 22px 0 36px; }
    .cj-hero__grid { grid-template-columns: 1fr; gap: 26px; }
    .cj .cj-title { font-size: 30px; }
    .cj-nav { top: 0; }
    .cj-layout { grid-template-columns: 1fr; }
    .cj-side { margin-top: 0; order: -1; }
    .cj-buy { position: static; }
    .cj-block { padding: 22px 20px; }
    .cj-outcomes { grid-template-columns: 1fr; }
    .cj-mbar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
        display: flex; align-items: center; justify-content: space-between; gap: 14px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .97);
        border-top: 1px solid var(--j-line);
        box-shadow: 0 -12px 30px -18px rgba(15, 42, 80, .45);
        transform: translateY(110%); transition: transform .25s ease;
    }
    .cj-mbar.is-on { transform: none; }
    .cj-mbar__price b { font-size: 22px; font-weight: 800; color: var(--j-ink); }
    .cj-mbar__price b.is-free { color: var(--j-green); }
    .cj-mbar__price del { margin-left: 6px; font-size: 13px; color: #94a3b8; }
    .cj-mbar .cj-btn { height: 46px; padding: 0 22px; }
    .cj-related { padding-bottom: 100px; }
}
@media (max-width: 575px) {
    .cj .cj-title { font-size: 26px; }
    .cj-lead { font-size: 15px; }
    .cj-meta { font-size: 13px; gap: 8px 14px; }
    .cj-trailer__play { width: 64px; height: 64px; margin: -32px 0 0 -32px; font-size: 22px; }
    .cj-glance { grid-template-columns: repeat(2, 1fr); }
    .cj-journey .accordion-item { margin-left: 40px !important; }
    .cj-journey .accordion-item::before { left: -40px; width: 30px; height: 30px; font-size: 12px; }
    .cj-journey .accordion-item:not(:last-child)::after { left: -26px; }
    .cj-journey .ac-lecture li a { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
    .cj-trailer__play { animation: none; }
    .cj *, .cj *::before, .cj *::after { transition: none !important; }
}

/* Fixes after preview */
.cj-side { align-self: stretch; }                       /* full-height column so the card can stick */
.cj-journey .accordion-button::after {                  /* theme puts the chevron top-left */
    position: static !important; flex: 0 0 auto; margin-left: 14px; transform-origin: center;
}
.cj-journey .accordion-button { display: flex; align-items: center; }
@media (max-width: 991px) { .cj-side { align-self: auto; } }
.cj-journey .accordion-button > .row { flex: 1 1 auto; width: auto !important; margin: 0; }
.cj-journey .accordion-button > .row > .col-auto:last-child { padding-right: 0; }
.cj-journey .accordion-button.collapsed::after { transform: none !important; }
.cj-journey .accordion-button:not(.collapsed)::after { transform: rotate(-180deg) !important; }
.cj-journey .accordion-button::after { margin-right: 0 !important; left: auto !important; right: auto !important; top: auto !important; }
.cj-journey .accordion-button::after,
.cj-journey .accordion-button.collapsed::after { margin-left: 14px !important; }
.cj-journey .accordion-button > .row { min-width: 0; }
