/*
 * تسک ۱۴۰۵/۰۸/۰۹، بند ۶ — a sport's icon before its name, at one size and one
 * gap wherever a sport is shown: the sports list, tables, details and the
 * sport form's preview. The option lists and the chosen value of a sport field
 * are drawn by the dropdown standard (agency-filters.css, `.afs-media`), at
 * the same 1.25rem, so a sport looks the same open and closed, in a list and
 * in a table.
 *
 * In Persian the icon comes first, so it stands to the right of the name; the
 * name stays text, which keeps search, copy and screen readers on it.
 */
.pa-sport-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    max-width: 100%;
    vertical-align: middle;
}

.pa-sport-label-text {
    min-width: 0;
}

.pa-sport-icon {
    flex: 0 0 auto;
    width: 1.25rem;
    height: 1.25rem;
    object-fit: contain;
}

.pa-sport-icon-list {
    width: 1.75rem;
    height: 1.75rem;
}

.pa-sport-icon-large {
    width: 4rem;
    height: 4rem;
}

.pa-sport-labels {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 0.75rem;
}

.pa-sport-icon-preview {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: var(--gray-500, #6b7280);
}

/* تسک ۱۴۰۵/۰۸/۰۹/۰۳، بند ۱ — «ویرایش: فوتبال»: the sport's name in
   photoaman's red, its current icon before it (on its right in Persian). */
.pa-sport-heading-name {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #b84249;
    vertical-align: middle;
}

.pa-sport-icon-heading {
    width: 2rem;
    height: 2rem;
}

/* بند ۲ — the preview and the upload face each other on one row; the preview
   sits at the top of its half rather than floating in the middle of it. */
.pa-sport-icon-row > .fi-grid {
    align-items: start;
}

/* بند ۳ — the English title reads left to right, against the left edge. */
.pa-sport-name-en {
    direction: ltr;
    text-align: left;
}
