/* ===== CTD blog (listing + posts) ===== */
.blog-page,.post-page{background:transparent;}
body{background:radial-gradient(1300px 900px at 86% 8%, #e7f6fd 0%, #eef6fc 36%, #f7fbff 66%, #fff 100%);}

/* cards */
.bgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.bcard{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;}
.bcard:hover{transform:translateY(-4px);box-shadow:0 26px 46px -28px rgba(15,25,55,.42);border-color:#bfe3f6;}
.bcard-img{aspect-ratio:16/9;overflow:hidden;background:#eef4fa;}
.bcard-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease;}
.bcard:hover .bcard-img img{transform:scale(1.035);}
.bcard-body{display:flex;flex-direction:column;gap:9px;padding:20px 22px 22px;flex:1;}
.bcat{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--ctd-d);}
.bcard-body h3{font-size:18.5px;font-weight:700;line-height:1.3;color:var(--ink);}
.bcard:hover h3{color:var(--ctd-d);}
.bcard-body p{font-size:14.5px;line-height:1.55;color:var(--muted);flex:1;}
.bmeta{font-size:13px;color:#9aa1b4;font-weight:500;}

/* featured card */
.bfeat{display:grid;grid-template-columns:1.15fr 1fr;background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 30px 60px -38px rgba(15,25,55,.4);transition:transform .16s ease,box-shadow .16s ease;}
.bfeat:hover{transform:translateY(-3px);box-shadow:0 36px 66px -36px rgba(15,25,55,.5);}
.bfeat-img{min-height:320px;background:#eef4fa;}
.bfeat-img img{width:100%;height:100%;object-fit:cover;display:block;}
.bfeat-body{display:flex;flex-direction:column;gap:12px;padding:38px 40px;justify-content:center;}
.bfeat-body h2{font-size:30px;font-weight:800;letter-spacing:-.6px;line-height:1.18;color:var(--ink);}
.bfeat:hover h2{color:var(--ctd-d);}
.bfeat-body p{font-size:16px;line-height:1.6;color:var(--muted);}
.bread{display:inline-flex;align-items:center;gap:7px;font-size:15px;font-weight:700;color:var(--ctd-d);margin-top:2px;}

/* series strip */
.series-strip{display:flex;align-items:center;gap:20px;background:linear-gradient(135deg,#0c1322,#15233f);border-radius:20px;padding:24px 28px;color:#fff;flex-wrap:wrap;}
.ss-left{display:flex;align-items:center;gap:16px;flex:1;min-width:260px;}
.ss-left>i{font-size:32px;color:var(--ctd);flex-shrink:0;}
.ss-left b{display:block;font-size:17px;}
.ss-left span{display:block;font-size:14px;color:#aab2cc;margin-top:3px;line-height:1.45;}
.series-strip .btn-ghost{background:transparent;border-color:rgba(255,255,255,.25);color:#fff;}
.series-strip .btn-ghost:hover{background:rgba(255,255,255,.08);}

/* ===== post page ===== */
.post-hero{padding:52px 40px 8px;text-align:center;max-width:880px;}
.crumbs{display:flex;align-items:center;justify-content:center;gap:7px;font-size:13.5px;color:#9aa1b4;margin-bottom:26px;flex-wrap:wrap;}
.crumbs a{color:#6b7396;font-weight:500;}
.crumbs a:hover{color:var(--ctd-d);}
.crumbs i{font-size:14px;}
.crumbs span{color:var(--ink);font-weight:500;max-width:320px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.post-hero .eyebrow2{margin-bottom:18px;}
.post-hero h1{font-size:44px;line-height:1.12;font-weight:800;letter-spacing:-1.2px;color:var(--ink);}
.byline{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:24px;}
.byline .avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--ctd),#5b5bf0);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:15px;flex-shrink:0;}
.byline div{text-align:left;}
.byline b{display:block;font-size:15px;color:var(--ink);}
.byline span{display:block;font-size:13.5px;color:var(--muted);margin-top:1px;}
.post-hero-img{max-width:960px;padding-top:36px;padding-bottom:8px;}
.post-hero-img img{width:100%;height:auto;border-radius:24px;border:1px solid var(--line);box-shadow:0 40px 80px -44px rgba(15,25,55,.45);display:block;}

.post-body{max-width:760px;padding-top:34px;padding-bottom:20px;}
.post-body p{font-size:17px;line-height:1.75;color:#3a445f;margin-bottom:20px;}
.post-body p.lede{font-size:20px;line-height:1.65;color:#2e3650;}
.post-body a{color:var(--ctd-d);font-weight:600;text-decoration:underline;text-decoration-color:rgba(24,147,196,.35);text-underline-offset:3px;}
.post-body a:hover{text-decoration-color:var(--ctd-d);}
.post-body h2{font-size:29px;font-weight:800;letter-spacing:-.6px;color:var(--ink);margin:42px 0 16px;}
.post-body h3{font-size:20px;font-weight:700;color:var(--ink);margin:30px 0 10px;}
.post-body h3 a{text-decoration:none;color:var(--ink);}
.post-body h3 a:hover{color:var(--ctd-d);}
.post-body ul{list-style:none;margin:0 0 20px;display:flex;flex-direction:column;gap:10px;}
.post-body ul>li{position:relative;padding-left:26px;font-size:16px;line-height:1.65;color:#3a445f;}
.post-body ul>li::before{content:"\2022";position:absolute;left:8px;color:var(--ctd);font-weight:800;}
.post-body ol.steps-list{margin:0 0 20px;padding-left:0;counter-reset:step;list-style:none;display:flex;flex-direction:column;gap:12px;}
.post-body ol.steps-list>li{counter-increment:step;position:relative;padding:16px 18px 16px 58px;background:#fff;border:1px solid var(--line);border-radius:14px;font-size:15.5px;line-height:1.6;color:#3a445f;}
.post-body ol.steps-list>li::before{content:counter(step);position:absolute;left:16px;top:15px;width:28px;height:28px;border-radius:9px;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:13.5px;}
.post-body ul.check>li{padding:14px 16px 14px 46px;background:#fff;border:1px solid var(--line);border-radius:14px;}
.post-body ul.check>li::before{content:"\2713";left:16px;top:14px;color:var(--ctd);font-size:17px;}
.post-body b{color:var(--ink);}
.post-body figure{margin:30px 0;}
.post-body figure img{width:100%;height:auto;border-radius:18px;border:1px solid var(--line);display:block;}
.post-body figcaption{font-size:13.5px;color:var(--muted);text-align:center;margin-top:12px;line-height:1.55;}
.post-body em{font-style:italic;}

.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:28px 0;}
.stat-row .stat{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px 18px;text-align:center;}
.stat-row .n{display:block;font-family:var(--font-head);font-size:30px;font-weight:800;letter-spacing:-.5px;color:var(--ctd-d);}
.stat-row .l{display:block;font-size:13px;line-height:1.45;color:var(--muted);margin-top:6px;}

.pull{border-left:4px solid var(--ctd);padding:6px 0 6px 22px;margin:30px 0;font-family:var(--font-head);font-size:22px;line-height:1.5;font-weight:600;letter-spacing:-.3px;color:var(--ink);}

.callout{display:flex;gap:16px;background:#e7f6fd;border:1px solid #c7e9f8;border-radius:16px;padding:20px 22px;margin:26px 0;}
.callout>i{font-size:26px;color:var(--ctd-d);flex-shrink:0;margin-top:2px;}
.callout div{font-size:15.5px;line-height:1.65;color:#2e3650;}

.truth{display:flex;gap:18px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;margin:0 0 14px;}
.truth .tn{width:38px;height:38px;border-radius:11px;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:16px;flex-shrink:0;font-family:var(--font-head);}
.truth h3{margin:2px 0 7px !important;font-size:18px !important;}
.truth p{font-size:15px !important;line-height:1.6 !important;margin-bottom:0 !important;}

.series-box{background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px;margin:44px 0 10px;box-shadow:0 24px 50px -36px rgba(15,25,55,.3);}
.series-head{display:flex;gap:14px;align-items:flex-start;margin-bottom:16px;}
.series-head>i{font-size:28px;color:var(--ctd-d);flex-shrink:0;}
.series-head b{display:block;font-size:17px;color:var(--ink);}
.series-head span{display:block;font-size:13.5px;color:var(--muted);margin-top:2px;}
.series-box ul{list-style:none;display:flex;flex-direction:column;margin:0;}
.series-box li a,.series-box li.on{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:11px;font-size:14.5px;color:#2e3650;}
.series-box li a:hover{background:#f2f7fd;}
.series-box li.on{background:#e7f6fd;font-weight:600;color:var(--ink);}
.series-box .sn{font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--ctd-d);background:#e7f6fd;border-radius:16px;padding:3px 10px;flex-shrink:0;min-width:112px;text-align:center;}
.series-box li.on .sn{background:#fff;}
.series-box li a i{color:#9aa1b4;font-size:17px;}
.series-box ul>li{padding-left:0;}
.series-box ul>li::before{display:none;}

@media (max-width:980px){
  .bgrid{grid-template-columns:1fr 1fr;}
  .bfeat{grid-template-columns:1fr;}
  .bfeat-img{min-height:220px;}
  .post-hero h1{font-size:33px;}
  .stat-row{grid-template-columns:1fr;}
}
@media (max-width:640px){
  .bgrid{grid-template-columns:1fr;}
  .bfeat-body{padding:26px 24px;}
  .post-hero{padding:36px 22px 4px;}
  .post-body{padding-top:24px;}
  .series-box .sn{min-width:0;}
  .series-strip{padding:22px;}
}

/* start-here guide cards */
.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.gcard{display:flex;align-items:center;gap:18px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px 26px;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;}
.gcard:hover{transform:translateY(-3px);box-shadow:0 26px 46px -28px rgba(15,25,55,.42);border-color:#bfe3f6;}
.gic{width:52px;height:52px;border-radius:14px;background:#e7f6fd;color:var(--ctd-d);display:flex;align-items:center;justify-content:center;font-size:26px;flex-shrink:0;}
.gtxt{display:flex;flex-direction:column;gap:3px;flex:1;}
.glabel{font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--ctd-d);}
.gtitle{font-family:var(--font-head);font-size:19px;font-weight:700;color:var(--ink);line-height:1.25;}
.gcard:hover .gtitle{color:var(--ctd-d);}
.gdesc{font-size:13.5px;line-height:1.5;color:var(--muted);}
.garr{font-size:20px;color:#9aa1b4;flex-shrink:0;transition:transform .15s,color .15s;}
.gcard:hover .garr{transform:translateX(3px);color:var(--ctd-d);}
@media (max-width:760px){.guide-grid{grid-template-columns:1fr;}}

/* latest list + masterclass curriculum panel */
.list-head{display:flex;align-items:baseline;gap:14px;margin-bottom:20px;}
.list-head h2{font-size:26px;font-weight:800;letter-spacing:-.6px;color:var(--ink);}
.lh-note{font-size:13.5px;color:#9aa1b4;font-weight:500;}
.brow-list{display:flex;flex-direction:column;gap:14px;margin-top:18px;}
.brow{display:flex;align-items:center;gap:22px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px 22px 16px 16px;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;}
.brow:hover{transform:translateY(-3px);box-shadow:0 26px 46px -28px rgba(15,25,55,.42);border-color:#bfe3f6;}
.brow-img{width:190px;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#eef4fa;flex-shrink:0;}
.brow-img img{width:100%;height:100%;object-fit:cover;display:block;}
.brow-body{display:flex;flex-direction:column;gap:5px;flex:1;}
.brow-body h3{font-size:19px;font-weight:700;color:var(--ink);line-height:1.3;}
.brow:hover h3{color:var(--ctd-d);}
.brow-body p{font-size:14.5px;line-height:1.5;color:var(--muted);}
.mc-panel{background:linear-gradient(135deg,#0c1322,#15233f);border-radius:28px;padding:46px 46px 40px;color:#fff;}
.mc-head{max-width:640px;margin-bottom:30px;}
.mc-head .eyebrow2{background:rgba(43,182,232,.16);color:#7fd5f3;margin-bottom:16px;}
.mc-head h2{font-size:32px;font-weight:800;letter-spacing:-.8px;color:#fff;}
.mc-head p{font-size:15.5px;line-height:1.65;color:#aab2cc;margin-top:12px;}
.mc-list{list-style:none;display:flex;flex-direction:column;gap:10px;margin:0;padding:0;counter-reset:none;}
.mc-list a{display:flex;align-items:center;gap:18px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.09);border-radius:16px;padding:16px 20px;transition:background .15s,border-color .15s,transform .15s;}
.mc-list a:hover{background:rgba(255,255,255,.09);border-color:rgba(43,182,232,.45);transform:translateX(4px);}
.mc-num{min-width:56px;text-align:center;font-family:var(--font-head);font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#7fd5f3;background:rgba(43,182,232,.14);border-radius:10px;padding:7px 10px;flex-shrink:0;}
.mc-t{flex:1;display:flex;flex-direction:column;gap:2px;}
.mc-t b{font-size:16.5px;color:#fff;}
.mc-t span{font-size:13.5px;color:#8f99b8;line-height:1.45;}
.mc-meta{font-size:12.5px;color:#8f99b8;font-weight:600;flex-shrink:0;}
.mc-list a>i{font-size:19px;color:#7fd5f3;flex-shrink:0;}
@media (max-width:760px){
  .brow{flex-wrap:wrap;}
  .brow-img{width:100%;}
  .brow .garr{display:none;}
  .mc-panel{padding:30px 22px;}
  .mc-t span{display:none;}
  .mc-meta{display:none;}
}
