/* Purposeful section compositions, shared with the block editor. */
:root{--ac-v3-ink:#18211c;--ac-v3-muted:#617065;--ac-v3-line:#dce3db;--ac-v3-sage:#edf2e8;--ac-v3-paper:#f7f7f0;--ac-v3-blue:#edf2f5;}
.ac-section-mast{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:30px;}
.ac-section-mast .ac-eyebrow{margin:0 0 12px;}
.ac-section-mast h2{font-size:clamp(28px,3.3vw,42px);line-height:1.12;letter-spacing:-.035em;margin:0;}
.ac-section-mast>a,.ac-section-mast>.wp-block-group>p:last-child>a{font-size:14px;color:#354c3e;white-space:nowrap;}
.ac-v3-section{padding-block:64px;}
.ac-v3-section>.aboutcodex-shell{margin-block:0;}
.ac-v3-section h2,.ac-v3-section h3{margin-top:0;}
.ac-v3-section p{line-height:1.65;}
.ac-v3-section .ac-eyebrow{font-size:11px;letter-spacing:.1em;}
.ac-v3-section .wp-block-columns{gap:40px;margin-bottom:0;}
/* Article ending: one section, one grid, one card per result. */
.ac-next-read{background:var(--ac-v3-blue);border-block:1px solid #d7e0e4;padding:54px 0;margin-top:48px;clear:both;width:100%;}
.ac-next-read-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.ac-next-read .ac-list-card{padding:26px;border-radius:8px;border:1px solid #d6dfe3;min-width:0;}
.ac-next-read .ac-list-card h3{font-size:25px;line-height:1.25;max-width:none;overflow-wrap:break-word;}
.ac-next-read .ac-list-card .ac-small{margin-top:6px;}
.ac-next-read .ac-card-action{border-top:1px solid #e6ebe9;width:100%;padding-top:16px;}
/* Opening: editorial promise beside a tangible repository brief. */
.ac-v3-opening{padding-block:64px 48px;background:linear-gradient(135deg,#fafaf5 55%,#edf2e7);border-bottom:1px solid var(--ac-v3-line);}
.ac-v3-opening .wp-block-columns{align-items:center!important;gap:68px;}
.ac-v3-opening h1{font-size:clamp(42px,4.8vw,66px);line-height:1.06;letter-spacing:-.045em;margin:16px 0 24px!important;max-width:760px;}
.ac-v3-opening .ac-eyebrow{margin:0;color:#526b42;}
.ac-v3-opening .ac-opening-copy>p:not(.ac-eyebrow){font-size:18px;max-width:560px;}
.ac-v3-opening .wp-block-search{max-width:570px;margin:26px 0 16px;}
.ac-v3-opening .wp-block-search__inside-wrapper{padding:0;border:1px solid #b9c6b3;background:#fff;border-radius:7px;overflow:hidden;}
.ac-v3-opening .wp-block-search__input{min-width:0;padding:13px;border:0;}
.ac-v3-opening .wp-block-search__button{background:#233b2c;color:#fff;margin:0;border-radius:0;box-shadow:none;font-size:14px;padding:12px 18px;}
.ac-v3-opening .ac-opening-links{font-size:13px!important;color:#5d6b5b;}
.ac-v3-opening .ac-opening-links a{color:#35543d;text-decoration:underline;text-underline-offset:4px;}
.ac-brief-preview{background:#1c2922;color:#dce8d8;border:1px solid #2e4435;border-radius:14px;box-shadow:0 18px 48px #22382012;overflow:hidden;}
.ac-brief-preview .ac-preview-label{font:12px var(--aboutcodex-mono);padding:18px 24px;border-bottom:1px solid #34463a;margin:0;color:#a4b89e;}
.ac-brief-preview .wp-block-code{background:transparent;border:0;box-shadow:none;padding:24px;margin:0;font:14px/1.9 var(--aboutcodex-mono);color:#eef4e9;border-radius:0;white-space:pre-wrap;}
.ac-brief-preview .ac-preview-foot{padding:18px 24px;margin:0;border-top:1px solid #34463a;font-size:13px;color:#b2c7aa;}
.ac-brief-preview .ac-preview-foot a{color:#dcf5b7;}
.ac-brief-caption{font-size:12px!important;text-align:center;color:#667260;margin:14px 0 0!important;}
/* News desk: a dated rail rather than another card grid. */
.ac-v3-news{background:#fff;border-bottom:1px solid var(--ac-v3-line);}
.ac-v3-news .wp-block-column:first-child{flex-basis:30%!important;}
.ac-v3-news .wp-block-column:last-child{flex-basis:70%!important;}
.ac-v3-news .ac-news-list{border-left:2px solid #cfdbca;padding-left:28px;margin:0;}
.ac-v3-news .ac-news-list li{position:relative;padding:0 0 22px;margin:0 0 22px;border-bottom:1px solid #e1e7dd;}
.ac-v3-news .ac-news-list li:last-child{margin-bottom:0;padding-bottom:0;border:0;}
.ac-v3-news .ac-news-list li::before{content:'';position:absolute;left:-35px;top:7px;width:12px;height:12px;background:#78a24c;border:3px solid white;border-radius:50%;}
.ac-v3-news .ac-news-list a{font-size:24px;font-weight:650;line-height:1.3;text-decoration:none;}
.ac-v3-news .ac-news-list p{margin:8px 0 0;font-size:14px;}
/* Learning paths: three recognizable routes with different visual weights. */
.ac-v3-paths{background:var(--ac-v3-paper);}
.ac-path-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;}
.ac-path-card{position:relative;background:#fff;border:1px solid #d8e0d3;border-radius:12px;padding:30px;display:flex;flex-direction:column;}
.ac-path-card .ac-path-number{font:12px var(--aboutcodex-mono);letter-spacing:.08em;color:#6b7a61;margin:0 0 38px;}
.ac-path-card h3{font-size:30px;line-height:1.2;margin:0 0 12px;}
.ac-path-card p{font-size:16px;}
.ac-path-card>p:last-child{margin:auto 0 0;padding-top:24px;font-size:14px;font-weight:650;}
.ac-path-card a{color:#29432d;}
.ac-path-card--skills{background:#20382c;border-color:#20382c;color:#dbe8dc;}
.ac-path-card--skills h3,.ac-path-card--skills a{color:#f5f9ee;}
.ac-path-card--skills .ac-path-number{color:#bfd79d;}
.ac-path-card--workflows{background:#e9eee5;}
/* Field notes: actual project image beside the editorial story. */
.ac-v3-fieldnotes{background:#fff;}
.ac-v3-fieldnotes .wp-block-columns{align-items:center!important;}
.ac-field-image{margin:0;background:#e6ebdf;padding:18px;border:1px solid #d6dfce;border-radius:12px;}
.ac-field-image img{width:100%;height:auto;border-radius:5px;border:1px solid #cbd4c3;box-shadow:0 8px 20px #273d2512;}
.ac-field-image figcaption{font-size:12px;color:#63705d;margin-top:14px;}
.ac-field-copy{padding:12px 0 12px 16px;}
.ac-field-copy h2{font-size:clamp(30px,3.4vw,44px);line-height:1.15;}
.ac-field-copy .ac-small{font-size:13px;}
/* Workflow lab: the process is the visual, with explicit inputs and outputs. */
.ac-v3-lab{background:#20352b;color:#d7e3d9;}
.ac-v3-lab h2,.ac-v3-lab h3{color:#f3f7ee;}
.ac-v3-lab .ac-eyebrow{color:#c0dca4;}
.ac-v3-lab .ac-section-mast a{color:#dceecb;}
.ac-flow-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid #4c6253;border-radius:10px;overflow:hidden;margin-top:30px;}
.ac-flow-step{padding:26px;border-right:1px solid #4c6253;}
.ac-flow-step:last-child{border:0;background:#2a4434;}
.ac-flow-step .ac-step-index{font:12px var(--aboutcodex-mono);color:#bfd3ac;margin:0 0 24px;}
.ac-flow-step h3{font-size:23px;margin:0 0 12px;}
.ac-flow-step p{font-size:14px;line-height:1.65;margin-bottom:0;}
/* Resource desk: compact index rows and a quiet explanatory sidebar. */
.ac-v3-resources{background:#f0f3eb;border-block:1px solid #d9e2d2;}
.ac-v3-resources .wp-block-column:first-child{flex-basis:32%!important;}
.ac-v3-resources .wp-block-column:last-child{flex-basis:68%!important;}
.ac-library--index .ac-list-grid{display:block;border-top:1px solid #cbd8c4;}
.ac-library--index .ac-list-card{display:grid;grid-template-columns:1fr auto;gap:8px 20px;padding:22px 4px;background:transparent;border:0;border-bottom:1px solid #cbd8c4;border-radius:0;}
.ac-library--index .ac-card-meta{grid-column:1;}
.ac-library--index .ac-list-card h3{grid-column:1;margin:0;font-size:24px;}
.ac-library--index .ac-list-card>p:not(.ac-small){grid-column:1;font-size:14px;margin:0;}
.ac-library--index .ac-resource-facts,.ac-library--index .ac-list-card>.ac-small{display:none;}
.ac-library--index .ac-card-action{grid-column:2;grid-row:1/4;align-self:center;font-size:0;padding:12px;border:1px solid #c8d5bf;border-radius:50%;width:44px;height:44px;display:grid;place-items:center;}
.ac-library--index .ac-card-action>span[aria-hidden]{font-size:22px;line-height:1;}
/* Interior sections retain recognizable roles and avoid a sequence of identical boxes. */
.ac-interior-path{background:#fff;border-bottom:1px solid var(--ac-v3-line);}
.ac-interior-path .ac-steps{counter-reset:step;max-width:1020px;margin:28px 0 0;}
.ac-interior-path .ac-steps>li{border:0;border-bottom:1px solid #dce3d7;border-radius:0;padding:24px 16px 24px 66px;background:transparent;}
.ac-interior-path .ac-steps>li::before{left:4px;top:26px;font-size:16px;}
.ac-interior-path .ac-steps a{font-size:23px;}
.ac-interior-support{background:#eef2e9;border-radius:12px;padding:32px;margin-block:34px!important;}
.ac-interior-support .wp-block-column:first-child{border-right:1px solid #ccd8c4;padding-right:32px;}
.ac-interior-support h2{font-size:28px;}
.ac-interior-library{padding-top:32px;border-top:1px solid #d3dfcd;}
.ac-interior-library>.wp-block-heading{font-size:30px;}
.ac-prompt{position:relative;border-radius:10px;border-left:4px solid #617f4c;}
.ac-prompt h3{padding-bottom:16px;border-bottom:1px solid #e0e7da;}
.ac-prompt .ac-prompt-fields{background:#f1f4ed;padding:18px;border-radius:6px;margin-bottom:20px;}
.ac-builder-preview{background:#eaf0e4;position:sticky;top:28px;}
.ac-builder-preview pre{min-height:280px;}
.ac-archive-heading{border-left:4px solid #88a566;padding-left:24px;}
.ac-profile{background:transparent;}
.ac-author-library .ac-list-card{border-radius:8px;border-top:3px solid #c6d7b8;}
.ac-briefing-strip{background:#20352b;color:#e4eddf;border:0;width:100%;max-width:none;padding:32px max(32px,calc((100% - 1240px)/2));}
.ac-briefing-strip h2{color:#f2f7eb;font-size:30px;}
.ac-briefing-strip p{color:#c7d8be;}
.ac-briefing-strip .ac-button{background:#e4f0d2;color:#233b29;border-color:#e4f0d2;white-space:nowrap;}
@media(min-width:1025px){.ac-v3-opening .wp-block-column:first-child{flex-basis:59%!important;}.ac-v3-opening .wp-block-column:last-child{flex-basis:41%!important;}}
@media(max-width:1024px){.ac-v3-opening .wp-block-columns{gap:32px;}.ac-next-read-grid{gap:16px;}.ac-next-read .ac-list-card{padding:20px;}.ac-next-read .ac-list-card h3{font-size:22px;}.ac-flow-step{padding:20px;}.ac-path-card{padding:24px;}}
@media(max-width:767px){
.ac-v3-section{padding-block:36px;}.ac-v3-opening{padding:32px 0;}.ac-v3-opening h1{font-size:42px;}.ac-v3-opening .wp-block-columns{gap:28px;}.ac-brief-preview .wp-block-code{font-size:12px;padding:20px;}.ac-brief-preview .ac-preview-label,.ac-brief-preview .ac-preview-foot{padding:16px 20px;}
.ac-section-mast{display:block;margin-bottom:24px;}.ac-section-mast>a{display:inline-block;margin-top:16px;}.ac-section-mast h2{font-size:32px;}.ac-v3-section .wp-block-columns{gap:28px;}.ac-v3-news .ac-news-list a{font-size:21px;}
.ac-path-grid,.ac-next-read-grid{grid-template-columns:1fr;}.ac-path-card{padding:26px;}.ac-path-card .ac-path-number{margin-bottom:20px;}.ac-path-card>p:last-child{padding-top:12px;}.ac-field-copy{padding:0;}.ac-field-image{padding:12px;}
.ac-flow-steps{grid-template-columns:1fr 1fr;}.ac-flow-step{border-bottom:1px solid #4c6253;}.ac-flow-step:nth-child(2){border-right:0;}.ac-flow-step:nth-child(3){border-bottom:0;}.ac-flow-step h3{font-size:21px;}.ac-flow-step .ac-step-index{margin-bottom:16px;}
.ac-next-read{padding:36px 0;margin-top:32px;}.ac-next-read .ac-list-card{padding:24px;}.ac-next-read .ac-list-card h3{font-size:25px;}.ac-library--index .ac-list-card h3{font-size:21px;}.ac-library--index .ac-list-card{gap:8px 12px;}
.ac-interior-support{padding:24px;}.ac-interior-support .wp-block-column:first-child{border:0;border-bottom:1px solid #ccd8c4;padding:0 0 24px;}.ac-interior-path .ac-steps a{font-size:21px;}.ac-prompt .ac-prompt-fields{padding:14px;}.ac-builder-preview{position:static;}
.ac-briefing-strip{padding:28px 16px;}.ac-briefing-strip h2{font-size:27px;}.ac-archive-heading{padding-left:18px;}
}
@media(prefers-reduced-motion:reduce){.ac-path-card,.ac-list-card{transition:none;}}
/* Page-specific desks use the same type scale, with layouts suited to their content. */
.ac-news-list{list-style:none;}
.ac-section-mast>p{margin:0;font-size:14px;}
.ac-section-mast>p>a{color:#36513c;}
.ac-v3-lab .ac-section-mast>p>a{color:#dceecb;}
.ac-download-shelf>.wp-block-columns{gap:22px;counter-reset:files;}
.ac-download-shelf>.wp-block-columns>.wp-block-column{padding:28px;border:1px solid #d5dfcd;background:#f3f5ee;border-radius:8px;counter-increment:files;}
.ac-download-shelf>.wp-block-columns>.wp-block-column::before{content:'FILE COLLECTION / 0' counter(files);display:block;font:11px var(--aboutcodex-mono);letter-spacing:.06em;color:#6d7e62;margin-bottom:26px;}
.ac-download-shelf h2{font-size:27px;}
.ac-download-shelf ul{padding-left:0;list-style:none;}
.ac-download-shelf li{padding:12px 0;border-bottom:1px solid #d6dfcd;}
.ac-download-shelf li:last-child{border:0;}
.ac-news-archive .ac-list-grid{display:block;border-left:2px solid #c9d8be;padding-left:30px;}
.ac-news-archive .ac-list-card{padding:24px 0;border:0;border-radius:0;border-bottom:1px solid #dce4d6;position:relative;}
.ac-news-archive .ac-list-card::before{content:'';width:10px;height:10px;border-radius:50%;background:#6e8b52;position:absolute;left:-36px;top:34px;}
.ac-news-archive .ac-list-card h3{font-size:30px;max-width:900px;}
.ac-news-archive .ac-list-card>p{max-width:800px;}
.ac-editorial-note{padding:30px;border-left:4px solid #718b5d;background:#eef2e9;border-radius:0 8px 8px 0;}
.ac-guide-paths .wp-block-column{border-top:3px solid #a8bd97;padding:24px;background:#f3f5ee;border-radius:0 0 8px 8px;}
.ac-guide-paths h3{font-size:27px;}
.ac-topic-desk .ac-library-filters{border-radius:8px;background:#eef2e9;}
.ac-example-desk .ac-list-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
.ac-example-desk .ac-list-card{border-left:4px solid #799263;background:#f7f8f2;padding:32px;}
.ac-v3-section [id],.ac-next-read{scroll-margin-top:32px;}
@media(max-width:767px){.ac-section-mast>p{margin-top:16px;}.ac-example-desk .ac-list-grid{grid-template-columns:1fr;}.ac-news-archive .ac-list-card h3{font-size:25px;}.ac-news-archive .ac-list-grid{padding-left:22px;}.ac-news-archive .ac-list-card::before{left:-28px;}.ac-editorial-note{padding:24px;}}
/* Kadence adds a frontend-only inner wrapper to native Group blocks. */
.ac-v3-section .wp-block-group__inner-container{display:contents;}
.ac-v3-section .ac-path-card,.ac-v3-section .ac-flow-step{margin:0;}
.ac-v3-section .ac-path-card>p:last-child,.ac-v3-section .ac-path-card>.wp-block-group__inner-container>p:last-child{margin:auto 0 0;padding-top:24px;}
.ac-v3-section .ac-section-mast>.wp-block-group__inner-container>p{margin:0;font-size:14px;white-space:nowrap;}
.entry-content .ac-v3-section a:not(.wp-element-button){color:#35513c;text-decoration:underline;text-decoration-color:#a4b995;text-underline-offset:4px;text-decoration-thickness:1px;}
.entry-content .ac-path-card--skills a:not(.wp-element-button),.entry-content .ac-v3-lab a:not(.wp-element-button),.entry-content .ac-brief-preview a:not(.wp-element-button){color:#e1f1cc;text-decoration-color:#849d6f;}
.entry-content .ac-v3-section .ac-news-list a{color:#24382c;text-decoration:none;}
.entry-content .ac-v3-opening .wp-block-search__button{background:#233b2c!important;color:white!important;}
.ac-v3-section .ac-opening-copy>.wp-block-group__inner-container>p:not(.ac-eyebrow){font-size:18px;max-width:560px;}
.ac-download-shelf>.wp-block-group__inner-container>.wp-block-columns{gap:22px;counter-reset:files;}
.ac-download-shelf>.wp-block-group__inner-container>.wp-block-columns>.wp-block-column{padding:28px;border:1px solid #d5dfcd;background:#f3f5ee;border-radius:8px;counter-increment:files;}
.ac-download-shelf>.wp-block-group__inner-container>.wp-block-columns>.wp-block-column::before{content:'FILE COLLECTION / 0' counter(files);display:block;font:11px var(--aboutcodex-mono);letter-spacing:.06em;color:#6d7e62;margin-bottom:26px;}
@media(max-width:767px){.ac-v3-section .ac-section-mast>.wp-block-group__inner-container>p{margin-top:16px;white-space:normal;}.ac-v3-section .ac-path-card>.wp-block-group__inner-container>p:last-child{padding-top:12px;}}
.ac-v3-section .ac-section-mast>.wp-block-group__inner-container>.wp-block-group{margin:0;min-width:0;}
.single-post .entry-hero .hero-container.site-container{max-width:1320px;width:calc(100% - 48px);padding-inline:0;}
.single-post .entry-hero .entry-title{margin-inline:0;}
.single-post:not(:has(.mak-article-body--toc)) .entry-hero .hero-container.site-container{max-width:900px;}
.single-post:not(:has(.mak-article-body--toc)) .entry-content,.single-post:not(:has(.mak-article-body--toc)) .entry-footer{max-width:900px;margin-inline:auto;}
.single-post .post-navigation{max-width:1100px;margin-inline:auto;}
.single-post .mak-key-moments{border-top-color:#91a77c;background:#fff;}
@media(max-width:767px){.single-post .entry-hero .hero-container.site-container{width:calc(100% - 32px);}}
.entry-content :is(.ac-download-shelf,.ac-interior-path,.ac-interior-support,.ac-guide-paths,.ac-news-archive,.ac-editorial-note) a:not(.wp-element-button){color:#35513c;text-decoration-color:#a4b995;text-decoration-thickness:1px;text-underline-offset:4px;}
