/* Purpose-specific native hub compositions; reading widths stay on single posts. */
body.aboutcodex-full-canvas[class*="ac-format-"] .entry-content{max-width:none;}
body[class*="ac-format-"] .ac-filter-form{background:var(--ac-type-soft);border-color:var(--ac-type-line);}
body[class*="ac-format-"] .ac-filter-form button{background:var(--ac-type);border-color:var(--ac-type);}
body[class*="ac-format-"] .entry-content :is(.ac-steps,.ac-download-shelf,.ac-news-archive,.ac-guide-paths) a:not(.wp-element-button){color:var(--ac-type-ink);text-decoration-color:var(--ac-type-line);}
body[class*="ac-format-"] .ac-steps>li{border-color:var(--ac-type-line);}
body[class*="ac-format-"] .ac-steps>li::before{color:var(--ac-type);}
.ac-list-card[class*="ac-format-"] .ac-card-action{color:var(--ac-type);}
/* A lead report beside the rest of the news desk. */
body.ac-format-news .ac-page-hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(36px,4.5vw,62px);letter-spacing:-.025em;}
.ac-news-archive .ac-list-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:28px;border:0;padding:0;align-items:stretch;}
.ac-news-archive .ac-list-card{padding:30px;border:1px solid #c4d9ed;border-top:3px solid #215a94;background:#fff;}
.ac-news-archive .ac-list-card::before{display:none;}
.ac-news-archive .ac-list-card:only-child{grid-column:1/-1;}
.ac-news-archive .ac-list-card:first-child{background:#edf5fc;padding:36px;}
.ac-news-archive .ac-list-card:first-child h3{font-size:36px;line-height:1.18;}
.ac-news-archive .ac-list-card h3{font-size:28px;}
.ac-news-archive .ac-card-action{padding-top:20px;border-top:1px solid #c4d9ed;}
/* Learning paths are a compact bookshelf, rather than a numbered task list. */
.ac-guide-paths .ac-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.ac-guide-paths .ac-steps>li{padding:28px 28px 28px 36px;border:1px solid #dacce8;border-left:7px solid #694594;border-radius:3px 10px 10px 3px;background:linear-gradient(105deg,#f0e8f7,#fff 35%);box-shadow:3px 4px 0 #e9e2ee;}
.ac-guide-paths .ac-steps>li::before{position:static;display:block;margin-bottom:32px;font-size:13px;}
.ac-guide-paths .ac-steps a{font-size:27px;line-height:1.2;display:block;}
.ac-guide-paths .ac-steps p{margin-top:18px;line-height:1.7;}
/* Tutorials emphasize tasks; the badge describes the format, not a fake sequence. */
body.ac-format-tutorial .ac-topic-desk .ac-list-card{padding:28px;border-left-width:5px;border-top:1px solid #bcded8;box-shadow:none;}
body.ac-format-tutorial .ac-topic-desk .ac-list-card h3{font-size:27px;line-height:1.25;}
body.ac-format-tutorial .ac-topic-desk .ac-card-action{padding:16px 0 0;border-top:1px solid #bcded8;}
body.ac-format-tutorial .ac-topic-desk .ac-card-meta{padding-bottom:8px;}
/* A real implementation photograph leads into the case-study library. */
.ac-hub-case-feature{padding-block:48px;}
.ac-hub-case-feature>.wp-block-columns{gap:44px;align-items:center;}
.ac-hub-case-feature .wp-block-column:first-child{flex-basis:56%;}
.ac-hub-case-feature .wp-block-column:last-child{flex-basis:44%;}
.ac-hub-case-feature figure{padding:12px;background:#fff1e9;border:1px solid #ebcdbe;border-radius:8px;margin:0;}
.ac-hub-case-feature figure img{display:block;width:100%;height:auto;border:1px solid #eaded6;}
.ac-hub-case-feature figcaption{font-size:12px;color:#603324;line-height:1.5;}
.ac-hub-case-feature h2{font:700 clamp(29px,3vw,40px)/1.15 Georgia,'Times New Roman',serif;letter-spacing:-.025em;color:#603324;margin:16px 0;}
.ac-hub-case-feature .ac-eyebrow{color:#a14e35;font-size:11px;margin:0 0 16px;}
.ac-hub-case-feature p{font-size:17px;line-height:1.75;}
.ac-hub-case-feature .wp-block-button__link{background:#a14e35;color:#fff;border-color:#a14e35;}
.ac-example-desk .ac-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}
.ac-example-desk .ac-steps>li{border-top:3px solid #a14e35;border-radius:4px;background:#fffaf6;padding:26px;}
.ac-example-desk .ac-steps>li::before{display:none;}
.ac-example-desk .ac-steps a{font-size:23px;}
/* Resource shelves read like labeled files; tools use action-oriented tiles. */
body.ac-format-reference .ac-download-shelf .wp-block-column{background:#f4f7f9;border-color:#cbd7df;border-radius:2px 10px 10px 10px;}
body.ac-format-reference .ac-download-shelf .wp-block-column::before{color:#4d6476;border-bottom:1px solid #cbd7df;padding-bottom:16px;margin-bottom:20px;}
body.ac-format-reference .ac-download-shelf li{border-color:#cbd7df;}
body.ac-format-tool .ac-topic-desk .ac-steps{grid-template-columns:repeat(3,minmax(0,1fr));}
body.ac-format-tool .ac-topic-desk .ac-steps>li{padding:26px;background:#edf7ef;border-radius:8px;border-top:3px solid #26714e;}
body.ac-format-tool .ac-topic-desk .ac-steps>li::before{position:static;display:block;margin-bottom:20px;}
body.ac-format-tool .ac-topic-desk .ac-steps a{display:block;line-height:1.3;}
@media(max-width:1000px){.ac-guide-paths .ac-steps{gap:16px;}.ac-guide-paths .ac-steps>li{padding:24px;}.ac-guide-paths .ac-steps a{font-size:23px;}.ac-news-archive .ac-list-card:first-child h3{font-size:30px;}.ac-hub-case-feature>.wp-block-columns{gap:28px;}}
@media(max-width:767px){
.ac-news-archive .ac-list-grid,.ac-guide-paths .ac-steps,.ac-example-desk .ac-steps,body.ac-format-tool .ac-topic-desk .ac-steps{grid-template-columns:1fr;}
.ac-news-archive .ac-list-card,.ac-news-archive .ac-list-card:first-child{padding:24px;}.ac-news-archive .ac-list-card h3,.ac-news-archive .ac-list-card:first-child h3{font-size:28px;}
.ac-guide-paths .ac-steps>li{padding:24px;}.ac-guide-paths .ac-steps>li::before{margin-bottom:16px;}.ac-guide-paths .ac-steps a{font-size:25px;}
.ac-hub-case-feature{padding-block:32px;}.ac-hub-case-feature>.wp-block-columns{gap:24px;}.ac-hub-case-feature h2{font-size:30px;}.ac-hub-case-feature figure{padding:8px;}
body.ac-format-tutorial .ac-topic-desk .ac-list-card{padding:24px;}body.ac-format-tutorial .ac-topic-desk .ac-list-card h3{font-size:25px;}
}

/* Filters remain native, keyboard-accessible disclosures on small screens. */
.ac-filter-panel{border:0;background:transparent;margin:0;}
.ac-filter-panel>summary{display:none;}
@media(max-width:767px){
.ac-filter-panel{border:1px solid var(--ac-type-line,#d7dfd1);border-radius:8px;background:var(--ac-type-soft,#f1f4ed);margin:0 0 20px;}
.ac-filter-panel>summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px;list-style:none;padding:18px;cursor:pointer;font-size:15px;font-weight:650;color:var(--ac-type-ink,#263d29);}
.ac-filter-panel>summary::-webkit-details-marker{display:none;}
.ac-filter-panel>summary::after{content:'+';margin-left:auto;font-size:22px;line-height:1;}
.ac-filter-panel[open]>summary::after{content:'−';}
.ac-filter-panel>summary:focus-visible{outline:2px solid var(--ac-type,#365524);outline-offset:3px;border-radius:8px;}
.ac-filter-panel .ac-filter-form{border:0;border-top:1px solid var(--ac-type-line,#d7dfd1);margin:0;border-radius:0 0 8px 8px;}
.ac-filter-active{font-size:11px;font-weight:400;color:var(--ac-type,#365524);}
}
