/*
Theme Name: AI Tool Radar Hub
Description: A category-led editorial theme for documented software comparisons and repository directories.
Version: 1.1.0
Text Domain: ai-tool-radar
Requires at least: 6.6
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root{--bg:#f5f5f2;--white:#fff;--ink:#17191d;--muted:#73767e;--line:#e5e5e1;--blue:#4057e8;--blue-dark:#263cbf;--lilac:#eeebfb;--mint:#e6f3e9;--radius:16px;--sans:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}html{scroll-padding-top:104px}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.6 var(--sans);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}svg{display:block;flex-shrink:0}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--blue);outline-offset:4px}::selection{background:#dce0ff}.container{max-width:1224px;padding:0 32px;margin:0 auto}.skip{position:fixed;left:20px;top:-70px;z-index:99;background:var(--blue);color:#fff;padding:12px 18px;border-radius:8px}.skip:focus{top:12px}.site-header{background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30;backdrop-filter:blur(16px)}.header-row{height:77px;display:flex;align-items:center;gap:25px}.brand{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:21px;font-weight:750;letter-spacing:-.8px}.brand svg{width:29px;height:29px}.nav{display:flex;align-items:center;gap:27px;margin-left:auto;font-size:13px;font-weight:600}.nav a{padding:9px 0;position:relative;color:#61636b}.nav a:hover,.nav a[aria-current]{color:var(--ink)}.nav a[aria-current]:after{content:'';height:2px;position:absolute;bottom:1px;left:0;right:0;background:var(--blue)}.header-actions{display:flex;align-items:center;gap:17px}.icon-button{width:35px;height:35px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:none}.icon-button:hover{background:#f0f1f6}.icon-button svg{width:19px;height:19px}.draft{font-size:9px;letter-spacing:.11em;line-height:1;background:#f1f2f7;color:#7b7e88;border-radius:4px;padding:7px 8px;text-transform:uppercase;white-space:nowrap}.menu-button{display:none;padding:6px 9px;border:1px solid var(--line);background:#fff;border-radius:6px;font-size:11px}.site-main{min-height:calc(100vh - 244px);padding-bottom:62px}.site-main[hidden]{display:none!important}.hero{padding:43px 0 27px;display:flex;justify-content:space-between;gap:50px;align-items:flex-end}.eyebrow{font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--blue);margin-bottom:12px}.hero h1{font-size:47px;letter-spacing:-2px;font-weight:750;line-height:1.08;margin:0;max-width:720px}.hero h1 span{color:var(--blue)}.hero p{font-size:14px;line-height:1.8;color:var(--muted);max-width:300px;margin:0 0 2px}.category-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:4px 0 35px}.category-tile{display:flex;align-items:center;gap:18px;padding:20px 24px;border-radius:12px;transition:transform .18s,box-shadow .18s;min-width:0}.category-tile:hover{transform:translateY(-2px);box-shadow:0 6px 14px #17191d08}.category-tile.comparisons{background:var(--lilac)}.category-tile.directories{background:var(--mint)}.category-tile .category-icon{height:42px;width:42px;display:flex;align-items:center;justify-content:center;background:#ffffff85;border-radius:10px}.category-icon svg{height:24px;width:24px}.category-title{font-weight:700;font-size:16px;letter-spacing:-.3px;display:block;line-height:1.3}.category-description{font-size:11px;color:#717078;display:block;margin-top:4px}.category-count{margin-left:auto;display:flex;gap:17px;align-items:center;font-size:11px;white-space:nowrap;color:#605e6d}.category-count svg{width:17px;height:17px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 16px}.section-heading h2{font-size:21px;font-weight:700;letter-spacing:-.6px;margin:0}.section-heading .small-link{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:9px}.small-link svg{height:13px;width:13px}.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.story-card{display:block;background:var(--white);border:1px solid #eaeae6;border-radius:var(--radius);overflow:hidden;transition:transform .2s,box-shadow .2s}.story-card:hover{transform:translateY(-3px);box-shadow:0 10px 27px #17191d09}.story-art{height:130px;overflow:hidden;position:relative}.story-art.comparisons{background:#efedf9}.story-art.directories{background:#e8f3e9}.story-art>svg{height:100%;width:100%}.story-content{padding:24px 26px 23px}.card-kicker{font-size:10px;letter-spacing:.07em;text-transform:uppercase;display:flex;align-items:center;gap:8px;margin-bottom:12px;font-weight:700;color:var(--blue)}.card-kicker.directories{color:#38805c}.category-dot{width:5px;height:5px;border-radius:50%;background:currentColor}.story-card h3{font-size:24px;letter-spacing:-.7px;line-height:1.3;margin:0 0 12px;font-weight:700}.story-excerpt{font-size:13px;line-height:1.8;color:var(--muted);margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.story-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid #efefeb;margin-top:21px;padding-top:16px;font-size:10px;color:#858891}.story-bottom .arrow-circle{width:25px;height:25px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f3f4f8;color:var(--blue)}.arrow-circle svg{width:13px;height:13px}.editorial-note{margin-top:33px;border-top:1px solid #dddeda;padding-top:23px;display:flex;gap:24px;justify-content:space-between;align-items:center}.editorial-note strong{font-size:13px;letter-spacing:-.2px}.editorial-note p{font-size:12px;line-height:1.75;color:var(--muted);margin:0;max-width:610px}.editorial-note a{color:var(--blue)}.footer{padding:28px 0 25px;border-top:1px solid var(--line);background:#fff}.footer-top{display:flex;align-items:center;justify-content:space-between;gap:25px}.footer-name{font-size:14px;font-weight:750;letter-spacing:-.4px}.footer-links{display:flex;gap:23px;font-size:11px;color:#6b6e76;flex-wrap:wrap}.footer-links a:hover{text-decoration:underline;color:var(--blue)}.footer-bottom{display:flex;justify-content:space-between;gap:18px;font-size:10px;color:#999ca3;margin-top:16px}.archive-hero{margin:30px 0 26px;border-radius:18px;padding:33px 37px;display:flex;justify-content:space-between;align-items:center;gap:30px;background:#eceefb}.archive-hero.comparisons{background:var(--lilac)}.archive-hero.directories{background:var(--mint)}.archive-hero h1{margin:5px 0 10px;font-size:40px;line-height:1.13;font-weight:750;letter-spacing:-1.3px}.archive-hero p{margin:0;max-width:640px;font-size:13px;line-height:1.8;color:#75747d}.archive-count{font-size:11px;white-space:nowrap;display:flex;align-items:center;gap:10px;border-radius:22px;padding:9px 13px;background:#ffffff80;color:#656371}.archive-count strong{font-size:19px;line-height:1.2;color:var(--ink)}.filter-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:23px}.filter-label{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-right:5px}.filter-chip{font-size:11px;background:#fff;border:1px solid var(--line);padding:7px 13px;border-radius:20px;color:#636772;white-space:nowrap}.filter-chip:hover{border-color:#a9b2ef;color:var(--blue)}.filter-chip[aria-current]{background:var(--ink);color:white;border-color:var(--ink)}.list-results{font-size:11px;color:var(--muted);margin:0 0 13px}.article-list{display:grid;gap:13px}.list-item{background:white;border:1px solid #e8e8e3;border-radius:13px;padding:25px 29px;display:grid;grid-template-columns:minmax(0,1fr) 72px;gap:27px;align-items:center;transition:border-color .2s,box-shadow .2s}.list-item:hover{border-color:#bbc3f3;box-shadow:0 5px 17px #17191d04}.list-item .card-kicker{margin:0 0 11px;font-size:9px}.list-item h2{font-size:24px;line-height:1.3;letter-spacing:-.65px;margin:0 0 10px;font-weight:700;max-width:840px}.list-item p{font-size:13px;line-height:1.8;color:var(--muted);margin:0;max-width:850px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.list-meta{font-size:10px;color:#93969e;margin-top:16px;display:flex;align-items:center;gap:15px;flex-wrap:wrap}.list-art{height:66px;width:66px;border-radius:15px;display:flex;align-items:center;justify-content:center;background:var(--lilac)}.list-art.directories{background:var(--mint)}.list-art svg{height:30px;width:30px;color:#5562ac}.list-art.directories svg{color:#4f8662}.search-wrap{max-width:850px;margin:0 auto;padding-top:43px}.search-wrap h1{font-size:39px;letter-spacing:-1.3px;line-height:1.2;margin:0 0 11px;font-weight:750}.search-description{font-size:13px;color:var(--muted);margin:0 0 26px}.search-form{display:flex;gap:10px;align-items:center;background:white;padding:8px 8px 8px 18px;border:1px solid #d8dce9;border-radius:12px;box-shadow:0 4px 16px #17191d03;margin-bottom:20px}.search-form>svg{width:20px;height:20px;color:#9297a4}.search-input{min-width:0;flex:1;width:100%;border:0;outline:0!important;padding:10px 2px;font-size:15px;color:var(--ink);background:transparent}.search-form:focus-within{outline:3px solid #c8d0ff;outline-offset:2px;border-color:var(--blue)}.search-submit{background:var(--blue);color:#fff;border:0;padding:11px 17px;border-radius:7px;font-size:12px}.search-submit:hover{background:var(--blue-dark)}.clear-search{border:0;background:transparent;color:#8c909d;padding:6px;font-size:11px}.clear-search:hover{color:var(--ink)}.empty-state{padding:43px 26px;border:1px dashed #d2d6df;border-radius:13px;text-align:center;background:#ffffff60}.empty-state h2{font-size:20px;font-weight:700;letter-spacing:-.4px;margin:0 0 10px}.empty-state p{font-size:13px;line-height:1.8;color:var(--muted);margin:0 auto 18px;max-width:430px}.text-link{color:var(--blue);font-size:12px;text-decoration:underline;text-underline-offset:3px}.article-header{max-width:950px;margin:0 auto;padding:32px 0 28px}.breadcrumbs{display:flex;align-items:center;gap:9px;font-size:10px;color:#8b8e98;margin-bottom:26px;flex-wrap:wrap}.breadcrumbs a:hover{color:var(--blue);text-decoration:underline}.breadcrumbs svg{height:11px;width:11px}.article-header .card-kicker{font-size:10px;margin-bottom:15px}.article-header h1{font-size:43px;font-weight:750;letter-spacing:-1.55px;line-height:1.17;margin:0 0 20px;max-width:910px}.article-deck{font-size:16px;line-height:1.8;color:#777b84;max-width:820px;margin:0 0 20px}.article-byline{display:flex;align-items:center;gap:12px;font-size:10px;color:#888c95;flex-wrap:wrap}.article-byline strong{color:#3e424b;font-weight:600}.byline-dot{height:3px;width:3px;background:#c0c3ca;border-radius:50%}.article-divider{max-width:950px;margin:0 auto 32px;height:1px;background:var(--line)}.article-layout{display:grid;grid-template-columns:184px minmax(0,720px);gap:45px;justify-content:center;align-items:start}.toc{position:sticky;top:108px;font-size:11px;color:#7b808a;min-width:0;max-height:calc(100vh - 135px);overflow:auto;scrollbar-width:thin}.toc summary{font-size:10px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--ink);list-style:none;cursor:pointer;padding:0 0 14px;border-bottom:1px solid var(--line)}.toc summary::-webkit-details-marker{display:none}.toc summary:after{content:'−';float:right;font-size:14px;line-height:1}.toc:not([open]) summary:after{content:'+'}.toc ol{list-style:none;padding:8px 0 0;margin:0}.toc ol ol{padding:0 0 0 13px}.toc a{display:block;padding:8px 0;line-height:1.6;border-left:2px solid transparent;padding-left:10px;overflow-wrap:anywhere}.toc a:hover,.toc a[aria-current]{color:var(--blue);border-color:var(--blue)}.article-copy{font-size:17px;line-height:1.75;min-width:0;overflow-wrap:anywhere}.article-copy>p:first-child{background:#ecf0ff;padding:20px 23px;border-radius:12px;font-size:14px;line-height:1.85;color:#3f496a;border:1px solid #e2e7fd}.article-copy p{margin:0 0 23px}.article-copy h2{font-size:28px;line-height:1.3;letter-spacing:-.65px;margin:39px 0 17px;scroll-margin-top:109px;font-weight:700}.article-copy h3{font-size:21px;line-height:1.4;letter-spacing:-.35px;margin:29px 0 14px;scroll-margin-top:109px;font-weight:700}.article-copy h4{font-size:18px;margin:26px 0 12px}.article-copy a{color:var(--blue-dark);text-decoration:underline;text-decoration-color:#b6bff5;text-underline-offset:3px}.article-copy a:hover{text-decoration-color:var(--blue-dark)}.article-copy ul,.article-copy ol{padding-left:23px;margin:0 0 26px}.article-copy li{padding-left:3px;margin:9px 0}.article-copy strong{font-weight:700}.article-copy code{font-family:Consolas,monospace;font-size:.85em;background:#eceef2;padding:2px 5px;border-radius:3px}.article-copy pre{background:#242832;color:#edf0f7;padding:20px;border-radius:10px;overflow:auto;max-width:100%;font-size:13px}.article-copy pre code{background:none;padding:0;white-space:pre}.article-copy img{max-width:100%;height:auto;border-radius:10px}.article-copy figure{max-width:100%;margin:26px 0}.table-hint{font-size:10px;color:#969ba6;margin:8px 0!important;line-height:1.6}.table-scroll{max-width:100%;overflow-x:auto;border:1px solid #e0e3e9;border-radius:10px;margin:0 0 27px;background:#fff;overscroll-behavior-x:contain}.article-copy .table-scroll table{border-collapse:collapse;width:100%;min-width:610px;margin:0;font-size:13px;line-height:1.7;background:#fff;table-layout:auto}.article-copy .table-scroll th{padding:13px 16px;background:#edf0f9;color:#3b4358;font-size:11px;font-weight:700;text-align:left;white-space:normal;min-width:110px;border:0;border-bottom:1px solid #dbe0ed;vertical-align:top}.article-copy .table-scroll td{padding:14px 16px;border:0;border-bottom:1px solid #eceef3;vertical-align:top;min-width:110px}.article-copy .table-scroll tr:last-child td{border-bottom:0}.article-copy .table-scroll tbody tr:nth-child(even){background:#fafbfd}.article-copy .table-scroll td:first-child{font-weight:600}.article-copy .wp-block-columns{display:flex;gap:24px}.article-copy .wp-block-column{flex:1;min-width:0}.article-after{border-top:1px solid var(--line);margin-top:39px;padding-top:24px}.article-return{font-size:12px;font-weight:600;display:inline-flex;gap:10px;align-items:center;color:var(--blue);margin-bottom:27px}.article-return svg{height:14px;width:14px}.related-label{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin-bottom:12px}.related-link{display:block;background:#fff;border:1px solid var(--line);border-radius:12px;padding:21px}.related-link .card-kicker{margin-bottom:9px}.related-link strong{font-size:18px;line-height:1.45;letter-spacing:-.35px;display:block}.related-link:hover{border-color:#a9b3ed}.live-link{font-size:10px;color:var(--muted);display:inline-block;margin-top:19px;text-decoration:underline;text-underline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
main :is(h1,h2,h3)[tabindex="-1"]:focus{outline:none}
.story-card{display:flex;flex-direction:column}.story-art{flex-shrink:0}.story-content{display:flex;flex-direction:column;flex:1}.story-excerpt{margin-bottom:21px}.story-bottom{margin-top:auto}
@media(max-width:1000px){.hero{gap:28px}.hero h1{font-size:41px}.hero p{max-width:250px;font-size:13px}.story-card h3{font-size:22px}.category-tile{padding:18px 20px;gap:14px}.category-count{gap:10px}.nav{gap:20px}.header-row{gap:19px}.article-layout{grid-template-columns:155px minmax(0,1fr);gap:30px}.article-header h1{font-size:38px}}
@media(max-width:760px){.container{padding-inline:23px}.header-row{height:69px;gap:15px;justify-content:space-between}.brand{font-size:19px;gap:8px}.brand svg{width:26px;height:26px}.header-actions{gap:10px;margin-left:auto}.draft{font-size:8px;padding:6px}.menu-button{display:block}.nav{display:none;position:absolute;top:69px;left:0;right:0;background:#fff;padding:13px 23px 19px;box-shadow:0 8px 16px #17191d08;border-bottom:1px solid var(--line);margin:0;gap:0;align-items:stretch}.nav.open{display:flex;flex-direction:column}.nav a{padding:11px 0;font-size:13px}.nav a[aria-current]:after{display:none}.nav a[aria-current]{color:var(--blue)}.hero{display:block;padding:33px 0 23px}.hero h1{font-size:39px;line-height:1.13;letter-spacing:-1.45px}.hero p{max-width:540px;font-size:13px;margin:16px 0 0;line-height:1.8}.eyebrow{font-size:9px;margin-bottom:11px}.category-grid{gap:11px;margin-bottom:27px}.category-tile{padding:16px 15px;gap:11px;align-items:flex-start;flex-wrap:wrap}.category-tile .category-icon{width:33px;height:33px;border-radius:8px}.category-icon svg{width:19px;height:19px}.category-title{font-size:14px;letter-spacing:-.2px}.category-description{display:none}.category-count{margin-left:44px;margin-top:-5px;font-size:10px;gap:9px}.category-count svg{width:13px;height:13px}.section-heading{margin-bottom:14px}.section-heading h2{font-size:19px}.section-heading .small-link{font-size:10px}.story-grid{grid-template-columns:1fr;gap:17px}.story-art{height:112px}.story-content{padding:21px 23px}.story-card h3{font-size:23px;line-height:1.32}.story-excerpt{font-size:13px}.story-bottom{margin-top:18px;padding-top:14px}.editorial-note{display:block;margin-top:27px;padding-top:20px}.editorial-note p{margin-top:8px;font-size:12px}.footer-top,.footer-bottom{flex-direction:column;align-items:flex-start;gap:16px}.footer-links{gap:21px;font-size:10px}.footer-bottom{font-size:9px;gap:7px;margin-top:17px}.footer{padding-block:25px}.site-main{padding-bottom:39px}.archive-hero{margin:23px 0 22px;padding:25px 24px;border-radius:14px;align-items:flex-start;flex-direction:column;gap:18px}.archive-hero h1{font-size:33px;letter-spacing:-1.1px}.archive-hero p{font-size:12px}.archive-count{padding:6px 10px;font-size:10px}.archive-count strong{font-size:16px}.filter-row{gap:7px;margin-bottom:19px}.filter-chip{font-size:10px;padding:6px 11px}.filter-label{width:100%;margin-bottom:2px;font-size:9px}.list-item{padding:21px 22px;grid-template-columns:minmax(0,1fr);gap:0}.list-art{display:none}.list-item h2{font-size:22px}.list-item p{font-size:12px}.list-meta{font-size:9px;gap:10px;margin-top:14px}.search-wrap{padding-top:30px}.search-wrap h1{font-size:33px}.search-description{font-size:12px;line-height:1.8}.search-form{padding-left:13px;gap:7px}.search-input{font-size:14px}.search-submit{font-size:11px;padding:11px 13px}.clear-search{font-size:10px}.search-form>svg{width:17px;height:17px}.article-header{padding:25px 0 24px}.breadcrumbs{font-size:9px;margin-bottom:22px}.article-header h1{font-size:32px;letter-spacing:-1px;line-height:1.21}.article-deck{font-size:14px;line-height:1.85;margin-bottom:18px}.article-byline{font-size:9px;gap:8px}.article-divider{margin-bottom:23px}.article-layout{display:block}.toc{position:static;padding:16px 18px;border:1px solid #e0e3ed;background:#fff;border-radius:10px;margin-bottom:27px;max-height:none;overflow:visible;font-size:11px}.toc summary{padding:0;border:0;font-size:10px}.toc[open] summary{padding-bottom:8px}.article-copy{font-size:16px;line-height:1.8}.article-copy>p:first-child{font-size:13px;padding:17px 19px}.article-copy h2{font-size:25px;line-height:1.35;margin-top:33px}.article-copy h3{font-size:20px}.article-copy .wp-block-columns{display:block}.article-copy .table-scroll table{font-size:12px;min-width:560px}.related-link strong{font-size:17px}.article-after{margin-top:30px}.empty-state{padding:32px 20px}}
@media(max-width:390px){.container{padding-inline:17px}.header-row{gap:8px}.brand{font-size:17px;gap:6px}.brand svg{width:24px;height:24px}.header-actions{gap:5px}.draft{display:none}.icon-button{width:31px;height:31px}.menu-button{font-size:10px;padding:6px 8px}.hero h1{font-size:34px;letter-spacing:-1.25px}.category-grid{gap:9px}.category-tile{padding:15px 13px;gap:10px}.category-tile .category-icon{display:none}.category-title{font-size:13px}.category-count{margin-left:0;margin-top:0;width:100%;font-size:9px}.category-count svg{margin-left:auto}.story-card h3{font-size:21px}.story-content{padding:20px}.article-header h1{font-size:29px}.search-form{gap:5px;padding-left:10px}.search-form>svg{display:none}.search-input{font-size:13px}.search-submit{padding:10px 11px}.list-item{padding:19px}.list-item h2{font-size:20px}.footer-links{gap:17px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}html{scroll-behavior:auto}}
@media print{.site-header,.footer,.toc,.article-return,.related-link,.live-link,.breadcrumbs{display:none}.container{padding:0}.article-layout{display:block}.article-copy{font-size:11pt}.table-scroll{overflow:visible}.article-copy .table-scroll table{min-width:0}.site-main[hidden]{display:none!important}}

/* WordPress layout and the existing reading-enhancements plugin. */
:root { --adminbar-offset: 0px; }
html { scroll-padding-top: 0; }
body.admin-bar { --adminbar-offset: 32px; }
.site-header { top: var(--adminbar-offset); }
#main { scroll-margin-top: calc(91px + var(--adminbar-offset)); }
.brand-icon { display: inline-flex; flex-shrink: 0; }
.brand-icon svg { width: 29px; height: 29px; }
.article-body, .article-copy, .article-sidebar { min-width: 0; }
.article-layout:not(:has(.aitr-toc)) { grid-template-columns: minmax(0,720px); }
.article-sidebar:empty { display: none; }
.article-sidebar {
  align-self: start;
  position: sticky;
  top: calc(108px + var(--adminbar-offset));
  max-height: calc(100vh - 135px - var(--adminbar-offset));
  overflow-y: auto;
  scrollbar-width: thin;
}
.article-sidebar .aitr-toc {
  position: static;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #7b808a;
  font-size: 11px;
  line-height: 1.6;
  max-height: none;
  overflow: visible;
}
.article-sidebar .aitr-toc > summary {
  list-style: none;
  padding: 0 0 14px;
  margin: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
}
.article-sidebar .aitr-toc > summary::-webkit-details-marker { display: none; }
.article-sidebar .aitr-toc > summary:after { content: '−'; float: right; font-size: 14px; line-height: 1; }
.article-sidebar .aitr-toc:not([open]) > summary:after { content: '+'; }
.article-sidebar .aitr-toc nav > ol { list-style: none; margin: 0; padding: 8px 0 0; }
.article-sidebar .aitr-toc li { padding: 0; margin: 0; }
.article-sidebar .aitr-toc li.aitr-toc-h3 { margin-inline-start: 13px; font-size: inherit; }
.article-sidebar .aitr-toc a {
  display: block;
  padding: 8px 0 8px 10px;
  border-left: 2px solid transparent;
  color: #7b808a;
  text-decoration: none;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.article-sidebar .aitr-toc a:hover,
.article-sidebar .aitr-toc a[aria-current] { color: var(--blue); border-left-color: var(--blue); }
.article-sidebar .aitr-toc :is(summary,a):focus-visible,
.article-copy .aitr-table-scroll:focus-visible,
.article-copy .aitr-table-scroll a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.article-copy .aitr-anchor,
.article-copy :is(h2,h3),
.page-content :is(h2,h3) { scroll-margin-top: calc(109px + var(--adminbar-offset)); }
main :is(h1,h2,h3)[tabindex="-1"]:focus { outline: none; }
.article-copy :is(a,code), .page-content :is(a,code) { overflow-wrap: anywhere; }
.article-copy .aitr-table-hint { font-size: 10px; color: #7b818d; margin: 8px 0; line-height: 1.6; }
.article-copy .aitr-table-scroll {
  width: 100%; max-width: 100%; min-width: 0;
  overflow-x: auto; overscroll-behavior-x: contain;
  border: 1px solid #e0e3e9; border-radius: 10px;
  margin: 0 0 27px; background: #fff;
}
.article-copy .aitr-table-scroll > table {
  border-collapse: collapse; border-spacing: 0; width: 100%;
  min-width: 610px; max-width: none; margin: 0;
  font-size: 13px; line-height: 1.7; color: var(--ink);
  background: #fff; table-layout: auto;
}
.article-copy .aitr-table-scroll th {
  padding: 13px 16px; background: #edf0f9; color: #3b4358;
  font-size: 11px; font-weight: 700; text-align: left;
  white-space: normal; min-width: 110px; border: 0;
  border-bottom: 1px solid #dbe0ed; vertical-align: top;
}
.article-copy .aitr-table-scroll td {
  padding: 14px 16px; border: 0; border-bottom: 1px solid #eceef3;
  vertical-align: top; min-width: 110px;
  overflow-wrap: anywhere; word-break: normal;
}
.article-copy .aitr-table-scroll tbody tr:nth-child(even) > :is(td,th) { background: #fafbfd; }
.article-copy .aitr-table-scroll tr:last-child td { border-bottom: 0; }
.article-copy .aitr-table-scroll td:first-child { font-weight: 600; }
.article-copy .aitr-table-scroll td > a { color: var(--blue-dark); font-weight: 400; }
.article-copy .aitr-repo-meta {
  color: #6c7381; font-size: 11px; line-height: 1.7;
  border-top-color: #e4e7ee; margin-top: 9px; padding-top: 8px;
  font-weight: 400;
}
.article-copy .aitr-repo-stats { color: #424d64; font-weight: 600; }
.article-copy .aitr-repo-checked { font-size: 10px; }
.article-copy .wp-block-table:has(.aitr-table-scroll) { overflow: visible; }
.article-copy > .alignwide,
.article-copy > .alignfull { width: 100%; max-width: 100%; margin-inline: 0; }
.article-copy :is(iframe,video,embed,object) { max-width: 100%; }
.article-copy :is(.wp-block-embed, .wp-block-image) { max-width: 100%; }
.article-copy :is(blockquote,.wp-block-quote) { margin: 27px 0; padding: 6px 0 6px 23px; border-left: 3px solid #c5cff8; }
.article-copy figcaption { color: var(--muted); font-size: 12px; margin-top: 9px; line-height: 1.6; }
.article-copy hr { border: 0; border-top: 1px solid var(--line); margin: 35px 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed; top: calc(12px + var(--adminbar-offset)); left: 16px; z-index: 99999; width: auto; height: auto; clip: auto; padding: 12px 18px; margin: 0; background: #fff; color: var(--blue); box-shadow: 0 0 0 3px var(--blue); }
.skip { top: -100px; }
.skip:focus { top: calc(12px + var(--adminbar-offset)); }
.pagination, .navigation.pagination { margin: 28px 0 0; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; padding: 6px 11px; background: #fff; border: 1px solid var(--line); border-radius: 7px; font-size: 12px; }
.pagination .page-numbers.current { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.static-page, .standard-page, .error-page { max-width: 780px; margin: 0 auto; padding-block: 36px 10px; }
.static-page h1, .standard-page h1, .error-page h1 { font-size: 38px; line-height: 1.2; letter-spacing: -1.25px; margin: 0 0 22px; }
.page-content { font-size: 17px; line-height: 1.75; overflow-wrap: anywhere; }
.page-content p { margin: 0 0 23px; }
.page-content h2 { font-size: 26px; line-height: 1.35; margin: 34px 0 16px; letter-spacing: -.5px; }
.page-content h3 { font-size: 21px; line-height: 1.4; margin: 27px 0 13px; }
.page-content a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.page-content img { max-width: 100%; height: auto; }
.comments-area { border-top: 1px solid var(--line); margin-top: 39px; padding-top: 25px; font-size: 14px; }
.comments-title, .comment-reply-title { font-size: 23px; line-height: 1.4; letter-spacing: -.4px; margin: 0 0 21px; }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list .children { padding-left: 24px; list-style: none; }
.comment-body { padding: 20px; margin-bottom: 15px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.comment-author .avatar { border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.comment-metadata, .reply, .comment-awaiting-moderation { font-size: 11px; color: var(--muted); margin-block: 8px; }
.comment-content { overflow-wrap: anywhere; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 12px; }
.comment-form :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),textarea),
.post-password-form input[type="password"] { width: 100%; border: 1px solid #d8dce9; border-radius: 8px; padding: 10px 12px; background: #fff; color: var(--ink); font-size: 14px; }
.comment-form textarea { min-height: 140px; resize: vertical; }
.comment-form-cookies-consent label { display: inline; font-size: 11px; margin-left: 5px; }
.comment-form .submit, .post-password-form input[type="submit"] { background: var(--blue); color: #fff; padding: 11px 17px; border: 0; border-radius: 7px; font-size: 12px; cursor: pointer; }
.post-password-form { font-size: 14px; }
.post-password-form label { display: block; margin-bottom: 14px; }
@media (max-width: 782px) {
  body.admin-bar { --adminbar-offset: 46px; }
}
@media (max-width: 760px) {
  .brand-icon svg { width: 26px; height: 26px; }
  .article-sidebar { position: static; max-height: none; overflow: visible; }
  .article-sidebar .aitr-toc { padding: 16px 18px; border: 1px solid #e0e3ed; background: #fff; border-radius: 10px; margin-bottom: 27px; font-size: 11px; }
  .article-sidebar .aitr-toc > summary { padding: 0; border: 0; font-size: 10px; }
  .article-sidebar .aitr-toc[open] > summary { padding-bottom: 8px; margin: 0; }
  .article-sidebar .aitr-toc nav > ol { padding: 8px 0 0; }
  .article-copy .aitr-table-scroll > table { font-size: 12px; min-width: 560px; }
  .article-copy .aitr-table-scroll :is(th,td) { padding: 12px 14px; }
  .article-copy .aitr-repo-meta { font-size: 11px; }
  .static-page, .standard-page, .error-page { padding-top: 29px; }
  .static-page h1, .standard-page h1, .error-page h1 { font-size: 32px; }
  .page-content { font-size: 16px; line-height: 1.8; }
  html:not(.js) .header-row { height: auto; min-height: 69px; padding-block: 14px 0; flex-wrap: wrap; }
  html:not(.js) .nav { display: flex; position: static; flex-basis: 100%; order: 3; padding: 3px 0 14px; box-shadow: none; border: 0; }
  html:not(.js) .menu-button { display: none; }
}
@media (max-width: 600px) {
  body.admin-bar #wpadminbar { position: fixed; }
}
@media (max-width: 390px) {
  .brand-icon svg { width: 24px; height: 24px; }
}
@media (forced-colors: active) {
  .story-card, .category-tile, .list-item, .article-sidebar .aitr-toc, .article-copy .aitr-table-scroll { border: 1px solid CanvasText; }
}
@media print {
  .article-sidebar, #wpadminbar, .comments-area { display: none; }
  .article-copy .aitr-table-scroll { overflow: visible; }
  .article-copy .aitr-table-scroll > table { min-width: 0; font-size: 9pt; }
  html { margin-top: 0!important; }
}

/* Category growth: preserve the original two-category desktop composition. */
.category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.category-grid:not(:has(> .category-tile:nth-child(2))) { grid-template-columns: minmax(0, 1fr); }
.category-tile > span:nth-child(2) { min-width: 0; }
.category-title, .category-description { overflow-wrap: anywhere; }
.category-tile.all { background: #edf0f8; }
.category-grid:has(> .category-tile:nth-child(3)) > .category-tile {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  column-gap: 12px;
  row-gap: 12px;
  padding: 20px;
}
.category-grid:has(> .category-tile:nth-child(3)) .category-icon { width: 36px; height: 36px; }
.category-grid:has(> .category-tile:nth-child(3)) .category-count {
  grid-column: 2;
  margin: 0;
  width: auto;
  justify-content: space-between;
  align-self: end;
  gap: 12px;
}
.brand, .header-actions { flex-shrink: 0; }
.nav { min-width: 0; }
.nav a { max-width: 100%; overflow-wrap: anywhere; }
@media (min-width: 1100px) {
  .category-grid:has(> .category-tile:nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid:has(> .category-tile:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* The same accessible menu control already used on phones also handles a
   larger taxonomy. No category link is discarded or clipped horizontally. */
@media (min-width: 761px) {
  html.js .header-row:has(.nav > a:nth-child(5)) .menu-button { display: block; }
  html.js .header-row:has(.nav > a:nth-child(5)) .header-actions { margin-left: auto; }
  html.js .header-row:has(.nav > a:nth-child(5)) .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    margin: 0; padding: 16px max(32px, calc((100vw - 1160px) / 2));
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 16px #17191d08;
    max-height: calc(100vh - 100px - var(--adminbar-offset)); overflow-y: auto;
  }
  html.js .header-row:has(.nav > a:nth-child(5)) .nav.open {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px;
  }
  html.js .header-row:has(.nav > a:nth-child(5)) .nav a { padding: 11px 0; }
  html.js .header-row:has(.nav > a:nth-child(5)) .nav a[aria-current]:after { display: none; }
  html.js .header-row:has(.nav > a:nth-child(5)) .nav a[aria-current] { color: var(--blue); }
  html:not(.js) .header-row:has(.nav > a:nth-child(4)) { height: auto; min-height: 77px; padding-block: 14px; }
  html:not(.js) .header-row:has(.nav > a:nth-child(4)) .nav { flex-wrap: wrap; gap: 0 22px; }
}
@media (min-width: 761px) and (max-width: 1099px) {
  html.js .header-row:has(.nav > a:nth-child(4)) .menu-button { display: block; }
  html.js .header-row:has(.nav > a:nth-child(4)) .header-actions { margin-left: auto; }
  html.js .header-row:has(.nav > a:nth-child(4)) .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    margin: 0; padding: 16px 32px; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 8px 16px #17191d08;
    max-height: calc(100vh - 100px - var(--adminbar-offset)); overflow-y: auto;
  }
  html.js .header-row:has(.nav > a:nth-child(4)) .nav.open {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 27px;
  }
  html.js .header-row:has(.nav > a:nth-child(4)) .nav a { padding: 11px 0; }
  html.js .header-row:has(.nav > a:nth-child(4)) .nav a[aria-current]:after { display: none; }
  html.js .header-row:has(.nav > a:nth-child(4)) .nav a[aria-current] { color: var(--blue); }
}
@media (max-width: 760px) {
  .category-grid,
  .category-grid:has(> .category-tile:nth-child(3)),
  .category-grid:has(> .category-tile:nth-child(4)) { grid-template-columns: minmax(0, 1fr); }
  .category-grid > .category-tile,
  .category-grid:has(> .category-tile:nth-child(3)) > .category-tile {
    display: flex; flex-wrap: nowrap; align-items: center; gap: 13px; padding: 17px 18px;
  }
  .category-grid .category-icon,
  .category-grid:has(> .category-tile:nth-child(3)) .category-icon { display: flex; width: 34px; height: 34px; flex-shrink: 0; }
  .category-grid .category-count,
  .category-grid:has(> .category-tile:nth-child(3)) .category-count {
    margin: 0 0 0 auto; width: auto; flex-shrink: 0; gap: 9px;
  }
  .category-grid .category-count svg { margin: 0; }
  .nav.open { max-height: calc(100vh - 92px - var(--adminbar-offset)); overflow-y: auto; }
}

/* Controls sit outside pre so a copy never includes a button or status text. */
.article-copy .aitr-code-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;max-width:100%;margin:20px 0 -8px;font-size:12px;line-height:1.6}
.article-copy .aitr-copy-code{flex-shrink:0;min-height:36px;padding:7px 12px;border:1px solid #cbd1e0;border-radius:6px;background:#fff;color:#3348ab;font-size:12px;font-weight:600}
.article-copy .aitr-copy-code:hover{background:#edf0ff}
.article-copy .aitr-copy-code:disabled{cursor:wait;opacity:.65}
.article-copy .aitr-copy-status{color:#606675;overflow-wrap:anywhere;flex:1 1 180px}
.article-copy pre{overscroll-behavior-x:contain}
.article-copy .article-summary{padding:18px 22px 18px 38px;margin:22px 0 28px;border:1px solid #dce2f4;border-radius:10px;background:#f0f3fc;font-size:15px;line-height:1.8;max-width:100%;overflow-wrap:anywhere}
.article-copy .article-summary li{margin:6px 0;padding-left:2px}
@media print{.article-copy .aitr-code-tools{display:none}}

/* Editorial attribution after the article body. */
.article-author-box {
    margin-block-start: 32px;
    padding: 16px clamp(16px, 3vw, 24px);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow-wrap: anywhere;
}
.article-author-box h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
}
.article-author-box p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}
.article-author-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin-block-start: 8px;
    font-size: 13px;
}
.article-author-box a,
.footer-editorial-policy a {
    color: var(--blue-dark);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}
