/*
Theme Name: AlbaSport Pro Theme
Theme URI: https://albaadani.com
Author: Jalal Albaadani
Author URI: https://albaadani.com
Description: غلاف احترافي فائق السرعة - يدعم RTL و LTR بالكامل
Version: 8.0.0
Text Domain: alba
*/

/* ==========================================
   1. CSS Variables (Light & Dark Modes)
   ========================================== */
:root {
    /* الألوان الأساسية للوضع الفاتح */
    --bg-body: #eeeeee;
    --bg-box: #f9f9f9;
    --bg-content: #ffffff;
    --container-bg: #ffffff;
    --text-main: #2d3748;
    --text-color: #2d3748;
    --text-muted: #666666;
    --border-color: #dddfe2;
    --border-light: #eeeeee;
    --header-bg: #ffffff;
    --footer-bg: #1f2024;
    --footer-text: #cdcdcd;
    --link-color: #333333;
    --brand-color: #ca0009;
    --link-hover: var(--brand-color);
    --title-color: #1a365d;
    --shadow-color: rgba(0, 0, 0, 0.05);
    --overlay-bg: rgba(0, 0, 0, 0.2);
    --comment-bg: #fafafa;
    
    /* متغيرات RTL/LTR */
    --text-align-start: left;
    --text-align-end: right;
    --border-start: left;
    --border-end: right;
    --padding-start: 0;
    --padding-end: 0;
    --margin-start: 0;
    --margin-end: 0;
    --float-start: left;
    --float-end: right;
}

/* RTL (العربية) */
html[dir="rtl"], body.rtl {
    --text-align-start: right;
    --text-align-end: left;
    --border-start: right;
    --border-end: left;
    --padding-start: 0;
    --padding-end: 0;
    --margin-start: 0;
    --margin-end: 0;
    --float-start: right;
    --float-end: left;
}

/* Dark Mode (الوضع الليلي) */
[data-theme="dark"], 
body.dark-theme, 
body.dark-mode, 
body.dark, 
body.Night, 
.Night body,
html.Night {
    --bg-body: #121212;
    --bg-box: #1e1e1e;
    --bg-content: #242424;
    --container-bg: #2d3748;
    --text-main: #edf2f7;
    --text-color: #edf2f7;
    --text-muted: #aaaaaa;
    --border-color: #4a5568;
    --border-light: #2a2a2a;
    --header-bg: #1e1e1e;
    --footer-bg: #0a0a0c;
    --footer-text: #888888;
    --link-color: #e0e0e0;
    --brand-color: #ff4757;
    --link-hover: var(--brand-color);
    --title-color: #90cdf4;
    --shadow-color: rgba(0, 0, 0, 0.4);
    --overlay-bg: rgba(0, 0, 0, 0.5);
    --comment-bg: #2a2a2a;
}

/* ==========================================
   2. Reset & General Elements
   ========================================== */
* {
    padding: 0;
    margin: 0;
    outline: none;
    list-style: none;
    border: 0;
    box-sizing: border-box;
}

*, :before, :after {
    box-sizing: border-box;
}

html, body {
    position: relative;
    height: 100%;
}

body, button, input, select, textarea {
    font-family: 'changa', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    font-style: normal;
}

body {
    display: block;
    overflow: visible;
    font-size: 14px;
    background: var(--bg-body);
    color: var(--text-main);
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none !important;
    color: var(--link-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--link-hover);
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--title-color);
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

img {
    vertical-align: top;
    max-width: 100%;
    height: auto;
}

iframe, figure {
    max-width: 100%;
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid var(--border-light);
}

.clearfix:after, .clearfix:before {
    display: table;
    content: " ";
}
.clearfix:after {
    clear: both;
}

.bg-container {
    background-color: var(--bg-content) !important;
}

/* ==========================================
   3. Container & Grid System
   ========================================== */
.container, .container-fluid {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 100%; } }
@media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
}

.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.align-items-center { align-items: center !important; }
.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.w-100 { width: 100% !important; }
.m-0 { margin: 0 !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.p-0 { padding: 0 !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-20 { gap: 20px !important; }

.col-12 { flex: 0 0 100%; max-width: 100%; }
@media (min-width: 768px) {
    .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-md-12 { flex: 0 0 100%; max-width: 100%; }
    .p-md-4 { padding: 1.5rem !important; }
}
@media (min-width: 992px) {
    .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
}

/* ==========================================
   4. Header, Logo & SEO Elements
   ========================================== */
#masthead, #AlbaSport_header {
    background: var(--header-bg);
    box-shadow: 0 2px 15px var(--shadow-color);
    z-index: 99999;
    position: sticky;
    top: 0;
    transition: background 0.3s;
}

/* إخفاء أزرار تحكم الجوال تماماً في الشاشات الكبيرة */
#show-menu, #menu-close, .navbar-toggler {
    display: none !important;
}

.AYaLogo {
    background: var(--brand-color);
    max-width: 220px;
    border-radius: 8px;
    transition: transform 0.2s ease;
	 margin-bottom: 10px;

}
.AYaLogo:hover {
    transform: scale(1.02);
}
.AYaLogo.textlogo {
    padding: 6px 14px;
}
.AYaLogo > a {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.AYaLogo span {
    display: block;
    text-align: center;
    color: #ffffff;
}
.AYaLogo .SiteName {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
}
.AYaLogo .SiteUrl {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.85;
    line-height: 1.2;
    direction: ltr;
}

.alba-logo img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
}

.screen-reader {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden !important;
}

/* ==========================================
   5. Navigation Menu & Social Links
   ========================================== */
.AlbaSport_menu {
    position: relative;
    display: block;
    margin: auto 0;
    font-size: 15px;
    font-weight: 700;
    z-index: 99999;
}
.AlbaSport_menu ul.navigation-list {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}
.AlbaSport_menu ul li {
    display: inline-block;
    position: relative;
}
.AlbaSport_menu a {
    padding: 0 12px;
    height: 50px;
    font-weight: 700;
    color: var(--link-color);
    display: flex;
    align-items: center;
}
.AlbaSport_menu a:hover {
    color: var(--link-hover);
}

.AlbaSport_menu ul ul {
    display: none;
    position: absolute;
    top: 50px;
    inset-inline-end: 0;
    background: var(--bg-content);
    box-shadow: 0 4px 12px var(--shadow-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    min-width: 200px;
}
.AlbaSport_menu ul li:hover > ul {
    display: block;
}
.AlbaSport_menu ul ul li {
    width: 100%;
    display: block;
}
.AlbaSport_menu ul ul li a {
    color: var(--text-main);
    height: auto;
    padding: 10px 15px;
    font-size: 14px;
}
.AlbaSport_menu ul ul ul {
    top: 0;
    inset-inline-end: 200px;
}

#hdsocial {
    display: flex;
    align-items: center;
    margin: 0 10px;
    padding: 0;
}
#hdsocial li {
    margin: 0 2px;
}
#hdsocial a {
    height: 34px;
    width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    border-radius: 8px;
    transition: opacity 0.2s;
}
#hdsocial a:hover { opacity: 0.9; }
#hdsocial .facebook a  { background: #4267b2; }
#hdsocial .telegram a  { background: #389ce9; }
#hdsocial .twitter a   { background: #000000; }
#hdsocial .youtube a   { background: #ff0000; }
#hdsocial svg { width: 16px; height: 16px; }

/* ==========================================
   6. Content Layout & Boxes
   ========================================== */
.box {
    overflow: hidden;
    position: relative;
    background: var(--bg-content);
    border: 1px solid var(--border-color);
    padding: 24px;
    margin-bottom: 24px;
    width: 100%;
    box-shadow: 0 2px 8px var(--shadow-color);
    border-radius: 8px;
}

.aspwp-match-servers { width: 100%; margin-bottom: 20px; }
.content_entry iframe, .content_entry .video-iframe { width: 100%; max-width: 100%; border: none; }
.content_entry {
    color: var(--text-main);
    font-size: 15px;
    line-height: 1.8;
}
.content_entry p {
    margin-bottom: 1.5rem;
    text-align: var(--text-align-start);
}
.content_entry h1, .content_entry h2, .content_entry h3 {
    color: var(--title-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.content_entry blockquote {
    border-inline-start: 3px solid var(--brand-color);
    font-size: 18px;
    line-height: 26px;
    padding: 5px 20px;
    margin: 25px 0;
    position: relative;
    font-style: italic;
    color: var(--text-muted);
}

.content_entry table {
    width: 100%;
    border: 1px solid var(--border-color);
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}
.content_entry table td, .content_entry table th {
    border: 1px solid var(--border-color);
    padding: 10px;
    text-align: var(--text-align-start);
}
.content_entry table th {
    background: var(--bg-box);
}

.post_tags a {
    font-size: 13px;
    background: var(--bg-box);
    padding: 4px 12px;
    border-radius: 4px;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    display: inline-block;
    margin: 2px;
}

/* ==========================================
   7. Comments & Pagination
   ========================================== */
.comment-list article.comment-body {
    background: var(--comment-bg);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}
.comment-respond input, .comment-respond textarea {
    background: var(--bg-content);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 8px;
    border-radius: 4px;
    width: 100%;
}
.comment-respond .submit {
    background: var(--brand-color);
    color: #fff;
    padding: 8px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.2s;
}
.comment-respond .submit:hover {
    opacity: 0.9;
}

.pagination-centered .pager {
    display: flex;
    justify-content: center;
    gap: 5px;
}
.pagination-centered .pager li a, .pagination-centered .pager li span {
    padding: 8px 16px;
    background: var(--bg-content);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: 4px;
}
.pagination-centered .pager li .active {
    background: var(--brand-color);
    color: #fff;
    border-color: var(--brand-color);
}

/* ==========================================
   8. Grid & Cards (Widgets)
   ========================================== */
.custom-posts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px 0;
}

.custom-post-box {
    background-color: var(--container-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.custom-post-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.post-box-thumb {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}

.post-box-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.custom-post-box:hover .post-box-thumb img {
    transform: scale(1.06);
}

.post-box-details {
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.post-box-title {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
}

.post-box-title a {
    color: var(--text-color);
}

.post-box-title a:hover {
    color: var(--brand-color);
}

.post-box-date {
    font-size: 11px;
    color: var(--text-muted);
}

.wid-post-text-item {
    width: 100%;
    background-color: var(--container-bg);
    border: 1px solid var(--border-color);
    border-inline-start: 4px solid var(--brand-color) !important;
    border-radius: 6px;
    padding: 10px 15px;
    box-shadow: 0 1px 3px var(--shadow-color);
    transition: 0.2s ease-in-out;
}

.wid-post-text-item:hover {
    background-color: var(--border-color);
}

.post-item-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--brand-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.wid-post-text-item .title-inner {
    margin: 0;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.4;
}

/* ==========================================
   9. Footer Area
   ========================================== */
.alba-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding-top: 40px;
}
.fwd-title {
    position: relative;
    font-size: 18px;
    padding-bottom: 10px;
    margin-bottom: 15px;
    color: #ffffff;
}
.fwd-title::after {
    content: "";
    background: var(--brand-color);
    width: 50px;
    height: 3px;
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
}
.alba-footer a {
    color: var(--footer-text);
}
.alba-footer a:hover {
    color: #ffffff;
}
.alba-footer .site-info {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px 0;
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
}

/* ==========================================
   10. Dark Mode Toggle & Icons Animation
   ========================================== */
#dark-mode-toggle, #show-menu, #menu-close {
    transition: all .25s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

#show-menu svg, #menu-close svg, #dark-mode-toggle svg {
    transition: all .25s ease;
}

#show-menu:hover svg, #menu-close:hover svg, #dark-mode-toggle:hover svg {
    transform: scale(1.12);
}

#show-menu:hover, #dark-mode-toggle:hover {
    transform: translateY(-1px);
}

/* أزرار التحكم في الوضع الفاتح */
#show-menu,
#dark-mode-toggle {
    background: var(--bg-content) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--link-color) !important;
    transition: all 0.3s ease;
}

#show-menu:hover,
#dark-mode-toggle:hover {
    background: var(--border-light) !important;
    color: var(--link-hover) !important;
}

/* أزرار التحكم في الوضع الليلي */
[data-theme="dark"] #show-menu,
[data-theme="dark"] #dark-mode-toggle,
body.dark-theme #show-menu,
body.dark-theme #dark-mode-toggle,
body.dark-mode #show-menu,
body.dark-mode #dark-mode-toggle {
    background-color: #2a2a2a !important;
    border-color: #4a5568 !important;
    color: #edf2f7 !important;
}

[data-theme="dark"] #show-menu:hover,
[data-theme="dark"] #dark-mode-toggle:hover,
body.dark-theme #show-menu:hover,
body.dark-theme #dark-mode-toggle:hover {
    background-color: #3a3a3a !important;
    color: var(--brand-color) !important;
}

/* زر إغلاق القائمة */
#menu-close {
    background: transparent;
    border: none;
    color: var(--link-color);
}

[data-theme="dark"] #menu-close,
body.dark-theme #menu-close {
    color: var(--text-main);
}

/* ==========================================
   11. Matches Section (المباريات)
   ========================================== */
.upcoming-matches-section {
    direction: inherit;
}

.upcoming-title {
    font-weight: 900;
    font-size: 20px;
    border-inline-start: 6px solid var(--brand-color);
    padding-inline-start: 15px;
    color: var(--text-main);
}

.match-card-item {
    display: block;
}

.match-card-item .box {
    border: 1px solid var(--border-color);
    border-radius: 24px;
    background: var(--bg-content);
    transition: all 0.3s ease-in-out;
    padding: 30px !important;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.match-card-item:hover .box {
    transform: translateY(-8px);
    border-color: var(--brand-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.team-logo-wrap.super-size {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    transition: transform 0.3s ease;
}

.team-logo-wrap.super-size img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.team-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-main);
    text-align: center;
    line-height: 1.3;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.match-info-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin-top: 25px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    transition: color 0.3s ease;
}

.match-card-item:hover .match-info-title {
    color: var(--brand-color);
}

.match-teams-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 10px;
}

.team-wrapper {
    flex: 1;
    text-align: center;
}

.vs-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 90px;
}

.vs-container::before {
    content: "";
    position: absolute;
    top: 50%;
    inset-inline-start: -15px;
    inset-inline-end: -15px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    z-index: 1;
    transform: translateY(-50%);
}

.vs-circle {
    width: 100%;
    max-width: 140px;
    height: 44px;
    background: var(--bg-box);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 10px var(--shadow-color);
    transition: all 0.3s ease;
}

.match-card-item:hover .vs-circle {
    border-color: var(--brand-color);
    transform: scale(1.05);
}

.vs-text {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--brand-color);
}

.vs-text span {
    color: var(--text-main);
    letter-spacing: 0;
    font-size: 18px;
}

.live-badge-new {
    position: absolute;
    bottom: -28px;
    background: var(--brand-color);
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 12px;
    border-radius: 4px;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
}

/* ==========================================
   12. Mobile Responsive Rules
   ========================================== */
@media screen and (min-width: 1001px) {
    #show-menu,
    #menu-close,
    .mobile-menu-toggle,
    .mobile-menu-close {
        display: none !important;
    }
}

@media screen and (max-width: 991px) {
    /* الهيدر وتوسيط الشعار */
    #masthead .container,
    #masthead .header_inn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        position: relative;
        padding-bottom: 15px;
    }

    .AYaLogo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%) !important;
        margin: 0 auto;
        z-index: 10;
        max-width: 170px;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    
    /* زر فتح القائمة */
    #show-menu {
        display: flex !important;
        width: 38px;
        height: 38px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--bg-content);
        border: 1px solid var(--border-color);
        box-shadow: 0 2px 10px rgba(0,0,0,.08);
        cursor: pointer;
    }
    
    /* زر إغلاق القائمة */
    #menu-close {
        display: flex !important;
        position: absolute;
        top: 15px;
        inset-inline-start: 15px;
        width: 35px;
        height: 35px;
        background: var(--brand-color);
        color: #fff;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        z-index: 100005;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        cursor: pointer;
        border: none;
    }
    
    /* القائمة المنبثقة */
     .AlbaSport_menu {
        position: fixed !important;
        top: 0 !important;
        width: 290px !important;
        height: 100vh !important;
        background: var(--bg-content) !important;
        z-index: 100000 !important;
        box-shadow: 0 0 20px rgba(0,0,0,0.15) !important;
        padding: 25px 20px 40px 20px !important; /* زيادة padding-bottom إلى 40px */
        overflow-y: auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important; /* تغيير من space-between إلى flex-start */
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    
    /* RTL */
    html[dir="rtl"] .AlbaSport_menu, body.rtl .AlbaSport_menu {
        right: 0 !important;
        left: auto !important;
        transform: translateX(100%) !important;
    }
    html[dir="rtl"] .AlbaSport_menu.open, body.rtl .AlbaSport_menu.open {
        transform: translateX(0) !important;
    }
    
    /* LTR */
    html[dir="ltr"] .AlbaSport_menu, body.ltr .AlbaSport_menu {
        left: 0 !important;
        right: auto !important;
        transform: translateX(-100%) !important;
    }
    html[dir="ltr"] .AlbaSport_menu.open, body.ltr .AlbaSport_menu.open {
        transform: translateX(0) !important;
    }
    
    /* روابط القائمة */
    .AlbaSport_menu ul.navigation-list {
        margin-top: 60px !important;
        margin-bottom: 20px !important;
        flex-direction: column !important;
        width: 100% !important;
        padding: 0 !important;
        display: flex !important;
    }
    
    html[dir="rtl"] .AlbaSport_menu ul.navigation-list, body.rtl .AlbaSport_menu ul.navigation-list {
        text-align: right !important;
        direction: rtl !important;
    }
    html[dir="ltr"] .AlbaSport_menu ul.navigation-list, body.ltr .AlbaSport_menu ul.navigation-list {
        text-align: left !important;
        direction: ltr !important;
    }
    
    .AlbaSport_menu ul li {
        width: 100%;
        border-bottom: 1px solid var(--border-light);
    }
    
    .AlbaSport_menu a {
        height: auto;
        padding: 14px 5px;
        font-size: 14px;
        width: 100%;
    }
    
    /* القوائم الفرعية */
    .AlbaSport_menu ul ul {
        position: relative;
        top: 0;
        inset-inline-end: 0;
        width: 100%;
        box-shadow: none;
        border: none;
        padding-inline-start: 15px;
    }
    
    /* أيقونات السوشال ميديا في القائمة */
    .AlbaSport_menu #hdsocial {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 15px !important;
        width: 100%;
        padding: 20px 0;
        margin-top: auto;
        border-top: 1px solid var(--border-light);
        list-style: none;
    }
    .AlbaSport_menu #hdsocial li {
        margin: 0 !important;
        display: inline-block;
    }
    .AlbaSport_menu #hdsocial a {
        width: 42px !important;
        height: 42px !important;
        border-radius: 12px !important;
        background: var(--bg-box);
        transition: 0.2s;
    }
}

/* ==========================================
   13. Responsive Videos & Iframes
   ========================================== */
@media only screen and (max-width: 768px) {
    .aspwp-match-servers {
        width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
        max-width: 100vw !important;
        display: block !important;
        padding: 0 !important;
    }
    
    .asp-server-body {
        width: 100% !important;
        height: 600px !important;
        display: block !important;
    }
    
    .content_entry iframe, 
    .content_entry .video-iframe {
        width: 100% !important;
        height: 600px !important;
        margin: 0 !important;
        border-radius: 0 !important;
        display: block !important;
    }
	   #menu-bottom-controls {
        margin-top: auto !important; /* تدفع الأزرار للأسفل */
        margin-bottom: 15px !important;
        flex-shrink: 0;
    }
}

/* ==========================================
   14. Small Mobile Screens (<=576px)
   ========================================== */
@media screen and (max-width: 576px) {
    .box {
        padding: 15px;
        border-radius: 4px;
    }
    .AYaLogo .SiteName {
        font-size: 22px;
    }
    .AYaLogo .SiteUrl {
        font-size: 12px;
    }
    .team-logo-wrap.super-size {
        width: 70px;
        height: 70px;
    }
    .team-name {
        font-size: 12px;
    }
    .match-card-item .box {
        padding: 20px !important;
    }
    .match-info-title {
        font-size: 14px;
    }
    .vs-circle {
        width: 100%;
        height: 36px;
    }
    .vs-text {
        font-size: 15px;
    }
}

/* ==========================================
   15. LTR Specific Overrides (الإنجليزية)
   ========================================== */
html[dir="ltr"] .SiteUrl {
    direction: ltr;
}

html[dir="ltr"] .content_entry p {
    text-align: left;
}

html[dir="ltr"] .content_entry table td,
html[dir="ltr"] .content_entry table th {
    text-align: left;
}