/* Scoped tutor and country presentation; existing site branding is preserved. */
/* Shared premium tokens keep these directory pages aligned with the main UI. */
.teacher-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.tutor-photo{margin:0;position:relative;background:var(--off)}.tutor-photo img{display:block;width:100%;height:280px;object-fit:cover;object-position:center 28%}.teacher-card{display:flex;flex-direction:column}.teacher-card .tutor-card-body{display:flex;flex-direction:column;flex:1;padding:24px}.teacher-card h3{font-size:21px}.curriculum-tags{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.curriculum-tags span{font-size:11px;font-weight:600;color:#6b2828;background:#fff4f4;border:1px solid #f0dddd;padding:4px 8px;border-radius:4px}.tutor-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:auto;padding-top:16px}.tutor-actions .text-link{margin-top:0;gap:7px}.tutor-actions .icon{width:17px}.country-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.country-card{padding:28px;border:1px solid var(--border);border-radius:10px;background:white;display:flex;flex-direction:column}.country-card h3{font-size:23px;margin:18px 0 8px}.country-card p{font-size:15px}.country-card .text-link{gap:8px;margin-top:auto;padding-top:16px}.country-icon{display:grid;place-items:center;width:44px;height:44px;background:#fff4f4;border-radius:8px;color:var(--red)}.footer-countries{border-top:1px solid #303030;padding-top:24px;margin-top:34px}.footer-countries nav{display:flex;flex-wrap:wrap;gap:8px 26px}.footer-countries a{min-height:44px;display:inline-flex;align-items:center}.country-hero h1{font-size:clamp(34px,4vw,54px);max-width:1000px}.tutor-profile{display:grid;grid-template-columns:1fr 1.4fr;gap:40px;align-items:center}.tutor-profile .tutor-photo img{height:360px}.nav-links{gap:14px}.tutor-menu .dropdown-panel{min-width:230px}
@media(max-width:1100px){.teacher-grid,.country-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.tutor-profile{grid-template-columns:1fr}.country-hero h1{font-size:36px}.tutor-photo img{height:260px}}
@media(max-width:600px){.teacher-grid,.country-grid{grid-template-columns:1fr}.tutor-photo img{height:300px}.country-hero h1{font-size:32px}.country-card{padding:24px}.footer-countries nav{gap:6px 22px}}
.country-card{border-radius:18px;background:linear-gradient(145deg,#fffdfa,#faf5f2)}
.country-icon{border-radius:12px;background:#f6e6e7}
.curriculum-tags span{border-radius:100px}

/* Tutor directory and profile refinements, scoped to the existing card system. */
.teacher-grid{align-items:stretch}
.teacher-card{min-width:0;height:100%}
.teacher-card .tutor-photo{flex:none;overflow:hidden}
.tutor-photo img{object-fit:cover;object-position:center}
.teacher-card .tutor-photo img{height:auto;aspect-ratio:9 / 8}
.teacher-card .tutor-card-body{gap:0}
.teacher-card .tutor-card-body h3{margin:12px 0;font-size:21px;line-height:1.3}
.teacher-card .tutor-card-body p{font-size:16px;line-height:1.75;margin:0 0 16px}
.teacher-card .tutor-card-body>.kicker{font-size:11px;line-height:1.5}
.tutor-actions{gap:10px;padding-top:12px}
.tutor-actions>a{min-height:46px;font-size:14px}
.tutor-actions .btn{padding:11px 14px}
.tutor-filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}
.tutor-filter{min-height:46px;padding:10px 18px;border:1px solid var(--border);border-radius:100px;background:white;color:var(--black);font-size:14px;font-weight:600;transition:background .2s,border-color .2s,color .2s,box-shadow .2s}
.tutor-filter:hover{border-color:var(--red);background:#fff4f4;color:var(--red)}
.tutor-filter[aria-pressed=true]{background:var(--red);border-color:var(--red);color:white;box-shadow:0 4px 14px #bb183320}
.tutor-filter:focus-visible{outline:3px solid var(--red);outline-offset:4px}
.tutor-result-count{font-size:14px;margin:0 0 24px;color:var(--muted)}
.tutor-profile .tutor-photo{border-radius:18px;overflow:hidden}
.tutor-profile .tutor-photo img{height:auto;aspect-ratio:9 / 8}
@media(max-width:600px){.teacher-card .tutor-card-body{padding:22px}.tutor-filter{padding:10px 14px}.tutor-filters{gap:8px}.teacher-card .tutor-card-body h3{font-size:22px}.tutor-actions{column-gap:14px}}
