/* Shared editorial system: frontend and block editor. */
:root { --aboutcodex-muted:#61675e; --aboutcodex-radius:12px; --ac-space:clamp(24px,4vw,56px); }
body { background:#f7f8f4; color:var(--aboutcodex-graphite); }
h1,h2,h3,h4,.entry-title { letter-spacing:-.035em; text-wrap:pretty; }
h1 { font-size:clamp(36px,4.4vw,58px); line-height:1.07; }
h2 { font-size:clamp(26px,3vw,36px); line-height:1.15; }
h3 { font-size:24px; line-height:1.25; }
.aboutcodex-shell { width:min(calc(100% - 64px),1240px); }
.aboutcodex-strap .aboutcodex-shell { min-height:32px; }
.ac-eyebrow,.ac-author-eyebrow { font-size:12px;letter-spacing:.07em;color:#486421; }
.ac-page-hero,.ac-hero { background:#f2f3ec;color:var(--aboutcodex-ink);padding:48px 0;border-bottom:1px solid var(--aboutcodex-rule); }
.ac-page-hero::before,.ac-page-hero::after,.ac-hero::before,.ac-hero::after,.entry-hero-container-inner::before { display:none; }
.ac-page-hero h1,.ac-hero h1 { color:var(--aboutcodex-ink);font-size:clamp(36px,4.8vw,60px);line-height:1.08;letter-spacing:-.04em; }
.ac-page-hero .ac-eyebrow,.ac-hero .ac-eyebrow { color:#486421; }
.ac-page-hero__lede,.ac-hero__intro { color:var(--aboutcodex-muted);font-size:18px; }
.ac-page-hero__grid,.ac-hero__grid { gap:32px; }
.ac-section { padding:48px 0; }
.ac-section--signal,.ac-section--white { background:#fff; }
.ac-section--ink { background:#f2f3ec;color:var(--aboutcodex-ink); }
.ac-section--ink h2,.ac-section--ink .ac-section-heading h2 {color:var(--aboutcodex-ink);}
.ac-section-heading h2,.ac-newsletter h2,.ac-feature h2 {font-size:clamp(28px,3vw,38px);line-height:1.15;letter-spacing:-.035em;}
.ac-section-heading {margin-bottom:24px;gap:32px;}
.ac-card {padding:26px;min-height:0;border:1px solid var(--aboutcodex-rule);box-shadow:none!important;}
.ac-card h3,.ac-card h2 {font-size:26px;letter-spacing:-.03em;line-height:1.2;}
.ac-card--signal {background:#edf4df;}
.ac-card--dark {background:#20261d;}
.ac-card__number {font-size:12px;}
.ac-resource-rail a {min-height:110px;padding:20px;}
.ac-newsletter {padding:28px;}
.ac-prose {max-width:760px;}
.ac-archive {padding:44px 0 64px;}
.ac-archive-heading {max-width:780px;margin-bottom:28px;}
.ac-archive-heading h1 {margin:0 0 16px;}
.ac-archive-heading p {margin-bottom:12px;}
.ac-list-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}
.ac-list-grid--three {grid-template-columns:repeat(3,minmax(0,1fr));}
.ac-list-card {display:flex;flex-direction:column;padding:26px;min-width:0;background:white;border:1px solid var(--aboutcodex-rule);border-radius:12px;transition:border-color .15s;}
.ac-list-card:hover {border-color:#8b987b;}
.ac-list-card h2,.ac-list-card h3 {font-size:clamp(23px,2.25vw,29px);line-height:1.2;letter-spacing:-.03em;margin:16px 0 12px;}
.ac-list-card h2 a,.ac-list-card h3 a {color:var(--aboutcodex-ink);text-decoration:none;}
.ac-list-card h2 a:hover,.ac-list-card h3 a:hover {text-decoration:underline;text-decoration-color:#688a33;text-underline-offset:4px;}
.ac-list-card p {font-size:16px;line-height:1.6;margin:0 0 18px;}
.ac-card-meta {display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:12px;color:#61675e;}
.ac-badge {display:inline-block;border:1px solid #d5dec9;background:#f3f7eb;padding:3px 8px;border-radius:4px;color:#405724;font-size:12px;font-weight:650;}
.ac-card-action {margin-top:auto;align-self:flex-start;font-size:14px;font-weight:650;color:#25361b;text-decoration:none;padding:8px 0;}
.ac-card-action:hover {text-decoration:underline;}
.ac-small,.ac-list-card .ac-small {font-size:13px;line-height:1.55;color:#61675e;}
.ac-small a {color:inherit;}
.ac-resource-facts {margin:0 0 16px; font-size:14px;}
.ac-resource-facts div {display:grid;grid-template-columns:70px 1fr;gap:10px;padding:8px 0;border-top:1px solid #edf0e8;}
.ac-resource-facts dt {font-weight:650;}
.ac-resource-facts dd {margin:0;}
.ac-filter-form {display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;padding:20px;background:#eef1e8;border:1px solid #dfe3d8;border-radius:10px;margin:24px 0;}
.ac-filter-form label {flex:1 1 130px;font-size:12px;font-weight:650;}
.ac-filter-form label:first-child {flex-grow:2;}
.ac-filter-form input,.ac-filter-form select {display:block;width:100%;margin-top:6px;min-height:44px;border:1px solid #c5ceba;border-radius:5px;background:#fff;padding:9px 10px;color:#222;}
.ac-filter-form button,.ac-button,.ac-builder button,.ac-prompt button {display:inline-block;border:1px solid #22341a;border-radius:6px;padding:11px 17px;background:#23371b;color:#fff;font-size:14px;font-weight:650;box-shadow:none;cursor:pointer;text-decoration:none;line-height:1.5;}
.ac-filter-form button:hover,.ac-button:hover,.ac-builder button:hover,.ac-prompt button:hover {background:#344d28;color:white;}
.ac-reset {font-size:13px;padding:11px 0;color:#36452e;}
.ac-result-count {font-size:13px;color:#61675e;margin:0 0 18px;}
.ac-empty {padding:32px;background:#fff;border:1px solid #dfe3d8;border-radius:12px;}
.ac-pagination {display:flex;gap:8px;margin-top:28px;}
.ac-pagination a,.ac-pagination span {padding:8px 14px;border:1px solid #dfe3d8;background:#fff;}
.ac-pagination .current {background:#23371b;color:white;}
.ac-profile {display:grid;grid-template-columns:160px 1fr;gap:32px;align-items:center;padding-block:48px;border-bottom:1px solid var(--aboutcodex-rule);}
.ac-profile h1 {font-size:48px;margin:0 0 8px;}
.ac-profile-photo {width:160px;height:160px;border-radius:50%;overflow:hidden;background:#e4ecd9;}
.ac-profile-photo img {width:100%;height:100%;object-fit:cover;}
.ac-profile-photo span {display:grid;place-items:center;width:100%;height:100%;font-size:64px;color:#344d28;font-weight:600;}
.ac-profile-role {font-size:14px;font-weight:650;margin:0 0 12px;}
.ac-profile-bio {max-width:700px;font-size:17px;line-height:1.6;}
.ac-inline-links {display:flex;flex-wrap:wrap;gap:20px;font-size:14px;}
.ac-author-library {padding-block:36px 60px;}
.ac-section-top {display:flex;flex-wrap:wrap;gap:20px;align-items:center;justify-content:space-between;margin-bottom:24px;}
.ac-section-top h2 {font-size:28px;margin:0;}
.ac-footer-wrap {background:#eef1e8;border-top:1px solid #dfe3d8;}
.ac-briefing-strip {display:flex;gap:24px;align-items:center;justify-content:space-between;padding-block:28px;border-bottom:1px solid #d4dccb;}
.ac-briefing-strip h2 {font-size:26px;margin:0 0 6px;}
.ac-briefing-strip p {font-size:15px;margin:0;}
.ac-footer-nav {display:grid;grid-template-columns:2fr repeat(3,1fr);gap:32px;padding-block:36px;}
.ac-footer-nav strong {display:block;margin-bottom:12px;font-size:14px;color:#23371b;}
.ac-footer-nav a {display:block;margin:8px 0;color:#4a5343;font-size:14px;text-decoration:none;}
.ac-footer-nav a:hover {text-decoration:underline;}
.ac-footer-nav p {font-size:14px;}
.site-bottom-footer-wrap .site-footer-row-container-inner {background:#eef1e8;color:#57614e;border-top:1px solid #d4dccb;}
.site-bottom-footer-wrap p {font-size:12px;}
.single-post .entry-hero-container-inner {background:#f2f3ec;}
.single-post .entry-header {padding:32px 0;}
.single-post .entry-title {font-size:clamp(34px,4vw,54px);line-height:1.13;letter-spacing:-.035em;text-align:left;max-width:1000px;margin-inline:auto;}
.single-post .entry-taxonomies {color:#405724;}
.single-post .entry-taxonomies a {color:#405724!important;background:transparent;}
.single-post .entry-meta {font-family:inherit;font-size:13px;text-transform:none;letter-spacing:0;}
.single-post .aboutcodex-reading-time,.ac-article-format {font-size:12px;text-align:left;max-width:1000px;margin-inline:auto;}
.ac-article-format {color:#536b37;}
.single-post .content-area {margin-block:40px 56px;}
.single-post .mak-article-body--toc.gj-layout-toc-right {grid-template-columns:220px minmax(0,1fr);gap:48px;}
.single-post .mak-article__content {font-size:18px;line-height:1.75;padding-bottom:20px;}
.single-post .entry-content > p,.single-post .entry-content > ul,.single-post .entry-content > ol,.single-post .mak-article__content > p,.single-post .mak-article__content > ul,.single-post .mak-article__content > ol {max-width:72ch;}
.single-post .entry-content > h2,.single-post .mak-article__content > h2 {font-size:30px;margin-block:36px 16px;}
.single-post .entry-content > h3,.single-post .mak-article__content > h3 {font-size:24px;}
.single-post .mak-key-moments {margin:24px 0;padding:22px;border-top:3px solid #b7f34a;}
.single-post .mak-key-moments__title {font-size:22px;margin-bottom:18px;}
.single-post .mak-key-moments__list {font-size:15px;}
.single-post .mak-key-moments__item-text {font-size:14px;}
.single-post .gj-toc-widget {top:80px;}
.single-post .mak-toc__link {font-size:14px;line-height:1.5;}
.single-post .entry-content code:not(pre code) {overflow-wrap:anywhere;}
.single-post .wp-block-code {max-width:100%;font-size:14px;padding:24px;box-shadow:none;}
.wp-block-code::before {display:none!important;}
.ac-code-copy {position:absolute;top:6px;right:6px;padding:4px 8px;font-size:11px;border-radius:4px;background:#37432c;color:white;}
.ac-article-end {margin-top:32px;padding:20px;background:#f2f3ec;border-radius:8px;font-size:14px;}
.ac-article-end p {margin:6px 0 0;}
.ac-related {padding-block:32px;}
.ac-related h2 {font-size:28px;}
.ac-builder {display:grid;grid-template-columns:1fr 1.1fr;gap:32px;align-items:start;}
.ac-builder-form,.ac-builder-preview,.ac-prompt {padding:26px;background:#fff;border:1px solid #dfe3d8;border-radius:12px;}
.ac-builder label,.ac-prompt label {display:block;margin-bottom:16px;font-weight:600;font-size:14px;}
.ac-builder input,.ac-builder textarea,.ac-prompt input {display:block;width:100%;padding:10px;margin-top:6px;border:1px solid #c5ceba;border-radius:5px;background:#fff;color:#222;font-weight:400;}
.ac-builder pre,.ac-prompt pre {background:#20261d;color:#edf3e7;padding:20px;border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.65;}
.ac-builder-preview h2 {font-size:26px;}
.ac-tool-actions {display:flex;gap:12px;flex-wrap:wrap;}
.ac-builder button:disabled {opacity:.45;cursor:not-allowed;}
.ac-tool-status {font-size:13px;color:#425c2f;min-height:20px;}
.ac-prompt {margin:24px 0;}
.ac-prompt h3 {font-size:25px;margin-top:0;}
.ac-prompt-fields {display:grid;grid-template-columns:repeat(2,1fr);gap:0 16px;}
.ac-prompt summary {cursor:pointer;font-size:14px;font-weight:600;}
.ac-steps {counter-reset:step;display:grid;gap:14px;list-style:none;padding:0!important;}
.ac-steps > li {position:relative;padding:22px 24px 22px 70px;border:1px solid #dfe3d8;border-radius:10px;background:#fff;counter-increment:step;}
.ac-steps > li::before {content:counter(step,decimal-leading-zero);position:absolute;left:22px;top:22px;font-family:var(--aboutcodex-mono);color:#5f7b39;font-size:14px;}
.ac-steps a {font-size:20px;font-weight:650;text-decoration:none!important;}
.ac-steps p {margin:8px 0 0;font-size:15px;color:#61675e;}
.ac-v2-section {padding-block:40px;}
.ac-v2-section > h2 {margin:0 0 20px;}
.ac-home-opening {padding-block:46px 32px;}
.ac-home-opening h1 {max-width:850px;margin:8px 0 16px;font-size:clamp(36px,4.8vw,64px);}
.ac-home-opening > p {max-width:680px;font-size:18px;}
.ac-home-opening .wp-block-search {max-width:640px;margin-top:20px;}
.ac-home-opening .wp-block-search__inside-wrapper {padding:0;border:1px solid #bac7aa;border-radius:7px;overflow:hidden;background:white;}
.ac-home-opening .wp-block-search__input {padding:12px;border:0;}
.ac-home-opening .wp-block-search__button {margin:0;border-radius:0;background:#23371b;color:white;}
.ac-featured-story {background:#20261d;color:#eef3e8;padding:32px!important;border-radius:12px;}
.ac-featured-story h2,.ac-featured-story a {color:#f5f8ee!important;}
.ac-featured-story h2 {font-size:34px;line-height:1.17;}
.ac-featured-story .ac-eyebrow {color:#b7f34a;}
.ac-home-top {gap:24px!important;}
.ac-news-list {margin:0;padding:0;list-style:none;}
.ac-news-list li {padding:18px 0;border-bottom:1px solid #dfe3d8;}
.ac-news-list a {font-weight:650;font-size:19px;}
.ac-news-list p {font-size:14px;color:#61675e;margin:8px 0 0;}
.ac-newsletter-opening {padding-block:42px;}
.ac-newsletter-opening h1 {font-size:46px;}
.ac-signup-panel {padding:26px;border:1px solid #d5dec9;border-radius:12px;background:white;}
.ac-signup-panel h2 {font-size:26px;}
.ac-signup-panel form label {font-size:14px;}
.ac-signup-panel input[type=email],.ac-signup-panel input[name=contactEmail] {border:1px solid #bbc8aa!important;border-radius:5px!important;padding:12px!important;width:100%;}
.ac-signup-panel button {border-radius:5px!important;min-height:44px;background:#23371b!important;}
.ac-sample {max-width:800px;padding:28px;background:#fff;border:1px solid #dfe3d8;border-radius:12px;}
.ac-sample h3 {font-size:22px;}
.ac-article-figure img {border:1px solid #dfe3d8;border-radius:10px;}
.ac-article-figure figcaption {font-size:13px;color:#61675e;}
@media(max-width:1000px){.ac-list-grid--three{grid-template-columns:repeat(2,minmax(0,1fr));}.ac-filter-form label{flex-basis:180px;}.ac-builder{grid-template-columns:1fr;}}
@media(max-width:767px){
.aboutcodex-shell{width:calc(100% - 32px);}.ac-page-hero,.ac-hero{padding:30px 0;}.ac-page-hero__grid,.ac-hero__grid{gap:16px;}.ac-section,.ac-v2-section{padding-block:28px;}
.ac-list-grid,.ac-list-grid--three{grid-template-columns:1fr;}.ac-list-card{padding:22px;}.ac-filter-form{padding:16px;gap:12px;}.ac-filter-form label{flex:1 1 100%;}.ac-filter-form button{width:100%;}
.ac-profile{grid-template-columns:72px 1fr;gap:16px;padding-block:28px;align-items:start;}.ac-profile-photo{width:72px;height:72px;}.ac-profile-photo span{font-size:30px;}.ac-profile h1{font-size:34px;}.ac-profile-bio{font-size:16px;}.ac-profile .ac-eyebrow{margin-bottom:8px;}.ac-profile .ac-small{margin-bottom:12px;}
.ac-footer-nav{grid-template-columns:repeat(2,1fr);gap:24px;padding-block:28px;}.ac-briefing-strip{align-items:flex-start;flex-direction:column;gap:16px;}.ac-briefing-strip h2{font-size:24px;}
.single-post .mak-article-body--toc.gj-layout-toc-right{grid-template-columns:1fr;gap:24px;}.single-post .gj-toc-widget{position:static;}.single-post .content-container.site-container{width:calc(100% - 32px)!important;}.single-post .entry-title{font-size:34px;}.single-post .entry-header{padding:24px 0;}.single-post .mak-key-moments__list{grid-template-columns:1fr;}
.ac-prompt-fields{grid-template-columns:1fr;}.ac-builder-form,.ac-builder-preview,.ac-prompt{padding:20px;}.ac-home-opening{padding-top:28px;}.ac-featured-story{padding:24px!important;}.ac-featured-story h2{font-size:28px;}.ac-newsletter-opening h1{font-size:36px;}
}

/* Native Kadence links must remain readable on the light publication canvas. */
body.ac-editorial-v2 {--global-palette1:#365524;--global-palette2:#263f19;--global-palette-highlight:#365524;--global-palette-highlight-alt:#263f19;}
.ac-inline-links a,.ac-prose a,.ac-steps a,.ac-news-list a,.ac-sample a {color:#365524;}
.ac-editorial-v2 .wp-block-button__link {background:#23371b;color:#fff;border-radius:6px;box-shadow:none;padding:12px 20px;font-size:15px;}
.ac-editorial-v2 .wp-block-button__link:hover {background:#344d28;color:white;transform:none;}
.ac-editorial-v2 .ac-featured-story .wp-block-button__link {background:#eaf2de;color:#20261d!important;}
.ac-home-opening .wp-block-search__button {background:#23371b!important;color:#fff!important;}
.ac-home-opening h1 {margin-block:16px 20px!important;}
.ac-home-opening > p {max-width:740px!important;}
.ac-profile .ac-eyebrow {margin:0 0 14px;}
.ac-profile .ac-small {margin:12px 0;}
.ac-list-card a:focus-visible,.ac-inline-links a:focus-visible,.ac-filter-form :focus-visible {outline-color:#46652c;}
@media(max-width:767px){
.ac-profile {gap:8px 16px;}
.ac-profile > div:last-child {display:contents;}
.ac-profile-photo {grid-column:1;grid-row:1/4;}
.ac-profile .ac-eyebrow,.ac-profile h1,.ac-profile-role {grid-column:2;margin:0;}
.ac-profile-bio,.ac-profile .ac-small,.ac-inline-links {grid-column:1/-1;}
.ac-profile-bio {margin:16px 0 0;}
.ac-profile .ac-small {margin:8px 0;}
.ac-home-opening .wp-block-search__button {padding:10px 14px;}
}
.ac-contact {max-width:720px;}
.ac-contact label {display:block;font-size:14px;font-weight:600;margin-bottom:18px;}
.ac-contact input,.ac-contact textarea,.ac-contact select {display:block;width:100%;margin-top:6px;border:1px solid #bbc8aa;border-radius:5px;padding:12px;background:#fff;color:#222;}
.ac-contact button {border:0;color:#fff;padding:12px 20px;font-size:15px;}
.ac-page-hero h1 {max-width:1000px;font-size:clamp(34px,4vw,50px);line-height:1.12;}
.ac-page-hero .ac-page-hero__lede {color:#61675e;margin-top:18px;max-width:780px;}
.ac-page-hero .ac-eyebrow {margin:0 0 16px;}
.ac-kadence-page .kt-inside-inner-col > .wp-block-group {margin-block:0;}
.ac-home-opening h1 {max-width:950px;}
.single-post .entry-hero .entry-header {align-items:flex-start;text-align:left;}
.single-post .entry-hero .aboutcodex-reading-time {margin:12px 0 0;font-family:inherit;font-size:13px;text-transform:none;letter-spacing:0;}
.single-post .entry-hero .entry-meta {margin-top:16px;}
.ac-newsletter-opening h1 {margin:16px 0 20px;}
.ac-newsletter-opening .ac-eyebrow {margin-bottom:0;}
.ac-signup-panel button,.ac-contact button {box-shadow:none!important;}
.ac-signup-panel .ac-small {margin:16px 0 0;}
