/* Final requested updates only; the retained homepage layout remains in homepage.css. */
.yd-home .services .service-card{grid-template-columns:1fr;grid-template-rows:auto 1fr;align-items:stretch}
.yd-home .services .service-card>img{width:100%;height:auto!important;aspect-ratio:3/2;object-fit:contain!important;object-position:center;background:#f5f5ed}
.yd-home .services .card-copy{display:flex;flex-direction:column;align-items:flex-start}
.yd-home .services .card-copy>.button{margin-top:auto}
.yd-home .area-card:not(.all-areas){overflow:hidden;background:#4e5a43}
.yd-home .area-card:not(.all-areas)>img{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover}
.yd-home .area-card:not(.all-areas)::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,#0000 12%,#0003 45%,#000c 100%)}
.yd-home .area-card:not(.all-areas) strong,.yd-home .area-card:not(.all-areas)>span:last-child{position:relative;z-index:2;color:#fff;text-shadow:0 1px 3px #0009}
.yd-home .area-card:not(.all-areas) .area-pin{display:none}
.yd-home .photo-credits{margin-top:13px;color:var(--muted);font-size:11px;text-align:center;line-height:1.7}
.yd-home .photo-credits summary{display:inline-block;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.yd-home .photo-credits p{max-width:900px;margin:12px auto 0}
.yd-home .photo-credits a{text-decoration:underline}
.yd-home .trustindex-reviews{min-width:0;min-height:300px}
.yd-home .trustindex-reviews .ti-widget{max-width:100%;width:100%}
.yd-home .site-footer{background:#10243A;color:#DCE5EF}
.yd-home .site-footer h2,.yd-home .site-footer h3{color:#fff!important}
.yd-home .site-footer h3{font-size:14px;letter-spacing:0;line-height:1.5;margin:18px 0 9px}
.yd-home .site-footer .button{background:#FFDE17;border-color:#FFDE17;color:#111}
.yd-home .site-footer .button:hover{background:#f0cb00}
.yd-home .socials{gap:10px;margin-top:16px}
.yd-home .socials a{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;color:#DCE5EF;border:1px solid #ffffff40;border-radius:50%}
.yd-home .socials a:hover{color:#FFDE17;border-color:#FFDE17}
.yd-home .socials svg{width:18px;height:18px}
.yd-home .footer-bottom-shell{background:#0B1929}
.yd-home .footer-bottom{border-top:0;gap:16px;align-items:center}
.yd-home .footer-bottom nav{display:flex;gap:7px;flex-wrap:wrap}
.yd-home .content-hero h1{font-size:48px;color:var(--ink)!important;letter-spacing:-1.8px;max-width:850px}
.yd-home .content-subheading{font-size:23px;font-weight:700;line-height:1.4}
.yd-home .content-intro{max-width:850px;color:var(--muted)}
.yd-home .prose{max-width:850px}
.yd-home .prose p,.yd-home .content-columns p{color:var(--muted)}
.yd-home .content-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:65px}
.yd-home .content-columns h2{font-size:30px}
.yd-home .about-instructors>article{border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden}
.yd-home .about-instructors>article>img{width:100%;max-height:400px;object-fit:contain;background:#f5f5ed}
.yd-home .about-instructors h3{font-size:23px;line-height:1.3}
.yd-home .about-instructors p{font-size:15px;color:var(--muted)}
.yd-home .sitemap-links{list-style:none;margin:0;padding:0}
.yd-home .sitemap-links li{border-bottom:1px solid var(--line)}
.yd-home .sitemap-links a{display:block;padding:12px 0;color:#233d57;text-decoration:underline;text-underline-offset:4px}
@media(max-width:700px){
 .yd-home .topbar .wrap{flex-wrap:wrap;gap:1px 16px;line-height:1.6;text-align:center;padding-block:6px}
 .yd-home .topbar a{display:inline-flex;gap:5px;font-size:10px}
 .yd-home .content-hero h1{font-size:35px;letter-spacing:-1px}
 .yd-home .content-subheading{font-size:20px}
 .yd-home .content-columns{grid-template-columns:1fr;gap:35px}
 .yd-home .content-columns h2{font-size:27px}
 .yd-home .footer-bottom nav{margin-top:8px}
 .yd-home .services .card-copy{padding:24px}
 .yd-home .trustindex-reviews{min-height:350px}
}
