/* Portfolio thumbnails must not retain the attachment's HTML height. */
.card>img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
@media(max-width:640px){
 body>header .slogan{font-size:13px;line-height:1.35}
 body>header .slogan svg{width:23px;height:15px}
 .home .hero-copy h1{font-size:26px;line-height:1.18;letter-spacing:-.025em}
 body>header nav{display:block;height:auto;white-space:normal;overflow:visible;padding:10px 16px;border-color:#e9e5e2}
 body>header nav .pd-primary-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:0;width:100%;margin:0;padding:0}
 body>header nav .pd-primary-menu>li{min-width:0;margin:0;display:flex}
 body>header nav .pd-primary-menu>li>a{display:flex;align-items:center;justify-content:center;min-height:42px;width:100%;padding:8px 7px;border:1px solid #e4dfd4;border-radius:5px;background:#fbfaf6;white-space:normal;text-align:center;font:600 12px/1.3 Arial,sans-serif;color:#40494d;overflow-wrap:anywhere}
 body>header nav .pd-primary-menu>li>a:hover,body>header nav .pd-primary-menu>li.current-menu-item>a{background:#e7f0ed;border-color:#a8c5bd;color:#2f7470}
 body>header nav .pd-primary-menu>li>a::after{display:none}
}
