/* =========================================================================
   AKS iQ glossary: theme stylesheet for WordPress
   Covers: glossary archive (/glossary/), single glossary posts, author archive.
   Enqueue ONLY on those views (see aksiq-glossary-functions.php), after the
   theme's own stylesheet. Every rule and token is scoped to
   body.aksiq-glossary, a body class the PHP adds, so nothing here can change
   other pages of the site.

   Built from the approved prototype (css/glossary.css + the blog-card rules
   from css/styles.css). Visual reference: reference/screenshots/.
   Fonts: Inter 400/500/600 (already used on aksiq.com).
   ========================================================================= */

/* ---- design tokens (copied from the site's design system) ---- */
body.aksiq-glossary{
  --white:#FFFFFF;
  --ink-900:#3D3D42;--ink-700:#5B5B62;--ink-500:#83838A;--ink-300:#C7CACD;--ink-100:#E3E5E8;
  --cool-50:#F6F8F9;
  --blue-700:#255F7D;--blue-600:#2F80A6;--blue-100:#E7F0F5;--blue-50:#F0F6FA;
  --cyan-100:#E4F6FA;--cyan-50:#F2FBFD;
  --violet-500:#6C5DD3;--violet-100:#ECEAFB;
  --warning-600:#B3720F;--warning-100:#FBEFDC;
  --text-primary:var(--ink-900);--text-secondary:var(--ink-700);--text-tertiary:var(--ink-500);--text-link:var(--blue-600);
  --accent-secondary:var(--blue-600);
  --bg-surface:var(--cool-50);
  --border-default:var(--ink-100);--border-strong:var(--ink-300);
  --focus-ring-inner:var(--blue-600);--focus-ring-outer:var(--cyan-100);
  --elevation-1:0 1px 3px rgba(61,61,66,0.06);
  --elevation-2:0 8px 24px rgba(61,61,66,0.08),0 2px 6px rgba(61,61,66,0.04);
  --gradient-band:linear-gradient(120deg,#12B5D6 0%,#5B4BD1 100%);   /* = homepage CTA band */
  --radius-sm:4px;--radius-md:6px;--radius-lg:10px;--radius-xl:14px;--radius-pill:999px;
  --text-xs:12px;--text-sm:14px;--text-md:18px;--leading-relaxed:1.7;
}

body.aksiq-glossary{
  --gl-header-h:88px;          /* .site-header height in styles.css */
  --gl-gutter:24px;            /* .container side padding */
  --gl-fast:160ms ease;
}
@media (min-width:768px){body.aksiq-glossary{--gl-gutter:48px}}
@media (min-width:1440px){body.aksiq-glossary{--gl-gutter:80px}}

.gl-page [hidden]{display:none!important}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* topic tones (dot + pill). A topic picks one by name in js/glossary-data.js
   (tone: 'violet'), so adding a topic never needs a CSS change.
   Values match the original glossary design. */
.gl-t-violet{--tone:#5B45C7;--tone-bg:#EFEAFD}
.gl-t-blue{--tone:#2A7193;--tone-bg:#EEFAFD}
.gl-t-teal{--tone:#1D6F82;--tone-bg:#E1F5F9}
.gl-t-green{--tone:#2E7A62;--tone-bg:#E8F4F0}
.gl-t-amber{--tone:#8A6216;--tone-bg:#FBF2E1}
.gl-t-indigo{--tone:#4152C4;--tone-bg:#ECEEFC}
.gl-t-slate{--tone:#3D3D42;--tone-bg:#EEF1F3}

/* ---------- shared: compact hero + breadcrumbs (same on all three pages) ---------- */
/* richer but still light: violet bloom top-right, cyan bloom bottom-left, a pale
   cyan haze across the top, over a soft cyan-to-lavender base. Dark text stays
   readable everywhere (the copy side stays the lightest). */
.gl-hero{position:relative;overflow:hidden;border-bottom:1px solid #E2E9F1;
  background:
    radial-gradient(760px 520px at 90% 30%,rgba(115,87,224,.30),transparent 70%),
    radial-gradient(640px 460px at 2% 105%,rgba(27,180,211,.24),transparent 70%),
    radial-gradient(560px 360px at 45% -10%,rgba(110,211,232,.14),transparent 70%),
    linear-gradient(135deg,#F5FBFD 0%,#F2F0FD 100%)}
.gl-hero .gl-container{padding-top:40px;padding-bottom:56px}
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;color:var(--text-secondary)}
.crumbs a{color:var(--text-secondary);text-decoration:none}
.crumbs a:hover{color:var(--text-link)}
.crumbs .icon{color:var(--ink-300)}
.crumbs [aria-current]{color:var(--text-primary);font-weight:500}
.gl-title{margin-top:28px;font-weight:500;font-size:34px;line-height:1.12;letter-spacing:-0.015em;color:#3D3D42;max-width:820px}
@media (min-width:1024px){.gl-title{font-size:44px}}
/* gradient phrase inside a heading */
.hl-grad{background:linear-gradient(100deg,#2F80A6 0%,#7357E0 100%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.gl-lead{margin:20px 0 0;max-width:540px;font-size:18px;line-height:1.6;color:#55555C}

/* ========================= INDEX (/glossary/) =========================
   Compact centred hero (same .gl-hero gradient as the term pages) with a faint
   dot grid and a search box; then one grid of blog cards (styles.css
   .blog-grid / .blog-card) with no headings. */
.gl-hub .gl-container.gl-hub-inner{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:36px;padding-bottom:52px}
/* faint dot grid, fading out toward the edges */
.gl-hub::before{content:"";position:absolute;inset:0;pointer-events:none;
  background-image:radial-gradient(rgba(61,61,66,.13) 1px,transparent 1.4px);background-size:22px 22px;
  -webkit-mask-image:radial-gradient(70% 90% at 50% 45%,#000 30%,transparent 80%);mask-image:radial-gradient(70% 90% at 50% 45%,#000 30%,transparent 80%)}
.gl-hub-crumbs{justify-content:center}
.gl-hub-title{margin:18px 0 0;max-width:960px;text-wrap:balance;font-size:34px;line-height:1.12;font-weight:500;letter-spacing:-0.015em;color:#3D3D42}
@media (min-width:1024px){.gl-hub-title{font-size:44px}}
.gl-hub-search{display:flex;align-items:center;gap:10px;width:100%;max-width:620px;height:60px;margin-top:28px;padding:0 6px 0 18px;
  background:#fff;border:1px solid #DCE4EC;border-radius:var(--radius-pill);box-shadow:0 10px 30px rgba(60,70,150,.10),0 1px 2px rgba(20,25,60,.06);
  transition:border-color var(--gl-fast),box-shadow var(--gl-fast)}
.gl-hub-search:focus-within{border-color:#8FB9D3;box-shadow:0 0 0 4px rgba(47,128,166,.14),0 10px 30px rgba(60,70,150,.12)}
.gl-hub-search-ic{flex-shrink:0;color:var(--ink-500)}
.gl-hub-search input{flex:1;min-width:0;height:100%;border:0;background:none;font:inherit;font-size:16px;color:var(--text-primary);outline:none}
.gl-hub-search input::placeholder{color:var(--ink-500)}
.gl-hub-search input::-webkit-search-cancel-button{cursor:pointer}
.gl-hub-search-btn{flex-shrink:0;height:48px;padding:0 26px;border:0;border-radius:var(--radius-pill);cursor:pointer;
  background:var(--gradient-band,linear-gradient(120deg,#12B5D6 0%,#5B4BD1 100%));color:#fff;font:inherit;font-size:15px;font-weight:600;
  box-shadow:0 6px 16px rgba(60,70,190,.25);transition:transform var(--gl-fast),box-shadow var(--gl-fast)}
.gl-hub-search-btn:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(60,70,190,.32)}
.gl-hub-search-btn:focus-visible{outline:2px solid #2F80A6;outline-offset:2px}
/* terms grid */
.gl-terms{padding:56px 0 96px;scroll-margin-top:calc(var(--gl-header-h) + 8px)}
.gl-hub-status{margin:0 0 20px;font-size:14px;color:var(--text-secondary)}
.gl-hub-status:empty{display:none}
.gl-terms .blog-card[hidden]{display:none}
/* glossary card: 1200x630 image on top (same ratio as the export), then the
   page H1 and the excerpt. No tag, no link text: the whole card is the link. */
.gl-card-img{aspect-ratio:1200/630;overflow:hidden;border-bottom:1px solid var(--border-default);background:#EEF3F8}
.gl-card-img img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 400ms cubic-bezier(.16,.84,.44,1)}
a.gl-card:hover .gl-card-img img{transform:scale(1.03)}
.gl-card .blog-card__body{padding:22px 24px 26px}
.gl-card .blog-card__title{margin:0 0 10px;font-size:17px;line-height:1.4;font-weight:600;transition:color var(--gl-fast)}
a.gl-card:hover .blog-card__title{color:var(--blue-600)}
.gl-card .blog-card__desc{margin:0}
@media (prefers-reduced-motion:reduce){.gl-card-img img{transition:none}a.gl-card:hover .gl-card-img img{transform:none}}
.gl-hub-empty{padding:48px 24px;text-align:center;border:1px dashed var(--border-strong);border-radius:var(--radius-xl)}
.gl-hub-empty-t{margin:0;font-size:20px;font-weight:500;color:var(--text-primary)}
.gl-hub-empty p:not(.gl-hub-empty-t){margin:8px 0 0;color:var(--text-secondary)}
.gl-hub-empty a{color:var(--text-link)}
.gl-hub-clear{margin-top:18px;padding:9px 18px;border:1px solid var(--border-strong);border-radius:var(--radius-pill);background:#fff;cursor:pointer;font:inherit;font-size:14px;font-weight:500;color:var(--text-primary)}
.gl-hub-clear:hover{background:var(--cool-50)}
@media (max-width:767px){
  .gl-hub .gl-container.gl-hub-inner{padding-top:28px;padding-bottom:40px}
  .gl-hub-search{height:54px;padding-left:14px}
  .gl-hub-search-btn{height:42px;padding:0 18px;font-size:14px}
  .gl-terms{padding:40px 0 64px}
}
.gl-t-gold{--tone:#8A6216;--tone-bg:#FBF2E1}
.gl-noscript{padding:48px 0;color:var(--text-secondary)}

/* ===================== TERM PAGE (/glossary/<slug>/) ===================== */
.gl-pill{display:inline-flex;align-items:center;height:22px;margin-top:28px;padding:0 9px;border-radius:var(--radius-pill);font-size:12px;font-weight:500;background:var(--tone-bg,var(--ink-100));color:var(--tone,var(--text-secondary))}
.gl-pill + .gl-title{margin-top:18px}
.gt-meta{display:flex;flex-wrap:wrap;align-items:center;gap:12px 14px;margin-top:28px;font-size:14px;color:var(--text-secondary)}
.gt-author{display:inline-flex;align-items:center;gap:12px;color:var(--text-primary);text-decoration:none;border-radius:var(--radius-md)}
.gt-avatar{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:50%;background:var(--ink-100);color:var(--ink-500);overflow:hidden}
.gt-avatar img{width:100%;height:100%;object-fit:cover}
.gt-author-txt{display:flex;flex-direction:column;line-height:1.3}
.gt-author-txt strong{font-size:15px;font-weight:600;transition:color var(--gl-fast)}
.gt-author-txt small{font-size:13px;color:var(--text-secondary)}
.gt-author:hover strong{color:var(--text-link);text-decoration:underline;text-underline-offset:3px}
.gt-meta-sep{width:1px;height:28px;background:var(--border-strong)}
.gt-dot{width:3px;height:3px;border-radius:50%;background:var(--ink-300)}
@media (max-width:767px){.gt-meta-sep{flex-basis:100%;height:0;background:none}}

.gt-body{padding:56px 0 96px}
.gt-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:56px;align-items:start}

/* Sidebar (theme): back link, table of contents, demo banner. Modelled on the
   EastNets glossary: the whole column sticks and scrolls on its own (slim
   scrollbar) when it is taller than the screen. */
.gt-side{position:sticky;top:calc(var(--gl-header-h) + 24px);display:flex;flex-direction:column;gap:28px;
  max-height:calc(100vh - var(--gl-header-h) - 48px);overflow-y:auto;overscroll-behavior:contain;padding-right:10px;
  scrollbar-width:thin;scrollbar-color:#B9CCD9 transparent}
.gt-side > *{flex-shrink:0}          /* scroll the column; never squash its items */
.gt-side::-webkit-scrollbar{width:6px}
.gt-side::-webkit-scrollbar-thumb{background:#B9CCD9;border-radius:3px}
.gt-side::-webkit-scrollbar-track{background:transparent}
.gt-back{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:500;color:var(--text-secondary);text-decoration:none}
.gt-back:hover{color:var(--text-link)}
/* Table of contents: built from the full H2s. No panel, one thin line on the
   left, roomy left padding; the section being read gets a gradient bar and
   blue text (js/glossary-toc.js). */
.gt-toc-h{margin:0 0 12px;font-size:14px;font-weight:600;color:var(--text-primary)}
.gt-toc ol{position:relative;margin:0;padding:0;list-style:none;border-left:1px solid #D3DCE6}
.gt-toc a{position:relative;display:block;padding:5px 0 5px 20px;font-size:13.5px;line-height:1.35;color:#6B6F80;text-decoration:none;transition:color var(--gl-fast)}
.gt-toc a::before{content:"";position:absolute;left:-1.5px;top:4px;bottom:4px;width:3px;border-radius:2px;
  background:linear-gradient(180deg,#2F80A6 0%,#7357E0 100%);opacity:0;transition:opacity var(--gl-fast)}
.gt-toc a:hover{color:var(--blue-600)}
.gt-toc a.is-active{color:#2A6E91;font-weight:500}
.gt-toc a.is-active::before{opacity:1}

/* Demo banner under the TOC (theme widget). Same gradient as the homepage CTA band
   (--gradient-band in styles.css), white copy and one full-width white button. */
.gt-demo{position:relative;overflow:hidden;padding:24px 22px 22px;border-radius:var(--radius-xl);color:#fff;
  background:var(--gradient-band,linear-gradient(120deg,#12B5D6 0%,#5B4BD1 100%));box-shadow:0 10px 28px rgba(60,70,190,.22)}
.gt-demo-title{margin:0;font-size:18px;line-height:1.3;font-weight:600;color:#fff;text-shadow:0 1px 2px rgba(10,30,60,.18)}
.gt-demo-sub{margin:8px 0 0;font-size:14px;line-height:1.5;color:rgba(255,255,255,.92)}
.gt-demo-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:18px;padding:12px 18px;border-radius:var(--radius-pill);
  background:#fff;color:#2F3A9E;font-size:15px;font-weight:600;text-decoration:none;box-shadow:0 6px 16px rgba(20,25,80,.25);
  transition:transform var(--gl-fast),box-shadow var(--gl-fast)}
.gt-demo-btn .icon{transition:transform var(--gl-fast)}
.gt-demo-btn:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(20,25,80,.32)}
.gt-demo-btn:hover .icon{transform:translateX(3px)}
.gt-demo-btn:focus-visible{outline:2px solid #fff;outline-offset:3px}

@media (prefers-reduced-motion:reduce){.gt-demo-btn,.gt-demo-btn .icon{transition:none}}
.gt-side-card{padding:20px;border:1px solid var(--border-default);border-radius:var(--radius-lg);
  background:radial-gradient(260px 160px at 100% 0%,rgba(115,87,224,.10),transparent 70%),linear-gradient(160deg,#fff,#F7F9FA)}
.gt-side-title{margin:0;font-size:16px;font-weight:600;line-height:1.35;color:var(--text-primary)}
.gt-side-card p:not(.gt-side-title){margin:6px 0 16px;font-size:14px;line-height:1.5;color:var(--text-secondary)}
.gt-side-card .btn{width:100%}

/* article content: styled by element, standard blocks only */
.gt-article{max-width:740px;min-width:0;font-size:16px;line-height:1.6;color:var(--text-secondary)}
.gt-article h2{margin:48px 0 12px;font-size:24px;line-height:1.25;font-weight:500;letter-spacing:-0.01em;color:var(--text-primary);scroll-margin-top:calc(var(--gl-header-h) + 24px)}
.gt-article h3{margin:24px 0 6px;font-size:17px;line-height:1.4;font-weight:500;color:var(--text-primary)}
.gt-article h2 + h3{margin-top:20px}
.gt-article p{margin:14px 0 0}
.gt-article h3 + p{margin-top:0}
.gt-article strong{font-weight:600;color:var(--text-primary)}
.gt-article a{color:var(--text-link);text-decoration:underline;text-decoration-color:var(--blue-100);text-decoration-thickness:2px;text-underline-offset:3px}
.gt-article a:hover{text-decoration-color:var(--blue-600)}
.gt-article ul,.gt-article ol{display:flex;flex-direction:column;gap:8px;margin:14px 0 0;padding-left:24px}
.gt-article ul{list-style:disc}
.gt-article ol{list-style:decimal}
.gt-article li::marker{color:var(--blue-600);font-weight:600}
.gt-article .gt-lead{margin-top:0;font-size:18px;line-height:1.6;color:var(--text-primary)}

/* key takeaways: a Group block with this style */
/* one quiet treatment: soft tinted panel, plain heading, points split by hairlines */
.gt-takeaways{margin-top:36px;padding:28px 32px 20px;border-radius:var(--radius-xl);background:#F5F8FA;scroll-margin-top:calc(var(--gl-header-h) + 24px)}
.gt-article .gt-takeaways h2{margin:0 0 6px;font-size:17px;line-height:1.3;font-weight:500;letter-spacing:0;text-transform:none;color:var(--text-primary)}
.gt-article .gt-takeaways ul{display:block;margin:0;padding:0;list-style:none}
.gt-article .gt-takeaways li{position:relative;padding:12px 0 12px 22px;font-size:15px;line-height:1.55;color:var(--text-primary)}
.gt-article .gt-takeaways li + li{border-top:1px solid #E3E8EC}
.gt-article .gt-takeaways li::before{content:"";position:absolute;left:2px;top:21px;width:6px;height:6px;border-radius:50%;background:var(--blue-600)}

/* image block */
.gt-figure{margin:28px 0 8px}
.gt-figure img{width:100%;height:auto;border:1px solid var(--border-default);border-radius:var(--radius-lg)}
.gt-figure figcaption{margin-top:10px;font-size:13px;color:var(--text-secondary);text-align:center}
/* full-width graphic placed straight under its H2 */
.gt-article h2 + .gt-figure--graphic{margin:16px 0 20px}
.gt-figure--graphic img{background:#fff}
/* tap/click to open the full-size graphic (WordPress: Image block, Link to = Media File) */
.gt-article a.gt-zoom{position:relative;display:block;text-decoration:none;cursor:zoom-in;border-radius:var(--radius-lg)}
.gt-article a.gt-zoom img{transition:box-shadow var(--gl-fast)}
.gt-article a.gt-zoom:hover img{box-shadow:0 8px 24px rgba(61,61,66,.10)}
.gt-article a.gt-zoom:focus-visible{outline:2px solid var(--blue-600);outline-offset:3px}
/* a small "Tap to enlarge" chip, phones and tablets only, where the graphic text is small */
.gt-article a.gt-zoom::after{content:"Tap to enlarge";position:absolute;right:10px;bottom:10px;display:none;align-items:center;gap:6px;
  padding:5px 10px;border-radius:var(--radius-pill);background:rgba(20,30,50,.78);color:#fff;font-size:12px;font-weight:500;line-height:1.2}
@media (max-width:1023px){.gt-article a.gt-zoom::after{display:inline-flex}}

/* table block */
.gt-table-wrap{margin:24px 0 0;border:1px solid var(--border-default);border-radius:var(--radius-lg);overflow-x:auto}
.gt-table-wrap table{width:100%;min-width:560px;border-collapse:collapse;font-size:15px;line-height:1.5}
.gt-table-wrap th,.gt-table-wrap td{padding:14px 18px;text-align:left;vertical-align:top;border-bottom:1px solid var(--border-default)}
.gt-table-wrap tbody tr:last-child > *{border-bottom:0}
.gt-table-wrap thead th{background:var(--bg-surface);font-size:13px;font-weight:600;color:var(--text-primary)}
.gt-table-wrap tbody th{width:22%;font-weight:600;color:var(--text-primary)}

/* callout: a paragraph block style */
.gt-article .gt-callout{margin-top:24px;padding:16px 20px;border:1px solid #F1DFB8;border-radius:var(--radius-lg);background:var(--warning-100);font-size:15px;line-height:1.6;color:#5E4A1F}
.gt-article .gt-callout strong{color:#5E4A1F}

/* buttons block */
.gt-article .gt-buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.gt-article .gt-buttons a{text-decoration:none}
.gt-article .gt-buttons .btn-primary{color:var(--white)}
.gt-article .gt-buttons .btn-secondary{color:var(--text-primary)}
.gt-article .gt-sources{font-size:14px;line-height:1.5}

/* related terms (theme) */
.gt-related{padding:80px 0;background:var(--bg-surface);border-top:1px solid var(--border-default)}
.gt-related-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:24px}
.gt-related-head h2{font-size:28px;font-weight:600;letter-spacing:-0.005em}
.gt-related-head a{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--text-link);text-decoration:none}
.gt-related .gl-grid > .gl-entry:nth-child(-n+3){border-top:0;padding-top:4px}

@media (max-width:1023px){
  .gt-layout{grid-template-columns:minmax(0,1fr);gap:32px}
  .gt-side{position:static;max-height:none;overflow:visible;padding-right:0}
  .gt-side-card{display:none}
  /* on tablet/phone the article comes first; the page-end CTA band carries the ask */
  .gt-demo{display:none}
  .gt-article{max-width:none}
}
@media (max-width:1180px){
  .gt-related .gl-grid > .gl-entry:nth-child(3){border-top:1px solid var(--border-default);padding-top:18px}
}
@media (max-width:767px){
  .gt-body{padding:32px 0 64px}
  .gt-article{font-size:16px;line-height:1.6}
  .gt-article h2{margin-top:40px;font-size:22px}
  .gt-article .gt-lead{font-size:17px}
  .gt-takeaways{padding:22px 20px 12px}
  .gt-article .gt-takeaways li{font-size:15px}
  .gt-related{padding:56px 0}
  .gt-related-head{flex-direction:column;align-items:flex-start}
  .gt-related .gl-grid > .gl-entry:nth-child(2){border-top:1px solid var(--border-default);padding-top:18px}
}

/* ===================== AUTHOR PROFILE (/author/<slug>/) ===================== */
.au-profile{display:grid;grid-template-columns:128px minmax(0,1fr);gap:40px;align-items:start;max-width:880px;margin-top:32px}
.au-photo{display:grid;place-items:center;width:128px;height:128px;border-radius:50%;background:var(--ink-100);color:var(--ink-500);overflow:hidden;border:4px solid var(--white);box-shadow:var(--elevation-1)}
.au-photo img{width:100%;height:100%;object-fit:cover}
.au-name{font-weight:600;font-size:40px;line-height:1.1;letter-spacing:-0.015em;color:var(--text-primary)}
.au-role{margin:8px 0 0;font-size:17px;font-weight:500;color:var(--text-link)}
.au-bio{margin:16px 0 0;max-width:680px;font-size:17px;line-height:1.7;color:var(--text-secondary)}
.au-bio + .au-bio{margin-top:10px}
.au-topics{margin:20px 0 0;font-size:15px;color:var(--text-primary)}
.au-topics span{margin-right:6px;font-weight:600}
.au-links{margin-top:24px}

.au-posts{padding:64px 0 96px}
.au-posts h2{font-size:28px;font-weight:600;letter-spacing:-0.005em}
.au-count{margin:6px 0 0;color:var(--text-secondary)}
.au-list{max-width:880px;margin:24px 0 0;padding:0;list-style:none;border-top:1px solid var(--border-default)}
/* whole entry clickable: the title link stretches over it */
.au-post{position:relative;padding:24px 0;border-bottom:1px solid var(--border-default)}
.au-post-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;font-size:13px;color:var(--text-secondary)}
.au-post-title{margin:8px 0 0;font-size:20px;line-height:1.35;font-weight:600}
.au-post-title a{color:var(--text-primary);text-decoration:none;transition:color var(--gl-fast)}
.au-post-title a::after{content:"";position:absolute;inset:0}
.au-post:hover .au-post-title a{color:var(--blue-700)}
.au-post-excerpt{margin:8px 0 0;max-width:720px;font-size:15px;line-height:1.6;color:var(--text-secondary)}

@media (max-width:767px){
  .au-profile{grid-template-columns:1fr;gap:20px}
  .au-photo{width:96px;height:96px}
  .au-name{font-size:32px}
  .au-posts{padding:48px 0 64px}
}

/* skip link: hidden until focused */
.gl-skip{position:absolute;left:16px;top:-48px;z-index:200;padding:8px 14px;border-radius:var(--radius-md);background:var(--white);color:var(--text-primary);font-weight:600;box-shadow:var(--elevation-2)}
.gl-skip:focus{top:12px}

/* ---- page-width wrapper used by the templates (same as the site .container) ---- */
body.aksiq-glossary .gl-container{max-width:1392px;margin:0 auto;padding:0 24px}
@media (min-width:768px){body.aksiq-glossary .gl-container{padding:0 48px}}
@media (min-width:1440px){body.aksiq-glossary .gl-container{padding:0 80px}}
/* --gl-header-h (88px) is the sticky-header height used for the sticky sidebar offset and anchor jumps.
   Set it to the live site header height if it differs: body.aksiq-glossary{--gl-header-h:XXpx} */

/* ---- blog card grid used by the glossary archive (from styles.css) ---- */
.blog-grid{display:grid;grid-template-columns:1fr;gap:24px}
@media (min-width:768px){.blog-grid{grid-template-columns:repeat(3,1fr)}}
a.blog-card{position:relative;display:flex;flex-direction:column;overflow:hidden;background:var(--white);border:1px solid var(--border-default);border-radius:var(--radius-xl);box-shadow:var(--elevation-1);text-decoration:none;color:inherit;transition:border-color 180ms ease,box-shadow 180ms ease,transform 180ms cubic-bezier(.16,.84,.44,1)}
a.blog-card::before{content:'';position:absolute;top:0;left:0;height:3px;width:0;background:var(--accent-secondary);transition:width 320ms cubic-bezier(.16,.84,.44,1);z-index:1}
a.blog-card:hover{border-color:var(--border-strong);box-shadow:var(--elevation-2);transform:translateY(-4px)}
a.blog-card:hover::before{width:100%}
@media (prefers-reduced-motion:reduce){a.blog-card:hover{transform:none}}
.blog-card__img{display:flex;align-items:center;justify-content:center;height:140px;background:var(--cyan-50)}
.blog-card__img svg{width:36px;height:36px;color:var(--accent-secondary)}
.blog-card__img--photo{height:auto;aspect-ratio:3/2;background:none}
.blog-card__img--photo img{width:100%;height:100%;object-fit:cover;display:block}
.blog-card--violet .blog-card__img{background:var(--violet-100)}
.blog-card--violet .blog-card__img svg{color:var(--violet-500)}
.blog-card--gold .blog-card__img{background:var(--warning-100)}
.blog-card--gold .blog-card__img svg{color:var(--warning-600)}
.blog-card__body{padding:24px 24px 28px;display:flex;flex-direction:column;flex:1 1 auto}
.blog-card__tag{display:inline-flex;align-items:center;align-self:flex-start;padding:4px 12px;border-radius:var(--radius-pill);background:var(--cyan-50);color:var(--blue-700);font-size:var(--text-xs);font-weight:600;margin-bottom:14px}
.blog-card__title{color:var(--text-primary);font-size:var(--text-md);font-weight:600;line-height:1.35;margin-bottom:10px}
.blog-card__desc{color:var(--text-secondary);font-size:var(--text-sm);line-height:var(--leading-relaxed);margin:0 0 20px}
.blog-card__link{display:inline-flex;align-items:center;gap:8px;color:var(--accent-secondary);font-weight:600;font-size:var(--text-sm);margin-top:auto}
.blog-card__link svg{transition:transform 180ms ease}
a.blog-card:hover .blog-card__link svg{transform:translateX(4px)}

/* ===================== WordPress block output =====================
   The prototype used its own markup; these map the same look onto what the
   block editor saves (post-content.html), so editors only use standard blocks. */
/* Image blocks with class gt-figure--graphic, Link to = Media File */
.gt-article .wp-block-image.gt-figure--graphic{margin:28px 0 8px}
.gt-article h2 + .wp-block-image.gt-figure--graphic{margin:16px 0 20px}
.gt-article .wp-block-image.gt-figure--graphic img{display:block;width:100%;height:auto;background:#fff;border:1px solid var(--border-default);border-radius:var(--radius-lg)}
.gt-article .wp-block-image.gt-figure--graphic a{position:relative;display:block;cursor:zoom-in;border-radius:var(--radius-lg);text-decoration:none}
.gt-article .wp-block-image.gt-figure--graphic a:hover img{box-shadow:0 8px 24px rgba(61,61,66,.10)}
.gt-article .wp-block-image.gt-figure--graphic a::after{content:"Tap to enlarge";position:absolute;right:10px;bottom:10px;display:none;
  padding:5px 10px;border-radius:var(--radius-pill);background:rgba(20,30,50,.78);color:#fff;font-size:12px;font-weight:500;line-height:1.2}
@media (max-width:1023px){.gt-article .wp-block-image.gt-figure--graphic a::after{display:inline-flex}}
/* Key Takeaways = Group block, class gt-takeaways: block wrappers add margins; reset them */
.gt-article .gt-takeaways > *{margin-block:0}
.gt-article .gt-takeaways > h2{margin:0 0 6px}
/* Rank Math FAQ block (optional swap for the H3 + paragraph FAQs) */
.gt-article .rank-math-faq-item{margin:0}
.gt-article .rank-math-question{margin:24px 0 6px;font-size:17px;line-height:1.4;font-weight:500;color:var(--text-primary)}
.gt-article .rank-math-answer p{margin:0}
/* author LinkedIn button + WordPress/Rank Math breadcrumbs */
.au-btn{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px;border:1px solid var(--border-strong);border-radius:var(--radius-md);background:#fff;color:var(--text-primary);font-size:15px;font-weight:500;text-decoration:none}
.au-btn:hover{background:var(--cool-50)}
.crumbs .rank-math-breadcrumb p{margin:0}
.crumbs .rank-math-breadcrumb a{color:var(--text-secondary);text-decoration:none}
.crumbs .rank-math-breadcrumb a:hover{color:var(--text-link)}
.crumbs .separator{margin:0 6px;color:var(--ink-300)}

/* ---- GeneratePress page container ------------------------------------------
   #page carries .grid-container, which caps the page at 1200px. Pages escape it
   with the body class full-width-content, which comes from post meta - but
   /glossary/ is a post type archive and /author/… is an author archive, so
   neither has post meta and neither gets the class. These views are full-bleed
   by design (the hero has its own background), so the cap is removed here.
   .site-content is already handled by lifted.css's body:has(.aksiq-site) rules.
   -------------------------------------------------------------------------- */
body.aksiq-glossary #page.grid-container{max-width:100%;padding-left:0;padding-right:0}
