/* ============================================================
   lexa-meetings.css
   ייחודי לדף "מפגשים / הדרכות" בלבד
   יש לטעון אחרי lexa-shared.css
   ============================================================ */


/* ────────────────────────────────────────
   HERO — inner layout ייחודי לדף זה
──────────────────────────────────────── */
.lexa-meetings-hero-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}

.lexa-meetings-hero-badges {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lexa-meetings-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 14px;
    padding: 14px 20px;
    color: #fff;
    font-size: .95rem;
    font-weight: 600;
    white-space: nowrap;
}

.lexa-meetings-badge i {
    font-size: 1.3rem;
    opacity: .9;
}


/* ────────────────────────────────────────
   MEETING CARDS — רשימת מפגשים
──────────────────────────────────────── */
.lexa-meetings-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin-inline: auto;
}

.lexa-meeting-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--lexa-stone-200);
    box-shadow: var(--lexa-shadow-card);
    display: grid;
    grid-template-columns: 90px 1fr auto;
    align-items: center;
    gap: 0;
    overflow: hidden;
    transition: box-shadow .3s ease, transform .3s ease;
}

.lexa-meeting-card:hover {
    box-shadow: var(--lexa-shadow-hover);
    transform: translateY(-3px);
}

/* עמודת תאריך */
.lexa-meeting-date {
    background: linear-gradient(160deg, var(--lexa-teal-dark) 0%, var(--lexa-teal-mid) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 12px;
    height: 100%;
    color: #fff;
    text-align: center;
    gap: 2px;
}

.lexa-meeting-day {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.lexa-meeting-month {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    opacity: .85;
}

.lexa-meeting-year {
    font-size: .75rem;
    opacity: .65;
}

/* גוף הכרטיס */
.lexa-meeting-body {
    padding: 20px 24px;
}

.lexa-meeting-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.lexa-meeting-time,
.lexa-meeting-type {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--lexa-teal-dark);
}

.lexa-meeting-time i,
.lexa-meeting-type i {
    font-size: .95rem;
}

.lexa-meeting-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--lexa-stone-900);
    margin: 0 0 8px;
    line-height: 1.4;
}

.lexa-meeting-desc {
    font-size: .88rem;
    color: var(--lexa-stone-500);
    line-height: 1.7;
}

.lexa-meeting-desc p { margin: 0; }

/* כפתור פעולה */
.lexa-meeting-action {
    padding: 20px 24px;
    flex-shrink: 0;
}


/* ────────────────────────────────────────
   EMPTY STATE — אין מפגשים
──────────────────────────────────────── */
.lexa-meetings-empty {
    max-width: 520px;
    margin-inline: auto;
    text-align: center;
    padding: 56px 32px;
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--lexa-stone-200);
    box-shadow: var(--lexa-shadow-card);
}

.lexa-meetings-empty-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--lexa-teal-pale);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem;
    color: var(--lexa-teal-dark);
    margin: 0 auto 24px;
}

.lexa-meetings-empty h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--lexa-stone-900);
    margin-bottom: 12px;
}

.lexa-meetings-empty p {
    font-size: .93rem;
    color: var(--lexa-stone-500);
    line-height: 1.75;
    margin-bottom: 10px;
}

.lexa-meetings-empty .lexa-btn-primary {
    margin-top: 8px;
}


/* ────────────────────────────────────────
   RECORDINGS — גריד הקלטות
──────────────────────────────────────── */
.lexa-meetings-recordings {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lexa-recording-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--lexa-stone-200);
    box-shadow: var(--lexa-shadow-card);
    overflow: hidden;
    transition: box-shadow .3s ease, transform .3s ease;
}

.lexa-recording-card:hover {
    box-shadow: var(--lexa-shadow-hover);
    transform: translateY(-4px);
}

.lexa-recording-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--lexa-stone-100);
}

.lexa-recording-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.lexa-recording-card:hover .lexa-recording-thumb img {
    transform: scale(1.05);
}

.lexa-recording-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .25);
    opacity: 0;
    transition: opacity .3s ease;
}

.lexa-recording-card:hover .lexa-recording-play {
    opacity: 1;
}

.lexa-recording-play i {
    font-size: 3rem;
    color: #fff;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
}

.lexa-recording-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lexa-recording-title {
    font-size: .9rem;
    font-weight: 700;
    color: var(--lexa-stone-900);
    line-height: 1.45;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s ease;
}

.lexa-recording-title:hover {
    color: var(--lexa-teal-dark);
}

.lexa-recording-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .78rem;
    color: var(--lexa-stone-400);
}

.lexa-recording-date i { font-size: .85rem; }


/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1199px) {
    .lexa-meetings-recordings { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
    .lexa-meetings-hero-inner { grid-template-columns: 1fr; gap: 28px; }
    .lexa-meetings-hero-badges { flex-direction: row; flex-wrap: wrap; }
    .lexa-meetings-badge { white-space: normal; }
    .lexa-meetings-recordings { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .lexa-meeting-card {
        grid-template-columns: 70px 1fr;
        grid-template-rows: auto auto;
    }
    .lexa-meeting-date {
        grid-row: 1 / 3;
        padding: 16px 8px;
    }
    .lexa-meeting-day  { font-size: 1.6rem; }
    .lexa-meeting-action {
        grid-column: 2;
        padding: 0 20px 18px;
    }
    .lexa-meeting-body { padding: 16px 20px 8px; }
}

@media (max-width: 575px) {
    .lexa-meetings-recordings { grid-template-columns: 1fr 1fr; }
    .lexa-meetings-hero-badges { flex-direction: column; }
}