/* Scoped refinements following the owner's mobile and people-section review. */
#people .team-buttons{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:0 0 20px}
#people .team-buttons button{min-height:44px;padding:10px 18px;font:400 14px/1.4 Rubik,Arial,sans-serif;color:#162832;background:transparent;border:1px solid #9fadaa;border-radius:0;cursor:pointer}
#people .team-buttons button[aria-pressed=true]{background:#162832;color:#fff}
#people .team-buttons button:focus-visible{outline:3px solid #9e7100;outline-offset:3px}
#people .team-bottom{display:block;text-align:center;margin-top:12px}
#people .team-bottom p{margin:0;font-size:12px}
#people .founders{align-items:start;gap:44px}
#people .founder{display:grid;grid-template-columns:140px minmax(0,1fr);grid-template-rows:auto auto auto;align-items:start;gap:10px 24px}
#people .founder>img{grid-column:1;grid-row:1/4;width:140px;height:190px;max-width:100%;object-fit:contain;object-position:center top}
#people .founder-heading{grid-column:2;min-width:0}
#people .founder h3{font:700 23px/1.4 Rubik,Arial,sans-serif;margin:0 0 4px}
#people .founder-role{font-size:14px;color:#45565d;margin:0 0 8px}
#people .founder-qualification{font-size:13px;line-height:1.65;color:#45565d;margin:0}
#people .founder-bio{grid-column:2;font-size:15px;line-height:1.8;margin:0;color:#344c55}
#people .founder-source{grid-column:2;display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:12px;line-height:1.5;color:#345866;text-decoration:underline;text-underline-offset:4px;justify-self:start}
body.de-design-enabled:has(dialog[open]){overflow:hidden;overscroll-behavior:none}
body.de-design-enabled dialog{overscroll-behavior:contain}
/* Override legacy theme rules that collapse inputs and force button text onto one line. */
body.de-design-projects .search-controls input{width:100%!important}
body.de-design-projects .card-button{white-space:normal;color:var(--ink);border:0;border-radius:0}
body.de-design-projects .card-button:hover,body.de-design-projects .card-button:focus{color:var(--ink);background:transparent;border:0}
body.de-design-projects .card-body{min-width:0;overflow-wrap:anywhere}
body.de-design-projects .hero-current{white-space:normal;max-width:100%;border:0;border-right:2px solid var(--gold);border-radius:0}
body.de-design-projects .filters button,body.de-design-projects .view-switch button,body.de-design-projects .clear{white-space:normal;color:var(--ink);border-radius:0}
body.de-design-projects .filters button[aria-pressed=true]{color:#fff}
body.de-design-projects .view-switch button[aria-pressed=true]{background:#e0e5df}
body.de-design-projects .cards.list .card-button{grid-template-columns:160px minmax(0,1fr)}
body.de-design-projects .cards.list .abstract strong{display:none}
@media(max-width:720px){body.de-design-projects .cards.list .card-button{grid-template-columns:98px minmax(0,1fr)}}
@media(max-width:700px){#de-site-footer .de-footer-brand{margin-inline:0}}
@media(max-width:420px){body.de-design-projects .search-controls{grid-template-columns:1fr}body.de-design-projects .search-controls label:first-child{grid-column:auto}}
@media(max-width:600px){body.de-design-enabled .elementor-widget-form .elementor-field-group{width:100%;max-width:100%;flex-basis:100%}body.de-design-enabled .elementor-931 .elementor-element.elementor-element-542bd12{padding-inline:18px}}
/* Reserve room for the final story chapter's project link, credit and navigation. */
@media(max-width:760px){body.de-design-home .hero.story-stage{min-height:700px}body.de-design-home .story-content{padding-bottom:225px}}
@media(max-height:740px) and (min-width:761px){body.de-design-home .hero.story-stage{min-height:600px}body.de-design-home .story-content{padding-bottom:205px}}
@media(max-width:1000px){#people .founders{grid-template-columns:1fr;gap:36px}#people .founder{grid-template-columns:140px minmax(0,1fr)}}
@media(max-width:760px){#people .team-buttons{gap:8px;margin-bottom:16px}#people .team-buttons button{font-size:13px;padding-inline:14px}#people .founder{grid-template-columns:115px minmax(0,1fr);gap:14px 20px}#people .founder>img{grid-row:1;width:115px;height:150px}#people .founder-heading{align-self:center}#people .founder h3{font-size:21px}#people .founder-bio,#people .founder-source{grid-column:1/-1}body.de-design-enabled .search-controls input,body.de-design-enabled .search-controls select,body.de-design-enabled input.elementor-field,body.de-design-enabled textarea.elementor-field,body.de-design-enabled select.elementor-field{font-size:16px}}
@media(max-width:360px){#people .team-buttons button{padding-inline:12px}#people .founder{grid-template-columns:100px minmax(0,1fr);gap:12px 16px}#people .founder>img{width:100px;height:135px}#people .founder h3{font-size:19px}}
