/* Tutor cards: shared by the home page, /tutors.html and /tutor.html. Uses the chalkboard colour variables of each page. */
.tgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:26px}
.tc{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:30px 22px 24px;text-align:center;color:var(--chalk);text-decoration:none;border:3px solid var(--yel);border-radius:255px 18px 225px 18px/18px 225px 18px 255px;background:#0B1812;box-shadow:0 8px 22px rgba(0,0,0,.28);transition:rotate .25s,background .25s,translate .25s}
.tc:nth-child(3n+2){border-color:var(--pink)}.tc:nth-child(3n){border-color:var(--blue)}
.tc:hover,.tc:focus-visible{rotate:-1deg;translate:0 -4px;background:#0F1F18}
.av{flex:none;display:grid;place-items:center;width:104px;height:104px;overflow:hidden;border:3px solid var(--chalk);border-radius:50% 46% 54% 48%/48% 54% 46% 50%;background:rgba(255,255,255,.08);font:800 36px 'Shantell Sans',cursive;color:var(--yel)}
.av img{display:block;width:100%;height:100%;object-fit:cover}
.av.lg{width:168px;height:168px;font-size:56px}
.tc h3{margin:6px 0 0;font:800 24px/1.1 'Shantell Sans',cursive}
.tc .where{margin:0;font-size:15px;opacity:.78}
.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:4px 0}
.chip{padding:3px 11px;border:2px solid rgba(244,242,232,.55);border-radius:999px;font:700 13px Karla,sans-serif;white-space:nowrap}
.chip.f{border-color:var(--blue);color:var(--blue)}
.chip.v{border-color:#3fb37f;color:#3fb37f}
.tc .rate{margin-top:auto;padding-top:8px;font:800 22px 'Shantell Sans',cursive;color:var(--yel)}
.tc .rate small{font:500 14px Karla,sans-serif;color:var(--chalk);opacity:.7}
.tc .more{margin-top:4px;font:700 15px 'Shantell Sans',cursive;color:var(--pink)}
.tc .bio{margin:2px 0 0;font-size:15px;line-height:1.45;opacity:.85;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}


/* Long words or links (no spaces) wrap instead of spilling out of the card. */
.tc{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word}
.tc .bio{max-width:100%}
