/* Training collection only; existing site and mobile presentation stay intact. */
.tc-collection .tc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.tc-collection .tc-card{min-width:0;display:flex;flex-direction:column;border:1px solid var(--border);border-radius:12px;overflow:clip;background:var(--surface)}
.tc-collection .tc-preview{display:block;border-bottom:1px solid var(--border)}
.tc-collection .tc-preview img{display:block;width:100%;height:auto}
.tc-collection .tc-card-body{display:flex;flex-direction:column;flex:1;min-width:0;padding:22px}
.tc-collection .tc-card h3{font-size:22px;line-height:1.5;margin:0 0 12px}
.tc-collection .tc-card-body>p{margin:0 0 16px}
.tc-collection .tc-card-body>.btn{margin-top:auto}
.tc-collection .tc-benefits,.tc-detail .tc-benefits{padding-inline-start:20px;margin:0 0 20px;font-size:14px}
.tc-collection .tc-benefits li,.tc-detail .tc-benefits li{margin-bottom:6px}
.tc-collection .tc-kit,.tc-detail .tc-kit{align-self:flex-start;display:inline-block;padding:6px 10px;border-radius:6px;background:var(--brand-soft);color:var(--brand-text-strong);font-size:14px;font-weight:600;max-width:100%;overflow-wrap:anywhere}
.tc-collection .btn,.tc-detail .btn{min-height:44px;max-width:100%;white-space:normal;text-align:center}
.tc-detail .tc-hero{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px;align-items:center;margin-top:24px}
.tc-detail .tc-hero>div{min-width:0}
.tc-detail .tc-hero-image{display:block;width:100%;height:auto}
.tc-detail h1{font-size:clamp(28px,3vw,42px);line-height:1.45;overflow-wrap:anywhere;margin:0 0 20px}
.tc-detail .tc-section{padding-block:32px;border-top:1px solid var(--border)}
.tc-detail .tc-section h2{font-size:28px;line-height:1.45;margin:0 0 20px}
.tc-detail .tc-section>p{max-width:90ch}
.tc-detail .tc-topics{columns:2;column-gap:40px;padding-inline-start:24px}
.tc-detail .tc-topics li{break-inside:avoid;margin-bottom:10px;overflow-wrap:anywhere}
.tc-detail #enrollment{scroll-margin-top:100px;padding-bottom:56px}
.tc-detail .request-form{max-width:800px}
@media(max-width:1100px){
 .tc-collection .tc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:768px){
 .tc-detail .tc-hero{grid-template-columns:minmax(0,1fr);gap:20px;margin-top:12px}
 /* Phones: title, price and Buy come first; the cover follows at a capped height. */
 .tc-detail .tc-hero-copy{order:-1}
 .tc-detail .tc-hero-image{max-height:240px;width:auto;max-width:100%;margin-inline:auto;object-fit:contain;border-radius:10px}
 .tc-detail .tc-hero-copy h1{font-size:clamp(28px,7vw,34px);line-height:1.3;margin:6px 0 10px}
 .tc-detail .tc-topics{columns:1}
 .tc-detail .tc-section{padding-block:24px}
 .tc-detail .tc-section h2{font-size:24px}
 .tc-collection .tc-card-body{padding:18px}
 .tc-collection .tc-card h3{font-size:20px}
}
@media(max-width:600px){
 .tc-collection .tc-grid{grid-template-columns:minmax(0,1fr);gap:20px}
}
.tc-detail .tc-purchase{display:grid;gap:10px;justify-items:start;margin:0 0 18px;padding:16px 18px;border:1px solid var(--border);border-radius:12px;background:var(--surface);max-width:100%}
.tc-detail .tc-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin:0}
.tc-detail .tc-price span{font-size:14px;color:var(--text-muted)}
.tc-detail .tc-price strong{font-size:24px;line-height:1.3;color:var(--brand-text-strong)}
.tc-detail .tc-purchase-note{margin:0;font-size:13.5px;line-height:1.6;color:var(--text-muted)}
.tc-detail .tc-inquiry-link{display:inline-block;font-size:14px;font-weight:700;color:var(--brand-text-strong);text-decoration:underline;text-underline-offset:4px}
/* Bootcamps: one featured card per bootcamp (portrait cover beside the copy; stacks on phones). */
.bc-collection{padding-bottom:0}
.bc-card{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:28px;align-items:start;border:1px solid var(--border);border-radius:12px;padding:20px;background:var(--surface)}
.bc-preview{display:block;border-radius:10px;overflow:clip;background:var(--poster-bg)}
.bc-preview img{display:block;width:100%;height:auto}
.bc-card-body{min-width:0;display:flex;flex-direction:column}
.bc-card-body .store-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.bc-tag{display:inline-block;padding:6px 10px;border-radius:6px;background:var(--panel-dark);color:var(--on-dark);font-size:13px;font-weight:600}
.bc-card h3{font-size:24px;line-height:1.45;margin:0 0 10px}
.bc-card .store-description{margin:0 0 14px}
.bc-facts{list-style:none;padding:0;margin:0 0 14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.bc-facts li{padding:8px 12px;border:1px solid var(--border);border-radius:8px;font-size:14px;font-weight:600}
.bc-note{margin:0 0 18px;font-size:14px;color:var(--text-muted)}
.bc-actions{display:flex;flex-wrap:wrap;gap:10px}
.tc-detail .bc-facts{margin-top:4px}
.tc-detail .bc-note{margin-top:6px}
@media (max-width:720px){
 .bc-card{grid-template-columns:1fr;gap:18px;padding:16px}
 .bc-preview{max-width:360px;justify-self:center;width:100%}
 .bc-facts{grid-template-columns:1fr}
 .bc-actions .btn{flex:1 1 100%;text-align:center}
}
/* Course-only pricing shares the existing card footer alignment; package prices remain unquoted. */
.tc-collection .tc-card-body>.tc-price{margin-top:auto;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px}
.tc-collection .tc-price strong{font-size:24px;color:var(--brand-text-strong)}
.tc-collection .tc-price+.btn{margin-top:0}
