/**
 * Cohort product template styles.
 * Brand tokens mirror assets/calendar/calendar.css (.ldle-calendar) as a local
 * copy on .ldle-cohort. Can be hoisted to a shared :root partial later.
 */
.ldle-cohort {
    --ldle-brand: #046bd2;
    --ldle-brand-dark: #0357a8;
    --ldle-brand-soft: #e6f1fb;
    --ldle-ink: #0a2540;
    --ldle-hero-gradient: linear-gradient(135deg, #046bd2 0%, #02356f 100%);
    --ldle-shadow-card: 0 1px 3px rgba(2, 53, 111, 0.08);
    --ldle-shadow-hover: 0 6px 18px rgba(2, 53, 111, 0.12);
    --ldle-radius-sm: 8px;
    --ldle-radius-md: 12px;
    --ldle-radius-pill: 24px;
    --ldle-space-2: 8px;
    --ldle-space-3: 12px;
    --ldle-space-4: 16px;
    --ldle-space-6: 24px;
    --ldle-space-8: 32px;
    --ldle-surface: #ffffff;
    --ldle-border: rgba(2, 53, 111, 0.12);
    --ldle-muted: #5b6b7f;
    color: var(--ldle-ink);
}
.ldle-cohort__hero {
    background:
        radial-gradient(120% 130% at 0% 0%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 46%),
        var(--ldle-hero-gradient);
    border-radius: 16px;
    padding: 2.25rem 2rem;
    color: #fff;
    box-shadow: 0 18px 42px rgba(2, 53, 111, 0.30);
    align-self: flex-start;
}
.ldle-cohort__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    margin: 0 0 1.1rem;
    padding: 0;
}
.ldle-cohort__pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    padding: 7px 15px;
    border-radius: var(--ldle-radius-pill);
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.ldle-cohort__pill--badge {
    background: #fff;
    border-color: #fff;
    color: var(--ldle-brand-dark);
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(2, 53, 111, 0.22);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
.ldle-cohort__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}
.ldle-cohort__dot--category {
    background: var(--ldle-event-color, #fff);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ldle-event-color, #fff) 28%, transparent);
}
.ldle-cohort__title {
    margin: 0 0 1.7rem;
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 2.4rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
}
.ldle-cohort__date {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}
.ldle-cohort__date-ic {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.30);
    display: flex;
    align-items: center;
    justify-content: center;
}
@keyframes ldle-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
    70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.ldle-cohort__pill--badge .ldle-cohort__dot {
    animation: ldle-pulse 2s ease-out infinite;
}
@media (prefers-reduced-motion: reduce) {
    .ldle-cohort__pill--badge .ldle-cohort__dot { animation: none; }
}
.ldle-cohort__instructor {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--ldle-surface);
    border: 1px solid var(--ldle-border);
    border-radius: var(--ldle-radius-md);
    padding: calc(1.25rem + 4px) 1.4rem 1.25rem;
    overflow: hidden;
}
.ldle-cohort__instructor::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--ldle-brand);
}
.ldle-cohort__instructor-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--ldle-brand-soft);
    color: var(--ldle-brand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ldle-cohort__instructor-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ldle-cohort .ldle-cohort__instructor-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ldle-cohort .ldle-cohort__instructor-body p { margin: 0; line-height: 1.35; }
.ldle-cohort__instructor-name { font-weight: 600; font-size: 19px; color: var(--ldle-brand); }
.ldle-cohort__instructor-role { font-size: 14px; color: var(--ldle-muted); }
.ldle-cohort__instructor-sponsor { font-size: 14px; color: var(--ldle-muted); }
.ldle-cohort__instructor-sponsor-label { font-weight: 600; color: var(--ldle-ink); }
.ldle-cohort__video {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0a2540;
    border: 4px solid var(--ldle-brand);
    border-radius: var(--ldle-radius-md);
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(2, 53, 111, .22);
}
.ldle-cohort__video iframe,
.ldle-cohort__video video,
.ldle-cohort__video embed,
.ldle-cohort__video object {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}
.ldle-cohort__video video { object-fit: contain; }
.ldle-cohort .ldle-cohort__section-title { margin: 0 0 4px; font-size: 22px; font-weight: 700; color: var(--ldle-ink); line-height: 1.2; }
.ldle-cohort .ldle-cohort__section-subtitle { margin: 0 0 14px; font-size: 14px; color: var(--ldle-muted); }
.ldle-cohort__dates { display: flex; gap: 12px; flex-wrap: wrap; }
.ldle-cohort__date-tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex: 1 1 180px;
    padding: 0.8rem 1rem;
    background: var(--ldle-surface);
    border: 1px solid var(--ldle-border);
    border-radius: var(--ldle-radius-md);
}
.ldle-cohort .ldle-cohort__date-tile-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ldle-cohort .ldle-cohort__date-tile-body p { margin: 0; line-height: 1.3; }
.ldle-cohort__date-tile-date { font-size: 15px; font-weight: 600; color: var(--ldle-brand); }
.ldle-cohort__date-tile-when { font-size: 12.5px; color: var(--ldle-muted); }
.ldle-cohort__packages-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.ldle-cohort__packages-head .ldle-cohort__section-title, .ldle-cohort__packages-head .ldle-cohort__section-subtitle { margin-bottom: 0; }
.ldle-cohort__packages-nav { display: flex; gap: 8px; flex-shrink: 0; }
.ldle-cohort .ldle-cohort__packages-arrow { width: 36px; height: 36px; min-width: 36px; padding: 0; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--ldle-border); background: var(--ldle-surface); color: var(--ldle-brand); cursor: pointer; -webkit-appearance: none; appearance: none; display: flex; align-items: center; justify-content: center; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.ldle-cohort .ldle-cohort__packages-arrow:hover { background: var(--ldle-brand); color: #fff; border-color: var(--ldle-brand); }
.ldle-cohort .ldle-cohort__packages-arrow svg { width: 16px; height: 16px; display: block; stroke: currentColor; }
.ldle-cohort__packages-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth; padding: 16px 0 20px; scrollbar-width: none; border-radius: var(--ldle-radius-md); }
.ldle-cohort__packages-track::-webkit-scrollbar { display: none; }
.ldle-cohort__packages { padding-bottom: 8px; }
.ldle-cohort__package { position: relative; flex: 0 0 calc((100% - 36px) / 4); scroll-snap-align: start; display: flex; flex-direction: column; background: var(--ldle-surface); border: 1px solid var(--ldle-border); border-radius: var(--ldle-radius-md); overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
@media (max-width: 1024px) { .ldle-cohort__package { flex-basis: calc((100% - 12px) / 2); } }
@media (max-width: 767px)  { .ldle-cohort__package { flex-basis: 88%; } }
.ldle-cohort__package:hover { border-color: var(--ldle-brand); box-shadow: var(--ldle-shadow-hover); transform: translateY(-2px); }
.ldle-cohort__package-media { position: relative; line-height: 0; }
.ldle-cohort__package-media img { width: 100%; height: auto; display: block; }
.ldle-cohort__package-badge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background: var(--ldle-brand);
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 0 0 var(--ldle-radius-md) 0;
}
.ldle-cohort__package-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 0.9rem 1rem; }
.ldle-cohort .ldle-cohort__package-title { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--ldle-ink); line-height: 1.3; }
.ldle-cohort__package-price { font-size: 17px; font-weight: 700; color: var(--ldle-brand); }
.ldle-cohort__package-price .amount, .ldle-cohort__package-price bdi { color: var(--ldle-brand); }
.ldle-cohort__package-cta { margin-top: auto; text-align: center; background: var(--ldle-brand); color: #fff; padding: 9px 12px; border-radius: 8px; font-weight: 600; font-size: 14px; transition: background .2s ease; }
.ldle-cohort__package-cta:hover { background: var(--ldle-brand-dark); color: #fff; }
.ldle-cohort .ldle-cohort__package-cta { text-decoration: none !important; }
.ldle-cohort .ldle-cohort__about { max-width: none; }
.ldle-cohort__about-card {
    position: relative;
    background: color-mix(in srgb, var(--ldle-brand) 4%, var(--ldle-surface));
    border: 1px solid var(--ldle-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(2, 53, 111, .10);
    padding: calc(1.5rem + 4px) 2rem 2rem;
}
.ldle-cohort__about-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--ldle-brand);
}
.ldle-cohort .ldle-cohort__about p { margin: 0 0 1em; color: var(--ldle-ink); font-size: 15px; line-height: 1.7; }
.ldle-cohort .ldle-cohort__about p:last-child { margin-bottom: 0; }
.ldle-cohort__buybox {
    position: relative;
    background: var(--ldle-surface);
    border: 1px solid var(--ldle-border);
    border-radius: 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(2, 53, 111, .10);
}
.ldle-cohort__buybox::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--ldle-brand);
    z-index: 1;
}
.ldle-cohort__buybox-header {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: calc(1.25rem + 4px) 1.5rem 1.25rem;
    background: color-mix(in srgb, var(--ldle-brand) 4%, var(--ldle-surface));
}
.ldle-cohort .ldle-cohort__buybox-pricing { display: flex; flex-direction: column; gap: 2px; }
.ldle-cohort .ldle-cohort__buybox-label { margin: 0; font-size: 14px; color: var(--ldle-muted); }
.ldle-cohort__buybox-price { font-size: 34px; font-weight: 700; color: var(--ldle-brand); line-height: 1.1; text-align: center; }
.ldle-cohort__buybox-price .amount, .ldle-cohort__buybox-price bdi { color: var(--ldle-brand); }
.ldle-cohort__buybox-cta { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--ldle-brand); color: #fff; padding: 13px 18px; border-radius: var(--ldle-radius-md); font-weight: 700; font-size: 16px; transition: background .2s ease; }
.ldle-cohort__buybox-cta:hover { background: var(--ldle-brand-dark); color: #fff; }
.ldle-cohort .ldle-cohort__buybox-cta { text-decoration: none !important; }
.ldle-cohort .ldle-cohort__buybox-cta.uses-credit { background: var(--ldle-accent, #16a34a); }
.ldle-cohort .ldle-cohort__buybox-cta.uses-credit:hover { background: color-mix(in srgb, var(--ldle-accent, #16a34a) 85%, #000); }
.ldle-cohort__buybox-footer-strip {
    margin-top: auto;
    padding: 0.85rem 1.5rem;
    background: color-mix(in srgb, var(--ldle-brand) 2%, var(--ldle-surface));
    border-top: 1px solid var(--ldle-border);
}
.ldle-cohort .ldle-cohort__buybox-footer { margin: 0; font-size: 13px; color: var(--ldle-muted); text-align: center; }
.ldle-cohort .ldle-cohort__buybox-unavailable { margin: 0; font-size: 15px; color: var(--ldle-muted); font-weight: 600; }
/* === Force buybox bottom alignment with the left column (video stack) === */
/* Row 8617baf is .e-con-boxed, so its actual flex container is .e-con-inner
   (not the outer .e-con). Force align-items:stretch there with !important so
   the framework's --align-items variable can't be overridden. */
.elementor-element-8617baf > .e-con-inner {
    align-items: stretch !important;
}

/* Flex-grow chain on the right column — replaces the previous height:100%
   chain (brittle: each layer's % collapses if any ancestor lacks a fixed
   height). With flex-direction:column at every level and flex:1 1 auto on
   the single child, each wrapper grows to its parent's height regardless
   of whether intermediate heights are explicit. .ldle-buybox-col itself is
   the right column's outer .e-con; width:38% comes from the column's own
   settings (the column is a flex item of the row), so we only set display
   /direction here, NOT flex-grow on the column outer. */
.ldle-buybox-col {
    display: flex;
    flex-direction: column;
}
.ldle-buybox-col > .e-con-inner,
.ldle-buybox-col .elementor-widget-shortcode,
.ldle-buybox-col .elementor-widget-container,
.ldle-buybox-col .elementor-shortcode,
.ldle-buybox-col .ldle-cohort {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
.ldle-buybox-col .ldle-cohort__buybox {
    flex: 1 1 auto;
}

/* === "What's Included" band ([ldle_cohort_included]) ===================== */
.ldle-cohort__included-card {
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 16px;
    box-shadow: 0 6px 22px rgba(16, 39, 71, 0.06);
    padding: 22px 26px;
}
.ldle-cohort__included-eyebrow {
    display: block;
    color: #1c6fb5;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.ldle-cohort__included-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 26px;
}
.ldle-cohort__included-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.ldle-cohort__included-icon {
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #e7eef8;
    color: #1c6fb5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ldle-cohort__included-text {
    min-width: 0;
}
.ldle-cohort__included-label {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #0e2747;
    line-height: 1.3;
}
.ldle-cohort__included-sub {
    margin: 4px 0 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: #54637a;
}
@media (max-width: 900px) {
    .ldle-cohort__included-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .ldle-cohort__included-grid {
        grid-template-columns: 1fr;
    }
}

/* === "Frequently Asked Questions" band ([ldle_cohort_faq]) =============== */
.ldle-cohort__faq-card {
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 16px;
    box-shadow: 0 6px 22px rgba(16, 39, 71, 0.06);
    padding: 22px 26px;
}
.ldle-cohort__faq-eyebrow {
    display: block;
    color: #1c6fb5;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.ldle-cohort__faq-item {
    border-bottom: 1px solid #e6ebf2;
}
.ldle-cohort__faq-item:last-child {
    border-bottom: none;
}
.ldle-cohort__faq-q {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: #0e2747;
}
.ldle-cohort__faq-q::-webkit-details-marker {
    display: none;
}
.ldle-cohort__faq-chevron {
    flex: none;
    color: #1c6fb5;
    display: inline-flex;
    transition: transform 0.15s ease;
}
.ldle-cohort__faq-item[open] .ldle-cohort__faq-chevron {
    transform: rotate(180deg);
}
.ldle-cohort__faq-a {
    padding: 0 0 18px;
    color: #54637a;
    font-size: 14.5px;
    line-height: 1.65;
}
.ldle-cohort__faq-a p {
    margin: 0 0 12px;
}
.ldle-cohort__faq-a p:first-child {
    margin-top: 0;
}
.ldle-cohort__faq-a p:last-child {
    margin-bottom: 0;
}
.ldle-cohort__faq-a a {
    color: #1c6fb5;
    text-decoration: underline;
}

/* === Buybox "How it works" steps =========================================
   The .ldle-cohort__buybox card already declares flex-column + height:100%
   and .ldle-cohort__buybox-footer-strip already pins via margin-top:auto,
   so the new block slots in above the footer without further layout work. */
.ldle-cohort__buybox-how {
    padding: 0 1.5rem;
    border-top: 1px solid #e6ebf2;
    margin: 18px 0 16px;
    padding-top: 18px;
}
.ldle-cohort__buybox-how-eyebrow {
    display: block;
    color: #1c6fb5;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.ldle-cohort__buybox-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ldle-cohort__buybox-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.ldle-cohort__buybox-step-num {
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e7eef8;
    color: #1c6fb5;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ldle-cohort__buybox-step-text {
    min-width: 0;
}
.ldle-cohort__buybox-step-title {
    margin: 0;
    font-size: 14.5px;
    font-weight: 600;
    color: #0e2747;
    line-height: 1.3;
}
.ldle-cohort__buybox-step-sub {
    margin: 2px 0 0;
    font-size: 13px;
    color: #54637a;
    line-height: 1.5;
}

/* === Other-dates: per-tile Add-to-Cart button ============================ */
.ldle-cohort__dates-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1c6fb5;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.15s ease;
    margin-top: 12px;
}
.ldle-cohort__dates-cart:hover {
    background: #15568c;
    color: #fff;
}
