/* CHERITAN COURSES PAGE
   Paste below your existing Cheritan CSS in Appearance > Customize > Additional CSS.
   This CSS is scoped to .cht-courses-page and does not change the homepage/About page.
*/

.cht-courses-page,
.cht-courses-page *{box-sizing:border-box}

.cht-courses-page{
  --charcoal:#3f4551;
  --charcoal-2:#525965;
  --ash:#f2f2f2;
  --ash-2:#e2e2e2;
  --soft:#f8f8f8;
  --white:#ffffff;
  --text:#3f4551;
  --muted:#666d78;
  --border:#dfe2e7;
  --shadow:0 18px 55px rgba(31,37,48,.10);
  --radius:18px;
  width:100%;
  margin:0;
  padding:0;
  overflow:hidden;
  background:#fff;
  color:var(--text);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

.cht-courses-page img{display:block;max-width:100%}
.cht-courses-page a{color:inherit}
.cht-courses-page h1,
.cht-courses-page h2,
.cht-courses-page h3,
.cht-courses-page p{margin-top:0}
.cht-courses-page button,
.cht-courses-page input,
.cht-courses-page select,
.cht-courses-page textarea{font:inherit}

.cht-courses-page .cht-container{
  width:min(92%,1180px);
  margin:0 auto;
}

.cht-courses-page .cht-skip-link{
  position:absolute;
  left:12px;
  top:-80px;
  z-index:99999;
  padding:10px 14px;
  background:#111;
  color:#fff;
  text-decoration:none;
}
.cht-courses-page .cht-skip-link:focus{top:12px}

/* Header */
.cht-courses-page .cht-header{
  position:relative;
  z-index:100;
  background:#fff;
  border-bottom:1px solid #eceef1;
}
.cht-courses-page .cht-header-inner{
  min-height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
}
.cht-courses-page .cht-logo{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  text-decoration:none;
}
.cht-courses-page .cht-logo img{
  width:92px;
  height:68px;
  object-fit:contain;
}
.cht-courses-page .cht-nav{
  display:flex;
  align-items:center;
  gap:26px;
  margin-left:auto;
}
.cht-courses-page .cht-nav > a{
  position:relative;
  padding:10px 0;
  color:#414751;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
}
.cht-courses-page .cht-nav > a:not(.cht-header-cta)::after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:4px;
  height:2px;
  background:var(--charcoal);
  transition:.22s ease;
}
.cht-courses-page .cht-nav > a:hover::after,
.cht-courses-page .cht-nav > a[aria-current="page"]::after{right:0}
.cht-courses-page .cht-nav .cht-header-cta{
  padding:12px 18px;
  border:1px solid var(--charcoal);
  border-radius:999px;
  background:var(--charcoal);
  color:#fff;
}
.cht-courses-page .cht-mobile-header-cta,
.cht-courses-page .cht-mobile-nav{display:none}

/* Buttons */
.cht-courses-page .cht-btn{
  display:inline-flex;
  min-height:48px;
  align-items:center;
  justify-content:center;
  padding:13px 23px;
  border:1px solid var(--charcoal);
  border-radius:999px;
  font-size:12px;
  font-weight:850;
  letter-spacing:.65px;
  text-align:center;
  text-decoration:none!important;
  transition:transform .22s ease,background .22s ease,color .22s ease,border-color .22s ease;
}
.cht-courses-page .cht-btn:hover{transform:translateY(-2px)}
.cht-courses-page .cc-btn-dark{
  background:var(--charcoal);
  color:#fff!important;
}
.cht-courses-page .cc-btn-dark:hover{background:#2f343c;border-color:#2f343c}
.cht-courses-page .cc-btn-light{
  background:#fff;
  color:var(--charcoal)!important;
}
.cht-courses-page .cc-btn-light:hover{background:var(--ash)}
.cht-courses-page .cc-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.cht-courses-page .cc-text-link{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  color:var(--charcoal);
  font-size:12px;
  font-weight:850;
  letter-spacing:.55px;
  text-decoration:none;
  border-bottom:1px solid var(--charcoal);
}

/* Shared typography */
.cht-courses-page .cc-kicker{
  margin-bottom:14px;
  color:var(--charcoal);
  font-size:11px;
  font-weight:900;
  letter-spacing:2px;
  text-transform:uppercase;
}
.cht-courses-page .cc-section{
  padding:90px 0;
}
.cht-courses-page .cc-section-head{
  max-width:760px;
  margin:0 auto 46px;
  text-align:center;
}
.cht-courses-page .cc-section-head h2,
.cht-courses-page .cc-trainer-copy h2,
.cht-courses-page .cc-who h2,
.cht-courses-page .cc-cta h2{
  margin-bottom:16px;
  font-size:clamp(34px,4vw,52px);
  line-height:1.08;
  letter-spacing:-1.5px;
  color:var(--charcoal);
}
.cht-courses-page .cc-section-head > p:last-child,
.cht-courses-page .cc-trainer-copy > p,
.cht-courses-page .cc-who .cc-section-head > p:last-child,
.cht-courses-page .cc-cta p{
  color:var(--muted);
  font-size:16px;
}

/* Hero */
.cht-courses-page .cc-hero{
  position:relative;
  background:linear-gradient(135deg,#f4f4f4 0%,#fff 54%,#eceef0 100%);
}
.cht-courses-page .cc-hero::before{
  content:"";
  position:absolute;
  right:-12%;
  top:-26%;
  width:46vw;
  height:46vw;
  border:1px solid rgba(63,69,81,.08);
  border-radius:50%;
}
.cht-courses-page .cc-hero-grid{
  min-height:630px;
  display:grid;
  grid-template-columns:1.02fr .98fr;
  align-items:center;
  gap:64px;
  padding-top:58px;
  padding-bottom:58px;
}
.cht-courses-page .cc-hero-copy{position:relative;z-index:2}
.cht-courses-page .cc-hero h1{
  max-width:690px;
  margin-bottom:22px;
  color:var(--charcoal);
  font-size:clamp(48px,6vw,78px);
  line-height:.99;
  letter-spacing:-3px;
}
.cht-courses-page .cc-hero-text{
  max-width:620px;
  margin-bottom:30px;
  color:var(--muted);
  font-size:18px;
}
.cht-courses-page .cc-hero-points{
  display:flex;
  flex-wrap:wrap;
  gap:10px 22px;
  margin-top:28px;
}
.cht-courses-page .cc-hero-points span{
  position:relative;
  padding-left:18px;
  color:#545b66;
  font-size:13px;
  font-weight:700;
}
.cht-courses-page .cc-hero-points span::before{
  content:"";
  position:absolute;
  left:0;
  top:.63em;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--charcoal);
}
.cht-courses-page .cc-hero-image{
  position:relative;
  margin:0;
}
.cht-courses-page .cc-hero-image::before{
  content:"";
  position:absolute;
  inset:22px -22px -22px 22px;
  z-index:0;
  border:1px solid #cfd3d9;
  border-radius:26px;
}
.cht-courses-page .cc-hero-image img{
  position:relative;
  z-index:1;
  width:100%;
  height:520px;
  object-fit:cover;
  object-position:center;
  border-radius:26px;
  box-shadow:var(--shadow);
}
.cht-courses-page .cc-hero-image figcaption{
  position:absolute;
  left:28px;
  right:28px;
  bottom:22px;
  z-index:2;
  padding:13px 16px;
  border-radius:12px;
  background:rgba(255,255,255,.92);
  color:var(--charcoal);
  font-size:12px;
  font-weight:750;
  backdrop-filter:blur(8px);
}

/* Trust */
.cht-courses-page .cc-trust{
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  background:#fff;
}
.cht-courses-page .cc-trust-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
}
.cht-courses-page .cc-trust-grid > div{
  padding:28px 22px;
  text-align:center;
  border-right:1px solid var(--border);
}
.cht-courses-page .cc-trust-grid > div:last-child{border-right:0}
.cht-courses-page .cc-trust strong,
.cht-courses-page .cc-trust span{display:block}
.cht-courses-page .cc-trust strong{
  color:var(--charcoal);
  font-size:18px;
}
.cht-courses-page .cc-trust span{
  margin-top:3px;
  color:var(--muted);
  font-size:12px;
}

/* Featured */
.cht-courses-page .cc-intro{background:#fff}
.cht-courses-page .cc-featured{
  display:grid;
  grid-template-columns:1.12fr .88fr;
  min-height:520px;
  border:1px solid var(--border);
  border-radius:26px;
  overflow:hidden;
  background:var(--soft);
  box-shadow:0 20px 60px rgba(31,37,48,.07);
}
.cht-courses-page .cc-featured-copy{padding:54px}
.cht-courses-page .cc-badge{
  display:inline-flex;
  margin-bottom:18px;
  padding:8px 12px;
  border-radius:999px;
  background:var(--charcoal);
  color:#fff;
  font-size:10px;
  font-weight:900;
  letter-spacing:1.3px;
}
.cht-courses-page .cc-featured h3{
  margin-bottom:16px;
  color:var(--charcoal);
  font-size:40px;
  line-height:1.08;
  letter-spacing:-1px;
}
.cht-courses-page .cc-featured-copy > p{
  max-width:660px;
  color:var(--muted);
  font-size:16px;
}
.cht-courses-page .cc-featured-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin:28px 0;
}
.cht-courses-page .cc-featured-stats > div{
  padding:16px 12px;
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff;
  text-align:center;
}
.cht-courses-page .cc-featured-stats strong,
.cht-courses-page .cc-featured-stats span{display:block}
.cht-courses-page .cc-featured-stats strong{
  color:var(--charcoal);
  font-size:27px;
  line-height:1.1;
}
.cht-courses-page .cc-featured-stats span{
  margin-top:4px;
  color:var(--muted);
  font-size:11px;
}
.cht-courses-page .cc-featured-image img{
  width:100%;
  height:100%;
  min-height:520px;
  object-fit:cover;
}
.cht-courses-page .cc-card-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:18px;
  margin-top:28px;
}

/* Lists */
.cht-courses-page .cc-check-list{
  display:grid;
  gap:10px;
  margin:24px 0 0;
  padding:0;
  list-style:none;
}
.cht-courses-page .cc-check-list li{
  position:relative;
  padding-left:27px;
  color:#565d67;
  font-size:14px;
}
.cht-courses-page .cc-check-list li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:var(--charcoal);
  font-weight:900;
}

/* Course cards */
.cht-courses-page .cc-course-list{
  padding-top:25px;
  background:var(--ash);
}
.cht-courses-page .cc-course-card{
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  align-items:stretch;
  margin-bottom:28px;
  border:1px solid #d9dde2;
  border-radius:22px;
  overflow:hidden;
  background:#fff;
}
.cht-courses-page .cc-course-card-reverse .cc-course-image{order:2}
.cht-courses-page .cc-course-card-reverse .cc-course-copy{order:1}
.cht-courses-page .cc-course-image img{
  width:100%;
  height:100%;
  min-height:465px;
  object-fit:cover;
}
.cht-courses-page .cc-course-copy{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:52px;
}
.cht-courses-page .cc-course-no{
  position:absolute;
  right:26px;
  top:22px;
  color:#d7dae0;
  font-size:48px;
  font-weight:900;
  line-height:1;
}
.cht-courses-page .cc-course-copy h2{
  max-width:600px;
  margin-bottom:16px;
  color:var(--charcoal);
  font-size:36px;
  line-height:1.12;
  letter-spacing:-.8px;
}
.cht-courses-page .cc-course-copy > p:not(.cc-kicker){
  max-width:650px;
  color:var(--muted);
  font-size:15px;
}

/* Benefits */
.cht-courses-page .cc-benefits{background:#fff}
.cht-courses-page .cc-benefit-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.cht-courses-page .cc-benefit-card{
  min-height:260px;
  padding:30px 26px;
  border:1px solid var(--border);
  border-radius:18px;
  background:var(--soft);
}
.cht-courses-page .cc-benefit-card > span{
  display:inline-grid;
  width:42px;
  height:42px;
  place-items:center;
  margin-bottom:38px;
  border-radius:50%;
  background:var(--charcoal);
  color:#fff;
  font-size:11px;
  font-weight:850;
}
.cht-courses-page .cc-benefit-card h3{
  margin-bottom:10px;
  color:var(--charcoal);
  font-size:20px;
}
.cht-courses-page .cc-benefit-card p{
  margin-bottom:0;
  color:var(--muted);
  font-size:14px;
}

/* Trainer */
.cht-courses-page .cc-trainer{background:var(--charcoal)}
.cht-courses-page .cc-trainer-grid{
  display:grid;
  grid-template-columns:.78fr 1.22fr;
  align-items:center;
  gap:68px;
}
.cht-courses-page .cc-trainer-photo{
  margin:0;
}
.cht-courses-page .cc-trainer-photo img{
  width:100%;
  aspect-ratio:1/1.08;
  object-fit:cover;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.18);
}
.cht-courses-page .cc-trainer .cc-kicker,
.cht-courses-page .cc-trainer-copy h2{color:#fff}
.cht-courses-page .cc-trainer-copy > p{color:#d7d9dd}
.cht-courses-page .cc-trainer .cc-text-link{
  margin-top:26px;
  color:#fff;
  border-bottom-color:#fff;
}
.cht-courses-page .cc-trainer-points{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  margin-top:26px;
}
.cht-courses-page .cc-trainer-points span{
  padding:14px 15px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:12px;
  color:#fff;
  font-size:12px;
  font-weight:700;
}

/* Who */
.cht-courses-page .cc-who{background:#fff}
.cht-courses-page .cc-who-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:68px;
  align-items:start;
}
.cht-courses-page .cc-who .cc-section-head{
  margin:0;
  text-align:left;
}
.cht-courses-page .cc-who-list{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}
.cht-courses-page .cc-who-list > div{
  min-height:150px;
  padding:26px;
  border:1px solid var(--border);
  border-radius:16px;
  background:var(--soft);
}
.cht-courses-page .cc-who-list strong,
.cht-courses-page .cc-who-list span{display:block}
.cht-courses-page .cc-who-list strong{
  margin-bottom:8px;
  color:var(--charcoal);
  font-size:17px;
}
.cht-courses-page .cc-who-list span{
  color:var(--muted);
  font-size:13px;
}

/* CTA */
.cht-courses-page .cc-cta{
  padding:74px 0;
  background:var(--ash);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.cht-courses-page .cc-cta-inner{
  display:grid;
  grid-template-columns:1.4fr .6fr;
  align-items:center;
  gap:50px;
}
.cht-courses-page .cc-cta h2{
  max-width:760px;
  margin-bottom:12px;
}
.cht-courses-page .cc-cta p:last-child{
  max-width:680px;
  margin-bottom:0;
}

/* Form fallback + popup */
.cht-courses-page .cht-course-enquiry-source{
  width:min(92%,760px);
  margin:70px auto;
  padding:34px;
  border:1px solid var(--border);
  border-radius:20px;
  background:#fff;
  box-shadow:var(--shadow);
}
.cht-courses-page .cht-course-enquiry-source h2{
  margin-bottom:8px;
  color:var(--charcoal);
  font-size:32px;
}
.cht-courses-page .cht-course-enquiry-source > p:not(.cc-kicker){
  color:var(--muted);
}
.cht-courses-page .cht-popup-close{
  float:right;
  width:40px;
  height:40px;
  border:1px solid var(--border);
  border-radius:50%;
  background:#fff;
  color:var(--charcoal);
  cursor:pointer;
  font-size:26px;
  line-height:1;
}
.cht-courses-page .cht-popup-whatsapp{
  display:inline-block;
  margin-top:14px;
  color:var(--charcoal);
  font-size:13px;
  font-weight:750;
}
.cht-courses-page dialog.cht-course-dialog{
  width:min(92vw,720px);
  max-height:90vh;
  margin:auto;
  padding:0;
  border:0;
  border-radius:22px;
  background:transparent;
  overflow:visible;
}
.cht-courses-page dialog.cht-course-dialog::backdrop{
  background:rgba(24,28,34,.72);
  backdrop-filter:blur(4px);
}
.cht-courses-page dialog.cht-course-dialog .cht-course-enquiry-source{
  width:100%;
  max-height:88vh;
  margin:0;
  overflow:auto;
}
.cht-courses-page .cht-popup-form .ff-el-group{margin-bottom:14px}
.cht-courses-page .cht-popup-form input,
.cht-courses-page .cht-popup-form select,
.cht-courses-page .cht-popup-form textarea{
  width:100%;
  min-height:46px;
  border:1px solid #d6dae0!important;
  border-radius:8px!important;
  background:#fff!important;
}
.cht-courses-page .cht-popup-form button,
.cht-courses-page .cht-popup-form .ff-btn{
  min-height:46px!important;
  padding:11px 20px!important;
  border:1px solid var(--charcoal)!important;
  border-radius:999px!important;
  background:var(--charcoal)!important;
  color:#fff!important;
  font-weight:800!important;
}

/* Footer */
.cht-courses-page .cht-footer{
  padding-top:70px;
  background:#31363f;
  color:#dfe2e6;
}
.cht-courses-page .cht-footer-grid{
  display:grid;
  grid-template-columns:1.25fr .78fr .78fr 1.15fr;
  gap:44px;
  padding-bottom:56px;
}
.cht-courses-page .cht-footer-brand img{
  width:104px;
  height:76px;
  object-fit:contain;
  object-position:left center;
  margin-bottom:18px;
}
.cht-courses-page .cht-footer-brand p{
  max-width:300px;
  color:#bfc4ca;
  font-size:13px;
}
.cht-courses-page .cht-footer-social{
  display:flex;
  flex-wrap:wrap;
  gap:10px 15px;
  margin-top:18px;
}
.cht-courses-page .cht-footer-social a,
.cht-courses-page .cht-footer-links a,
.cht-courses-page .cht-footer-contact a{
  color:#dfe2e6;
  text-decoration:none;
}
.cht-courses-page .cht-footer-social a{
  font-size:12px;
  font-weight:700;
}
.cht-courses-page .cht-footer-title,
.cht-courses-page .cht-footer-contact h3{
  margin-bottom:16px;
  color:#fff;
  font-size:15px;
}
.cht-courses-page .cht-footer-links{
  display:grid;
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
}
.cht-courses-page .cht-footer-links a{
  color:#bfc4ca;
  font-size:13px;
}
.cht-courses-page .cht-footer-contact p{
  color:#bfc4ca;
  font-size:13px;
}
.cht-courses-page .cht-footer-contact-line{
  display:grid;
  gap:2px;
  margin:14px 0;
}
.cht-courses-page .cht-footer-contact-line strong{
  color:#8f969f;
  font-size:9px;
  letter-spacing:1.4px;
}
.cht-courses-page .cht-footer-contact-line a,
.cht-courses-page .cht-footer-contact-line span{
  color:#e5e7ea;
  font-size:13px;
}
.cht-courses-page .cht-footer-book{
  margin-top:10px;
  background:#fff;
  border-color:#fff;
  color:#31363f!important;
}
.cht-courses-page .cht-footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);
}
.cht-courses-page .cht-footer-bottom-inner{
  min-height:70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  color:#9ca2aa;
  font-size:11px;
}
.cht-courses-page .cht-footer-bottom-inner > div:last-child{
  display:flex;
  gap:18px;
}
.cht-courses-page .cht-footer-bottom a{
  color:#bfc4ca;
  text-decoration:none;
}

/* Mobile bottom bar */
.cht-courses-page .cht-mobile-bar{display:none}

/* Reveal motion */
.cht-courses-page .cc-reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .6s ease,transform .6s ease;
}
.cht-courses-page .cc-reveal.is-visible{
  opacity:1;
  transform:none;
}

@media (max-width:1099px){
  .cht-courses-page .cht-nav{display:none}
  .cht-courses-page .cht-mobile-header-cta{display:inline-flex;margin-left:auto}
  .cht-courses-page .cht-mobile-nav{display:block;position:relative}
  .cht-courses-page .cht-mobile-nav summary{
    display:flex;
    align-items:center;
    gap:7px;
    padding:10px 0;
    cursor:pointer;
    color:var(--charcoal);
    font-size:12px;
    font-weight:800;
    list-style:none;
  }
  .cht-courses-page .cht-mobile-nav summary::-webkit-details-marker{display:none}
  .cht-courses-page .cht-mobile-nav nav{
    position:absolute;
    right:0;
    top:48px;
    width:230px;
    display:grid;
    padding:12px;
    border:1px solid var(--border);
    border-radius:14px;
    background:#fff;
    box-shadow:var(--shadow);
  }
  .cht-courses-page .cht-mobile-nav nav a{
    padding:11px 10px;
    border-bottom:1px solid #eef0f3;
    color:var(--charcoal);
    font-size:13px;
    font-weight:700;
    text-decoration:none;
  }
  .cht-courses-page .cht-mobile-nav nav a:last-child{border-bottom:0}
  .cht-courses-page .cc-hero-grid{grid-template-columns:1fr 1fr;gap:38px}
  .cht-courses-page .cc-benefit-grid{grid-template-columns:repeat(2,1fr)}
  .cht-courses-page .cht-footer-grid{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:820px){
  .cht-courses-page{padding-bottom:62px}
  .cht-courses-page .cc-section{padding:70px 0}
  .cht-courses-page .cc-hero-grid{
    min-height:0;
    grid-template-columns:1fr;
    gap:36px;
    padding-top:58px;
    padding-bottom:60px;
  }
  .cht-courses-page .cc-hero h1{max-width:760px}
  .cht-courses-page .cc-hero-image img{height:480px}
  .cht-courses-page .cc-trust-grid{grid-template-columns:repeat(2,1fr)}
  .cht-courses-page .cc-trust-grid > div:nth-child(2){border-right:0}
  .cht-courses-page .cc-trust-grid > div:nth-child(-n+2){border-bottom:1px solid var(--border)}
  .cht-courses-page .cc-featured{grid-template-columns:1fr}
  .cht-courses-page .cc-featured-copy{padding:40px}
  .cht-courses-page .cc-featured-image img{min-height:380px;max-height:470px}
  .cht-courses-page .cc-course-card{grid-template-columns:1fr}
  .cht-courses-page .cc-course-card-reverse .cc-course-image,
  .cht-courses-page .cc-course-card-reverse .cc-course-copy{order:initial}
  .cht-courses-page .cc-course-image img{min-height:380px;max-height:470px}
  .cht-courses-page .cc-trainer-grid,
  .cht-courses-page .cc-who-grid,
  .cht-courses-page .cc-cta-inner{grid-template-columns:1fr;gap:38px}
  .cht-courses-page .cc-cta .cc-actions{justify-content:flex-start}
  .cht-courses-page .cht-social-rail{
    left:8px;
    gap:6px;
  }
  .cht-courses-page .cht-social-link{width:42px;height:42px}
  .cht-courses-page .cht-social-link svg{width:17px;height:17px}
  .cht-courses-page .cht-mobile-bar{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:700;
    display:grid;
    grid-template-columns:1fr 1fr 1.15fr;
    min-height:62px;
    box-shadow:0 -8px 28px rgba(31,37,48,.16);
  }
  .cht-courses-page .cht-mobile-bar a{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding:8px 4px;
    background:#fff;
    border-right:1px solid #e6e8eb;
    color:var(--charcoal);
    font-size:10px;
    font-weight:850;
    text-decoration:none;
  }
  .cht-courses-page .cht-mobile-bar .cht-mobile-book{
    background:var(--charcoal);
    border-right:0;
    color:#fff;
  }
}

@media (max-width:560px){
  .cht-courses-page .cht-container{width:90%}
  .cht-courses-page .cht-header-inner{min-height:76px;gap:12px}
  .cht-courses-page .cht-logo img{width:74px;height:58px}
  .cht-courses-page .cht-mobile-header-cta{
    min-height:40px;
    padding:9px 13px;
    font-size:10px;
  }
  .cht-courses-page .cht-mobile-nav summary span:last-child{display:none}
  .cht-courses-page .cc-hero-grid{padding-top:44px;padding-bottom:46px}
  .cht-courses-page .cc-hero h1{
    font-size:43px;
    letter-spacing:-1.8px;
  }
  .cht-courses-page .cc-hero-text{font-size:16px}
  .cht-courses-page .cc-actions{display:grid;grid-template-columns:1fr}
  .cht-courses-page .cc-actions .cht-btn{width:100%}
  .cht-courses-page .cc-hero-image::before{display:none}
  .cht-courses-page .cc-hero-image img{height:410px;border-radius:18px}
  .cht-courses-page .cc-hero-image figcaption{left:14px;right:14px;bottom:14px}
  .cht-courses-page .cc-section{padding:58px 0}
  .cht-courses-page .cc-section-head{margin-bottom:32px}
  .cht-courses-page .cc-section-head h2,
  .cht-courses-page .cc-trainer-copy h2,
  .cht-courses-page .cc-who h2,
  .cht-courses-page .cc-cta h2{
    font-size:34px;
    letter-spacing:-.8px;
  }
  .cht-courses-page .cc-featured-copy{padding:28px 22px}
  .cht-courses-page .cc-featured h3{font-size:31px}
  .cht-courses-page .cc-featured-stats{gap:8px}
  .cht-courses-page .cc-featured-stats > div{padding:13px 7px}
  .cht-courses-page .cc-featured-stats strong{font-size:23px}
  .cht-courses-page .cc-featured-stats span{font-size:9px}
  .cht-courses-page .cc-featured-image img{min-height:320px}
  .cht-courses-page .cc-course-image img{min-height:310px}
  .cht-courses-page .cc-course-copy{padding:34px 23px 30px}
  .cht-courses-page .cc-course-no{right:18px;top:18px;font-size:38px}
  .cht-courses-page .cc-course-copy h2{font-size:29px}
  .cht-courses-page .cc-card-actions{display:grid;grid-template-columns:1fr;align-items:start}
  .cht-courses-page .cc-card-actions .cht-btn{width:100%}
  .cht-courses-page .cc-card-actions .cc-text-link{width:max-content}
  .cht-courses-page .cc-benefit-grid{grid-template-columns:1fr}
  .cht-courses-page .cc-benefit-card{min-height:0}
  .cht-courses-page .cc-benefit-card > span{margin-bottom:25px}
  .cht-courses-page .cc-trainer-grid{gap:28px}
  .cht-courses-page .cc-trainer-points,
  .cht-courses-page .cc-who-list{grid-template-columns:1fr}
  .cht-courses-page .cc-who-list > div{min-height:0}
  .cht-courses-page .cc-cta{padding:56px 0}
  .cht-courses-page .cht-footer{padding-top:56px}
  .cht-courses-page .cht-footer-grid{grid-template-columns:1fr;gap:34px}
  .cht-courses-page .cht-footer-bottom-inner{
    min-height:90px;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
  }
  .cht-courses-page .cht-course-enquiry-source{padding:25px 20px}
  .cht-courses-page .cht-course-enquiry-source h2{font-size:27px}
  .cht-courses-page .cht-social-rail{
    left:6px;
    top:48%;
  }
  .cht-courses-page .cht-social-link{width:38px;height:38px}
}

@media (prefers-reduced-motion:reduce){
  .cht-courses-page *,
  .cht-courses-page *::before,
  .cht-courses-page *::after{
    scroll-behavior:auto!important;
    transition:none!important;
    animation:none!important;
  }
  .cht-courses-page .cc-reveal{opacity:1;transform:none}
}

/* FINAL BRAND MATCH — latest Cheritan homepage */
.cht-courses-page{
  --ink:#303640;
  --charcoal:#3f4551;
  --muted:#606570;
  --peach:#f4a98a;
  --peach-hover:#f8bea5;
  --page-bg:#f2f2f2;
  --section-bg:#eceef1;
  --line:#d9dde2;
  padding-left:48px!important;
  font-family:"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif!important;
  color:var(--ink)!important;
}
.cht-courses-page *{font-family:inherit}
.cht-courses-page .cht-header{background:#fff!important;border-bottom:1px solid var(--line)!important}
.cht-courses-page .cht-header-inner{min-height:88px!important}
.cht-courses-page .cht-logo img{width:100px!important;height:74px!important;object-fit:contain!important}
.cht-courses-page .cht-nav>a:not(.cht-header-cta){color:var(--ink)!important;font-weight:500!important}
.cht-courses-page .cht-nav .cht-header-cta,
.cht-courses-page .cht-mobile-header-cta,
.cht-courses-page .cc-btn-primary,
.cht-courses-page .cht-footer-book{
  background:var(--peach)!important;border-color:var(--peach)!important;color:var(--ink)!important;
  border-radius:6px!important;box-shadow:none!important
}
.cht-courses-page .cht-nav .cht-header-cta:hover,
.cht-courses-page .cht-mobile-header-cta:hover,
.cht-courses-page .cc-btn-primary:hover,
.cht-courses-page .cht-footer-book:hover{
  background:var(--peach-hover)!important;border-color:var(--peach-hover)!important
}
.cht-courses-page .cht-btn{border-radius:6px!important}

.cht-courses-page .cc-hero{background:var(--charcoal)!important;color:#fff!important}
.cht-courses-page .cc-hero::before{border-color:rgba(255,255,255,.14)!important}
.cht-courses-page .cc-hero h1,.cht-courses-page .cc-hero .cc-kicker{color:#fff!important}
.cht-courses-page .cc-hero-text,.cht-courses-page .cc-hero-points span{color:#e0e3e8!important}
.cht-courses-page .cc-hero-points span::before{background:#fff!important}
.cht-courses-page .cc-hero-image::before{border-color:#767f8b!important}
.cht-courses-page .cc-hero-image figcaption{background:rgba(255,255,255,.94)!important;color:var(--ink)!important}
.cht-courses-page .cc-btn-secondary{background:#fff!important;border-color:var(--line)!important;color:var(--ink)!important;border-radius:6px!important}
.cht-courses-page .cc-hero .cc-btn-secondary{background:transparent!important;border-color:#c6cbd2!important;color:#fff!important}
.cht-courses-page .cc-hero .cc-btn-secondary:hover{background:#fff!important;color:var(--ink)!important}

.cht-courses-page .cc-trust,
.cht-courses-page .cc-intro,
.cht-courses-page .cc-benefits,
.cht-courses-page .cc-who{background:#fff!important}
.cht-courses-page .cc-course-list,.cht-courses-page .cc-cta{background:var(--page-bg)!important}
.cht-courses-page .cc-featured,.cht-courses-page .cc-benefit-card,.cht-courses-page .cc-who-list>div{
  background:#fff!important;border-color:var(--line)!important
}
.cht-courses-page .cc-featured{box-shadow:0 14px 38px rgba(48,54,64,.08)!important}
.cht-courses-page .cc-badge{background:var(--charcoal)!important;color:#fff!important}
.cht-courses-page .cc-featured-stats>div{background:var(--page-bg)!important;border-color:var(--line)!important}
.cht-courses-page .cc-course-card{border-color:var(--line)!important;box-shadow:none!important}
.cht-courses-page .cc-course-card:hover{border-color:#b8bec6!important;box-shadow:0 14px 36px rgba(48,54,64,.08)!important}
.cht-courses-page .cc-text-link{color:var(--ink)!important;border-bottom-color:#9ba2ac!important}

.cht-courses-page .cc-trainer{background:var(--charcoal)!important}
.cht-courses-page .cc-trainer .cc-kicker,.cht-courses-page .cc-trainer-copy h2,.cht-courses-page .cc-trainer .cc-text-link{color:#fff!important}
.cht-courses-page .cc-trainer-copy>p{color:#e0e3e8!important}
.cht-courses-page .cc-trainer-points span{color:#fff!important;border-color:#767f8b!important;background:#48505c!important}

.cht-courses-page .cht-popup-form{padding:18px!important;background:#f3f4f6!important;border:1px solid #dfe2e7!important;border-radius:9px!important}
.cht-courses-page .cht-popup-form button,.cht-courses-page .cht-popup-form .ff-btn{
  background:var(--peach)!important;border-color:var(--peach)!important;color:var(--ink)!important;border-radius:6px!important
}
.cht-courses-page .cht-popup-whatsapp{color:#128c4a!important}

.cht-courses-page .cht-footer{background:var(--charcoal)!important;color:#fff!important}
.cht-courses-page .cht-footer-title,.cht-courses-page .cht-footer-contact h3{color:#fff!important}
.cht-courses-page .cht-footer-brand p,.cht-courses-page .cht-footer-links a,.cht-courses-page .cht-footer-contact p,
.cht-courses-page .cht-footer-contact-line a,.cht-courses-page .cht-footer-contact-line span{color:#e0e3e8!important}
.cht-courses-page .cht-footer-links a:hover{color:#fff!important}
.cht-courses-page .cht-footer-contact{padding:22px!important;background:#48505c!important;border:1px solid #767f8b!important;border-radius:10px!important}
.cht-courses-page .cht-footer-contact-line strong{color:#fff!important}
.cht-courses-page .cht-footer-bottom{border-color:#767f8b!important}
.cht-courses-page .cht-footer-bottom-inner,.cht-courses-page .cht-footer-bottom a{color:#d0d5dd!important}

/* ==========================================================
   CHERITAN COURSES — FINAL RESPONSIVE FIXES
   Clean social rail, safe mobile spacing and alignment.
   ========================================================== */

.cht-courses-page{
  padding-left:0!important;
  overflow-x:hidden!important;
}

/* Prevent long text / links from forcing horizontal overflow. */
.cht-courses-page :is(
  h1,h2,h3,p,li,a,
  .cc-course-copy,
  .cc-trainer-copy,
  .cht-footer-contact-line,
  .cht-footer-brand
){
  overflow-wrap:anywhere;
}

/* SOCIAL RAIL — small overlay, no reserved white gutter */
.cht-courses-page .cht-social-rail{
  position:fixed!important;
  left:0!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  z-index:9999!important;
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
  width:36px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:0 5px 5px 0!important;
  box-shadow:0 5px 16px rgba(0,0,0,.14)!important;
}

.cht-courses-page .cht-social-rail .cht-social-link{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 36px!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  min-height:36px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  transform:none!important;
  text-decoration:none!important;
  color:#fff!important;
}

.cht-courses-page .cht-social-rail .cht-social-facebook{
  background:#1877f2!important;
}
.cht-courses-page .cht-social-rail .cht-social-linkedin{
  background:#0a66c2!important;
}
.cht-courses-page .cht-social-rail .cht-social-instagram{
  background:linear-gradient(180deg,#c13584 0%,#e1306c 52%,#f56040 100%)!important;
}
.cht-courses-page .cht-social-rail .cht-social-youtube{
  background:#ff0000!important;
}

.cht-courses-page :is(.cht-social-rail,.cht-footer-social) .cht-social-icon{
  display:block!important;
  width:17px!important;
  height:17px!important;
  flex:0 0 17px!important;
  margin:0!important;
  padding:0!important;
  font-size:0!important;
  line-height:0!important;
  background-color:transparent!important;
  background-position:center!important;
  background-size:contain!important;
  background-repeat:no-repeat!important;
  background-image:var(--cht-social-image)!important;
}

/* Self-contained social SVGs */
.cht-courses-page .cht-social-facebook{
  --cht-social-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M14%2022v-9h3l.5-4H14V7c0-1%20.3-2%202-2h2V1.5C17.3%201.2%2016.2%201%2015%201c-3.3%200-5%202-5%205v3H7v4h3v9Z%22%2F%3E%3C%2Fsvg%3E");
}
.cht-courses-page .cht-social-linkedin{
  --cht-social-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22white%22%3E%3Ccircle%20cx%3D%224.5%22%20cy%3D%224.5%22%20r%3D%222%22%2F%3E%3Cpath%20d%3D%22M3%208h3v13H3zM9%208h3v1.7c1-1.4%202.2-2%203.9-2%203.5%200%205.1%202%205.1%205.7V21h-3.4v-7c0-2.1-.6-3.2-2.2-3.2-1.8%200-2.9%201.2-2.9%203.4V21H9Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}
.cht-courses-page .cht-social-instagram{
  --cht-social-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.9%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%2218%22%20height%3D%2218%22%20rx%3D%225%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%224%22%2F%3E%3C%2Fg%3E%3Ccircle%20cx%3D%2217.5%22%20cy%3D%226.5%22%20r%3D%221%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E");
}
.cht-courses-page .cht-social-youtube{
  --cht-social-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22white%22%20fill-rule%3D%22evenodd%22%20d%3D%22M6%205h12a4%204%200%200%201%204%204v6a4%204%200%200%201-4%204H6a4%204%200%200%201-4-4V9a4%204%200%200%201%204-4Zm4%204v6l6-3Z%22%2F%3E%3C%2Fsvg%3E");
}

.cht-courses-page .cht-social-rail .cht-social-link:focus-visible{
  outline:2px solid #fff!important;
  outline-offset:-3px!important;
}

/* FOOTER SOCIAL ICONS */
.cht-courses-page .cht-footer-social{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin-top:18px!important;
}
.cht-courses-page .cht-footer-social .cht-social-link{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:36px!important;
  height:36px!important;
  flex:0 0 36px!important;
  padding:0!important;
  border:0!important;
  border-radius:5px!important;
  text-decoration:none!important;
}
.cht-courses-page .cht-footer-social .cht-social-icon{
  width:17px!important;
  height:17px!important;
  flex-basis:17px!important;
}

/* Keep course section spacing clean after removal of the 16-day block. */
.cht-courses-page .cc-intro{
  padding-bottom:42px!important;
}
.cht-courses-page .cc-course-list{
  padding-top:46px!important;
}

/* Course cards: consistent vertical alignment */
.cht-courses-page .cc-course-card{
  align-items:stretch!important;
}
.cht-courses-page .cc-course-copy{
  min-width:0!important;
}
.cht-courses-page .cc-card-actions{
  align-items:center!important;
}

/* Tablet fixes */
@media(max-width:820px){
  .cht-courses-page .cc-section{
    padding:62px 0!important;
  }

  /* Every content container gets safe clearance from the fixed social rail. */
  .cht-courses-page main .cht-container,
  .cht-courses-page .cht-footer .cht-container{
    padding-left:14px!important;
  }

  .cht-courses-page .cc-hero-copy{
    padding-left:26px!important;
  }

  .cht-courses-page .cc-hero h1{
    font-size:clamp(38px,8vw,50px)!important;
    line-height:1.04!important;
    letter-spacing:-1.5px!important;
  }

  .cht-courses-page .cc-hero-text{
    max-width:620px!important;
  }

  .cht-courses-page .cc-course-copy{
    padding:38px 30px!important;
  }

  .cht-courses-page .cht-mobile-bar a{
    background:#fff!important;
    color:var(--ink)!important;
    border-color:var(--line)!important;
  }
  .cht-courses-page .cht-mobile-bar a:nth-child(2){
    background:#128c4a!important;
    color:#fff!important;
  }
  .cht-courses-page .cht-mobile-bar .cht-mobile-book{
    background:var(--peach)!important;
    color:var(--ink)!important;
  }
}

/* Small mobile fixes */
@media(max-width:560px){
  .cht-courses-page .cht-container{
    width:92%!important;
  }

  .cht-courses-page .cht-header-inner{
    min-height:72px!important;
  }

  .cht-courses-page .cht-logo img{
    width:68px!important;
    height:54px!important;
  }

  .cht-courses-page .cht-social-rail{
    width:32px!important;
    top:49%!important;
  }

  .cht-courses-page .cht-social-rail .cht-social-link{
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    min-height:32px!important;
    flex-basis:32px!important;
  }

  .cht-courses-page .cht-social-rail .cht-social-icon{
    width:15px!important;
    height:15px!important;
    flex-basis:15px!important;
  }

  /* Rail is 32px. Content starts safely to its right. */
  .cht-courses-page main .cht-container,
  .cht-courses-page .cht-footer .cht-container{
    padding-left:20px!important;
  }

  .cht-courses-page .cc-hero-copy{
    padding-left:20px!important;
  }

  .cht-courses-page .cc-hero-grid{
    padding-top:38px!important;
    padding-bottom:42px!important;
  }

  .cht-courses-page .cc-hero h1{
    font-size:clamp(34px,10vw,39px)!important;
    line-height:1.06!important;
    letter-spacing:-1.1px!important;
    margin-bottom:18px!important;
  }

  .cht-courses-page .cc-kicker{
    font-size:9px!important;
    letter-spacing:1.15px!important;
    line-height:1.5!important;
  }

  .cht-courses-page .cc-hero-text{
    font-size:15px!important;
    line-height:1.6!important;
  }

  .cht-courses-page .cc-section{
    padding:50px 0!important;
  }

  .cht-courses-page .cc-section-head h2,
  .cht-courses-page .cc-trainer-copy h2,
  .cht-courses-page .cc-who h2,
  .cht-courses-page .cc-cta h2{
    font-size:30px!important;
    line-height:1.16!important;
    letter-spacing:-.6px!important;
  }

  .cht-courses-page .cc-course-image img{
    min-height:270px!important;
    max-height:360px!important;
  }

  .cht-courses-page .cc-course-copy{
    padding:30px 22px 28px!important;
  }

  .cht-courses-page .cc-course-copy h2{
    padding-right:34px!important;
    font-size:27px!important;
    line-height:1.16!important;
  }

  .cht-courses-page .cc-course-no{
    right:16px!important;
    top:17px!important;
    font-size:34px!important;
  }

  .cht-courses-page .cc-card-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    justify-items:start!important;
    gap:10px!important;
  }

  .cht-courses-page .cc-card-actions .cht-btn{
    width:100%!important;
  }

  .cht-courses-page .cc-trainer-photo img{
    border-radius:16px!important;
  }

  .cht-courses-page .cc-trainer-points{
    grid-template-columns:1fr!important;
  }

  .cht-courses-page .cht-footer{
    padding-top:48px!important;
  }

  .cht-courses-page .cht-footer-grid{
    gap:28px!important;
  }

  .cht-courses-page .cht-footer-contact{
    padding:20px!important;
  }

  .cht-courses-page .cht-footer-bottom-inner{
    gap:10px!important;
  }
}

@media(max-width:360px){
  .cht-courses-page .cht-social-rail{
    width:30px!important;
  }
  .cht-courses-page .cht-social-rail .cht-social-link{
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
    min-height:30px!important;
    flex-basis:30px!important;
  }
  .cht-courses-page main .cht-container,
  .cht-courses-page .cht-footer .cht-container{
    padding-left:18px!important;
  }
  .cht-courses-page .cc-hero h1{
    font-size:32px!important;
  }
  .cht-courses-page .cht-mobile-header-cta{
    padding:8px 10px!important;
    font-size:9px!important;
  }
}

@media(prefers-reduced-motion:no-preference){
  .cht-courses-page :is(.cht-social-rail,.cht-footer-social) .cht-social-icon{
    transition:transform .18s ease!important;
  }
  .cht-courses-page :is(.cht-social-rail,.cht-footer-social) .cht-social-link:is(:hover,:focus-visible) .cht-social-icon{
    transform:scale(1.10)!important;
  }
}

/* ==========================================================
   CHERITAN COURSES — FINAL V2 SAFE SOCIAL RAIL
   Social icons float over the background, never over content.
   ========================================================== */

.cht-courses-page{
  --social-rail-desktop:36px;
  --social-rail-tablet:32px;
  --social-rail-mobile:30px;
  padding-left:0!important;
  overflow-x:hidden!important;
}

/* Small, clean social strip */
.cht-courses-page .cht-social-rail{
  position:fixed!important;
  left:0!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  z-index:9999!important;
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
  width:var(--social-rail-desktop)!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:0 5px 5px 0!important;
  box-shadow:0 5px 15px rgba(0,0,0,.14)!important;
}

.cht-courses-page .cht-social-rail .cht-social-link{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:var(--social-rail-desktop)!important;
  height:var(--social-rail-desktop)!important;
  min-width:var(--social-rail-desktop)!important;
  min-height:var(--social-rail-desktop)!important;
  flex:0 0 var(--social-rail-desktop)!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  transform:none!important;
  text-decoration:none!important;
}

.cht-courses-page .cht-social-rail .cht-social-icon{
  width:16px!important;
  height:16px!important;
  flex:0 0 16px!important;
}

/* Exact platform blocks */
.cht-courses-page .cht-social-rail .cht-social-facebook{background:#1877f2!important;}
.cht-courses-page .cht-social-rail .cht-social-linkedin{background:#0a66c2!important;}
.cht-courses-page .cht-social-rail .cht-social-instagram{
  background:linear-gradient(180deg,#c13584 0%,#e1306c 52%,#f56040 100%)!important;
}
.cht-courses-page .cht-social-rail .cht-social-youtube{background:#ff0000!important;}

/*
  SAFE CONTENT ZONE
  The rail still overlays the section background, but text/cards
  are always kept to its right.
*/
@media(max-width:1199px){
  .cht-courses-page main > section > .cht-container,
  .cht-courses-page main > .cht-container,
  .cht-courses-page .cht-footer > .cht-container,
  .cht-courses-page .cht-footer-bottom .cht-container{
    padding-left:52px!important;
    padding-right:8px!important;
  }

  .cht-courses-page .cc-hero-grid{
    gap:34px!important;
  }

  .cht-courses-page .cc-hero h1{
    font-size:clamp(38px,5.3vw,52px)!important;
    line-height:1.04!important;
    letter-spacing:-1.5px!important;
  }
}

@media(max-width:820px){
  .cht-courses-page .cht-social-rail{
    width:var(--social-rail-tablet)!important;
  }

  .cht-courses-page .cht-social-rail .cht-social-link{
    width:var(--social-rail-tablet)!important;
    height:var(--social-rail-tablet)!important;
    min-width:var(--social-rail-tablet)!important;
    min-height:var(--social-rail-tablet)!important;
    flex-basis:var(--social-rail-tablet)!important;
  }

  .cht-courses-page .cht-social-rail .cht-social-icon{
    width:15px!important;
    height:15px!important;
    flex-basis:15px!important;
  }

  .cht-courses-page main > section > .cht-container,
  .cht-courses-page main > .cht-container,
  .cht-courses-page .cht-footer > .cht-container,
  .cht-courses-page .cht-footer-bottom .cht-container{
    padding-left:48px!important;
    padding-right:6px!important;
  }

  /* Do not add a second padding to the hero copy itself. */
  .cht-courses-page .cc-hero-copy{
    padding-left:0!important;
  }

  .cht-courses-page .cc-hero h1{
    max-width:620px!important;
    font-size:clamp(36px,6vw,44px)!important;
    line-height:1.06!important;
    letter-spacing:-1.15px!important;
  }

  .cht-courses-page .cc-hero-text{
    max-width:560px!important;
    font-size:15px!important;
  }

  .cht-courses-page .cc-section-head{
    max-width:680px!important;
  }

  .cht-courses-page .cc-course-copy{
    padding:36px 28px!important;
  }
}

@media(max-width:560px){
  .cht-courses-page .cht-social-rail{
    width:var(--social-rail-mobile)!important;
    top:50%!important;
  }

  .cht-courses-page .cht-social-rail .cht-social-link{
    width:var(--social-rail-mobile)!important;
    height:var(--social-rail-mobile)!important;
    min-width:var(--social-rail-mobile)!important;
    min-height:var(--social-rail-mobile)!important;
    flex-basis:var(--social-rail-mobile)!important;
  }

  .cht-courses-page .cht-social-rail .cht-social-icon{
    width:14px!important;
    height:14px!important;
    flex-basis:14px!important;
  }

  .cht-courses-page main > section > .cht-container,
  .cht-courses-page main > .cht-container,
  .cht-courses-page .cht-footer > .cht-container,
  .cht-courses-page .cht-footer-bottom .cht-container{
    width:94%!important;
    padding-left:42px!important;
    padding-right:4px!important;
  }

  .cht-courses-page .cc-hero h1{
    font-size:clamp(31px,9vw,36px)!important;
    line-height:1.08!important;
    letter-spacing:-.8px!important;
  }

  .cht-courses-page .cc-hero-text{
    font-size:14px!important;
    line-height:1.6!important;
  }

  .cht-courses-page .cc-section-head h2,
  .cht-courses-page .cc-trainer-copy h2,
  .cht-courses-page .cc-who h2,
  .cht-courses-page .cc-cta h2{
    font-size:28px!important;
    line-height:1.18!important;
    letter-spacing:-.5px!important;
  }

  .cht-courses-page .cc-who-grid{
    gap:26px!important;
  }

  .cht-courses-page .cc-who-list{
    gap:10px!important;
  }

  .cht-courses-page .cc-who-list > div{
    padding:20px!important;
  }

  .cht-courses-page .cc-course-copy{
    padding:28px 20px 26px!important;
  }

  .cht-courses-page .cc-course-copy h2{
    padding-right:30px!important;
    font-size:26px!important;
  }

  .cht-courses-page .cc-course-no{
    right:14px!important;
    top:15px!important;
    font-size:32px!important;
  }

  .cht-courses-page .cc-card-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:9px!important;
  }

  .cht-courses-page .cc-card-actions .cht-btn{
    width:100%!important;
  }

  .cht-courses-page .cht-footer-grid{
    gap:26px!important;
  }
}

/* Extra-narrow phones */
@media(max-width:360px){
  .cht-courses-page{
    --social-rail-mobile:28px;
  }

  .cht-courses-page .cht-social-rail .cht-social-icon{
    width:13px!important;
    height:13px!important;
    flex-basis:13px!important;
  }

  .cht-courses-page main > section > .cht-container,
  .cht-courses-page main > .cht-container,
  .cht-courses-page .cht-footer > .cht-container,
  .cht-courses-page .cht-footer-bottom .cht-container{
    padding-left:38px!important;
  }

  .cht-courses-page .cc-hero h1{
    font-size:30px!important;
  }
}

@media(prefers-reduced-motion:no-preference){
  .cht-courses-page .cht-social-rail .cht-social-icon{
    transition:transform .18s ease!important;
  }
  .cht-courses-page .cht-social-rail .cht-social-link:is(:hover,:focus-visible) .cht-social-icon{
    transform:scale(1.08)!important;
  }
}

/* Bottom mobile action bar must never hide the last content row. */
@media(max-width:820px){
  .cht-courses-page{
    padding-bottom:78px!important;
  }
  .cht-courses-page .cc-who h2{
    font-size:32px!important;
    line-height:1.16!important;
  }
}

@media(max-width:560px){
  .cht-courses-page{
    padding-bottom:74px!important;
  }
}


/* ==========================================================
   CHERITAN MASTER NAVIGATION
   Courses → Makeup Course / Beauty Course
   Gallery standalone page removed.
   ========================================================== */
.cht-nav .cht-nav-dropdown{position:relative;display:flex;align-items:center;align-self:stretch}
.cht-nav .cht-nav-parent{display:inline-flex!important;align-items:center;gap:5px}
.cht-nav .cht-nav-caret{font-size:10px;line-height:1;transition:transform .18s ease}
.cht-nav .cht-nav-dropdown:hover .cht-nav-caret,
.cht-nav .cht-nav-dropdown:focus-within .cht-nav-caret{transform:rotate(180deg)}
.cht-nav .cht-nav-submenu{
  position:absolute;left:50%;top:calc(100% - 7px);z-index:100;
  transform:translate(-50%,8px);
  width:250px;padding:8px;
  background:#fff;border:1px solid #dfe2e7;border-radius:8px;
  box-shadow:0 16px 38px rgba(34,40,49,.14);
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease
}
.cht-nav .cht-nav-dropdown:hover .cht-nav-submenu,
.cht-nav .cht-nav-dropdown:focus-within .cht-nav-submenu{
  opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0)
}
.cht-nav .cht-nav-submenu a{
  display:block!important;width:100%!important;
  padding:10px 11px!important;border-radius:5px!important;
  color:#303640!important;font-size:12px!important;
  line-height:1.35!important;white-space:normal!important;text-decoration:none!important
}
.cht-nav .cht-nav-submenu a:hover,
.cht-nav .cht-nav-submenu a[aria-current="page"]{
  background:#f2f2f2!important;color:#303640!important
}
.cht-nav .cht-nav-parent.is-current-section{color:#303640!important}
.cht-mobile-nav nav .cht-mobile-sub{
  position:relative;padding-left:28px!important;
  color:#606570!important;font-size:12px!important
}
.cht-mobile-nav nav .cht-mobile-sub::before{
  content:"↳";position:absolute;left:12px;color:#f4a98a;font-weight:800
}


/* ==========================================================
   CHERITAN FINAL HEADER RESPONSIVE GUARD
   Prevents duplicate desktop/mobile CTA rendering.
   ========================================================== */
.cht-mobile-header-cta,
.cht-mobile-nav{
  display:none!important;
}
@media(max-width:1099px){
  .cht-nav{display:none!important;}
  .cht-mobile-header-cta{display:inline-flex!important;}
  .cht-mobile-nav{display:block!important;}
}
@media(min-width:1100px){
  .cht-nav{display:flex!important;}
  .cht-mobile-header-cta,
  .cht-mobile-nav{display:none!important;}
}


/* Progressive enhancement: course content remains visible even if JS is delayed/blocked. */
.cht-courses-page .cc-reveal{
  opacity:1!important;
  transform:none!important;
}


/* ==========================================================
   CHERITAN FINAL FLUENT FORM SUBMIT BUTTON
   ========================================================== */
.cht-courses-page .cht-popup-form :is(button[type="submit"],input[type="submit"],.ff-btn-submit,.ff-btn){
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-height:48px!important;margin-top:8px!important;
  padding:12px 18px!important;background:#f4a98a!important;border:1px solid #f4a98a!important;
  border-radius:6px!important;color:#303640!important;font-family:inherit!important;
  font-size:13px!important;font-weight:800!important;line-height:1.2!important;
  letter-spacing:.25px!important;text-align:center!important;cursor:pointer!important;
  opacity:1!important;visibility:visible!important;box-shadow:none!important;
}
.cht-courses-page .cht-popup-form :is(button[type="submit"],input[type="submit"],.ff-btn-submit,.ff-btn):hover{
  background:#f8bea5!important;border-color:#f8bea5!important;color:#303640!important;
}
.cht-courses-page .cht-popup-form .ff-message-success{
  margin-top:12px!important;padding:12px 14px!important;border-radius:6px!important;
  background:#eef7ef!important;color:#285d31!important;font-size:13px!important;line-height:1.55!important;
}

/* v4.9 All Courses: Media Library image for Professional Makeup Artist Course */
.cht-courses-page .cc-course-image img[data-focal="course-makeup-live"]{
  object-fit:cover!important;
  object-position:center 34%!important;
}
@media (max-width:650px){
  .cht-courses-page .cc-course-image img[data-focal="course-makeup-live"]{
    object-position:center 30%!important;
  }
}
