/* CareerLink 1.5: text-first tools, aligned footer and a readable article library. */
html{scroll-padding-top:calc(24px + var(--wp-admin--admin-bar--height,0px))}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
.cl-home-tool,.cl-tool-card{border-top:3px solid var(--cl-line);padding-top:25px;gap:15px}
.cl-home-tool h3,.cl-tool-card h3{margin-top:0}.cl-home-tool p{margin-bottom:25px}
.cl-country-card{display:block;min-height:100px;border-left:3px solid var(--cl-line)}
.cl-country-card h3{margin:0 0 5px}.cl-country-card p{margin:0}
.cl-footer-editorial{background:radial-gradient(ellipse at 100% 0%,#482435 0%,transparent 55%),#202027;color:#eee9ec;padding:52px 0 24px;border-top:0}
.cl-footer-intro{display:flex;justify-content:space-between;align-items:center;gap:30px;padding-bottom:35px;border-bottom:1px solid #ffffff24}
.cl-footer-kicker{font-size:12px;font-weight:600;letter-spacing:1.3px;text-transform:uppercase;color:#dfbfcf;margin:0 0 12px}
.cl-footer-editorial .cl-footer-brand{font-size:34px;color:#fff;line-height:1.2;letter-spacing:-1px}
.cl-footer-intro p:last-child{max-width:560px;color:#d0c5ce;line-height:1.8;font-size:15px;margin:15px 0 0}
.cl-footer-cta{border:1px solid #b99aa9;color:#fff;border-radius:8px;min-height:48px;padding:12px 20px;text-decoration:none;font-size:14px;white-space:nowrap}
.cl-footer-cta:hover{background:#ffffff10}
.cl-footer-columns{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:30px;padding:36px 0 29px;align-items:start}
.cl-footer-column{min-width:0}.cl-footer-column h2{color:#fff;font-size:16px;font-weight:650;line-height:1.4;margin:0 0 16px;letter-spacing:0}
.cl-footer-column h2::after{content:'';display:block;width:32px;height:2px;background:#ce9bad;margin-top:12px}
.cl-footer-list{list-style:none;padding:0;margin:0}.cl-footer-list li{padding:0;margin:0}
.cl-footer-list a{display:flex;align-items:center;min-height:40px;padding:6px 0;line-height:1.55;color:#d0c5ce;text-decoration:none;font-size:14px;overflow-wrap:anywhere}
.cl-footer-list a:hover,.cl-footer-editorial .clg-policy-links a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.cl-footer-editorial .clg-policy-links{border-top:1px solid #ffffff24;border-bottom:1px solid #ffffff24;gap:4px 20px;padding:20px 0;margin:0;font-size:12px;color:#d0c5ce}
.cl-footer-editorial .clg-policy-links a,.cl-footer-editorial .clg-policy-links button{min-height:36px;display:inline-flex;align-items:center;text-decoration:none;color:inherit;padding:4px 0}
.cl-footer-editorial .cl-footer-bottom{border:0;margin-top:0;padding-top:24px;font-size:12px;line-height:1.6;color:#c4b7c1;align-items:center;gap:12px}
.cl-footer-bottom a{color:inherit;text-decoration:none;min-height:36px;display:inline-flex;align-items:center}
.clb-library .cl-article-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:24px}
.clb-search{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) auto;gap:15px;align-items:end;margin:0 0 22px}
.clb-search label{display:grid;gap:9px;font-size:13px;font-weight:650;min-width:0}
.clb-search input,.clb-search select{width:100%;min-width:0;border:1px solid var(--cl-line);background:#fff;color:var(--cl-text);border-radius:8px;padding:13px 15px;font:inherit;font-size:16px;min-height:50px}
.clb-search .cl-button{min-height:50px}
.clb-search:has(input[name=s]){grid-template-columns:minmax(0,1fr) auto}
.clb-topics{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 26px}
.clb-topics a,.clb-tags a{display:inline-flex;align-items:center;min-height:40px;padding:8px 14px;border:1px solid var(--cl-line);border-radius:25px;font-size:13px;text-decoration:none;background:#fff;color:var(--cl-muted)}
.clb-topics a[aria-current=page]{background:var(--cl-brand);border-color:var(--cl-brand);color:#fff}
.clb-results{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 22px;color:var(--cl-muted);font-size:14px}.clb-results p{margin:0}
.clb-card{display:flex;flex-direction:column;background:#fff;min-width:0;border:1px solid var(--cl-line);border-radius:12px;box-shadow:none}
.clb-card>div{padding:25px;display:flex;flex-direction:column;flex:1;align-items:start}
.clb-card .cl-article-image{aspect-ratio:16/9;min-height:0;overflow:hidden}.clb-card .cl-article-image img{width:100%;height:100%;object-fit:cover}
.clb-card h2,.clb-card h3{font-size:23px;font-weight:700;line-height:1.4;letter-spacing:-.45px;margin:13px 0 12px}
.clb-card h2 a,.clb-card h3 a{color:var(--cl-text);text-decoration:none}.clb-card h2 a:hover,.clb-card h3 a:hover{color:var(--cl-brand);text-decoration:underline;text-underline-offset:4px}
.clb-topic{font-size:12px;font-weight:650;line-height:1.5;text-decoration:none;min-height:30px;display:inline-flex;align-items:center;color:var(--cl-brand)}
.clb-meta{display:flex;flex-wrap:wrap;gap:7px 18px;font-size:13px;line-height:1.7;color:var(--cl-muted)}.clb-meta a{color:inherit;text-decoration:none}.clb-meta a:hover{text-decoration:underline}
.clb-meta time{font-variant-numeric:tabular-nums}.clb-card .clb-meta{gap:5px 12px;font-size:12px}.clb-card .clb-meta>a{flex-basis:100%}
.clb-card p{font-size:15px;color:var(--cl-muted);line-height:1.8;margin:18px 0 20px}
.clb-read-link{margin-top:auto;font-weight:650;font-size:13px;min-height:38px;display:inline-flex;align-items:center;text-underline-offset:4px}
.clb-pagination{margin-top:35px}.clb-pagination .page-numbers{align-items:center}.clb-pagination .page-numbers li{display:block}
.clb-progress{position:fixed;z-index:100;top:var(--wp-admin--admin-bar--height,0px);left:0;right:0;height:3px;pointer-events:none}.clb-progress span{display:block;width:100%;height:100%;background:var(--cl-brand);transform-origin:left;transform:scaleX(0)}
.clb-article{background:#fff}.clb-article-header{background:linear-gradient(115deg,#f8fbff,#eff6ff);border-bottom:1px solid var(--cl-line);padding:22px 0 42px}
.clb-breadcrumbs{display:flex;gap:12px;flex-wrap:wrap;color:var(--cl-muted);font-size:12px;margin:0 0 32px}.clb-breadcrumbs a{color:inherit;text-decoration:none;min-height:30px;display:flex;align-items:center}.clb-breadcrumbs span{align-self:center}
.clb-article-heading{max-width:890px}.clb-article-heading .cl-eyebrow{color:var(--cl-brand);font-size:11px;margin:0 0 14px}
.clb-article-heading h1{font-size:clamp(33px,4.1vw,49px);line-height:1.18;font-weight:750;letter-spacing:-1.5px;margin:0 0 22px}
.clb-deck{font-size:20px;line-height:1.65;color:var(--cl-muted);max-width:790px;margin:0 0 24px}.clb-article-topics{display:flex;gap:15px;flex-wrap:wrap;margin:16px 0 0}
.clb-reading-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:65px;padding-top:40px;padding-bottom:65px;align-items:start}
.clb-main{min-width:0;max-width:760px}.clb-content{font-size:18px;line-height:1.85;max-width:70ch;width:100%;margin:0;color:#302b32}
.clb-content h2{font-size:29px;line-height:1.35;letter-spacing:-.6px;margin:1.8em 0 .7em}.clb-content h3{font-size:23px;line-height:1.4;margin:1.6em 0 .65em}
.clb-content h2,.clb-content h3{scroll-margin-top:calc(32px + var(--wp-admin--admin-bar--height,0px))}
.clb-content p{margin:0 0 1.4em}.clb-content ul,.clb-content ol{padding-left:25px;margin:0 0 1.5em}.clb-content li{padding-left:3px;margin:.55em 0}
.clb-content a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}.clb-content blockquote{margin:28px 0;padding:18px 24px;border-left:3px solid var(--cl-brand);background:var(--cl-sand);color:var(--cl-text);font-size:20px}.clb-content blockquote p:last-child{margin:0}
.clb-content pre{max-width:100%;overflow:auto;padding:20px;background:var(--cl-sand);font-size:14px;line-height:1.7}.clb-content iframe,.clb-content video{max-width:100%}
.clb-content .alignwide,.clb-content .alignfull{width:100%;max-width:100%;margin-inline:0}.clb-content table{font-size:15px;line-height:1.65}.clb-content th{background:var(--cl-sand)}.clb-content figcaption{font-size:13px;line-height:1.6;color:var(--cl-muted)}
.clb-feature{margin:0 0 32px}.clb-feature img{width:100%;height:auto;border-radius:12px;display:block}.clb-feature figcaption{font-size:12px;line-height:1.7;color:var(--cl-muted);padding-top:10px}
.clb-sidebar{align-self:stretch;min-height:0}.clb-sidebar-inner{max-height:calc(100vh - 48px - var(--wp-admin--admin-bar--height,0px));overflow:auto;position:sticky;top:calc(24px + var(--wp-admin--admin-bar--height,0px))}
.clb-toc{padding:23px;background:#fbf8f5;border:1px solid var(--cl-line);border-radius:12px;margin-bottom:24px}.clb-toc h2{font-size:16px;line-height:1.5;margin:0 0 14px}.clb-toc ol{list-style:none;padding:0;margin:0;max-height:330px;overflow:auto}.clb-toc li{margin:0;padding:0}
.clb-toc a{display:block;color:var(--cl-muted);font-size:13px;line-height:1.6;text-decoration:none;padding:8px 0;min-height:35px}.clb-toc a[aria-current=location]{color:var(--cl-brand);font-weight:700}.clb-toc a:hover{text-decoration:underline}.clb-toc-child{padding-left:15px!important}
.clb-side-card{background:var(--cl-tint);border-radius:12px;padding:24px;margin:0 0 25px}.clb-side-card .cl-eyebrow{font-size:10px;color:var(--cl-brand);margin:0 0 12px}.clb-side-card h2{font-size:23px;line-height:1.3;margin:0 0 13px}.clb-side-card p:not(.cl-eyebrow){font-size:14px;color:var(--cl-muted);line-height:1.8;margin:0 0 20px}.clb-side-card .cl-button{width:100%;margin:0 0 14px}.clb-side-card>a:last-child:not(.cl-button){font-size:13px;font-weight:600;min-height:35px;display:inline-flex;align-items:center}
.clb-side-search h2{font-size:16px;margin:0 0 16px}.clb-side-search .clb-search{display:flex;flex-direction:column;align-items:stretch;gap:12px}.clb-side-search .clb-search input{font-size:14px}.clb-side-search .clb-search label{font-size:12px}
.clb-mobile-toc{display:none}.clb-locked{grid-template-columns:minmax(0,760px);justify-content:center}
.clb-share{padding-top:28px;margin-top:35px;border-top:1px solid var(--cl-line)}.clb-share>p{color:var(--cl-muted);font-size:14px;line-height:1.8;margin:0 0 13px}.clb-share .cl-share-links{border:0;padding:0;gap:10px 22px}.clb-share .cl-share-links a,.clb-share .cl-share-links button{min-height:40px;display:inline-flex;align-items:center;font-size:13px}
.clb-tags{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.clb-author{margin:30px 0 0;padding:26px;border:1px solid var(--cl-line);border-radius:12px;background:var(--cl-sand)}.clb-author .cl-eyebrow{font-size:10px;color:var(--cl-brand);margin:0 0 10px}.clb-author h2{font-size:22px;line-height:1.4;margin:0 0 12px}.clb-author h2 a{text-decoration:none;color:var(--cl-text)}.clb-author>p:not(.cl-eyebrow){color:var(--cl-muted);font-size:15px;line-height:1.85;margin:0 0 15px}.clb-author>a{font-size:13px}
.clb-related{padding:52px 0;background:var(--cl-sand);border-top:1px solid var(--cl-line)}.clb-related h2{font-size:29px;line-height:1.3}.clb-related .cl-section-heading>a{font-size:13px}.clb-related .cl-article-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.clb-comments{margin:38px 0 0;padding-top:30px;border-top:1px solid var(--cl-line)}.clb-comments h2,.clb-comments h3{font-size:25px;margin:0 0 20px}.clb-comment-list,.clb-comment-list .children{list-style:none;padding:0;margin:0}.clb-comment-list .children{margin-left:20px}.clb-comment-list article{padding:22px 0;border-bottom:1px solid var(--cl-line)}.clb-comment-list .comment-meta{font-size:13px}.clb-comment-list .comment-content{font-size:15px;line-height:1.8}.clb-comments .comment-form{display:grid;grid-template-columns:1fr 1fr;gap:17px}.clb-comments .comment-form p{margin:0;font-size:13px;line-height:1.7}.clb-comments .comment-form p:not(.comment-form-author):not(.comment-form-email){grid-column:1/-1}.clb-comments label{display:block;font-weight:600;margin-bottom:8px}.clb-comments input:not([type=checkbox]),.clb-comments textarea{border:1px solid var(--cl-line);border-radius:8px;padding:12px;font:inherit;width:100%;max-width:100%;min-height:48px;background:#fff;color:var(--cl-text)}.clb-comments .form-submit input{width:auto;background:var(--cl-brand);color:#fff;padding-inline:24px;border-color:var(--cl-brand);cursor:pointer}.clb-comments .comment-form-cookies-consent{display:flex;gap:10px;align-items:start}.clb-comments .comment-form-cookies-consent input{margin-top:5px}.clb-comments .comment-form-cookies-consent label{font-weight:400}.clb-comments .logged-in-as,.clb-comments .comment-notes{grid-column:1/-1}
@media(max-width:1000px){.cl-footer-columns{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.clb-reading-layout{gap:30px;grid-template-columns:minmax(0,1fr) 250px}.clb-card h2,.clb-card h3{font-size:21px}.clb-card>div{padding:21px}.clb-related .cl-article-grid,.clb-library .cl-article-grid{gap:18px}}
@media(max-width:800px){.clb-reading-layout{grid-template-columns:1fr;gap:0;padding-top:28px}.clb-main{max-width:70ch;margin-inline:auto;width:100%}.clb-sidebar{display:none}.clb-mobile-toc{display:block}.clb-mobile-toc .clb-toc{margin-bottom:28px}.clb-mobile-toc .clb-toc ol{max-height:250px}.clb-library .cl-article-grid,.clb-related .cl-article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.clb-article-heading h1{font-size:38px}.clb-article-header{padding-bottom:30px}.clb-deck{font-size:18px}.clb-breadcrumbs{margin-bottom:22px}}
@media(max-width:600px){.cl-footer-editorial{padding-top:36px}.cl-footer-intro{align-items:start;flex-direction:column;gap:22px;padding-bottom:28px}.cl-footer-kicker{font-size:10px;letter-spacing:1px}.cl-footer-editorial .cl-footer-brand{font-size:30px}.cl-footer-intro p:last-child{font-size:14px}.cl-footer-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px;padding-top:29px}.cl-footer-column h2{font-size:15px}.cl-footer-list a{font-size:13px;min-height:40px}.cl-footer-editorial .clg-policy-links{gap:5px 16px}.cl-footer-editorial .cl-footer-bottom{flex-direction:column;align-items:start;gap:6px}.clb-search,.clb-search:has(input[name=s]){grid-template-columns:1fr}.clb-search .cl-button{width:100%}.clb-topics{gap:7px}.clb-topics a{font-size:12px}.clb-library .cl-article-grid,.clb-related .cl-article-grid{grid-template-columns:1fr;gap:20px}.clb-card h2,.clb-card h3{font-size:23px}.clb-card p{font-size:15px}.clb-meta{font-size:12px;gap:5px 13px}.clb-article-heading h1{font-size:34px;line-height:1.22;letter-spacing:-1px}.clb-content{font-size:17px;line-height:1.85}.clb-content h2{font-size:26px}.clb-content h3{font-size:22px}.clb-content blockquote{font-size:18px;padding:18px 20px}.clb-share .cl-share-links{gap:5px 18px}.clb-author{padding:23px}.clb-related{padding:35px 0}.clb-related h2{font-size:26px}.clb-comments .comment-form{grid-template-columns:1fr}.clb-comments input:not([type=checkbox]),.clb-comments textarea{font-size:16px}}
@media print{.single-post .cl-site-header,.single-post .cl-site-footer,.single-post .clb-sidebar,.single-post .clb-mobile-toc,.single-post .clb-related,.single-post .clb-share,.single-post .clb-comments,.single-post .clb-progress{display:none}.single-post .clb-reading-layout{display:block}.single-post .clb-main{max-width:none}.single-post .clb-content{font-size:12pt;max-width:none}.single-post .clb-article-header{background:#fff}.single-post .cl-container{width:100%}}

/* Phase 5C: one native contents list, bounded reading column and locally scrolling tables. */
.clb-article-toc{margin:0 0 30px;background:var(--cl-tint);border:1px solid var(--cl-line);border-radius:12px;padding:18px 22px}
.clb-article-toc summary{cursor:pointer;min-height:44px;align-content:center;font-weight:650}
.clb-article-toc .clb-toc{border:0;padding:12px 0 0;background:transparent;margin:0}
.clb-article-toc .clb-toc h2{display:none}.clb-article-toc .clb-toc ol{max-height:none;overflow:visible}
.clb-article-toc .clb-toc a{min-height:44px;font-size:15px;overflow-wrap:anywhere}
.clb-sidebar-inner{position:static;max-height:none;overflow:visible}
.clb-content{overflow-wrap:anywhere}.clb-content img{max-width:100%;height:auto}
.clb-content table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}
.clb-content .wp-block-table{max-width:100%;overflow-x:auto;margin-inline:0}
.clb-content th,.clb-content td{padding:12px;min-width:110px;text-align:start}
.clb-content blockquote{border-left:0;border-inline-start:3px solid var(--cl-brand)}
.clb-content ul,.clb-content ol{padding-left:0;padding-inline-start:25px}
.clb-review,.clb-disclaimer,.clb-sources{margin-top:28px;font-size:15px;line-height:1.8;overflow-wrap:anywhere}
.clb-disclaimer{padding:18px 22px;background:var(--cl-tint);border-inline-start:3px solid var(--cl-brand)}
.clb-disclaimer p{margin:0}.clb-sources h2{font-size:23px}.clb-sources a{text-underline-offset:4px}
.clb-editorial-links{list-style:none;padding:0;margin:16px 0 0}.clb-editorial-links a{display:inline-flex;min-height:44px;align-items:center;text-underline-offset:4px;overflow-wrap:anywhere}
.clb-empty .clb-editorial-links{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
@media(max-width:430px){.clb-article-toc{padding:12px 16px}.clb-content h2,.clb-content h3{overflow-wrap:anywhere}}

.clb-article .clb-article-toc{background:var(--cl-tint)}
