/*
 Theme Name: AutoDevBlog for GeneratePress
 Theme URI: https://example.com/
 Description: A clean, professional developer-blog homepage designed for GeneratePress.
 Author: OpenAI
 Template: generatepress
 Version: 1.1.0
 Text Domain: autodevblog-gp
*/

:root {
  --adb-ink: #111827;
  --adb-text: #273449;
  --adb-muted: #64748b;
  --adb-blue: #2457f5;
  --adb-blue-dark: #1745d8;
  --adb-line: #e5eaf2;
  --adb-pale: #f6f8ff;
  --adb-white: #ffffff;
  --adb-radius: 16px;
  --adb-shadow: 0 10px 32px rgba(25, 45, 85, .055);
  --adb-container: 1440px;
}

/* Keep the theme clean and scope the large visual changes to the homepage. */
body.home {
  color: var(--adb-text);
  background: #fbfcfe;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
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: 245px minmax(320px, 1fr) auto;
  gap: 22px;
  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(13px, 2vw, 31px); 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: 12px; }
.adb-search { display: flex; align-items: center; width: clamp(175px, 19vw, 250px); 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: #7a8699; }
.adb-search kbd { flex: 0 0 auto; padding: 2px 5px; border: 1px solid #e3e8f0; border-radius: 5px; background: #fff; color: #64748b; font: inherit; font-size: 10px; line-height: 1.5; }
.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: #738097; 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: #8190a6; 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: #758198; 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: #738097; 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: 13px 15px 15px; }
.adb-card-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px; margin-bottom: 9px; color: #7b879a; font-size: 10px; }
.adb-card-category { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px; color: #2353ed; background: #edf2ff; font-size: 9px; font-weight: 800; text-decoration: none; }
.adb-card-title { margin: 0 0 8px; color: #131b2c; font-size: 16px; font-weight: 800; line-height: 1.34; letter-spacing: -.2px; }
.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 13px; color: #68758c; font-size: 11.5px; line-height: 1.55; -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: 2px; color: #738097; font-size: 9.5px; }
.adb-card-author { display: inline-flex; align-items: center; gap: 5px; color: #334155; font-weight: 650; }
.adb-card-author img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.adb-card-footer .adb-meta-separator { width: 3px; height: 3px; border-radius: 50%; background: #bdc6d4; }
.adb-read-more { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 12px; color: var(--adb-blue); font-size: 11px; 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: #121b2d; font-size: 18px; font-weight: 850; letter-spacing: -.35px; line-height: 1.3; }
.adb-about-person { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; }
.adb-about-avatar { width: 58px; height: 58px; display: inline-grid; flex: 0 0 auto; place-items: center; overflow: hidden; border: 1px solid #e6ebf3; 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-name { margin: 0 0 3px; color: #141d2e; font-size: 14px; font-weight: 850; line-height: 1.2; }
.adb-about-role { margin: 0; color: #6e7a90; font-size: 10px; line-height: 1.35; }
.adb-about-copy { margin: 0 0 15px; color: #58667c; font-size: 11.5px; line-height: 1.65; }
.adb-about-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 9px; color: #fff; background: var(--adb-blue); font-size: 10.5px; font-weight: 800; 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: #758198; 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: #748098; 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: 210px 1fr auto; gap: 15px; padding-right: 24px; padding-left: 24px; }
  .adb-brand-name { font-size: 21px; }
  .adb-nav { gap: 15px; }
  .adb-nav a { font-size: 12px; }
  .adb-search { width: 185px; }
  .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-featured-layout { display:grid; grid-template-columns:minmax(0,1.9fr) minmax(285px,.9fr); gap:23px; align-items:start; margin:0 0 32px; }
.adb-featured-main { min-width:0; }
.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:#738099; 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:#7b8799; 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:#748097; 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-featured-sidebar { display:grid; gap:14px; min-width:0; }
.adb-newsletter-widget { padding:18px; border:1px solid #e1e7ff; border-radius:13px; background:linear-gradient(135deg,#f7f8ff,#eef1ff); }
.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:13px; color:#2457f5; background:#dce5ff; }
.adb-newsletter-title-row h2 { margin:0; color:#141c2b; font-size:16px; font-weight:850; line-height:1.2; }
.adb-newsletter-widget > p { margin:0 0 13px; color:#61708a; font-size:11px; line-height:1.55; }
.adb-newsletter-rss { display:flex; align-items:center; justify-content:center; gap:8px; min-height:39px; padding:0 12px; border:1px solid #d7dfff; border-radius:9px; color:#fff; background:var(--adb-blue); font-size:11px; font-weight:800; text-decoration:none; }
.adb-newsletter-rss:hover { color:#fff; background:var(--adb-blue-dark); }
.adb-newsletter-note { margin:9px 0 0 !important; color:#7a8599 !important; font-size:9px !important; }
.adb-newsletter-widget > small { display:block; margin-top:10px; color:#79849a; font-size:9px; line-height:1.45; }
.adb-newsletter-form-wrap input[type="email"],.adb-newsletter-form-wrap input[type="text"] { width:100%; min-height:39px; border:1px solid #dce3ef; border-radius:8px; background:#fff; padding:8px 11px; color:#202b3d; font-size:11px; }
.adb-newsletter-form-wrap input[type="submit"],.adb-newsletter-form-wrap button { min-height:38px; padding:0 14px; border:0; border-radius:8px; color:#fff; background:var(--adb-blue); font-size:11px; font-weight:800; cursor:pointer; }
.adb-newsletter-form-wrap form { display:grid; gap:8px; }
.adb-popular-widget { padding:17px 18px 12px; border:1px solid #e5eaf2; border-radius:13px; background:#fff; box-shadow:0 4px 15px rgba(31,51,91,.025); }
.adb-popular-widget h2 { display:flex; align-items:center; gap:8px; margin:0 0 9px; padding-bottom:10px; border-bottom:1px solid #e9edf4; color:#151d2c; font-size:16px; font-weight:850; }
.adb-popular-widget h2 span { font-size:17px; }
.adb-popular-articles-list { margin:0; padding:0; list-style:none; }
.adb-popular-articles-list li + li { border-top:1px solid #edf0f5; }
.adb-popular-article-link { display:grid; grid-template-columns:60px minmax(0,1fr); align-items:center; gap:10px; padding:8px 0; color:#243047; text-decoration:none; }
.adb-popular-article-thumb { display:block; width:60px; height:48px; overflow:hidden; border-radius:7px; background:#111b2b; }
.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:#78baff; background:radial-gradient(circle at 90% 10%,rgba(53,83,180,.65),transparent 45%),linear-gradient(140deg,#101929,#0b2632); }
.adb-popular-thumb-fallback.art-n8n { color:#ff6487; background:linear-gradient(140deg,#21142b,#0c2330); }
.adb-popular-thumb-fallback.art-ai-tools,.adb-popular-thumb-fallback.art-ai-llms { color:#b8a5ff; background:linear-gradient(140deg,#15132b,#0e2d3a); }
.adb-popular-thumb-fallback b { display:grid; width:27px; height:27px; place-items:center; border:1px solid rgba(145,172,255,.3); border-radius:7px; font-size:13px; }
.adb-popular-article-copy { display:flex; min-width:0; flex-direction:column; gap:5px; }
.adb-popular-article-copy strong { display:-webkit-box; overflow:hidden; color:#1d2739; font-size:11px; font-weight:800; line-height:1.35; -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:#8490a4; font-size:9px; }
.adb-no-popular { margin:0; color:#748098; font-size:11px; }
.adb-social-widget > p { margin:-5px 0 13px; color:#738097; font-size:11px; line-height:1.5; }
.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 #e7ebf3; border-radius:9px; color:#39465d; 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-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-featured-layout { grid-template-columns:minmax(0,1.4fr) minmax(255px,.9fr); gap:16px; }
  .adb-featured-card { grid-template-columns:1fr; gap:12px; }
  .adb-featured-image,.adb-featured-image > img,.adb-featured-art-fallback { min-height:190px; }
  .adb-featured-copy h3 { font-size:18px; }
}
@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-featured-layout { grid-template-columns:1fr; gap:15px; margin-bottom:26px; }
  .adb-featured-card { grid-template-columns:minmax(0,.9fr) minmax(0,1fr); gap:13px; padding:10px; }
  .adb-featured-image,.adb-featured-image > img,.adb-featured-art-fallback { min-height:180px; height:100%; }
  .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-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; }
}
