/* Shared design tokens. No remote fonts, framework or icon dependencies. */
:root {
  color-scheme:light;
  --navy:#081525;
  --accent:#168bff;
  --link:#0863ce;
  --bg:#f7f9fc;
  --surface:#fff;
  --surface-alt:#edf4fc;
  --text:#172033;
  --muted:#56657b;
  --border:#dce5ef;
  --header-text:#edf5ff;
  --success:#087c50;
  --warning:#875300;
  --radius:12px;
  --shadow:0 4px 22px #142e5210;
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --mono:"Cascadia Code","SFMono-Regular",Consolas,monospace;
  --header-offset:96px
}

@media(prefers-color-scheme:dark) {
  :root:not([data-theme="light"]) {
    color-scheme:dark;
    --bg:#0c1726;
    --surface:#112136;
    --surface-alt:#152b44;
    --text:#e8eff9;
    --muted:#afbdd1;
    --border:#293e56;
    --link:#75bbff;
    --success:#74ddb0;
    --warning:#f4cb7b;
    --shadow:0 4px 22px #0002
  }
}

:root[data-theme="dark"] {
  color-scheme:dark;
  --bg:#0c1726;
  --surface:#112136;
  --surface-alt:#152b44;
  --text:#e8eff9;
  --muted:#afbdd1;
  --border:#293e56;
  --link:#75bbff;
  --success:#74ddb0;
  --warning:#f4cb7b;
  --shadow:0 4px 22px #0002
}

*,*::before,*::after {
  box-sizing:border-box
}

html {
  scroll-padding-top:var(--header-offset)
}

body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font:400 16px/1.65 var(--font);
  -webkit-font-smoothing:antialiased;
  overflow-wrap:break-word
}

a {
  color:var(--link);
  text-underline-offset:3px
}

a:hover {
  text-decoration-thickness:2px
}

button,input,textarea,select {
  font:inherit
}

button,a,input,textarea,select,summary {
  -webkit-tap-highlight-color:transparent
}

button {
  cursor:pointer
}

button,input[type="submit"],.wp-block-button__link {
  background:#0868dc;
  color:#fff;
  border:1px solid transparent;
  border-radius:8px;
  padding:11px 18px;
  font-weight:650;
  min-height:44px
}

button:hover,input[type="submit"]:hover {
  background:#0757b8
}

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),textarea,select {
  max-width:100%;
  border:1px solid var(--border);
  border-radius:7px;
  background:var(--surface);
  color:var(--text);
  padding:11px 12px
}

input[type="checkbox"],input[type="radio"] {
  accent-color:var(--link);
  width:19px;
  height:19px
}

textarea {
  width:100%
}

input::placeholder {
  color:var(--muted);
  opacity:1
}

:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:4px
}

main:focus {
  outline:none
}

h1,h2,h3,h4,h5,h6 {
  color:var(--text);
  line-height:1.22;
  letter-spacing:-.025em;
  text-wrap:pretty
}

h1 {
  font-size:clamp(2rem,4.2vw,3.25rem);
  margin:0 0 20px;
  font-weight:780
}

h2 {
  font-size:clamp(1.5rem,2.5vw,2rem);
  font-weight:750
}

h3 {
  font-size:1.15rem
}

p {
  margin:0 0 1.15em
}

img {
  max-width:100%;
  height:auto;
  vertical-align:middle
}

svg {
  flex-shrink:0
}

.icon {
  display:inline-block;
  vertical-align:middle
}

.container {
  width:min(1240px,calc(100% - 64px));
  margin-inline:auto
}

.screen-reader-text,.skip-link:not(:focus) {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap
}

.skip-link:focus {
  position:fixed;
  left:16px;
  top:16px;
  z-index:99999;
  background:var(--surface);
  padding:12px 20px;
  border-radius:6px
}

[hidden] {
  display:none!important
}

/* Header and navigations. The menu remains available without JavaScript. */
.site-header {
  position:sticky;
  top:0;
  z-index:100;
  background:var(--navy);
  border-bottom:1px solid #ffffff19;
  color:var(--header-text)
}

.header-inner {
  display:flex;
  align-items:center;
  gap:36px;
  min-height:88px
}

.site-header.is-compact .header-inner {
  min-height:72px
}

.brand {
  display:inline-flex;
  flex-direction:column;
  text-decoration:none;
  color:#fff;
  flex-shrink:0;
  line-height:1
}

.brand>span {
  font-size:30px;
  font-weight:850;
  letter-spacing:-1.4px
}

.brand-accent {
  color:var(--accent)
}

.brand small {
  font-size:9px;
  letter-spacing:.06px;
  font-weight:400;
  margin-top:7px;
  color:#bfccdc
}

.custom-logo-link {
  display:block;
  max-width:200px
}

.custom-logo {
  max-height:58px;
  width:auto
}

.primary-nav {
  margin-left:auto
}

.menu {
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:22px
}

.primary-nav a {
  color:#e4edf7;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
  display:block;
  padding-block:14px
}

.primary-nav a:hover,.primary-nav .current-menu-item>a {
  color:#78c0ff
}

.primary-nav li {
  position:relative
}

.primary-nav .sub-menu {
  display:none;
  position:absolute;
  top:100%;
  left:0;
  min-width:220px;
  padding:12px 20px;
  list-style:none;
  background:var(--navy);
  border:1px solid #34485f;
  border-radius:8px
}

.primary-nav li:hover>.sub-menu,.primary-nav li:focus-within>.sub-menu {
  display:block
}

.header-actions {
  display:flex;
  gap:8px
}

/* Reserve enhanced controls before deferred JavaScript, avoiding header layout shifts. */
.nav-enhanced .header-actions {
  min-inline-size: 96px;
  justify-content: flex-end;
}
@media (max-width: 900px) {
  .nav-enhanced .header-actions { min-inline-size: 148px; }
}
@media (max-width: 600px) {
  .nav-enhanced .header-actions { min-inline-size: 126px; }
}

.icon-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  min-height:44px;
  padding:0;
  border:1px solid #263c53;
  background:#10263c;
  color:#e4efff;
  border-radius:8px;
  text-decoration:none
}

.icon-button:hover {
  background:#1d3c5b
}

.icon-button .icon {
  width:20px;
  height:20px
}

.theme-toggle {
  background:#0b3d76
}

.menu-toggle {
  display:none
}

.admin-bar .site-header {
  top:32px
}

/* Search-first home, with a lightweight CSS illustration. */
.hero {
  position:relative;
  overflow:hidden;
  background:radial-gradient(ellipse at 85% 50%,#0a3961 0,transparent 48%),var(--navy);
  color:#dbe6f4
}

.hero-inner {
  position:relative;
  padding-block:68px 34px
}

.hero-copy {
  max-width:720px;
  position:relative;
  z-index:2
}

.eyebrow {
  font-size:11px;
  font-weight:750;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:12px
}

.hero .eyebrow {
  color:#a9bbd0;
  display:flex;
  gap:10px;
  align-items:center
}

.status-dot {
  width:7px;
  height:7px;
  display:inline-block;
  border-radius:50%;
  background:var(--accent)
}

.hero h1 {
  font-size:clamp(2.5rem,4.8vw,4.4rem);
  letter-spacing:-.045em;
  line-height:1.07;
  color:#fff;
  margin-bottom:22px
}

.hero h1 span {
  color:#2ca2ff
}

.hero-description {
  font-size:18px;
  line-height:1.7;
  max-width:610px;
  color:#bdcce0;
  margin-bottom:32px
}

.hero-search {
  position:relative;
  z-index:3;
  max-width:920px
}

.search-form {
  display:flex;
  align-items:center;
  gap:13px;
  padding:7px 7px 7px 20px;
  border-radius:10px;
  background:var(--surface);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  min-width:0
}

.search-form>.icon {
  color:var(--muted);
  width:22px
}

.search-form input[type=search].search-field {
  flex:1;
  width:0;
  min-width:0;
  border:0;
  padding:12px 0;
  font-size:15px;
  background:transparent
}

.search-form button {
  flex-shrink:0;
  padding:13px 24px;
  white-space:nowrap
}

.hero .search-form {
  --surface:#fff;
  --text:#172033;
  --muted:#56657b;
  --border:#dce5ef;
  color-scheme:light;
  box-shadow:0 10px 30px #0003
}

.popular-searches {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-top:18px;
  font-size:12px;
  color:#aebfd3
}

.popular-searches>span {
  margin-right:6px
}

.popular-searches a {
  border:1px solid #2a4560;
  color:#cfdded;
  padding:4px 12px;
  border-radius:6px;
  text-decoration:none;
  background:#10263c
}

.popular-searches a:hover {
  border-color:#6ca7de
}

.hero-art {
  position:absolute;
  width:330px;
  height:290px;
  right:0;
  top:55px;
  pointer-events:none
}

.art-orbit {
  position:absolute;
  inset:-20px;
  border:1px solid #2381d62b;
  border-radius:50%;
  transform:rotate(-20deg)
}

.art-orbit:after {
  content:"";
  position:absolute;
  inset:30px;
  border:1px solid #2381d624;
  border-radius:50%
}

.art-panel {
  position:absolute;
  width:228px;
  height:176px;
  left:42px;
  top:47px;
  border:1px solid #68bfff7d;
  border-radius:16px;
  transform:perspective(600px) rotateY(-17deg) rotateZ(-9deg);
  box-shadow:10px 25px 50px #0005
}

.art-panel-back {
  left:82px;
  top:17px;
  background:linear-gradient(130deg,#17508288,#081b3388);
  border-color:#3174a555
}

.art-panel-front {
  padding:28px;
  background:linear-gradient(130deg,#177de0,#084d9d 50%,#103c6b)
}

.art-window {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:5px;
  width:64px;
  height:64px;
  transform:skewY(-5deg)
}

.art-window i {
  background:linear-gradient(120deg,#c2e9ff,#72bbf6)
}

.art-line {
  height:6px;
  width:112px;
  border-radius:5px;
  background:#87c7ff55;
  margin-top:19px
}

.art-line.short {
  width:74px;
  margin-top:8px
}

.art-check {
  position:absolute;
  right:-22px;
  bottom:18px;
  background:#e5f8f6;
  color:#0a8061;
  padding:14px;
  border-radius:14px;
  box-shadow:0 10px 30px #00172c66
}

.art-check .icon {
  width:32px;
  height:32px
}

.art-cursor {
  position:absolute;
  left:5px;
  bottom:18px;
  font:700 24px var(--mono);
  color:#9fd2ff;
  background:#0c243d;
  border:1px solid #2b567d;
  padding:10px 16px;
  border-radius:10px
}

.home-content {
  padding-block:48px 44px
}

.home-section {
  margin-bottom:48px
}

.section-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:22px
}

.section-heading .eyebrow {
  margin-bottom:7px
}

.section-heading h2 {
  margin:0;
  font-size:26px
}

.section-caption {
  font-size:13px;
  color:var(--muted);
  padding-bottom:4px
}

.text-link {
  font-size:14px;
  font-weight:650;
  text-decoration:none
}

.problem-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px
}

.problem-card {
  position:relative;
  display:block;
  text-decoration:none;
  padding:22px 48px 22px 80px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--surface);
  box-shadow:0 2px 8px #142e5204;
  min-height:112px
}

.problem-card:hover {
  border-color:var(--link)
}

.topic-icon {
  position:absolute;
  top:26px;
  left:22px;
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border-radius:10px;
  background:var(--surface-alt);
  color:var(--link)
}

.topic-icon .icon {
  width:25px;
  height:25px
}

.problem-card h3 {
  font-size:16px;
  margin:3px 0 7px
}

.problem-card p {
  font-size:12px;
  line-height:1.45;
  color:var(--muted);
  margin:0
}

.card-arrow {
  position:absolute;
  right:18px;
  top:42px
}

.card-arrow .icon {
  width:17px;
  height:17px
}

.post-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px
}

.post-card {
  min-width:0;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--surface);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  box-shadow:0 3px 12px #142e5206
}

.card-image {
  display:block;
  aspect-ratio:16/7;
  overflow:hidden;
  background:var(--surface-alt)
}

.card-image img {
  width:100%;
  height:100%;
  object-fit:cover
}

.card-body {
  padding:23px;
  display:flex;
  flex-direction:column;
  flex:1
}

.category-label {
  display:inline-block;
  align-self:flex-start;
  color:var(--link);
  font-size:10px;
  font-weight:800;
  letter-spacing:.045em;
  text-transform:uppercase;
  text-decoration:none;
  background:var(--surface-alt);
  border-radius:4px;
  padding:3px 8px
}

.post-card .card-title {
  font-size:19px;
  line-height:1.35;
  margin:12px 0 10px;
  letter-spacing:-.025em
}

.post-card .card-title a {
  text-decoration:none;
  color:var(--text)
}

.post-card .card-title a:hover {
  color:var(--link)
}

.card-body>p {
  font-size:13px;
  line-height:1.7;
  color:var(--muted);
  margin-bottom:20px
}

.card-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:auto;
  font-size:11px;
  color:var(--muted);
  border-top:1px solid var(--border);
  padding-top:8px
}

.card-bottom>a {
  display:grid;
  place-items:center;
  width:44px;
  height:36px
}

.card-bottom .icon {
  width:19px
}

.topic-grid {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px
}

.topic-card {
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:22px 16px;
  text-decoration:none;
  background:var(--surface)
}

.topic-card:hover {
  border-color:var(--link)
}

.topic-card>.icon {
  width:30px;
  height:30px;
  margin-bottom:10px;
  color:var(--link)
}

.topic-card h3 {
  font-size:14px;
  margin:0 0 7px
}

.topic-card p {
  font-size:11px;
  line-height:1.6;
  color:var(--muted);
  margin:0
}

.topic-links ul {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  list-style:none;
  margin:0;
  padding:0;
  gap:12px
}

.topic-links a {
  display:block;
  padding:20px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:10px;
  text-decoration:none
}

.value-strip {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  padding:24px 0;
  border-top:1px solid var(--border)
}

.value-strip>div {
  display:flex;
  align-items:center;
  gap:16px
}

.value-strip>.icon,.value-strip .icon {
  width:28px;
  height:28px;
  color:var(--link)
}

.value-strip p {
  margin:0;
  font-size:12px
}

.value-strip strong,.value-strip span {
  display:block
}

.value-strip span {
  font-size:11px;
  color:var(--muted)
}

/* Article reading surface and optional table of contents. */
.single-main {
  padding-block:24px 64px
}

.breadcrumbs {
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:10px;
  font-size:11px;
  color:var(--muted);
  margin-bottom:34px
}

.breadcrumbs a {
  text-decoration:none;
  color:var(--muted)
}

.breadcrumbs [aria-current] {
  max-width:100%
}

.article-layout {
  display:grid;
  grid-template-columns:minmax(0,900px);
  justify-content:center;
  column-gap:44px
}

.article-layout>* {
  min-width:0
}

.article-header {
  grid-column:1;
  grid-row:1
}

.article-kicker {
  display:flex;
  gap:12px;
  align-items:center;
  margin-bottom:16px;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.07em;
  font-weight:700;
  color:var(--muted)
}

.article-header h1 {
  font-size:clamp(2rem,3.7vw,3rem);
  line-height:1.13;
  letter-spacing:-.035em;
  max-width:900px
}

.article-intro {
  font-size:18px;
  line-height:1.7;
  max-width:820px;
  margin-bottom:20px
}

.technical-meta {
  display:flex;
  flex-wrap:wrap;
  gap:10px 24px;
  margin:18px 0;
  font-size:12px
}

.technical-meta>div {
  display:flex;
  align-items:baseline;
  gap:7px;
  flex-wrap:wrap
}

.technical-meta dt {
  color:var(--muted)
}

.technical-meta dd {
  margin:0;
  font-weight:600
}

.post-meta {
  display:flex;
  flex-wrap:wrap;
  gap:8px 24px;
  color:var(--muted);
  font-size:11px;
  padding-bottom:22px;
  border-bottom:1px solid var(--border);
  margin-bottom:24px
}

.article-before {
  grid-column:1;
  grid-row:2
}

.quick-fix,.is-style-quick-fix {
  background:var(--surface-alt);
  border:1px solid #168bff40;
  border-left:4px solid var(--accent);
  padding:22px 26px;
  border-radius:10px;
  margin:0 0 25px
}

.callout-heading {
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--link);
  margin-bottom:10px
}

.callout-heading h2 {
  font-size:20px;
  letter-spacing:-.025em;
  color:var(--link);
  margin:0
}

.callout-heading>.icon {
  color:#bf7900
}

.quick-fix p {
  font-size:15px;
  margin-bottom:12px
}

.quick-fix .text-link {
  font-size:12px
}

.article-toc {
  grid-column:1;
  grid-row:3;
  margin-bottom:26px
}

.toc-details {
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--surface);
  font-size:13px
}

.toc-details summary {
  padding:15px 18px;
  font-weight:700;
  cursor:pointer;
  min-height:48px
}

.toc-details nav {
  padding:0 18px 18px
}

.toc-title {
  font-weight:750;
  margin:14px 0 12px;
  font-size:14px
}

.toc-details ol {
  list-style:none;
  padding:0;
  margin:0;
  counter-reset:toc
}

.toc-details li {
  margin:0 0 4px;
  line-height:1.45
}

.toc-details a {
  display:block;
  padding:8px 0 8px 27px;
  color:var(--muted);
  text-decoration:none;
  position:relative
}

.toc-details a:hover,.toc-details a[aria-current="location"] {
  color:var(--link)
}

.toc-level-2 {
  counter-increment:toc
}

.toc-level-2>a::before {
  content:counter(toc);
  position:absolute;
  left:0;
  top:8px;
  width:19px;
  height:19px;
  display:grid;
  place-items:center;
  border-radius:50%;
  font-size:10px;
  font-weight:750;
  background:var(--surface-alt);
  color:var(--link)
}

.toc-details .toc-level-3 {
  font-size:12px;
  margin-left:18px
}

.toc-level-3>a::before {
  content:"–";
  position:absolute;
  left:10px
}

.article-body {
  grid-column:1;
  grid-row:4
}

.article-end {
  grid-column:1;
  grid-row:5
}

.entry-content {
  font-size:17px;
  line-height:1.85
}

.entry-content::after {
  content:"";
  display:table;
  clear:both
}

.entry-content h2 {
  font-size:26px;
  margin:42px 0 17px;
  scroll-margin-top:var(--header-offset)
}

.entry-content h2:first-child {
  margin-top:8px
}

.entry-content h3 {
  font-size:21px;
  margin:30px 0 14px;
  scroll-margin-top:var(--header-offset)
}

.entry-content h4 {
  font-size:18px;
  margin:26px 0 12px
}

.entry-content :where(p,ul,ol,blockquote,figure,pre,table,.wp-block-group) {
  margin-block:0 22px
}

.entry-content li {
  margin-block:7px
}

.entry-content ul,.entry-content ol {
  padding-left:26px
}

.entry-content li::marker {
  color:var(--link)
}

.entry-content a {
  text-decoration-thickness:1px
}

.entry-content iframe,.entry-content video,.entry-content embed,.entry-content object {
  max-width:100%
}

.entry-content figure {
  max-width:100%;
  margin-inline:0
}

.entry-content img {
  border-radius:8px
}

.entry-content figcaption,.wp-caption-text {
  font-size:12px;
  line-height:1.6;
  text-align:center;
  color:var(--muted);
  margin-top:10px
}

.wp-caption {
  max-width:100%
}

.entry-content blockquote {
  margin-inline:0;
  padding:6px 24px;
  border-left:3px solid var(--accent);
  color:var(--muted)
}

.entry-content blockquote p:last-child {
  margin-bottom:0
}

.entry-content hr {
  border:0;
  border-top:1px solid var(--border);
  margin-block:32px
}

.entry-content .alignleft {
  float:left;
  margin:0 24px 18px 0
}

.entry-content .alignright {
  float:right;
  margin:0 0 18px 24px
}

.entry-content .aligncenter {
  display:block;
  margin-inline:auto
}

.entry-content .alignwide,.entry-content .alignfull {
  max-width:100%;
  width:100%;
  margin-inline:0
}

.wp-block-gallery {
  gap:16px
}

.wp-block-columns {
  gap:24px
}

.entry-content .wp-block-image a:has(img) {
  display:inline-block
}

.entry-content .wp-block-image img {
  height:auto
}

.entry-content .is-style-steps {
  list-style:none;
  counter-reset:steps;
  padding-left:0
}

.is-style-steps>li {
  position:relative;
  counter-increment:steps;
  padding-left:45px;
  margin-bottom:24px
}

.is-style-steps>li::before {
  content:counter(steps);
  position:absolute;
  left:0;
  top:1px;
  display:grid;
  place-items:center;
  width:29px;
  height:29px;
  border-radius:7px;
  background:var(--surface-alt);
  color:var(--link);
  font-weight:750;
  font-size:15px
}

.notice,.is-style-note,.is-style-tip,.is-style-warning,.is-style-success {
  padding:20px 24px;
  border:1px solid var(--border);
  border-left:4px solid var(--link);
  border-radius:9px;
  background:var(--surface-alt);
  margin-block:22px
}

.is-style-tip,.is-style-success {
  border-left-color:var(--success)
}

.is-style-warning {
  border-left-color:var(--warning)
}

.notice p:last-child,.is-style-note p:last-child,.is-style-tip p:last-child,.is-style-warning p:last-child,.is-style-success p:last-child,.is-style-quick-fix p:last-child {
  margin-bottom:0
}

.is-style-tip strong,.is-style-success strong {
  color:var(--success)
}

.is-style-warning strong {
  color:var(--warning)
}

code,kbd,pre,samp {
  font-family:var(--mono)
}

:not(pre)>code {
  padding:3px 6px;
  border-radius:5px;
  background:var(--surface-alt);
  font-size:.88em;
  overflow-wrap:anywhere
}

kbd {
  padding:2px 6px;
  background:var(--surface);
  border:1px solid var(--border);
  border-bottom-width:2px;
  border-radius:4px;
  font-size:.86em
}

.is-style-error-code {
  font-family:var(--mono);
  color:var(--link);
  font-weight:650
}

.entry-content pre,.wp-block-code {
  background:#0b1a2b;
  color:#e0eeff;
  border:1px solid #2b4057;
  border-radius:9px;
  padding:20px;
  overflow-x:auto;
  max-width:100%;
  font-size:14px;
  line-height:1.8;
  tab-size:4;
  white-space:pre
}

.entry-content pre code {
  white-space:pre;
  font-size:inherit;
  display:block;
  background:none;
  color:inherit;
  padding:0;
  overflow-wrap:normal
}

.code-shell {
  margin-bottom:24px;
  min-width:0;
  border-radius:9px;
  overflow:hidden;
  background:#0b1a2b;
  border:1px solid #2b4057
}

.code-shell pre {
  margin:0;
  border:0;
  border-radius:0
}

.code-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:5px 10px 5px 17px;
  background:#1c2e42;
  color:#d6e6f7;
  font-size:11px
}

.copy-button {
  min-height:36px;
  padding:5px 10px;
  font-size:11px;
  color:#e0eeff;
  background:#263e58;
  border-color:#3a526d;
  border-radius:5px
}

.table-scroll,.wp-block-table {
  overflow-x:auto;
  max-width:100%;
  margin-bottom:24px
}

.entry-content table {
  border-collapse:collapse;
  width:100%;
  font-size:14px
}

.entry-content th,.entry-content td {
  border:1px solid var(--border);
  padding:12px;
  text-align:left;
  min-width:110px
}

.entry-content th {
  background:var(--surface-alt);
  font-weight:700
}

.entry-content>table {
  display:block;
  overflow:auto
}

.wp-block-table table {
  margin:0
}

.post-tags {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  border-top:1px solid var(--border);
  margin:32px 0;
  padding-top:20px
}

.post-tags a {
  padding:5px 10px;
  background:var(--surface-alt);
  border-radius:5px;
  font-size:12px;
  text-decoration:none
}

.related {
  border-top:1px solid var(--border);
  padding-top:35px;
  margin-top:40px
}

.related h2 {
  margin-top:0
}

.related .card-image {
  display:none
}

/* Archives, search, comments and footer. */
.listing-main,.page-main,.search-main {
  padding-block:44px 70px;
  min-height:65vh
}

.listing-header {
  margin-bottom:36px;
  max-width:900px
}

.listing-header h1 {
  font-size:36px
}

.listing-header .search-form {
  margin-block:25px
}

.search-main {
  max-width:964px
}

.result-count {
  font-size:13px;
  color:var(--muted)
}

.search-result {
  padding:25px 0;
  border-top:1px solid var(--border)
}

.search-result h2 {
  font-size:23px;
  margin:9px 0
}

.search-result h2 a {
  text-decoration:none;
  color:var(--text)
}

.search-result h2 a:hover {
  color:var(--link)
}

.search-result p {
  font-size:15px;
  color:var(--muted);
  margin-bottom:12px
}

.search-result time {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-top:12px
}

.empty-state {
  padding:30px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--surface)
}

.page-article {
  max-width:900px;
  margin-inline:auto
}

.pagination,.comments-pagination {
  margin-top:36px
}

.nav-links {
  display:flex;
  gap:8px;
  flex-wrap:wrap
}

.page-numbers,.post-page-numbers {
  display:inline-grid;
  place-items:center;
  min-width:44px;
  min-height:44px;
  padding:6px 12px;
  border:1px solid var(--border);
  border-radius:6px;
  text-decoration:none
}

.page-numbers.current,.post-page-numbers.current {
  color:#fff;
  background:#0868dc;
  border-color:#0868dc
}

.page-links {
  display:flex;
  gap:8px;
  flex-wrap:wrap
}

.comments-area {
  max-width:900px;
  margin-top:50px
}

.comment-list,.comment-list .children {
  list-style:none;
  padding:0
}

.comment-list .children {
  padding-left:24px
}

.comment-body {
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:10px;
  padding:24px;
  margin-bottom:16px;
  font-size:14px
}

.comment-author .avatar {
  float:left;
  margin-right:12px;
  border-radius:50%
}

.comment-metadata {
  font-size:11px;
  color:var(--muted);
  margin-block:4px 18px
}

.comment-metadata a {
  color:var(--muted)
}

.reply a {
  display:inline-block;
  min-height:36px;
  font-size:12px
}

.comment-respond {
  border-top:1px solid var(--border);
  padding-top:20px;
  margin-top:30px
}

.comment-form label {
  display:block;
  font-size:13px;
  font-weight:600;
  margin-bottom:5px
}

.comment-form-cookies-consent {
  display:flex;
  align-items:flex-start;
  gap:10px
}

.comment-form-cookies-consent label {
  font-weight:400
}

.comment-notes,.logged-in-as {
  font-size:13px;
  color:var(--muted)
}

.required {
  color:var(--link)
}

.site-footer {
  background:var(--navy);
  color:#aebdd0;
  padding:38px 0 22px
}

.site-footer a {
  color:#c7d5e7;
  text-decoration:none
}

.site-footer .brand {
  color:#fff
}

.footer-main {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:36px;
  padding-bottom:30px
}

.footer-main p {
  font-size:12px;
  margin:16px 0 0
}

.site-footer .menu {
  gap:10px 22px;
  flex-wrap:wrap;
  font-size:12px
}

.footer-bottom {
  padding-top:22px;
  border-top:1px solid #29405a;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px
}

.footer-bottom small {
  font-size:11px
}

.footer-bottom nav {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:18px;
  font-size:12px
}

@media(min-width:1180px) {
  .has-side-toc {
    grid-template-columns:minmax(0,900px) minmax(210px,240px);
    gap:0 40px
  }
  .has-side-toc .article-toc {
    grid-column:2;
    grid-row:1/6;
    align-self:start;
    position:sticky;
    top:var(--header-offset)
  }
  .toc-enhanced .has-side-toc .toc-details summary {
    display:none
  }
  .has-side-toc .toc-details nav {
    padding-top:6px
  }
  .has-side-toc .toc-details a {
    font-size:12px
  }
}

@media(max-width:1100px) {
  .header-inner {
    gap:20px
  }
  .primary-nav .menu {
    gap:15px
  }
  .primary-nav a {
    font-size:12px
  }
  .hero-art {
    opacity:.6;
    right:-40px
  }
  .hero-copy {
    max-width:680px
  }
  .hero h1 {
    font-size:58px
  }
  .hero-description {
    max-width:560px
  }
  .topic-grid {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }
}

@media(max-width:900px) {
  .container {
    width:calc(100% - 40px)
  }
  .header-inner {
    flex-wrap:wrap;
    gap:0;
    min-height:76px;
    padding-block:14px
  }
  .site-header.is-compact .header-inner {
    min-height:70px
  }
  .header-actions {
    margin-left:auto
  }
  .primary-nav {
    width:100%;
    order:3;
    margin-top:12px
  }
  .primary-nav .menu {
    justify-content:center;
    flex-wrap:wrap
  }
  .primary-nav a {
    font-size:14px
  }
  .nav-enhanced .menu-toggle {
    display:inline-flex
  }
  .nav-enhanced .primary-nav:not(.is-open) {
    display:none
  }
  .primary-nav .sub-menu {
    display:block;
    position:static;
    border:0;
    padding:0 0 0 14px;
    min-width:0
  }
  .primary-nav li:hover>.sub-menu,.primary-nav li:focus-within>.sub-menu {
    display:block
  }
  .nav-enhanced .primary-nav .menu {
    align-items:flex-start;
    flex-direction:column;
    gap:0
  }
  .nav-enhanced .primary-nav {
    max-height:65vh;
    overflow:auto;
    padding:12px 0 0;
    border-top:1px solid #29405a
  }
  .primary-nav a {
    padding:10px
  }
  .hero-inner {
    padding-top:48px
  }
  .hero-art {
    right:-75px;
    opacity:.35
  }
  .hero-copy {
    max-width:620px
  }
  .hero-description {
    max-width:560px
  }
  .hero h1 {
    font-size:54px
  }
  .problem-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .post-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .value-strip {
    gap:20px
  }
  .value-strip>div {
    align-items:flex-start;
    gap:10px
  }
  .footer-main {
    flex-direction:column;
    gap:24px
  }
  .section-caption {
    display:none
  }
}

@media(max-width:600px) {
  .container {
    width:calc(100% - 32px)
  }
  .brand>span {
    font-size:26px
  }
  .brand small {
    font-size:8px
  }
  .header-inner {
    min-height:73px
  }
  .header-actions {
    gap:5px
  }
  .icon-button {
    width:40px;
    min-width:40px
  }
  .header-actions .theme-toggle {
    width:36px;
    min-width:36px;
    border-color:transparent
  }
  .header-actions .icon {
    width:18px
  }
  .hero-inner {
    padding-block:38px 25px
  }
  .hero-art {
    display:none
  }
  .hero .eyebrow {
    font-size:10px
  }
  .hero h1 {
    font-size:clamp(2.5rem,9.5vw,3.4rem);
    margin-bottom:18px
  }
  .hero-description {
    font-size:15px;
    line-height:1.7;
    margin-bottom:25px
  }
  .search-form {
    gap:8px;
    padding:6px 6px 6px 12px;
    flex-wrap:wrap
  }
  .search-form input[type=search].search-field {
    font-size:13px;
    padding:12px 0
  }
  .search-form>.icon {
    width:19px
  }
  .search-form button {
    font-size:12px;
    padding:12px 13px
  }
  .search-form button span {
    display:none
  }
  .popular-searches {
    gap:7px;
    margin-top:16px;
    font-size:10px
  }
  .popular-searches>span {
    width:100%;
    margin-bottom:2px
  }
  .popular-searches a {
    padding:6px 9px
  }
  .home-content {
    padding-block:32px
  }
  .home-section {
    margin-bottom:34px
  }
  .section-heading {
    margin-bottom:18px;
    align-items:flex-start;
    gap:12px
  }
  .section-heading h2 {
    font-size:22px
  }
  .section-heading .eyebrow {
    font-size:9px
  }
  .section-heading .text-link {
    font-size:11px
  }
  .problem-grid {
    gap:10px
  }
  .problem-card {
    min-height:162px;
    padding:18px 14px
  }
  .topic-icon {
    position:static;
    width:35px;
    height:35px;
    margin-bottom:12px;
    border-radius:8px
  }
  .topic-icon .icon {
    width:23px;
    height:23px
  }
  .problem-card h3 {
    font-size:14px;
    margin-bottom:5px
  }
  .problem-card p {
    font-size:11px;
    max-width:130px
  }
  .card-arrow {
    right:12px;
    top:26px
  }
  .post-grid {
    grid-template-columns:1fr;
    gap:14px
  }
  .card-body {
    padding:20px
  }
  .post-card .card-title {
    font-size:19px
  }
  .card-image {
    aspect-ratio:16/6
  }
  .topic-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px
  }
  .topic-card {
    padding:19px 15px
  }
  .topic-links ul {
    grid-template-columns:repeat(2,1fr)
  }
  .value-strip {
    grid-template-columns:1fr;
    gap:20px;
    padding-top:24px
  }
  .value-strip>div {
    align-items:center;
    gap:15px
  }
  .value-strip p {
    font-size:13px
  }
  .value-strip span {
    font-size:12px
  }
  .single-main {
    padding-top:18px
  }
  .breadcrumbs {
    font-size:10px;
    margin-bottom:24px;
    gap:7px
  }
  .breadcrumbs [aria-current] {
    display:none
  }
  .breadcrumbs>span:last-of-type:not([aria-current]) {
    display:none
  }
  .article-header h1 {
    font-size:31px;
    line-height:1.15;
    margin-bottom:16px
  }
  .article-intro {
    font-size:16px;
    line-height:1.65
  }
  .article-kicker {
    margin-bottom:12px
  }
  .technical-meta {
    font-size:11px;
    gap:8px
  }
  .post-meta {
    font-size:10px;
    gap:8px 16px;
    padding-bottom:17px;
    margin-bottom:18px
  }
  .quick-fix,.is-style-quick-fix {
    padding:18px;
    margin-bottom:20px
  }
  .callout-heading h2 {
    font-size:18px
  }
  .quick-fix p {
    font-size:14px;
    line-height:1.7
  }
  .quick-fix .text-link {
    font-size:12px;
    display:inline-block;
    padding-block:5px
  }
  .entry-content {
    font-size:16px;
    line-height:1.8
  }
  .entry-content h2 {
    font-size:23px;
    margin-top:32px
  }
  .entry-content h3 {
    font-size:20px
  }
  .notice,.is-style-note,.is-style-tip,.is-style-warning,.is-style-success {
    padding:17px
  }
  .entry-content pre {
    padding:16px;
    font-size:12px
  }
  .entry-content .alignleft,.entry-content .alignright {
    float:none;
    margin-inline:0
  }
  .related {
    margin-top:28px
  }
  .comment-body {
    padding:18px
  }
  .comment-list .children {
    padding-left:14px
  }
  .listing-main,.page-main,.search-main {
    padding-top:30px
  }
  .listing-header h1 {
    font-size:29px
  }
  .search-result h2 {
    font-size:21px
  }
  .footer-bottom {
    flex-direction:column;
    align-items:flex-start;
    gap:16px
  }
  .site-footer .menu {
    gap:8px 18px
  }
  .footer-main .menu a,.footer-bottom a {
    display:inline-block;
    padding-block:7px
  }
  .admin-bar .site-header {
    top:0
  }
}

@media(min-width:601px) and (max-width:782px) {
  .admin-bar .site-header {
    top:46px
  }
}

@media(max-width:600px) {
  .search-form input[type=search].search-field {
    font-size:16px
  }
  .search-form button {
    width:100%;
    font-size:14px
  }
  .search-form {
    padding:8px;
    column-gap:10px
  }
  .search-form>.icon {
    margin-left:5px
  }
  .search-form .search-field {
    margin-right:5px
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior:auto!important;
    animation:none!important;
    transition:none!important
  }
}

@media print {
  .site-header,.site-footer,.article-toc,.hero-art,.header-actions,.related,.comments-area,.copy-button,.skip-link {
    display:none!important
  }
  body {
    background:white;
    color:#111
  }
  .container {
    width:100%
  }
  .article-layout {
    display:block
  }
  .entry-content {
    font-size:11pt
  }
  .entry-content pre {
    white-space:pre-wrap;
    color:#111;
    background:#f5f5f5
  }
  .quick-fix {
    background:#f5f5f5;
    color:#111
  }
  a {
    color:#111
  }
  h1,h2,h3 {
    break-after:avoid;
    color:#111
  }
  .article-intro {
    font-size:12pt
  }
}

.hub-header { max-width: 850px; }
.hub-main > .breadcrumbs { margin-bottom: 2rem; }
.hub-main .topic-card[aria-current] { outline: 2px solid var(--accent); outline-offset: 3px; }
.hub-main .topic-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.hub-main .breadcrumbs [aria-current] { display: inline; }
