/* IELTS Online Preps — students' positive feedback on their test reviews (phase 51)
   Used on the homepage (#feedback-wall) and Success stories (#feedback). Filled by assets/js/feedback-wall.js. */
.fw-stats { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 1rem; margin: -1.5rem auto 2.25rem; max-width: 900px; }
.fw-total { display: flex; align-items: center; gap: .8rem; background: var(--navy); color: #fff; border-radius: 999px; padding: .55rem 1.25rem .55rem .55rem; box-shadow: var(--shadow); }
.fw-total b { display: grid; place-items: center; min-width: 2.6rem; height: 2.6rem; padding: 0 .5rem; border-radius: 999px; background: var(--orange); font: 800 1.15rem/1 Manrope, sans-serif; }
.fw-total span { font: 700 .95rem/1.3 Manrope, sans-serif; }
.fw-skill { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .4rem .85rem; font: 700 .88rem/1 Manrope, sans-serif; color: var(--navy); }
.fw-skill .ms, .fw-card .ms { font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal; line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap; direction: ltr; -webkit-font-smoothing: antialiased; }
.fw-skill .ms { font-size: 1.05rem; color: var(--fw-c); }
.fw-skill i { font-style: normal; color: var(--muted); font-weight: 800; }

.fw-card { --fw-c: var(--teal); position: relative; display: flex; flex-direction: column; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius, 22px); padding: 1.5rem 1.5rem 1.25rem; box-shadow: var(--shadow); overflow: hidden; min-height: 100%; }
.fw-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--fw-c); }
.fw-card[data-skill="listening"], .fw-skill[data-skill="listening"] { --fw-c: var(--listening, #1aa6b7); }
.fw-card[data-skill="reading"], .fw-skill[data-skill="reading"] { --fw-c: var(--reading, #2f6fd6); }
.fw-card[data-skill="writing"], .fw-skill[data-skill="writing"] { --fw-c: var(--writing, #E87722); }
.fw-card[data-skill="speaking"], .fw-skill[data-skill="speaking"] { --fw-c: var(--speaking, #c2456b); }
.fw-head { display: flex; align-items: center; gap: .65rem; }
.fw-badge { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 14px; flex: none; background: color-mix(in srgb, var(--fw-c) 14%, #fff); color: var(--fw-c); }
.fw-badge .ms { font-size: 1.4rem; }
.fw-head b { display: block; color: var(--navy); font: 800 1rem/1.25 Manrope, sans-serif; }
.fw-head small { display: block; color: var(--muted); font: 600 .8rem/1.3 Manrope, sans-serif; }
.fw-head .fw-up { margin-left: auto; color: var(--fw-c); font-size: 1.35rem; }
.fw-points { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.fw-points li { display: flex; gap: .5rem; align-items: flex-start; color: #26324a; font: 600 .95rem/1.4 Manrope, sans-serif; }
.fw-points .ms { font-size: 1.2rem; color: var(--fw-c); font-variation-settings: "FILL" 1; margin-top: .05rem; flex: none; }
.fw-quote { margin: 0; position: relative; padding: .85rem 1rem .85rem 2.4rem; background: #f7f9fc; border-radius: 14px; color: #26324a; font-size: .98rem; line-height: 1.55; font-style: italic; }
.fw-quote::before { content: "\201C"; position: absolute; left: .7rem; top: .15rem; font: 800 2.4rem/1 Georgia, serif; color: var(--fw-c); opacity: .55; font-style: normal; }
.fw-who { margin-top: auto; display: flex; align-items: center; gap: .75rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.fw-av { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--fw-c); color: #fff; font: 800 1rem/1 Manrope, sans-serif; }
.fw-who b { display: block; color: var(--navy); font: 800 .95rem/1.25 Manrope, sans-serif; }
.fw-id { min-width: 0; }
.fw-who .fw-ver { display: flex; align-items: center; gap: .25rem; color: var(--muted); font: 600 .8rem/1.3 Manrope, sans-serif; }
.fw-ver { align-items: flex-start; } .fw-ver .fw-date { white-space: nowrap; }
.fw-ver .ms { font-size: .95rem; color: #127a4a; font-variation-settings: "FILL" 1; }

.fw-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.fw-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: -1.5rem 0 2rem; }
.fw-filters button { --fw-c: var(--navy); display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 999px; padding: .5rem 1rem; min-height: 42px; font: 700 .9rem/1 Manrope, sans-serif; cursor: pointer; }
.fw-filters button .ms { font-family: "Material Symbols Outlined"; font-weight: normal; font-size: 1.1rem; }
.fw-filters button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.fw-more[hidden] { display: none; }
.fw-more { display: flex; justify-content: center; margin-top: 2rem; }
.fw-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 1.25rem; }
@media (max-width: 600px) {
  .fw-stats { margin: -1.75rem auto 1.75rem; }
  .fw-total { width: 100%; justify-content: flex-start; }
  .fw-card { padding: 1.25rem 1.15rem 1.1rem; }
  .fw-filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: .25rem; margin: -1.75rem 0 1.5rem; }
  .fw-filters button { flex: none; }
}
