/* =========================================
   MYINSPIRE - UNIFORM LECTURE POSTS
   ========================================= */

body.mi-lecture-post{
    background:#071126 !important;
    color:#fff;
}

body.mi-lecture-post #content,
body.mi-lecture-post main,
body.mi-lecture-post .elementor-location-single{
    background:#071126 !important;
}

/* מרכוז אזור ההרצאה */
body.mi-lecture-post .elementor-location-single{
    width:100% !important;
    max-width:1180px !important;
    margin:0 auto !important;
    padding-left:24px !important;
    padding-right:24px !important;
    box-sizing:border-box !important;
}

/* תוכן הפוסט */
body.mi-lecture-post .elementor-widget-theme-post-content,
body.mi-lecture-post .elementor-widget-post-content{
    width:100% !important;
    max-width:980px !important;
    margin:0 auto !important;
}

body.mi-lecture-post .elementor-widget-theme-post-content > .elementor-widget-container,
body.mi-lecture-post .elementor-widget-post-content > .elementor-widget-container{
    background:#111C34 !important;
    border:1px solid rgba(255,255,255,.10) !important;
    border-radius:24px !important;
    padding:42px 48px !important;
    box-shadow:0 20px 50px rgba(0,0,0,.18) !important;
    box-sizing:border-box !important;
}

/* טקסט */
body.mi-lecture-post .elementor-widget-theme-post-content p,
body.mi-lecture-post .elementor-widget-post-content p{
    color:rgba(255,255,255,.88) !important;
    font-family:"Heebo",Arial,sans-serif !important;
    font-size:18px !important;
    line-height:1.9 !important;
    text-align:right !important;
    margin:0 0 20px !important;
}

body.mi-lecture-post .elementor-widget-theme-post-content h2,
body.mi-lecture-post .elementor-widget-theme-post-content h3,
body.mi-lecture-post .elementor-widget-post-content h2,
body.mi-lecture-post .elementor-widget-post-content h3{
    color:#5EE7E7 !important;
    font-family:"Heebo",Arial,sans-serif !important;
    text-align:right !important;
    line-height:1.35 !important;
    margin:36px 0 16px !important;
}

/* כל התמונות בתוך ההרצאות */
body.mi-lecture-post .elementor-widget-theme-post-content img,
body.mi-lecture-post .elementor-widget-post-content img{
    display:block !important;
    width:auto !important;
    max-width:min(420px,100%) !important;
    height:auto !important;
    max-height:560px !important;
    object-fit:contain !important;
    margin:32px auto !important;
    border-radius:18px !important;
}

/* תמונה ראשית */
body.mi-lecture-post .elementor-widget-theme-post-featured-image{
    text-align:center !important;
    margin-bottom:35px !important;
}

body.mi-lecture-post .elementor-widget-theme-post-featured-image img{
    display:block !important;
    width:auto !important;
    max-width:min(420px,100%) !important;
    max-height:580px !important;
    height:auto !important;
    object-fit:contain !important;
    margin:0 auto !important;
    border-radius:20px !important;
}

/* הסרת מטא ישן */
body.mi-lecture-post .elementor-element-2a8d6f70,
body.mi-lecture-post .elementor-element-35dffbcb,
body.mi-lecture-post .elementor-element-2a310422{
    display:none !important;
}

/* מובייל */
@media(max-width:767px){

    body.mi-lecture-post .elementor-location-single{
        padding-left:14px !important;
        padding-right:14px !important;
    }

    body.mi-lecture-post .elementor-widget-theme-post-content > .elementor-widget-container,
    body.mi-lecture-post .elementor-widget-post-content > .elementor-widget-container{
        padding:28px 20px !important;
        border-radius:18px !important;
    }

    body.mi-lecture-post .elementor-widget-theme-post-content p,
    body.mi-lecture-post .elementor-widget-post-content p{
        font-size:17px !important;
    }

    body.mi-lecture-post .elementor-widget-theme-post-content img,
    body.mi-lecture-post .elementor-widget-post-content img,
    body.mi-lecture-post .elementor-widget-theme-post-featured-image img{
        max-width:90% !important;
    }
}

/* ===== LECTURE FEATURED IMAGE ===== */

body.mi-lecture-post .mi-lecture-featured{
    width:100%;
    max-width:760px;
    margin:0 auto 38px !important;
    text-align:center;
}

body.mi-lecture-post .mi-lecture-featured img{
    display:block !important;
    width:auto !important;
    max-width:100% !important;
    max-height:560px !important;
    height:auto !important;
    object-fit:contain !important;
    margin:0 auto !important;
    border-radius:22px !important;
    box-shadow:0 18px 45px rgba(0,0,0,.22);
}

@media(max-width:767px){
    body.mi-lecture-post .mi-lecture-featured{
        margin-bottom:28px !important;
    }

    body.mi-lecture-post .mi-lecture-featured img{
        max-height:440px !important;
        border-radius:16px !important;
    }
}

/* ===== LECTURE FEATURED IMAGE END ===== */


/* REMOVE EMPTY TOP AREA FROM LECTURE POSTS */
body.mi-lecture-post .elementor-location-single > .e-con:empty,
body.mi-lecture-post .elementor-location-single > .elementor-section:empty{
    display:none !important;
    min-height:0 !important;
    height:0 !important;
    margin:0 !important;
    padding:0 !important;
}


/* REMOVE EMPTY TOP AREA FROM LECTURE POSTS */
body.mi-lecture-post .elementor-location-single > .e-con:empty,
body.mi-lecture-post .elementor-location-single > .elementor-section:empty{
    display:none !important;
    min-height:0 !important;
    height:0 !important;
    margin:0 !important;
    padding:0 !important;
}


/* REMOVE OLD EMPTY HERO FROM LECTURE POSTS */
body.mi-lecture-post .elementor-element-1cd26368{
    display:none !important;
    height:0 !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
}


/* CENTER LECTURE CONTENT */
body.mi-lecture-post .elementor-widget-theme-post-content,
body.mi-lecture-post .elementor-widget-post-content{
    width:100% !important;
    max-width:900px !important;
    margin-left:auto !important;
    margin-right:auto !important;
}

body.mi-lecture-post .elementor-widget-theme-post-content > .elementor-widget-container,
body.mi-lecture-post .elementor-widget-post-content > .elementor-widget-container{
    width:100% !important;
    max-width:900px !important;
    margin:0 auto !important;
    text-align:center !important;
}

body.mi-lecture-post .elementor-widget-theme-post-content p,
body.mi-lecture-post .elementor-widget-theme-post-content h2,
body.mi-lecture-post .elementor-widget-theme-post-content h3,
body.mi-lecture-post .elementor-widget-theme-post-content li,
body.mi-lecture-post .elementor-widget-post-content p,
body.mi-lecture-post .elementor-widget-post-content h2,
body.mi-lecture-post .elementor-widget-post-content h3,
body.mi-lecture-post .elementor-widget-post-content li{
    text-align:center !important;
}


/* ===== LECTURE TOPICS ===== */

body.mi-lecture-post .mi-lecture-topics-title{
    margin:42px auto 24px !important;
    color:#ffffff !important;
    font-size:24px !important;
    font-weight:800 !important;
    text-align:center !important;
}

body.mi-lecture-post .mi-lecture-topic{
    position:relative;
    display:block;
    width:100%;
    max-width:760px;
    box-sizing:border-box;
    margin:0 auto 14px !important;
    padding:15px 58px 15px 20px !important;

    background:#111C34;
    border:1px solid rgba(94,231,231,.16);
    border-radius:14px;

    color:#ffffff !important;
    font-size:18px !important;
    line-height:1.6 !important;
    text-align:right !important;
}

body.mi-lecture-post .mi-lecture-topic::before{
    content:"✓";
    position:absolute;
    right:16px;
    top:50%;
    transform:translateY(-50%);

    width:28px;
    height:28px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;
    background:#5EE7E7;
    color:#071126;

    font-size:16px;
    font-weight:900;
}

body.mi-lecture-post .mi-lecture-topics-list{
    max-width:760px;
    margin:0 auto !important;
    padding:0 !important;
    list-style:none !important;
}

@media(max-width:767px){

    body.mi-lecture-post .mi-lecture-topic{
        padding:14px 52px 14px 16px !important;
        font-size:17px !important;
    }

}

/* ===== LECTURE TOPICS END ===== */


/* ===== PROFESSIONAL CONTACT BUTTONS ===== */

body.mi-lecture-post .mi-contact-actions{
    width:100%;
    max-width:820px;
    margin:42px auto !important;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
    direction:rtl;
}

body.mi-lecture-post .mi-contact-action{
    min-height:92px;
    display:flex !important;
    align-items:center;
    justify-content:flex-start;
    gap:14px;

    padding:18px !important;

    background:#111C34;
    border:1px solid rgba(94,231,231,.20);
    border-radius:16px;

    color:#fff !important;
    text-decoration:none !important;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

body.mi-lecture-post .mi-contact-action:hover,
body.mi-lecture-post .mi-contact-action:focus-visible{
    transform:translateY(-3px);
    background:#15213D;
    border-color:#5EE7E7;
}

body.mi-lecture-post .mi-contact-action__icon{
    flex:0 0 44px;
    width:44px;
    height:44px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:12px;
    background:rgba(94,231,231,.12);
    color:#5EE7E7;
}

body.mi-lecture-post .mi-contact-action__icon svg{
    width:22px;
    height:22px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}

body.mi-lecture-post .mi-contact-action strong{
    display:block;
    margin-bottom:4px;
    color:#fff;
    font-size:16px;
    font-weight:800;
}

body.mi-lecture-post .mi-contact-action small{
    display:block;
    color:rgba(255,255,255,.62);
    font-size:13px;
    direction:ltr;
    text-align:right;
}

@media(max-width:800px){

    body.mi-lecture-post .mi-contact-actions{
        grid-template-columns:1fr !important;
        max-width:520px;
    }

}

/* ===== CONTACT BUTTONS END ===== */


body.mi-lecture-post .mi-contact-action--whatsapp .mi-contact-action__icon{
    color:#25D366 !important;
    background:rgba(37,211,102,.12) !important;
}

body.mi-lecture-post .mi-contact-action--whatsapp:hover{
    border-color:#25D366 !important;
}


/* HIDE AUTHOR / COMMUNITY CARD ON SHAAREI TZEDEK */
body.postid-8793 .elementor-element:has(.elementor-heading-title),
body.postid-8793 .e-con:has(.elementor-heading-title){
}

/* specific author/community card */
body.postid-8793 .elementor-location-single .e-con:has(a[href*="/author/"]),
body.postid-8793 .elementor-location-single .e-con:has(.elementor-widget-author-box){
    display:none !important;
}


/* HIDE AUTHOR / COMMUNITY CARD ON SHAAREI TZEDEK */
body.postid-8793 .elementor-element:has(.elementor-heading-title),
body.postid-8793 .e-con:has(.elementor-heading-title){
}

/* specific author/community card */
body.postid-8793 .elementor-location-single .e-con:has(a[href*="/author/"]),
body.postid-8793 .elementor-location-single .e-con:has(.elementor-widget-author-box){
    display:none !important;
}

