.mena-filters {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}

.mena-header { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.mena-header img { max-width: 150px; height: auto; border-radius: 8px; }
.mena-container table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.mena-container th, .mena-container td { border: none; border-bottom: 2px dotted #403f3f; padding: 12px; text-align: right; }
.mena-container th { background-color: #262626; }
.loading { opacity: 0.5; pointer-events: none; }

/* Layout for the "All" Table */
.mena-main-table {
    width: 100%;
    border-collapse: collapse;
}

.mena-main-table th {
    background: #f4f4f4;
    padding: 15px;
    text-align: right;
    border: 1px solid #ddd;
}



.mena-series-title {
	color: #ffd014;
    font-weight: bold;
    margin-top: 8px;
    font-size: 1em;
    line-height: 1.2;
}

.col-platform-info {
    padding: 15px;
    vertical-align: top;
    border: 1px solid #ddd;
}

/* Platform & Time logic: Name over Time */
.platform-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.platform-chip {
    display: flex;
    flex-direction: column; 
    background: #000;
    padding: 8px;
    border-radius: 5px;
    border-top: 3px solid;
    min-width: 60px;
	text-align: center;
}

.platform-chip strong {
    font-size: 10px;
    color: #b1b1b1;
    margin: 5px 0 2px 0;
}

.platform-chip span {
    font-size: 12px;
    color: #666;
}

.tbd-text {
    color: #999;
	font-size: 14px;
}

.col-series-info {
    width: 170px !important;
}

.poster-wrapper {
    min-width: 120px;
    width: 120px;
    height: 170px;
    background: url(/wp-content/uploads/assets/default.png);
    border-radius: 5px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
	display: block;
}

.mena-poster-thumb {
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
}

.mena-poster-large {
    width: 100%;
    height: 100%;
    display: block;
    background-position: center !important;
    background-size: cover !important;
}

.series-platform-table-logo img {
	border-radius: 10px;
}

.series-platform-table-logo {
    max-width: 50px;
    display: inline-block;
    vertical-align: middle;
    border-left: 2px solid #1a1a1a;
    margin-left: 20px;
    padding-left: 10px;
}

.all-stime {
    direction: ltr;
    text-transform: uppercase;
    margin-top: 9px;
    font-weight: bold
}

.all-pl-logo {
    width: 40px;
    border-radius: 7px;
    margin: 0 auto;
    margin-bottom: 3px;
    display: block
}

@media (max-width: 768px) { 
    .platform-grid {
        flex-direction: column;
    }
    .platform-chip {
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
        border-right: 3px solid;
        border-top: 0px;
        padding: 0 8px;
    }
    .all-pl-logo {
        margin: 0;
        flex: 0 0 40px;

    }
    .pl-logo-special {
        height: 28px;
        margin: 6px;
        max-width: 28px;
    }
    .all-stime {
        margin: 0;
        flex: 0 0 50px;
    }
    .all-p-name {
        flex: 1;
        text-align: right !important;
        padding-right: 15px;
    }
    .mena-filters * {
        width: 100%;
    }

    .mena-filters {
        flex-direction: column;
    }
    #mena-platform-select {
        margin-bottom: 10px;
    }
    
    
}