/* الصفحة كلها إنجليزي / من اليسار */
.wc-wrapper {
    direction: ltr;
    width: 100%;
}

.wc-history-container {
    direction: ltr;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
    margin: 20px 0;
}

/* الكارت — أعرض شوية */
.wc-card {
    background: #f8fafc; /* خلفية فاتحة */
    border: 1px solid #d9dee7;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    min-height: 210px;
}

/* الهيدر */
.wc-header {
    background: #1f1f1f;
    color: #ffd700;
    font-weight: 800;
    font-size: 14px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* جسم الكارت */
.wc-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
}

/* اللوجو في اليسار */
.wc-logo-wrap {
    flex: 0 0 88px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.wc-logo {
    width: 88px;
    height: auto;
    object-fit: contain;
}

/* النصوص في اليمين */
.wc-info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

/* الفائز: علم صغير جنب الاسم */
.wc-winner {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
}

.wc-winner-flag {
    width: 28px;   /* أصغر بوضوح */
    height: 18px;
    object-fit: cover;
    border-radius: 3px;
    flex: 0 0 auto;
}

.wc-winner-name {
    font-size: 28px;  /* أكبر */
    font-weight: 900; /* أسمن */
    color: #19a44b;
    letter-spacing: 0.2px;
}

.wc-runner {
    font-size: 15px;
    color: #111827;
}

.wc-scorer {
    font-size: 15px;
    color: #111827;
    line-height: 1.6;
}

/* ريسبونسف */
@media (max-width: 1200px) {
    .wc-history-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .wc-history-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wc-winner-name {
        font-size: 24px;
    }
}

@media (max-width: 560px) {
    .wc-history-container {
        grid-template-columns: 1fr;
    }

    .wc-main {
        align-items: center;
    }
}
.cpl-stat-back {
    margin-bottom: 15px;
}

.cpl-stat-back a {
    color: #ffd800;
    text-decoration: none;
    font-weight: bold;
}

.cpl-stat-back a:hover {
    text-decoration: underline;
}