/* Team cards are full-width siblings of the introduction and form. */
.team-layout-refined .team-contact-card{display:block;padding:38px;border-radius:22px}
.team-layout-refined .team-intro{max-width:800px;margin:0 0 30px}
.team-layout-refined .team-intro h2{max-width:680px;font-size:clamp(32px,3.5vw,44px);line-height:1.15;margin:0 0 20px}
.team-layout-refined .team-intro>p{max-width:740px;font-size:16px;line-height:1.85;margin:0}
.team-layout-refined .team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;width:100%;min-width:0;margin:0 0 35px;align-items:start}
.team-layout-refined .team-card{display:block;min-width:0;width:100%;padding:27px 24px;border:1px solid #d3dfc6;border-radius:18px;text-align:left;box-sizing:border-box}
.team-layout-refined .team-card .team-portrait{width:112px;height:112px;margin:0 0 22px;max-width:100%}
.team-layout-refined .team-card h3{font-family:'Plus Jakarta Sans',sans-serif;font-size:23px;font-weight:600;line-height:1.4;letter-spacing:-.01em;white-space:nowrap;word-spacing:.02em;margin:0 0 9px;text-align:left;word-break:normal;overflow-wrap:normal}
.team-layout-refined .team-country{display:inline-flex;align-items:center;gap:8px;font-size:12px;line-height:1.5;margin:0 0 5px}
.team-layout-refined .team-country img{width:24px;height:17px;object-fit:cover;flex:none}
.team-layout-refined .team-biography{width:100%;min-width:0;max-width:none;margin-top:16px}
.team-layout-refined .team-biography>.team-bio{font-size:15px!important;line-height:1.75!important;margin:0 0 14px!important;color:#3d5a3e;max-width:none}
.team-layout-refined .team-card .team-bio-long{font-size:15px;line-height:1.85;max-width:none;width:100%;margin:0;color:#5c6e55;word-break:normal;overflow-wrap:normal}
.team-layout-refined .team-card .team-bio-long:not(.expanded){display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.team-layout-refined .team-card .team-bio-long.expanded{display:block;-webkit-line-clamp:unset;overflow:visible}
.team-layout-refined .team-bio-toggle{font-size:13px;padding:14px 0 0;margin-top:16px;line-height:1.5;text-align:left;white-space:nowrap}
.team-layout-refined .team-contact-card>.contact-form{border-top:1px solid #d7e1cb;padding-top:30px;width:100%;max-width:none;margin:0}
@media(max-width:1100px){.team-layout-refined .team-contact-card{padding:30px}.team-layout-refined .team-grid{grid-template-columns:minmax(0,1fr);gap:20px}.team-layout-refined .team-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:0 25px;padding:27px}.team-layout-refined .team-card .team-portrait{grid-column:1;grid-row:1/span 3;margin:0}.team-layout-refined .team-card h3{grid-column:2;grid-row:1}.team-layout-refined .team-country{grid-column:2;grid-row:2;justify-self:start}.team-layout-refined .team-biography{grid-column:2;grid-row:3;margin-top:13px}}
@media(max-width:650px){.team-layout-refined .team-contact-card{padding:26px 19px}.team-layout-refined .team-intro{margin-bottom:25px}.team-layout-refined .team-intro>p{font-size:15px;line-height:1.8}.team-layout-refined .team-grid{gap:19px;margin-bottom:28px}.team-layout-refined .team-card{display:block;padding:25px 22px}.team-layout-refined .team-card .team-portrait{width:108px;height:108px;margin:0 0 20px}.team-layout-refined .team-card h3{font-size:23px;line-height:1.4}.team-layout-refined .team-biography{margin-top:15px}.team-layout-refined .team-card .team-bio-long{font-size:15px;line-height:1.85}.team-layout-refined .team-contact-card>.contact-form{padding-top:25px}}
@media(max-width:360px){.team-layout-refined .team-contact-card{padding:23px 15px}.team-layout-refined .team-card{padding:23px 18px}.team-layout-refined .team-card h3{font-size:22px;letter-spacing:-.01em}}
/* Shared card bottoms keep all bio controls on one baseline, including expansion. */
@media(min-width:1101px){
 .team-layout-refined .team-grid{align-items:stretch}
 .team-layout-refined .team-card{display:flex;flex-direction:column}
 .team-layout-refined .team-card .team-portrait{flex-shrink:0}
 .team-layout-refined .team-biography{display:flex;flex-direction:column;flex:1}
 .team-layout-refined .team-biography>.team-bio{min-height:3.5em;flex-shrink:0}
 .team-layout-refined .team-card .team-bio-long{flex-shrink:0;margin-bottom:16px}
 .team-layout-refined .team-bio-toggle{margin-top:auto;flex-shrink:0}
}
/* Larger original portraits retain more facial detail at normal reading size. */
.team-layout-refined .team-card .team-portrait{width:144px;height:144px}
.team-layout-refined .team-portrait img{image-rendering:auto;filter:none}
.team-layout-refined .team-contact-card>.contact-form{border-top:0;padding-top:10px}
@media(min-width:651px) and (max-width:1100px){.team-layout-refined .team-card{grid-template-columns:144px minmax(0,1fr)}}
/* One shared section: profiles on the left, the existing enquiry form on the right. */
.team-layout-refined .team-contact-card{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:42px;align-items:start}
.team-layout-refined .team-profile-column{min-width:0}
.team-layout-refined .team-profile-column .team-intro{margin-bottom:26px}
.team-layout-refined .team-profile-column .team-intro h2{font-size:clamp(31px,3vw,40px);line-height:1.18}
.team-layout-refined .team-profile-column .team-intro>p{font-size:15px;line-height:1.8}
.team-layout-refined .team-profile-column .team-grid{grid-template-columns:minmax(0,1fr);gap:18px;margin:0;align-items:start}
.team-layout-refined .team-profile-column .team-card{display:grid;grid-template-columns:144px minmax(0,1fr);gap:0 21px;padding:24px 22px;align-items:center}
.team-layout-refined .team-profile-column .team-card .team-portrait{grid-column:1;grid-row:1/span 2;margin:0;width:144px;height:144px}
.team-layout-refined .team-profile-column .team-card h3{grid-column:2;grid-row:1;align-self:end;margin-bottom:10px}
.team-layout-refined .team-profile-column .team-country{grid-column:2;grid-row:2;align-self:start;margin:0}
.team-layout-refined .team-profile-column .team-biography{display:block;grid-column:1/-1;grid-row:3;margin-top:20px}
.team-layout-refined .team-profile-column .team-biography>.team-bio{min-height:0}
.team-layout-refined .team-profile-column .team-bio-toggle{margin-top:14px}
.team-layout-refined .team-contact-card>.contact-form{padding-top:0;border:0;align-self:start;min-width:0}
@media(max-width:1100px){.team-layout-refined .team-contact-card{gap:28px;padding:28px}.team-layout-refined .team-profile-column .team-card{padding:22px 19px;gap:0 17px}.team-layout-refined .team-profile-column .team-card h3{font-size:22px}}
@media(max-width:999px){.team-layout-refined .team-contact-card{grid-template-columns:minmax(0,1fr);gap:30px}.team-layout-refined .team-profile-column .team-card h3{font-size:23px}}
@media(max-width:650px){.team-layout-refined .team-contact-card{padding:26px 19px}.team-layout-refined .team-profile-column .team-card{display:block;padding:24px 22px}.team-layout-refined .team-profile-column .team-card .team-portrait{margin-bottom:20px}.team-layout-refined .team-profile-column .team-biography{margin-top:16px}.team-layout-refined .team-profile-column .team-card h3{font-size:23px}}
@media(max-width:360px){.team-layout-refined .team-contact-card{padding:23px 15px}.team-layout-refined .team-profile-column .team-card{padding:23px 18px}.team-layout-refined .team-profile-column .team-card h3{font-size:22px}}
/* Compact introductions balance the existing form; full biographies are opt-in. */
.team-layout-refined .team-contact-card{padding:38px;gap:48px;align-items:center;background:linear-gradient(130deg,#fffdf8,#f0f4e9)}
.team-layout-refined .team-profile-column .team-intro{margin-bottom:22px}
.team-layout-refined .team-profile-column .team-intro h2{font-size:38px;line-height:1.13;margin-bottom:17px}
.team-layout-refined .team-profile-column .team-intro>p{font-size:15px;line-height:1.8}
.team-layout-refined .team-profile-column .team-grid{gap:0}
.team-layout-refined .team-profile-column .team-card{display:grid;grid-template-columns:120px minmax(0,1fr);gap:0 22px;padding:22px 0;background:none;border:0;border-bottom:1px solid #d7e2cc;border-radius:0;box-shadow:none;align-items:center}
.team-layout-refined .team-profile-column .team-card:last-child{border-bottom:0;padding-bottom:0}
.team-layout-refined .team-profile-column .team-card .team-portrait{grid-column:1;grid-row:1;width:120px;height:120px;margin:0;border-width:3px;box-shadow:0 5px 16px #2b4b3114}
.team-layout-refined .team-identity{grid-column:2;grid-row:1;min-width:0;align-self:center}
.team-layout-refined .team-profile-column .team-identity h3{font-size:23px;line-height:1.3;margin:0 0 5px;letter-spacing:-.01em;white-space:nowrap}
.team-layout-refined .team-identity .team-country{font-size:11px;line-height:1.5;margin:0}
.team-layout-refined .team-identity>.team-bio{font-size:14px!important;line-height:1.65!important;margin:8px 0 0!important;min-height:3.3em;color:#53694c}
.team-layout-refined .team-profile-column .team-identity .team-bio-toggle{display:inline-flex;width:auto;padding:0;margin:8px 0 0;font-size:12px;line-height:1.65;border:0;border-bottom:1px solid #8da37a;border-radius:0;text-align:left;color:#2c5b3a;white-space:nowrap}
.team-layout-refined .team-profile-column .team-biography{grid-column:1/-1;grid-row:2;margin:0;padding:0;display:block}
.team-layout-refined .team-profile-column .team-card .team-bio-long:not(.expanded){display:none}
.team-layout-refined .team-profile-column .team-card .team-bio-long.expanded{display:block;font-size:15px;line-height:1.85;margin:19px 0 0;padding-top:18px;border-top:1px solid #dbe3d0;width:100%}
.team-layout-refined .team-contact-card>.contact-form{padding:27px;background:#fffefb;border:1px solid #e0e6d7;border-radius:18px;box-shadow:0 12px 32px #29462f09;align-self:center}
.team-layout-refined .team-contact-card>.contact-form>label{font-size:12px}
.team-layout-refined .team-contact-card>.contact-form>button{background:#29573f;border-color:#29573f;font-size:12px;padding-top:14px;padding-bottom:14px;white-space:nowrap}
@media(max-width:1100px){.team-layout-refined .team-contact-card{padding:28px;gap:30px;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr)}.team-layout-refined .team-profile-column .team-card{grid-template-columns:104px minmax(0,1fr);gap:0 17px}.team-layout-refined .team-profile-column .team-card .team-portrait{width:104px;height:104px}.team-layout-refined .team-profile-column .team-intro h2{font-size:33px}.team-layout-refined .team-profile-column .team-identity h3{font-size:22px}.team-layout-refined .team-contact-card>.contact-form{padding:22px}}
@media(max-width:999px){.team-layout-refined .team-contact-card{grid-template-columns:minmax(0,1fr);gap:30px}.team-layout-refined .team-profile-column .team-card{grid-template-columns:120px minmax(0,1fr);gap:0 24px}.team-layout-refined .team-profile-column .team-card .team-portrait{width:120px;height:120px}.team-layout-refined .team-profile-column .team-identity h3{font-size:23px}.team-layout-refined .team-identity>.team-bio{min-height:0}}
@media(max-width:650px){.team-layout-refined .team-contact-card{padding:25px 19px}.team-layout-refined .team-profile-column .team-intro h2{font-size:32px}.team-layout-refined .team-profile-column .team-card{display:grid;grid-template-columns:minmax(0,1fr);padding:23px 0;gap:0}.team-layout-refined .team-profile-column .team-card .team-portrait{grid-column:1;grid-row:1;width:104px;height:104px;margin:0 0 15px}.team-layout-refined .team-identity{grid-column:1;grid-row:2}.team-layout-refined .team-profile-column .team-biography{grid-column:1;grid-row:3}.team-layout-refined .team-contact-card>.contact-form{padding:22px 17px}.team-layout-refined .team-profile-column .team-card .team-bio-long.expanded{font-size:15px;line-height:1.85}.team-layout-refined .team-contact-card>.contact-form>button{font-size:12px}}
@media(max-width:360px){.team-layout-refined .team-contact-card{padding:23px 15px}.team-layout-refined .team-profile-column .team-identity h3{font-size:22px}}
.team-layout-refined .team-profile-column .team-identity .team-bio-toggle{border-bottom:0;text-decoration:underline;text-underline-offset:4px;align-items:center;min-height:32px;margin-top:0}
@media(min-width:1000px){.team-layout-refined .team-contact-card>.contact-form{align-self:start;margin-top:60px}}
@media(max-width:1100px){.team-layout-refined .team-profile-column .team-identity .team-bio-toggle{min-height:44px}}
@media(max-width:999px){.team-layout-refined .team-contact-card>.contact-form{margin-top:0}}
/* The preview and expanded view are the SAME biography paragraph. */
.team-layout-refined .team-profile-column .team-identity>.team-bio-long,
.team-layout-refined .team-profile-column .team-identity>.team-bio-long.expanded{width:100%;max-width:none;margin:8px 0 0;padding:0;border:0;font-size:14px;line-height:1.65;color:#53694c}
.team-layout-refined .team-profile-column .team-identity>.team-bio-long:not(.expanded){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.team-layout-refined .team-profile-column .team-identity>.team-bio-long.expanded{display:block;-webkit-line-clamp:unset;overflow:visible}
.team-layout-refined .team-profile-column .team-identity>.team-bio-toggle{margin-top:7px}
.team-layout-refined .team-profile-column .team-identity>.team-bio-long,
.team-layout-refined .team-profile-column .team-identity>.team-bio-long.expanded{font-size:15px;line-height:1.75}
.team-layout-refined .team-profile-column .team-card .team-portrait{align-self:start}
/* Two profile columns over two rows: the third person uses the lower row. */
@media(min-width:1200px),(min-width:651px) and (max-width:999px){
 .team-layout-refined .team-profile-column .team-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;align-items:start}
 .team-layout-refined .team-profile-column .team-card{display:block;padding:18px 17px;border:1px solid #d7e2cb;border-radius:16px;background:#f7f9ef;box-shadow:none;min-width:0}
 .team-layout-refined .team-profile-column .team-card .team-portrait{width:96px;height:96px;margin:0 0 14px}
 .team-layout-refined .team-profile-column .team-identity h3{font-size:22px;white-space:nowrap}
 .team-layout-refined .team-profile-column .team-card:last-child{display:grid;grid-column:1/-1;grid-template-columns:96px minmax(0,1fr);gap:0 21px;padding:19px 20px;border-bottom:1px solid #d7e2cb}
 .team-layout-refined .team-profile-column .team-card:last-child .team-portrait{grid-column:1;grid-row:1;margin:0}
 .team-layout-refined .team-profile-column .team-card:last-child .team-identity{grid-column:2;grid-row:1}
 .team-layout-refined .team-profile-column .team-card:has(.team-bio-long.expanded){grid-column:1/-1}
}
@media(min-width:1200px),(min-width:651px) and (max-width:999px){
 .team-layout-refined .team-profile-column .team-card:last-child:has(.expanded) .team-identity{display:contents}
 .team-layout-refined .team-profile-column .team-card:last-child:has(.expanded) .team-portrait{grid-row:1/span 2}
 .team-layout-refined .team-profile-column .team-card:last-child .team-bio-long.expanded{grid-column:1/-1;grid-row:3;margin-top:17px}
 .team-layout-refined .team-profile-column .team-card:last-child:has(.expanded) .team-bio-toggle{grid-column:1/-1;grid-row:4;justify-self:start}
}
