/* کانتینر اصلی */


.em-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'IRANSansWeb', sans-serif; /* بر اساس فونت‌های ارسالی شما */
}

/* هدر برنامه (بالای صفحه) */
.em-program-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.em-program-image {
    flex: 0 0 350px; /* عرض ثابت برای تصویر */
}

.em-program-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.em-program-info {
    flex: 1;
    min-width: 300px;
}
h4.em-prog-subtitle {
    font-weight: 400 !important;
}

.em-program-title {
    font-size: 24px;
    font-weight: 800; /* IRANSansWeb Black */
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
}

.em-program-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    font-weight: 500; /* IRANSansWeb Medium */
}

/* لیست مشخصات */
.em-program-meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.em-program-meta-list li {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* برای آیکون‌های کنار لیست (می‌توانید عکس آیکون بک‌گراند بدهید یا از تگ img استفاده کنید) */
.em-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
}
/* می‌توانید آدرس آیکون‌های SVG خود را در اینجا قرار دهید */
/* .em-icon-calendar { background-image: url('../img/calendar.svg'); } */


.media-section-header{ 
    display: flex;
    align-items: center;
        margin-top: 48px;
    margin-bottom: 16px;
    
    .bullet {
        background-color: #77000b;
        border-radius: 50% 0 50% 0;
        display: inline-block;
        height: 30px;
        width: 30px;
        margin-left: .5rem !important;
    }
    .title {
        color: #424242;
        display: inline-block;
        font-size: 1.3rem;
        font-weight: 900;
    }
}


/* بخش مدیاهای مرتبط */
.em-program-media-section {
    margin-top: 50px;
}

.em-section-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.em-section-header h2 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0 0 0 10px;
}

/* مربع قرمز کنار عنوان */
.em-heading-decorator {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #800000; /* رنگ قرمز تیره مشابه تصویر */
    border-radius: 4px;
}

/* گرید کارت‌های مدیا */
.em-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.em-program-meta-list li img {
    width: 21px;
    filter: brightness(0) saturate(100%) invert(45%) sepia(0%) saturate(0%) hue-rotate(17deg) brightness(99%) contrast(88%);
}

/* ========================================================
   Aparat Live Stream Responsive Container
   ======================================================== */
.em-live-stream-wrapper {
    margin: 40px 0;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.em-live-stream-container {
    position: relative;
    padding-bottom: 56.25%; /* نسبت 16:9 */
    height: 0;
    overflow: hidden;
    width: 100%;
}

.em-live-stream-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* رسپانسیو */
@media (max-width: 768px) {
   
    .em-program-image {
        flex: 1 1 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}
