
/* ==========================================================
   CHERITAN SINGLE BLOG POST — INTERNAL ARTICLE DESIGN
   Applies only to individual WordPress Posts.
   Does NOT style or alter /blogs/.
   ========================================================== */

.cht-post-page,
.cht-post-page *,
.cht-post-page *::before,
.cht-post-page *::after{box-sizing:border-box}

.cht-post-page{
  --ink:#303640;
  --primary:#3f4551;
  --muted:#606570;
  --soft:#f2f2f2;
  --soft2:#eceef1;
  --border:#dfe2e7;
  --peach:#f4a98a;
  --peach-hover:#f8bea5;
  --wa:#128c4a;
  --rail-d:36px;
  --rail-t:32px;
  --rail-m:28px;
  width:100%;
  max-width:100%;
  margin:0;
  padding:0;
  overflow-x:hidden;
  background:#fff;
  color:var(--ink);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  line-height:1.65
}

.cht-post-page img{display:block;max-width:100%;height:auto}
.cht-post-page h1,
.cht-post-page h2,
.cht-post-page h3,
.cht-post-page p{margin-top:0}
.cht-post-page :is(h1,h2,h3,p,li,a,strong,span){overflow-wrap:anywhere}
.cht-post-page .cht-container{width:min(92%,1180px);max-width:1180px;margin-inline:auto}

.cht-post-page .cht-skip-link{
  position:fixed;left:10px;top:10px;z-index:12000;
  transform:translateY(-180%);
  background:#fff;color:#303640!important;
  padding:10px 16px;border:2px solid #303640;border-radius:6px
}
.cht-post-page .cht-skip-link:focus{transform:translateY(0)}

/* Header */
.cht-post-page .cht-header{
  position:relative;z-index:50;background:#fff;
  border-bottom:1px solid #d9dde2
}
.cht-post-page .cht-header-inner{
  min-height:82px;display:flex;align-items:center;
  justify-content:space-between;gap:28px
}
.cht-post-page .cht-logo{display:block;width:118px;flex:0 0 118px}
.cht-post-page .cht-logo img{width:100%;height:70px;object-fit:contain}
.cht-post-page .cht-nav{
  display:flex;align-items:center;justify-content:flex-end;gap:24px;min-width:0
}
.cht-post-page .cht-nav a{
  color:#606570!important;font-size:13px;font-weight:650;
  text-decoration:none!important;white-space:nowrap
}
.cht-post-page .cht-nav a:hover,
.cht-post-page .cht-nav a[aria-current="page"]{color:#303640!important}
.cht-post-page .cht-header-cta,
.cht-post-page .cht-mobile-header-cta{
  background:#f4a98a!important;border:1px solid #f4a98a!important;
  color:#303640!important;border-radius:5px!important;
  font-weight:800!important;text-decoration:none!important
}
.cht-post-page .cht-header-cta{padding:11px 18px}
.cht-post-page .cht-mobile-header-cta{
  display:none;align-items:center;justify-content:center;
  min-height:40px;padding:9px 12px;font-size:10px
}
.cht-post-page .cht-mobile-nav{display:none;position:relative}
.cht-post-page .cht-mobile-nav summary{
  list-style:none;display:flex;align-items:center;gap:6px;cursor:pointer
}
.cht-post-page .cht-mobile-nav summary::-webkit-details-marker{display:none}
.cht-post-page .cht-mobile-nav nav{
  position:absolute;right:0;top:calc(100% + 8px);z-index:80;
  width:min(300px,calc(100vw - 24px));padding:10px;background:#fff;
  border:1px solid var(--border);border-radius:8px;
  box-shadow:0 12px 36px rgba(0,0,0,.14)
}
.cht-post-page .cht-mobile-nav nav a{
  display:block;padding:10px 12px;color:#303640!important;
  text-decoration:none;font-size:14px
}
.cht-post-page .cht-mobile-nav nav a:hover{background:#f2f3f5;border-radius:5px}

/* Social rail */
.cht-post-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(--rail-d)!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-post-page .cht-social-rail .cht-social-link{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:var(--rail-d)!important;height:var(--rail-d)!important;
  flex:0 0 var(--rail-d)!important;margin:0!important;padding:0!important;border:0!important
}
.cht-post-page .cht-social-facebook{background:#1877f2!important}
.cht-post-page .cht-social-linkedin{background:#0a66c2!important}
.cht-post-page .cht-social-instagram{background:linear-gradient(180deg,#c13584,#e1306c 52%,#f56040)!important}
.cht-post-page .cht-social-youtube{background:#ff0000!important}

.cht-post-page :is(.cht-social-rail,.cht-footer-social) .cht-social-icon{
  display:block;width:16px;height:16px;flex:0 0 16px;
  background-position:center;background-size:contain;background-repeat:no-repeat;
  background-image:var(--social-icon)
}
.cht-post-page .cht-social-facebook{
  --social-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M14 22v-9h3l.5-4H14V7c0-1 .3-2 2-2h2V1.5C17.3 1.2 16.2 1 15 1c-3.3 0-5 2-5 5v3H7v4h3v9Z'/%3E%3C/svg%3E")
}
.cht-post-page .cht-social-linkedin{
  --social-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='white'%3E%3Ccircle cx='4.5' cy='4.5' r='2'/%3E%3Cpath d='M3 8h3v13H3zM9 8h3v1.7c1-1.4 2.2-2 3.9-2 3.5 0 5.1 2 5.1 5.7V21h-3.4v-7c0-2.1-.6-3.2-2.2-3.2-1.8 0-2.9 1.2-2.9 3.4V21H9Z'/%3E%3C/g%3E%3C/svg%3E")
}
.cht-post-page .cht-social-instagram{
  --social-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='white' stroke-width='1.9'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/g%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='white'/%3E%3C/svg%3E")
}
.cht-post-page .cht-social-youtube{
  --social-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M6 5h12a4 4 0 0 1 4 4v6a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V9a4 4 0 0 1 4-4Zm4 4v6l6-3Z'/%3E%3C/svg%3E")
}

/* Buttons */
.cht-post-page .cht-btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:46px;padding:13px 24px;border-radius:6px;
  font-size:12px;font-weight:800;letter-spacing:.35px;text-decoration:none!important
}

/* Article Hero */
.cht-post-page .csp-hero{
  padding:28px 0 56px;background:#f2f2f2;border-bottom:1px solid var(--border)
}
.cht-post-page .csp-hero-inner{max-width:1030px!important}
.cht-post-page .csp-breadcrumb{
  display:flex;align-items:center;flex-wrap:wrap;gap:8px;
  margin-bottom:38px;color:#858b94;font-size:11px
}
.cht-post-page .csp-breadcrumb a{color:#606570!important;text-decoration:none!important}
.cht-post-page .csp-hero-copy{max-width:900px}
.cht-post-page .csp-category{
  display:inline-flex;align-items:center;min-height:30px;
  margin-bottom:17px;padding:5px 11px;background:#f4a98a;
  border-radius:50px;color:#303640!important;
  font-size:9px;font-weight:850;letter-spacing:1px;text-transform:uppercase;
  text-decoration:none!important
}
.cht-post-page .csp-hero h1{
  max-width:900px;margin:0 0 18px;color:#303640;
  font-size:clamp(42px,5.5vw,70px);line-height:1.04;letter-spacing:-2.3px
}
.cht-post-page .csp-deck{
  max-width:760px;margin:0 0 22px;color:#606570;
  font-size:17px;line-height:1.68
}
.cht-post-page .csp-meta{
  display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;
  color:#7b828b;font-size:11px;font-weight:650
}

/* Featured image */
.cht-post-page .csp-featured-wrap{
  max-width:1100px!important;padding-top:42px
}
.cht-post-page .csp-featured{
  margin:0;overflow:hidden;border-radius:12px;background:#eceef1
}
.cht-post-page .csp-featured-image{
  width:100%;max-height:680px;object-fit:cover
}
.cht-post-page .csp-featured figcaption{
  padding:10px 14px;background:#fff;color:#727983;
  border:1px solid var(--border);border-top:0;
  font-size:11px;line-height:1.55
}

/* Main article layout */
.cht-post-page .csp-layout{
  display:grid;grid-template-columns:240px minmax(0,760px);
  justify-content:center;gap:58px;padding-top:58px;padding-bottom:68px
}
.cht-post-page .csp-sidebar{min-width:0}
.cht-post-page .csp-sidebar-sticky{
  position:sticky;top:22px;display:grid;gap:14px
}
.cht-post-page .csp-toc-card,
.cht-post-page .csp-share-card{
  padding:18px;background:#f7f7f8;border:1px solid var(--border);border-radius:8px
}
.cht-post-page .csp-sidebar-label{
  margin:0 0 12px;color:#90959d;
  font-size:9px;font-weight:850;letter-spacing:1.3px
}
.cht-post-page .csp-toc{display:grid;gap:7px}
.cht-post-page .csp-toc a{
  display:block;color:#606570!important;font-size:11px;
  line-height:1.45;text-decoration:none!important
}
.cht-post-page .csp-toc a[data-level="3"]{padding-left:12px;font-size:10px}
.cht-post-page .csp-toc a:hover,
.cht-post-page .csp-toc a.is-active{color:#303640!important;font-weight:750}
.cht-post-page .csp-toc-empty{
  margin:0;color:#8b9199;font-size:11px
}
.cht-post-page .csp-share-links{display:grid;gap:7px}
.cht-post-page .csp-share-links a,
.cht-post-page .csp-share-links button{
  width:100%;min-height:38px;padding:8px 10px;
  border:1px solid #d7dce2;border-radius:5px;background:#fff;
  color:#303640!important;font-family:inherit;font-size:10px;font-weight:750;
  text-align:left;text-decoration:none!important;cursor:pointer
}
.cht-post-page .csp-share-links .csp-share-whatsapp{
  background:#128c4a;border-color:#128c4a;color:#fff!important
}
.cht-post-page .csp-copy-status{
  display:block;min-height:16px;margin-top:7px;color:#65706a;font-size:9px
}
.cht-post-page .csp-course-card{
  padding:20px;background:#3f4551;border-radius:8px;color:#fff
}
.cht-post-page .csp-course-card>span{
  display:block;margin-bottom:8px;color:#f4a98a;
  font-size:8px;font-weight:850;letter-spacing:1.2px
}
.cht-post-page .csp-course-card h2{
  margin:0 0 8px;color:#fff;font-size:20px;line-height:1.18
}
.cht-post-page .csp-course-card p{
  margin:0 0 13px;color:#e0e3e8;font-size:11px;line-height:1.6
}
.cht-post-page .csp-course-card a{
  color:#fff!important;font-size:10px;font-weight:800;text-decoration:none!important
}

/* Classic Editor article content */
.cht-post-page .csp-article-content{
  color:#414852;font-size:17px;line-height:1.86
}
.cht-post-page .csp-article-content>p:first-child{
  font-size:19px;line-height:1.8;color:#3d444d
}
.cht-post-page .csp-article-content p{margin:0 0 22px}
.cht-post-page .csp-article-content h2{
  scroll-margin-top:24px;
  margin:48px 0 18px;color:#303640;
  font-size:32px;line-height:1.18;letter-spacing:-.65px
}
.cht-post-page .csp-article-content h3{
  scroll-margin-top:24px;
  margin:34px 0 14px;color:#303640;
  font-size:23px;line-height:1.25;letter-spacing:-.3px
}
.cht-post-page .csp-article-content h4{
  margin:28px 0 12px;color:#303640;font-size:18px;line-height:1.3
}
.cht-post-page .csp-article-content a{
  color:#9b573f!important;text-decoration:underline;text-decoration-thickness:1px
}
.cht-post-page .csp-article-content ul,
.cht-post-page .csp-article-content ol{
  margin:0 0 24px;padding-left:25px
}
.cht-post-page .csp-article-content li{margin-bottom:8px}
.cht-post-page .csp-article-content blockquote{
  margin:34px 0;padding:22px 24px;
  border-left:4px solid #f4a98a;background:#f7f7f8;
  color:#3f4650;font-family:Georgia,serif;font-size:20px;line-height:1.6
}
.cht-post-page .csp-article-content blockquote p:last-child{margin-bottom:0}
.cht-post-page .csp-article-content figure{margin:32px 0}
.cht-post-page .csp-article-content figure img,
.cht-post-page .csp-article-content>img{
  width:auto;max-width:100%;height:auto;border-radius:8px
}
.cht-post-page .csp-article-content .aligncenter{margin-left:auto;margin-right:auto}
.cht-post-page .csp-article-content figcaption,
.cht-post-page .csp-article-content .wp-caption-text{
  margin-top:7px;color:#7c828a;font-size:11px;line-height:1.5;text-align:left
}
.cht-post-page .csp-article-content .wp-caption{
  width:auto!important;max-width:100%!important
}
.cht-post-page .csp-article-content table{
  display:block;width:100%;max-width:100%;overflow-x:auto;
  margin:28px 0;border-collapse:collapse;background:#fff
}
.cht-post-page .csp-article-content table th,
.cht-post-page .csp-article-content table td{
  min-width:145px;padding:12px 14px;border:1px solid #dfe2e7;
  text-align:left;vertical-align:top;font-size:13px;line-height:1.55
}
.cht-post-page .csp-article-content table th{
  background:#f2f2f2;color:#303640;font-weight:750
}
.cht-post-page .csp-article-content pre{
  max-width:100%;overflow:auto;padding:18px;background:#282d35;
  border-radius:7px;color:#f1f3f5;font-size:12px;line-height:1.6
}
.cht-post-page .csp-article-content code{
  padding:2px 5px;background:#f0f1f3;border-radius:4px;font-size:.9em
}
.cht-post-page .csp-article-content pre code{padding:0;background:transparent;color:inherit}
.cht-post-page .csp-article-content hr{
  margin:42px 0;border:0;border-top:1px solid #dfe2e7
}
.cht-post-page .csp-article-content iframe{
  display:block;max-width:100%;margin:28px auto;border:0
}
.cht-post-page .csp-article-content .wp-block-embed__wrapper{
  position:relative;max-width:100%;overflow:hidden
}
.cht-post-page .csp-article-content .gallery{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px!important
}
.cht-post-page .csp-article-content .gallery-item{
  width:100%!important;margin:0!important
}
.cht-post-page .csp-article-content .gallery img{
  width:100%;height:auto;border:0!important;border-radius:7px
}
.cht-post-page .csp-article-content details{
  margin:14px 0;padding:16px 18px;border:1px solid #dfe2e7;border-radius:7px
}
.cht-post-page .csp-article-content summary{
  cursor:pointer;color:#303640;font-weight:750
}

/* Inline CTA */
.cht-post-page .csp-inline-cta{
  margin-top:54px;padding:32px;background:#eceef1;border-radius:10px
}
.cht-post-page .csp-inline-cta>span{
  display:block;margin-bottom:8px;color:#a45f48;
  font-size:9px;font-weight:850;letter-spacing:1.3px
}
.cht-post-page .csp-inline-cta h2{
  margin:0 0 9px;color:#303640;font-size:30px;line-height:1.18
}
.cht-post-page .csp-inline-cta p{
  margin:0 0 18px;color:#606570;font-size:13px
}
.cht-post-page .csp-inline-actions{display:flex;flex-wrap:wrap;gap:9px}
.cht-post-page .csp-primary-btn{
  background:#f4a98a;border:1px solid #f4a98a;color:#303640!important
}
.cht-post-page .csp-secondary-btn{
  background:#fff;border:1px solid #ccd2d8;color:#303640!important
}

/* Author */
.cht-post-page .csp-author-box{
  display:grid;grid-template-columns:72px minmax(0,1fr);
  gap:18px;align-items:start;margin-top:28px;padding:23px 0;
  border-top:1px solid #dfe2e7;border-bottom:1px solid #dfe2e7
}
.cht-post-page .csp-author-avatar img{
  width:72px;height:72px;border-radius:50%;object-fit:cover
}
.cht-post-page .csp-author-box span{
  display:block;margin-bottom:3px;color:#8a9098;
  font-size:8px;font-weight:850;letter-spacing:1.2px
}
.cht-post-page .csp-author-box h2{
  margin:0 0 5px;color:#303640;font-size:19px
}
.cht-post-page .csp-author-box p{
  margin:0;color:#606570;font-size:12px;line-height:1.65
}

/* Previous / next */
.cht-post-page .csp-post-nav{
  display:grid;grid-template-columns:1fr 1fr;gap:24px;
  margin-top:30px
}
.cht-post-page .csp-post-nav>div{min-width:0}
.cht-post-page .csp-post-nav .csp-next{text-align:right}
.cht-post-page .csp-post-nav span{
  display:block;margin-bottom:6px;color:#92979e;
  font-size:8px;font-weight:850;letter-spacing:1.1px
}
.cht-post-page .csp-post-nav a{
  color:#303640!important;font-size:12px;font-weight:750;
  line-height:1.45;text-decoration:none!important
}

/* Related */
.cht-post-page .csp-related{
  padding:58px 0 66px;background:#f7f7f8;border-top:1px solid #eceef1
}
.cht-post-page .csp-related-head{
  display:flex;align-items:end;justify-content:space-between;
  gap:20px;margin-bottom:20px
}
.cht-post-page .csp-related-head span{
  display:block;margin-bottom:5px;color:#8a9098;
  font-size:8px;font-weight:850;letter-spacing:1.3px
}
.cht-post-page .csp-related-head h2{
  margin:0;color:#303640;font-size:30px
}
.cht-post-page .csp-related-head>a{
  color:#606570!important;font-size:11px;font-weight:750;text-decoration:none!important
}
.cht-post-page .csp-related-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px
}
.cht-post-page .csp-related-card{
  overflow:hidden;background:#fff;border:1px solid #dfe2e7;border-radius:9px
}
.cht-post-page .csp-related-media{
  display:block;aspect-ratio:16/10;overflow:hidden;background:#e8eaed
}
.cht-post-page .csp-related-media img{
  width:100%;height:100%;object-fit:cover;transition:transform .35s ease
}
.cht-post-page .csp-related-fallback{
  width:100%;height:100%;display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  background:linear-gradient(135deg,#3f4551,#636b76);color:#fff
}
.cht-post-page .csp-related-fallback span{
  font-size:8px;font-weight:850;letter-spacing:1.6px
}
.cht-post-page .csp-related-fallback strong{
  margin-top:2px;font-family:Georgia,serif;font-size:28px;font-weight:500
}
.cht-post-page .csp-related-body{padding:18px}
.cht-post-page .csp-related-meta{
  display:flex;gap:8px;flex-wrap:wrap;margin-bottom:9px;
  color:#8a9098;font-size:9px;text-transform:uppercase
}
.cht-post-page .csp-related-card h3{
  margin:0 0 12px;font-size:17px;line-height:1.3
}
.cht-post-page .csp-related-card h3 a{
  color:#303640!important;text-decoration:none!important
}
.cht-post-page .csp-related-read{
  color:#303640!important;font-size:9px;font-weight:850;
  letter-spacing:.5px;text-decoration:none!important
}
@media(hover:hover){
  .cht-post-page .csp-related-card:hover .csp-related-media img{transform:scale(1.035)}
}

/* Footer */
.cht-post-page .cht-footer{padding:48px 0 0;background:#3f4551;color:#fff}
.cht-post-page .cht-footer-grid{
  display:grid;grid-template-columns:1.2fr .7fr .75fr 1.05fr;
  gap:32px;padding-bottom:34px
}
.cht-post-page .cht-footer-brand img{width:120px;margin-bottom:14px}
.cht-post-page .cht-footer-brand p{
  max-width:330px;color:#e0e3e8;font-size:12px;line-height:1.75
}
.cht-post-page .cht-footer-title{
  margin:0 0 16px;color:#fff;font-size:12px;text-transform:uppercase;letter-spacing:.8px
}
.cht-post-page .cht-footer-links{margin:0;padding:0;list-style:none}
.cht-post-page .cht-footer-links li{margin-bottom:9px}
.cht-post-page .cht-footer-links a{
  color:#e0e3e8!important;font-size:12px;text-decoration:none
}
.cht-post-page .cht-footer-contact{
  padding:20px;background:#48505c;border:1px solid #767f8b;border-radius:9px
}
.cht-post-page .cht-footer-contact h3{margin:0 0 6px;color:#fff;font-size:18px}
.cht-post-page .cht-footer-contact>p{color:#e0e3e8;font-size:12px}
.cht-post-page .cht-footer-contact-line{margin-bottom:12px;color:#e0e3e8;font-size:12px}
.cht-post-page .cht-footer-contact-line strong{
  display:block;margin-bottom:2px;color:#fff;font-size:9px;letter-spacing:.6px
}
.cht-post-page .cht-footer-contact-line a{color:#e0e3e8!important;text-decoration:none}
.cht-post-page .cht-footer-contact .cht-btn{
  width:100%;background:#f4a98a;border:1px solid #f4a98a;color:#303640!important
}
.cht-post-page .cht-footer-bottom{border-top:1px solid #767f8b;padding:15px 0}
.cht-post-page .cht-footer-bottom-inner{
  display:flex;align-items:center;justify-content:space-between;gap:16px
}
.cht-post-page .cht-copyright,
.cht-post-page .cht-footer-legal a{color:#d0d5dd!important;font-size:10px}
.cht-post-page .cht-footer-legal{display:flex;gap:16px}
.cht-post-page .cht-footer-social{display:flex;gap:7px;margin-top:14px}
.cht-post-page .cht-footer-social .cht-social-link{
  display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:5px
}

/* NO popup on article pages */
.cht-post-page dialog,
.cht-post-page .cht-enquiry-source,
.cht-post-page .cht-popup-fallback{display:none!important}

/* Mobile action bar */
.cht-post-page .cht-mobile-bar{display:none}

/* Laptop */
@media(min-width:981px) and (max-width:1199px){
  .cht-post-page .csp-hero>.cht-container,
  .cht-post-page .csp-featured-wrap,
  .cht-post-page .csp-layout,
  .cht-post-page .csp-related>.cht-container,
  .cht-post-page .cht-footer>.cht-container,
  .cht-post-page .cht-footer-bottom .cht-container{padding-left:44px}

  .cht-post-page .cht-header .cht-container{padding-left:0}
  .cht-post-page .cht-nav{gap:15px}
  .cht-post-page .cht-nav a{font-size:12px}
  .cht-post-page .csp-layout{
    grid-template-columns:215px minmax(0,720px);gap:42px
  }
}

/* Tablet */
@media(max-width:980px){
  .cht-post-page{padding-bottom:76px}
  .cht-post-page .cht-nav{display:none}
  .cht-post-page .cht-mobile-header-cta{display:inline-flex;margin-left:auto}
  .cht-post-page .cht-mobile-nav{display:block}

  .cht-post-page .cht-social-rail{width:var(--rail-t)!important}
  .cht-post-page .cht-social-rail .cht-social-link{
    width:var(--rail-t)!important;height:var(--rail-t)!important;flex-basis:var(--rail-t)!important
  }
  .cht-post-page .cht-social-rail .cht-social-icon{
    width:15px;height:15px;flex-basis:15px
  }

  .cht-post-page .csp-hero>.cht-container,
  .cht-post-page .csp-featured-wrap,
  .cht-post-page .csp-layout,
  .cht-post-page .csp-related>.cht-container,
  .cht-post-page .cht-footer>.cht-container,
  .cht-post-page .cht-footer-bottom .cht-container{
    width:calc(100% - 24px);max-width:none;margin-inline:12px;
    padding-left:44px;padding-right:8px
  }
  .cht-post-page .cht-header .cht-container{
    width:calc(100% - 28px);margin-inline:14px;padding:0
  }

  .cht-post-page .csp-layout{
    grid-template-columns:1fr;gap:28px;
    padding-top:42px;padding-bottom:52px
  }
  .cht-post-page .csp-sidebar-sticky{
    position:static;grid-template-columns:1fr 1fr
  }
  .cht-post-page .csp-course-card{grid-column:1/-1}
  .cht-post-page .csp-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cht-post-page .cht-footer-grid{grid-template-columns:1fr 1fr}

  .cht-post-page .cht-mobile-bar{
    position:fixed;z-index:9997;left:0;right:0;bottom:0;
    display:grid;grid-template-columns:1fr 1.12fr 1.12fr;
    min-height:62px;background:#fff;box-shadow:0 -5px 22px rgba(0,0,0,.15)
  }
  .cht-post-page .cht-mobile-bar a{
    display:flex;align-items:center;justify-content:center;gap:6px;
    min-height:62px;padding:8px 5px;border-right:1px solid #dfe2e7;
    background:#fff;color:#303640!important;font-size:10px;font-weight:800;
    text-decoration:none;white-space:nowrap
  }
  .cht-post-page .cht-mobile-bar .cht-mobile-wa{
    background:#128c4a;color:#fff!important
  }
  .cht-post-page .cht-mobile-bar .cht-mobile-courses{
    background:#f4a98a;color:#303640!important;border-right:0
  }
}

/* Phone */
@media(max-width:650px){
  .cht-post-page{--rail-m:28px;padding-bottom:70px}

  .cht-post-page .cht-social-rail{width:var(--rail-m)!important}
  .cht-post-page .cht-social-rail .cht-social-link{
    width:var(--rail-m)!important;height:var(--rail-m)!important;flex-basis:var(--rail-m)!important
  }
  .cht-post-page .cht-social-rail .cht-social-icon{
    width:13px;height:13px;flex-basis:13px
  }

  .cht-post-page .csp-hero>.cht-container,
  .cht-post-page .csp-featured-wrap,
  .cht-post-page .csp-layout,
  .cht-post-page .csp-related>.cht-container,
  .cht-post-page .cht-footer>.cht-container,
  .cht-post-page .cht-footer-bottom .cht-container{
    width:calc(100% - 18px);margin-inline:9px;
    padding-left:38px;padding-right:5px
  }
  .cht-post-page .cht-header .cht-container{
    width:calc(100% - 18px);margin-inline:9px;padding:0
  }

  .cht-post-page .cht-header-inner{min-height:70px;gap:8px}
  .cht-post-page .cht-logo{width:66px;flex-basis:66px}
  .cht-post-page .cht-logo img{width:66px;height:54px}
  .cht-post-page .cht-mobile-header-cta{
    min-height:40px;padding:9px 10px;font-size:9px
  }
  .cht-post-page .cht-mobile-nav summary{
    min-width:50px;min-height:40px;padding:7px;font-size:11px
  }

  .cht-post-page .csp-hero{padding:18px 0 38px}
  .cht-post-page .csp-breadcrumb{margin-bottom:24px;font-size:10px}
  .cht-post-page .csp-hero h1{
    font-size:clamp(31px,9vw,39px);line-height:1.08;letter-spacing:-1px
  }
  .cht-post-page .csp-deck{font-size:14px;line-height:1.66}
  .cht-post-page .csp-featured-wrap{padding-top:24px}
  .cht-post-page .csp-featured{border-radius:8px}

  .cht-post-page .csp-sidebar-sticky{grid-template-columns:1fr}
  .cht-post-page .csp-course-card{grid-column:auto}

  .cht-post-page .csp-article-content{
    font-size:16px;line-height:1.82
  }
  .cht-post-page .csp-article-content>p:first-child{font-size:17px}
  .cht-post-page .csp-article-content h2{
    margin-top:39px;font-size:27px;letter-spacing:-.4px
  }
  .cht-post-page .csp-article-content h3{
    margin-top:30px;font-size:21px
  }
  .cht-post-page .csp-article-content blockquote{
    margin:27px 0;padding:18px;font-size:18px
  }
  .cht-post-page .csp-article-content table th,
  .cht-post-page .csp-article-content table td{
    min-width:135px;padding:10px;font-size:12px
  }
  .cht-post-page .csp-article-content .gallery{grid-template-columns:1fr}

  .cht-post-page .csp-inline-cta{padding:24px 18px}
  .cht-post-page .csp-inline-cta h2{font-size:26px}
  .cht-post-page .csp-inline-actions{
    display:grid;grid-template-columns:1fr
  }
  .cht-post-page .csp-inline-actions .cht-btn{width:100%}

  .cht-post-page .csp-author-box{
    grid-template-columns:58px minmax(0,1fr);gap:13px
  }
  .cht-post-page .csp-author-avatar img{width:58px;height:58px}
  .cht-post-page .csp-post-nav{grid-template-columns:1fr;gap:18px}
  .cht-post-page .csp-post-nav .csp-next{text-align:left}

  .cht-post-page .csp-related{padding:42px 0 48px}
  .cht-post-page .csp-related-head{
    align-items:flex-start;flex-direction:column;gap:7px
  }
  .cht-post-page .csp-related-grid{grid-template-columns:1fr;gap:13px}

  .cht-post-page .cht-footer{padding-top:44px}
  .cht-post-page .cht-footer-grid{grid-template-columns:1fr;gap:24px}
  .cht-post-page .cht-footer-bottom-inner{
    flex-direction:column;align-items:flex-start
  }

  .cht-post-page .cht-mobile-bar{min-height:58px}
  .cht-post-page .cht-mobile-bar a{
    min-height:58px;padding:7px 2px;font-size:8.5px;gap:4px
  }
}

@media(max-width:360px){
  .cht-post-page{--rail-m:26px}
  .cht-post-page .csp-hero>.cht-container,
  .cht-post-page .csp-featured-wrap,
  .cht-post-page .csp-layout,
  .cht-post-page .csp-related>.cht-container,
  .cht-post-page .cht-footer>.cht-container,
  .cht-post-page .cht-footer-bottom .cht-container{padding-left:35px}
  .cht-post-page .csp-hero h1{font-size:29px}
  .cht-post-page .cht-mobile-header-cta{padding-inline:8px;font-size:8.5px}
  .cht-post-page .cht-mobile-nav summary{min-width:46px}
}

@supports(padding:max(0px)){
  @media(max-width:820px){
    .cht-post-page{
      padding-bottom:max(76px,calc(60px + env(safe-area-inset-bottom)))
    }
    .cht-post-page .cht-mobile-bar{
      padding-bottom:env(safe-area-inset-bottom)
    }
  }
}

@media(prefers-reduced-motion:reduce){
  .cht-post-page *,
  .cht-post-page *::before,
  .cht-post-page *::after{
    scroll-behavior:auto!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!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;}
}


/* ==========================================================
   CHERITAN SINGLE POST 2.8 — Trending editorial refresh
   ========================================================== */
.cht-post-page .csp-hero{
  background:
    radial-gradient(circle at 12% 10%, rgba(244,169,138,.18), transparent 24%),
    linear-gradient(180deg,#f7f7f8 0%,#f2f3f5 100%);
}
.cht-post-page .csp-category{
  box-shadow:0 10px 24px rgba(244,169,138,.25);
}
.cht-post-page .csp-hero h1{
  font-size:clamp(36px,5.1vw,62px);
  letter-spacing:-1.8px;
}
.cht-post-page .csp-deck{
  color:#55606c;
  font-size:18px;
}
.cht-post-page .csp-featured{
  border-radius:18px;
  box-shadow:0 24px 60px rgba(48,54,64,.10);
}
.cht-post-page .csp-layout{
  gap:44px;
}
.cht-post-page .csp-toc-card,
.cht-post-page .csp-share-card{
  border-radius:14px;
  background:#fbfbfc;
}
.cht-post-page .csp-course-card{
  border-radius:16px;
  box-shadow:0 18px 42px rgba(48,54,64,.12);
}
.cht-post-page .csp-article-content{
  font-size:18px;
  line-height:1.88;
  color:#3f4752;
}
.cht-post-page .csp-article-content>p:first-child{
  font-size:20px;
  color:#333b46;
}
.cht-post-page .csp-article-content h2{
  font-size:34px;
  line-height:1.18;
  letter-spacing:-.8px;
  margin:52px 0 16px;
}
.cht-post-page .csp-article-content h3{
  font-size:24px;
  line-height:1.28;
  margin:34px 0 12px;
}
.cht-post-page .csp-article-content blockquote{
  margin:28px 0;
  padding:20px 22px;
  border-left:4px solid #f4a98a;
  background:#fbf6f3;
  border-radius:12px;
  color:#4e5560;
}
.cht-post-page .csp-article-content ul,
.cht-post-page .csp-article-content ol{
  padding-left:1.2em;
}
.cht-post-page .csp-article-content li{
  margin-bottom:10px;
}
.cht-post-page .csp-related-card{
  border-radius:16px;
}
@media(max-width:767px){
  .cht-post-page .csp-hero{padding:26px 0 40px}
  .cht-post-page .csp-hero h1{font-size:clamp(30px,8vw,40px);letter-spacing:-1.1px}
  .cht-post-page .csp-deck{font-size:15px;line-height:1.72}
  .cht-post-page .csp-featured{border-radius:14px}
  .cht-post-page .csp-article-content{font-size:16px;line-height:1.8}
  .cht-post-page .csp-article-content h2{font-size:28px;margin:36px 0 14px}
  .cht-post-page .csp-article-content h3{font-size:22px}
}
