/* 
   Emirates Final Design - 100% Visual Match 
   Prefix: match-
*/

.match-emirates-section {
    direction: rtl;
    padding: 20px 0;
    background: #fff;
    font-family: 'Noto Kufi Arabic', sans-serif;
}

/* Force the container to be wide and centered */
body.emirates-page {
    width: 100% !important;
    min-width: 100% !important;
}

body.emirates-page .wrapper {
    width: 1260px !important;
    /* Fixed wide width for consistency with MOI look */
    max-width: 95% !important;
    margin: 0 auto !important;
    float: none !important;
    display: block !important;
    position: relative !important;
}

.match-emirates-section {
    direction: rtl;
    padding: 40px 0;
    background: #fff;
    width: 100% !important;
}

.match-emirates-wrapper {
    display: flex;
    flex-direction: row;
    direction: rtl !important;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    width: 100% !important;
}

/* Right Sidebar: Regions */
.match-regions-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.match-regions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #e1e1e1;
}

.match-regions-list li {
    border-bottom: 1px solid #e1e1e1;
}

.match-regions-list li:last-child {
    border-bottom: none;
}

.match-regions-list a {
    display: block;
    padding: 12px 15px;
    color: #00a65a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.match-regions-list li.active {
    background: #00a65a;
}

.match-regions-list li.active a {
    color: #fff;
    font-weight: bold;
}

/* Middle: Map and Info */
.match-main-display {
    flex: 1;
    min-width: 550px;
    display: flex;
    flex-direction: column;
}

.match-display-header {
    background: #00a65a;
    color: #fff;
    padding: 12px 20px;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.match-display-body {
    border: 1px solid #e1e1e1;
    border-bottom: none;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    background: #fff;
}

.match-display-body img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.match-display-footer {
    border: 1px solid #e1e1e1;
    border-top: none;
    padding: 20px;
    background: #fff;
}

.match-links-ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
}

.match-links-ul.active {
    display: block;
}

.match-links-ul li {
    position: relative;
    padding-right: 25px;
    margin-bottom: 12px;
}

.match-links-ul li::before {
    content: "○";
    position: absolute;
    right: 0;
    color: #00a65a;
    font-weight: bold;
    font-size: 16px;
    top: -2px;
}

.match-links-ul a {
    color: #00a65a;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

.match-links-ul a:hover {
    text-decoration: underline;
}

/* Left Sidebar: News */
.match-news-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.match-news-card {
    border: 1px solid #e1e1e1;
    background: #fff;
    margin-bottom: 20px;
    text-align: right;
}

.match-news-card h3 {
    color: #00a65a;
    font-size: 16px;
    padding: 10px 10px 5px;
    margin: 0;
}

.match-news-card .date {
    color: #666;
    font-size: 12px;
    padding: 0 10px 10px;
    margin: 0;
}

.match-news-img img {
    width: 100%;
    height: auto;
    display: block;
}

.match-news-content {
    padding: 10px;
    font-size: 13px;
    line-height: 1.6;
    color: #333;
}

.match-more-link {
    color: #00a65a;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

.match-pagination {
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 10px;
    font-size: 13px;
    color: #333;
    background: #fdfdfd;
}

.match-pager-btn {
    text-decoration: none;
    color: #ccc;
    font-weight: bold;
}

.match-pager-btn.active {
    color: #444;
}

.match-service-box {
    background: #00a65a;
    color: #fff;
    padding: 15px;
}

.match-service-title {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 40px;
}

.match-service-more {
    text-align: left;
}

.match-service-more a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .match-emirates-wrapper {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }

    .match-regions-sidebar,
    .match-main-display,
    .match-news-sidebar {
        width: 100%;
        max-width: 600px;
    }
}