/*
 Theme Name: DevFix for GeneratePress — Pages & GitHub v1.2.14
 Theme URI: https://devfix.pro/
 Description: DevFix developer site with custom homepage, category and article layouts, plus branded About, Contact, Privacy Policy, Tutorials, and GitHub library pages.
 Author: DevFix
 Template: generatepress
 Version: 1.2.14
 Text Domain: autodevblog-gp
*/

/* Self-hosted Inter (variable, latin) - replaces the Google Fonts request. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --adb-ink: #0f172a;
  --adb-text: #1e293b;
  --adb-muted: #475569;
  --adb-blue: #2457f5;
  --adb-blue-dark: #1745d8;
  --adb-line: #e2e8f0;
  --adb-pale: #f8fafc;
  --adb-white: #ffffff;
  --adb-radius: 14px;
  --adb-shadow: 0 8px 28px rgba(15, 23, 42, .045);
  --adb-container: 1440px;
}

/* Keep the theme clean and scope the large visual changes to the homepage. */
body.home {
  color: var(--adb-text);
  background: #f8fafc;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.home #page.grid-container {
  max-width: var(--adb-container);
  padding: 0 !important;
  background: #fbfcfe;
}
body.home .site-header,
body.home .main-navigation,
body.home .inside-navigation,
body.home .site-branding {
  display: none !important;
}
body.home .site-content {
  display: block;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent;
}
body.home .content-area.adb-home-area {
  float: none;
  width: 100%;
  margin: 0;
}
body.home .site-main.adb-home {
  margin: 0;
  padding: 0;
}
body.home .inside-article,
body.home .comments-area {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
body.home .entry-header,
body.home .entry-content > .wp-block-post-title {
  display: none;
}

/* Header */
.adb-header {
  position: relative;
  z-index: 20;
  width: 100%;
  border-bottom: 1px solid rgba(226, 232, 240, .9);
  background: rgba(255, 255, 255, .96);
}
.adb-header-inner {
  max-width: 1360px;
  min-height: 76px;
  margin: 0 auto;
  padding: 10px 30px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}
.adb-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: var(--adb-ink);
  text-decoration: none;
}
.adb-brand:hover { color: var(--adb-blue); }
.adb-brand-mark {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--adb-blue);
}
.adb-brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.adb-brand-name { font-size: 23px; font-weight: 850; letter-spacing: -.9px; white-space: nowrap; }
.adb-brand-name span { color: var(--adb-blue); }
.adb-brand-tagline { margin-top: 3px; color: var(--adb-muted); font-size: 11px; letter-spacing: .12px; }
.adb-nav { display: flex; align-items: center; justify-content: center; gap: clamp(9px, 1.15vw, 18px); min-width: 0; }
.adb-nav a {
  position: relative;
  padding: 10px 0 9px;
  color: #202b3d;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease;
}
.adb-nav a:hover,
.adb-nav a[aria-current="page"] { color: var(--adb-blue); }
.adb-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 3px;
  background: var(--adb-blue);
  content: "";
}
.adb-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }
.adb-search { display: flex; align-items: center; width: clamp(155px, 16vw, 215px); min-width: 0; height: 40px; padding: 0 11px; gap: 8px; border: 1px solid #e1e7f0; background: #f8fafc; border-radius: 11px; }
.adb-search svg { flex: 0 0 auto; color: #334155; }
.adb-search input[type="search"] { width: 100%; min-width: 0; margin: 0; padding: 0; color: var(--adb-ink); border: 0; outline: 0; box-shadow: none; background: transparent; font: inherit; font-size: 12px; }
.adb-search input[type="search"]::placeholder { color: #64748b; }
.adb-search kbd { flex: 0 0 auto; padding: 2px 5px; border: 1px solid #cbd5e1; border-radius: 5px; background: #fff; color: #334155; font: inherit; font-size: 10px; line-height: 1.5; font-weight: 600; }
.adb-icon-button,
.adb-menu-toggle { width: 40px; height: 40px; padding: 0; display: inline-grid; place-items: center; color: #101827; border: 1px solid #e2e8f0; border-radius: 50%; background: #fff; cursor: pointer; }
.adb-icon-button:hover,
.adb-menu-toggle:hover { color: var(--adb-blue); border-color: #c5d2ff; }
.adb-subscribe { min-height: 40px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--adb-blue); border-radius: 11px; color: #fff; background: var(--adb-blue); font-size: 12px; font-weight: 750; text-decoration: none; box-shadow: 0 5px 14px rgba(36, 87, 245, .16); transition: transform .18s ease, background .18s ease; }
.adb-subscribe:hover { color: #fff; background: var(--adb-blue-dark); transform: translateY(-1px); }
.adb-menu-toggle { display: none; }

/* Hero */
.adb-home-wrap { max-width: 1360px; margin: 0 auto; padding: 22px 30px 36px; }
.adb-hero {
  position: relative;
  min-height: 438px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(390px, .92fr) minmax(0, 1.08fr);
  align-items: center;
  border: 1px solid #e9edff;
  border-radius: 14px;
  background: linear-gradient(112deg, #f7f9ff 0%, #f0f3ff 58%, #e7eaff 100%);
}
.adb-hero-copy { position: relative; z-index: 2; padding: 37px 0 35px 42px; }
.adb-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 11px; border-radius: 999px; color: #234be5; background: #e6ecff; font-size: 11px; font-weight: 800; letter-spacing: .65px; text-transform: uppercase; }
.adb-eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--adb-blue); box-shadow: 0 0 0 4px rgba(36, 87, 245, .08); }
.adb-hero h1 { max-width: 590px; margin: 0 0 15px; color: #0e1729; font-size: clamp(39px, 4vw, 55px); font-weight: 850; line-height: 1.02; letter-spacing: -2.25px; }
.adb-hero h1 .adb-accent { color: var(--adb-blue); }
.adb-hero-description { max-width: 550px; margin: 0 0 20px; color: #5b6880; font-size: 15.5px; line-height: 1.55; }
.adb-hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.adb-button-primary,
.adb-button-secondary { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border-radius: 11px; font-size: 12.5px; font-weight: 750; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.adb-button-primary { color: #fff; background: var(--adb-blue); border: 1px solid var(--adb-blue); box-shadow: 0 6px 16px rgba(36, 87, 245, .15); }
.adb-button-primary:hover { color: #fff; background: var(--adb-blue-dark); transform: translateY(-2px); }
.adb-button-secondary { color: #172033; background: rgba(255,255,255,.88); border: 1px solid #dfe5f2; }
.adb-button-secondary:hover { color: var(--adb-blue); border-color: #bdcbff; transform: translateY(-2px); }
.adb-hero-topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 540px; gap: 12px; }
.adb-hero-topic { display: flex; align-items: center; gap: 9px; min-width: 0; color: #172033; text-decoration: none; }
.adb-topic-icon { display: inline-grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #e1e9ff; color: #2457f5; font-size: 17px; }
.adb-hero-topic:nth-child(2) .adb-topic-icon { color: #f04468; background: #fff0f3; }
.adb-hero-topic:nth-child(3) .adb-topic-icon { color: #6d48f5; background: #efebff; }
.adb-hero-topic:nth-child(4) .adb-topic-icon { color: #07885e; background: #e4f8ee; }
.adb-topic-label { display: block; font-size: 11px; line-height: 1.35; font-weight: 750; }
.adb-topic-sub { display: block; margin-top: 2px; color: #5b6a82; font-size: 10px; font-weight: 500; }
.adb-hero-art { position: relative; align-self: stretch; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 10px 13px 10px 0; }
.adb-hero-art::before { position: absolute; top: 11%; right: 2%; width: 80%; height: 78%; border-radius: 43% 57% 51% 49%; background: linear-gradient(135deg, rgba(255,255,255,.35), rgba(170,184,255,.35)); content: ""; transform: rotate(-8deg); }
.adb-hero-art img { position: relative; z-index: 1; width: 100%; height: auto; max-height: 415px; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(39, 58, 125, .10)); }

/* Topic rail */
.adb-topic-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 17px 0 31px; border: 1px solid #e8edf5; border-radius: 13px; background: #fff; box-shadow: 0 4px 16px rgba(31, 51, 91, .025); }
.adb-topic-rail-item { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 17px 22px; color: inherit; text-decoration: none; }
.adb-topic-rail-item + .adb-topic-rail-item { border-left: 1px solid #e6ebf3; }
.adb-topic-rail-icon { color: #2457f5; flex: 0 0 auto; }
.adb-topic-rail-item:nth-child(2) .adb-topic-rail-icon { color: #e54f72; }
.adb-topic-rail-item:nth-child(3) .adb-topic-rail-icon { color: #078c78; }
.adb-topic-rail-item:nth-child(4) .adb-topic-rail-icon { color: #7750e8; }
.adb-topic-rail-kicker { display: block; color: #52627a; font-size: 9px; font-weight: 800; letter-spacing: .5px; }
.adb-topic-rail-title { display: block; margin-top: 1px; color: #1b2537; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; }
.adb-topic-rail-description { display: block; margin-top: 3px; color: #5b6a82; font-size: 10px; line-height: 1.35; }
.adb-topic-rail-item:hover .adb-topic-rail-title { color: var(--adb-blue); }

/* Main content + sidebar */
.adb-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 306px; gap: 24px; align-items: start; }
.adb-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin: 0 0 19px; }
.adb-section-kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 5px; color: #2751de; font-size: 10px; font-weight: 850; letter-spacing: .75px; text-transform: uppercase; }
.adb-section-kicker::before { width: 8px; height: 8px; border-radius: 50%; background: var(--adb-blue); content: ""; }
.adb-section-heading h2 { margin: 0; color: #111827; font-size: clamp(26px, 2.5vw, 34px); font-weight: 850; letter-spacing: -.95px; line-height: 1.2; }
.adb-section-subtitle { margin: 6px 0 0; color: #52627a; font-size: 13px; }
.adb-view-all { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; margin-bottom: 4px; color: var(--adb-blue); font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.adb-view-all:hover { color: var(--adb-blue-dark); text-decoration: underline; }
.adb-article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.adb-article-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid #edf0f6; border-radius: 13px; background: #fff; box-shadow: 0 6px 18px rgba(31, 51, 91, .035); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.adb-article-card:hover { transform: translateY(-3px); border-color: #dbe4ff; box-shadow: 0 13px 30px rgba(31, 51, 91, .085); }
.adb-card-image-link { display: block; aspect-ratio: 1.72 / 1; overflow: hidden; background: #111827; text-decoration: none; }
.adb-card-image-link img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.adb-article-card:hover .adb-card-image-link img { transform: scale(1.035); }
.adb-art-fallback { position: relative; isolation: isolate; width: 100%; height: 100%; overflow: hidden; display: flex; align-items: center; justify-content: space-between; padding: 17px; color: #f8fafc; background: radial-gradient(circle at 90% 5%, rgba(69, 101, 255, .32), transparent 36%), linear-gradient(140deg, #111827, #071b2c 70%, #071c27); }
.adb-art-fallback::before { position: absolute; z-index: -1; right: -25px; bottom: -42px; width: 155px; height: 155px; border: 1px solid rgba(92, 151, 255, .32); border-radius: 50%; box-shadow: 0 0 0 18px rgba(92,151,255,.045), 0 0 0 38px rgba(92,151,255,.03); content: ""; }
.adb-art-fallback .adb-art-kicker { position: absolute; top: 12px; left: 13px; padding: 4px 8px; border: 1px solid rgba(148,163,184,.28); border-radius: 999px; color: #b8ccff; background: rgba(15,23,42,.65); font-size: 9px; font-weight: 750; }
.adb-art-code { margin-top: 24px; color: #9fc6ff; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: clamp(9px, .9vw, 13px); line-height: 1.8; white-space: pre; }
.adb-art-code span { color: #60e4b3; }
.adb-art-logo { position: relative; z-index: 1; display: grid; width: 56px; height: 56px; place-items: center; flex: 0 0 auto; border: 1px solid rgba(137,170,255,.3); border-radius: 15px; color: #8fb3ff; background: linear-gradient(145deg, rgba(41,73,145,.62), rgba(17,24,39,.85)); box-shadow: 0 9px 22px rgba(0,0,0,.22); font-size: 23px; font-weight: 800; }
.adb-art-fallback.art-n8n { background: radial-gradient(circle at 88% 15%, rgba(255, 61, 115, .22), transparent 30%), linear-gradient(145deg, #0c1829, #10182a 55%, #101f37); }
.adb-art-fallback.art-n8n .adb-art-logo { color: #ff597c; border-color: rgba(255,89,124,.35); }
.adb-art-fallback.art-ai, .adb-art-fallback.art-ai-tools, .adb-art-fallback.art-ai-llms { background: radial-gradient(circle at 82% 20%, rgba(113,93,255,.34), transparent 32%), linear-gradient(145deg, #0c1227, #121631 60%, #181e42); }
.adb-art-flow { display: flex; align-items: center; gap: 5px; color: #a8baff; font-size: 9px; font-weight: 750; }
.adb-art-flow b { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid rgba(135,160,255,.35); border-radius: 7px; background: rgba(42,64,112,.6); color: #b9d5ff; font-size: 12px; }
.adb-art-flow i { color: #38bdf8; font-style: normal; }
.adb-card-body { display: flex; flex: 1; flex-direction: column; padding: 14px 16px 16px; }
.adb-card-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; color: #475569; font-size: 11px; }
.adb-card-category { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; color: #1e40af; background: #eff6ff; font-size: 11px; font-weight: 700; text-decoration: none; border: 1px solid #dbeafe; }
.adb-card-title { margin: 0 0 9px; color: #0f172a; font-size: 16px; font-weight: 750; line-height: 1.4; }
.adb-card-title a { color: inherit; text-decoration: none; }
.adb-card-title a:hover { color: var(--adb-blue); }
.adb-card-excerpt { display: -webkit-box; overflow: hidden; margin: 0 0 14px; color: #334155; font-size: 13px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.adb-card-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: auto; padding-top: 4px; color: #475569; font-size: 11px; }
.adb-card-author { display: inline-flex; align-items: center; gap: 6px; color: #0f172a; font-weight: 650; }
.adb-card-author img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.adb-card-footer .adb-meta-separator { width: 3px; height: 3px; border-radius: 50%; background: #94a3b8; }
.adb-read-more { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 12px; color: var(--adb-blue); font-size: 12px; font-weight: 750; text-decoration: none; }
.adb-read-more:hover { gap: 9px; }
.adb-empty-state { grid-column: 1 / -1; padding: 34px; border: 1px dashed #ccd6e6; border-radius: 14px; background: #fff; text-align: center; }
.adb-empty-state h3 { margin: 0 0 5px; color: var(--adb-ink); font-size: 18px; }
.adb-empty-state p { margin: 0; color: var(--adb-muted); font-size: 13px; }

/* Sidebar */
.adb-sidebar { display: grid; gap: 17px; }
.adb-widget { padding: 20px; border: 1px solid #e8edf4; border-radius: 15px; background: #fff; box-shadow: 0 5px 20px rgba(31, 51, 91, .03); }
.adb-widget h2 { margin: 0 0 16px; color: #0f172a; font-size: 18px; font-weight: 800; line-height: 1.3; }
.adb-about-person { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.adb-about-avatar { width: 56px; height: 56px; display: inline-grid; flex: 0 0 auto; place-items: center; overflow: hidden; border: 1px solid #e2e8f0; border-radius: 50%; color: #2457f5; background: #eef2ff; font-size: 20px; font-weight: 800; }
.adb-about-avatar img { width: 100%; height: 100%; object-fit: cover; }
.adb-about-details { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.adb-about-name { display: block; margin: 0; color: #0f172a; font-size: 15px; font-weight: 750; line-height: 1.3; }
.adb-about-role { display: block; margin: 0; color: #475569; font-size: 12px; line-height: 1.4; }
.adb-about-copy { margin: 0 0 15px; color: #334155; font-size: 13px; line-height: 1.65; }
.adb-about-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 0 16px; border-radius: 9px; color: #fff; background: var(--adb-blue); font-size: 12px; font-weight: 750; text-decoration: none; }
.adb-about-button:hover { color: #fff; background: var(--adb-blue-dark); }
.adb-popular-list { list-style: none; margin: 0; padding: 0; }
.adb-popular-list li + li { border-top: 1px solid #edf0f5; }
.adb-popular-link { display: grid; grid-template-columns: 33px 1fr auto; align-items: center; gap: 10px; padding: 8px 0; color: #253045; text-decoration: none; }
.adb-popular-icon { width: 31px; height: 31px; display: inline-grid; place-items: center; border-radius: 9px; color: #2457f5; background: #edf2ff; font-size: 14px; font-weight: 800; }
.adb-popular-list li:nth-child(2) .adb-popular-icon { color: #e74168; background: #fff0f3; }
.adb-popular-list li:nth-child(3) .adb-popular-icon { color: #078c60; background: #e5f9ee; }
.adb-popular-list li:nth-child(4) .adb-popular-icon { color: #6f4ae8; background: #f0ecff; }
.adb-popular-list li:nth-child(5) .adb-popular-icon { color: #0788c8; background: #e5f6ff; }
.adb-popular-name { font-size: 11px; font-weight: 700; }
.adb-popular-count { min-width: 25px; padding: 2px 5px; border-radius: 5px; color: #5b6a82; background: #f1f4f8; font-size: 9px; text-align: center; }
.adb-popular-link:hover .adb-popular-name { color: var(--adb-blue); }
.adb-rss-note { margin-top: 15px; padding: 13px 14px; border: 1px solid #e5eaff; border-radius: 11px; background: #f7f8ff; }
.adb-rss-note strong { display: block; margin-bottom: 4px; color: #1a2540; font-size: 11px; }
.adb-rss-note p { margin: 0 0 8px; color: #5b6a82; font-size: 10px; line-height: 1.5; }
.adb-rss-note a { color: var(--adb-blue); font-size: 10px; font-weight: 800; text-decoration: none; }

/* Theme toggle */
body.adb-dark-mode.home { color: #dbe4f4; background: #0b1020; }
body.adb-dark-mode.home #page.grid-container { background: #0b1020; }
body.adb-dark-mode.home .adb-header { border-color: #202b41; background: rgba(13, 20, 37, .97); }
body.adb-dark-mode.home .adb-brand, body.adb-dark-mode.home .adb-nav a, body.adb-dark-mode.home .adb-icon-button { color: #e7ecf7; }
body.adb-dark-mode.home .adb-search { border-color: #293650; background: #111a2e; }
body.adb-dark-mode.home .adb-search input[type="search"] { color: #e7ecf7; }
body.adb-dark-mode.home .adb-icon-button { border-color: #293650; background: #111a2e; }
body.adb-dark-mode.home .adb-hero { border-color: #273453; background: linear-gradient(112deg, #111b31 0%, #17213e 60%, #202750 100%); }
body.adb-dark-mode.home .adb-hero h1, body.adb-dark-mode.home .adb-section-heading h2, body.adb-dark-mode.home .adb-widget h2, body.adb-dark-mode.home .adb-about-name, body.adb-dark-mode.home .adb-card-title { color: #eff4ff; }
body.adb-dark-mode.home .adb-hero-description, body.adb-dark-mode.home .adb-section-subtitle, body.adb-dark-mode.home .adb-about-copy { color: #aab7cd; }
body.adb-dark-mode.home .adb-topic-rail, body.adb-dark-mode.home .adb-article-card, body.adb-dark-mode.home .adb-widget, body.adb-dark-mode.home .adb-empty-state { border-color: #27334b; background: #111a2e; }
body.adb-dark-mode.home .adb-topic-rail-item + .adb-topic-rail-item, body.adb-dark-mode.home .adb-popular-list li + li { border-color: #27334b; }
body.adb-dark-mode.home .adb-topic-rail-title, body.adb-dark-mode.home .adb-popular-link, body.adb-dark-mode.home .adb-card-author { color: #dce5f5; }
body.adb-dark-mode.home .adb-card-excerpt, body.adb-dark-mode.home .adb-card-footer, body.adb-dark-mode.home .adb-card-meta, body.adb-dark-mode.home .adb-popular-count { color: #9eacc3; }
body.adb-dark-mode.home .adb-popular-count, body.adb-dark-mode.home .adb-rss-note { background: #18233b; border-color: #273453; }
body.adb-dark-mode.home .adb-rss-note strong { color: #e7ecf7; }
body.adb-dark-mode.home .adb-button-secondary { color: #e7ecf7; background: #111a2e; border-color: #293650; }
body.adb-dark-mode.home .adb-about-role { color: #9eacc3; }

/* General WordPress footer refinement */
.site-footer { border-top: 1px solid #e8edf5; background: #fff; color: #778399; font-size: 12px; }
.site-footer a { color: #4b5d7a; }

/* Responsive layout */
@media (max-width: 1180px) {
  .adb-header-inner { grid-template-columns: 205px minmax(0, 1fr) auto; gap: 12px; padding-right: 20px; padding-left: 20px; }
  .adb-brand-name { font-size: 21px; }
  .adb-nav { gap: 10px; }
  .adb-nav a { font-size: 12px; }
  .adb-search { width: 160px; }
  .adb-home-wrap { padding-right: 24px; padding-left: 24px; }
  .adb-hero { grid-template-columns: minmax(340px, .95fr) minmax(0, 1.05fr); }
  .adb-hero-copy { padding-left: 30px; }
  .adb-hero h1 { font-size: 45px; }
  .adb-content-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 19px; }
  .adb-card-body { padding: 12px; }
  .adb-card-title { font-size: 14px; }
}
@media (max-width: 960px) {
  .adb-header-inner { grid-template-columns: 1fr auto; min-height: 70px; }
  .adb-nav { display: none; position: absolute; top: 100%; right: 20px; left: 20px; z-index: 25; padding: 10px 15px; flex-direction: column; align-items: stretch; gap: 2px; border: 1px solid #e3e9f3; border-radius: 13px; background: #fff; box-shadow: 0 18px 45px rgba(20,35,70,.14); }
  .adb-nav.is-open { display: flex; }
  .adb-nav a { padding: 11px 8px; }
  .adb-nav a[aria-current="page"]::after { right: 8px; left: auto; width: 3px; height: 18px; bottom: 10px; }
  .adb-header-actions { gap: 8px; }
  .adb-menu-toggle { display: inline-grid; }
  .adb-search { width: min(31vw, 235px); }
  .adb-hero { min-height: unset; grid-template-columns: 1fr 1fr; }
  .adb-hero-copy { padding: 30px 0 28px 25px; }
  .adb-hero h1 { font-size: clamp(34px, 4.8vw, 43px); letter-spacing: -1.5px; }
  .adb-hero-description { font-size: 13px; }
  .adb-hero-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .adb-topic-rail-item { padding: 14px 12px; gap: 9px; }
  .adb-topic-rail-description { display: none; }
  .adb-content-grid { grid-template-columns: 1fr; }
  .adb-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adb-rss-note { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .adb-header-inner { padding: 10px 15px; gap: 10px; min-height: 66px; }
  .adb-brand-mark { width: 34px; height: 34px; }
  .adb-brand-mark svg { width: 34px; height: 34px; }
  .adb-brand-name { font-size: 19px; }
  .adb-brand-tagline { font-size: 9px; }
  .adb-header-actions { gap: 6px; }
  .adb-search { display: none; }
  .adb-icon-button, .adb-menu-toggle { width: 36px; height: 36px; }
  .adb-subscribe { min-height: 36px; padding: 0 10px; gap: 6px; font-size: 10px; }
  .adb-subscribe svg { display: none; }
  .adb-home-wrap { padding: 14px 13px 25px; }
  .adb-hero { display: flex; flex-direction: column; align-items: stretch; border-radius: 12px; }
  .adb-hero-copy { padding: 23px 19px 0; }
  .adb-eyebrow { margin-bottom: 11px; font-size: 9px; }
  .adb-hero h1 { max-width: 460px; font-size: clamp(34px, 10vw, 47px); letter-spacing: -1.4px; }
  .adb-hero-description { margin-bottom: 16px; font-size: 13px; }
  .adb-hero-buttons { gap: 8px; margin-bottom: 21px; }
  .adb-button-primary, .adb-button-secondary { min-height: 40px; padding: 0 13px; font-size: 11px; }
  .adb-hero-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 8px; padding-bottom: 17px; }
  .adb-topic-icon { width: 32px; height: 32px; font-size: 14px; }
  .adb-topic-label { font-size: 10px; }
  .adb-topic-sub { font-size: 9px; }
  .adb-hero-art { padding: 0 8px 12px; }
  .adb-hero-art img { max-height: 255px; }
  .adb-topic-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 13px 0 25px; }
  .adb-topic-rail-item { padding: 13px 11px; }
  .adb-topic-rail-item:nth-child(3) { border-left: 0; border-top: 1px solid #e6ebf3; }
  .adb-topic-rail-item:nth-child(4) { border-top: 1px solid #e6ebf3; }
  .adb-topic-rail-title { font-size: 9px; }
  .adb-topic-rail-kicker { font-size: 8px; }
  .adb-topic-rail-icon svg { width: 23px; height: 23px; }
  .adb-section-heading { align-items: flex-start; gap: 10px; margin-bottom: 14px; }
  .adb-section-heading h2 { font-size: 25px; }
  .adb-section-subtitle { max-width: 310px; font-size: 11px; }
  .adb-view-all { margin-top: 22px; font-size: 10px; }
  .adb-article-grid { grid-template-columns: 1fr; gap: 13px; }
  .adb-article-card { display: grid; grid-template-columns: 39% minmax(0,1fr); align-items: stretch; }
  .adb-card-image-link { height: 100%; min-height: 180px; aspect-ratio: auto; }
  .adb-card-body { padding: 12px; }
  .adb-card-meta { margin-bottom: 6px; font-size: 9px; }
  .adb-card-title { margin-bottom: 6px; font-size: 13px; }
  .adb-card-excerpt { margin-bottom: 7px; font-size: 10px; -webkit-line-clamp: 3; }
  .adb-card-footer { gap: 6px; font-size: 8px; }
  .adb-card-author img { width: 17px; height: 17px; }
  .adb-read-more { margin-top: 8px; font-size: 10px; }
  .adb-sidebar { grid-template-columns: 1fr; margin-top: 2px; }
  .adb-widget { padding: 17px; }
  .adb-widget h2 { font-size: 17px; }
}
@media (max-width: 390px) {
  .adb-card-image-link { min-height: 205px; }
  .adb-article-card { grid-template-columns: 36% minmax(0,1fr); }
  .adb-card-body { padding: 10px; }
  .adb-card-title { font-size: 12px; }
  .adb-card-excerpt { font-size: 9.5px; }
  .adb-card-footer { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* Added homepage sections: category chips, featured article, newsletter, popular articles, social media. */
.adb-category-chips { display:flex; align-items:center; gap:9px; overflow-x:auto; padding:0 0 6px; margin:0 0 23px; scrollbar-width:thin; }
.adb-category-chip { display:inline-flex; flex:0 0 auto; align-items:center; gap:7px; min-height:39px; padding:0 14px; border:1px solid #e6eaf1; border-radius:999px; color:#263248; background:#f7f8fb; font-size:11px; font-weight:700; text-decoration:none; transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease; }
.adb-category-chip:hover { color:var(--adb-blue); border-color:#cdd8ff; background:#fff; transform:translateY(-1px); }
.adb-category-chip.is-active { color:#fff; border-color:#202938; background:#202938; }
.adb-category-chip-icon { display:inline-grid; place-items:center; min-width:17px; font-size:14px; }
.adb-category-chip:nth-child(3) .adb-category-chip-icon { color:#f04468; }
.adb-category-chip:nth-child(4) .adb-category-chip-icon { color:#4c53f6; }
.adb-category-chip:nth-child(5) .adb-category-chip-icon { color:#8045dc; }
.adb-category-chip:nth-child(6) .adb-category-chip-icon { color:#1593d0; }
.adb-category-chip:nth-child(7) .adb-category-chip-icon { color:#6249e7; }
.adb-category-chip:nth-child(8) .adb-category-chip-icon { color:#dc9a00; }
.adb-home-feed-layout,
.adb-featured-layout { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:26px; align-items:start; margin:0 0 36px; }
.adb-feed-main-col,
.adb-featured-main { min-width:0; display:flex; flex-direction:column; gap:36px; }
.adb-featured-heading { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:0 0 12px; padding:0 1px 10px; border-bottom:1px solid #e7ebf2; }
.adb-featured-heading h2 { display:flex; align-items:center; gap:9px; margin:0; color:#141c2b; font-size:21px; font-weight:850; line-height:1.25; letter-spacing:-.5px; }
.adb-featured-heading h2 span { color:#f6b91a; font-size:23px; }
.adb-featured-heading .adb-view-all { margin:0; white-space:nowrap; }
.adb-featured-card { display:grid; grid-template-columns:minmax(210px,.86fr) minmax(0,1fr); gap:20px; align-items:stretch; padding:12px; border:1px solid #e5eaf2; border-radius:13px; background:#fff; box-shadow:0 4px 15px rgba(31,51,91,.025); }
.adb-featured-image { display:block; min-width:0; min-height:210px; overflow:hidden; border-radius:10px; background:#111c2b; aspect-ratio:1.12 / 1; }
.adb-featured-image > img { display:block; width:100%; height:100%; min-height:210px; object-fit:cover; }
.adb-featured-art-fallback { display:flex; width:100%; height:100%; min-height:210px; flex-direction:column; align-items:center; justify-content:center; gap:23px; padding:18px; color:#f4f7ff; background:radial-gradient(circle at 84% 12%,rgba(93,63,204,.55),transparent 39%),radial-gradient(circle at 3% 100%,rgba(0,159,151,.55),transparent 42%),linear-gradient(135deg,#0a1322,#13182f 70%,#10263a); }
.adb-featured-art-label { color:#b9c6e1; font-size:9px; font-weight:800; letter-spacing:1.5px; }
.adb-featured-art-nodes { display:flex; align-items:center; justify-content:center; gap:7px; width:100%; }
.adb-featured-art-nodes b { display:grid; place-items:center; min-height:35px; flex:1; padding:5px 3px; border:1px solid rgba(144,169,255,.45); border-radius:8px; color:#f6f8ff; background:rgba(29,47,80,.85); font-size:11px; }
.adb-featured-art-nodes i { color:#4fe0d2; font-size:16px; font-style:normal; }
.adb-featured-art-caption { color:#6ce4c7; font-size:10px; font-weight:650; }
.adb-featured-copy { display:flex; min-width:0; flex-direction:column; align-items:flex-start; padding:5px 2px 3px 0; }
.adb-featured-meta { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:0 0 9px; color:#52627a; font-size:10px; }
.adb-featured-meta > a,.adb-featured-meta > span:first-child { padding:3px 8px; border-radius:999px; color:#2757ec; background:#edf2ff; font-size:9px; font-weight:800; letter-spacing:.2px; text-decoration:none; }
.adb-featured-meta .adb-featured-reading { color:#52627a; background:transparent; font-size:10px; font-weight:500; }
.adb-featured-copy h3 { margin:0 0 8px; color:#151d2c; font-size:20px; font-weight:850; line-height:1.28; letter-spacing:-.45px; }
.adb-featured-copy h3 a { color:inherit; text-decoration:none; }
.adb-featured-copy h3 a:hover { color:var(--adb-blue); }
.adb-featured-copy > p { display:-webkit-box; overflow:hidden; margin:0 0 10px; color:#59677f; font-size:12px; line-height:1.55; -webkit-box-orient:vertical; -webkit-line-clamp:4; }
.adb-featured-byline { display:flex; align-items:center; flex-wrap:wrap; gap:7px; margin-top:auto; color:#5b6a82; font-size:10px; }
.adb-featured-avatar { width:26px; height:26px; border-radius:50%; object-fit:cover; }
.adb-featured-byline strong { color:#263248; font-size:10px; }
.adb-featured-read-more { display:inline-flex; align-items:center; gap:6px; margin-top:10px; padding-bottom:2px; border-bottom:1px solid #b6c8ff; color:var(--adb-blue); font-size:11px; font-weight:800; text-decoration:none; }
.adb-feed-sidebar,
.adb-featured-sidebar { display:flex; flex-direction:column; gap:20px; min-width:0; }
.adb-newsletter-widget { padding:20px; border:1px solid #dbeafe; border-radius:14px; background:linear-gradient(135deg,#f8faff,#eef2ff); }
.adb-newsletter-title-row { display:flex; align-items:center; gap:11px; margin-bottom:9px; }
.adb-newsletter-icon { display:grid; width:40px; height:40px; flex:0 0 auto; place-items:center; border-radius:12px; color:#2457f5; background:#dbeafe; }
.adb-newsletter-title-row h2 { margin:0; color:#0f172a; font-size:16px; font-weight:750; line-height:1.25; }
.adb-newsletter-widget > p { margin:0 0 13px; color:#475569; font-size:13px; line-height:1.55; }
.adb-newsletter-form { display:flex; flex-direction:column; gap:8px; margin:0 0 9px; }
.adb-newsletter-input-group { display:flex; gap:8px; }
.adb-newsletter-input-group input[type="email"] { flex:1; min-width:0; min-height:40px; border:1px solid #cbd5e1; border-radius:8px; background:#fff; padding:8px 12px; color:#0f172a; font-size:12.5px; outline:none; }
.adb-newsletter-input-group input[type="email"]:focus { border-color:var(--adb-blue); }
.adb-newsletter-submit-btn { display:inline-flex; align-items:center; justify-content:center; min-height:40px; padding:0 16px; border:0; border-radius:8px; color:#fff; background:var(--adb-blue); font-size:12px; font-weight:750; cursor:pointer; white-space:nowrap; transition:background .18s ease; }
.adb-newsletter-submit-btn:hover { background:var(--adb-blue-dark); }
.adb-newsletter-feedback { font-size:12px; line-height:1.4; }
.adb-newsletter-feedback.is-success { color:#047857; font-weight:600; padding:4px 0; }
.adb-newsletter-feedback.is-error { color:#b91c1c; font-weight:600; padding:4px 0; }
.adb-rss-subtle-link { color:#334155; text-decoration:none; font-weight:600; }
.adb-rss-subtle-link:hover { color:var(--adb-blue); text-decoration:underline; }
.adb-newsletter-widget > small { display:block; margin-top:8px; color:#475569; font-size:11px; line-height:1.45; }
.adb-popular-widget { padding:20px; border:1px solid #e2e8f0; border-radius:14px; background:#fff; box-shadow:0 4px 16px rgba(15,23,42,.03); }
.adb-popular-widget h2 { display:flex; align-items:center; gap:8px; margin:0 0 10px; padding-bottom:11px; border-bottom:1px solid #f1f5f9; color:#0f172a; font-size:17px; font-weight:750; }
.adb-popular-widget h2 span { font-size:18px; }
.adb-popular-articles-list { margin:0; padding:0; list-style:none; }
.adb-popular-articles-list li + li { border-top:1px solid #f1f5f9; }
.adb-popular-article-link { display:grid; grid-template-columns:62px minmax(0,1fr); align-items:center; gap:12px; padding:10px 0; color:#1e293b; text-decoration:none; }
.adb-popular-article-thumb { display:block; width:62px; height:50px; overflow:hidden; border-radius:8px; background:#0f172a; }
.adb-popular-article-thumb img { display:block; width:100%; height:100%; object-fit:cover; }
.adb-popular-thumb-fallback { display:grid; width:100%; height:100%; place-items:center; color:#93c5fd; background:linear-gradient(140deg,#0f172a,#1e3a8a); }
.adb-popular-thumb-fallback b { display:grid; width:28px; height:28px; place-items:center; border:1px solid rgba(147,197,253,.35); border-radius:7px; font-size:12px; }
.adb-popular-article-copy { display:flex; min-width:0; flex-direction:column; gap:4px; }
.adb-popular-article-copy strong { display:-webkit-box; overflow:hidden; color:#0f172a; font-size:13px; font-weight:700; line-height:1.4; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.adb-popular-article-link:hover .adb-popular-article-copy strong { color:var(--adb-blue); }
.adb-popular-article-copy small { color:#475569; font-size:11px; font-weight:500; }
.adb-no-popular { margin:0; color:#475569; font-size:12px; }
.adb-social-widget > p { margin:-5px 0 13px; color:#475569; font-size:11px; line-height:1.5; font-weight:500; }
.adb-social-links { display:flex; flex-wrap:wrap; gap:8px; }
.adb-social-link { display:inline-flex; align-items:center; gap:7px; min-height:35px; padding:0 10px; border:1px solid #cbd5e1; border-radius:9px; color:#1e293b; background:#fbfcfe; font-size:10px; font-weight:750; text-decoration:none; transition:color .18s ease,border-color .18s ease,background .18s ease; }
.adb-social-link:hover { border-color:#cdd8ff; color:var(--adb-blue); background:#f4f6ff; }
.adb-social-link svg { flex:0 0 auto; }
body.adb-dark-mode.home .adb-category-chip { border-color:#293650; color:#dbe4f4; background:#111a2e; }
body.adb-dark-mode.home .adb-category-chip.is-active { border-color:#4771ff; color:#fff; background:#2457f5; }
body.adb-dark-mode.home .adb-featured-heading { border-color:#27334b; }
body.adb-dark-mode.home .adb-featured-heading h2,body.adb-dark-mode.home .adb-featured-copy h3,body.adb-dark-mode.home .adb-newsletter-title-row h2,body.adb-dark-mode.home .adb-popular-widget h2,body.adb-dark-mode.home .adb-popular-article-copy strong { color:#eff4ff; }
body.adb-dark-mode.home .adb-featured-card,body.adb-dark-mode.home .adb-popular-widget { border-color:#27334b; background:#111a2e; }
body.adb-dark-mode.home .adb-featured-copy > p,body.adb-dark-mode.home .adb-featured-byline,body.adb-dark-mode.home .adb-featured-byline strong,body.adb-dark-mode.home .adb-popular-article-copy small { color:#aab7cd; }
body.adb-dark-mode.home .adb-newsletter-widget { border-color:#293650; background:linear-gradient(135deg,#151f36,#1b2544); }
body.adb-dark-mode.home .adb-newsletter-widget > p,body.adb-dark-mode.home .adb-newsletter-widget > small,body.adb-dark-mode.home .adb-newsletter-note,body.adb-dark-mode.home .adb-social-widget > p { color:#aab7cd !important; }
body.adb-dark-mode.home .adb-newsletter-form input[type="email"],
body.adb-dark-mode.home .adb-newsletter-mock-form input[type="email"] { border-color:#293650; background:#111a2e; color:#eff4ff; }
body.adb-dark-mode.home .adb-popular-widget h2,body.adb-dark-mode.home .adb-popular-articles-list li + li { border-color:#27334b; }
body.adb-dark-mode.home .adb-social-link { border-color:#293650; color:#dbe4f4; background:#111a2e; }
@media (max-width: 960px) {
  .adb-home-feed-layout, .adb-featured-layout { grid-template-columns:1fr; gap:24px; }
  .adb-featured-card { grid-template-columns:1fr; gap:14px; }
  .adb-featured-image,.adb-featured-image > img,.adb-featured-art-fallback { min-height:190px; }
  .adb-featured-copy h3 { font-size:18px; }
  .adb-feed-sidebar, .adb-featured-sidebar { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:20px; }
}
@media (max-width: 720px) {
  .adb-category-chips { margin-bottom:19px; padding-bottom:8px; }
  .adb-category-chip { min-height:36px; padding:0 12px; font-size:10px; }
  .adb-home-feed-layout, .adb-featured-layout { grid-template-columns:1fr; gap:20px; margin-bottom:26px; }
  .adb-featured-card { grid-template-columns:1fr; gap:13px; padding:12px; }
  .adb-featured-image,.adb-featured-image > img,.adb-featured-art-fallback { min-height:180px; height:auto; }
  .adb-featured-copy { padding-top:3px; }
  .adb-featured-copy h3 { font-size:16px; }
  .adb-featured-copy > p { font-size:11px; -webkit-line-clamp:3; }
  .adb-feed-sidebar, .adb-featured-sidebar { grid-template-columns:1fr; }
}
@media (max-width: 460px) {
  .adb-featured-card { grid-template-columns:1fr; }
  .adb-featured-image,.adb-featured-image > img,.adb-featured-art-fallback { min-height:190px; max-height:240px; }
  .adb-featured-copy h3 { font-size:18px; }
  .adb-featured-heading h2 { font-size:19px; }
  .adb-featured-heading .adb-view-all { font-size:10px; }
  .adb-popular-article-link { grid-template-columns:64px minmax(0,1fr); }
  .adb-popular-article-thumb { width:64px; height:50px; }
}

/* ===============================================================
   Single article reading experience — AutoDevBlog v1.2
   Scoped to single posts; homepage layout remains unchanged.
   =============================================================== */
body.single-post {
  color: #1e293b;
  background: #f8fafc;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}
body.single-post #page.grid-container { max-width: none; padding: 0 !important; background: #f8faff; }
body.single-post .site-header,
body.single-post .main-navigation { display: none !important; }
body.single-post .site-content { display: block; max-width: none; margin: 0 !important; padding: 0 !important; background: transparent; }
body.single-post .content-area.adb-single-area { float: none; width: 100%; margin: 0; }
body.single-post .site-main.adb-single { margin: 0; padding: 0; }
body.single-post .inside-article,
body.single-post .comments-area { padding: 0; border: 0; background: transparent; box-shadow: none; }
body.single-post .entry-header { display: none; }
.adb-single-header { position: relative; z-index: 30; }
.adb-single-header .adb-header-inner { max-width: 1360px; }
.adb-single-wrap { max-width: 1290px; margin: 0 auto; padding: 18px 26px 58px; }
.adb-breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 0 0 15px; color: #5b6a82; font-size: 11px; line-height: 1.5; }
.adb-breadcrumbs a { color: #2457f5; font-weight: 700; text-decoration: none; }
.adb-breadcrumbs a:hover { text-decoration: underline; }
.adb-breadcrumbs > span[aria-current="page"] { overflow: hidden; max-width: 480px; text-overflow: ellipsis; white-space: nowrap; }
.adb-single-grid { display: grid; grid-template-columns: minmax(0, 1fr) 344px; gap: 17px; align-items: start; }
.adb-article-panel { min-width: 0; padding: 22px 22px 25px !important; border: 1px solid #e9edf6 !important; border-radius: 16px; background: #fff !important; box-shadow: 0 8px 28px rgba(31, 54, 96, .035); }
.adb-article-header { margin: 0 0 18px; }
.adb-article-tax-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 12px; }
.adb-article-taxonomies { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; min-width: 0; }
.adb-article-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 11px; border: 1px solid #e7ecf5; border-radius: 999px; color: #2856de; background: #f2f5ff; font-size: 10px; font-weight: 800; line-height: 1.3; text-decoration: none; }
.adb-article-chip:hover { border-color: #cbd7ff; color: #1745d8; background: #e9efff; }
.adb-article-chip-muted { color: #53627c; background: #f7f9fc; font-weight: 650; }
.adb-article-updated { flex: 0 0 auto; color: #5b6a82; font-size: 10px; white-space: nowrap; }
.adb-article-title { margin: 0 0 12px !important; color: #101a2d !important; font-size: clamp(23px, 2.3vw, 32px) !important; font-weight: 750 !important; line-height: 1.25 !important; letter-spacing: -.6px; }
.adb-article-deck { margin: 0 0 16px; color: #586983; font-size: 14px; line-height: 1.6; }
.adb-article-meta-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.adb-article-byline { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #62718a; font-size: 11px; }
.adb-article-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.adb-article-byline strong { color: #17243a; font-weight: 800; }
.adb-meta-separator { color: #bcc5d4; }
.adb-reading-time { display: inline-flex; align-items: center; gap: 5px; }
.adb-reading-time svg { color: #71819b; }
.adb-article-share { display: flex; align-items: center; gap: 7px; color: #5b6a82; font-size: 10px; }
.adb-article-share > span { margin-right: 2px; }
.adb-article-share a,
.adb-share-copy { display: inline-grid; width: 29px; height: 29px; place-items: center; padding: 0; border: 1px solid #e7ebf4; border-radius: 8px; color: #2358dd; background: #f8faff; font-size: 13px; font-weight: 850; line-height: 1; text-decoration: none; cursor: pointer; }
.adb-article-share .adb-share-x { color: #111827; }
.adb-article-share .adb-share-facebook { color: #1877f2; font-family: Arial, sans-serif; font-size: 18px; }
.adb-article-share .adb-share-linkedin { color: #0a66c2; font-size: 11px; }
.adb-article-share a:hover,
.adb-share-copy:hover { border-color: #c8d5ff; background: #edf2ff; }
.adb-article-share .adb-share-copy { color: #5b6982; }
.adb-article-featured-media { margin: 18px 0 22px; }
.adb-article-featured-image { display: block; width: 100%; max-height: 450px; border: 1px solid #e7ebf5; border-radius: 13px; object-fit: cover; }
.adb-article-featured-media figcaption { padding: 7px 2px 0; color: #5b6a82; font-size: 10px; text-align: center; }
.adb-article-cover { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; min-height: 160px; margin: 16px 0 20px; padding: 18px 22px; overflow: hidden; border: 1px solid rgba(66, 112, 214, .35); border-radius: 12px; color: #eff5ff; background: radial-gradient(circle at 88% 6%, rgba(94, 66, 240, .75), transparent 36%), radial-gradient(circle at 1% 100%, rgba(13, 114, 234, .7), transparent 40%), linear-gradient(125deg, #071735, #092b70 60%, #101d4d); }
.adb-article-cover::after { position: absolute; right: -30px; bottom: -70px; width: 190px; height: 190px; border: 1px solid rgba(158, 192, 255, .18); border-radius: 50%; box-shadow: 0 0 0 14px rgba(158, 192, 255, .03), 0 0 0 32px rgba(158, 192, 255, .025); content: ""; }
.adb-cover-copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.adb-cover-eyebrow { color: #b8d1ff; font-size: 8.5px; font-weight: 750; letter-spacing: 1.3px; text-transform: uppercase; }
.adb-cover-copy > strong { max-width: 340px; color: #fff; font-size: clamp(16px, 1.6vw, 21px); font-weight: 700; line-height: 1.25; letter-spacing: -.4px; }
.adb-cover-footnote { color: #a8c1ef; font-size: 9.5px; }
.adb-cover-window { position: relative; z-index: 1; max-width: 310px; overflow: hidden; border: 1px solid rgba(150, 185, 255, .28); border-radius: 9px; background: rgba(8, 19, 39, .84); box-shadow: 0 10px 25px rgba(0, 0, 0, .2); transform: rotate(-1deg); }
.adb-cover-window-bar { display: flex; align-items: center; gap: 5px; min-height: 28px; padding: 0 10px; border-bottom: 1px solid rgba(150, 185, 255, .14); color: #9aaccd; font-size: 8.5px; }
.adb-cover-window-bar i { width: 6px; height: 6px; border-radius: 50%; background: #f87171; }
.adb-cover-window-bar i:nth-child(2) { background: #fbbf24; }
.adb-cover-window-bar i:nth-child(3) { background: #34d399; }
.adb-cover-window-bar span { margin-left: 6px; }
.adb-cover-code { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 7px 5px; padding: 12px 12px; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 9.5px; }
.adb-cover-code span { color: #647b9e; }
.adb-cover-code code { overflow: hidden; color: #a9ddff; font: inherit; text-overflow: ellipsis; white-space: nowrap; }
.adb-cover-code code:nth-of-type(2) { color: #f4c66a; }
.adb-cover-stamp { position: absolute; right: 10px; bottom: 8px; padding: 4px 6px; border: 1px solid rgba(50, 220, 185, .35); border-radius: 5px; color: #57e6c4; background: rgba(4, 50, 63, .85); font-size: 6.5px; font-weight: 800; line-height: 1.35; letter-spacing: .8px; }
.adb-article-content { color: #34435b; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.adb-article-content > *:first-child { margin-top: 0; }
.adb-article-content p { margin: 0 0 18px; }
.adb-article-content h2 { position: relative; margin: 28px 0 10px !important; padding-left: 14px; color: #111d33 !important; font-size: clamp(20px, 1.9vw, 24px) !important; font-weight: 750 !important; line-height: 1.28 !important; letter-spacing: -.45px; scroll-margin-top: 95px; }
.adb-article-content h2::before { position: absolute; top: .15em; bottom: .15em; left: 0; width: 3.5px; border-radius: 4px; background: #2457f5; content: ""; }
.adb-article-content h3 { margin: 22px 0 8px !important; color: #172640 !important; font-size: 18px !important; font-weight: 750 !important; line-height: 1.35 !important; scroll-margin-top: 95px; }
.adb-article-content h4 { margin: 20px 0 8px !important; color: #25354f !important; font-size: 17px !important; font-weight: 800 !important; }
.adb-article-content a { color: #2457e8; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.adb-article-content a:hover { color: #143dbb; }
.adb-article-content ul,
.adb-article-content ol { margin: 0 0 20px; padding-left: 27px; }
.adb-article-content li { margin: 4px 0; padding-left: 2px; }
.adb-article-content blockquote { margin: 22px 0; padding: 17px 19px; border: 1px solid #dbe5ff; border-left: 4px solid #2457f5; border-radius: 0 11px 11px 0; color: #31445f; background: #f3f6ff; font-style: normal; }
.adb-article-content blockquote p:last-child { margin-bottom: 0; }
.adb-article-content :not(pre) > code { padding: 2px 6px; border: 1px solid #ffe1e8; border-radius: 5px; color: #d12b56; background: #fff5f7; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .88em; }
.adb-code-block { margin: 22px 0 24px; overflow: hidden; border: 1px solid #27374e; border-radius: 11px; background: #101a2a; box-shadow: 0 8px 22px rgba(16, 26, 42, .09); }
.adb-code-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 39px; padding: 6px 10px 6px 14px; border-bottom: 1px solid #2b3b52; color: #e5edf9; background: #1b293d; }
.adb-code-toolbar-label { display: inline-flex; align-items: center; gap: 8px; color: #ecf2fc; font-size: 11px; font-weight: 800; }
.adb-code-language { color: #a8b8d0; font-size: 10px; font-weight: 650; }
.adb-copy-code { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 27px; padding: 0 9px; border: 1px solid #3b4b62; border-radius: 6px; color: #dce7f8; background: #24344a; font: inherit; font-size: 10px; font-weight: 750; cursor: pointer; }
.adb-copy-code:hover { border-color: #6688c6; background: #30435d; }
.adb-code-block pre,
.adb-article-content pre { max-width: 100%; margin: 0 !important; padding: 17px 16px !important; overflow: auto; border: 0 !important; border-radius: 0 !important; color: #dce9ff !important; background: #101a2a !important; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace !important; font-size: 12px !important; line-height: 1.75 !important; tab-size: 4; white-space: pre; }
.adb-code-block pre code,
.adb-article-content pre code { padding: 0 !important; border: 0 !important; color: inherit; background: transparent !important; font-family: inherit !important; font-size: inherit !important; white-space: pre; }
.adb-article-content figure { max-width: 100%; margin: 22px 0; }
.adb-article-content figure img,
.adb-article-content > img { display: block; max-width: 100%; height: auto; border-radius: 10px; }
.adb-article-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 13px; }
.adb-article-content th,
.adb-article-content td { padding: 9px 11px; border: 1px solid #e2e8f2; text-align: left; }
.adb-article-content th { background: #f2f5fb; color: #1e2b41; }
.adb-article-content hr { margin: 28px 0; border: 0; border-top: 1px solid #e7ebf3; }
.adb-article-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 27px 0 24px; padding-top: 17px; border-top: 1px solid #e8edf5; color: #5b6a82; font-size: 11px; }
.adb-article-tags strong { margin-right: 3px; color: #27364e; }
.adb-article-tags a { padding: 4px 9px; border: 1px solid #e5eaf4; border-radius: 999px; color: #4d5c75; background: #f9faff; text-decoration: none; }
.adb-author-card { display: flex; align-items: flex-start; gap: 16px; margin: 30px 0; padding: 20px; border: 1px solid #e5eaf3; border-radius: 13px; background: linear-gradient(120deg, #f9fbff, #f2f5ff); }
.adb-author-card-avatar { flex: 0 0 auto; width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.adb-author-card-kicker { color: #2457f5; font-size: 9px; font-weight: 850; letter-spacing: 1px; text-transform: uppercase; }
.adb-author-card h2 { margin: 2px 0 5px !important; color: #17233a; font-size: 17px !important; font-weight: 850 !important; }
.adb-author-card p { margin: 0 0 8px; color: #62718a; font-size: 12px; line-height: 1.65; }
.adb-author-card a { display: inline-flex; align-items: center; gap: 5px; color: #2457f5; font-size: 11px; font-weight: 800; text-decoration: none; }
.adb-related-articles { margin-top: 34px; padding-top: 22px; border-top: 1px solid #e7ebf3; }
.adb-related-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.adb-related-heading h2 { margin: 0 !important; color: #111d33; font-size: 22px !important; font-weight: 850 !important; }
.adb-related-heading > a { display: inline-flex; align-items: center; gap: 5px; color: #2457f5; font-size: 10px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.adb-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.adb-related-card { overflow: hidden; border: 1px solid #e7ebf3; border-radius: 10px; background: #fff; }
.adb-related-thumb { display: grid; height: 103px; overflow: hidden; place-items: center; color: #b8d2ff; background: linear-gradient(135deg, #111b2d, #153c8b); }
.adb-related-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.adb-related-thumb-fallback { display: grid; width: 100%; height: 100%; place-items: center; color: #a9c8ff; background: radial-gradient(circle at 90% 0, rgba(73, 83, 210, .55), transparent 50%), linear-gradient(140deg, #101929, #122e52); }
.adb-related-thumb-fallback b { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid rgba(174, 201, 255, .45); border-radius: 9px; font-size: 11px; }
.adb-related-card-body { padding: 11px; }
.adb-related-card-body > span { color: #5b6a82; font-size: 9px; }
.adb-related-card h3 { margin: 5px 0 0 !important; font-size: 12px !important; font-weight: 800 !important; line-height: 1.4 !important; }
.adb-related-card h3 a { color: #1b2940; text-decoration: none; }
.adb-related-card h3 a:hover { color: #2457f5; }
.adb-single-sidebar { display: grid; gap: 15px; min-width: 0; }
.adb-single-widget { min-width: 0; padding: 17px 18px; border: 1px solid #e7ecf5; border-radius: 14px; background: #fff; box-shadow: 0 6px 22px rgba(31, 54, 96, .035); }
.adb-single-widget h2 { margin: 0; color: #17233a; font-size: 15px; font-weight: 850; line-height: 1.35; }
.adb-single-widget-title { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; }
.adb-sidebar-index { display: inline-grid; width: 27px; height: 27px; flex: 0 0 auto; place-items: center; border-radius: 8px; color: #2457f5; background: #eaf0ff; font-size: 9px; font-weight: 900; }
.adb-toc-widget { position: relative; }
.adb-toc-nav ol { display: flex; flex-direction: column; gap: 3px; margin: 0; padding: 0; list-style: none; }
.adb-toc-nav li { margin: 0; padding: 0; }
.adb-toc-nav a { display: flex; align-items: flex-start; gap: 8px; padding: 7px 10px; border-left: 2.5px solid transparent; border-radius: 6px; color: #53637d; font-size: 11px; line-height: 1.4; text-decoration: none; transition: color .15s, background .15s; }
.adb-toc-nav a > span { flex: 0 0 25px; color: #5b6a82; font-size: 10px; font-weight: 750; }
.adb-toc-nav a:hover,
.adb-toc-nav a.is-active { border-left-color: #2457f5; color: #194be4; background: #eef2ff; }
.adb-toc-nav a.is-active > span { color: #2457f5; }
.adb-toc-level-3 a { padding-left: 20px; font-size: 10px; }
.adb-sidebar-note { margin: 0; color: #5b6a82; font-size: 11px; line-height: 1.6; }
.adb-single-newsletter { border-color: #dce5ff; background: linear-gradient(135deg, #f7f9ff, #edf2ff); }
.adb-single-newsletter-top { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 14px; }
.adb-single-newsletter-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border: 1px solid #d7e1ff; border-radius: 13px; color: #2457f5; background: #e4ebff; }
.adb-single-newsletter-top h2 { margin: 0 0 6px; font-size: 16px; }
.adb-single-newsletter-top p { margin: 0; color: #65738c; font-size: 11px; line-height: 1.55; }
.adb-single-newsletter small { display: block; margin-top: 10px; color: #5b6a82; font-size: 9px; line-height: 1.45; }
.adb-single-rss-button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 39px; padding: 0 12px; border: 1px solid #2457f5; border-radius: 9px; color: #fff; background: #2457f5; font-size: 11px; font-weight: 800; text-decoration: none; }
.adb-single-rss-button:hover { color: #fff; background: #1745d8; }
.adb-single-popular h2 { display: flex; align-items: center; gap: 7px; margin: 0 0 9px; padding-bottom: 11px; border-bottom: 1px solid #edf0f6; font-size: 16px; }
.adb-single-popular-list { margin: 0; padding: 0; list-style: none; }
.adb-single-popular-list li + li { border-top: 1px solid #edf0f6; }
.adb-single-popular-list li { margin: 0; }
.adb-single-popular-list a { display: grid; grid-template-columns: 67px minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 0; color: #233149; text-decoration: none; }
.adb-single-popular-thumb { display: grid; width: 67px; height: 53px; overflow: hidden; place-items: center; border-radius: 8px; color: #b7d0ff; background: linear-gradient(140deg, #101929, #173b80); }
.adb-single-popular-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.adb-single-popular-thumb b { font-size: 12px; }
.adb-single-popular-copy { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.adb-single-popular-copy strong { display: -webkit-box; overflow: hidden; color: #0f172a; font-size: 13px; font-weight: 700; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.adb-single-popular-list a:hover .adb-single-popular-copy strong { color: #2457f5; }
.adb-single-popular-copy small { color: #475569; font-size: 11px; font-weight: 500; }
.adb-single-social h2 { margin-bottom: 12px; }
.adb-single-social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.adb-single-social-links a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 37px; min-height: 36px; padding: 0 9px; border: 1px solid #e7ebf4; border-radius: 9px; color: #3c4b64; background: #fbfcff; font-size: 10px; font-weight: 750; text-decoration: none; }
.adb-single-social-links a:hover { border-color: #cbd7ff; color: #2457f5; background: #f1f4ff; }
.adb-single-social-links a span { display: none; }
body.single-post .site-footer { border-top: 1px solid #e6ebf4; background: #fff; }
body.single-post.adb-dark-mode { color: #d9e4f6; background: #0c1321; }
body.single-post.adb-dark-mode #page.grid-container { background: #0c1321; }
body.single-post.adb-dark-mode .adb-article-panel,
body.single-post.adb-dark-mode .adb-single-widget,
body.single-post.adb-dark-mode .adb-related-card { border-color: #26334a !important; background: #111b2d !important; }
body.single-post.adb-dark-mode .adb-article-title,
body.single-post.adb-dark-mode .adb-article-content h2,
body.single-post.adb-dark-mode .adb-article-content h3,
body.single-post.adb-dark-mode .adb-article-content h4,
body.single-post.adb-dark-mode .adb-author-card h2,
body.single-post.adb-dark-mode .adb-related-heading h2,
body.single-post.adb-dark-mode .adb-single-widget h2,
body.single-post.adb-dark-mode .adb-related-card h3 a { color: #eff4ff !important; }
body.single-post.adb-dark-mode .adb-article-deck,
body.single-post.adb-dark-mode .adb-article-content,
body.single-post.adb-dark-mode .adb-author-card p { color: #b6c3d8; }
body.single-post.adb-dark-mode .adb-article-chip { border-color: #2b3a55; color: #aec3ff; background: #192744; }
body.single-post.adb-dark-mode .adb-article-byline,
body.single-post.adb-dark-mode .adb-article-updated,
body.single-post.adb-dark-mode .adb-reading-time,
body.single-post.adb-dark-mode .adb-article-share { color: #9aabc4; }
body.single-post.adb-dark-mode .adb-single-newsletter { border-color: #293a61; background: linear-gradient(135deg, #17233d, #1b2947); }
body.single-post.adb-dark-mode .adb-single-newsletter-top p,
body.single-post.adb-dark-mode .adb-single-newsletter small,
body.single-post.adb-dark-mode .adb-single-popular-copy small { color: #a8b8d1; }
body.single-post.adb-dark-mode .adb-toc-nav a { color: #aab8cf; }
body.single-post.adb-dark-mode .adb-toc-nav a:hover,
body.single-post.adb-dark-mode .adb-toc-nav a.is-active { color: #a9c1ff; background: #1c2b4a; }
body.single-post.adb-dark-mode .adb-author-card { border-color: #2a3a54; background: linear-gradient(120deg, #151f32, #182440); }
body.single-post.adb-dark-mode .adb-author-card-kicker { color: #8eabff; }
body.single-post.adb-dark-mode .adb-article-tags,
body.single-post.adb-dark-mode .adb-related-articles { border-color: #29364c; }
body.single-post.adb-dark-mode .adb-article-tags strong { color: #dce6f7; }
body.single-post.adb-dark-mode .adb-article-tags a,
body.single-post.adb-dark-mode .adb-single-social-links a { border-color: #2b3a55; color: #cad7eb; background: #172238; }
body.single-post.adb-dark-mode .adb-single-popular h2,
body.single-post.adb-dark-mode .adb-single-popular-list li + li { border-color: #29364c; }
body.single-post.adb-dark-mode .adb-single-popular-copy strong { color: #e3ecfa; }
body.single-post.adb-dark-mode .adb-article-content blockquote { border-color: #2c4165; color: #c8d6ee; background: #172642; }
body.single-post.adb-dark-mode .adb-article-content :not(pre) > code { border-color: #532d42; color: #ff9cb6; background: #2d1b2c; }
body.single-post.adb-dark-mode .adb-article-content th,
body.single-post.adb-dark-mode .adb-article-content td { border-color: #2c3a50; }
body.single-post.adb-dark-mode .adb-article-content th { color: #e4edfa; background: #1a2940; }
@media (max-width: 1100px) {
  .adb-single-wrap { padding-right: 20px; padding-left: 20px; }
  .adb-single-grid { grid-template-columns: minmax(0, 1fr) 305px; gap: 13px; }
  .adb-article-panel { padding: 18px !important; }
  .adb-article-title { font-size: clamp(28px, 3.3vw, 38px) !important; }
  .adb-article-meta-row { align-items: flex-start; }
}
@media (max-width: 900px) {
  .adb-single-grid { grid-template-columns: minmax(0, 1fr); }
  .adb-single-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .adb-toc-widget { position: static; grid-row: span 2; }
  .adb-single-popular { grid-column: 2; }
  .adb-single-social { grid-column: 1 / -1; }
  .adb-single-social-links a span { display: inline; }
}
@media (max-width: 640px) {
  .adb-single-wrap { padding: 13px 12px 32px; }
  .adb-breadcrumbs { gap: 6px; margin-bottom: 10px; font-size: 10px; }
  .adb-article-panel { padding: 14px !important; border-radius: 12px; }
  .adb-article-tax-row { align-items: flex-start; flex-direction: column; gap: 7px; }
  .adb-article-title { font-size: clamp(27px, 8vw, 36px) !important; letter-spacing: -1px; }
  .adb-article-deck { font-size: 13px; }
  .adb-article-meta-row { flex-direction: column; }
  .adb-article-byline { gap: 6px; font-size: 10px; }
  .adb-article-share { align-self: flex-start; }
  .adb-article-cover { grid-template-columns: 1fr; gap: 17px; min-height: unset; padding: 17px; }
  .adb-cover-copy > strong { max-width: none; font-size: 24px; }
  .adb-cover-window { transform: none; }
  .adb-article-content { font-size: 14px; line-height: 1.78; }
  .adb-article-content h2 { font-size: 23px !important; }
  .adb-article-content h3 { font-size: 19px !important; }
  .adb-code-block pre,
  .adb-article-content pre { padding: 13px !important; font-size: 11px !important; }
  .adb-related-grid { grid-template-columns: 1fr; }
  .adb-related-card { display: grid; grid-template-columns: 105px minmax(0,1fr); align-items: stretch; }
  .adb-related-thumb { height: 100%; min-height: 100px; }
  .adb-related-card-body { align-self: center; }
  .adb-single-sidebar { grid-template-columns: 1fr; }
  .adb-toc-widget { grid-row: auto; }
  .adb-single-popular,
  .adb-single-social { grid-column: auto; }
  .adb-single-social-links a span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.single-post *, body.single-post *::before, body.single-post *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body.single-post.adb-dark-mode .adb-single-header { border-color: #202b41; background: rgba(13, 20, 37, .97); }
body.single-post.adb-dark-mode .adb-single-header .adb-brand,
body.single-post.adb-dark-mode .adb-single-header .adb-nav a,
body.single-post.adb-dark-mode .adb-single-header .adb-icon-button { color: #e7ecf7; }
body.single-post.adb-dark-mode .adb-single-header .adb-search { border-color: #293650; background: #111a2e; }
body.single-post.adb-dark-mode .adb-single-header .adb-search input[type="search"] { color: #e7ecf7; }
body.single-post.adb-dark-mode .adb-single-header .adb-icon-button { border-color: #293650; background: #111a2e; }
.adb-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.adb-article-comments { margin-top: 30px; padding-top: 23px; border-top: 1px solid #e7ebf3; }
.adb-article-comments .comments-title,
.adb-article-comments .comment-reply-title { color: #17233a; font-size: 21px; font-weight: 850; }
.adb-article-comments .comment-list { margin: 0 0 20px; padding: 0; list-style: none; }
.adb-article-comments .comment-body { margin: 12px 0; padding: 15px; border: 1px solid #e7ebf3; border-radius: 10px; background: #fbfcff; }
.adb-article-comments .comment-meta,
.adb-article-comments .comment-notes,
.adb-article-comments .logged-in-as { color: #72809a; font-size: 11px; }
.adb-article-comments textarea,
.adb-article-comments input[type="text"],
.adb-article-comments input[type="email"],
.adb-article-comments input[type="url"] { max-width: 100%; border: 1px solid #dce3ef; border-radius: 8px; background: #fff; }
.adb-article-comments input[type="submit"] { min-height: 40px; padding: 0 17px; border: 0; border-radius: 8px; color: #fff; background: #2457f5; font-size: 12px; font-weight: 800; cursor: pointer; }
body.single-post.adb-dark-mode .adb-article-comments { border-color: #29364c; }
body.single-post.adb-dark-mode .adb-article-comments .comments-title,
body.single-post.adb-dark-mode .adb-article-comments .comment-reply-title { color: #eff4ff; }
body.single-post.adb-dark-mode .adb-article-comments .comment-body { border-color: #29364c; background: #151f32; }

/* Accessibility: WCAG AA contrast for secondary text and the footer. */
body.adb-dark-mode.home .adb-topic-rail-kicker,
body.adb-dark-mode.home .adb-featured-meta,
body.adb-dark-mode.home .adb-featured-meta .adb-featured-reading { color: #9fb0c8; }
body:not(.adb-dark-mode) .site-info,
body:not(.adb-dark-mode) .site-info .copyright-bar,
body:not(.adb-dark-mode) .site-info .copyright { color: #475569; background-color: #f8fafc; }
body:not(.adb-dark-mode) .site-info a { color: #1745d8; }

/* Header Subscribe button jumps to the newsletter box. */
#adb-newsletter { scroll-margin-top: 90px; }
.adb-subscribe span { background: none; }

/* =========================================================
   DevFix Category Landing Pages — v1.2.9
   Scoped to category archives so the tuned homepage and
   single-article experience remain unchanged.
   ========================================================= */
body.category {
  color: var(--adb-text);
  background: #f7f9fd;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.category #page.grid-container { max-width: none; padding: 0 !important; background: #fbfcfe; }
body.category .site-header,
body.category .main-navigation,
body.category .inside-navigation,
body.category .site-branding { display: none !important; }
body.category .site-content { display: block; max-width: none; margin: 0 !important; padding: 0 !important; background: transparent; }
body.category .content-area.adb-category-area { float: none; width: 100%; margin: 0; }
body.category .site-main.adb-category-main { margin: 0; padding: 0; }
body.category .inside-article,
body.category .comments-area { padding: 0; border: 0; background: transparent; box-shadow: none; }
body.category .entry-header,
body.category .entry-content > .wp-block-post-title { display: none; }
body.category .site-footer { border-top: 1px solid #e5ebf4; background: #fff; }
.adb-category-header { position: relative; }
.adb-category-wrap { max-width: 1360px; margin: 0 auto; padding: 18px 30px 42px; }
.adb-category-breadcrumbs { margin-bottom: 16px; }
.adb-category-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, .9fr);
  align-items: center;
  gap: 24px;
  min-height: 245px;
  overflow: hidden;
  padding: 29px 29px 27px;
  border: 1px solid #e4ebfa;
  border-radius: 15px;
  background: linear-gradient(112deg, #ffffff 0%, #f4f7ff 48%, #e6efff 100%);
  box-shadow: 0 8px 28px rgba(31, 65, 130, .035);
}
.adb-category-hero::before { position: absolute; top: -95px; right: 5%; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(181, 205, 255, .30), rgba(208, 222, 255, 0) 68%); content: ""; pointer-events: none; }
.adb-category-hero-copy { position: relative; z-index: 2; min-width: 0; }
.adb-category-eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 0 0 10px; color: #40609c; font-size: 10px; font-weight: 800; letter-spacing: .65px; text-transform: uppercase; }
.adb-category-eyebrow .adb-eyebrow-dot { display: inline-block; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--adb-blue); box-shadow: 0 0 0 4px rgba(36, 87, 245, .08); }
.adb-category-hero h1 { max-width: 700px; margin: 0 0 10px; color: #101a30; font-size: clamp(31px, 3.3vw, 45px); font-weight: 850; line-height: 1.08; letter-spacing: -1.65px; }
.adb-category-description { max-width: 660px; margin: 0; color: #526581; font-size: 15px; line-height: 1.62; }
.adb-category-stats { display: flex; align-items: center; flex-wrap: wrap; gap: 0; margin-top: 21px; }
.adb-category-stat { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0 17px; border-right: 1px solid #e0e7f3; }
.adb-category-stat:first-child { padding-left: 0; }
.adb-category-stat:last-child { border-right: 0; }
.adb-category-stat-icon { display: inline-grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #2457f5; background: #eaf1ff; }
.adb-category-stat > span:last-child { display: flex; flex-direction: column; gap: 1px; }
.adb-category-stat strong { color: #15213a; font-size: 14px; font-weight: 850; line-height: 1.2; }
.adb-category-stat small { color: #62738e; font-size: 10px; line-height: 1.4; }

/* Lightweight CSS code illustration: no external image or library request. */
.adb-category-code-art { position: relative; z-index: 1; display: flex; min-width: 0; min-height: 205px; align-items: center; justify-content: center; isolation: isolate; }
.adb-code-orbit { position: absolute; z-index: -1; border: 1px dashed rgba(54, 111, 241, .32); border-radius: 50%; }
.adb-code-orbit-one { width: 310px; height: 190px; transform: rotate(-12deg); background: rgba(211, 225, 255, .25); }
.adb-code-orbit-two { width: 255px; height: 160px; transform: rotate(24deg); }
.adb-code-window { position: relative; z-index: 2; width: min(100%, 385px); overflow: hidden; border: 1px solid #253d63; border-radius: 12px; background: linear-gradient(145deg, #111e32, #071526); box-shadow: 0 15px 30px rgba(18, 43, 91, .18); transform: rotate(-2.5deg); }
.adb-code-window-bar { display: flex; align-items: center; gap: 5px; min-height: 31px; padding: 0 12px; border-bottom: 1px solid rgba(149, 176, 218, .12); background: #1b2b42; }
.adb-code-window-bar i { width: 7px; height: 7px; border-radius: 50%; background: #ff6d6a; }
.adb-code-window-bar i:nth-child(2) { background: #ffc65a; }
.adb-code-window-bar i:nth-child(3) { background: #3ed18d; }
.adb-code-window-bar span { overflow: hidden; margin-left: 9px; color: #a9bbd5; font-size: 10px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.adb-code-window-lines { display: flex; flex-direction: column; gap: 7px; padding: 16px 14px 18px; }
.adb-code-window-lines > div { display: grid; grid-template-columns: 23px minmax(0, 1fr); gap: 7px; min-width: 0; color: #e1ebff; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10px; line-height: 1.4; }
.adb-code-window-lines b { color: #657d9f; font-weight: 500; }
.adb-code-window-lines code { display: block; overflow: hidden; color: #9ee7d1; font: inherit; text-overflow: ellipsis; white-space: nowrap; }
.adb-code-window-lines > div:nth-child(2n) code { color: #94baff; }
.adb-code-window-lines > div:first-child code { color: #f6c77a; }
.adb-code-float { position: absolute; z-index: 3; display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #d7e4ff; border-radius: 12px; color: #2457f5; background: rgba(255,255,255,.94); box-shadow: 0 9px 22px rgba(49, 82, 151, .12); font-size: 15px; font-weight: 850; }
.adb-code-float-one { top: 8px; left: 7%; }
.adb-code-float-two { right: 5%; bottom: 21px; color: #079b6b; background: #f1fff8; }
.adb-code-float-three { top: 16px; right: 7%; color: #05a9c5; font-size: 13px; }
.adb-code-result { position: absolute; z-index: 4; right: 3%; bottom: 2px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid #e2eaff; border-radius: 10px; background: rgba(255,255,255,.97); box-shadow: 0 7px 18px rgba(31,65,130,.10); }
.adb-code-result > span { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: #fff; background: #12b981; font-size: 12px; font-weight: 850; }
.adb-code-result > div { display: flex; flex-direction: column; gap: 1px; }
.adb-code-result strong { color: #20314d; font-size: 10px; line-height: 1.3; }
.adb-code-result small { color: #5b6a82; font-size: 9px; line-height: 1.4; }

.adb-category-topic-chips { display: flex; align-items: center; gap: 8px; overflow-x: auto; margin: 12px 0 17px; padding: 2px 0 5px; scrollbar-width: thin; }
.adb-category-chip { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-height: 37px; padding: 0 14px; border: 1px solid #e1e7f1; border-radius: 999px; color: #30405b; background: #fff; font-size: 11px; font-weight: 700; text-decoration: none; transition: border-color .16s ease, color .16s ease, background .16s ease; }
.adb-category-chip:hover { border-color: #b8caff; color: var(--adb-blue); background: #f9fbff; }
.adb-category-chip.is-active { border-color: var(--adb-blue); color: #fff; background: var(--adb-blue); }
.adb-category-content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 18px; align-items: start; }
.adb-category-feed { display: flex; min-width: 0; flex-direction: column; gap: 24px; }
.adb-category-featured-section,
.adb-category-latest-section { min-width: 0; }
.adb-category-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 11px; padding: 0 1px 10px; border-bottom: 1px solid #e5eaf3; }
.adb-category-section-heading h2 { display: flex; align-items: center; gap: 8px; margin: 0; color: #121e34; font-size: 20px; font-weight: 850; line-height: 1.3; letter-spacing: -.4px; }
.adb-category-section-heading h2 span { color: #f5b51b; font-size: 22px; }
.adb-category-section-heading > a { display: inline-flex; align-items: center; gap: 6px; color: var(--adb-blue); font-size: 10px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.adb-category-featured-card { display: grid; grid-template-columns: minmax(220px, .9fr) minmax(0, 1fr); gap: 18px; align-items: stretch; padding: 12px; border: 1px solid #e3e9f3; border-radius: 13px; background: #fff; box-shadow: 0 5px 18px rgba(31,51,91,.03); }
.adb-category-featured-image { display: block; min-width: 0; min-height: 220px; overflow: hidden; border-radius: 9px; background: #0d1b2b; aspect-ratio: 1.12 / 1; }
.adb-category-featured-image > img { display: block; width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.adb-category-featured-art { display: flex; width: 100%; height: 100%; min-height: 220px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: 19px; color: #e6efff; background: radial-gradient(circle at 85% 0, rgba(44,99,228,.32), transparent 42%), linear-gradient(145deg, #0b1525, #102746 72%, #0a2835); }
.adb-category-art-label { color: #7eabff; font-size: 8px; font-weight: 850; letter-spacing: 1px; }
.adb-category-art-code { display: flex; width: 100%; flex-direction: column; gap: 7px; overflow: hidden; }
.adb-category-art-code code { display: block; overflow: hidden; color: #92ebd7; font: 10px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }
.adb-category-art-code code:nth-child(2n) { color: #9cbaff; }
.adb-category-featured-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 5px 2px 2px 0; }
.adb-category-featured-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; color: #64738c; font-size: 10px; }
.adb-category-featured-meta > span:first-child { padding: 4px 8px; border-radius: 999px; color: #2658ed; background: #edf2ff; font-size: 9px; font-weight: 850; letter-spacing: .25px; }
.adb-category-featured-copy h3 { margin: 0 0 8px; color: #12203b; font-size: 19px; font-weight: 850; line-height: 1.3; letter-spacing: -.35px; }
.adb-category-featured-copy h3 a { color: inherit; text-decoration: none; }
.adb-category-featured-copy h3 a:hover { color: var(--adb-blue); }
.adb-category-featured-copy > p { display: -webkit-box; overflow: hidden; margin: 0 0 12px; color: #5c6d87; font-size: 12px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.adb-category-featured-byline { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: auto; color: #5b6a82; font-size: 10px; }
.adb-category-avatar { width: 27px; height: 27px; border-radius: 50%; object-fit: cover; }
.adb-category-featured-cta { display: inline-flex; align-items: center; gap: 7px; margin-top: 11px; padding: 8px 11px; border-radius: 8px; color: var(--adb-blue); background: #f0f4ff; font-size: 10px; font-weight: 850; text-decoration: none; }
.adb-category-featured-cta:hover { color: #fff; background: var(--adb-blue); }
.adb-category-latest-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 13px; margin-bottom: 13px; }
.adb-category-latest-heading h2 { margin: 0 0 4px; color: #111e37; font-size: 23px; font-weight: 850; line-height: 1.25; letter-spacing: -.6px; }
.adb-category-latest-heading > div > p:last-child { margin: 0; color: #5b6a82; font-size: 11px; line-height: 1.5; }
.adb-category-sort-note { flex: 0 0 auto; padding: 7px 10px; border: 1px solid #dce4f0; border-radius: 8px; color: #576883; background: #fff; font-size: 10px; }
.adb-category-article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.adb-category-article-grid .adb-article-card { height: 100%; }
.adb-category-empty-note { margin: 15px 0 0; color: #5b6a82; font-size: 11px; }
.adb-category-pagination { margin-top: 20px; }
.adb-category-pagination .navigation.pagination { display: flex; justify-content: center; gap: 7px; margin: 0; }
.adb-category-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.adb-category-pagination .page-numbers { display: inline-grid; min-width: 35px; min-height: 35px; place-items: center; padding: 0 9px; border: 1px solid #dfe6f2; border-radius: 8px; color: #334561; background: #fff; font-size: 11px; text-decoration: none; }
.adb-category-pagination .page-numbers.current,
.adb-category-pagination .page-numbers:hover { border-color: var(--adb-blue); color: #fff; background: var(--adb-blue); }
.adb-category-empty-state { display: grid; justify-items: start; gap: 9px; padding: 27px; border: 1px solid #e1e8f3; border-radius: 13px; background: #fff; }
.adb-category-empty-icon { display: grid; width: 47px; height: 47px; place-items: center; border-radius: 13px; color: var(--adb-blue); background: #ebf1ff; }
.adb-category-empty-state h2 { margin: 0; color: #15223b; font-size: 20px; font-weight: 850; }
.adb-category-empty-state p { max-width: 550px; margin: 0; color: #61718a; font-size: 12px; }
.adb-category-empty-state > a { display: inline-flex; align-items: center; gap: 7px; margin-top: 7px; color: var(--adb-blue); font-size: 11px; font-weight: 800; text-decoration: none; }

.adb-category-sidebar { display: flex; min-width: 0; flex-direction: column; gap: 15px; }
.adb-category-widget { min-width: 0; padding: 17px; border: 1px solid #e4eaf4; border-radius: 13px; background: #fff; box-shadow: 0 5px 18px rgba(31,51,91,.03); }
.adb-category-widget h2 { margin: 0 0 11px; color: #15213a; font-size: 16px; font-weight: 850; line-height: 1.35; letter-spacing: -.25px; }
.adb-category-search-widget > p { margin: 8px 0 0; color: #5b6a82; font-size: 10px; line-height: 1.5; }
.adb-category-local-search { display: flex; min-width: 0; gap: 0; }
.adb-category-local-search input[type="search"] { width: 100%; min-width: 0; min-height: 39px; padding: 8px 10px; border: 1px solid #dce4f0; border-right: 0; border-radius: 8px 0 0 8px; outline: 0; color: #15213a; background: #fbfcff; box-shadow: none; font: inherit; font-size: 11px; }
.adb-category-local-search input[type="search"]:focus { border-color: #9bb4ff; }
.adb-category-local-search button { display: inline-grid; width: 43px; min-width: 43px; place-items: center; border: 1px solid var(--adb-blue); border-radius: 0 8px 8px 0; color: #fff; background: var(--adb-blue); cursor: pointer; }
.adb-category-local-search button:hover { background: var(--adb-blue-dark); }
.adb-category-topics-widget h2 { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid #edf1f7; }
.adb-category-topics-widget h2 span { font-size: 18px; }
.adb-category-popular-list { margin: 0; padding: 0; list-style: none; }
.adb-category-popular-list li { margin: 0; }
.adb-category-popular-list li + li { border-top: 1px solid #edf1f7; }
.adb-category-popular-list a { display: grid; grid-template-columns: 31px minmax(0, 1fr) auto 14px; align-items: center; gap: 9px; padding: 9px 0; color: #31415c; text-decoration: none; }
.adb-category-popular-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; color: #2457f5; background: #edf2ff; font-size: 9px; font-weight: 850; }
.adb-category-popular-list li:nth-child(2) .adb-category-popular-icon { color: #e7476a; background: #fff0f3; }
.adb-category-popular-list li:nth-child(3) .adb-category-popular-icon { color: #07885e; background: #e5f8ef; }
.adb-category-popular-list li:nth-child(4) .adb-category-popular-icon { color: #7048e8; background: #f0ecff; }
.adb-category-popular-list li:nth-child(5) .adb-category-popular-icon { color: #0488c9; background: #e7f6ff; }
.adb-category-popular-name { overflow: hidden; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.adb-category-popular-count { min-width: 25px; padding: 2px 5px; border-radius: 5px; color: #5b6a82; background: #f0f3f8; font-size: 9px; text-align: center; }
.adb-category-popular-list a > svg { color: #8996aa; transform: rotate(0); }
.adb-category-popular-list a:hover .adb-category-popular-name { color: var(--adb-blue); }
.adb-category-sidebar-note { margin: 0; color: #5b6a82; font-size: 11px; }
.adb-category-newsletter { border-color: #dce6ff; background: linear-gradient(135deg, #f7f9ff, #edf2ff); }
.adb-category-newsletter-title { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.adb-category-newsletter-icon { display: grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center; border: 1px solid #dce5ff; border-radius: 11px; color: var(--adb-blue); background: #e4ebff; }
.adb-category-newsletter-title h2 { margin: 0; font-size: 15px; }
.adb-category-newsletter > p { margin: 0 0 13px; color: #5f6f89; font-size: 11px; line-height: 1.6; }
.adb-category-newsletter > small { display: block; margin-top: 8px; color: #66758d; font-size: 9px; line-height: 1.5; }
.adb-category-newsletter .adb-newsletter-input-group { flex-wrap: wrap; }
.adb-category-newsletter .adb-newsletter-input-group input[type="email"] { width: 100%; min-width: 0; }
.adb-category-newsletter .adb-newsletter-submit-btn { flex: 1 0 auto; }

/* Category archive dark-mode support, using the existing theme toggle. */
body.adb-dark-mode.category { color: #dce6f7; background: #0b1020; }
body.adb-dark-mode.category #page.grid-container { background: #0b1020; }
body.adb-dark-mode.category .adb-category-header { border-color: #202b41; background: rgba(13, 20, 37, .97); }
body.adb-dark-mode.category .adb-category-header .adb-brand,
body.adb-dark-mode.category .adb-category-header .adb-nav a,
body.adb-dark-mode.category .adb-category-header .adb-icon-button { color: #e7ecf7; }
body.adb-dark-mode.category .adb-category-header .adb-search { border-color: #293650; background: #111a2e; }
body.adb-dark-mode.category .adb-category-header .adb-search input[type="search"] { color: #e7ecf7; }
body.adb-dark-mode.category .adb-category-header .adb-icon-button { border-color: #293650; background: #111a2e; }
body.adb-dark-mode.category .adb-category-hero { border-color: #273653; background: linear-gradient(112deg, #111b31, #17213e 58%, #202750); }
body.adb-dark-mode.category .adb-category-hero h1,
body.adb-dark-mode.category .adb-category-section-heading h2,
body.adb-dark-mode.category .adb-category-latest-heading h2,
body.adb-dark-mode.category .adb-category-widget h2,
body.adb-dark-mode.category .adb-category-featured-copy h3,
body.adb-dark-mode.category .adb-category-empty-state h2 { color: #eff4ff; }
body.adb-dark-mode.category .adb-category-description,
body.adb-dark-mode.category .adb-category-stat small,
body.adb-dark-mode.category .adb-category-featured-copy > p,
body.adb-dark-mode.category .adb-category-latest-heading > div > p:last-child,
body.adb-dark-mode.category .adb-category-widget p,
body.adb-dark-mode.category .adb-category-empty-state p { color: #aab8cf; }
body.adb-dark-mode.category .adb-category-stat strong { color: #e8f0ff; }
body.adb-dark-mode.category .adb-category-stat { border-color: #2b3952; }
body.adb-dark-mode.category .adb-category-stat-icon,
body.adb-dark-mode.category .adb-category-empty-icon { color: #a8bfff; background: #1b2b4d; }
body.adb-dark-mode.category .adb-category-topic-chips .adb-category-chip,
body.adb-dark-mode.category .adb-category-sort-note { border-color: #2a3952; color: #d1def3; background: #131f34; }
body.adb-dark-mode.category .adb-category-topic-chips .adb-category-chip.is-active { border-color: var(--adb-blue); color: #fff; background: var(--adb-blue); }
body.adb-dark-mode.category .adb-category-section-heading,
body.adb-dark-mode.category .adb-category-topics-widget h2,
body.adb-dark-mode.category .adb-category-popular-list li + li { border-color: #28364d; }
body.adb-dark-mode.category .adb-category-featured-card,
body.adb-dark-mode.category .adb-category-widget,
body.adb-dark-mode.category .adb-category-empty-state,
body.adb-dark-mode.category .adb-category-pagination .page-numbers { border-color: #27334b; background: #111a2e; }
body.adb-dark-mode.category .adb-category-featured-meta { color: #a5b4cc; }
body.adb-dark-mode.category .adb-category-featured-byline { color: #9cabc2; }
body.adb-dark-mode.category .adb-category-featured-cta { color: #b4c5ff; background: #1b2b4d; }
body.adb-dark-mode.category .adb-category-featured-cta:hover { color: #fff; background: var(--adb-blue); }
body.adb-dark-mode.category .adb-category-popular-list a { color: #d4e0f3; }
body.adb-dark-mode.category .adb-category-popular-count { color: #bdcbe0; background: #202c42; }
body.adb-dark-mode.category .adb-category-local-search input[type="search"] { border-color: #2a3952; color: #e7efff; background: #0f192b; }
body.adb-dark-mode.category .adb-category-newsletter { border-color: #2a3b62; background: linear-gradient(135deg, #17233d, #1b2947); }
body.adb-dark-mode.category .adb-category-newsletter-icon { border-color: #30446d; color: #a8bcff; background: #233458; }
body.adb-dark-mode.category .adb-category-newsletter .adb-newsletter-input-group input[type="email"] { border-color: #31415b; color: #e7efff; background: #0f192b; }
body.adb-dark-mode.category .adb-category-newsletter > small,
body.adb-dark-mode.category .adb-category-newsletter .adb-rss-subtle-link { color: #aab8cf; }
body.adb-dark-mode.category .adb-category-pagination .page-numbers { color: #d3def0; }
body.adb-dark-mode.category .site-footer { border-color: #27334b; background: #111a2e; }
body.adb-dark-mode.category .site-footer .site-info { color: #aab8cf; background: #111a2e; }

@media (max-width: 1180px) {
  .adb-category-wrap { padding-right: 24px; padding-left: 24px; }
  .adb-category-content-layout { grid-template-columns: minmax(0, 1fr) 285px; gap: 14px; }
  .adb-category-hero { grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr); padding: 25px; }
  .adb-category-hero h1 { font-size: clamp(30px, 3.6vw, 41px); }
  .adb-category-stat { padding-right: 12px; padding-left: 12px; }
  .adb-category-featured-card { grid-template-columns: minmax(190px, .85fr) minmax(0, 1fr); gap: 14px; }
  .adb-category-featured-copy h3 { font-size: 17px; }
}
@media (max-width: 960px) {
  .adb-category-content-layout { grid-template-columns: minmax(0, 1fr); }
  .adb-category-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .adb-category-newsletter { grid-column: 1 / -1; }
  .adb-category-hero { grid-template-columns: minmax(0, 1fr) minmax(240px, .78fr); gap: 15px; }
  .adb-category-hero h1 { font-size: clamp(28px, 4vw, 36px); letter-spacing: -1px; }
  .adb-category-description { font-size: 13px; }
  .adb-category-stats { margin-top: 16px; }
  .adb-category-stat { gap: 7px; padding: 0 9px; }
  .adb-category-stat-icon { width: 33px; height: 33px; }
  .adb-category-stat strong { font-size: 12px; }
  .adb-category-stat small { font-size: 9px; }
  .adb-category-code-art { min-height: 190px; }
  .adb-category-featured-card { grid-template-columns: minmax(210px, .85fr) minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .adb-category-wrap { padding: 13px 13px 28px; }
  .adb-category-breadcrumbs { gap: 6px; margin-bottom: 10px; font-size: 10px; }
  .adb-category-hero { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 21px 17px 15px; border-radius: 12px; }
  .adb-category-hero h1 { max-width: 100%; margin-bottom: 8px; font-size: clamp(29px, 8.4vw, 38px); letter-spacing: -1.1px; }
  .adb-category-eyebrow { margin-bottom: 8px; font-size: 9px; }
  .adb-category-description { font-size: 12px; line-height: 1.6; }
  .adb-category-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
  .adb-category-stat { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 0 8px; border: 0; }
  .adb-category-stat:first-child { padding-left: 8px; }
  .adb-category-stat-icon { width: 31px; height: 31px; }
  .adb-category-stat-icon svg { width: 18px; height: 18px; }
  .adb-category-stat strong { font-size: 11px; }
  .adb-category-stat small { font-size: 8.5px; }
  .adb-category-code-art { min-height: 170px; margin-top: 4px; }
  .adb-code-window { width: min(86%, 360px); }
  .adb-code-window-lines { gap: 6px; padding: 12px 11px 14px; }
  .adb-code-window-lines > div { font-size: 9px; }
  .adb-code-float { width: 35px; height: 35px; border-radius: 10px; font-size: 12px; }
  .adb-code-float-one { left: 3%; }
  .adb-code-float-three { right: 4%; }
  .adb-code-result { right: 0; bottom: -1px; padding: 7px 9px; }
  .adb-category-topic-chips { gap: 6px; margin: 10px 0 15px; }
  .adb-category-chip { min-height: 34px; padding: 0 11px; font-size: 10px; }
  .adb-category-feed { gap: 22px; }
  .adb-category-section-heading { align-items: flex-start; gap: 9px; }
  .adb-category-section-heading h2 { font-size: 17px; }
  .adb-category-section-heading > a { max-width: 135px; justify-content: flex-end; white-space: normal; text-align: right; }
  .adb-category-featured-card { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 10px; }
  .adb-category-featured-image { min-height: 190px; aspect-ratio: 1.6 / 1; }
  .adb-category-featured-image > img { min-height: 190px; }
  .adb-category-featured-art { min-height: 190px; }
  .adb-category-featured-copy { padding: 2px 2px 3px; }
  .adb-category-featured-copy h3 { font-size: 17px; }
  .adb-category-featured-copy > p { font-size: 11px; -webkit-line-clamp: 3; }
  .adb-category-latest-heading { align-items: flex-start; gap: 7px; }
  .adb-category-latest-heading h2 { font-size: 21px; }
  .adb-category-latest-heading > div > p:last-child { font-size: 10px; }
  .adb-category-sort-note { padding: 6px 7px; font-size: 9px; }
  .adb-category-article-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .adb-category-article-grid .adb-article-card { display: grid; grid-template-columns: 37% minmax(0, 1fr); align-items: stretch; }
  .adb-category-article-grid .adb-card-image-link { height: 100%; min-height: 185px; aspect-ratio: auto; }
  .adb-category-article-grid .adb-card-body { padding: 11px; }
  .adb-category-article-grid .adb-card-title { font-size: 12px; }
  .adb-category-article-grid .adb-card-excerpt { font-size: 10px; -webkit-line-clamp: 3; }
  .adb-category-article-grid .adb-card-footer { display: none; }
  .adb-category-sidebar { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .adb-category-newsletter { grid-column: auto; }
  .adb-category-widget { padding: 15px; }
}
@media (max-width: 390px) {
  .adb-category-stat { padding: 0 4px; }
  .adb-category-stat:first-child { padding-left: 4px; }
  .adb-category-stat small { font-size: 8px; }
  .adb-category-article-grid .adb-article-card { grid-template-columns: 34% minmax(0, 1fr); }
  .adb-category-article-grid .adb-card-body { padding: 9px; }
  .adb-category-article-grid .adb-card-title { font-size: 11.5px; }
  .adb-category-article-grid .adb-card-excerpt { font-size: 9.5px; }
  .adb-category-latest-heading { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  body.category *, body.category *::before, body.category *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* DevFix social shortcuts in the custom header */
.adb-header-socials{display:flex;align-items:center;gap:4px;flex:0 0 auto;margin-inline-start:2px;padding-inline-start:9px;border-inline-start:1px solid #e1e7f0}
.adb-header-socials a{display:inline-flex;align-items:center;justify-content:center;flex:0 0 27px;width:27px;height:27px;border:1px solid transparent;border-radius:8px;color:var(--adb-muted);background:transparent;text-decoration:none;transition:color .15s ease,border-color .15s ease,background .15s ease}
.adb-header-socials a:hover{color:var(--adb-blue);border-color:#dce6fb;background:#f4f7ff}
.adb-header-socials svg{display:block}
body.adb-dark-mode .adb-header-socials a{color:#b9c9e2}
body.adb-dark-mode .adb-header-socials a:hover{color:#a9bdff;border-color:#30405c;background:#17233c}
@media(max-width:1180px){.adb-header-socials{display:none!important}}


/* v1.2.13: use the available header width to prevent navigation/social overlap on the homepage and article/category layouts. */
.adb-header { container-type: inline-size; container-name: adb-header; }
.adb-header-socials { align-items: center; justify-content: center; gap: 6px; flex: 0 0 auto; margin-inline-start: 6px; padding-inline-start: 12px; border-inline-start: 1px solid #e1e7f0; }
.adb-header-socials a { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 30px; width: 30px; height: 30px; border: 1px solid transparent; border-radius: 9px; }
.adb-header-socials svg { display: block; width: 16px; height: 16px; }
body.adb-dark-mode .adb-header-socials { border-inline-start-color: #2c3d58; }

@container adb-header (max-width: 1240px) {
  .adb-header .adb-header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding-inline: 20px; }
  .adb-header .adb-nav { display: none; position: absolute; top: 100%; right: 20px; left: 20px; z-index: 25; padding: 10px 15px; flex-direction: column; align-items: stretch; gap: 2px; border: 1px solid #e3e9f3; border-radius: 13px; background: #fff; box-shadow: 0 18px 45px rgba(20,35,70,.14); }
  .adb-header .adb-nav.is-open { display: flex; }
  .adb-header .adb-nav a { padding: 11px 8px; }
  .adb-header .adb-nav a[aria-current="page"]::after { right: 8px; left: auto; width: 3px; height: 18px; bottom: 10px; }
  .adb-header .adb-header-socials { display: none !important; }
  .adb-header .adb-menu-toggle { display: inline-grid; }
  .adb-header .adb-search { width: clamp(125px, 22cqi, 200px); }
}
@container adb-header (max-width: 690px) {
  .adb-header .adb-header-inner { padding: 10px 14px; gap: 8px; min-height: 66px; }
  .adb-header .adb-brand-mark, .adb-header .adb-brand-mark svg { width: 34px; height: 34px; }
  .adb-header .adb-brand-name { font-size: 19px; }
  .adb-header .adb-brand-tagline { font-size: 9px; }
  .adb-header .adb-header-actions { gap: 6px; }
  .adb-header .adb-search { display: none; }
  .adb-header .adb-icon-button, .adb-header .adb-menu-toggle { width: 36px; height: 36px; }
  .adb-header .adb-subscribe { min-height: 36px; padding: 0 10px; gap: 6px; font-size: 10px; }
  .adb-header .adb-subscribe svg { display: none; }
}

/* v1.2.14: global DevFix footer styles. The footer markup is rendered site-wide,
   so its CSS belongs in the main stylesheet rather than static-pages.css only. */
.adb-global-footer-links,
.adb-global-footer-links * { box-sizing: border-box; }
.adb-global-footer-links {
  width: 100%;
  border-top: 1px solid #e3eaf5;
  border-bottom: 1px solid #e3eaf5;
  background: #f8faff;
  color: #17243d;
}
.adb-global-footer-inner {
  width: 100%;
  max-width: 1220px;
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(260px, 1fr) minmax(220px, 1fr);
  gap: 22px;
  align-items: center;
  margin: 0 auto;
  padding: 20px 26px;
}
.adb-global-footer-brand { min-width: 0; }
.adb-footer-wordmark {
  display: inline-block;
  color: #17243d;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -.6px;
  text-decoration: none;
}
.adb-footer-wordmark span { color: #2457f5; }
.adb-global-footer-brand p {
  margin: 3px 0 0;
  color: #475569;
  font-size: 10px;
  line-height: 1.6;
}
.adb-global-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 16px;
  min-width: 0;
}
.adb-global-footer-nav a {
  color: #51627c;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.6;
  text-decoration: none;
}
.adb-global-footer-nav a:hover { color: #2457f5; }
.adb-global-social-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}
.adb-global-social-links a {
  min-width: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 8px;
  border: 1px solid #e0e7f2;
  border-radius: 9px;
  color: #52637d;
  background: #fff;
  font-size: 10px;
  line-height: 1.3;
  text-decoration: none;
}
.adb-global-social-links a span { font-size: 9px; }
.adb-global-social-links a:hover { border-color: #c7d5ff; color: #2457f5; }
body.adb-dark-mode .adb-global-footer-links { border-color: #27364f; background: #10192b; color: #e7efff; }
body.adb-dark-mode .adb-footer-wordmark { color: #e7efff; }
body.adb-dark-mode .adb-global-footer-brand p { color: #aab8cf; }
body.adb-dark-mode .adb-global-footer-nav a { color: #b5c2d8; }
body.adb-dark-mode .adb-global-social-links a { border-color: #2c3d58; color: #d8e2f4; background: #141f33; }
@media (max-width: 1180px) {
  .adb-global-footer-inner { grid-template-columns: minmax(140px, .55fr) minmax(250px, 1fr); }
  .adb-global-social-links { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 760px) {
  .adb-global-footer-inner { grid-template-columns: 1fr; gap: 12px; padding: 19px 15px; }
  .adb-global-footer-nav { gap: 9px 15px; }
  .adb-global-social-links { grid-column: auto; justify-content: flex-start; }
  .adb-global-social-links a span { display: inline; }
}