/* Homepage only: shared card geometry and navigation actions. */
.home .cards-grid{align-items:stretch}
.home .section--solutions .feature-body{padding:24px;gap:0}
.home .section--solutions .feature-body p{margin-bottom:24px}
.home .section--solutions .feature-body .button{margin-top:auto;width:100%}
.home :is(.feature-card,.resource-card,.plan-card) .button{display:flex;justify-content:space-between;gap:16px;min-height:48px;padding:12px 20px;line-height:1.35;font-size:19px;border-radius:12px;text-align:left;box-sizing:border-box}
.home :is(.feature-card,.resource-card,.plan-card) .button>span[aria-hidden]{flex:0 0 24px;text-align:center;line-height:1;font-size:24px}
.home :is(.resource-card,.plan-card){align-items:stretch;padding:28px;gap:24px}
.home :is(.resource-copy,.plan-copy){align-self:stretch;align-items:stretch;min-width:0}
.home :is(.resource-copy,.plan-copy) .round-icon{width:64px;height:64px;flex-shrink:0;margin:0 0 24px;border-radius:18px}
.home :is(.resource-copy,.plan-copy) .semantic-icon{width:36px;height:36px}
.home :is(.resource-copy,.plan-copy)>p{margin:0 0 24px}
.home :is(.resource-copy,.plan-copy)>.button{margin-top:auto;width:100%}
.home .resource-copy>.button-row{margin-top:auto;gap:12px;width:100%}
.home .resource-copy>.button-row>.button{margin:0;width:100%}
.home :is(.resource-card,.plan-card)>img:not(.tc-icon){align-self:center;width:100%;max-width:100%;transform:none;object-fit:contain}
.home .about-card>div{display:flex;flex-direction:column;align-self:stretch;min-width:0}
.home .about-card p{margin-bottom:20px}
.home .about-card .text-link{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;margin-top:auto;text-align:left}
.home .about-card .text-link>span{flex-shrink:0}
@media(max-width:960px){
 .home :is(.resource-card,.plan-card){grid-template-columns:1fr;grid-template-rows:auto 1fr}
 .home :is(.resource-card,.plan-card)>img:not(.tc-icon){grid-row:1;height:240px;width:100%;max-width:100%;order:initial}
 .home :is(.resource-copy,.plan-copy){grid-row:2}
}
@media(max-width:680px){
 .home :is(.resource-card,.plan-card){padding:24px}
 .home :is(.resource-card,.plan-card)>img:not(.tc-icon){height:210px}
}

/* Independent, equally weighted entry points for Courses, Games and Material. */
.home .home-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.home .home-resource-grid .resource-card{display:flex;flex-direction:column;gap:24px;min-height:0;padding:28px}
.home .home-resource-grid .resource-card>.resource-image{width:100%;height:220px;flex:none;max-width:100%;object-fit:contain;align-self:center;order:initial}
.home .home-resource-grid .resource-copy{flex:1;width:100%}
.home .home-resource-grid .round-icon{margin-bottom:20px}
.home .home-resource-grid h3{font-size:28px}
.home .home-resource-grid .resource-card--mint{background:linear-gradient(135deg,#f4fcf7,#e8f6ef)}
.home .round-icon--mint{background:#d9eee3;color:#176c46}
@media(max-width:960px){.home .home-resource-grid{grid-template-columns:1fr}.home .home-resource-grid .resource-card>.resource-image{max-width:430px;height:240px}}
@media(max-width:680px){.home .home-resource-grid .resource-card{padding:24px}.home .home-resource-grid .resource-card>.resource-image{height:210px}}

/* Illustration-only adjustments: retain the original layout slots. */
.home .section--solutions .feature-media{box-sizing:border-box;background:#fff;padding:8px 10px;flex-shrink:0}
.home .section--solutions .feature-media img{border-radius:14px}
.home .home-art-slot{position:relative;min-width:0;align-self:center;width:100%;aspect-ratio:3/2}
.home .home-art-frame{position:absolute;inset:-30px -16px -30px -8px;border:4px solid transparent;border-radius:18px;background:transparent;overflow:hidden;isolation:isolate}
.home .home-art-frame>img:not(.tc-icon){display:block;width:100%;height:100%;max-width:100%;max-height:none;object-fit:contain;transform:scale(1.10);border-radius:0;filter:none;clip-path:none}
.home .home-resource-grid .home-art-slot{aspect-ratio:auto}
.home .home-resource-grid .home-art-frame{inset:-20px -16px -8px}
.home .home-resource-grid .home-art-frame>img:not(.tc-icon){transform:scale(1.06)}
@media(max-width:960px){.home .plan-card>.home-art-slot{grid-row:1;height:240px;aspect-ratio:auto}.home .plan-card .home-art-frame{inset:-16px -12px -8px}.home .home-resource-grid .resource-card>.home-art-slot{max-width:430px;height:240px}}
@media(max-width:680px){.home .plan-card>.home-art-slot{height:210px}.home .home-resource-grid .resource-card>.home-art-slot{height:210px}.home .home-resource-grid .home-art-frame{inset:-16px -12px -8px}}
