/* Homepage only: load after expansion styles. Square atlas cells are cropped, never stretched. */
.tea-home #countries .origin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.tea-home #countries .origin-card.expand-tea-card{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;padding:0;overflow:hidden;background:#fffdf7;border-radius:16px;min-width:0}
.tea-home #countries .tea-country-cover{display:block;position:relative;width:100%;aspect-ratio:4/3;flex:none;overflow:hidden;background:#f0eadd}
.tea-home #countries .tea-country-cover img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center}
.tea-home #countries .tea-country-sprite::before{content:"";display:block;position:absolute;width:100%;aspect-ratio:1;left:0;top:50%;transform:translateY(-50%);background-image:url('assets/tea-origins.png');background-size:600% 400%;background-position:var(--country-position);background-repeat:no-repeat}
.tea-home #countries .tea-country-copy{display:block;padding:20px 22px 23px;min-height:104px;box-sizing:border-box}
.tea-home #countries .tea-country-copy strong{display:block;font-size:clamp(23px,2.1vw,29px);line-height:1.2;overflow-wrap:anywhere}
.tea-home #countries .tea-country-copy small{display:block;margin-top:9px;font-size:15px;line-height:1.4;color:#5c6656}
.tea-home #countries .origin-card:focus-visible{outline:3px solid #85543b;outline-offset:4px}
@media(max-width:850px){.tea-home #countries .origin-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}
@media(max-width:550px){.tea-home #countries .origin-grid{grid-template-columns:1fr;gap:22px}.tea-home #countries .tea-country-copy{padding:19px 21px 22px;min-height:0}.tea-home #countries .tea-country-copy strong{font-size:27px}}
