/**
 * Exam Chips — element stylesheet (loaded on demand by fame_pe_style()).
 * Scoped under .fame-el-exam-chips; every class is element-prefixed (fame-ec-)
 * so nothing here can reach the theme or Bootstrap.
 */

.fame-el-exam-chips {
    --ec-ink: #121F3E;
    --ec-blue: #0063E3;
    --ec-line: #dfe5f0;

    padding: 0;
    text-align: center;
    color: var(--ec-ink);
}
.fame-el-exam-chips img { display: block; max-width: 100%; }

.fame-ec-heading { margin: 0 0 14px; font-size: 15px; font-weight: 600; line-height: 1.3; }
.fame-ec-heading a, .fame-ec-heading span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ec-blue);
    text-decoration: none;
}
.fame-ec-heading a:hover { text-decoration: underline; }
.fame-ec-heading svg { width: 18px; height: 18px; }

.fame-ec-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0;
}

.fame-ec-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ec-ink);
    background: #fff;
    border: 1px solid var(--ec-line);
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 6px 16px -12px rgba(13, 27, 62, .5);
    transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease;
}
a.fame-ec-chip:hover {
    color: var(--ec-blue);
    border-color: var(--ec-blue);
    box-shadow: 0 10px 22px -12px rgba(0, 99, 227, .6);
    transform: translateY(-1px);
}
.fame-ec-chip img, .fame-ec-glyph {
    width: 22px; height: 22px;
    flex: 0 0 22px;
    border-radius: 50%;
    object-fit: cover;
}
.fame-ec-glyph { display: inline-flex; align-items: center; justify-content: center; color: #17a35d; }
.fame-ec-glyph svg { width: 20px; height: 20px; }
.fame-ec-label { white-space: nowrap; }

.fame-ec-more { padding-left: 14px; font-weight: 500; color: #3a4666; }
.fame-ec-more svg { width: 16px; height: 16px; flex: 0 0 16px; }

@media (max-width: 480px) {
    .fame-el-exam-chips { padding: 14px 12px 20px; }
    .fame-ec-chip { padding: 7px 13px 7px 8px; font-size: 13px; }
}

/* ---- "Trusted by students" strip (after the chip list) ---- */
.fame-ec-trusted {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 10px;
    max-width: 100%;
    margin: 22px auto 0;
    padding: 7px 15px;
    background-color: #f7f1e3;
    border: 1px solid #ece0c4;
    border-radius: 5px;
    text-align: left;
}
.fame-ec-trusted-ico { display: inline-flex; flex: 0 0 auto; color: #17a35d; }
.fame-ec-trusted-ico svg { width: 22px; height: 22px; }
.fame-ec-trusted-text {
    flex: 1 1 320px;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    color: #4a5570;
}
.fame-ec-trusted-flags { display: inline-flex; flex-wrap: wrap; gap: 6px; flex: 0 0 auto; }
.fame-ec-trusted-flags img {
    width: 26px; height: 18px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(13, 27, 62, .1);
}
@media (max-width: 680px) {
    .fame-ec-trusted { justify-content: center; }
    .fame-ec-trusted-text { flex-basis: 100%; text-align: center; }
    .fame-ec-trusted-flags { width: 100%; justify-content: center; }
}
.fame-ec-trusted-flag { display: inline-flex; border-radius: 3px; transition: transform .12s ease, box-shadow .15s ease; }
.fame-ec-trusted-flag:hover { transform: translateY(-1px); box-shadow: 0 6px 14px -8px rgba(13, 27, 62, .6); }
