/* ============================================================
TPG – Training Programs Page
Step 2: Layout & structure styling
All styles prefixed with tpg-
No colours locked-in yet (safe neutrals only)
============================================================ */


/* ---------- BASE WRAPPER ---------- */

.tpg-wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

@media (max-width: 768px){
  .tpg-wrap{
    padding: 28px 16px;
  }
}


/* ---------- SUB NAV (menu within menu) ---------- */

.tpg-subnav{
  background: #f6f6f6;
  border-bottom: 1px solid #e0e0e0;
}

.tpg-subnav__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 24px;
  overflow-x: auto;
}

.tpg-subnav__link{
  display: inline-block;
  padding: 14px 0;
  font-size: 0.95rem;
  text-decoration: none;
  color: #444;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.tpg-subnav__link.is-active{
  font-weight: 600;
  border-bottom-color: currentColor;
}

@media (max-width: 768px){
  .tpg-subnav__inner{
    gap: 18px;
  }
}


/* ---------- TYPOGRAPHY SCALE ---------- */

.tpg-h1{ font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 12px; }
.tpg-h2{ font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 0 0 10px; }
.tpg-h3{ font-size: 1.15rem; margin: 0 0 8px; }

.tpg-p{
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 14px;
}

.tpg-p--sm{
  font-size: 0.85rem;
  opacity: 0.85;
}

.tpg-sub{
  font-size: 0.95rem;
  opacity: 0.8;
}


/* ---------- CARDS ---------- */

.tpg-card{
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 22px;
  height: 100%;
}

.tpg-card--rounded{
  border-radius: 16px;
}

.tpg-card__headRow{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}


/* ---------- BUTTONS (neutral for now) ---------- */

.tpg-btn{
  display: inline-block;
  padding: 10px 16px;
  font-size: 0.9rem;
  border-radius: 6px;
  text-decoration: none;
  background: #222;
  color: #fff;
}

.tpg-btn--ghost{
  background: transparent;
  color: #222;
  border: 1px solid #ccc;
}

.tpg-ctaRow{
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}


/* ---------- HERO (3:2 split) ---------- */

.tpg-hero{
  padding-bottom: 20px;
}

.tpg-hero__grid{
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 24px;
}

@media (max-width: 900px){
  .tpg-hero__grid{
    grid-template-columns: 1fr;
  }
}


/* ---------- GENERIC 2-COLUMN SECTIONS ---------- */

.tpg-2col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

@media (max-width: 900px){
  .tpg-2col{
    grid-template-columns: 1fr;
  }
}


/* ---------- ABOUT MINI STATS ---------- */

.tpg-miniStats{
  display: flex;
  gap: 20px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.tpg-miniStat{
  text-align: center;
}

.tpg-miniStat__num{
  font-size: 1.2rem;
  font-weight: 600;
}

.tpg-miniStat__label{
  font-size: 0.8rem;
  opacity: 0.7;
}


/* ---------- PROGRAM LIST ---------- */

.tpg-progList{
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.tpg-progItem{
  padding: 14px 16px;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
}

.tpg-progItem__title{
  font-weight: 600;
  margin-bottom: 4px;
}

.tpg-progItem__meta{
  font-size: 0.8rem;
  opacity: 0.7;
}


/* ---------- PLACEHOLDERS ---------- */

.tpg-placeholder{
  border: 1px dashed #ccc;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

.tpg-placeholder--media{ min-height: 180px; }
.tpg-placeholder--img{ min-height: 220px; }
.tpg-placeholder--flyer{ min-height: 300px; }


/* ---------- GALLERY ---------- */

.tpg-gallery{
  padding: 50px 0;
  background: #fafafa;
}

.tpg-sectionHead{
  max-width: 1200px;
  margin: 0 auto 24px;
  padding: 0 20px;
}

.tpg-galleryGrid{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.tpg-galleryItem{
  background: #eaeaea;
  border-radius: 8px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  opacity: 0.8;
}


/* ---------- TESTIMONIALS ---------- */

.tpg-testimonials{
  padding: 50px 0;
}

.tpg-testiRail{
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 0 20px;
  scroll-snap-type: x mandatory;
}

.tpg-testiCard{
  min-width: 280px;
  max-width: 320px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 20px;
}

.tpg-quote{
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.tpg-who{
  font-size: 0.8rem;
  opacity: 0.7;
}


/* ---------- LINKS ---------- */

.tpg-link{
  font-size: 0.85rem;
  text-decoration: none;
  color: inherit;
  opacity: 0.8;
}


/* --- TPG Wireframe: Scope circle placeholder --- 
.tpg-scopeCircleWrap{
  display:flex;
  justify-content:center;
  align-items:center;
  padding: 8px 0;
}

.tpg-scopeCircle{
  width: min(320px, 80vw);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: rgba(0,0,0,0.06); 
  display:flex;
  align-items:center;
  justify-content:center;
}

.tpg-scopeCircle__label{
  font-size: 0.95rem;
  opacity: 0.7;
}
*/